@ws-ui/code-editor 0.2.0-beta.20240726.1 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2577,6 +2577,326 @@
2577
2577
  }
2578
2578
  });
2579
2579
 
2580
+ // node_modules/vscode/vscode/src/vs/base/common/charCode.js
2581
+ var CharCode;
2582
+ (function(CharCode2) {
2583
+ CharCode2[CharCode2["Null"] = 0] = "Null";
2584
+ CharCode2[CharCode2["Backspace"] = 8] = "Backspace";
2585
+ CharCode2[CharCode2["Tab"] = 9] = "Tab";
2586
+ CharCode2[CharCode2["LineFeed"] = 10] = "LineFeed";
2587
+ CharCode2[CharCode2["CarriageReturn"] = 13] = "CarriageReturn";
2588
+ CharCode2[CharCode2["Space"] = 32] = "Space";
2589
+ CharCode2[CharCode2["ExclamationMark"] = 33] = "ExclamationMark";
2590
+ CharCode2[CharCode2["DoubleQuote"] = 34] = "DoubleQuote";
2591
+ CharCode2[CharCode2["Hash"] = 35] = "Hash";
2592
+ CharCode2[CharCode2["DollarSign"] = 36] = "DollarSign";
2593
+ CharCode2[CharCode2["PercentSign"] = 37] = "PercentSign";
2594
+ CharCode2[CharCode2["Ampersand"] = 38] = "Ampersand";
2595
+ CharCode2[CharCode2["SingleQuote"] = 39] = "SingleQuote";
2596
+ CharCode2[CharCode2["OpenParen"] = 40] = "OpenParen";
2597
+ CharCode2[CharCode2["CloseParen"] = 41] = "CloseParen";
2598
+ CharCode2[CharCode2["Asterisk"] = 42] = "Asterisk";
2599
+ CharCode2[CharCode2["Plus"] = 43] = "Plus";
2600
+ CharCode2[CharCode2["Comma"] = 44] = "Comma";
2601
+ CharCode2[CharCode2["Dash"] = 45] = "Dash";
2602
+ CharCode2[CharCode2["Period"] = 46] = "Period";
2603
+ CharCode2[CharCode2["Slash"] = 47] = "Slash";
2604
+ CharCode2[CharCode2["Digit0"] = 48] = "Digit0";
2605
+ CharCode2[CharCode2["Digit1"] = 49] = "Digit1";
2606
+ CharCode2[CharCode2["Digit2"] = 50] = "Digit2";
2607
+ CharCode2[CharCode2["Digit3"] = 51] = "Digit3";
2608
+ CharCode2[CharCode2["Digit4"] = 52] = "Digit4";
2609
+ CharCode2[CharCode2["Digit5"] = 53] = "Digit5";
2610
+ CharCode2[CharCode2["Digit6"] = 54] = "Digit6";
2611
+ CharCode2[CharCode2["Digit7"] = 55] = "Digit7";
2612
+ CharCode2[CharCode2["Digit8"] = 56] = "Digit8";
2613
+ CharCode2[CharCode2["Digit9"] = 57] = "Digit9";
2614
+ CharCode2[CharCode2["Colon"] = 58] = "Colon";
2615
+ CharCode2[CharCode2["Semicolon"] = 59] = "Semicolon";
2616
+ CharCode2[CharCode2["LessThan"] = 60] = "LessThan";
2617
+ CharCode2[CharCode2["Equals"] = 61] = "Equals";
2618
+ CharCode2[CharCode2["GreaterThan"] = 62] = "GreaterThan";
2619
+ CharCode2[CharCode2["QuestionMark"] = 63] = "QuestionMark";
2620
+ CharCode2[CharCode2["AtSign"] = 64] = "AtSign";
2621
+ CharCode2[CharCode2["A"] = 65] = "A";
2622
+ CharCode2[CharCode2["B"] = 66] = "B";
2623
+ CharCode2[CharCode2["C"] = 67] = "C";
2624
+ CharCode2[CharCode2["D"] = 68] = "D";
2625
+ CharCode2[CharCode2["E"] = 69] = "E";
2626
+ CharCode2[CharCode2["F"] = 70] = "F";
2627
+ CharCode2[CharCode2["G"] = 71] = "G";
2628
+ CharCode2[CharCode2["H"] = 72] = "H";
2629
+ CharCode2[CharCode2["I"] = 73] = "I";
2630
+ CharCode2[CharCode2["J"] = 74] = "J";
2631
+ CharCode2[CharCode2["K"] = 75] = "K";
2632
+ CharCode2[CharCode2["L"] = 76] = "L";
2633
+ CharCode2[CharCode2["M"] = 77] = "M";
2634
+ CharCode2[CharCode2["N"] = 78] = "N";
2635
+ CharCode2[CharCode2["O"] = 79] = "O";
2636
+ CharCode2[CharCode2["P"] = 80] = "P";
2637
+ CharCode2[CharCode2["Q"] = 81] = "Q";
2638
+ CharCode2[CharCode2["R"] = 82] = "R";
2639
+ CharCode2[CharCode2["S"] = 83] = "S";
2640
+ CharCode2[CharCode2["T"] = 84] = "T";
2641
+ CharCode2[CharCode2["U"] = 85] = "U";
2642
+ CharCode2[CharCode2["V"] = 86] = "V";
2643
+ CharCode2[CharCode2["W"] = 87] = "W";
2644
+ CharCode2[CharCode2["X"] = 88] = "X";
2645
+ CharCode2[CharCode2["Y"] = 89] = "Y";
2646
+ CharCode2[CharCode2["Z"] = 90] = "Z";
2647
+ CharCode2[CharCode2["OpenSquareBracket"] = 91] = "OpenSquareBracket";
2648
+ CharCode2[CharCode2["Backslash"] = 92] = "Backslash";
2649
+ CharCode2[CharCode2["CloseSquareBracket"] = 93] = "CloseSquareBracket";
2650
+ CharCode2[CharCode2["Caret"] = 94] = "Caret";
2651
+ CharCode2[CharCode2["Underline"] = 95] = "Underline";
2652
+ CharCode2[CharCode2["BackTick"] = 96] = "BackTick";
2653
+ CharCode2[CharCode2["a"] = 97] = "a";
2654
+ CharCode2[CharCode2["b"] = 98] = "b";
2655
+ CharCode2[CharCode2["c"] = 99] = "c";
2656
+ CharCode2[CharCode2["d"] = 100] = "d";
2657
+ CharCode2[CharCode2["e"] = 101] = "e";
2658
+ CharCode2[CharCode2["f"] = 102] = "f";
2659
+ CharCode2[CharCode2["g"] = 103] = "g";
2660
+ CharCode2[CharCode2["h"] = 104] = "h";
2661
+ CharCode2[CharCode2["i"] = 105] = "i";
2662
+ CharCode2[CharCode2["j"] = 106] = "j";
2663
+ CharCode2[CharCode2["k"] = 107] = "k";
2664
+ CharCode2[CharCode2["l"] = 108] = "l";
2665
+ CharCode2[CharCode2["m"] = 109] = "m";
2666
+ CharCode2[CharCode2["n"] = 110] = "n";
2667
+ CharCode2[CharCode2["o"] = 111] = "o";
2668
+ CharCode2[CharCode2["p"] = 112] = "p";
2669
+ CharCode2[CharCode2["q"] = 113] = "q";
2670
+ CharCode2[CharCode2["r"] = 114] = "r";
2671
+ CharCode2[CharCode2["s"] = 115] = "s";
2672
+ CharCode2[CharCode2["t"] = 116] = "t";
2673
+ CharCode2[CharCode2["u"] = 117] = "u";
2674
+ CharCode2[CharCode2["v"] = 118] = "v";
2675
+ CharCode2[CharCode2["w"] = 119] = "w";
2676
+ CharCode2[CharCode2["x"] = 120] = "x";
2677
+ CharCode2[CharCode2["y"] = 121] = "y";
2678
+ CharCode2[CharCode2["z"] = 122] = "z";
2679
+ CharCode2[CharCode2["OpenCurlyBrace"] = 123] = "OpenCurlyBrace";
2680
+ CharCode2[CharCode2["Pipe"] = 124] = "Pipe";
2681
+ CharCode2[CharCode2["CloseCurlyBrace"] = 125] = "CloseCurlyBrace";
2682
+ CharCode2[CharCode2["Tilde"] = 126] = "Tilde";
2683
+ CharCode2[CharCode2["NoBreakSpace"] = 160] = "NoBreakSpace";
2684
+ CharCode2[CharCode2["U_Combining_Grave_Accent"] = 768] = "U_Combining_Grave_Accent";
2685
+ CharCode2[CharCode2["U_Combining_Acute_Accent"] = 769] = "U_Combining_Acute_Accent";
2686
+ CharCode2[CharCode2["U_Combining_Circumflex_Accent"] = 770] = "U_Combining_Circumflex_Accent";
2687
+ CharCode2[CharCode2["U_Combining_Tilde"] = 771] = "U_Combining_Tilde";
2688
+ CharCode2[CharCode2["U_Combining_Macron"] = 772] = "U_Combining_Macron";
2689
+ CharCode2[CharCode2["U_Combining_Overline"] = 773] = "U_Combining_Overline";
2690
+ CharCode2[CharCode2["U_Combining_Breve"] = 774] = "U_Combining_Breve";
2691
+ CharCode2[CharCode2["U_Combining_Dot_Above"] = 775] = "U_Combining_Dot_Above";
2692
+ CharCode2[CharCode2["U_Combining_Diaeresis"] = 776] = "U_Combining_Diaeresis";
2693
+ CharCode2[CharCode2["U_Combining_Hook_Above"] = 777] = "U_Combining_Hook_Above";
2694
+ CharCode2[CharCode2["U_Combining_Ring_Above"] = 778] = "U_Combining_Ring_Above";
2695
+ CharCode2[CharCode2["U_Combining_Double_Acute_Accent"] = 779] = "U_Combining_Double_Acute_Accent";
2696
+ CharCode2[CharCode2["U_Combining_Caron"] = 780] = "U_Combining_Caron";
2697
+ CharCode2[CharCode2["U_Combining_Vertical_Line_Above"] = 781] = "U_Combining_Vertical_Line_Above";
2698
+ CharCode2[CharCode2["U_Combining_Double_Vertical_Line_Above"] = 782] = "U_Combining_Double_Vertical_Line_Above";
2699
+ CharCode2[CharCode2["U_Combining_Double_Grave_Accent"] = 783] = "U_Combining_Double_Grave_Accent";
2700
+ CharCode2[CharCode2["U_Combining_Candrabindu"] = 784] = "U_Combining_Candrabindu";
2701
+ CharCode2[CharCode2["U_Combining_Inverted_Breve"] = 785] = "U_Combining_Inverted_Breve";
2702
+ CharCode2[CharCode2["U_Combining_Turned_Comma_Above"] = 786] = "U_Combining_Turned_Comma_Above";
2703
+ CharCode2[CharCode2["U_Combining_Comma_Above"] = 787] = "U_Combining_Comma_Above";
2704
+ CharCode2[CharCode2["U_Combining_Reversed_Comma_Above"] = 788] = "U_Combining_Reversed_Comma_Above";
2705
+ CharCode2[CharCode2["U_Combining_Comma_Above_Right"] = 789] = "U_Combining_Comma_Above_Right";
2706
+ CharCode2[CharCode2["U_Combining_Grave_Accent_Below"] = 790] = "U_Combining_Grave_Accent_Below";
2707
+ CharCode2[CharCode2["U_Combining_Acute_Accent_Below"] = 791] = "U_Combining_Acute_Accent_Below";
2708
+ CharCode2[CharCode2["U_Combining_Left_Tack_Below"] = 792] = "U_Combining_Left_Tack_Below";
2709
+ CharCode2[CharCode2["U_Combining_Right_Tack_Below"] = 793] = "U_Combining_Right_Tack_Below";
2710
+ CharCode2[CharCode2["U_Combining_Left_Angle_Above"] = 794] = "U_Combining_Left_Angle_Above";
2711
+ CharCode2[CharCode2["U_Combining_Horn"] = 795] = "U_Combining_Horn";
2712
+ CharCode2[CharCode2["U_Combining_Left_Half_Ring_Below"] = 796] = "U_Combining_Left_Half_Ring_Below";
2713
+ CharCode2[CharCode2["U_Combining_Up_Tack_Below"] = 797] = "U_Combining_Up_Tack_Below";
2714
+ CharCode2[CharCode2["U_Combining_Down_Tack_Below"] = 798] = "U_Combining_Down_Tack_Below";
2715
+ CharCode2[CharCode2["U_Combining_Plus_Sign_Below"] = 799] = "U_Combining_Plus_Sign_Below";
2716
+ CharCode2[CharCode2["U_Combining_Minus_Sign_Below"] = 800] = "U_Combining_Minus_Sign_Below";
2717
+ CharCode2[CharCode2["U_Combining_Palatalized_Hook_Below"] = 801] = "U_Combining_Palatalized_Hook_Below";
2718
+ CharCode2[CharCode2["U_Combining_Retroflex_Hook_Below"] = 802] = "U_Combining_Retroflex_Hook_Below";
2719
+ CharCode2[CharCode2["U_Combining_Dot_Below"] = 803] = "U_Combining_Dot_Below";
2720
+ CharCode2[CharCode2["U_Combining_Diaeresis_Below"] = 804] = "U_Combining_Diaeresis_Below";
2721
+ CharCode2[CharCode2["U_Combining_Ring_Below"] = 805] = "U_Combining_Ring_Below";
2722
+ CharCode2[CharCode2["U_Combining_Comma_Below"] = 806] = "U_Combining_Comma_Below";
2723
+ CharCode2[CharCode2["U_Combining_Cedilla"] = 807] = "U_Combining_Cedilla";
2724
+ CharCode2[CharCode2["U_Combining_Ogonek"] = 808] = "U_Combining_Ogonek";
2725
+ CharCode2[CharCode2["U_Combining_Vertical_Line_Below"] = 809] = "U_Combining_Vertical_Line_Below";
2726
+ CharCode2[CharCode2["U_Combining_Bridge_Below"] = 810] = "U_Combining_Bridge_Below";
2727
+ CharCode2[CharCode2["U_Combining_Inverted_Double_Arch_Below"] = 811] = "U_Combining_Inverted_Double_Arch_Below";
2728
+ CharCode2[CharCode2["U_Combining_Caron_Below"] = 812] = "U_Combining_Caron_Below";
2729
+ CharCode2[CharCode2["U_Combining_Circumflex_Accent_Below"] = 813] = "U_Combining_Circumflex_Accent_Below";
2730
+ CharCode2[CharCode2["U_Combining_Breve_Below"] = 814] = "U_Combining_Breve_Below";
2731
+ CharCode2[CharCode2["U_Combining_Inverted_Breve_Below"] = 815] = "U_Combining_Inverted_Breve_Below";
2732
+ CharCode2[CharCode2["U_Combining_Tilde_Below"] = 816] = "U_Combining_Tilde_Below";
2733
+ CharCode2[CharCode2["U_Combining_Macron_Below"] = 817] = "U_Combining_Macron_Below";
2734
+ CharCode2[CharCode2["U_Combining_Low_Line"] = 818] = "U_Combining_Low_Line";
2735
+ CharCode2[CharCode2["U_Combining_Double_Low_Line"] = 819] = "U_Combining_Double_Low_Line";
2736
+ CharCode2[CharCode2["U_Combining_Tilde_Overlay"] = 820] = "U_Combining_Tilde_Overlay";
2737
+ CharCode2[CharCode2["U_Combining_Short_Stroke_Overlay"] = 821] = "U_Combining_Short_Stroke_Overlay";
2738
+ CharCode2[CharCode2["U_Combining_Long_Stroke_Overlay"] = 822] = "U_Combining_Long_Stroke_Overlay";
2739
+ CharCode2[CharCode2["U_Combining_Short_Solidus_Overlay"] = 823] = "U_Combining_Short_Solidus_Overlay";
2740
+ CharCode2[CharCode2["U_Combining_Long_Solidus_Overlay"] = 824] = "U_Combining_Long_Solidus_Overlay";
2741
+ CharCode2[CharCode2["U_Combining_Right_Half_Ring_Below"] = 825] = "U_Combining_Right_Half_Ring_Below";
2742
+ CharCode2[CharCode2["U_Combining_Inverted_Bridge_Below"] = 826] = "U_Combining_Inverted_Bridge_Below";
2743
+ CharCode2[CharCode2["U_Combining_Square_Below"] = 827] = "U_Combining_Square_Below";
2744
+ CharCode2[CharCode2["U_Combining_Seagull_Below"] = 828] = "U_Combining_Seagull_Below";
2745
+ CharCode2[CharCode2["U_Combining_X_Above"] = 829] = "U_Combining_X_Above";
2746
+ CharCode2[CharCode2["U_Combining_Vertical_Tilde"] = 830] = "U_Combining_Vertical_Tilde";
2747
+ CharCode2[CharCode2["U_Combining_Double_Overline"] = 831] = "U_Combining_Double_Overline";
2748
+ CharCode2[CharCode2["U_Combining_Grave_Tone_Mark"] = 832] = "U_Combining_Grave_Tone_Mark";
2749
+ CharCode2[CharCode2["U_Combining_Acute_Tone_Mark"] = 833] = "U_Combining_Acute_Tone_Mark";
2750
+ CharCode2[CharCode2["U_Combining_Greek_Perispomeni"] = 834] = "U_Combining_Greek_Perispomeni";
2751
+ CharCode2[CharCode2["U_Combining_Greek_Koronis"] = 835] = "U_Combining_Greek_Koronis";
2752
+ CharCode2[CharCode2["U_Combining_Greek_Dialytika_Tonos"] = 836] = "U_Combining_Greek_Dialytika_Tonos";
2753
+ CharCode2[CharCode2["U_Combining_Greek_Ypogegrammeni"] = 837] = "U_Combining_Greek_Ypogegrammeni";
2754
+ CharCode2[CharCode2["U_Combining_Bridge_Above"] = 838] = "U_Combining_Bridge_Above";
2755
+ CharCode2[CharCode2["U_Combining_Equals_Sign_Below"] = 839] = "U_Combining_Equals_Sign_Below";
2756
+ CharCode2[CharCode2["U_Combining_Double_Vertical_Line_Below"] = 840] = "U_Combining_Double_Vertical_Line_Below";
2757
+ CharCode2[CharCode2["U_Combining_Left_Angle_Below"] = 841] = "U_Combining_Left_Angle_Below";
2758
+ CharCode2[CharCode2["U_Combining_Not_Tilde_Above"] = 842] = "U_Combining_Not_Tilde_Above";
2759
+ CharCode2[CharCode2["U_Combining_Homothetic_Above"] = 843] = "U_Combining_Homothetic_Above";
2760
+ CharCode2[CharCode2["U_Combining_Almost_Equal_To_Above"] = 844] = "U_Combining_Almost_Equal_To_Above";
2761
+ CharCode2[CharCode2["U_Combining_Left_Right_Arrow_Below"] = 845] = "U_Combining_Left_Right_Arrow_Below";
2762
+ CharCode2[CharCode2["U_Combining_Upwards_Arrow_Below"] = 846] = "U_Combining_Upwards_Arrow_Below";
2763
+ CharCode2[CharCode2["U_Combining_Grapheme_Joiner"] = 847] = "U_Combining_Grapheme_Joiner";
2764
+ CharCode2[CharCode2["U_Combining_Right_Arrowhead_Above"] = 848] = "U_Combining_Right_Arrowhead_Above";
2765
+ CharCode2[CharCode2["U_Combining_Left_Half_Ring_Above"] = 849] = "U_Combining_Left_Half_Ring_Above";
2766
+ CharCode2[CharCode2["U_Combining_Fermata"] = 850] = "U_Combining_Fermata";
2767
+ CharCode2[CharCode2["U_Combining_X_Below"] = 851] = "U_Combining_X_Below";
2768
+ CharCode2[CharCode2["U_Combining_Left_Arrowhead_Below"] = 852] = "U_Combining_Left_Arrowhead_Below";
2769
+ CharCode2[CharCode2["U_Combining_Right_Arrowhead_Below"] = 853] = "U_Combining_Right_Arrowhead_Below";
2770
+ CharCode2[CharCode2["U_Combining_Right_Arrowhead_And_Up_Arrowhead_Below"] = 854] = "U_Combining_Right_Arrowhead_And_Up_Arrowhead_Below";
2771
+ CharCode2[CharCode2["U_Combining_Right_Half_Ring_Above"] = 855] = "U_Combining_Right_Half_Ring_Above";
2772
+ CharCode2[CharCode2["U_Combining_Dot_Above_Right"] = 856] = "U_Combining_Dot_Above_Right";
2773
+ CharCode2[CharCode2["U_Combining_Asterisk_Below"] = 857] = "U_Combining_Asterisk_Below";
2774
+ CharCode2[CharCode2["U_Combining_Double_Ring_Below"] = 858] = "U_Combining_Double_Ring_Below";
2775
+ CharCode2[CharCode2["U_Combining_Zigzag_Above"] = 859] = "U_Combining_Zigzag_Above";
2776
+ CharCode2[CharCode2["U_Combining_Double_Breve_Below"] = 860] = "U_Combining_Double_Breve_Below";
2777
+ CharCode2[CharCode2["U_Combining_Double_Breve"] = 861] = "U_Combining_Double_Breve";
2778
+ CharCode2[CharCode2["U_Combining_Double_Macron"] = 862] = "U_Combining_Double_Macron";
2779
+ CharCode2[CharCode2["U_Combining_Double_Macron_Below"] = 863] = "U_Combining_Double_Macron_Below";
2780
+ CharCode2[CharCode2["U_Combining_Double_Tilde"] = 864] = "U_Combining_Double_Tilde";
2781
+ CharCode2[CharCode2["U_Combining_Double_Inverted_Breve"] = 865] = "U_Combining_Double_Inverted_Breve";
2782
+ CharCode2[CharCode2["U_Combining_Double_Rightwards_Arrow_Below"] = 866] = "U_Combining_Double_Rightwards_Arrow_Below";
2783
+ CharCode2[CharCode2["U_Combining_Latin_Small_Letter_A"] = 867] = "U_Combining_Latin_Small_Letter_A";
2784
+ CharCode2[CharCode2["U_Combining_Latin_Small_Letter_E"] = 868] = "U_Combining_Latin_Small_Letter_E";
2785
+ CharCode2[CharCode2["U_Combining_Latin_Small_Letter_I"] = 869] = "U_Combining_Latin_Small_Letter_I";
2786
+ CharCode2[CharCode2["U_Combining_Latin_Small_Letter_O"] = 870] = "U_Combining_Latin_Small_Letter_O";
2787
+ CharCode2[CharCode2["U_Combining_Latin_Small_Letter_U"] = 871] = "U_Combining_Latin_Small_Letter_U";
2788
+ CharCode2[CharCode2["U_Combining_Latin_Small_Letter_C"] = 872] = "U_Combining_Latin_Small_Letter_C";
2789
+ CharCode2[CharCode2["U_Combining_Latin_Small_Letter_D"] = 873] = "U_Combining_Latin_Small_Letter_D";
2790
+ CharCode2[CharCode2["U_Combining_Latin_Small_Letter_H"] = 874] = "U_Combining_Latin_Small_Letter_H";
2791
+ CharCode2[CharCode2["U_Combining_Latin_Small_Letter_M"] = 875] = "U_Combining_Latin_Small_Letter_M";
2792
+ CharCode2[CharCode2["U_Combining_Latin_Small_Letter_R"] = 876] = "U_Combining_Latin_Small_Letter_R";
2793
+ CharCode2[CharCode2["U_Combining_Latin_Small_Letter_T"] = 877] = "U_Combining_Latin_Small_Letter_T";
2794
+ CharCode2[CharCode2["U_Combining_Latin_Small_Letter_V"] = 878] = "U_Combining_Latin_Small_Letter_V";
2795
+ CharCode2[CharCode2["U_Combining_Latin_Small_Letter_X"] = 879] = "U_Combining_Latin_Small_Letter_X";
2796
+ CharCode2[CharCode2["LINE_SEPARATOR"] = 8232] = "LINE_SEPARATOR";
2797
+ CharCode2[CharCode2["PARAGRAPH_SEPARATOR"] = 8233] = "PARAGRAPH_SEPARATOR";
2798
+ CharCode2[CharCode2["NEXT_LINE"] = 133] = "NEXT_LINE";
2799
+ CharCode2[CharCode2["U_CIRCUMFLEX"] = 94] = "U_CIRCUMFLEX";
2800
+ CharCode2[CharCode2["U_GRAVE_ACCENT"] = 96] = "U_GRAVE_ACCENT";
2801
+ CharCode2[CharCode2["U_DIAERESIS"] = 168] = "U_DIAERESIS";
2802
+ CharCode2[CharCode2["U_MACRON"] = 175] = "U_MACRON";
2803
+ CharCode2[CharCode2["U_ACUTE_ACCENT"] = 180] = "U_ACUTE_ACCENT";
2804
+ CharCode2[CharCode2["U_CEDILLA"] = 184] = "U_CEDILLA";
2805
+ CharCode2[CharCode2["U_MODIFIER_LETTER_LEFT_ARROWHEAD"] = 706] = "U_MODIFIER_LETTER_LEFT_ARROWHEAD";
2806
+ CharCode2[CharCode2["U_MODIFIER_LETTER_RIGHT_ARROWHEAD"] = 707] = "U_MODIFIER_LETTER_RIGHT_ARROWHEAD";
2807
+ CharCode2[CharCode2["U_MODIFIER_LETTER_UP_ARROWHEAD"] = 708] = "U_MODIFIER_LETTER_UP_ARROWHEAD";
2808
+ CharCode2[CharCode2["U_MODIFIER_LETTER_DOWN_ARROWHEAD"] = 709] = "U_MODIFIER_LETTER_DOWN_ARROWHEAD";
2809
+ CharCode2[CharCode2["U_MODIFIER_LETTER_CENTRED_RIGHT_HALF_RING"] = 722] = "U_MODIFIER_LETTER_CENTRED_RIGHT_HALF_RING";
2810
+ CharCode2[CharCode2["U_MODIFIER_LETTER_CENTRED_LEFT_HALF_RING"] = 723] = "U_MODIFIER_LETTER_CENTRED_LEFT_HALF_RING";
2811
+ CharCode2[CharCode2["U_MODIFIER_LETTER_UP_TACK"] = 724] = "U_MODIFIER_LETTER_UP_TACK";
2812
+ CharCode2[CharCode2["U_MODIFIER_LETTER_DOWN_TACK"] = 725] = "U_MODIFIER_LETTER_DOWN_TACK";
2813
+ CharCode2[CharCode2["U_MODIFIER_LETTER_PLUS_SIGN"] = 726] = "U_MODIFIER_LETTER_PLUS_SIGN";
2814
+ CharCode2[CharCode2["U_MODIFIER_LETTER_MINUS_SIGN"] = 727] = "U_MODIFIER_LETTER_MINUS_SIGN";
2815
+ CharCode2[CharCode2["U_BREVE"] = 728] = "U_BREVE";
2816
+ CharCode2[CharCode2["U_DOT_ABOVE"] = 729] = "U_DOT_ABOVE";
2817
+ CharCode2[CharCode2["U_RING_ABOVE"] = 730] = "U_RING_ABOVE";
2818
+ CharCode2[CharCode2["U_OGONEK"] = 731] = "U_OGONEK";
2819
+ CharCode2[CharCode2["U_SMALL_TILDE"] = 732] = "U_SMALL_TILDE";
2820
+ CharCode2[CharCode2["U_DOUBLE_ACUTE_ACCENT"] = 733] = "U_DOUBLE_ACUTE_ACCENT";
2821
+ CharCode2[CharCode2["U_MODIFIER_LETTER_RHOTIC_HOOK"] = 734] = "U_MODIFIER_LETTER_RHOTIC_HOOK";
2822
+ CharCode2[CharCode2["U_MODIFIER_LETTER_CROSS_ACCENT"] = 735] = "U_MODIFIER_LETTER_CROSS_ACCENT";
2823
+ CharCode2[CharCode2["U_MODIFIER_LETTER_EXTRA_HIGH_TONE_BAR"] = 741] = "U_MODIFIER_LETTER_EXTRA_HIGH_TONE_BAR";
2824
+ CharCode2[CharCode2["U_MODIFIER_LETTER_HIGH_TONE_BAR"] = 742] = "U_MODIFIER_LETTER_HIGH_TONE_BAR";
2825
+ CharCode2[CharCode2["U_MODIFIER_LETTER_MID_TONE_BAR"] = 743] = "U_MODIFIER_LETTER_MID_TONE_BAR";
2826
+ CharCode2[CharCode2["U_MODIFIER_LETTER_LOW_TONE_BAR"] = 744] = "U_MODIFIER_LETTER_LOW_TONE_BAR";
2827
+ CharCode2[CharCode2["U_MODIFIER_LETTER_EXTRA_LOW_TONE_BAR"] = 745] = "U_MODIFIER_LETTER_EXTRA_LOW_TONE_BAR";
2828
+ CharCode2[CharCode2["U_MODIFIER_LETTER_YIN_DEPARTING_TONE_MARK"] = 746] = "U_MODIFIER_LETTER_YIN_DEPARTING_TONE_MARK";
2829
+ CharCode2[CharCode2["U_MODIFIER_LETTER_YANG_DEPARTING_TONE_MARK"] = 747] = "U_MODIFIER_LETTER_YANG_DEPARTING_TONE_MARK";
2830
+ CharCode2[CharCode2["U_MODIFIER_LETTER_UNASPIRATED"] = 749] = "U_MODIFIER_LETTER_UNASPIRATED";
2831
+ CharCode2[CharCode2["U_MODIFIER_LETTER_LOW_DOWN_ARROWHEAD"] = 751] = "U_MODIFIER_LETTER_LOW_DOWN_ARROWHEAD";
2832
+ CharCode2[CharCode2["U_MODIFIER_LETTER_LOW_UP_ARROWHEAD"] = 752] = "U_MODIFIER_LETTER_LOW_UP_ARROWHEAD";
2833
+ CharCode2[CharCode2["U_MODIFIER_LETTER_LOW_LEFT_ARROWHEAD"] = 753] = "U_MODIFIER_LETTER_LOW_LEFT_ARROWHEAD";
2834
+ CharCode2[CharCode2["U_MODIFIER_LETTER_LOW_RIGHT_ARROWHEAD"] = 754] = "U_MODIFIER_LETTER_LOW_RIGHT_ARROWHEAD";
2835
+ CharCode2[CharCode2["U_MODIFIER_LETTER_LOW_RING"] = 755] = "U_MODIFIER_LETTER_LOW_RING";
2836
+ CharCode2[CharCode2["U_MODIFIER_LETTER_MIDDLE_GRAVE_ACCENT"] = 756] = "U_MODIFIER_LETTER_MIDDLE_GRAVE_ACCENT";
2837
+ CharCode2[CharCode2["U_MODIFIER_LETTER_MIDDLE_DOUBLE_GRAVE_ACCENT"] = 757] = "U_MODIFIER_LETTER_MIDDLE_DOUBLE_GRAVE_ACCENT";
2838
+ CharCode2[CharCode2["U_MODIFIER_LETTER_MIDDLE_DOUBLE_ACUTE_ACCENT"] = 758] = "U_MODIFIER_LETTER_MIDDLE_DOUBLE_ACUTE_ACCENT";
2839
+ CharCode2[CharCode2["U_MODIFIER_LETTER_LOW_TILDE"] = 759] = "U_MODIFIER_LETTER_LOW_TILDE";
2840
+ CharCode2[CharCode2["U_MODIFIER_LETTER_RAISED_COLON"] = 760] = "U_MODIFIER_LETTER_RAISED_COLON";
2841
+ CharCode2[CharCode2["U_MODIFIER_LETTER_BEGIN_HIGH_TONE"] = 761] = "U_MODIFIER_LETTER_BEGIN_HIGH_TONE";
2842
+ CharCode2[CharCode2["U_MODIFIER_LETTER_END_HIGH_TONE"] = 762] = "U_MODIFIER_LETTER_END_HIGH_TONE";
2843
+ CharCode2[CharCode2["U_MODIFIER_LETTER_BEGIN_LOW_TONE"] = 763] = "U_MODIFIER_LETTER_BEGIN_LOW_TONE";
2844
+ CharCode2[CharCode2["U_MODIFIER_LETTER_END_LOW_TONE"] = 764] = "U_MODIFIER_LETTER_END_LOW_TONE";
2845
+ CharCode2[CharCode2["U_MODIFIER_LETTER_SHELF"] = 765] = "U_MODIFIER_LETTER_SHELF";
2846
+ CharCode2[CharCode2["U_MODIFIER_LETTER_OPEN_SHELF"] = 766] = "U_MODIFIER_LETTER_OPEN_SHELF";
2847
+ CharCode2[CharCode2["U_MODIFIER_LETTER_LOW_LEFT_ARROW"] = 767] = "U_MODIFIER_LETTER_LOW_LEFT_ARROW";
2848
+ CharCode2[CharCode2["U_GREEK_LOWER_NUMERAL_SIGN"] = 885] = "U_GREEK_LOWER_NUMERAL_SIGN";
2849
+ CharCode2[CharCode2["U_GREEK_TONOS"] = 900] = "U_GREEK_TONOS";
2850
+ CharCode2[CharCode2["U_GREEK_DIALYTIKA_TONOS"] = 901] = "U_GREEK_DIALYTIKA_TONOS";
2851
+ CharCode2[CharCode2["U_GREEK_KORONIS"] = 8125] = "U_GREEK_KORONIS";
2852
+ CharCode2[CharCode2["U_GREEK_PSILI"] = 8127] = "U_GREEK_PSILI";
2853
+ CharCode2[CharCode2["U_GREEK_PERISPOMENI"] = 8128] = "U_GREEK_PERISPOMENI";
2854
+ CharCode2[CharCode2["U_GREEK_DIALYTIKA_AND_PERISPOMENI"] = 8129] = "U_GREEK_DIALYTIKA_AND_PERISPOMENI";
2855
+ CharCode2[CharCode2["U_GREEK_PSILI_AND_VARIA"] = 8141] = "U_GREEK_PSILI_AND_VARIA";
2856
+ CharCode2[CharCode2["U_GREEK_PSILI_AND_OXIA"] = 8142] = "U_GREEK_PSILI_AND_OXIA";
2857
+ CharCode2[CharCode2["U_GREEK_PSILI_AND_PERISPOMENI"] = 8143] = "U_GREEK_PSILI_AND_PERISPOMENI";
2858
+ CharCode2[CharCode2["U_GREEK_DASIA_AND_VARIA"] = 8157] = "U_GREEK_DASIA_AND_VARIA";
2859
+ CharCode2[CharCode2["U_GREEK_DASIA_AND_OXIA"] = 8158] = "U_GREEK_DASIA_AND_OXIA";
2860
+ CharCode2[CharCode2["U_GREEK_DASIA_AND_PERISPOMENI"] = 8159] = "U_GREEK_DASIA_AND_PERISPOMENI";
2861
+ CharCode2[CharCode2["U_GREEK_DIALYTIKA_AND_VARIA"] = 8173] = "U_GREEK_DIALYTIKA_AND_VARIA";
2862
+ CharCode2[CharCode2["U_GREEK_DIALYTIKA_AND_OXIA"] = 8174] = "U_GREEK_DIALYTIKA_AND_OXIA";
2863
+ CharCode2[CharCode2["U_GREEK_VARIA"] = 8175] = "U_GREEK_VARIA";
2864
+ CharCode2[CharCode2["U_GREEK_OXIA"] = 8189] = "U_GREEK_OXIA";
2865
+ CharCode2[CharCode2["U_GREEK_DASIA"] = 8190] = "U_GREEK_DASIA";
2866
+ CharCode2[CharCode2["U_IDEOGRAPHIC_FULL_STOP"] = 12290] = "U_IDEOGRAPHIC_FULL_STOP";
2867
+ CharCode2[CharCode2["U_LEFT_CORNER_BRACKET"] = 12300] = "U_LEFT_CORNER_BRACKET";
2868
+ CharCode2[CharCode2["U_RIGHT_CORNER_BRACKET"] = 12301] = "U_RIGHT_CORNER_BRACKET";
2869
+ CharCode2[CharCode2["U_LEFT_BLACK_LENTICULAR_BRACKET"] = 12304] = "U_LEFT_BLACK_LENTICULAR_BRACKET";
2870
+ CharCode2[CharCode2["U_RIGHT_BLACK_LENTICULAR_BRACKET"] = 12305] = "U_RIGHT_BLACK_LENTICULAR_BRACKET";
2871
+ CharCode2[CharCode2["U_OVERLINE"] = 8254] = "U_OVERLINE";
2872
+ CharCode2[CharCode2["UTF8_BOM"] = 65279] = "UTF8_BOM";
2873
+ CharCode2[CharCode2["U_FULLWIDTH_SEMICOLON"] = 65307] = "U_FULLWIDTH_SEMICOLON";
2874
+ CharCode2[CharCode2["U_FULLWIDTH_COMMA"] = 65292] = "U_FULLWIDTH_COMMA";
2875
+ })(CharCode || (CharCode = {}));
2876
+
2877
+ // node_modules/vscode/vscode/src/vs/base/common/marshallingIds.js
2878
+ var MarshalledId;
2879
+ (function(MarshalledId2) {
2880
+ MarshalledId2[MarshalledId2["Uri"] = 1] = "Uri";
2881
+ MarshalledId2[MarshalledId2["Regexp"] = 2] = "Regexp";
2882
+ MarshalledId2[MarshalledId2["ScmResource"] = 3] = "ScmResource";
2883
+ MarshalledId2[MarshalledId2["ScmResourceGroup"] = 4] = "ScmResourceGroup";
2884
+ MarshalledId2[MarshalledId2["ScmProvider"] = 5] = "ScmProvider";
2885
+ MarshalledId2[MarshalledId2["CommentController"] = 6] = "CommentController";
2886
+ MarshalledId2[MarshalledId2["CommentThread"] = 7] = "CommentThread";
2887
+ MarshalledId2[MarshalledId2["CommentThreadInstance"] = 8] = "CommentThreadInstance";
2888
+ MarshalledId2[MarshalledId2["CommentThreadReply"] = 9] = "CommentThreadReply";
2889
+ MarshalledId2[MarshalledId2["CommentNode"] = 10] = "CommentNode";
2890
+ MarshalledId2[MarshalledId2["CommentThreadNode"] = 11] = "CommentThreadNode";
2891
+ MarshalledId2[MarshalledId2["TimelineActionContext"] = 12] = "TimelineActionContext";
2892
+ MarshalledId2[MarshalledId2["NotebookCellActionContext"] = 13] = "NotebookCellActionContext";
2893
+ MarshalledId2[MarshalledId2["NotebookActionContext"] = 14] = "NotebookActionContext";
2894
+ MarshalledId2[MarshalledId2["TerminalContext"] = 15] = "TerminalContext";
2895
+ MarshalledId2[MarshalledId2["TestItemContext"] = 16] = "TestItemContext";
2896
+ MarshalledId2[MarshalledId2["Date"] = 17] = "Date";
2897
+ MarshalledId2[MarshalledId2["TestMessageMenuArgs"] = 18] = "TestMessageMenuArgs";
2898
+ })(MarshalledId || (MarshalledId = {}));
2899
+
2580
2900
  // node_modules/vscode/vscode/src/vs/nls.js
2581
2901
  var isPseudo = typeof document !== "undefined" && document.location && document.location.hash.indexOf("pseudo=true") >= 0;
2582
2902
  function _format(message, args) {
@@ -2619,6 +2939,7 @@
2619
2939
  var _isWindows = false;
2620
2940
  var _isMacintosh = false;
2621
2941
  var _isLinux = false;
2942
+ var _isLinuxSnap = false;
2622
2943
  var _isNative = false;
2623
2944
  var _isWeb = false;
2624
2945
  var _isIOS = false;
@@ -2641,6 +2962,7 @@
2641
2962
  _isWindows = nodeProcess.platform === "win32";
2642
2963
  _isMacintosh = nodeProcess.platform === "darwin";
2643
2964
  _isLinux = nodeProcess.platform === "linux";
2965
+ _isLinuxSnap = _isLinux && !!nodeProcess.env["SNAP"] && !!nodeProcess.env["SNAP_REVISION"];
2644
2966
  _isCI = !!nodeProcess.env["CI"] || !!nodeProcess.env["BUILD_ARTIFACTSTAGINGDIRECTORY"];
2645
2967
  _locale = LANGUAGE_DEFAULT;
2646
2968
  _language = LANGUAGE_DEFAULT;
@@ -2671,13 +2993,20 @@
2671
2993
  } else {
2672
2994
  console.error("Unable to resolve platform.");
2673
2995
  }
2674
- var _platform = 0;
2996
+ var Platform;
2997
+ (function(Platform2) {
2998
+ Platform2[Platform2["Web"] = 0] = "Web";
2999
+ Platform2[Platform2["Mac"] = 1] = "Mac";
3000
+ Platform2[Platform2["Linux"] = 2] = "Linux";
3001
+ Platform2[Platform2["Windows"] = 3] = "Windows";
3002
+ })(Platform || (Platform = {}));
3003
+ var _platform = Platform.Web;
2675
3004
  if (_isMacintosh) {
2676
- _platform = 1;
3005
+ _platform = Platform.Mac;
2677
3006
  } else if (_isWindows) {
2678
- _platform = 3;
3007
+ _platform = Platform.Windows;
2679
3008
  } else if (_isLinux) {
2680
- _platform = 2;
3009
+ _platform = Platform.Linux;
2681
3010
  }
2682
3011
  var isWindows = _isWindows;
2683
3012
  var isMacintosh = _isMacintosh;
@@ -2737,6 +3066,13 @@
2737
3066
  }
2738
3067
  return (callback) => setTimeout(callback);
2739
3068
  })();
3069
+ var OperatingSystem;
3070
+ (function(OperatingSystem2) {
3071
+ OperatingSystem2[OperatingSystem2["Windows"] = 1] = "Windows";
3072
+ OperatingSystem2[OperatingSystem2["Macintosh"] = 2] = "Macintosh";
3073
+ OperatingSystem2[OperatingSystem2["Linux"] = 3] = "Linux";
3074
+ })(OperatingSystem || (OperatingSystem = {}));
3075
+ var OS = _isMacintosh || _isIOS ? OperatingSystem.Macintosh : _isWindows ? OperatingSystem.Windows : OperatingSystem.Linux;
2740
3076
  var isChrome = !!(userAgent && userAgent.indexOf("Chrome") >= 0);
2741
3077
  var isFirefox = !!(userAgent && userAgent.indexOf("Firefox") >= 0);
2742
3078
  var isSafari = !!(!isChrome && (userAgent && userAgent.indexOf("Safari") >= 0));
@@ -4050,7 +4386,7 @@
4050
4386
  }
4051
4387
  toJSON() {
4052
4388
  const res = {
4053
- $mid: 1
4389
+ $mid: MarshalledId.Uri
4054
4390
  };
4055
4391
  if (this._fsPath) {
4056
4392
  res.fsPath = this._fsPath;
@@ -4078,32 +4414,32 @@
4078
4414
  }
4079
4415
  };
4080
4416
  var encodeTable = {
4081
- [58]: "%3A",
4082
- [47]: "%2F",
4083
- [63]: "%3F",
4084
- [35]: "%23",
4085
- [91]: "%5B",
4086
- [93]: "%5D",
4087
- [64]: "%40",
4088
- [33]: "%21",
4089
- [36]: "%24",
4090
- [38]: "%26",
4091
- [39]: "%27",
4092
- [40]: "%28",
4093
- [41]: "%29",
4094
- [42]: "%2A",
4095
- [43]: "%2B",
4096
- [44]: "%2C",
4097
- [59]: "%3B",
4098
- [61]: "%3D",
4099
- [32]: "%20"
4417
+ [CharCode.Colon]: "%3A",
4418
+ [CharCode.Slash]: "%2F",
4419
+ [CharCode.QuestionMark]: "%3F",
4420
+ [CharCode.Hash]: "%23",
4421
+ [CharCode.OpenSquareBracket]: "%5B",
4422
+ [CharCode.CloseSquareBracket]: "%5D",
4423
+ [CharCode.AtSign]: "%40",
4424
+ [CharCode.ExclamationMark]: "%21",
4425
+ [CharCode.DollarSign]: "%24",
4426
+ [CharCode.Ampersand]: "%26",
4427
+ [CharCode.SingleQuote]: "%27",
4428
+ [CharCode.OpenParen]: "%28",
4429
+ [CharCode.CloseParen]: "%29",
4430
+ [CharCode.Asterisk]: "%2A",
4431
+ [CharCode.Plus]: "%2B",
4432
+ [CharCode.Comma]: "%2C",
4433
+ [CharCode.Semicolon]: "%3B",
4434
+ [CharCode.Equals]: "%3D",
4435
+ [CharCode.Space]: "%20"
4100
4436
  };
4101
4437
  function encodeURIComponentFast(uriComponent, isPath, isAuthority) {
4102
4438
  let res = void 0;
4103
4439
  let nativeEncodePos = -1;
4104
4440
  for (let pos = 0; pos < uriComponent.length; pos++) {
4105
4441
  const code = uriComponent.charCodeAt(pos);
4106
- if (code >= 97 && code <= 122 || code >= 65 && code <= 90 || code >= 48 && code <= 57 || code === 45 || code === 46 || code === 95 || code === 126 || isPath && code === 47 || isAuthority && code === 91 || isAuthority && code === 93 || isAuthority && code === 58) {
4442
+ if (code >= CharCode.a && code <= CharCode.z || code >= CharCode.A && code <= CharCode.Z || code >= CharCode.Digit0 && code <= CharCode.Digit9 || code === CharCode.Dash || code === CharCode.Period || code === CharCode.Underline || code === CharCode.Tilde || isPath && code === CharCode.Slash || isAuthority && code === CharCode.OpenSquareBracket || isAuthority && code === CharCode.CloseSquareBracket || isAuthority && code === CharCode.Colon) {
4107
4443
  if (nativeEncodePos !== -1) {
4108
4444
  res += encodeURIComponent(uriComponent.substring(nativeEncodePos, pos));
4109
4445
  nativeEncodePos = -1;
@@ -4136,7 +4472,7 @@
4136
4472
  let res = void 0;
4137
4473
  for (let pos = 0; pos < path.length; pos++) {
4138
4474
  const code = path.charCodeAt(pos);
4139
- if (code === 35 || code === 63) {
4475
+ if (code === CharCode.Hash || code === CharCode.QuestionMark) {
4140
4476
  if (res === void 0) {
4141
4477
  res = path.substr(0, pos);
4142
4478
  }
@@ -4153,7 +4489,7 @@
4153
4489
  let value;
4154
4490
  if (uri.authority && uri.path.length > 1 && uri.scheme === "file") {
4155
4491
  value = `//${uri.authority}${uri.path}`;
4156
- } else if (uri.path.charCodeAt(0) === 47 && (uri.path.charCodeAt(1) >= 65 && uri.path.charCodeAt(1) <= 90 || uri.path.charCodeAt(1) >= 97 && uri.path.charCodeAt(1) <= 122) && uri.path.charCodeAt(2) === 58) {
4492
+ } else if (uri.path.charCodeAt(0) === CharCode.Slash && (uri.path.charCodeAt(1) >= CharCode.A && uri.path.charCodeAt(1) <= CharCode.Z || uri.path.charCodeAt(1) >= CharCode.a && uri.path.charCodeAt(1) <= CharCode.z) && uri.path.charCodeAt(2) === CharCode.Colon) {
4157
4493
  if (!keepDriveLetterCasing) {
4158
4494
  value = uri.path[1].toLowerCase() + uri.path.substr(2);
4159
4495
  } else {
@@ -4204,14 +4540,14 @@
4204
4540
  }
4205
4541
  }
4206
4542
  if (path) {
4207
- if (path.length >= 3 && path.charCodeAt(0) === 47 && path.charCodeAt(2) === 58) {
4543
+ if (path.length >= 3 && path.charCodeAt(0) === CharCode.Slash && path.charCodeAt(2) === CharCode.Colon) {
4208
4544
  const code = path.charCodeAt(1);
4209
- if (code >= 65 && code <= 90) {
4545
+ if (code >= CharCode.A && code <= CharCode.Z) {
4210
4546
  path = `/${String.fromCharCode(code + 32)}:${path.substr(3)}`;
4211
4547
  }
4212
- } else if (path.length >= 2 && path.charCodeAt(1) === 58) {
4548
+ } else if (path.length >= 2 && path.charCodeAt(1) === CharCode.Colon) {
4213
4549
  const code = path.charCodeAt(0);
4214
- if (code >= 65 && code <= 90) {
4550
+ if (code >= CharCode.A && code <= CharCode.Z) {
4215
4551
  path = `${String.fromCharCode(code + 32)}:${path.substr(2)}`;
4216
4552
  }
4217
4553
  }
@@ -4601,6 +4937,12 @@
4601
4937
  return this.keys();
4602
4938
  }
4603
4939
  };
4940
+ var Touch;
4941
+ (function(Touch2) {
4942
+ Touch2[Touch2["None"] = 0] = "None";
4943
+ Touch2[Touch2["AsOld"] = 1] = "AsOld";
4944
+ Touch2[Touch2["AsNew"] = 2] = "AsNew";
4945
+ })(Touch || (Touch = {}));
4604
4946
  var LinkedMap = class {
4605
4947
  constructor() {
4606
4948
  this[_c] = "LinkedMap";
@@ -4632,33 +4974,33 @@
4632
4974
  has(key) {
4633
4975
  return this._map.has(key);
4634
4976
  }
4635
- get(key, touch = 0) {
4977
+ get(key, touch = Touch.None) {
4636
4978
  const item = this._map.get(key);
4637
4979
  if (!item) {
4638
4980
  return void 0;
4639
4981
  }
4640
- if (touch !== 0) {
4982
+ if (touch !== Touch.None) {
4641
4983
  this.touch(item, touch);
4642
4984
  }
4643
4985
  return item.value;
4644
4986
  }
4645
- set(key, value, touch = 0) {
4987
+ set(key, value, touch = Touch.None) {
4646
4988
  let item = this._map.get(key);
4647
4989
  if (item) {
4648
4990
  item.value = value;
4649
- if (touch !== 0) {
4991
+ if (touch !== Touch.None) {
4650
4992
  this.touch(item, touch);
4651
4993
  }
4652
4994
  } else {
4653
4995
  item = { key, value, next: void 0, previous: void 0 };
4654
4996
  switch (touch) {
4655
- case 0:
4997
+ case Touch.None:
4656
4998
  this.addItemLast(item);
4657
4999
  break;
4658
- case 1:
5000
+ case Touch.AsOld:
4659
5001
  this.addItemFirst(item);
4660
5002
  break;
4661
- case 2:
5003
+ case Touch.AsNew:
4662
5004
  this.addItemLast(item);
4663
5005
  break;
4664
5006
  default:
@@ -4884,10 +5226,10 @@
4884
5226
  if (!this._head || !this._tail) {
4885
5227
  throw new Error("Invalid list");
4886
5228
  }
4887
- if (touch !== 1 && touch !== 2) {
5229
+ if (touch !== Touch.AsOld && touch !== Touch.AsNew) {
4888
5230
  return;
4889
5231
  }
4890
- if (touch === 1) {
5232
+ if (touch === Touch.AsOld) {
4891
5233
  if (item === this._head) {
4892
5234
  return;
4893
5235
  }
@@ -4905,7 +5247,7 @@
4905
5247
  this._head.previous = item;
4906
5248
  this._head = item;
4907
5249
  this._state++;
4908
- } else if (touch === 2) {
5250
+ } else if (touch === Touch.AsNew) {
4909
5251
  if (item === this._tail) {
4910
5252
  return;
4911
5253
  }
@@ -4959,14 +5301,14 @@
4959
5301
  this._ratio = Math.min(Math.max(0, ratio), 1);
4960
5302
  this.checkTrim();
4961
5303
  }
4962
- get(key, touch = 2) {
5304
+ get(key, touch = Touch.AsNew) {
4963
5305
  return super.get(key, touch);
4964
5306
  }
4965
5307
  peek(key) {
4966
- return super.get(key, 0);
5308
+ return super.get(key, Touch.None);
4967
5309
  }
4968
5310
  set(key, value) {
4969
- super.set(key, value, 2);
5311
+ super.set(key, value, Touch.AsNew);
4970
5312
  return this;
4971
5313
  }
4972
5314
  checkTrim() {
@@ -5496,6 +5838,11 @@ ${stackTraceFormattedLines.join("\n")}
5496
5838
  this._store.get(key)?.dispose();
5497
5839
  this._store.delete(key);
5498
5840
  }
5841
+ deleteAndLeak(key) {
5842
+ const value = this._store.get(key);
5843
+ this._store.delete(key);
5844
+ return value;
5845
+ }
5499
5846
  keys() {
5500
5847
  return this._store.keys();
5501
5848
  }
@@ -6305,7 +6652,8 @@ ${stackTraceFormattedLines.join("\n")}
6305
6652
  };
6306
6653
  var _globalLeakWarningThreshold = -1;
6307
6654
  var LeakageMonitor = class {
6308
- constructor(threshold, name = Math.random().toString(18).slice(2, 5)) {
6655
+ constructor(_errorHandler, threshold, name = Math.random().toString(18).slice(2, 5)) {
6656
+ this._errorHandler = _errorHandler;
6309
6657
  this.threshold = threshold;
6310
6658
  this.name = name;
6311
6659
  this._warnCountdown = 0;
@@ -6326,26 +6674,37 @@ ${stackTraceFormattedLines.join("\n")}
6326
6674
  this._warnCountdown -= 1;
6327
6675
  if (this._warnCountdown <= 0) {
6328
6676
  this._warnCountdown = threshold * 0.5;
6329
- let topStack;
6330
- let topCount = 0;
6331
- for (const [stack2, count2] of this._stacks) {
6332
- if (!topStack || topCount < count2) {
6333
- topStack = stack2;
6334
- topCount = count2;
6335
- }
6336
- }
6337
- console.warn(`[${this.name}] potential listener LEAK detected, having ${listenerCount} listeners already. MOST frequent listener (${topCount}):`);
6677
+ const [topStack, topCount] = this.getMostFrequentStack();
6678
+ const message = `[${this.name}] potential listener LEAK detected, having ${listenerCount} listeners already. MOST frequent listener (${topCount}):`;
6679
+ console.warn(message);
6338
6680
  console.warn(topStack);
6681
+ const error = new ListenerLeakError(message, topStack);
6682
+ this._errorHandler(error);
6339
6683
  }
6340
6684
  return () => {
6341
6685
  const count2 = this._stacks.get(stack.value) || 0;
6342
6686
  this._stacks.set(stack.value, count2 - 1);
6343
6687
  };
6344
6688
  }
6689
+ getMostFrequentStack() {
6690
+ if (!this._stacks) {
6691
+ return void 0;
6692
+ }
6693
+ let topStack;
6694
+ let topCount = 0;
6695
+ for (const [stack, count] of this._stacks) {
6696
+ if (!topStack || topCount < count) {
6697
+ topStack = [stack, count];
6698
+ topCount = count;
6699
+ }
6700
+ }
6701
+ return topStack;
6702
+ }
6345
6703
  };
6346
6704
  var Stacktrace = class _Stacktrace {
6347
6705
  static create() {
6348
- return new _Stacktrace(new Error().stack ?? "");
6706
+ const err = new Error();
6707
+ return new _Stacktrace(err.stack ?? "");
6349
6708
  }
6350
6709
  constructor(value) {
6351
6710
  this.value = value;
@@ -6354,6 +6713,20 @@ ${stackTraceFormattedLines.join("\n")}
6354
6713
  console.warn(this.value.split("\n").slice(2).join("\n"));
6355
6714
  }
6356
6715
  };
6716
+ var ListenerLeakError = class extends Error {
6717
+ constructor(message, stack) {
6718
+ super(message);
6719
+ this.name = "ListenerLeakError";
6720
+ this.stack = stack;
6721
+ }
6722
+ };
6723
+ var ListenerRefusalError = class extends Error {
6724
+ constructor(message, stack) {
6725
+ super(message);
6726
+ this.name = "ListenerRefusalError";
6727
+ this.stack = stack;
6728
+ }
6729
+ };
6357
6730
  var id = 0;
6358
6731
  var UniqueContainer = class {
6359
6732
  constructor(value) {
@@ -6366,7 +6739,10 @@ ${stackTraceFormattedLines.join("\n")}
6366
6739
  constructor(options) {
6367
6740
  this._size = 0;
6368
6741
  this._options = options;
6369
- this._leakageMon = _globalLeakWarningThreshold > 0 || this._options?.leakWarningThreshold ? new LeakageMonitor(this._options?.leakWarningThreshold ?? _globalLeakWarningThreshold) : void 0;
6742
+ this._leakageMon = _globalLeakWarningThreshold > 0 || this._options?.leakWarningThreshold ? new LeakageMonitor(
6743
+ options?.onListenerError ?? onUnexpectedError,
6744
+ this._options?.leakWarningThreshold ?? _globalLeakWarningThreshold
6745
+ ) : void 0;
6370
6746
  this._perfMon = this._options?._profName ? new EventProfiling(this._options._profName) : void 0;
6371
6747
  this._deliveryQueue = this._options?.deliveryQueue;
6372
6748
  }
@@ -6386,8 +6762,16 @@ ${stackTraceFormattedLines.join("\n")}
6386
6762
  }
6387
6763
  get event() {
6388
6764
  this._event ??= (callback, thisArgs, disposables) => {
6389
- if (this._leakageMon && this._size > this._leakageMon.threshold * 3) {
6390
- console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`);
6765
+ if (this._leakageMon && this._size > this._leakageMon.threshold ** 2) {
6766
+ const message = `[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`;
6767
+ console.warn(message);
6768
+ const tuple = this._leakageMon.getMostFrequentStack() ?? ["UNKNOWN stack", -1];
6769
+ const error = new ListenerRefusalError(
6770
+ `${message}. HINT: Stack shows most frequent listener (${tuple[1]}-times)`,
6771
+ tuple[0]
6772
+ );
6773
+ const errorHandler2 = this._options?.onListenerError || onUnexpectedError;
6774
+ errorHandler2(error);
6391
6775
  return Disposable.None;
6392
6776
  }
6393
6777
  if (this._disposed) {
@@ -6675,6 +7059,35 @@ ${stackTraceFormattedLines.join("\n")}
6675
7059
  }
6676
7060
  };
6677
7061
 
7062
+ // node_modules/vscode/vscode/src/vs/base/common/uint.js
7063
+ var Constants;
7064
+ (function(Constants3) {
7065
+ Constants3[Constants3["MAX_SAFE_SMALL_INTEGER"] = 1073741824] = "MAX_SAFE_SMALL_INTEGER";
7066
+ Constants3[Constants3["MIN_SAFE_SMALL_INTEGER"] = -1073741824] = "MIN_SAFE_SMALL_INTEGER";
7067
+ Constants3[Constants3["MAX_UINT_8"] = 255] = "MAX_UINT_8";
7068
+ Constants3[Constants3["MAX_UINT_16"] = 65535] = "MAX_UINT_16";
7069
+ Constants3[Constants3["MAX_UINT_32"] = 4294967295] = "MAX_UINT_32";
7070
+ Constants3[Constants3["UNICODE_SUPPLEMENTARY_PLANE_BEGIN"] = 65536] = "UNICODE_SUPPLEMENTARY_PLANE_BEGIN";
7071
+ })(Constants || (Constants = {}));
7072
+ function toUint8(v) {
7073
+ if (v < 0) {
7074
+ return 0;
7075
+ }
7076
+ if (v > Constants.MAX_UINT_8) {
7077
+ return Constants.MAX_UINT_8;
7078
+ }
7079
+ return v | 0;
7080
+ }
7081
+ function toUint32(v) {
7082
+ if (v < 0) {
7083
+ return 0;
7084
+ }
7085
+ if (v > Constants.MAX_UINT_32) {
7086
+ return Constants.MAX_UINT_32;
7087
+ }
7088
+ return v | 0;
7089
+ }
7090
+
6678
7091
  // node_modules/vscode/vscode/src/vs/base/common/strings.js
6679
7092
  function escapeRegExpCharacters(value) {
6680
7093
  return value.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g, "\\$&");
@@ -6685,7 +7098,7 @@ ${stackTraceFormattedLines.join("\n")}
6685
7098
  function firstNonWhitespaceIndex(str) {
6686
7099
  for (let i = 0, len = str.length; i < len; i++) {
6687
7100
  const chCode = str.charCodeAt(i);
6688
- if (chCode !== 32 && chCode !== 9) {
7101
+ if (chCode !== CharCode.Space && chCode !== CharCode.Tab) {
6689
7102
  return i;
6690
7103
  }
6691
7104
  }
@@ -6694,7 +7107,7 @@ ${stackTraceFormattedLines.join("\n")}
6694
7107
  function lastNonWhitespaceIndex(str, startIndex = str.length - 1) {
6695
7108
  for (let i = startIndex; i >= 0; i--) {
6696
7109
  const chCode = str.charCodeAt(i);
6697
- if (chCode !== 32 && chCode !== 9) {
7110
+ if (chCode !== CharCode.Space && chCode !== CharCode.Tab) {
6698
7111
  return i;
6699
7112
  }
6700
7113
  }
@@ -6760,10 +7173,10 @@ ${stackTraceFormattedLines.join("\n")}
6760
7173
  return 0;
6761
7174
  }
6762
7175
  function isLowerAsciiLetter(code) {
6763
- return code >= 97 && code <= 122;
7176
+ return code >= CharCode.a && code <= CharCode.z;
6764
7177
  }
6765
7178
  function isUpperAsciiLetter(code) {
6766
- return code >= 65 && code <= 90;
7179
+ return code >= CharCode.A && code <= CharCode.Z;
6767
7180
  }
6768
7181
  function equalsIgnoreCase(a, b) {
6769
7182
  return a.length === b.length && compareSubstringIgnoreCase(a, b) === 0;
@@ -6798,7 +7211,25 @@ ${stackTraceFormattedLines.join("\n")}
6798
7211
  function isBasicASCII(str) {
6799
7212
  return IS_BASIC_ASCII.test(str);
6800
7213
  }
6801
- var UTF8_BOM_CHARACTER = String.fromCharCode(65279);
7214
+ var UTF8_BOM_CHARACTER = String.fromCharCode(CharCode.UTF8_BOM);
7215
+ var GraphemeBreakType;
7216
+ (function(GraphemeBreakType2) {
7217
+ GraphemeBreakType2[GraphemeBreakType2["Other"] = 0] = "Other";
7218
+ GraphemeBreakType2[GraphemeBreakType2["Prepend"] = 1] = "Prepend";
7219
+ GraphemeBreakType2[GraphemeBreakType2["CR"] = 2] = "CR";
7220
+ GraphemeBreakType2[GraphemeBreakType2["LF"] = 3] = "LF";
7221
+ GraphemeBreakType2[GraphemeBreakType2["Control"] = 4] = "Control";
7222
+ GraphemeBreakType2[GraphemeBreakType2["Extend"] = 5] = "Extend";
7223
+ GraphemeBreakType2[GraphemeBreakType2["Regional_Indicator"] = 6] = "Regional_Indicator";
7224
+ GraphemeBreakType2[GraphemeBreakType2["SpacingMark"] = 7] = "SpacingMark";
7225
+ GraphemeBreakType2[GraphemeBreakType2["L"] = 8] = "L";
7226
+ GraphemeBreakType2[GraphemeBreakType2["V"] = 9] = "V";
7227
+ GraphemeBreakType2[GraphemeBreakType2["T"] = 10] = "T";
7228
+ GraphemeBreakType2[GraphemeBreakType2["LV"] = 11] = "LV";
7229
+ GraphemeBreakType2[GraphemeBreakType2["LVT"] = 12] = "LVT";
7230
+ GraphemeBreakType2[GraphemeBreakType2["ZWJ"] = 13] = "ZWJ";
7231
+ GraphemeBreakType2[GraphemeBreakType2["Extended_Pictographic"] = 14] = "Extended_Pictographic";
7232
+ })(GraphemeBreakType || (GraphemeBreakType = {}));
6802
7233
  var GraphemeBreakTree = class _GraphemeBreakTree {
6803
7234
  static {
6804
7235
  this._INSTANCE = null;
@@ -6814,16 +7245,16 @@ ${stackTraceFormattedLines.join("\n")}
6814
7245
  }
6815
7246
  getGraphemeBreakType(codePoint) {
6816
7247
  if (codePoint < 32) {
6817
- if (codePoint === 10) {
6818
- return 3;
7248
+ if (codePoint === CharCode.LineFeed) {
7249
+ return GraphemeBreakType.LF;
6819
7250
  }
6820
- if (codePoint === 13) {
6821
- return 2;
7251
+ if (codePoint === CharCode.CarriageReturn) {
7252
+ return GraphemeBreakType.CR;
6822
7253
  }
6823
- return 4;
7254
+ return GraphemeBreakType.Control;
6824
7255
  }
6825
7256
  if (codePoint < 127) {
6826
- return 0;
7257
+ return GraphemeBreakType.Other;
6827
7258
  }
6828
7259
  const data = this._data;
6829
7260
  const nodeCount = data.length / 3;
@@ -6837,12 +7268,18 @@ ${stackTraceFormattedLines.join("\n")}
6837
7268
  return data[3 * nodeIndex + 2];
6838
7269
  }
6839
7270
  }
6840
- return 0;
7271
+ return GraphemeBreakType.Other;
6841
7272
  }
6842
7273
  };
6843
7274
  function getGraphemeBreakRawData() {
6844
7275
  return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]");
6845
7276
  }
7277
+ var CodePoint;
7278
+ (function(CodePoint2) {
7279
+ CodePoint2[CodePoint2["zwj"] = 8205] = "zwj";
7280
+ CodePoint2[CodePoint2["emojiVariantSelector"] = 65039] = "emojiVariantSelector";
7281
+ CodePoint2[CodePoint2["enclosingKeyCap"] = 8419] = "enclosingKeyCap";
7282
+ })(CodePoint || (CodePoint = {}));
6846
7283
  var AmbiguousCharacters = class _AmbiguousCharacters {
6847
7284
  static {
6848
7285
  this.ambiguousCharacterData = new Lazy(() => {
@@ -6907,6 +7344,15 @@ ${stackTraceFormattedLines.join("\n")}
6907
7344
  isAmbiguous(codePoint) {
6908
7345
  return this.confusableDictionary.has(codePoint);
6909
7346
  }
7347
+ containsAmbiguousCharacter(str) {
7348
+ for (let i = 0; i < str.length; i++) {
7349
+ const codePoint = str.codePointAt(i);
7350
+ if (typeof codePoint === "number" && this.isAmbiguous(codePoint)) {
7351
+ return true;
7352
+ }
7353
+ }
7354
+ return false;
7355
+ }
6910
7356
  getPrimaryConfusable(codePoint) {
6911
7357
  return this.confusableDictionary.get(codePoint);
6912
7358
  }
@@ -6930,6 +7376,15 @@ ${stackTraceFormattedLines.join("\n")}
6930
7376
  static isInvisibleCharacter(codePoint) {
6931
7377
  return _InvisibleCharacters.getData().has(codePoint);
6932
7378
  }
7379
+ static containsInvisibleCharacter(str) {
7380
+ for (let i = 0; i < str.length; i++) {
7381
+ const codePoint = str.codePointAt(i);
7382
+ if (typeof codePoint === "number" && _InvisibleCharacters.isInvisibleCharacter(codePoint)) {
7383
+ return true;
7384
+ }
7385
+ }
7386
+ return false;
7387
+ }
6933
7388
  static get codePoints() {
6934
7389
  return _InvisibleCharacters.getData();
6935
7390
  }
@@ -6942,7 +7397,7 @@ ${stackTraceFormattedLines.join("\n")}
6942
7397
 
6943
7398
  // node_modules/vscode/vscode/src/vs/base/common/extpath.js
6944
7399
  function isPathSeparator2(code) {
6945
- return code === 47 || code === 92;
7400
+ return code === CharCode.Slash || code === CharCode.Backslash;
6946
7401
  }
6947
7402
  function toSlashes(osPath) {
6948
7403
  return osPath.replace(/[\\/]/g, posix.sep);
@@ -6984,7 +7439,7 @@ ${stackTraceFormattedLines.join("\n")}
6984
7439
  }
6985
7440
  return sep2;
6986
7441
  } else if (isWindowsDriveLetter(firstLetter)) {
6987
- if (path.charCodeAt(1) === 58) {
7442
+ if (path.charCodeAt(1) === CharCode.Colon) {
6988
7443
  if (isPathSeparator2(path.charCodeAt(2))) {
6989
7444
  return path.slice(0, 2) + sep2;
6990
7445
  } else {
@@ -7033,7 +7488,7 @@ ${stackTraceFormattedLines.join("\n")}
7033
7488
  return base.indexOf(parentCandidate) === 0;
7034
7489
  }
7035
7490
  function isWindowsDriveLetter(char0) {
7036
- return char0 >= 65 && char0 <= 90 || char0 >= 97 && char0 <= 122;
7491
+ return char0 >= CharCode.A && char0 <= CharCode.Z || char0 >= CharCode.a && char0 <= CharCode.z;
7037
7492
  }
7038
7493
 
7039
7494
  // node_modules/vscode/vscode/src/vs/base/common/network.js
@@ -7065,7 +7520,8 @@ ${stackTraceFormattedLines.join("\n")}
7065
7520
  Schemas2.vscodeWorkspaceTrust = "vscode-workspace-trust";
7066
7521
  Schemas2.vscodeTerminal = "vscode-terminal";
7067
7522
  Schemas2.vscodeChatCodeBlock = "vscode-chat-code-block";
7068
- Schemas2.vscodeChatCodeCompreBlock = "vscode-chat-code-compare-block";
7523
+ Schemas2.vscodeCopilotBackingChatCodeBlock = "vscode-copilot-chat-code-block";
7524
+ Schemas2.vscodeChatCodeCompareBlock = "vscode-chat-code-compare-block";
7069
7525
  Schemas2.vscodeChatSesssion = "vscode-chat-editor";
7070
7526
  Schemas2.webviewPanel = "webview-panel";
7071
7527
  Schemas2.vscodeWebview = "vscode-webview";
@@ -7325,7 +7781,7 @@ ${stackTraceFormattedLines.join("\n")}
7325
7781
  dirname3 = URI.file(dirname(originalFSPath(resource))).path;
7326
7782
  } else {
7327
7783
  dirname3 = posix.dirname(resource.path);
7328
- if (resource.authority && dirname3.length && dirname3.charCodeAt(0) !== 47) {
7784
+ if (resource.authority && dirname3.length && dirname3.charCodeAt(0) !== CharCode.Slash) {
7329
7785
  console.error(`dirname("${resource.toString})) resulted in a relative path`);
7330
7786
  dirname3 = "/";
7331
7787
  }
@@ -7396,7 +7852,7 @@ ${stackTraceFormattedLines.join("\n")}
7396
7852
  return fsp.length > getRoot(fsp).length && fsp[fsp.length - 1] === sep$1;
7397
7853
  } else {
7398
7854
  const p = resource.path;
7399
- return p.length > 1 && p.charCodeAt(p.length - 1) === 47 && !/^[a-zA-Z]:(\/$|\\$)/.test(resource.fsPath);
7855
+ return p.length > 1 && p.charCodeAt(p.length - 1) === CharCode.Slash && !/^[a-zA-Z]:(\/$|\\$)/.test(resource.fsPath);
7400
7856
  }
7401
7857
  }
7402
7858
  removeTrailingPathSeparator(resource, sep$1 = sep) {
@@ -7413,7 +7869,7 @@ ${stackTraceFormattedLines.join("\n")}
7413
7869
  } else {
7414
7870
  sep$1 = "/";
7415
7871
  const p = resource.path;
7416
- isRootSep = p.length === 1 && p.charCodeAt(p.length - 1) === 47;
7872
+ isRootSep = p.length === 1 && p.charCodeAt(p.length - 1) === CharCode.Slash;
7417
7873
  }
7418
7874
  if (!isRootSep && !hasTrailingPathSeparator(resource, sep$1)) {
7419
7875
  return resource.with({ path: resource.path + "/" });
@@ -7561,6 +8017,11 @@ ${stackTraceFormattedLines.join("\n")}
7561
8017
  }
7562
8018
  runWhenGlobalIdle = (runner) => _runWhenIdle(globalThis, runner);
7563
8019
  })();
8020
+ var DeferredOutcome;
8021
+ (function(DeferredOutcome2) {
8022
+ DeferredOutcome2[DeferredOutcome2["Resolved"] = 0] = "Resolved";
8023
+ DeferredOutcome2[DeferredOutcome2["Rejected"] = 1] = "Rejected";
8024
+ })(DeferredOutcome || (DeferredOutcome = {}));
7564
8025
  var Promises;
7565
8026
  (function(Promises2) {
7566
8027
  async function settled(promises) {
@@ -7588,6 +8049,12 @@ ${stackTraceFormattedLines.join("\n")}
7588
8049
  }
7589
8050
  Promises2.withAsyncBody = withAsyncBody;
7590
8051
  })(Promises || (Promises = {}));
8052
+ var AsyncIterableSourceState;
8053
+ (function(AsyncIterableSourceState2) {
8054
+ AsyncIterableSourceState2[AsyncIterableSourceState2["Initial"] = 0] = "Initial";
8055
+ AsyncIterableSourceState2[AsyncIterableSourceState2["DoneOK"] = 1] = "DoneOK";
8056
+ AsyncIterableSourceState2[AsyncIterableSourceState2["DoneError"] = 2] = "DoneError";
8057
+ })(AsyncIterableSourceState || (AsyncIterableSourceState = {}));
7591
8058
  var AsyncIterableObject = class _AsyncIterableObject {
7592
8059
  static fromArray(items) {
7593
8060
  return new _AsyncIterableObject((writer) => {
@@ -7617,7 +8084,7 @@ ${stackTraceFormattedLines.join("\n")}
7617
8084
  this.EMPTY = _AsyncIterableObject.fromArray([]);
7618
8085
  }
7619
8086
  constructor(executor, onReturn) {
7620
- this._state = 0;
8087
+ this._state = AsyncIterableSourceState.Initial;
7621
8088
  this._results = [];
7622
8089
  this._error = null;
7623
8090
  this._onReturn = onReturn;
@@ -7645,13 +8112,13 @@ ${stackTraceFormattedLines.join("\n")}
7645
8112
  return {
7646
8113
  next: async () => {
7647
8114
  do {
7648
- if (this._state === 2) {
8115
+ if (this._state === AsyncIterableSourceState.DoneError) {
7649
8116
  throw this._error;
7650
8117
  }
7651
8118
  if (i < this._results.length) {
7652
8119
  return { done: false, value: this._results[i++] };
7653
8120
  }
7654
- if (this._state === 1) {
8121
+ if (this._state === AsyncIterableSourceState.DoneOK) {
7655
8122
  return { done: true, value: void 0 };
7656
8123
  }
7657
8124
  await Event.toPromise(this._onStateChanged.event);
@@ -7702,31 +8169,31 @@ ${stackTraceFormattedLines.join("\n")}
7702
8169
  return _AsyncIterableObject.toPromise(this);
7703
8170
  }
7704
8171
  emitOne(value) {
7705
- if (this._state !== 0) {
8172
+ if (this._state !== AsyncIterableSourceState.Initial) {
7706
8173
  return;
7707
8174
  }
7708
8175
  this._results.push(value);
7709
8176
  this._onStateChanged.fire();
7710
8177
  }
7711
8178
  emitMany(values) {
7712
- if (this._state !== 0) {
8179
+ if (this._state !== AsyncIterableSourceState.Initial) {
7713
8180
  return;
7714
8181
  }
7715
8182
  this._results = this._results.concat(values);
7716
8183
  this._onStateChanged.fire();
7717
8184
  }
7718
8185
  resolve() {
7719
- if (this._state !== 0) {
8186
+ if (this._state !== AsyncIterableSourceState.Initial) {
7720
8187
  return;
7721
8188
  }
7722
- this._state = 1;
8189
+ this._state = AsyncIterableSourceState.DoneOK;
7723
8190
  this._onStateChanged.fire();
7724
8191
  }
7725
8192
  reject(error) {
7726
- if (this._state !== 0) {
8193
+ if (this._state !== AsyncIterableSourceState.Initial) {
7727
8194
  return;
7728
8195
  }
7729
- this._state = 2;
8196
+ this._state = AsyncIterableSourceState.DoneError;
7730
8197
  this._error = error;
7731
8198
  this._onStateChanged.fire();
7732
8199
  }
@@ -7983,7 +8450,7 @@ ${stackTraceFormattedLines.join("\n")}
7983
8450
  return this._value;
7984
8451
  }
7985
8452
  set(value, tx, change) {
7986
- if (this._equalityComparator(this._value, value)) {
8453
+ if (change === void 0 && this._equalityComparator(this._value, value)) {
7987
8454
  return;
7988
8455
  }
7989
8456
  let _tx;
@@ -8040,6 +8507,13 @@ ${stackTraceFormattedLines.join("\n")}
8040
8507
  return new Derived(new DebugNameData(options.owner, options.debugName, options.debugReferenceFn), computeFn, void 0, void 0, options.onLastObserverRemoved, options.equalsFn ?? strictEquals);
8041
8508
  }
8042
8509
  _setDerivedOpts(derivedOpts);
8510
+ var DerivedState;
8511
+ (function(DerivedState2) {
8512
+ DerivedState2[DerivedState2["initial"] = 0] = "initial";
8513
+ DerivedState2[DerivedState2["dependenciesMightHaveChanged"] = 1] = "dependenciesMightHaveChanged";
8514
+ DerivedState2[DerivedState2["stale"] = 2] = "stale";
8515
+ DerivedState2[DerivedState2["upToDate"] = 3] = "upToDate";
8516
+ })(DerivedState || (DerivedState = {}));
8043
8517
  var Derived = class extends BaseObservable {
8044
8518
  get debugName() {
8045
8519
  return this._debugNameData.getDebugName(this) ?? "(anonymous)";
@@ -8052,7 +8526,7 @@ ${stackTraceFormattedLines.join("\n")}
8052
8526
  this._handleChange = _handleChange;
8053
8527
  this._handleLastObserverRemoved = _handleLastObserverRemoved;
8054
8528
  this._equalityComparator = _equalityComparator;
8055
- this.state = 0;
8529
+ this.state = DerivedState.initial;
8056
8530
  this.value = void 0;
8057
8531
  this.updateCount = 0;
8058
8532
  this.dependencies = /* @__PURE__ */ new Set();
@@ -8061,7 +8535,7 @@ ${stackTraceFormattedLines.join("\n")}
8061
8535
  this.changeSummary = this.createChangeSummary?.();
8062
8536
  }
8063
8537
  onLastObserverRemoved() {
8064
- this.state = 0;
8538
+ this.state = DerivedState.initial;
8065
8539
  this.value = void 0;
8066
8540
  for (const d of this.dependencies) {
8067
8541
  d.removeObserver(this);
@@ -8076,32 +8550,32 @@ ${stackTraceFormattedLines.join("\n")}
8076
8550
  return result;
8077
8551
  } else {
8078
8552
  do {
8079
- if (this.state === 1) {
8553
+ if (this.state === DerivedState.dependenciesMightHaveChanged) {
8080
8554
  for (const d of this.dependencies) {
8081
8555
  d.reportChanges();
8082
- if (this.state === 2) {
8556
+ if (this.state === DerivedState.stale) {
8083
8557
  break;
8084
8558
  }
8085
8559
  }
8086
8560
  }
8087
- if (this.state === 1) {
8088
- this.state = 3;
8561
+ if (this.state === DerivedState.dependenciesMightHaveChanged) {
8562
+ this.state = DerivedState.upToDate;
8089
8563
  }
8090
8564
  this._recomputeIfNeeded();
8091
- } while (this.state !== 3);
8565
+ } while (this.state !== DerivedState.upToDate);
8092
8566
  return this.value;
8093
8567
  }
8094
8568
  }
8095
8569
  _recomputeIfNeeded() {
8096
- if (this.state === 3) {
8570
+ if (this.state === DerivedState.upToDate) {
8097
8571
  return;
8098
8572
  }
8099
8573
  const emptySet = this.dependenciesToBeRemoved;
8100
8574
  this.dependenciesToBeRemoved = this.dependencies;
8101
8575
  this.dependencies = emptySet;
8102
- const hadValue = this.state !== 0;
8576
+ const hadValue = this.state !== DerivedState.initial;
8103
8577
  const oldValue = this.value;
8104
- this.state = 3;
8578
+ this.state = DerivedState.upToDate;
8105
8579
  const changeSummary = this.changeSummary;
8106
8580
  this.changeSummary = this.createChangeSummary?.();
8107
8581
  try {
@@ -8125,8 +8599,8 @@ ${stackTraceFormattedLines.join("\n")}
8125
8599
  beginUpdate(_observable) {
8126
8600
  this.updateCount++;
8127
8601
  const propagateBeginUpdate = this.updateCount === 1;
8128
- if (this.state === 3) {
8129
- this.state = 1;
8602
+ if (this.state === DerivedState.upToDate) {
8603
+ this.state = DerivedState.dependenciesMightHaveChanged;
8130
8604
  if (!propagateBeginUpdate) {
8131
8605
  for (const r of this.observers) {
8132
8606
  r.handlePossibleChange(this);
@@ -8150,8 +8624,8 @@ ${stackTraceFormattedLines.join("\n")}
8150
8624
  assertFn(() => this.updateCount >= 0);
8151
8625
  }
8152
8626
  handlePossibleChange(observable) {
8153
- if (this.state === 3 && this.dependencies.has(observable) && !this.dependenciesToBeRemoved.has(observable)) {
8154
- this.state = 1;
8627
+ if (this.state === DerivedState.upToDate && this.dependencies.has(observable) && !this.dependenciesToBeRemoved.has(observable)) {
8628
+ this.state = DerivedState.dependenciesMightHaveChanged;
8155
8629
  for (const r of this.observers) {
8156
8630
  r.handlePossibleChange(this);
8157
8631
  }
@@ -8164,9 +8638,9 @@ ${stackTraceFormattedLines.join("\n")}
8164
8638
  change,
8165
8639
  didChange: (o) => o === observable
8166
8640
  }, this.changeSummary) : true;
8167
- const wasUpToDate = this.state === 3;
8168
- if (shouldReact && (this.state === 1 || wasUpToDate)) {
8169
- this.state = 2;
8641
+ const wasUpToDate = this.state === DerivedState.upToDate;
8642
+ if (shouldReact && (this.state === DerivedState.dependenciesMightHaveChanged || wasUpToDate)) {
8643
+ this.state = DerivedState.stale;
8170
8644
  if (wasUpToDate) {
8171
8645
  for (const r of this.observers) {
8172
8646
  r.handlePossibleChange(this);
@@ -8202,6 +8676,12 @@ ${stackTraceFormattedLines.join("\n")}
8202
8676
  function autorun(fn) {
8203
8677
  return new AutorunObserver(new DebugNameData(void 0, void 0, fn), fn, void 0, void 0);
8204
8678
  }
8679
+ var AutorunState;
8680
+ (function(AutorunState2) {
8681
+ AutorunState2[AutorunState2["dependenciesMightHaveChanged"] = 1] = "dependenciesMightHaveChanged";
8682
+ AutorunState2[AutorunState2["stale"] = 2] = "stale";
8683
+ AutorunState2[AutorunState2["upToDate"] = 3] = "upToDate";
8684
+ })(AutorunState || (AutorunState = {}));
8205
8685
  var AutorunObserver = class {
8206
8686
  get debugName() {
8207
8687
  return this._debugNameData.getDebugName(this) ?? "(anonymous)";
@@ -8211,7 +8691,7 @@ ${stackTraceFormattedLines.join("\n")}
8211
8691
  this._runFn = _runFn;
8212
8692
  this.createChangeSummary = createChangeSummary;
8213
8693
  this._handleChange = _handleChange;
8214
- this.state = 2;
8694
+ this.state = AutorunState.stale;
8215
8695
  this.updateCount = 0;
8216
8696
  this.disposed = false;
8217
8697
  this.dependencies = /* @__PURE__ */ new Set();
@@ -8229,13 +8709,13 @@ ${stackTraceFormattedLines.join("\n")}
8229
8709
  markAsDisposed(this);
8230
8710
  }
8231
8711
  _runIfNeeded() {
8232
- if (this.state === 3) {
8712
+ if (this.state === AutorunState.upToDate) {
8233
8713
  return;
8234
8714
  }
8235
8715
  const emptySet = this.dependenciesToBeRemoved;
8236
8716
  this.dependenciesToBeRemoved = this.dependencies;
8237
8717
  this.dependencies = emptySet;
8238
- this.state = 3;
8718
+ this.state = AutorunState.upToDate;
8239
8719
  const isDisposed = this.disposed;
8240
8720
  try {
8241
8721
  if (!isDisposed) {
@@ -8254,32 +8734,32 @@ ${stackTraceFormattedLines.join("\n")}
8254
8734
  return `Autorun<${this.debugName}>`;
8255
8735
  }
8256
8736
  beginUpdate() {
8257
- if (this.state === 3) {
8258
- this.state = 1;
8737
+ if (this.state === AutorunState.upToDate) {
8738
+ this.state = AutorunState.dependenciesMightHaveChanged;
8259
8739
  }
8260
8740
  this.updateCount++;
8261
8741
  }
8262
8742
  endUpdate() {
8263
8743
  if (this.updateCount === 1) {
8264
8744
  do {
8265
- if (this.state === 1) {
8266
- this.state = 3;
8745
+ if (this.state === AutorunState.dependenciesMightHaveChanged) {
8746
+ this.state = AutorunState.upToDate;
8267
8747
  for (const d of this.dependencies) {
8268
8748
  d.reportChanges();
8269
- if (this.state === 2) {
8749
+ if (this.state === AutorunState.stale) {
8270
8750
  break;
8271
8751
  }
8272
8752
  }
8273
8753
  }
8274
8754
  this._runIfNeeded();
8275
- } while (this.state !== 3);
8755
+ } while (this.state !== AutorunState.upToDate);
8276
8756
  }
8277
8757
  this.updateCount--;
8278
8758
  assertFn(() => this.updateCount >= 0);
8279
8759
  }
8280
8760
  handlePossibleChange(observable) {
8281
- if (this.state === 3 && this.dependencies.has(observable) && !this.dependenciesToBeRemoved.has(observable)) {
8282
- this.state = 1;
8761
+ if (this.state === AutorunState.upToDate && this.dependencies.has(observable) && !this.dependenciesToBeRemoved.has(observable)) {
8762
+ this.state = AutorunState.dependenciesMightHaveChanged;
8283
8763
  }
8284
8764
  }
8285
8765
  handleChange(observable, change) {
@@ -8290,7 +8770,7 @@ ${stackTraceFormattedLines.join("\n")}
8290
8770
  didChange: (o) => o === observable
8291
8771
  }, this.changeSummary) : true;
8292
8772
  if (shouldReact) {
8293
- this.state = 2;
8773
+ this.state = AutorunState.stale;
8294
8774
  }
8295
8775
  }
8296
8776
  }
@@ -8986,32 +9466,6 @@ ${stackTraceFormattedLines.join("\n")}
8986
9466
  static deserialize(lineRange) {
8987
9467
  return new _LineRange(lineRange[0], lineRange[1]);
8988
9468
  }
8989
- static invert(range, model) {
8990
- if (range.isEmpty) {
8991
- return [];
8992
- }
8993
- const result = [];
8994
- if (range.startLineNumber > 1) {
8995
- result.push(new _LineRange(1, range.startLineNumber));
8996
- }
8997
- if (range.endLineNumberExclusive < model.getLineCount() + 1) {
8998
- result.push(new _LineRange(range.endLineNumberExclusive, model.getLineCount() + 1));
8999
- }
9000
- return result.filter((r) => !r.isEmpty);
9001
- }
9002
- static asRange(lineRange, model) {
9003
- return lineRange.isEmpty ? new Range(
9004
- lineRange.startLineNumber,
9005
- 1,
9006
- lineRange.startLineNumber,
9007
- model.getLineLength(lineRange.startLineNumber)
9008
- ) : new Range(
9009
- lineRange.startLineNumber,
9010
- 1,
9011
- lineRange.endLineNumberExclusive - 1,
9012
- model.getLineLength(lineRange.endLineNumberExclusive - 1)
9013
- );
9014
- }
9015
9469
  constructor(startLineNumber, endLineNumberExclusive) {
9016
9470
  if (startLineNumber > endLineNumberExclusive) {
9017
9471
  throw new BugIndicatingError(
@@ -9225,26 +9679,6 @@ ${stackTraceFormattedLines.join("\n")}
9225
9679
  }
9226
9680
  };
9227
9681
 
9228
- // node_modules/vscode/vscode/src/vs/base/common/uint.js
9229
- function toUint8(v) {
9230
- if (v < 0) {
9231
- return 0;
9232
- }
9233
- if (v > 255) {
9234
- return 255;
9235
- }
9236
- return v | 0;
9237
- }
9238
- function toUint32(v) {
9239
- if (v < 0) {
9240
- return 0;
9241
- }
9242
- if (v > 4294967295) {
9243
- return 4294967295;
9244
- }
9245
- return v | 0;
9246
- }
9247
-
9248
9682
  // node_modules/vscode/vscode/src/vs/editor/common/model/prefixSumComputer.js
9249
9683
  var PrefixSumComputer = class {
9250
9684
  constructor(values) {
@@ -9469,27 +9903,34 @@ ${stackTraceFormattedLines.join("\n")}
9469
9903
  };
9470
9904
 
9471
9905
  // node_modules/vscode/vscode/src/vs/editor/common/core/eolCounter.js
9906
+ var StringEOL;
9907
+ (function(StringEOL2) {
9908
+ StringEOL2[StringEOL2["Unknown"] = 0] = "Unknown";
9909
+ StringEOL2[StringEOL2["Invalid"] = 3] = "Invalid";
9910
+ StringEOL2[StringEOL2["LF"] = 1] = "LF";
9911
+ StringEOL2[StringEOL2["CRLF"] = 2] = "CRLF";
9912
+ })(StringEOL || (StringEOL = {}));
9472
9913
  function countEOL(text) {
9473
9914
  let eolCount = 0;
9474
9915
  let firstLineLength = 0;
9475
9916
  let lastLineStart = 0;
9476
- let eol = 0;
9917
+ let eol = StringEOL.Unknown;
9477
9918
  for (let i = 0, len = text.length; i < len; i++) {
9478
9919
  const chr = text.charCodeAt(i);
9479
- if (chr === 13) {
9920
+ if (chr === CharCode.CarriageReturn) {
9480
9921
  if (eolCount === 0) {
9481
9922
  firstLineLength = i;
9482
9923
  }
9483
9924
  eolCount++;
9484
- if (i + 1 < len && text.charCodeAt(i + 1) === 10) {
9485
- eol |= 2;
9925
+ if (i + 1 < len && text.charCodeAt(i + 1) === CharCode.LineFeed) {
9926
+ eol |= StringEOL.CRLF;
9486
9927
  i++;
9487
9928
  } else {
9488
- eol |= 3;
9929
+ eol |= StringEOL.Invalid;
9489
9930
  }
9490
9931
  lastLineStart = i + 1;
9491
- } else if (chr === 10) {
9492
- eol |= 1;
9932
+ } else if (chr === CharCode.LineFeed) {
9933
+ eol |= StringEOL.LF;
9493
9934
  if (eolCount === 0) {
9494
9935
  firstLineLength = i;
9495
9936
  }
@@ -9503,6 +9944,131 @@ ${stackTraceFormattedLines.join("\n")}
9503
9944
  return [eolCount, firstLineLength, text.length - lastLineStart, eol];
9504
9945
  }
9505
9946
 
9947
+ // node_modules/vscode/vscode/src/vs/editor/common/encodedTokenAttributes.js
9948
+ var LanguageId;
9949
+ (function(LanguageId2) {
9950
+ LanguageId2[LanguageId2["Null"] = 0] = "Null";
9951
+ LanguageId2[LanguageId2["PlainText"] = 1] = "PlainText";
9952
+ })(LanguageId || (LanguageId = {}));
9953
+ var FontStyle;
9954
+ (function(FontStyle2) {
9955
+ FontStyle2[FontStyle2["NotSet"] = -1] = "NotSet";
9956
+ FontStyle2[FontStyle2["None"] = 0] = "None";
9957
+ FontStyle2[FontStyle2["Italic"] = 1] = "Italic";
9958
+ FontStyle2[FontStyle2["Bold"] = 2] = "Bold";
9959
+ FontStyle2[FontStyle2["Underline"] = 4] = "Underline";
9960
+ FontStyle2[FontStyle2["Strikethrough"] = 8] = "Strikethrough";
9961
+ })(FontStyle || (FontStyle = {}));
9962
+ var ColorId;
9963
+ (function(ColorId2) {
9964
+ ColorId2[ColorId2["None"] = 0] = "None";
9965
+ ColorId2[ColorId2["DefaultForeground"] = 1] = "DefaultForeground";
9966
+ ColorId2[ColorId2["DefaultBackground"] = 2] = "DefaultBackground";
9967
+ })(ColorId || (ColorId = {}));
9968
+ var StandardTokenType;
9969
+ (function(StandardTokenType2) {
9970
+ StandardTokenType2[StandardTokenType2["Other"] = 0] = "Other";
9971
+ StandardTokenType2[StandardTokenType2["Comment"] = 1] = "Comment";
9972
+ StandardTokenType2[StandardTokenType2["String"] = 2] = "String";
9973
+ StandardTokenType2[StandardTokenType2["RegEx"] = 3] = "RegEx";
9974
+ })(StandardTokenType || (StandardTokenType = {}));
9975
+ var MetadataConsts;
9976
+ (function(MetadataConsts2) {
9977
+ MetadataConsts2[MetadataConsts2["LANGUAGEID_MASK"] = 255] = "LANGUAGEID_MASK";
9978
+ MetadataConsts2[MetadataConsts2["TOKEN_TYPE_MASK"] = 768] = "TOKEN_TYPE_MASK";
9979
+ MetadataConsts2[MetadataConsts2["BALANCED_BRACKETS_MASK"] = 1024] = "BALANCED_BRACKETS_MASK";
9980
+ MetadataConsts2[MetadataConsts2["FONT_STYLE_MASK"] = 30720] = "FONT_STYLE_MASK";
9981
+ MetadataConsts2[MetadataConsts2["FOREGROUND_MASK"] = 16744448] = "FOREGROUND_MASK";
9982
+ MetadataConsts2[MetadataConsts2["BACKGROUND_MASK"] = 4278190080] = "BACKGROUND_MASK";
9983
+ MetadataConsts2[MetadataConsts2["ITALIC_MASK"] = 2048] = "ITALIC_MASK";
9984
+ MetadataConsts2[MetadataConsts2["BOLD_MASK"] = 4096] = "BOLD_MASK";
9985
+ MetadataConsts2[MetadataConsts2["UNDERLINE_MASK"] = 8192] = "UNDERLINE_MASK";
9986
+ MetadataConsts2[MetadataConsts2["STRIKETHROUGH_MASK"] = 16384] = "STRIKETHROUGH_MASK";
9987
+ MetadataConsts2[MetadataConsts2["SEMANTIC_USE_ITALIC"] = 1] = "SEMANTIC_USE_ITALIC";
9988
+ MetadataConsts2[MetadataConsts2["SEMANTIC_USE_BOLD"] = 2] = "SEMANTIC_USE_BOLD";
9989
+ MetadataConsts2[MetadataConsts2["SEMANTIC_USE_UNDERLINE"] = 4] = "SEMANTIC_USE_UNDERLINE";
9990
+ MetadataConsts2[MetadataConsts2["SEMANTIC_USE_STRIKETHROUGH"] = 8] = "SEMANTIC_USE_STRIKETHROUGH";
9991
+ MetadataConsts2[MetadataConsts2["SEMANTIC_USE_FOREGROUND"] = 16] = "SEMANTIC_USE_FOREGROUND";
9992
+ MetadataConsts2[MetadataConsts2["SEMANTIC_USE_BACKGROUND"] = 32] = "SEMANTIC_USE_BACKGROUND";
9993
+ MetadataConsts2[MetadataConsts2["LANGUAGEID_OFFSET"] = 0] = "LANGUAGEID_OFFSET";
9994
+ MetadataConsts2[MetadataConsts2["TOKEN_TYPE_OFFSET"] = 8] = "TOKEN_TYPE_OFFSET";
9995
+ MetadataConsts2[MetadataConsts2["BALANCED_BRACKETS_OFFSET"] = 10] = "BALANCED_BRACKETS_OFFSET";
9996
+ MetadataConsts2[MetadataConsts2["FONT_STYLE_OFFSET"] = 11] = "FONT_STYLE_OFFSET";
9997
+ MetadataConsts2[MetadataConsts2["FOREGROUND_OFFSET"] = 15] = "FOREGROUND_OFFSET";
9998
+ MetadataConsts2[MetadataConsts2["BACKGROUND_OFFSET"] = 24] = "BACKGROUND_OFFSET";
9999
+ })(MetadataConsts || (MetadataConsts = {}));
10000
+ var TokenMetadata = class {
10001
+ static getLanguageId(metadata) {
10002
+ return (metadata & MetadataConsts.LANGUAGEID_MASK) >>> MetadataConsts.LANGUAGEID_OFFSET;
10003
+ }
10004
+ static getTokenType(metadata) {
10005
+ return (metadata & MetadataConsts.TOKEN_TYPE_MASK) >>> MetadataConsts.TOKEN_TYPE_OFFSET;
10006
+ }
10007
+ static containsBalancedBrackets(metadata) {
10008
+ return (metadata & MetadataConsts.BALANCED_BRACKETS_MASK) !== 0;
10009
+ }
10010
+ static getFontStyle(metadata) {
10011
+ return (metadata & MetadataConsts.FONT_STYLE_MASK) >>> MetadataConsts.FONT_STYLE_OFFSET;
10012
+ }
10013
+ static getForeground(metadata) {
10014
+ return (metadata & MetadataConsts.FOREGROUND_MASK) >>> MetadataConsts.FOREGROUND_OFFSET;
10015
+ }
10016
+ static getBackground(metadata) {
10017
+ return (metadata & MetadataConsts.BACKGROUND_MASK) >>> MetadataConsts.BACKGROUND_OFFSET;
10018
+ }
10019
+ static getClassNameFromMetadata(metadata) {
10020
+ const foreground = this.getForeground(metadata);
10021
+ let className = "mtk" + foreground;
10022
+ const fontStyle = this.getFontStyle(metadata);
10023
+ if (fontStyle & FontStyle.Italic) {
10024
+ className += " mtki";
10025
+ }
10026
+ if (fontStyle & FontStyle.Bold) {
10027
+ className += " mtkb";
10028
+ }
10029
+ if (fontStyle & FontStyle.Underline) {
10030
+ className += " mtku";
10031
+ }
10032
+ if (fontStyle & FontStyle.Strikethrough) {
10033
+ className += " mtks";
10034
+ }
10035
+ return className;
10036
+ }
10037
+ static getInlineStyleFromMetadata(metadata, colorMap) {
10038
+ const foreground = this.getForeground(metadata);
10039
+ const fontStyle = this.getFontStyle(metadata);
10040
+ let result = `color: ${colorMap[foreground]};`;
10041
+ if (fontStyle & FontStyle.Italic) {
10042
+ result += "font-style: italic;";
10043
+ }
10044
+ if (fontStyle & FontStyle.Bold) {
10045
+ result += "font-weight: bold;";
10046
+ }
10047
+ let textDecoration = "";
10048
+ if (fontStyle & FontStyle.Underline) {
10049
+ textDecoration += " underline";
10050
+ }
10051
+ if (fontStyle & FontStyle.Strikethrough) {
10052
+ textDecoration += " line-through";
10053
+ }
10054
+ if (textDecoration) {
10055
+ result += `text-decoration:${textDecoration};`;
10056
+ }
10057
+ return result;
10058
+ }
10059
+ static getPresentationFromMetadata(metadata) {
10060
+ const foreground = this.getForeground(metadata);
10061
+ const fontStyle = this.getFontStyle(metadata);
10062
+ return {
10063
+ foreground,
10064
+ italic: Boolean(fontStyle & FontStyle.Italic),
10065
+ bold: Boolean(fontStyle & FontStyle.Bold),
10066
+ underline: Boolean(fontStyle & FontStyle.Underline),
10067
+ strikethrough: Boolean(fontStyle & FontStyle.Strikethrough)
10068
+ };
10069
+ }
10070
+ };
10071
+
9506
10072
  // node_modules/vscode/vscode/src/vs/base/common/codiconsUtil.js
9507
10073
  var _codiconFontCharacters = /* @__PURE__ */ Object.create(null);
9508
10074
  function register(id2, fontCharacter) {
@@ -10087,7 +10653,8 @@ ${stackTraceFormattedLines.join("\n")}
10087
10653
  foldVerticalFilled: register("fold-vertical-filled", 60465),
10088
10654
  goToSearch: register("go-to-search", 60466),
10089
10655
  percentage: register("percentage", 60467),
10090
- sortPercentage: register("sort-percentage", 60467)
10656
+ sortPercentage: register("sort-percentage", 60467),
10657
+ attach: register("attach", 60468)
10091
10658
  };
10092
10659
 
10093
10660
  // node_modules/vscode/vscode/src/vs/base/common/codicons.js
@@ -10202,8 +10769,8 @@ ${stackTraceFormattedLines.join("\n")}
10202
10769
  return this._colorMap;
10203
10770
  }
10204
10771
  getDefaultBackground() {
10205
- if (this._colorMap && this._colorMap.length > 2) {
10206
- return this._colorMap[2];
10772
+ if (this._colorMap && this._colorMap.length > ColorId.DefaultBackground) {
10773
+ return this._colorMap[ColorId.DefaultBackground];
10207
10774
  }
10208
10775
  return null;
10209
10776
  }
@@ -10265,38 +10832,69 @@ ${stackTraceFormattedLines.join("\n")}
10265
10832
  HoverVerbosityAction3[HoverVerbosityAction3["Increase"] = 0] = "Increase";
10266
10833
  HoverVerbosityAction3[HoverVerbosityAction3["Decrease"] = 1] = "Decrease";
10267
10834
  })(HoverVerbosityAction || (HoverVerbosityAction = {}));
10835
+ var CompletionItemKind;
10836
+ (function(CompletionItemKind3) {
10837
+ CompletionItemKind3[CompletionItemKind3["Method"] = 0] = "Method";
10838
+ CompletionItemKind3[CompletionItemKind3["Function"] = 1] = "Function";
10839
+ CompletionItemKind3[CompletionItemKind3["Constructor"] = 2] = "Constructor";
10840
+ CompletionItemKind3[CompletionItemKind3["Field"] = 3] = "Field";
10841
+ CompletionItemKind3[CompletionItemKind3["Variable"] = 4] = "Variable";
10842
+ CompletionItemKind3[CompletionItemKind3["Class"] = 5] = "Class";
10843
+ CompletionItemKind3[CompletionItemKind3["Struct"] = 6] = "Struct";
10844
+ CompletionItemKind3[CompletionItemKind3["Interface"] = 7] = "Interface";
10845
+ CompletionItemKind3[CompletionItemKind3["Module"] = 8] = "Module";
10846
+ CompletionItemKind3[CompletionItemKind3["Property"] = 9] = "Property";
10847
+ CompletionItemKind3[CompletionItemKind3["Event"] = 10] = "Event";
10848
+ CompletionItemKind3[CompletionItemKind3["Operator"] = 11] = "Operator";
10849
+ CompletionItemKind3[CompletionItemKind3["Unit"] = 12] = "Unit";
10850
+ CompletionItemKind3[CompletionItemKind3["Value"] = 13] = "Value";
10851
+ CompletionItemKind3[CompletionItemKind3["Constant"] = 14] = "Constant";
10852
+ CompletionItemKind3[CompletionItemKind3["Enum"] = 15] = "Enum";
10853
+ CompletionItemKind3[CompletionItemKind3["EnumMember"] = 16] = "EnumMember";
10854
+ CompletionItemKind3[CompletionItemKind3["Keyword"] = 17] = "Keyword";
10855
+ CompletionItemKind3[CompletionItemKind3["Text"] = 18] = "Text";
10856
+ CompletionItemKind3[CompletionItemKind3["Color"] = 19] = "Color";
10857
+ CompletionItemKind3[CompletionItemKind3["File"] = 20] = "File";
10858
+ CompletionItemKind3[CompletionItemKind3["Reference"] = 21] = "Reference";
10859
+ CompletionItemKind3[CompletionItemKind3["Customcolor"] = 22] = "Customcolor";
10860
+ CompletionItemKind3[CompletionItemKind3["Folder"] = 23] = "Folder";
10861
+ CompletionItemKind3[CompletionItemKind3["TypeParameter"] = 24] = "TypeParameter";
10862
+ CompletionItemKind3[CompletionItemKind3["User"] = 25] = "User";
10863
+ CompletionItemKind3[CompletionItemKind3["Issue"] = 26] = "Issue";
10864
+ CompletionItemKind3[CompletionItemKind3["Snippet"] = 27] = "Snippet";
10865
+ })(CompletionItemKind || (CompletionItemKind = {}));
10268
10866
  var CompletionItemKinds;
10269
10867
  (function(CompletionItemKinds2) {
10270
10868
  const byKind = /* @__PURE__ */ new Map();
10271
- byKind.set(0, Codicon.symbolMethod);
10272
- byKind.set(1, Codicon.symbolFunction);
10273
- byKind.set(2, Codicon.symbolConstructor);
10274
- byKind.set(3, Codicon.symbolField);
10275
- byKind.set(4, Codicon.symbolVariable);
10276
- byKind.set(5, Codicon.symbolClass);
10277
- byKind.set(6, Codicon.symbolStruct);
10278
- byKind.set(7, Codicon.symbolInterface);
10279
- byKind.set(8, Codicon.symbolModule);
10280
- byKind.set(9, Codicon.symbolProperty);
10281
- byKind.set(10, Codicon.symbolEvent);
10282
- byKind.set(11, Codicon.symbolOperator);
10283
- byKind.set(12, Codicon.symbolUnit);
10284
- byKind.set(13, Codicon.symbolValue);
10285
- byKind.set(15, Codicon.symbolEnum);
10286
- byKind.set(14, Codicon.symbolConstant);
10287
- byKind.set(15, Codicon.symbolEnum);
10288
- byKind.set(16, Codicon.symbolEnumMember);
10289
- byKind.set(17, Codicon.symbolKeyword);
10290
- byKind.set(27, Codicon.symbolSnippet);
10291
- byKind.set(18, Codicon.symbolText);
10292
- byKind.set(19, Codicon.symbolColor);
10293
- byKind.set(20, Codicon.symbolFile);
10294
- byKind.set(21, Codicon.symbolReference);
10295
- byKind.set(22, Codicon.symbolCustomColor);
10296
- byKind.set(23, Codicon.symbolFolder);
10297
- byKind.set(24, Codicon.symbolTypeParameter);
10298
- byKind.set(25, Codicon.account);
10299
- byKind.set(26, Codicon.issues);
10869
+ byKind.set(CompletionItemKind.Method, Codicon.symbolMethod);
10870
+ byKind.set(CompletionItemKind.Function, Codicon.symbolFunction);
10871
+ byKind.set(CompletionItemKind.Constructor, Codicon.symbolConstructor);
10872
+ byKind.set(CompletionItemKind.Field, Codicon.symbolField);
10873
+ byKind.set(CompletionItemKind.Variable, Codicon.symbolVariable);
10874
+ byKind.set(CompletionItemKind.Class, Codicon.symbolClass);
10875
+ byKind.set(CompletionItemKind.Struct, Codicon.symbolStruct);
10876
+ byKind.set(CompletionItemKind.Interface, Codicon.symbolInterface);
10877
+ byKind.set(CompletionItemKind.Module, Codicon.symbolModule);
10878
+ byKind.set(CompletionItemKind.Property, Codicon.symbolProperty);
10879
+ byKind.set(CompletionItemKind.Event, Codicon.symbolEvent);
10880
+ byKind.set(CompletionItemKind.Operator, Codicon.symbolOperator);
10881
+ byKind.set(CompletionItemKind.Unit, Codicon.symbolUnit);
10882
+ byKind.set(CompletionItemKind.Value, Codicon.symbolValue);
10883
+ byKind.set(CompletionItemKind.Enum, Codicon.symbolEnum);
10884
+ byKind.set(CompletionItemKind.Constant, Codicon.symbolConstant);
10885
+ byKind.set(CompletionItemKind.Enum, Codicon.symbolEnum);
10886
+ byKind.set(CompletionItemKind.EnumMember, Codicon.symbolEnumMember);
10887
+ byKind.set(CompletionItemKind.Keyword, Codicon.symbolKeyword);
10888
+ byKind.set(CompletionItemKind.Snippet, Codicon.symbolSnippet);
10889
+ byKind.set(CompletionItemKind.Text, Codicon.symbolText);
10890
+ byKind.set(CompletionItemKind.Color, Codicon.symbolColor);
10891
+ byKind.set(CompletionItemKind.File, Codicon.symbolFile);
10892
+ byKind.set(CompletionItemKind.Reference, Codicon.symbolReference);
10893
+ byKind.set(CompletionItemKind.Customcolor, Codicon.symbolCustomColor);
10894
+ byKind.set(CompletionItemKind.Folder, Codicon.symbolFolder);
10895
+ byKind.set(CompletionItemKind.TypeParameter, Codicon.symbolTypeParameter);
10896
+ byKind.set(CompletionItemKind.User, Codicon.account);
10897
+ byKind.set(CompletionItemKind.Issue, Codicon.issues);
10300
10898
  function toIcon(kind) {
10301
10899
  let codicon = byKind.get(kind);
10302
10900
  if (!codicon) {
@@ -10307,50 +10905,77 @@ ${stackTraceFormattedLines.join("\n")}
10307
10905
  }
10308
10906
  CompletionItemKinds2.toIcon = toIcon;
10309
10907
  const data = /* @__PURE__ */ new Map();
10310
- data.set("method", 0);
10311
- data.set("function", 1);
10312
- data.set("constructor", 2);
10313
- data.set("field", 3);
10314
- data.set("variable", 4);
10315
- data.set("class", 5);
10316
- data.set("struct", 6);
10317
- data.set("interface", 7);
10318
- data.set("module", 8);
10319
- data.set("property", 9);
10320
- data.set("event", 10);
10321
- data.set("operator", 11);
10322
- data.set("unit", 12);
10323
- data.set("value", 13);
10324
- data.set("constant", 14);
10325
- data.set("enum", 15);
10326
- data.set("enum-member", 16);
10327
- data.set("enumMember", 16);
10328
- data.set("keyword", 17);
10329
- data.set("snippet", 27);
10330
- data.set("text", 18);
10331
- data.set("color", 19);
10332
- data.set("file", 20);
10333
- data.set("reference", 21);
10334
- data.set("customcolor", 22);
10335
- data.set("folder", 23);
10336
- data.set("type-parameter", 24);
10337
- data.set("typeParameter", 24);
10338
- data.set("account", 25);
10339
- data.set("issue", 26);
10908
+ data.set("method", CompletionItemKind.Method);
10909
+ data.set("function", CompletionItemKind.Function);
10910
+ data.set("constructor", CompletionItemKind.Constructor);
10911
+ data.set("field", CompletionItemKind.Field);
10912
+ data.set("variable", CompletionItemKind.Variable);
10913
+ data.set("class", CompletionItemKind.Class);
10914
+ data.set("struct", CompletionItemKind.Struct);
10915
+ data.set("interface", CompletionItemKind.Interface);
10916
+ data.set("module", CompletionItemKind.Module);
10917
+ data.set("property", CompletionItemKind.Property);
10918
+ data.set("event", CompletionItemKind.Event);
10919
+ data.set("operator", CompletionItemKind.Operator);
10920
+ data.set("unit", CompletionItemKind.Unit);
10921
+ data.set("value", CompletionItemKind.Value);
10922
+ data.set("constant", CompletionItemKind.Constant);
10923
+ data.set("enum", CompletionItemKind.Enum);
10924
+ data.set("enum-member", CompletionItemKind.EnumMember);
10925
+ data.set("enumMember", CompletionItemKind.EnumMember);
10926
+ data.set("keyword", CompletionItemKind.Keyword);
10927
+ data.set("snippet", CompletionItemKind.Snippet);
10928
+ data.set("text", CompletionItemKind.Text);
10929
+ data.set("color", CompletionItemKind.Color);
10930
+ data.set("file", CompletionItemKind.File);
10931
+ data.set("reference", CompletionItemKind.Reference);
10932
+ data.set("customcolor", CompletionItemKind.Customcolor);
10933
+ data.set("folder", CompletionItemKind.Folder);
10934
+ data.set("type-parameter", CompletionItemKind.TypeParameter);
10935
+ data.set("typeParameter", CompletionItemKind.TypeParameter);
10936
+ data.set("account", CompletionItemKind.User);
10937
+ data.set("issue", CompletionItemKind.Issue);
10340
10938
  function fromString(value, strict) {
10341
10939
  let res = data.get(value);
10342
10940
  if (typeof res === "undefined" && !strict) {
10343
- res = 9;
10941
+ res = CompletionItemKind.Property;
10344
10942
  }
10345
10943
  return res;
10346
10944
  }
10347
10945
  CompletionItemKinds2.fromString = fromString;
10348
10946
  })(CompletionItemKinds || (CompletionItemKinds = {}));
10947
+ var CompletionItemTag;
10948
+ (function(CompletionItemTag3) {
10949
+ CompletionItemTag3[CompletionItemTag3["Deprecated"] = 1] = "Deprecated";
10950
+ })(CompletionItemTag || (CompletionItemTag = {}));
10951
+ var CompletionItemInsertTextRule;
10952
+ (function(CompletionItemInsertTextRule3) {
10953
+ CompletionItemInsertTextRule3[CompletionItemInsertTextRule3["None"] = 0] = "None";
10954
+ CompletionItemInsertTextRule3[CompletionItemInsertTextRule3["KeepWhitespace"] = 1] = "KeepWhitespace";
10955
+ CompletionItemInsertTextRule3[CompletionItemInsertTextRule3["InsertAsSnippet"] = 4] = "InsertAsSnippet";
10956
+ })(CompletionItemInsertTextRule || (CompletionItemInsertTextRule = {}));
10957
+ var PartialAcceptTriggerKind;
10958
+ (function(PartialAcceptTriggerKind3) {
10959
+ PartialAcceptTriggerKind3[PartialAcceptTriggerKind3["Word"] = 0] = "Word";
10960
+ PartialAcceptTriggerKind3[PartialAcceptTriggerKind3["Line"] = 1] = "Line";
10961
+ PartialAcceptTriggerKind3[PartialAcceptTriggerKind3["Suggest"] = 2] = "Suggest";
10962
+ })(PartialAcceptTriggerKind || (PartialAcceptTriggerKind = {}));
10963
+ var CompletionTriggerKind;
10964
+ (function(CompletionTriggerKind3) {
10965
+ CompletionTriggerKind3[CompletionTriggerKind3["Invoke"] = 0] = "Invoke";
10966
+ CompletionTriggerKind3[CompletionTriggerKind3["TriggerCharacter"] = 1] = "TriggerCharacter";
10967
+ CompletionTriggerKind3[CompletionTriggerKind3["TriggerForIncompleteCompletions"] = 2] = "TriggerForIncompleteCompletions";
10968
+ })(CompletionTriggerKind || (CompletionTriggerKind = {}));
10349
10969
  var InlineCompletionTriggerKind;
10350
10970
  (function(InlineCompletionTriggerKind3) {
10351
10971
  InlineCompletionTriggerKind3[InlineCompletionTriggerKind3["Automatic"] = 0] = "Automatic";
10352
10972
  InlineCompletionTriggerKind3[InlineCompletionTriggerKind3["Explicit"] = 1] = "Explicit";
10353
10973
  })(InlineCompletionTriggerKind || (InlineCompletionTriggerKind = {}));
10974
+ var CodeActionTriggerType;
10975
+ (function(CodeActionTriggerType3) {
10976
+ CodeActionTriggerType3[CodeActionTriggerType3["Invoke"] = 1] = "Invoke";
10977
+ CodeActionTriggerType3[CodeActionTriggerType3["Auto"] = 2] = "Auto";
10978
+ })(CodeActionTriggerType || (CodeActionTriggerType = {}));
10354
10979
  var DocumentPasteTriggerKind;
10355
10980
  (function(DocumentPasteTriggerKind2) {
10356
10981
  DocumentPasteTriggerKind2[DocumentPasteTriggerKind2["Automatic"] = 0] = "Automatic";
@@ -10368,63 +10993,96 @@ ${stackTraceFormattedLines.join("\n")}
10368
10993
  DocumentHighlightKind3[DocumentHighlightKind3["Read"] = 1] = "Read";
10369
10994
  DocumentHighlightKind3[DocumentHighlightKind3["Write"] = 2] = "Write";
10370
10995
  })(DocumentHighlightKind || (DocumentHighlightKind = {}));
10996
+ var SymbolKind;
10997
+ (function(SymbolKind3) {
10998
+ SymbolKind3[SymbolKind3["File"] = 0] = "File";
10999
+ SymbolKind3[SymbolKind3["Module"] = 1] = "Module";
11000
+ SymbolKind3[SymbolKind3["Namespace"] = 2] = "Namespace";
11001
+ SymbolKind3[SymbolKind3["Package"] = 3] = "Package";
11002
+ SymbolKind3[SymbolKind3["Class"] = 4] = "Class";
11003
+ SymbolKind3[SymbolKind3["Method"] = 5] = "Method";
11004
+ SymbolKind3[SymbolKind3["Property"] = 6] = "Property";
11005
+ SymbolKind3[SymbolKind3["Field"] = 7] = "Field";
11006
+ SymbolKind3[SymbolKind3["Constructor"] = 8] = "Constructor";
11007
+ SymbolKind3[SymbolKind3["Enum"] = 9] = "Enum";
11008
+ SymbolKind3[SymbolKind3["Interface"] = 10] = "Interface";
11009
+ SymbolKind3[SymbolKind3["Function"] = 11] = "Function";
11010
+ SymbolKind3[SymbolKind3["Variable"] = 12] = "Variable";
11011
+ SymbolKind3[SymbolKind3["Constant"] = 13] = "Constant";
11012
+ SymbolKind3[SymbolKind3["String"] = 14] = "String";
11013
+ SymbolKind3[SymbolKind3["Number"] = 15] = "Number";
11014
+ SymbolKind3[SymbolKind3["Boolean"] = 16] = "Boolean";
11015
+ SymbolKind3[SymbolKind3["Array"] = 17] = "Array";
11016
+ SymbolKind3[SymbolKind3["Object"] = 18] = "Object";
11017
+ SymbolKind3[SymbolKind3["Key"] = 19] = "Key";
11018
+ SymbolKind3[SymbolKind3["Null"] = 20] = "Null";
11019
+ SymbolKind3[SymbolKind3["EnumMember"] = 21] = "EnumMember";
11020
+ SymbolKind3[SymbolKind3["Struct"] = 22] = "Struct";
11021
+ SymbolKind3[SymbolKind3["Event"] = 23] = "Event";
11022
+ SymbolKind3[SymbolKind3["Operator"] = 24] = "Operator";
11023
+ SymbolKind3[SymbolKind3["TypeParameter"] = 25] = "TypeParameter";
11024
+ })(SymbolKind || (SymbolKind = {}));
10371
11025
  var symbolKindNames = {
10372
- [17]: localizeWithPath(_moduleId, 0, "array"),
10373
- [16]: localizeWithPath(_moduleId, 1, "boolean"),
10374
- [4]: localizeWithPath(_moduleId, 2, "class"),
10375
- [13]: localizeWithPath(_moduleId, 3, "constant"),
10376
- [8]: localizeWithPath(_moduleId, 4, "constructor"),
10377
- [9]: localizeWithPath(_moduleId, 5, "enumeration"),
10378
- [21]: localizeWithPath(_moduleId, 6, "enumeration member"),
10379
- [23]: localizeWithPath(_moduleId, 7, "event"),
10380
- [7]: localizeWithPath(_moduleId, 8, "field"),
10381
- [0]: localizeWithPath(_moduleId, 9, "file"),
10382
- [11]: localizeWithPath(_moduleId, 10, "function"),
10383
- [10]: localizeWithPath(_moduleId, 11, "interface"),
10384
- [19]: localizeWithPath(_moduleId, 12, "key"),
10385
- [5]: localizeWithPath(_moduleId, 13, "method"),
10386
- [1]: localizeWithPath(_moduleId, 14, "module"),
10387
- [2]: localizeWithPath(_moduleId, 15, "namespace"),
10388
- [20]: localizeWithPath(_moduleId, 16, "null"),
10389
- [15]: localizeWithPath(_moduleId, 17, "number"),
10390
- [18]: localizeWithPath(_moduleId, 18, "object"),
10391
- [24]: localizeWithPath(_moduleId, 19, "operator"),
10392
- [3]: localizeWithPath(_moduleId, 20, "package"),
10393
- [6]: localizeWithPath(_moduleId, 21, "property"),
10394
- [14]: localizeWithPath(_moduleId, 22, "string"),
10395
- [22]: localizeWithPath(_moduleId, 23, "struct"),
10396
- [25]: localizeWithPath(_moduleId, 24, "type parameter"),
10397
- [12]: localizeWithPath(_moduleId, 25, "variable")
11026
+ [SymbolKind.Array]: localizeWithPath(_moduleId, 0, "array"),
11027
+ [SymbolKind.Boolean]: localizeWithPath(_moduleId, 1, "boolean"),
11028
+ [SymbolKind.Class]: localizeWithPath(_moduleId, 2, "class"),
11029
+ [SymbolKind.Constant]: localizeWithPath(_moduleId, 3, "constant"),
11030
+ [SymbolKind.Constructor]: localizeWithPath(_moduleId, 4, "constructor"),
11031
+ [SymbolKind.Enum]: localizeWithPath(_moduleId, 5, "enumeration"),
11032
+ [SymbolKind.EnumMember]: localizeWithPath(_moduleId, 6, "enumeration member"),
11033
+ [SymbolKind.Event]: localizeWithPath(_moduleId, 7, "event"),
11034
+ [SymbolKind.Field]: localizeWithPath(_moduleId, 8, "field"),
11035
+ [SymbolKind.File]: localizeWithPath(_moduleId, 9, "file"),
11036
+ [SymbolKind.Function]: localizeWithPath(_moduleId, 10, "function"),
11037
+ [SymbolKind.Interface]: localizeWithPath(_moduleId, 11, "interface"),
11038
+ [SymbolKind.Key]: localizeWithPath(_moduleId, 12, "key"),
11039
+ [SymbolKind.Method]: localizeWithPath(_moduleId, 13, "method"),
11040
+ [SymbolKind.Module]: localizeWithPath(_moduleId, 14, "module"),
11041
+ [SymbolKind.Namespace]: localizeWithPath(_moduleId, 15, "namespace"),
11042
+ [SymbolKind.Null]: localizeWithPath(_moduleId, 16, "null"),
11043
+ [SymbolKind.Number]: localizeWithPath(_moduleId, 17, "number"),
11044
+ [SymbolKind.Object]: localizeWithPath(_moduleId, 18, "object"),
11045
+ [SymbolKind.Operator]: localizeWithPath(_moduleId, 19, "operator"),
11046
+ [SymbolKind.Package]: localizeWithPath(_moduleId, 20, "package"),
11047
+ [SymbolKind.Property]: localizeWithPath(_moduleId, 21, "property"),
11048
+ [SymbolKind.String]: localizeWithPath(_moduleId, 22, "string"),
11049
+ [SymbolKind.Struct]: localizeWithPath(_moduleId, 23, "struct"),
11050
+ [SymbolKind.TypeParameter]: localizeWithPath(_moduleId, 24, "type parameter"),
11051
+ [SymbolKind.Variable]: localizeWithPath(_moduleId, 25, "variable")
10398
11052
  };
11053
+ var SymbolTag;
11054
+ (function(SymbolTag3) {
11055
+ SymbolTag3[SymbolTag3["Deprecated"] = 1] = "Deprecated";
11056
+ })(SymbolTag || (SymbolTag = {}));
10399
11057
  var SymbolKinds;
10400
11058
  (function(SymbolKinds2) {
10401
11059
  const byKind = /* @__PURE__ */ new Map();
10402
- byKind.set(0, Codicon.symbolFile);
10403
- byKind.set(1, Codicon.symbolModule);
10404
- byKind.set(2, Codicon.symbolNamespace);
10405
- byKind.set(3, Codicon.symbolPackage);
10406
- byKind.set(4, Codicon.symbolClass);
10407
- byKind.set(5, Codicon.symbolMethod);
10408
- byKind.set(6, Codicon.symbolProperty);
10409
- byKind.set(7, Codicon.symbolField);
10410
- byKind.set(8, Codicon.symbolConstructor);
10411
- byKind.set(9, Codicon.symbolEnum);
10412
- byKind.set(10, Codicon.symbolInterface);
10413
- byKind.set(11, Codicon.symbolFunction);
10414
- byKind.set(12, Codicon.symbolVariable);
10415
- byKind.set(13, Codicon.symbolConstant);
10416
- byKind.set(14, Codicon.symbolString);
10417
- byKind.set(15, Codicon.symbolNumber);
10418
- byKind.set(16, Codicon.symbolBoolean);
10419
- byKind.set(17, Codicon.symbolArray);
10420
- byKind.set(18, Codicon.symbolObject);
10421
- byKind.set(19, Codicon.symbolKey);
10422
- byKind.set(20, Codicon.symbolNull);
10423
- byKind.set(21, Codicon.symbolEnumMember);
10424
- byKind.set(22, Codicon.symbolStruct);
10425
- byKind.set(23, Codicon.symbolEvent);
10426
- byKind.set(24, Codicon.symbolOperator);
10427
- byKind.set(25, Codicon.symbolTypeParameter);
11060
+ byKind.set(SymbolKind.File, Codicon.symbolFile);
11061
+ byKind.set(SymbolKind.Module, Codicon.symbolModule);
11062
+ byKind.set(SymbolKind.Namespace, Codicon.symbolNamespace);
11063
+ byKind.set(SymbolKind.Package, Codicon.symbolPackage);
11064
+ byKind.set(SymbolKind.Class, Codicon.symbolClass);
11065
+ byKind.set(SymbolKind.Method, Codicon.symbolMethod);
11066
+ byKind.set(SymbolKind.Property, Codicon.symbolProperty);
11067
+ byKind.set(SymbolKind.Field, Codicon.symbolField);
11068
+ byKind.set(SymbolKind.Constructor, Codicon.symbolConstructor);
11069
+ byKind.set(SymbolKind.Enum, Codicon.symbolEnum);
11070
+ byKind.set(SymbolKind.Interface, Codicon.symbolInterface);
11071
+ byKind.set(SymbolKind.Function, Codicon.symbolFunction);
11072
+ byKind.set(SymbolKind.Variable, Codicon.symbolVariable);
11073
+ byKind.set(SymbolKind.Constant, Codicon.symbolConstant);
11074
+ byKind.set(SymbolKind.String, Codicon.symbolString);
11075
+ byKind.set(SymbolKind.Number, Codicon.symbolNumber);
11076
+ byKind.set(SymbolKind.Boolean, Codicon.symbolBoolean);
11077
+ byKind.set(SymbolKind.Array, Codicon.symbolArray);
11078
+ byKind.set(SymbolKind.Object, Codicon.symbolObject);
11079
+ byKind.set(SymbolKind.Key, Codicon.symbolKey);
11080
+ byKind.set(SymbolKind.Null, Codicon.symbolNull);
11081
+ byKind.set(SymbolKind.EnumMember, Codicon.symbolEnumMember);
11082
+ byKind.set(SymbolKind.Struct, Codicon.symbolStruct);
11083
+ byKind.set(SymbolKind.Event, Codicon.symbolEvent);
11084
+ byKind.set(SymbolKind.Operator, Codicon.symbolOperator);
11085
+ byKind.set(SymbolKind.TypeParameter, Codicon.symbolTypeParameter);
10428
11086
  function toIcon(kind) {
10429
11087
  let icon = byKind.get(kind);
10430
11088
  if (!icon) {
@@ -10530,7 +11188,7 @@ ${stackTraceFormattedLines.join("\n")}
10530
11188
  function nullTokenizeEncoded(languageId, state) {
10531
11189
  const tokens = new Uint32Array(2);
10532
11190
  tokens[0] = 0;
10533
- tokens[1] = (languageId << 0 | 0 << 8 | 0 << 11 | 1 << 15 | 2 << 24) >>> 0;
11191
+ tokens[1] = (languageId << MetadataConsts.LANGUAGEID_OFFSET | StandardTokenType.Other << MetadataConsts.TOKEN_TYPE_OFFSET | FontStyle.None << MetadataConsts.FONT_STYLE_OFFSET | ColorId.DefaultForeground << MetadataConsts.FOREGROUND_OFFSET | ColorId.DefaultBackground << MetadataConsts.BACKGROUND_OFFSET) >>> 0;
10534
11192
  return new EncodedTokenizationResult(tokens, state === null ? NullState : state);
10535
11193
  }
10536
11194
 
@@ -10608,83 +11266,10 @@ ${stackTraceFormattedLines.join("\n")}
10608
11266
  destination[offset] = value;
10609
11267
  }
10610
11268
 
10611
- // node_modules/vscode/vscode/src/vs/editor/common/encodedTokenAttributes.js
10612
- var TokenMetadata = class {
10613
- static getLanguageId(metadata) {
10614
- return (metadata & 255) >>> 0;
10615
- }
10616
- static getTokenType(metadata) {
10617
- return (metadata & 768) >>> 8;
10618
- }
10619
- static containsBalancedBrackets(metadata) {
10620
- return (metadata & 1024) !== 0;
10621
- }
10622
- static getFontStyle(metadata) {
10623
- return (metadata & 30720) >>> 11;
10624
- }
10625
- static getForeground(metadata) {
10626
- return (metadata & 16744448) >>> 15;
10627
- }
10628
- static getBackground(metadata) {
10629
- return (metadata & 4278190080) >>> 24;
10630
- }
10631
- static getClassNameFromMetadata(metadata) {
10632
- const foreground = this.getForeground(metadata);
10633
- let className = "mtk" + foreground;
10634
- const fontStyle = this.getFontStyle(metadata);
10635
- if (fontStyle & 1) {
10636
- className += " mtki";
10637
- }
10638
- if (fontStyle & 2) {
10639
- className += " mtkb";
10640
- }
10641
- if (fontStyle & 4) {
10642
- className += " mtku";
10643
- }
10644
- if (fontStyle & 8) {
10645
- className += " mtks";
10646
- }
10647
- return className;
10648
- }
10649
- static getInlineStyleFromMetadata(metadata, colorMap) {
10650
- const foreground = this.getForeground(metadata);
10651
- const fontStyle = this.getFontStyle(metadata);
10652
- let result = `color: ${colorMap[foreground]};`;
10653
- if (fontStyle & 1) {
10654
- result += "font-style: italic;";
10655
- }
10656
- if (fontStyle & 2) {
10657
- result += "font-weight: bold;";
10658
- }
10659
- let textDecoration = "";
10660
- if (fontStyle & 4) {
10661
- textDecoration += " underline";
10662
- }
10663
- if (fontStyle & 8) {
10664
- textDecoration += " line-through";
10665
- }
10666
- if (textDecoration) {
10667
- result += `text-decoration:${textDecoration};`;
10668
- }
10669
- return result;
10670
- }
10671
- static getPresentationFromMetadata(metadata) {
10672
- const foreground = this.getForeground(metadata);
10673
- const fontStyle = this.getFontStyle(metadata);
10674
- return {
10675
- foreground,
10676
- italic: Boolean(fontStyle & 1),
10677
- bold: Boolean(fontStyle & 2),
10678
- underline: Boolean(fontStyle & 4),
10679
- strikethrough: Boolean(fontStyle & 8)
10680
- };
10681
- }
10682
- };
10683
-
10684
11269
  // node_modules/vscode/vscode/src/vs/editor/common/tokens/lineTokens.js
10685
11270
  var LineTokens = class _LineTokens {
10686
11271
  static {
10687
- this.defaultTokenMetadata = (0 << 11 | 1 << 15 | 2 << 24) >>> 0;
11272
+ this.defaultTokenMetadata = (FontStyle.None << MetadataConsts.FONT_STYLE_OFFSET | ColorId.DefaultForeground << MetadataConsts.FOREGROUND_OFFSET | ColorId.DefaultBackground << MetadataConsts.BACKGROUND_OFFSET) >>> 0;
10688
11273
  }
10689
11274
  static createEmpty(lineContent, decoder) {
10690
11275
  const defaultMetadata = _LineTokens.defaultTokenMetadata;
@@ -10693,12 +11278,23 @@ ${stackTraceFormattedLines.join("\n")}
10693
11278
  tokens[1] = defaultMetadata;
10694
11279
  return new _LineTokens(tokens, lineContent, decoder);
10695
11280
  }
11281
+ static createFromTextAndMetadata(data, decoder) {
11282
+ let offset = 0;
11283
+ let fullText = "";
11284
+ const tokens = new Array();
11285
+ for (const { text, metadata } of data) {
11286
+ tokens.push(offset + text.length, metadata);
11287
+ offset += text.length;
11288
+ fullText += text;
11289
+ }
11290
+ return new _LineTokens(new Uint32Array(tokens), fullText, decoder);
11291
+ }
10696
11292
  constructor(tokens, text, decoder) {
10697
11293
  this._lineTokensBrand = void 0;
10698
11294
  this._tokens = tokens;
10699
11295
  this._tokensCount = this._tokens.length >>> 1;
10700
11296
  this._text = text;
10701
- this._languageIdCodec = decoder;
11297
+ this.languageIdCodec = decoder;
10702
11298
  }
10703
11299
  equals(other) {
10704
11300
  if (other instanceof _LineTokens) {
@@ -10741,7 +11337,7 @@ ${stackTraceFormattedLines.join("\n")}
10741
11337
  getLanguageId(tokenIndex) {
10742
11338
  const metadata = this._tokens[(tokenIndex << 1) + 1];
10743
11339
  const languageId = TokenMetadata.getLanguageId(metadata);
10744
- return this._languageIdCodec.decodeLanguageId(languageId);
11340
+ return this.languageIdCodec.decodeLanguageId(languageId);
10745
11341
  }
10746
11342
  getStandardTokenType(tokenIndex) {
10747
11343
  const metadata = this._tokens[(tokenIndex << 1) + 1];
@@ -10834,7 +11430,19 @@ ${stackTraceFormattedLines.join("\n")}
10834
11430
  break;
10835
11431
  }
10836
11432
  }
10837
- return new _LineTokens(new Uint32Array(newTokens), text, this._languageIdCodec);
11433
+ return new _LineTokens(new Uint32Array(newTokens), text, this.languageIdCodec);
11434
+ }
11435
+ getTokenText(tokenIndex) {
11436
+ const startOffset = this.getStartOffset(tokenIndex);
11437
+ const endOffset = this.getEndOffset(tokenIndex);
11438
+ const text = this._text.substring(startOffset, endOffset);
11439
+ return text;
11440
+ }
11441
+ forEach(callback) {
11442
+ const tokenCount = this.getCount();
11443
+ for (let tokenIndex = 0; tokenIndex < tokenCount; tokenIndex++) {
11444
+ callback(tokenIndex);
11445
+ }
10838
11446
  }
10839
11447
  };
10840
11448
  var SliceLineTokens = class _SliceLineTokens {
@@ -10844,6 +11452,7 @@ ${stackTraceFormattedLines.join("\n")}
10844
11452
  this._endOffset = endOffset;
10845
11453
  this._deltaOffset = deltaOffset;
10846
11454
  this._firstTokenIndex = source.findTokenIndexAtOffset(startOffset);
11455
+ this.languageIdCodec = source.languageIdCodec;
10847
11456
  this._tokensCount = 0;
10848
11457
  for (let i = this._firstTokenIndex, len = source.getCount(); i < len; i++) {
10849
11458
  const tokenStartOffset = source.getStartOffset(i);
@@ -10871,6 +11480,9 @@ ${stackTraceFormattedLines.join("\n")}
10871
11480
  getCount() {
10872
11481
  return this._tokensCount;
10873
11482
  }
11483
+ getStandardTokenType(tokenIndex) {
11484
+ return this._source.getStandardTokenType(this._firstTokenIndex + tokenIndex);
11485
+ }
10874
11486
  getForeground(tokenIndex) {
10875
11487
  return this._source.getForeground(this._firstTokenIndex + tokenIndex);
10876
11488
  }
@@ -10890,6 +11502,24 @@ ${stackTraceFormattedLines.join("\n")}
10890
11502
  findTokenIndexAtOffset(offset) {
10891
11503
  return this._source.findTokenIndexAtOffset(offset + this._startOffset - this._deltaOffset) - this._firstTokenIndex;
10892
11504
  }
11505
+ getTokenText(tokenIndex) {
11506
+ const adjustedTokenIndex = this._firstTokenIndex + tokenIndex;
11507
+ const tokenStartOffset = this._source.getStartOffset(adjustedTokenIndex);
11508
+ const tokenEndOffset = this._source.getEndOffset(adjustedTokenIndex);
11509
+ let text = this._source.getTokenText(adjustedTokenIndex);
11510
+ if (tokenStartOffset < this._startOffset) {
11511
+ text = text.substring(this._startOffset - tokenStartOffset);
11512
+ }
11513
+ if (tokenEndOffset > this._endOffset) {
11514
+ text = text.substring(0, text.length - (tokenEndOffset - this._endOffset));
11515
+ }
11516
+ return text;
11517
+ }
11518
+ forEach(callback) {
11519
+ for (let tokenIndex = 0; tokenIndex < this.getCount(); tokenIndex++) {
11520
+ callback(tokenIndex);
11521
+ }
11522
+ }
10893
11523
  };
10894
11524
 
10895
11525
  // node_modules/vscode/vscode/src/vs/editor/common/tokens/contiguousTokensEditing.js
@@ -11205,6 +11835,10 @@ ${stackTraceFormattedLines.join("\n")}
11205
11835
  };
11206
11836
 
11207
11837
  // node_modules/vscode/vscode/src/vs/editor/common/model/textModelTokens.js
11838
+ var Constants2;
11839
+ (function(Constants3) {
11840
+ Constants3[Constants3["CHEAP_TOKENIZATION_LENGTH_LIMIT"] = 2048] = "CHEAP_TOKENIZATION_LENGTH_LIMIT";
11841
+ })(Constants2 || (Constants2 = {}));
11208
11842
  var TokenizerWithStateStore = class {
11209
11843
  constructor(lineCount, tokenizationSupport) {
11210
11844
  this.tokenizationSupport = tokenizationSupport;
@@ -11739,13 +12373,21 @@ ${stackTraceFormattedLines.join("\n")}
11739
12373
 
11740
12374
  // node_modules/vscode/vscode/src/vs/base/common/worker/simpleWorker.js
11741
12375
  var INITIALIZE = "$initialize";
12376
+ var MessageType;
12377
+ (function(MessageType2) {
12378
+ MessageType2[MessageType2["Request"] = 0] = "Request";
12379
+ MessageType2[MessageType2["Reply"] = 1] = "Reply";
12380
+ MessageType2[MessageType2["SubscribeEvent"] = 2] = "SubscribeEvent";
12381
+ MessageType2[MessageType2["Event"] = 3] = "Event";
12382
+ MessageType2[MessageType2["UnsubscribeEvent"] = 4] = "UnsubscribeEvent";
12383
+ })(MessageType || (MessageType = {}));
11742
12384
  var RequestMessage = class {
11743
12385
  constructor(vsWorker, req, method, args) {
11744
12386
  this.vsWorker = vsWorker;
11745
12387
  this.req = req;
11746
12388
  this.method = method;
11747
12389
  this.args = args;
11748
- this.type = 0;
12390
+ this.type = MessageType.Request;
11749
12391
  }
11750
12392
  };
11751
12393
  var ReplyMessage = class {
@@ -11754,7 +12396,7 @@ ${stackTraceFormattedLines.join("\n")}
11754
12396
  this.seq = seq;
11755
12397
  this.res = res;
11756
12398
  this.err = err;
11757
- this.type = 1;
12399
+ this.type = MessageType.Reply;
11758
12400
  }
11759
12401
  };
11760
12402
  var SubscribeEventMessage = class {
@@ -11763,7 +12405,7 @@ ${stackTraceFormattedLines.join("\n")}
11763
12405
  this.req = req;
11764
12406
  this.eventName = eventName;
11765
12407
  this.arg = arg;
11766
- this.type = 2;
12408
+ this.type = MessageType.SubscribeEvent;
11767
12409
  }
11768
12410
  };
11769
12411
  var EventMessage = class {
@@ -11771,14 +12413,14 @@ ${stackTraceFormattedLines.join("\n")}
11771
12413
  this.vsWorker = vsWorker;
11772
12414
  this.req = req;
11773
12415
  this.event = event;
11774
- this.type = 3;
12416
+ this.type = MessageType.Event;
11775
12417
  }
11776
12418
  };
11777
12419
  var UnsubscribeEventMessage = class {
11778
12420
  constructor(vsWorker, req) {
11779
12421
  this.vsWorker = vsWorker;
11780
12422
  this.req = req;
11781
- this.type = 4;
12423
+ this.type = MessageType.UnsubscribeEvent;
11782
12424
  }
11783
12425
  };
11784
12426
  var SimpleWorkerProtocol = class {
@@ -11830,15 +12472,15 @@ ${stackTraceFormattedLines.join("\n")}
11830
12472
  }
11831
12473
  _handleMessage(msg) {
11832
12474
  switch (msg.type) {
11833
- case 1:
12475
+ case MessageType.Reply:
11834
12476
  return this._handleReplyMessage(msg);
11835
- case 0:
12477
+ case MessageType.Request:
11836
12478
  return this._handleRequestMessage(msg);
11837
- case 2:
12479
+ case MessageType.SubscribeEvent:
11838
12480
  return this._handleSubscribeEventMessage(msg);
11839
- case 3:
12481
+ case MessageType.Event:
11840
12482
  return this._handleEventMessage(msg);
11841
- case 4:
12483
+ case MessageType.UnsubscribeEvent:
11842
12484
  return this._handleUnsubscribeEventMessage(msg);
11843
12485
  }
11844
12486
  }
@@ -11898,13 +12540,13 @@ ${stackTraceFormattedLines.join("\n")}
11898
12540
  }
11899
12541
  _send(msg) {
11900
12542
  const transfer = [];
11901
- if (msg.type === 0) {
12543
+ if (msg.type === MessageType.Request) {
11902
12544
  for (let i = 0; i < msg.args.length; i++) {
11903
12545
  if (msg.args[i] instanceof ArrayBuffer) {
11904
12546
  transfer.push(msg.args[i]);
11905
12547
  }
11906
12548
  }
11907
- } else if (msg.type === 1) {
12549
+ } else if (msg.type === MessageType.Reply) {
11908
12550
  if (msg.res instanceof ArrayBuffer) {
11909
12551
  transfer.push(msg.res);
11910
12552
  }
@@ -12061,6 +12703,11 @@ ${stackTraceFormattedLines.join("\n")}
12061
12703
  }
12062
12704
  return hashVal;
12063
12705
  }
12706
+ var SHA1Constant;
12707
+ (function(SHA1Constant2) {
12708
+ SHA1Constant2[SHA1Constant2["BLOCK_SIZE"] = 64] = "BLOCK_SIZE";
12709
+ SHA1Constant2[SHA1Constant2["UNICODE_REPLACEMENT"] = 65533] = "UNICODE_REPLACEMENT";
12710
+ })(SHA1Constant || (SHA1Constant = {}));
12064
12711
  function leftRotate(value, bits, totalBits = 32) {
12065
12712
  const delta = totalBits - bits;
12066
12713
  const mask = ~((1 << delta) - 1);
@@ -12093,7 +12740,7 @@ ${stackTraceFormattedLines.join("\n")}
12093
12740
  this._h2 = 2562383102;
12094
12741
  this._h3 = 271733878;
12095
12742
  this._h4 = 3285377520;
12096
- this._buff = new Uint8Array(64 + 3);
12743
+ this._buff = new Uint8Array(SHA1Constant.BLOCK_SIZE + 3);
12097
12744
  this._buffDV = new DataView(this._buff.buffer);
12098
12745
  this._buffLen = 0;
12099
12746
  this._totalLen = 0;
@@ -12127,14 +12774,14 @@ ${stackTraceFormattedLines.join("\n")}
12127
12774
  offset++;
12128
12775
  codePoint = computeCodePoint(charCode, nextCharCode);
12129
12776
  } else {
12130
- codePoint = 65533;
12777
+ codePoint = SHA1Constant.UNICODE_REPLACEMENT;
12131
12778
  }
12132
12779
  } else {
12133
12780
  leftoverHighSurrogate = charCode;
12134
12781
  break;
12135
12782
  }
12136
12783
  } else if (isLowSurrogate(charCode)) {
12137
- codePoint = 65533;
12784
+ codePoint = SHA1Constant.UNICODE_REPLACEMENT;
12138
12785
  }
12139
12786
  buffLen = this._push(buff, buffLen, codePoint);
12140
12787
  offset++;
@@ -12163,13 +12810,13 @@ ${stackTraceFormattedLines.join("\n")}
12163
12810
  buff[buffLen++] = 128 | (codePoint & 4032) >>> 6;
12164
12811
  buff[buffLen++] = 128 | (codePoint & 63) >>> 0;
12165
12812
  }
12166
- if (buffLen >= 64) {
12813
+ if (buffLen >= SHA1Constant.BLOCK_SIZE) {
12167
12814
  this._step();
12168
- buffLen -= 64;
12169
- this._totalLen += 64;
12170
- buff[0] = buff[64 + 0];
12171
- buff[1] = buff[64 + 1];
12172
- buff[2] = buff[64 + 2];
12815
+ buffLen -= SHA1Constant.BLOCK_SIZE;
12816
+ this._totalLen += SHA1Constant.BLOCK_SIZE;
12817
+ buff[0] = buff[SHA1Constant.BLOCK_SIZE + 0];
12818
+ buff[1] = buff[SHA1Constant.BLOCK_SIZE + 1];
12819
+ buff[2] = buff[SHA1Constant.BLOCK_SIZE + 2];
12173
12820
  }
12174
12821
  return buffLen;
12175
12822
  }
@@ -12178,7 +12825,7 @@ ${stackTraceFormattedLines.join("\n")}
12178
12825
  this._finished = true;
12179
12826
  if (this._leftoverHighSurrogate) {
12180
12827
  this._leftoverHighSurrogate = 0;
12181
- this._buffLen = this._push(this._buff, this._buffLen, 65533);
12828
+ this._buffLen = this._push(this._buff, this._buffLen, SHA1Constant.UNICODE_REPLACEMENT);
12182
12829
  }
12183
12830
  this._totalLen += this._buffLen;
12184
12831
  this._wrapUp();
@@ -12278,11 +12925,15 @@ ${stackTraceFormattedLines.join("\n")}
12278
12925
  }
12279
12926
  }
12280
12927
  };
12928
+ var LocalConstants;
12929
+ (function(LocalConstants2) {
12930
+ LocalConstants2[LocalConstants2["MaxDifferencesHistory"] = 1447] = "MaxDifferencesHistory";
12931
+ })(LocalConstants || (LocalConstants = {}));
12281
12932
  var DiffChangeHelper = class {
12282
12933
  constructor() {
12283
12934
  this.m_changes = [];
12284
- this.m_originalStart = 1073741824;
12285
- this.m_modifiedStart = 1073741824;
12935
+ this.m_originalStart = Constants.MAX_SAFE_SMALL_INTEGER;
12936
+ this.m_modifiedStart = Constants.MAX_SAFE_SMALL_INTEGER;
12286
12937
  this.m_originalCount = 0;
12287
12938
  this.m_modifiedCount = 0;
12288
12939
  }
@@ -12297,8 +12948,8 @@ ${stackTraceFormattedLines.join("\n")}
12297
12948
  }
12298
12949
  this.m_originalCount = 0;
12299
12950
  this.m_modifiedCount = 0;
12300
- this.m_originalStart = 1073741824;
12301
- this.m_modifiedStart = 1073741824;
12951
+ this.m_originalStart = Constants.MAX_SAFE_SMALL_INTEGER;
12952
+ this.m_modifiedStart = Constants.MAX_SAFE_SMALL_INTEGER;
12302
12953
  }
12303
12954
  AddOriginalElement(originalIndex, modifiedIndex) {
12304
12955
  this.m_originalStart = Math.min(this.m_originalStart, originalIndex);
@@ -12471,7 +13122,7 @@ ${stackTraceFormattedLines.join("\n")}
12471
13122
  let diagonalMin = diagonalForwardStart;
12472
13123
  let diagonalMax = diagonalForwardEnd;
12473
13124
  let diagonalRelative = midOriginalArr[0] - midModifiedArr[0] - diagonalForwardOffset;
12474
- let lastOriginalIndex = -1073741824;
13125
+ let lastOriginalIndex = Constants.MIN_SAFE_SMALL_INTEGER;
12475
13126
  let historyIndex = this.m_forwardHistory.length - 1;
12476
13127
  do {
12477
13128
  const diagonal = diagonalRelative + diagonalForwardBase;
@@ -12523,7 +13174,7 @@ ${stackTraceFormattedLines.join("\n")}
12523
13174
  diagonalMin = diagonalReverseStart;
12524
13175
  diagonalMax = diagonalReverseEnd;
12525
13176
  diagonalRelative = midOriginalArr[0] - midModifiedArr[0] - diagonalReverseOffset;
12526
- lastOriginalIndex = 1073741824;
13177
+ lastOriginalIndex = Constants.MAX_SAFE_SMALL_INTEGER;
12527
13178
  historyIndex = deltaIsEven ? this.m_reverseHistory.length - 1 : this.m_reverseHistory.length - 2;
12528
13179
  do {
12529
13180
  const diagonal = diagonalRelative + diagonalReverseBase;
@@ -12606,7 +13257,7 @@ ${stackTraceFormattedLines.join("\n")}
12606
13257
  if (originalIndex >= reversePoints[diagonal]) {
12607
13258
  midOriginalArr[0] = originalIndex;
12608
13259
  midModifiedArr[0] = modifiedIndex;
12609
- if (tempOriginalIndex <= reversePoints[diagonal] && 1447 > 0 && numDifferences <= 1447 + 1) {
13260
+ if (tempOriginalIndex <= reversePoints[diagonal] && LocalConstants.MaxDifferencesHistory > 0 && numDifferences <= LocalConstants.MaxDifferencesHistory + 1) {
12610
13261
  return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);
12611
13262
  } else {
12612
13263
  return null;
@@ -12619,7 +13270,7 @@ ${stackTraceFormattedLines.join("\n")}
12619
13270
  quitEarlyArr[0] = true;
12620
13271
  midOriginalArr[0] = furthestOriginalIndex;
12621
13272
  midModifiedArr[0] = furthestModifiedIndex;
12622
- if (matchLengthOfLongest > 0 && 1447 > 0 && numDifferences <= 1447 + 1) {
13273
+ if (matchLengthOfLongest > 0 && LocalConstants.MaxDifferencesHistory > 0 && numDifferences <= LocalConstants.MaxDifferencesHistory + 1) {
12623
13274
  return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);
12624
13275
  } else {
12625
13276
  originalStart++;
@@ -12653,7 +13304,7 @@ ${stackTraceFormattedLines.join("\n")}
12653
13304
  if (originalIndex <= forwardPoints[diagonal]) {
12654
13305
  midOriginalArr[0] = originalIndex;
12655
13306
  midModifiedArr[0] = modifiedIndex;
12656
- if (tempOriginalIndex >= forwardPoints[diagonal] && 1447 > 0 && numDifferences <= 1447 + 1) {
13307
+ if (tempOriginalIndex >= forwardPoints[diagonal] && LocalConstants.MaxDifferencesHistory > 0 && numDifferences <= LocalConstants.MaxDifferencesHistory + 1) {
12657
13308
  return this.WALKTRACE(diagonalForwardBase, diagonalForwardStart, diagonalForwardEnd, diagonalForwardOffset, diagonalReverseBase, diagonalReverseStart, diagonalReverseEnd, diagonalReverseOffset, forwardPoints, reversePoints, originalIndex, originalEnd, midOriginalArr, modifiedIndex, modifiedEnd, midModifiedArr, deltaIsEven, quitEarlyArr);
12658
13309
  } else {
12659
13310
  return null;
@@ -12661,7 +13312,7 @@ ${stackTraceFormattedLines.join("\n")}
12661
13312
  }
12662
13313
  }
12663
13314
  }
12664
- if (numDifferences <= 1447) {
13315
+ if (numDifferences <= LocalConstants.MaxDifferencesHistory) {
12665
13316
  let temp = new Int32Array(diagonalForwardEnd - diagonalForwardStart + 2);
12666
13317
  temp[0] = diagonalForwardBase - diagonalForwardStart + 1;
12667
13318
  MyArray.Copy2(forwardPoints, diagonalForwardStart, temp, 1, diagonalForwardEnd - diagonalForwardStart + 1);
@@ -13033,8 +13684,31 @@ ${stackTraceFormattedLines.join("\n")}
13033
13684
  this._map.clear();
13034
13685
  }
13035
13686
  };
13687
+ var Boolean2;
13688
+ (function(Boolean3) {
13689
+ Boolean3[Boolean3["False"] = 0] = "False";
13690
+ Boolean3[Boolean3["True"] = 1] = "True";
13691
+ })(Boolean2 || (Boolean2 = {}));
13036
13692
 
13037
13693
  // node_modules/vscode/vscode/src/vs/editor/common/languages/linkComputer.js
13694
+ var State;
13695
+ (function(State2) {
13696
+ State2[State2["Invalid"] = 0] = "Invalid";
13697
+ State2[State2["Start"] = 1] = "Start";
13698
+ State2[State2["H"] = 2] = "H";
13699
+ State2[State2["HT"] = 3] = "HT";
13700
+ State2[State2["HTT"] = 4] = "HTT";
13701
+ State2[State2["HTTP"] = 5] = "HTTP";
13702
+ State2[State2["F"] = 6] = "F";
13703
+ State2[State2["FI"] = 7] = "FI";
13704
+ State2[State2["FIL"] = 8] = "FIL";
13705
+ State2[State2["BeforeColon"] = 9] = "BeforeColon";
13706
+ State2[State2["AfterColon"] = 10] = "AfterColon";
13707
+ State2[State2["AlmostThere"] = 11] = "AlmostThere";
13708
+ State2[State2["End"] = 12] = "End";
13709
+ State2[State2["Accept"] = 13] = "Accept";
13710
+ State2[State2["LastKnownState"] = 14] = "LastKnownState";
13711
+ })(State || (State = {}));
13038
13712
  var Uint8Matrix = class {
13039
13713
  constructor(rows, cols, defaultValue) {
13040
13714
  const data = new Uint8Array(rows * cols);
@@ -13055,7 +13729,7 @@ ${stackTraceFormattedLines.join("\n")}
13055
13729
  var StateMachine = class {
13056
13730
  constructor(edges) {
13057
13731
  let maxCharCode = 0;
13058
- let maxState = 0;
13732
+ let maxState = State.Invalid;
13059
13733
  for (let i = 0, len = edges.length; i < len; i++) {
13060
13734
  const [from, chCode, to] = edges[i];
13061
13735
  if (chCode > maxCharCode) {
@@ -13070,7 +13744,7 @@ ${stackTraceFormattedLines.join("\n")}
13070
13744
  }
13071
13745
  maxCharCode++;
13072
13746
  maxState++;
13073
- const states = new Uint8Matrix(maxState, maxCharCode, 0);
13747
+ const states = new Uint8Matrix(maxState, maxCharCode, State.Invalid);
13074
13748
  for (let i = 0, len = edges.length; i < len; i++) {
13075
13749
  const [from, chCode, to] = edges[i];
13076
13750
  states.set(from, chCode, to);
@@ -13080,7 +13754,7 @@ ${stackTraceFormattedLines.join("\n")}
13080
13754
  }
13081
13755
  nextState(currentState, chCode) {
13082
13756
  if (chCode < 0 || chCode >= this._maxCharCode) {
13083
- return 0;
13757
+ return State.Invalid;
13084
13758
  }
13085
13759
  return this._states.get(currentState, chCode);
13086
13760
  }
@@ -13089,43 +13763,49 @@ ${stackTraceFormattedLines.join("\n")}
13089
13763
  function getStateMachine() {
13090
13764
  if (_stateMachine === null) {
13091
13765
  _stateMachine = new StateMachine([
13092
- [1, 104, 2],
13093
- [1, 72, 2],
13094
- [1, 102, 6],
13095
- [1, 70, 6],
13096
- [2, 116, 3],
13097
- [2, 84, 3],
13098
- [3, 116, 4],
13099
- [3, 84, 4],
13100
- [4, 112, 5],
13101
- [4, 80, 5],
13102
- [5, 115, 9],
13103
- [5, 83, 9],
13104
- [5, 58, 10],
13105
- [6, 105, 7],
13106
- [6, 73, 7],
13107
- [7, 108, 8],
13108
- [7, 76, 8],
13109
- [8, 101, 9],
13110
- [8, 69, 9],
13111
- [9, 58, 10],
13112
- [10, 47, 11],
13113
- [11, 47, 12]
13766
+ [State.Start, CharCode.h, State.H],
13767
+ [State.Start, CharCode.H, State.H],
13768
+ [State.Start, CharCode.f, State.F],
13769
+ [State.Start, CharCode.F, State.F],
13770
+ [State.H, CharCode.t, State.HT],
13771
+ [State.H, CharCode.T, State.HT],
13772
+ [State.HT, CharCode.t, State.HTT],
13773
+ [State.HT, CharCode.T, State.HTT],
13774
+ [State.HTT, CharCode.p, State.HTTP],
13775
+ [State.HTT, CharCode.P, State.HTTP],
13776
+ [State.HTTP, CharCode.s, State.BeforeColon],
13777
+ [State.HTTP, CharCode.S, State.BeforeColon],
13778
+ [State.HTTP, CharCode.Colon, State.AfterColon],
13779
+ [State.F, CharCode.i, State.FI],
13780
+ [State.F, CharCode.I, State.FI],
13781
+ [State.FI, CharCode.l, State.FIL],
13782
+ [State.FI, CharCode.L, State.FIL],
13783
+ [State.FIL, CharCode.e, State.BeforeColon],
13784
+ [State.FIL, CharCode.E, State.BeforeColon],
13785
+ [State.BeforeColon, CharCode.Colon, State.AfterColon],
13786
+ [State.AfterColon, CharCode.Slash, State.AlmostThere],
13787
+ [State.AlmostThere, CharCode.Slash, State.End]
13114
13788
  ]);
13115
13789
  }
13116
13790
  return _stateMachine;
13117
13791
  }
13792
+ var CharacterClass;
13793
+ (function(CharacterClass2) {
13794
+ CharacterClass2[CharacterClass2["None"] = 0] = "None";
13795
+ CharacterClass2[CharacterClass2["ForceTermination"] = 1] = "ForceTermination";
13796
+ CharacterClass2[CharacterClass2["CannotEndIn"] = 2] = "CannotEndIn";
13797
+ })(CharacterClass || (CharacterClass = {}));
13118
13798
  var _classifier = null;
13119
13799
  function getClassifier() {
13120
13800
  if (_classifier === null) {
13121
- _classifier = new CharacterClassifier(0);
13801
+ _classifier = new CharacterClassifier(CharacterClass.None);
13122
13802
  const FORCE_TERMINATION_CHARACTERS = ` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u3008\u300C\u300E\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u300F\u300D\u3009\u2019\uFF40\uFF5E\u2026`;
13123
13803
  for (let i = 0; i < FORCE_TERMINATION_CHARACTERS.length; i++) {
13124
- _classifier.set(FORCE_TERMINATION_CHARACTERS.charCodeAt(i), 1);
13804
+ _classifier.set(FORCE_TERMINATION_CHARACTERS.charCodeAt(i), CharacterClass.ForceTermination);
13125
13805
  }
13126
13806
  const CANNOT_END_WITH_CHARACTERS = ".,;:";
13127
13807
  for (let i = 0; i < CANNOT_END_WITH_CHARACTERS.length; i++) {
13128
- _classifier.set(CANNOT_END_WITH_CHARACTERS.charCodeAt(i), 2);
13808
+ _classifier.set(CANNOT_END_WITH_CHARACTERS.charCodeAt(i), CharacterClass.CannotEndIn);
13129
13809
  }
13130
13810
  }
13131
13811
  return _classifier;
@@ -13136,7 +13816,7 @@ ${stackTraceFormattedLines.join("\n")}
13136
13816
  do {
13137
13817
  const chCode = line.charCodeAt(lastIncludedCharIndex);
13138
13818
  const chClass = classifier.get(chCode);
13139
- if (chClass !== 2) {
13819
+ if (chClass !== CharacterClass.CannotEndIn) {
13140
13820
  break;
13141
13821
  }
13142
13822
  lastIncludedCharIndex--;
@@ -13144,7 +13824,7 @@ ${stackTraceFormattedLines.join("\n")}
13144
13824
  if (linkBeginIndex > 0) {
13145
13825
  const charCodeBeforeLink = line.charCodeAt(linkBeginIndex - 1);
13146
13826
  const lastCharCodeInLink = line.charCodeAt(lastIncludedCharIndex);
13147
- if (charCodeBeforeLink === 40 && lastCharCodeInLink === 41 || charCodeBeforeLink === 91 && lastCharCodeInLink === 93 || charCodeBeforeLink === 123 && lastCharCodeInLink === 125) {
13827
+ if (charCodeBeforeLink === CharCode.OpenParen && lastCharCodeInLink === CharCode.CloseParen || charCodeBeforeLink === CharCode.OpenSquareBracket && lastCharCodeInLink === CharCode.CloseSquareBracket || charCodeBeforeLink === CharCode.OpenCurlyBrace && lastCharCodeInLink === CharCode.CloseCurlyBrace) {
13148
13828
  lastIncludedCharIndex--;
13149
13829
  }
13150
13830
  }
@@ -13167,7 +13847,7 @@ ${stackTraceFormattedLines.join("\n")}
13167
13847
  let j = 0;
13168
13848
  let linkBeginIndex = 0;
13169
13849
  let linkBeginChCode = 0;
13170
- let state = 1;
13850
+ let state = State.Start;
13171
13851
  let hasOpenParens = false;
13172
13852
  let hasOpenSquareBracket = false;
13173
13853
  let inSquareBrackets = false;
@@ -13175,80 +13855,80 @@ ${stackTraceFormattedLines.join("\n")}
13175
13855
  while (j < len) {
13176
13856
  let resetStateMachine = false;
13177
13857
  const chCode = line.charCodeAt(j);
13178
- if (state === 13) {
13858
+ if (state === State.Accept) {
13179
13859
  let chClass;
13180
13860
  switch (chCode) {
13181
- case 40:
13861
+ case CharCode.OpenParen:
13182
13862
  hasOpenParens = true;
13183
- chClass = 0;
13863
+ chClass = CharacterClass.None;
13184
13864
  break;
13185
- case 41:
13186
- chClass = hasOpenParens ? 0 : 1;
13865
+ case CharCode.CloseParen:
13866
+ chClass = hasOpenParens ? CharacterClass.None : CharacterClass.ForceTermination;
13187
13867
  break;
13188
- case 91:
13868
+ case CharCode.OpenSquareBracket:
13189
13869
  inSquareBrackets = true;
13190
13870
  hasOpenSquareBracket = true;
13191
- chClass = 0;
13871
+ chClass = CharacterClass.None;
13192
13872
  break;
13193
- case 93:
13873
+ case CharCode.CloseSquareBracket:
13194
13874
  inSquareBrackets = false;
13195
- chClass = hasOpenSquareBracket ? 0 : 1;
13875
+ chClass = hasOpenSquareBracket ? CharacterClass.None : CharacterClass.ForceTermination;
13196
13876
  break;
13197
- case 123:
13877
+ case CharCode.OpenCurlyBrace:
13198
13878
  hasOpenCurlyBracket = true;
13199
- chClass = 0;
13879
+ chClass = CharacterClass.None;
13200
13880
  break;
13201
- case 125:
13202
- chClass = hasOpenCurlyBracket ? 0 : 1;
13881
+ case CharCode.CloseCurlyBrace:
13882
+ chClass = hasOpenCurlyBracket ? CharacterClass.None : CharacterClass.ForceTermination;
13203
13883
  break;
13204
- case 39:
13205
- case 34:
13206
- case 96:
13884
+ case CharCode.SingleQuote:
13885
+ case CharCode.DoubleQuote:
13886
+ case CharCode.BackTick:
13207
13887
  if (linkBeginChCode === chCode) {
13208
- chClass = 1;
13209
- } else if (linkBeginChCode === 39 || linkBeginChCode === 34 || linkBeginChCode === 96) {
13210
- chClass = 0;
13888
+ chClass = CharacterClass.ForceTermination;
13889
+ } else if (linkBeginChCode === CharCode.SingleQuote || linkBeginChCode === CharCode.DoubleQuote || linkBeginChCode === CharCode.BackTick) {
13890
+ chClass = CharacterClass.None;
13211
13891
  } else {
13212
- chClass = 1;
13892
+ chClass = CharacterClass.ForceTermination;
13213
13893
  }
13214
13894
  break;
13215
- case 42:
13216
- chClass = linkBeginChCode === 42 ? 1 : 0;
13895
+ case CharCode.Asterisk:
13896
+ chClass = linkBeginChCode === CharCode.Asterisk ? CharacterClass.ForceTermination : CharacterClass.None;
13217
13897
  break;
13218
- case 124:
13219
- chClass = linkBeginChCode === 124 ? 1 : 0;
13898
+ case CharCode.Pipe:
13899
+ chClass = linkBeginChCode === CharCode.Pipe ? CharacterClass.ForceTermination : CharacterClass.None;
13220
13900
  break;
13221
- case 32:
13222
- chClass = inSquareBrackets ? 0 : 1;
13901
+ case CharCode.Space:
13902
+ chClass = inSquareBrackets ? CharacterClass.None : CharacterClass.ForceTermination;
13223
13903
  break;
13224
13904
  default:
13225
13905
  chClass = classifier.get(chCode);
13226
13906
  }
13227
- if (chClass === 1) {
13907
+ if (chClass === CharacterClass.ForceTermination) {
13228
13908
  result.push(_LinkComputer._createLink(classifier, line, i, linkBeginIndex, j));
13229
13909
  resetStateMachine = true;
13230
13910
  }
13231
- } else if (state === 12) {
13911
+ } else if (state === State.End) {
13232
13912
  let chClass;
13233
- if (chCode === 91) {
13913
+ if (chCode === CharCode.OpenSquareBracket) {
13234
13914
  hasOpenSquareBracket = true;
13235
- chClass = 0;
13915
+ chClass = CharacterClass.None;
13236
13916
  } else {
13237
13917
  chClass = classifier.get(chCode);
13238
13918
  }
13239
- if (chClass === 1) {
13919
+ if (chClass === CharacterClass.ForceTermination) {
13240
13920
  resetStateMachine = true;
13241
13921
  } else {
13242
- state = 13;
13922
+ state = State.Accept;
13243
13923
  }
13244
13924
  } else {
13245
13925
  state = stateMachine.nextState(state, chCode);
13246
- if (state === 0) {
13926
+ if (state === State.Invalid) {
13247
13927
  resetStateMachine = true;
13248
13928
  }
13249
13929
  }
13250
13930
  if (resetStateMachine) {
13251
- state = 1;
13931
+ state = State.Start;
13252
13932
  hasOpenParens = false;
13253
13933
  hasOpenSquareBracket = false;
13254
13934
  hasOpenCurlyBracket = false;
@@ -13257,7 +13937,7 @@ ${stackTraceFormattedLines.join("\n")}
13257
13937
  }
13258
13938
  j++;
13259
13939
  }
13260
- if (state === 13) {
13940
+ if (state === State.Accept) {
13261
13941
  result.push(_LinkComputer._createLink(classifier, line, i, linkBeginIndex, len));
13262
13942
  }
13263
13943
  }
@@ -13353,6 +14033,341 @@ ${stackTraceFormattedLines.join("\n")}
13353
14033
  };
13354
14034
 
13355
14035
  // node_modules/vscode/vscode/src/vs/base/common/keyCodes.js
14036
+ var KeyCode;
14037
+ (function(KeyCode3) {
14038
+ KeyCode3[KeyCode3["DependsOnKbLayout"] = -1] = "DependsOnKbLayout";
14039
+ KeyCode3[KeyCode3["Unknown"] = 0] = "Unknown";
14040
+ KeyCode3[KeyCode3["Backspace"] = 1] = "Backspace";
14041
+ KeyCode3[KeyCode3["Tab"] = 2] = "Tab";
14042
+ KeyCode3[KeyCode3["Enter"] = 3] = "Enter";
14043
+ KeyCode3[KeyCode3["Shift"] = 4] = "Shift";
14044
+ KeyCode3[KeyCode3["Ctrl"] = 5] = "Ctrl";
14045
+ KeyCode3[KeyCode3["Alt"] = 6] = "Alt";
14046
+ KeyCode3[KeyCode3["PauseBreak"] = 7] = "PauseBreak";
14047
+ KeyCode3[KeyCode3["CapsLock"] = 8] = "CapsLock";
14048
+ KeyCode3[KeyCode3["Escape"] = 9] = "Escape";
14049
+ KeyCode3[KeyCode3["Space"] = 10] = "Space";
14050
+ KeyCode3[KeyCode3["PageUp"] = 11] = "PageUp";
14051
+ KeyCode3[KeyCode3["PageDown"] = 12] = "PageDown";
14052
+ KeyCode3[KeyCode3["End"] = 13] = "End";
14053
+ KeyCode3[KeyCode3["Home"] = 14] = "Home";
14054
+ KeyCode3[KeyCode3["LeftArrow"] = 15] = "LeftArrow";
14055
+ KeyCode3[KeyCode3["UpArrow"] = 16] = "UpArrow";
14056
+ KeyCode3[KeyCode3["RightArrow"] = 17] = "RightArrow";
14057
+ KeyCode3[KeyCode3["DownArrow"] = 18] = "DownArrow";
14058
+ KeyCode3[KeyCode3["Insert"] = 19] = "Insert";
14059
+ KeyCode3[KeyCode3["Delete"] = 20] = "Delete";
14060
+ KeyCode3[KeyCode3["Digit0"] = 21] = "Digit0";
14061
+ KeyCode3[KeyCode3["Digit1"] = 22] = "Digit1";
14062
+ KeyCode3[KeyCode3["Digit2"] = 23] = "Digit2";
14063
+ KeyCode3[KeyCode3["Digit3"] = 24] = "Digit3";
14064
+ KeyCode3[KeyCode3["Digit4"] = 25] = "Digit4";
14065
+ KeyCode3[KeyCode3["Digit5"] = 26] = "Digit5";
14066
+ KeyCode3[KeyCode3["Digit6"] = 27] = "Digit6";
14067
+ KeyCode3[KeyCode3["Digit7"] = 28] = "Digit7";
14068
+ KeyCode3[KeyCode3["Digit8"] = 29] = "Digit8";
14069
+ KeyCode3[KeyCode3["Digit9"] = 30] = "Digit9";
14070
+ KeyCode3[KeyCode3["KeyA"] = 31] = "KeyA";
14071
+ KeyCode3[KeyCode3["KeyB"] = 32] = "KeyB";
14072
+ KeyCode3[KeyCode3["KeyC"] = 33] = "KeyC";
14073
+ KeyCode3[KeyCode3["KeyD"] = 34] = "KeyD";
14074
+ KeyCode3[KeyCode3["KeyE"] = 35] = "KeyE";
14075
+ KeyCode3[KeyCode3["KeyF"] = 36] = "KeyF";
14076
+ KeyCode3[KeyCode3["KeyG"] = 37] = "KeyG";
14077
+ KeyCode3[KeyCode3["KeyH"] = 38] = "KeyH";
14078
+ KeyCode3[KeyCode3["KeyI"] = 39] = "KeyI";
14079
+ KeyCode3[KeyCode3["KeyJ"] = 40] = "KeyJ";
14080
+ KeyCode3[KeyCode3["KeyK"] = 41] = "KeyK";
14081
+ KeyCode3[KeyCode3["KeyL"] = 42] = "KeyL";
14082
+ KeyCode3[KeyCode3["KeyM"] = 43] = "KeyM";
14083
+ KeyCode3[KeyCode3["KeyN"] = 44] = "KeyN";
14084
+ KeyCode3[KeyCode3["KeyO"] = 45] = "KeyO";
14085
+ KeyCode3[KeyCode3["KeyP"] = 46] = "KeyP";
14086
+ KeyCode3[KeyCode3["KeyQ"] = 47] = "KeyQ";
14087
+ KeyCode3[KeyCode3["KeyR"] = 48] = "KeyR";
14088
+ KeyCode3[KeyCode3["KeyS"] = 49] = "KeyS";
14089
+ KeyCode3[KeyCode3["KeyT"] = 50] = "KeyT";
14090
+ KeyCode3[KeyCode3["KeyU"] = 51] = "KeyU";
14091
+ KeyCode3[KeyCode3["KeyV"] = 52] = "KeyV";
14092
+ KeyCode3[KeyCode3["KeyW"] = 53] = "KeyW";
14093
+ KeyCode3[KeyCode3["KeyX"] = 54] = "KeyX";
14094
+ KeyCode3[KeyCode3["KeyY"] = 55] = "KeyY";
14095
+ KeyCode3[KeyCode3["KeyZ"] = 56] = "KeyZ";
14096
+ KeyCode3[KeyCode3["Meta"] = 57] = "Meta";
14097
+ KeyCode3[KeyCode3["ContextMenu"] = 58] = "ContextMenu";
14098
+ KeyCode3[KeyCode3["F1"] = 59] = "F1";
14099
+ KeyCode3[KeyCode3["F2"] = 60] = "F2";
14100
+ KeyCode3[KeyCode3["F3"] = 61] = "F3";
14101
+ KeyCode3[KeyCode3["F4"] = 62] = "F4";
14102
+ KeyCode3[KeyCode3["F5"] = 63] = "F5";
14103
+ KeyCode3[KeyCode3["F6"] = 64] = "F6";
14104
+ KeyCode3[KeyCode3["F7"] = 65] = "F7";
14105
+ KeyCode3[KeyCode3["F8"] = 66] = "F8";
14106
+ KeyCode3[KeyCode3["F9"] = 67] = "F9";
14107
+ KeyCode3[KeyCode3["F10"] = 68] = "F10";
14108
+ KeyCode3[KeyCode3["F11"] = 69] = "F11";
14109
+ KeyCode3[KeyCode3["F12"] = 70] = "F12";
14110
+ KeyCode3[KeyCode3["F13"] = 71] = "F13";
14111
+ KeyCode3[KeyCode3["F14"] = 72] = "F14";
14112
+ KeyCode3[KeyCode3["F15"] = 73] = "F15";
14113
+ KeyCode3[KeyCode3["F16"] = 74] = "F16";
14114
+ KeyCode3[KeyCode3["F17"] = 75] = "F17";
14115
+ KeyCode3[KeyCode3["F18"] = 76] = "F18";
14116
+ KeyCode3[KeyCode3["F19"] = 77] = "F19";
14117
+ KeyCode3[KeyCode3["F20"] = 78] = "F20";
14118
+ KeyCode3[KeyCode3["F21"] = 79] = "F21";
14119
+ KeyCode3[KeyCode3["F22"] = 80] = "F22";
14120
+ KeyCode3[KeyCode3["F23"] = 81] = "F23";
14121
+ KeyCode3[KeyCode3["F24"] = 82] = "F24";
14122
+ KeyCode3[KeyCode3["NumLock"] = 83] = "NumLock";
14123
+ KeyCode3[KeyCode3["ScrollLock"] = 84] = "ScrollLock";
14124
+ KeyCode3[KeyCode3["Semicolon"] = 85] = "Semicolon";
14125
+ KeyCode3[KeyCode3["Equal"] = 86] = "Equal";
14126
+ KeyCode3[KeyCode3["Comma"] = 87] = "Comma";
14127
+ KeyCode3[KeyCode3["Minus"] = 88] = "Minus";
14128
+ KeyCode3[KeyCode3["Period"] = 89] = "Period";
14129
+ KeyCode3[KeyCode3["Slash"] = 90] = "Slash";
14130
+ KeyCode3[KeyCode3["Backquote"] = 91] = "Backquote";
14131
+ KeyCode3[KeyCode3["BracketLeft"] = 92] = "BracketLeft";
14132
+ KeyCode3[KeyCode3["Backslash"] = 93] = "Backslash";
14133
+ KeyCode3[KeyCode3["BracketRight"] = 94] = "BracketRight";
14134
+ KeyCode3[KeyCode3["Quote"] = 95] = "Quote";
14135
+ KeyCode3[KeyCode3["OEM_8"] = 96] = "OEM_8";
14136
+ KeyCode3[KeyCode3["IntlBackslash"] = 97] = "IntlBackslash";
14137
+ KeyCode3[KeyCode3["Numpad0"] = 98] = "Numpad0";
14138
+ KeyCode3[KeyCode3["Numpad1"] = 99] = "Numpad1";
14139
+ KeyCode3[KeyCode3["Numpad2"] = 100] = "Numpad2";
14140
+ KeyCode3[KeyCode3["Numpad3"] = 101] = "Numpad3";
14141
+ KeyCode3[KeyCode3["Numpad4"] = 102] = "Numpad4";
14142
+ KeyCode3[KeyCode3["Numpad5"] = 103] = "Numpad5";
14143
+ KeyCode3[KeyCode3["Numpad6"] = 104] = "Numpad6";
14144
+ KeyCode3[KeyCode3["Numpad7"] = 105] = "Numpad7";
14145
+ KeyCode3[KeyCode3["Numpad8"] = 106] = "Numpad8";
14146
+ KeyCode3[KeyCode3["Numpad9"] = 107] = "Numpad9";
14147
+ KeyCode3[KeyCode3["NumpadMultiply"] = 108] = "NumpadMultiply";
14148
+ KeyCode3[KeyCode3["NumpadAdd"] = 109] = "NumpadAdd";
14149
+ KeyCode3[KeyCode3["NUMPAD_SEPARATOR"] = 110] = "NUMPAD_SEPARATOR";
14150
+ KeyCode3[KeyCode3["NumpadSubtract"] = 111] = "NumpadSubtract";
14151
+ KeyCode3[KeyCode3["NumpadDecimal"] = 112] = "NumpadDecimal";
14152
+ KeyCode3[KeyCode3["NumpadDivide"] = 113] = "NumpadDivide";
14153
+ KeyCode3[KeyCode3["KEY_IN_COMPOSITION"] = 114] = "KEY_IN_COMPOSITION";
14154
+ KeyCode3[KeyCode3["ABNT_C1"] = 115] = "ABNT_C1";
14155
+ KeyCode3[KeyCode3["ABNT_C2"] = 116] = "ABNT_C2";
14156
+ KeyCode3[KeyCode3["AudioVolumeMute"] = 117] = "AudioVolumeMute";
14157
+ KeyCode3[KeyCode3["AudioVolumeUp"] = 118] = "AudioVolumeUp";
14158
+ KeyCode3[KeyCode3["AudioVolumeDown"] = 119] = "AudioVolumeDown";
14159
+ KeyCode3[KeyCode3["BrowserSearch"] = 120] = "BrowserSearch";
14160
+ KeyCode3[KeyCode3["BrowserHome"] = 121] = "BrowserHome";
14161
+ KeyCode3[KeyCode3["BrowserBack"] = 122] = "BrowserBack";
14162
+ KeyCode3[KeyCode3["BrowserForward"] = 123] = "BrowserForward";
14163
+ KeyCode3[KeyCode3["MediaTrackNext"] = 124] = "MediaTrackNext";
14164
+ KeyCode3[KeyCode3["MediaTrackPrevious"] = 125] = "MediaTrackPrevious";
14165
+ KeyCode3[KeyCode3["MediaStop"] = 126] = "MediaStop";
14166
+ KeyCode3[KeyCode3["MediaPlayPause"] = 127] = "MediaPlayPause";
14167
+ KeyCode3[KeyCode3["LaunchMediaPlayer"] = 128] = "LaunchMediaPlayer";
14168
+ KeyCode3[KeyCode3["LaunchMail"] = 129] = "LaunchMail";
14169
+ KeyCode3[KeyCode3["LaunchApp2"] = 130] = "LaunchApp2";
14170
+ KeyCode3[KeyCode3["Clear"] = 131] = "Clear";
14171
+ KeyCode3[KeyCode3["MAX_VALUE"] = 132] = "MAX_VALUE";
14172
+ })(KeyCode || (KeyCode = {}));
14173
+ var ScanCode;
14174
+ (function(ScanCode2) {
14175
+ ScanCode2[ScanCode2["DependsOnKbLayout"] = -1] = "DependsOnKbLayout";
14176
+ ScanCode2[ScanCode2["None"] = 0] = "None";
14177
+ ScanCode2[ScanCode2["Hyper"] = 1] = "Hyper";
14178
+ ScanCode2[ScanCode2["Super"] = 2] = "Super";
14179
+ ScanCode2[ScanCode2["Fn"] = 3] = "Fn";
14180
+ ScanCode2[ScanCode2["FnLock"] = 4] = "FnLock";
14181
+ ScanCode2[ScanCode2["Suspend"] = 5] = "Suspend";
14182
+ ScanCode2[ScanCode2["Resume"] = 6] = "Resume";
14183
+ ScanCode2[ScanCode2["Turbo"] = 7] = "Turbo";
14184
+ ScanCode2[ScanCode2["Sleep"] = 8] = "Sleep";
14185
+ ScanCode2[ScanCode2["WakeUp"] = 9] = "WakeUp";
14186
+ ScanCode2[ScanCode2["KeyA"] = 10] = "KeyA";
14187
+ ScanCode2[ScanCode2["KeyB"] = 11] = "KeyB";
14188
+ ScanCode2[ScanCode2["KeyC"] = 12] = "KeyC";
14189
+ ScanCode2[ScanCode2["KeyD"] = 13] = "KeyD";
14190
+ ScanCode2[ScanCode2["KeyE"] = 14] = "KeyE";
14191
+ ScanCode2[ScanCode2["KeyF"] = 15] = "KeyF";
14192
+ ScanCode2[ScanCode2["KeyG"] = 16] = "KeyG";
14193
+ ScanCode2[ScanCode2["KeyH"] = 17] = "KeyH";
14194
+ ScanCode2[ScanCode2["KeyI"] = 18] = "KeyI";
14195
+ ScanCode2[ScanCode2["KeyJ"] = 19] = "KeyJ";
14196
+ ScanCode2[ScanCode2["KeyK"] = 20] = "KeyK";
14197
+ ScanCode2[ScanCode2["KeyL"] = 21] = "KeyL";
14198
+ ScanCode2[ScanCode2["KeyM"] = 22] = "KeyM";
14199
+ ScanCode2[ScanCode2["KeyN"] = 23] = "KeyN";
14200
+ ScanCode2[ScanCode2["KeyO"] = 24] = "KeyO";
14201
+ ScanCode2[ScanCode2["KeyP"] = 25] = "KeyP";
14202
+ ScanCode2[ScanCode2["KeyQ"] = 26] = "KeyQ";
14203
+ ScanCode2[ScanCode2["KeyR"] = 27] = "KeyR";
14204
+ ScanCode2[ScanCode2["KeyS"] = 28] = "KeyS";
14205
+ ScanCode2[ScanCode2["KeyT"] = 29] = "KeyT";
14206
+ ScanCode2[ScanCode2["KeyU"] = 30] = "KeyU";
14207
+ ScanCode2[ScanCode2["KeyV"] = 31] = "KeyV";
14208
+ ScanCode2[ScanCode2["KeyW"] = 32] = "KeyW";
14209
+ ScanCode2[ScanCode2["KeyX"] = 33] = "KeyX";
14210
+ ScanCode2[ScanCode2["KeyY"] = 34] = "KeyY";
14211
+ ScanCode2[ScanCode2["KeyZ"] = 35] = "KeyZ";
14212
+ ScanCode2[ScanCode2["Digit1"] = 36] = "Digit1";
14213
+ ScanCode2[ScanCode2["Digit2"] = 37] = "Digit2";
14214
+ ScanCode2[ScanCode2["Digit3"] = 38] = "Digit3";
14215
+ ScanCode2[ScanCode2["Digit4"] = 39] = "Digit4";
14216
+ ScanCode2[ScanCode2["Digit5"] = 40] = "Digit5";
14217
+ ScanCode2[ScanCode2["Digit6"] = 41] = "Digit6";
14218
+ ScanCode2[ScanCode2["Digit7"] = 42] = "Digit7";
14219
+ ScanCode2[ScanCode2["Digit8"] = 43] = "Digit8";
14220
+ ScanCode2[ScanCode2["Digit9"] = 44] = "Digit9";
14221
+ ScanCode2[ScanCode2["Digit0"] = 45] = "Digit0";
14222
+ ScanCode2[ScanCode2["Enter"] = 46] = "Enter";
14223
+ ScanCode2[ScanCode2["Escape"] = 47] = "Escape";
14224
+ ScanCode2[ScanCode2["Backspace"] = 48] = "Backspace";
14225
+ ScanCode2[ScanCode2["Tab"] = 49] = "Tab";
14226
+ ScanCode2[ScanCode2["Space"] = 50] = "Space";
14227
+ ScanCode2[ScanCode2["Minus"] = 51] = "Minus";
14228
+ ScanCode2[ScanCode2["Equal"] = 52] = "Equal";
14229
+ ScanCode2[ScanCode2["BracketLeft"] = 53] = "BracketLeft";
14230
+ ScanCode2[ScanCode2["BracketRight"] = 54] = "BracketRight";
14231
+ ScanCode2[ScanCode2["Backslash"] = 55] = "Backslash";
14232
+ ScanCode2[ScanCode2["IntlHash"] = 56] = "IntlHash";
14233
+ ScanCode2[ScanCode2["Semicolon"] = 57] = "Semicolon";
14234
+ ScanCode2[ScanCode2["Quote"] = 58] = "Quote";
14235
+ ScanCode2[ScanCode2["Backquote"] = 59] = "Backquote";
14236
+ ScanCode2[ScanCode2["Comma"] = 60] = "Comma";
14237
+ ScanCode2[ScanCode2["Period"] = 61] = "Period";
14238
+ ScanCode2[ScanCode2["Slash"] = 62] = "Slash";
14239
+ ScanCode2[ScanCode2["CapsLock"] = 63] = "CapsLock";
14240
+ ScanCode2[ScanCode2["F1"] = 64] = "F1";
14241
+ ScanCode2[ScanCode2["F2"] = 65] = "F2";
14242
+ ScanCode2[ScanCode2["F3"] = 66] = "F3";
14243
+ ScanCode2[ScanCode2["F4"] = 67] = "F4";
14244
+ ScanCode2[ScanCode2["F5"] = 68] = "F5";
14245
+ ScanCode2[ScanCode2["F6"] = 69] = "F6";
14246
+ ScanCode2[ScanCode2["F7"] = 70] = "F7";
14247
+ ScanCode2[ScanCode2["F8"] = 71] = "F8";
14248
+ ScanCode2[ScanCode2["F9"] = 72] = "F9";
14249
+ ScanCode2[ScanCode2["F10"] = 73] = "F10";
14250
+ ScanCode2[ScanCode2["F11"] = 74] = "F11";
14251
+ ScanCode2[ScanCode2["F12"] = 75] = "F12";
14252
+ ScanCode2[ScanCode2["PrintScreen"] = 76] = "PrintScreen";
14253
+ ScanCode2[ScanCode2["ScrollLock"] = 77] = "ScrollLock";
14254
+ ScanCode2[ScanCode2["Pause"] = 78] = "Pause";
14255
+ ScanCode2[ScanCode2["Insert"] = 79] = "Insert";
14256
+ ScanCode2[ScanCode2["Home"] = 80] = "Home";
14257
+ ScanCode2[ScanCode2["PageUp"] = 81] = "PageUp";
14258
+ ScanCode2[ScanCode2["Delete"] = 82] = "Delete";
14259
+ ScanCode2[ScanCode2["End"] = 83] = "End";
14260
+ ScanCode2[ScanCode2["PageDown"] = 84] = "PageDown";
14261
+ ScanCode2[ScanCode2["ArrowRight"] = 85] = "ArrowRight";
14262
+ ScanCode2[ScanCode2["ArrowLeft"] = 86] = "ArrowLeft";
14263
+ ScanCode2[ScanCode2["ArrowDown"] = 87] = "ArrowDown";
14264
+ ScanCode2[ScanCode2["ArrowUp"] = 88] = "ArrowUp";
14265
+ ScanCode2[ScanCode2["NumLock"] = 89] = "NumLock";
14266
+ ScanCode2[ScanCode2["NumpadDivide"] = 90] = "NumpadDivide";
14267
+ ScanCode2[ScanCode2["NumpadMultiply"] = 91] = "NumpadMultiply";
14268
+ ScanCode2[ScanCode2["NumpadSubtract"] = 92] = "NumpadSubtract";
14269
+ ScanCode2[ScanCode2["NumpadAdd"] = 93] = "NumpadAdd";
14270
+ ScanCode2[ScanCode2["NumpadEnter"] = 94] = "NumpadEnter";
14271
+ ScanCode2[ScanCode2["Numpad1"] = 95] = "Numpad1";
14272
+ ScanCode2[ScanCode2["Numpad2"] = 96] = "Numpad2";
14273
+ ScanCode2[ScanCode2["Numpad3"] = 97] = "Numpad3";
14274
+ ScanCode2[ScanCode2["Numpad4"] = 98] = "Numpad4";
14275
+ ScanCode2[ScanCode2["Numpad5"] = 99] = "Numpad5";
14276
+ ScanCode2[ScanCode2["Numpad6"] = 100] = "Numpad6";
14277
+ ScanCode2[ScanCode2["Numpad7"] = 101] = "Numpad7";
14278
+ ScanCode2[ScanCode2["Numpad8"] = 102] = "Numpad8";
14279
+ ScanCode2[ScanCode2["Numpad9"] = 103] = "Numpad9";
14280
+ ScanCode2[ScanCode2["Numpad0"] = 104] = "Numpad0";
14281
+ ScanCode2[ScanCode2["NumpadDecimal"] = 105] = "NumpadDecimal";
14282
+ ScanCode2[ScanCode2["IntlBackslash"] = 106] = "IntlBackslash";
14283
+ ScanCode2[ScanCode2["ContextMenu"] = 107] = "ContextMenu";
14284
+ ScanCode2[ScanCode2["Power"] = 108] = "Power";
14285
+ ScanCode2[ScanCode2["NumpadEqual"] = 109] = "NumpadEqual";
14286
+ ScanCode2[ScanCode2["F13"] = 110] = "F13";
14287
+ ScanCode2[ScanCode2["F14"] = 111] = "F14";
14288
+ ScanCode2[ScanCode2["F15"] = 112] = "F15";
14289
+ ScanCode2[ScanCode2["F16"] = 113] = "F16";
14290
+ ScanCode2[ScanCode2["F17"] = 114] = "F17";
14291
+ ScanCode2[ScanCode2["F18"] = 115] = "F18";
14292
+ ScanCode2[ScanCode2["F19"] = 116] = "F19";
14293
+ ScanCode2[ScanCode2["F20"] = 117] = "F20";
14294
+ ScanCode2[ScanCode2["F21"] = 118] = "F21";
14295
+ ScanCode2[ScanCode2["F22"] = 119] = "F22";
14296
+ ScanCode2[ScanCode2["F23"] = 120] = "F23";
14297
+ ScanCode2[ScanCode2["F24"] = 121] = "F24";
14298
+ ScanCode2[ScanCode2["Open"] = 122] = "Open";
14299
+ ScanCode2[ScanCode2["Help"] = 123] = "Help";
14300
+ ScanCode2[ScanCode2["Select"] = 124] = "Select";
14301
+ ScanCode2[ScanCode2["Again"] = 125] = "Again";
14302
+ ScanCode2[ScanCode2["Undo"] = 126] = "Undo";
14303
+ ScanCode2[ScanCode2["Cut"] = 127] = "Cut";
14304
+ ScanCode2[ScanCode2["Copy"] = 128] = "Copy";
14305
+ ScanCode2[ScanCode2["Paste"] = 129] = "Paste";
14306
+ ScanCode2[ScanCode2["Find"] = 130] = "Find";
14307
+ ScanCode2[ScanCode2["AudioVolumeMute"] = 131] = "AudioVolumeMute";
14308
+ ScanCode2[ScanCode2["AudioVolumeUp"] = 132] = "AudioVolumeUp";
14309
+ ScanCode2[ScanCode2["AudioVolumeDown"] = 133] = "AudioVolumeDown";
14310
+ ScanCode2[ScanCode2["NumpadComma"] = 134] = "NumpadComma";
14311
+ ScanCode2[ScanCode2["IntlRo"] = 135] = "IntlRo";
14312
+ ScanCode2[ScanCode2["KanaMode"] = 136] = "KanaMode";
14313
+ ScanCode2[ScanCode2["IntlYen"] = 137] = "IntlYen";
14314
+ ScanCode2[ScanCode2["Convert"] = 138] = "Convert";
14315
+ ScanCode2[ScanCode2["NonConvert"] = 139] = "NonConvert";
14316
+ ScanCode2[ScanCode2["Lang1"] = 140] = "Lang1";
14317
+ ScanCode2[ScanCode2["Lang2"] = 141] = "Lang2";
14318
+ ScanCode2[ScanCode2["Lang3"] = 142] = "Lang3";
14319
+ ScanCode2[ScanCode2["Lang4"] = 143] = "Lang4";
14320
+ ScanCode2[ScanCode2["Lang5"] = 144] = "Lang5";
14321
+ ScanCode2[ScanCode2["Abort"] = 145] = "Abort";
14322
+ ScanCode2[ScanCode2["Props"] = 146] = "Props";
14323
+ ScanCode2[ScanCode2["NumpadParenLeft"] = 147] = "NumpadParenLeft";
14324
+ ScanCode2[ScanCode2["NumpadParenRight"] = 148] = "NumpadParenRight";
14325
+ ScanCode2[ScanCode2["NumpadBackspace"] = 149] = "NumpadBackspace";
14326
+ ScanCode2[ScanCode2["NumpadMemoryStore"] = 150] = "NumpadMemoryStore";
14327
+ ScanCode2[ScanCode2["NumpadMemoryRecall"] = 151] = "NumpadMemoryRecall";
14328
+ ScanCode2[ScanCode2["NumpadMemoryClear"] = 152] = "NumpadMemoryClear";
14329
+ ScanCode2[ScanCode2["NumpadMemoryAdd"] = 153] = "NumpadMemoryAdd";
14330
+ ScanCode2[ScanCode2["NumpadMemorySubtract"] = 154] = "NumpadMemorySubtract";
14331
+ ScanCode2[ScanCode2["NumpadClear"] = 155] = "NumpadClear";
14332
+ ScanCode2[ScanCode2["NumpadClearEntry"] = 156] = "NumpadClearEntry";
14333
+ ScanCode2[ScanCode2["ControlLeft"] = 157] = "ControlLeft";
14334
+ ScanCode2[ScanCode2["ShiftLeft"] = 158] = "ShiftLeft";
14335
+ ScanCode2[ScanCode2["AltLeft"] = 159] = "AltLeft";
14336
+ ScanCode2[ScanCode2["MetaLeft"] = 160] = "MetaLeft";
14337
+ ScanCode2[ScanCode2["ControlRight"] = 161] = "ControlRight";
14338
+ ScanCode2[ScanCode2["ShiftRight"] = 162] = "ShiftRight";
14339
+ ScanCode2[ScanCode2["AltRight"] = 163] = "AltRight";
14340
+ ScanCode2[ScanCode2["MetaRight"] = 164] = "MetaRight";
14341
+ ScanCode2[ScanCode2["BrightnessUp"] = 165] = "BrightnessUp";
14342
+ ScanCode2[ScanCode2["BrightnessDown"] = 166] = "BrightnessDown";
14343
+ ScanCode2[ScanCode2["MediaPlay"] = 167] = "MediaPlay";
14344
+ ScanCode2[ScanCode2["MediaRecord"] = 168] = "MediaRecord";
14345
+ ScanCode2[ScanCode2["MediaFastForward"] = 169] = "MediaFastForward";
14346
+ ScanCode2[ScanCode2["MediaRewind"] = 170] = "MediaRewind";
14347
+ ScanCode2[ScanCode2["MediaTrackNext"] = 171] = "MediaTrackNext";
14348
+ ScanCode2[ScanCode2["MediaTrackPrevious"] = 172] = "MediaTrackPrevious";
14349
+ ScanCode2[ScanCode2["MediaStop"] = 173] = "MediaStop";
14350
+ ScanCode2[ScanCode2["Eject"] = 174] = "Eject";
14351
+ ScanCode2[ScanCode2["MediaPlayPause"] = 175] = "MediaPlayPause";
14352
+ ScanCode2[ScanCode2["MediaSelect"] = 176] = "MediaSelect";
14353
+ ScanCode2[ScanCode2["LaunchMail"] = 177] = "LaunchMail";
14354
+ ScanCode2[ScanCode2["LaunchApp2"] = 178] = "LaunchApp2";
14355
+ ScanCode2[ScanCode2["LaunchApp1"] = 179] = "LaunchApp1";
14356
+ ScanCode2[ScanCode2["SelectTask"] = 180] = "SelectTask";
14357
+ ScanCode2[ScanCode2["LaunchScreenSaver"] = 181] = "LaunchScreenSaver";
14358
+ ScanCode2[ScanCode2["BrowserSearch"] = 182] = "BrowserSearch";
14359
+ ScanCode2[ScanCode2["BrowserHome"] = 183] = "BrowserHome";
14360
+ ScanCode2[ScanCode2["BrowserBack"] = 184] = "BrowserBack";
14361
+ ScanCode2[ScanCode2["BrowserForward"] = 185] = "BrowserForward";
14362
+ ScanCode2[ScanCode2["BrowserStop"] = 186] = "BrowserStop";
14363
+ ScanCode2[ScanCode2["BrowserRefresh"] = 187] = "BrowserRefresh";
14364
+ ScanCode2[ScanCode2["BrowserFavorites"] = 188] = "BrowserFavorites";
14365
+ ScanCode2[ScanCode2["ZoomToggle"] = 189] = "ZoomToggle";
14366
+ ScanCode2[ScanCode2["MailReply"] = 190] = "MailReply";
14367
+ ScanCode2[ScanCode2["MailForward"] = 191] = "MailForward";
14368
+ ScanCode2[ScanCode2["MailSend"] = 192] = "MailSend";
14369
+ ScanCode2[ScanCode2["MAX_VALUE"] = 193] = "MAX_VALUE";
14370
+ })(ScanCode || (ScanCode = {}));
13356
14371
  var KeyCodeStrMap = class {
13357
14372
  constructor() {
13358
14373
  this._keyCodeToStr = [];
@@ -13366,7 +14381,7 @@ ${stackTraceFormattedLines.join("\n")}
13366
14381
  return this._keyCodeToStr[keyCode];
13367
14382
  }
13368
14383
  strToKeyCode(str) {
13369
- return this._strToKeyCode[str.toLowerCase()] || 0;
14384
+ return this._strToKeyCode[str.toLowerCase()] || KeyCode.Unknown;
13370
14385
  }
13371
14386
  };
13372
14387
  var uiMap = new KeyCodeStrMap();
@@ -13379,244 +14394,244 @@ ${stackTraceFormattedLines.join("\n")}
13379
14394
  var scanCodeLowerCaseStrToInt = /* @__PURE__ */ Object.create(null);
13380
14395
  var IMMUTABLE_CODE_TO_KEY_CODE = [];
13381
14396
  var IMMUTABLE_KEY_CODE_TO_CODE = [];
13382
- for (let i = 0; i <= 193; i++) {
13383
- IMMUTABLE_CODE_TO_KEY_CODE[i] = -1;
14397
+ for (let i = 0; i <= ScanCode.MAX_VALUE; i++) {
14398
+ IMMUTABLE_CODE_TO_KEY_CODE[i] = KeyCode.DependsOnKbLayout;
13384
14399
  }
13385
- for (let i = 0; i <= 132; i++) {
13386
- IMMUTABLE_KEY_CODE_TO_CODE[i] = -1;
14400
+ for (let i = 0; i <= KeyCode.MAX_VALUE; i++) {
14401
+ IMMUTABLE_KEY_CODE_TO_CODE[i] = ScanCode.DependsOnKbLayout;
13387
14402
  }
13388
14403
  (function() {
13389
14404
  const empty = "";
13390
14405
  const mappings = [
13391
- [1, 0, "None", 0, "unknown", 0, "VK_UNKNOWN", empty, empty],
13392
- [1, 1, "Hyper", 0, empty, 0, empty, empty, empty],
13393
- [1, 2, "Super", 0, empty, 0, empty, empty, empty],
13394
- [1, 3, "Fn", 0, empty, 0, empty, empty, empty],
13395
- [1, 4, "FnLock", 0, empty, 0, empty, empty, empty],
13396
- [1, 5, "Suspend", 0, empty, 0, empty, empty, empty],
13397
- [1, 6, "Resume", 0, empty, 0, empty, empty, empty],
13398
- [1, 7, "Turbo", 0, empty, 0, empty, empty, empty],
13399
- [1, 8, "Sleep", 0, empty, 0, "VK_SLEEP", empty, empty],
13400
- [1, 9, "WakeUp", 0, empty, 0, empty, empty, empty],
13401
- [0, 10, "KeyA", 31, "A", 65, "VK_A", empty, empty],
13402
- [0, 11, "KeyB", 32, "B", 66, "VK_B", empty, empty],
13403
- [0, 12, "KeyC", 33, "C", 67, "VK_C", empty, empty],
13404
- [0, 13, "KeyD", 34, "D", 68, "VK_D", empty, empty],
13405
- [0, 14, "KeyE", 35, "E", 69, "VK_E", empty, empty],
13406
- [0, 15, "KeyF", 36, "F", 70, "VK_F", empty, empty],
13407
- [0, 16, "KeyG", 37, "G", 71, "VK_G", empty, empty],
13408
- [0, 17, "KeyH", 38, "H", 72, "VK_H", empty, empty],
13409
- [0, 18, "KeyI", 39, "I", 73, "VK_I", empty, empty],
13410
- [0, 19, "KeyJ", 40, "J", 74, "VK_J", empty, empty],
13411
- [0, 20, "KeyK", 41, "K", 75, "VK_K", empty, empty],
13412
- [0, 21, "KeyL", 42, "L", 76, "VK_L", empty, empty],
13413
- [0, 22, "KeyM", 43, "M", 77, "VK_M", empty, empty],
13414
- [0, 23, "KeyN", 44, "N", 78, "VK_N", empty, empty],
13415
- [0, 24, "KeyO", 45, "O", 79, "VK_O", empty, empty],
13416
- [0, 25, "KeyP", 46, "P", 80, "VK_P", empty, empty],
13417
- [0, 26, "KeyQ", 47, "Q", 81, "VK_Q", empty, empty],
13418
- [0, 27, "KeyR", 48, "R", 82, "VK_R", empty, empty],
13419
- [0, 28, "KeyS", 49, "S", 83, "VK_S", empty, empty],
13420
- [0, 29, "KeyT", 50, "T", 84, "VK_T", empty, empty],
13421
- [0, 30, "KeyU", 51, "U", 85, "VK_U", empty, empty],
13422
- [0, 31, "KeyV", 52, "V", 86, "VK_V", empty, empty],
13423
- [0, 32, "KeyW", 53, "W", 87, "VK_W", empty, empty],
13424
- [0, 33, "KeyX", 54, "X", 88, "VK_X", empty, empty],
13425
- [0, 34, "KeyY", 55, "Y", 89, "VK_Y", empty, empty],
13426
- [0, 35, "KeyZ", 56, "Z", 90, "VK_Z", empty, empty],
13427
- [0, 36, "Digit1", 22, "1", 49, "VK_1", empty, empty],
13428
- [0, 37, "Digit2", 23, "2", 50, "VK_2", empty, empty],
13429
- [0, 38, "Digit3", 24, "3", 51, "VK_3", empty, empty],
13430
- [0, 39, "Digit4", 25, "4", 52, "VK_4", empty, empty],
13431
- [0, 40, "Digit5", 26, "5", 53, "VK_5", empty, empty],
13432
- [0, 41, "Digit6", 27, "6", 54, "VK_6", empty, empty],
13433
- [0, 42, "Digit7", 28, "7", 55, "VK_7", empty, empty],
13434
- [0, 43, "Digit8", 29, "8", 56, "VK_8", empty, empty],
13435
- [0, 44, "Digit9", 30, "9", 57, "VK_9", empty, empty],
13436
- [0, 45, "Digit0", 21, "0", 48, "VK_0", empty, empty],
13437
- [1, 46, "Enter", 3, "Enter", 13, "VK_RETURN", empty, empty],
13438
- [1, 47, "Escape", 9, "Escape", 27, "VK_ESCAPE", empty, empty],
13439
- [1, 48, "Backspace", 1, "Backspace", 8, "VK_BACK", empty, empty],
13440
- [1, 49, "Tab", 2, "Tab", 9, "VK_TAB", empty, empty],
13441
- [1, 50, "Space", 10, "Space", 32, "VK_SPACE", empty, empty],
13442
- [0, 51, "Minus", 88, "-", 189, "VK_OEM_MINUS", "-", "OEM_MINUS"],
13443
- [0, 52, "Equal", 86, "=", 187, "VK_OEM_PLUS", "=", "OEM_PLUS"],
13444
- [0, 53, "BracketLeft", 92, "[", 219, "VK_OEM_4", "[", "OEM_4"],
13445
- [0, 54, "BracketRight", 94, "]", 221, "VK_OEM_6", "]", "OEM_6"],
13446
- [0, 55, "Backslash", 93, "\\", 220, "VK_OEM_5", "\\", "OEM_5"],
13447
- [0, 56, "IntlHash", 0, empty, 0, empty, empty, empty],
13448
- [0, 57, "Semicolon", 85, ";", 186, "VK_OEM_1", ";", "OEM_1"],
13449
- [0, 58, "Quote", 95, "'", 222, "VK_OEM_7", "'", "OEM_7"],
13450
- [0, 59, "Backquote", 91, "`", 192, "VK_OEM_3", "`", "OEM_3"],
13451
- [0, 60, "Comma", 87, ",", 188, "VK_OEM_COMMA", ",", "OEM_COMMA"],
13452
- [0, 61, "Period", 89, ".", 190, "VK_OEM_PERIOD", ".", "OEM_PERIOD"],
13453
- [0, 62, "Slash", 90, "/", 191, "VK_OEM_2", "/", "OEM_2"],
13454
- [1, 63, "CapsLock", 8, "CapsLock", 20, "VK_CAPITAL", empty, empty],
13455
- [1, 64, "F1", 59, "F1", 112, "VK_F1", empty, empty],
13456
- [1, 65, "F2", 60, "F2", 113, "VK_F2", empty, empty],
13457
- [1, 66, "F3", 61, "F3", 114, "VK_F3", empty, empty],
13458
- [1, 67, "F4", 62, "F4", 115, "VK_F4", empty, empty],
13459
- [1, 68, "F5", 63, "F5", 116, "VK_F5", empty, empty],
13460
- [1, 69, "F6", 64, "F6", 117, "VK_F6", empty, empty],
13461
- [1, 70, "F7", 65, "F7", 118, "VK_F7", empty, empty],
13462
- [1, 71, "F8", 66, "F8", 119, "VK_F8", empty, empty],
13463
- [1, 72, "F9", 67, "F9", 120, "VK_F9", empty, empty],
13464
- [1, 73, "F10", 68, "F10", 121, "VK_F10", empty, empty],
13465
- [1, 74, "F11", 69, "F11", 122, "VK_F11", empty, empty],
13466
- [1, 75, "F12", 70, "F12", 123, "VK_F12", empty, empty],
13467
- [1, 76, "PrintScreen", 0, empty, 0, empty, empty, empty],
13468
- [1, 77, "ScrollLock", 84, "ScrollLock", 145, "VK_SCROLL", empty, empty],
13469
- [1, 78, "Pause", 7, "PauseBreak", 19, "VK_PAUSE", empty, empty],
13470
- [1, 79, "Insert", 19, "Insert", 45, "VK_INSERT", empty, empty],
13471
- [1, 80, "Home", 14, "Home", 36, "VK_HOME", empty, empty],
13472
- [1, 81, "PageUp", 11, "PageUp", 33, "VK_PRIOR", empty, empty],
13473
- [1, 82, "Delete", 20, "Delete", 46, "VK_DELETE", empty, empty],
13474
- [1, 83, "End", 13, "End", 35, "VK_END", empty, empty],
13475
- [1, 84, "PageDown", 12, "PageDown", 34, "VK_NEXT", empty, empty],
13476
- [1, 85, "ArrowRight", 17, "RightArrow", 39, "VK_RIGHT", "Right", empty],
13477
- [1, 86, "ArrowLeft", 15, "LeftArrow", 37, "VK_LEFT", "Left", empty],
13478
- [1, 87, "ArrowDown", 18, "DownArrow", 40, "VK_DOWN", "Down", empty],
13479
- [1, 88, "ArrowUp", 16, "UpArrow", 38, "VK_UP", "Up", empty],
13480
- [1, 89, "NumLock", 83, "NumLock", 144, "VK_NUMLOCK", empty, empty],
13481
- [1, 90, "NumpadDivide", 113, "NumPad_Divide", 111, "VK_DIVIDE", empty, empty],
13482
- [1, 91, "NumpadMultiply", 108, "NumPad_Multiply", 106, "VK_MULTIPLY", empty, empty],
13483
- [1, 92, "NumpadSubtract", 111, "NumPad_Subtract", 109, "VK_SUBTRACT", empty, empty],
13484
- [1, 93, "NumpadAdd", 109, "NumPad_Add", 107, "VK_ADD", empty, empty],
13485
- [1, 94, "NumpadEnter", 3, empty, 0, empty, empty, empty],
13486
- [1, 95, "Numpad1", 99, "NumPad1", 97, "VK_NUMPAD1", empty, empty],
13487
- [1, 96, "Numpad2", 100, "NumPad2", 98, "VK_NUMPAD2", empty, empty],
13488
- [1, 97, "Numpad3", 101, "NumPad3", 99, "VK_NUMPAD3", empty, empty],
13489
- [1, 98, "Numpad4", 102, "NumPad4", 100, "VK_NUMPAD4", empty, empty],
13490
- [1, 99, "Numpad5", 103, "NumPad5", 101, "VK_NUMPAD5", empty, empty],
13491
- [1, 100, "Numpad6", 104, "NumPad6", 102, "VK_NUMPAD6", empty, empty],
13492
- [1, 101, "Numpad7", 105, "NumPad7", 103, "VK_NUMPAD7", empty, empty],
13493
- [1, 102, "Numpad8", 106, "NumPad8", 104, "VK_NUMPAD8", empty, empty],
13494
- [1, 103, "Numpad9", 107, "NumPad9", 105, "VK_NUMPAD9", empty, empty],
13495
- [1, 104, "Numpad0", 98, "NumPad0", 96, "VK_NUMPAD0", empty, empty],
13496
- [1, 105, "NumpadDecimal", 112, "NumPad_Decimal", 110, "VK_DECIMAL", empty, empty],
13497
- [0, 106, "IntlBackslash", 97, "OEM_102", 226, "VK_OEM_102", empty, empty],
13498
- [1, 107, "ContextMenu", 58, "ContextMenu", 93, empty, empty, empty],
13499
- [1, 108, "Power", 0, empty, 0, empty, empty, empty],
13500
- [1, 109, "NumpadEqual", 0, empty, 0, empty, empty, empty],
13501
- [1, 110, "F13", 71, "F13", 124, "VK_F13", empty, empty],
13502
- [1, 111, "F14", 72, "F14", 125, "VK_F14", empty, empty],
13503
- [1, 112, "F15", 73, "F15", 126, "VK_F15", empty, empty],
13504
- [1, 113, "F16", 74, "F16", 127, "VK_F16", empty, empty],
13505
- [1, 114, "F17", 75, "F17", 128, "VK_F17", empty, empty],
13506
- [1, 115, "F18", 76, "F18", 129, "VK_F18", empty, empty],
13507
- [1, 116, "F19", 77, "F19", 130, "VK_F19", empty, empty],
13508
- [1, 117, "F20", 78, "F20", 131, "VK_F20", empty, empty],
13509
- [1, 118, "F21", 79, "F21", 132, "VK_F21", empty, empty],
13510
- [1, 119, "F22", 80, "F22", 133, "VK_F22", empty, empty],
13511
- [1, 120, "F23", 81, "F23", 134, "VK_F23", empty, empty],
13512
- [1, 121, "F24", 82, "F24", 135, "VK_F24", empty, empty],
13513
- [1, 122, "Open", 0, empty, 0, empty, empty, empty],
13514
- [1, 123, "Help", 0, empty, 0, empty, empty, empty],
13515
- [1, 124, "Select", 0, empty, 0, empty, empty, empty],
13516
- [1, 125, "Again", 0, empty, 0, empty, empty, empty],
13517
- [1, 126, "Undo", 0, empty, 0, empty, empty, empty],
13518
- [1, 127, "Cut", 0, empty, 0, empty, empty, empty],
13519
- [1, 128, "Copy", 0, empty, 0, empty, empty, empty],
13520
- [1, 129, "Paste", 0, empty, 0, empty, empty, empty],
13521
- [1, 130, "Find", 0, empty, 0, empty, empty, empty],
13522
- [1, 131, "AudioVolumeMute", 117, "AudioVolumeMute", 173, "VK_VOLUME_MUTE", empty, empty],
13523
- [1, 132, "AudioVolumeUp", 118, "AudioVolumeUp", 175, "VK_VOLUME_UP", empty, empty],
13524
- [1, 133, "AudioVolumeDown", 119, "AudioVolumeDown", 174, "VK_VOLUME_DOWN", empty, empty],
13525
- [1, 134, "NumpadComma", 110, "NumPad_Separator", 108, "VK_SEPARATOR", empty, empty],
13526
- [0, 135, "IntlRo", 115, "ABNT_C1", 193, "VK_ABNT_C1", empty, empty],
13527
- [1, 136, "KanaMode", 0, empty, 0, empty, empty, empty],
13528
- [0, 137, "IntlYen", 0, empty, 0, empty, empty, empty],
13529
- [1, 138, "Convert", 0, empty, 0, empty, empty, empty],
13530
- [1, 139, "NonConvert", 0, empty, 0, empty, empty, empty],
13531
- [1, 140, "Lang1", 0, empty, 0, empty, empty, empty],
13532
- [1, 141, "Lang2", 0, empty, 0, empty, empty, empty],
13533
- [1, 142, "Lang3", 0, empty, 0, empty, empty, empty],
13534
- [1, 143, "Lang4", 0, empty, 0, empty, empty, empty],
13535
- [1, 144, "Lang5", 0, empty, 0, empty, empty, empty],
13536
- [1, 145, "Abort", 0, empty, 0, empty, empty, empty],
13537
- [1, 146, "Props", 0, empty, 0, empty, empty, empty],
13538
- [1, 147, "NumpadParenLeft", 0, empty, 0, empty, empty, empty],
13539
- [1, 148, "NumpadParenRight", 0, empty, 0, empty, empty, empty],
13540
- [1, 149, "NumpadBackspace", 0, empty, 0, empty, empty, empty],
13541
- [1, 150, "NumpadMemoryStore", 0, empty, 0, empty, empty, empty],
13542
- [1, 151, "NumpadMemoryRecall", 0, empty, 0, empty, empty, empty],
13543
- [1, 152, "NumpadMemoryClear", 0, empty, 0, empty, empty, empty],
13544
- [1, 153, "NumpadMemoryAdd", 0, empty, 0, empty, empty, empty],
13545
- [1, 154, "NumpadMemorySubtract", 0, empty, 0, empty, empty, empty],
13546
- [1, 155, "NumpadClear", 131, "Clear", 12, "VK_CLEAR", empty, empty],
13547
- [1, 156, "NumpadClearEntry", 0, empty, 0, empty, empty, empty],
13548
- [1, 0, empty, 5, "Ctrl", 17, "VK_CONTROL", empty, empty],
13549
- [1, 0, empty, 4, "Shift", 16, "VK_SHIFT", empty, empty],
13550
- [1, 0, empty, 6, "Alt", 18, "VK_MENU", empty, empty],
13551
- [1, 0, empty, 57, "Meta", 91, "VK_COMMAND", empty, empty],
13552
- [1, 157, "ControlLeft", 5, empty, 0, "VK_LCONTROL", empty, empty],
13553
- [1, 158, "ShiftLeft", 4, empty, 0, "VK_LSHIFT", empty, empty],
13554
- [1, 159, "AltLeft", 6, empty, 0, "VK_LMENU", empty, empty],
13555
- [1, 160, "MetaLeft", 57, empty, 0, "VK_LWIN", empty, empty],
13556
- [1, 161, "ControlRight", 5, empty, 0, "VK_RCONTROL", empty, empty],
13557
- [1, 162, "ShiftRight", 4, empty, 0, "VK_RSHIFT", empty, empty],
13558
- [1, 163, "AltRight", 6, empty, 0, "VK_RMENU", empty, empty],
13559
- [1, 164, "MetaRight", 57, empty, 0, "VK_RWIN", empty, empty],
13560
- [1, 165, "BrightnessUp", 0, empty, 0, empty, empty, empty],
13561
- [1, 166, "BrightnessDown", 0, empty, 0, empty, empty, empty],
13562
- [1, 167, "MediaPlay", 0, empty, 0, empty, empty, empty],
13563
- [1, 168, "MediaRecord", 0, empty, 0, empty, empty, empty],
13564
- [1, 169, "MediaFastForward", 0, empty, 0, empty, empty, empty],
13565
- [1, 170, "MediaRewind", 0, empty, 0, empty, empty, empty],
13566
- [1, 171, "MediaTrackNext", 124, "MediaTrackNext", 176, "VK_MEDIA_NEXT_TRACK", empty, empty],
13567
- [1, 172, "MediaTrackPrevious", 125, "MediaTrackPrevious", 177, "VK_MEDIA_PREV_TRACK", empty, empty],
13568
- [1, 173, "MediaStop", 126, "MediaStop", 178, "VK_MEDIA_STOP", empty, empty],
13569
- [1, 174, "Eject", 0, empty, 0, empty, empty, empty],
13570
- [1, 175, "MediaPlayPause", 127, "MediaPlayPause", 179, "VK_MEDIA_PLAY_PAUSE", empty, empty],
13571
- [1, 176, "MediaSelect", 128, "LaunchMediaPlayer", 181, "VK_MEDIA_LAUNCH_MEDIA_SELECT", empty, empty],
13572
- [1, 177, "LaunchMail", 129, "LaunchMail", 180, "VK_MEDIA_LAUNCH_MAIL", empty, empty],
13573
- [1, 178, "LaunchApp2", 130, "LaunchApp2", 183, "VK_MEDIA_LAUNCH_APP2", empty, empty],
13574
- [1, 179, "LaunchApp1", 0, empty, 0, "VK_MEDIA_LAUNCH_APP1", empty, empty],
13575
- [1, 180, "SelectTask", 0, empty, 0, empty, empty, empty],
13576
- [1, 181, "LaunchScreenSaver", 0, empty, 0, empty, empty, empty],
13577
- [1, 182, "BrowserSearch", 120, "BrowserSearch", 170, "VK_BROWSER_SEARCH", empty, empty],
13578
- [1, 183, "BrowserHome", 121, "BrowserHome", 172, "VK_BROWSER_HOME", empty, empty],
13579
- [1, 184, "BrowserBack", 122, "BrowserBack", 166, "VK_BROWSER_BACK", empty, empty],
13580
- [1, 185, "BrowserForward", 123, "BrowserForward", 167, "VK_BROWSER_FORWARD", empty, empty],
13581
- [1, 186, "BrowserStop", 0, empty, 0, "VK_BROWSER_STOP", empty, empty],
13582
- [1, 187, "BrowserRefresh", 0, empty, 0, "VK_BROWSER_REFRESH", empty, empty],
13583
- [1, 188, "BrowserFavorites", 0, empty, 0, "VK_BROWSER_FAVORITES", empty, empty],
13584
- [1, 189, "ZoomToggle", 0, empty, 0, empty, empty, empty],
13585
- [1, 190, "MailReply", 0, empty, 0, empty, empty, empty],
13586
- [1, 191, "MailForward", 0, empty, 0, empty, empty, empty],
13587
- [1, 192, "MailSend", 0, empty, 0, empty, empty, empty],
13588
- [1, 0, empty, 114, "KeyInComposition", 229, empty, empty, empty],
13589
- [1, 0, empty, 116, "ABNT_C2", 194, "VK_ABNT_C2", empty, empty],
13590
- [1, 0, empty, 96, "OEM_8", 223, "VK_OEM_8", empty, empty],
13591
- [1, 0, empty, 0, empty, 0, "VK_KANA", empty, empty],
13592
- [1, 0, empty, 0, empty, 0, "VK_HANGUL", empty, empty],
13593
- [1, 0, empty, 0, empty, 0, "VK_JUNJA", empty, empty],
13594
- [1, 0, empty, 0, empty, 0, "VK_FINAL", empty, empty],
13595
- [1, 0, empty, 0, empty, 0, "VK_HANJA", empty, empty],
13596
- [1, 0, empty, 0, empty, 0, "VK_KANJI", empty, empty],
13597
- [1, 0, empty, 0, empty, 0, "VK_CONVERT", empty, empty],
13598
- [1, 0, empty, 0, empty, 0, "VK_NONCONVERT", empty, empty],
13599
- [1, 0, empty, 0, empty, 0, "VK_ACCEPT", empty, empty],
13600
- [1, 0, empty, 0, empty, 0, "VK_MODECHANGE", empty, empty],
13601
- [1, 0, empty, 0, empty, 0, "VK_SELECT", empty, empty],
13602
- [1, 0, empty, 0, empty, 0, "VK_PRINT", empty, empty],
13603
- [1, 0, empty, 0, empty, 0, "VK_EXECUTE", empty, empty],
13604
- [1, 0, empty, 0, empty, 0, "VK_SNAPSHOT", empty, empty],
13605
- [1, 0, empty, 0, empty, 0, "VK_HELP", empty, empty],
13606
- [1, 0, empty, 0, empty, 0, "VK_APPS", empty, empty],
13607
- [1, 0, empty, 0, empty, 0, "VK_PROCESSKEY", empty, empty],
13608
- [1, 0, empty, 0, empty, 0, "VK_PACKET", empty, empty],
13609
- [1, 0, empty, 0, empty, 0, "VK_DBE_SBCSCHAR", empty, empty],
13610
- [1, 0, empty, 0, empty, 0, "VK_DBE_DBCSCHAR", empty, empty],
13611
- [1, 0, empty, 0, empty, 0, "VK_ATTN", empty, empty],
13612
- [1, 0, empty, 0, empty, 0, "VK_CRSEL", empty, empty],
13613
- [1, 0, empty, 0, empty, 0, "VK_EXSEL", empty, empty],
13614
- [1, 0, empty, 0, empty, 0, "VK_EREOF", empty, empty],
13615
- [1, 0, empty, 0, empty, 0, "VK_PLAY", empty, empty],
13616
- [1, 0, empty, 0, empty, 0, "VK_ZOOM", empty, empty],
13617
- [1, 0, empty, 0, empty, 0, "VK_NONAME", empty, empty],
13618
- [1, 0, empty, 0, empty, 0, "VK_PA1", empty, empty],
13619
- [1, 0, empty, 0, empty, 0, "VK_OEM_CLEAR", empty, empty]
14406
+ [1, ScanCode.None, "None", KeyCode.Unknown, "unknown", 0, "VK_UNKNOWN", empty, empty],
14407
+ [1, ScanCode.Hyper, "Hyper", KeyCode.Unknown, empty, 0, empty, empty, empty],
14408
+ [1, ScanCode.Super, "Super", KeyCode.Unknown, empty, 0, empty, empty, empty],
14409
+ [1, ScanCode.Fn, "Fn", KeyCode.Unknown, empty, 0, empty, empty, empty],
14410
+ [1, ScanCode.FnLock, "FnLock", KeyCode.Unknown, empty, 0, empty, empty, empty],
14411
+ [1, ScanCode.Suspend, "Suspend", KeyCode.Unknown, empty, 0, empty, empty, empty],
14412
+ [1, ScanCode.Resume, "Resume", KeyCode.Unknown, empty, 0, empty, empty, empty],
14413
+ [1, ScanCode.Turbo, "Turbo", KeyCode.Unknown, empty, 0, empty, empty, empty],
14414
+ [1, ScanCode.Sleep, "Sleep", KeyCode.Unknown, empty, 0, "VK_SLEEP", empty, empty],
14415
+ [1, ScanCode.WakeUp, "WakeUp", KeyCode.Unknown, empty, 0, empty, empty, empty],
14416
+ [0, ScanCode.KeyA, "KeyA", KeyCode.KeyA, "A", 65, "VK_A", empty, empty],
14417
+ [0, ScanCode.KeyB, "KeyB", KeyCode.KeyB, "B", 66, "VK_B", empty, empty],
14418
+ [0, ScanCode.KeyC, "KeyC", KeyCode.KeyC, "C", 67, "VK_C", empty, empty],
14419
+ [0, ScanCode.KeyD, "KeyD", KeyCode.KeyD, "D", 68, "VK_D", empty, empty],
14420
+ [0, ScanCode.KeyE, "KeyE", KeyCode.KeyE, "E", 69, "VK_E", empty, empty],
14421
+ [0, ScanCode.KeyF, "KeyF", KeyCode.KeyF, "F", 70, "VK_F", empty, empty],
14422
+ [0, ScanCode.KeyG, "KeyG", KeyCode.KeyG, "G", 71, "VK_G", empty, empty],
14423
+ [0, ScanCode.KeyH, "KeyH", KeyCode.KeyH, "H", 72, "VK_H", empty, empty],
14424
+ [0, ScanCode.KeyI, "KeyI", KeyCode.KeyI, "I", 73, "VK_I", empty, empty],
14425
+ [0, ScanCode.KeyJ, "KeyJ", KeyCode.KeyJ, "J", 74, "VK_J", empty, empty],
14426
+ [0, ScanCode.KeyK, "KeyK", KeyCode.KeyK, "K", 75, "VK_K", empty, empty],
14427
+ [0, ScanCode.KeyL, "KeyL", KeyCode.KeyL, "L", 76, "VK_L", empty, empty],
14428
+ [0, ScanCode.KeyM, "KeyM", KeyCode.KeyM, "M", 77, "VK_M", empty, empty],
14429
+ [0, ScanCode.KeyN, "KeyN", KeyCode.KeyN, "N", 78, "VK_N", empty, empty],
14430
+ [0, ScanCode.KeyO, "KeyO", KeyCode.KeyO, "O", 79, "VK_O", empty, empty],
14431
+ [0, ScanCode.KeyP, "KeyP", KeyCode.KeyP, "P", 80, "VK_P", empty, empty],
14432
+ [0, ScanCode.KeyQ, "KeyQ", KeyCode.KeyQ, "Q", 81, "VK_Q", empty, empty],
14433
+ [0, ScanCode.KeyR, "KeyR", KeyCode.KeyR, "R", 82, "VK_R", empty, empty],
14434
+ [0, ScanCode.KeyS, "KeyS", KeyCode.KeyS, "S", 83, "VK_S", empty, empty],
14435
+ [0, ScanCode.KeyT, "KeyT", KeyCode.KeyT, "T", 84, "VK_T", empty, empty],
14436
+ [0, ScanCode.KeyU, "KeyU", KeyCode.KeyU, "U", 85, "VK_U", empty, empty],
14437
+ [0, ScanCode.KeyV, "KeyV", KeyCode.KeyV, "V", 86, "VK_V", empty, empty],
14438
+ [0, ScanCode.KeyW, "KeyW", KeyCode.KeyW, "W", 87, "VK_W", empty, empty],
14439
+ [0, ScanCode.KeyX, "KeyX", KeyCode.KeyX, "X", 88, "VK_X", empty, empty],
14440
+ [0, ScanCode.KeyY, "KeyY", KeyCode.KeyY, "Y", 89, "VK_Y", empty, empty],
14441
+ [0, ScanCode.KeyZ, "KeyZ", KeyCode.KeyZ, "Z", 90, "VK_Z", empty, empty],
14442
+ [0, ScanCode.Digit1, "Digit1", KeyCode.Digit1, "1", 49, "VK_1", empty, empty],
14443
+ [0, ScanCode.Digit2, "Digit2", KeyCode.Digit2, "2", 50, "VK_2", empty, empty],
14444
+ [0, ScanCode.Digit3, "Digit3", KeyCode.Digit3, "3", 51, "VK_3", empty, empty],
14445
+ [0, ScanCode.Digit4, "Digit4", KeyCode.Digit4, "4", 52, "VK_4", empty, empty],
14446
+ [0, ScanCode.Digit5, "Digit5", KeyCode.Digit5, "5", 53, "VK_5", empty, empty],
14447
+ [0, ScanCode.Digit6, "Digit6", KeyCode.Digit6, "6", 54, "VK_6", empty, empty],
14448
+ [0, ScanCode.Digit7, "Digit7", KeyCode.Digit7, "7", 55, "VK_7", empty, empty],
14449
+ [0, ScanCode.Digit8, "Digit8", KeyCode.Digit8, "8", 56, "VK_8", empty, empty],
14450
+ [0, ScanCode.Digit9, "Digit9", KeyCode.Digit9, "9", 57, "VK_9", empty, empty],
14451
+ [0, ScanCode.Digit0, "Digit0", KeyCode.Digit0, "0", 48, "VK_0", empty, empty],
14452
+ [1, ScanCode.Enter, "Enter", KeyCode.Enter, "Enter", 13, "VK_RETURN", empty, empty],
14453
+ [1, ScanCode.Escape, "Escape", KeyCode.Escape, "Escape", 27, "VK_ESCAPE", empty, empty],
14454
+ [1, ScanCode.Backspace, "Backspace", KeyCode.Backspace, "Backspace", 8, "VK_BACK", empty, empty],
14455
+ [1, ScanCode.Tab, "Tab", KeyCode.Tab, "Tab", 9, "VK_TAB", empty, empty],
14456
+ [1, ScanCode.Space, "Space", KeyCode.Space, "Space", 32, "VK_SPACE", empty, empty],
14457
+ [0, ScanCode.Minus, "Minus", KeyCode.Minus, "-", 189, "VK_OEM_MINUS", "-", "OEM_MINUS"],
14458
+ [0, ScanCode.Equal, "Equal", KeyCode.Equal, "=", 187, "VK_OEM_PLUS", "=", "OEM_PLUS"],
14459
+ [0, ScanCode.BracketLeft, "BracketLeft", KeyCode.BracketLeft, "[", 219, "VK_OEM_4", "[", "OEM_4"],
14460
+ [0, ScanCode.BracketRight, "BracketRight", KeyCode.BracketRight, "]", 221, "VK_OEM_6", "]", "OEM_6"],
14461
+ [0, ScanCode.Backslash, "Backslash", KeyCode.Backslash, "\\", 220, "VK_OEM_5", "\\", "OEM_5"],
14462
+ [0, ScanCode.IntlHash, "IntlHash", KeyCode.Unknown, empty, 0, empty, empty, empty],
14463
+ [0, ScanCode.Semicolon, "Semicolon", KeyCode.Semicolon, ";", 186, "VK_OEM_1", ";", "OEM_1"],
14464
+ [0, ScanCode.Quote, "Quote", KeyCode.Quote, "'", 222, "VK_OEM_7", "'", "OEM_7"],
14465
+ [0, ScanCode.Backquote, "Backquote", KeyCode.Backquote, "`", 192, "VK_OEM_3", "`", "OEM_3"],
14466
+ [0, ScanCode.Comma, "Comma", KeyCode.Comma, ",", 188, "VK_OEM_COMMA", ",", "OEM_COMMA"],
14467
+ [0, ScanCode.Period, "Period", KeyCode.Period, ".", 190, "VK_OEM_PERIOD", ".", "OEM_PERIOD"],
14468
+ [0, ScanCode.Slash, "Slash", KeyCode.Slash, "/", 191, "VK_OEM_2", "/", "OEM_2"],
14469
+ [1, ScanCode.CapsLock, "CapsLock", KeyCode.CapsLock, "CapsLock", 20, "VK_CAPITAL", empty, empty],
14470
+ [1, ScanCode.F1, "F1", KeyCode.F1, "F1", 112, "VK_F1", empty, empty],
14471
+ [1, ScanCode.F2, "F2", KeyCode.F2, "F2", 113, "VK_F2", empty, empty],
14472
+ [1, ScanCode.F3, "F3", KeyCode.F3, "F3", 114, "VK_F3", empty, empty],
14473
+ [1, ScanCode.F4, "F4", KeyCode.F4, "F4", 115, "VK_F4", empty, empty],
14474
+ [1, ScanCode.F5, "F5", KeyCode.F5, "F5", 116, "VK_F5", empty, empty],
14475
+ [1, ScanCode.F6, "F6", KeyCode.F6, "F6", 117, "VK_F6", empty, empty],
14476
+ [1, ScanCode.F7, "F7", KeyCode.F7, "F7", 118, "VK_F7", empty, empty],
14477
+ [1, ScanCode.F8, "F8", KeyCode.F8, "F8", 119, "VK_F8", empty, empty],
14478
+ [1, ScanCode.F9, "F9", KeyCode.F9, "F9", 120, "VK_F9", empty, empty],
14479
+ [1, ScanCode.F10, "F10", KeyCode.F10, "F10", 121, "VK_F10", empty, empty],
14480
+ [1, ScanCode.F11, "F11", KeyCode.F11, "F11", 122, "VK_F11", empty, empty],
14481
+ [1, ScanCode.F12, "F12", KeyCode.F12, "F12", 123, "VK_F12", empty, empty],
14482
+ [1, ScanCode.PrintScreen, "PrintScreen", KeyCode.Unknown, empty, 0, empty, empty, empty],
14483
+ [1, ScanCode.ScrollLock, "ScrollLock", KeyCode.ScrollLock, "ScrollLock", 145, "VK_SCROLL", empty, empty],
14484
+ [1, ScanCode.Pause, "Pause", KeyCode.PauseBreak, "PauseBreak", 19, "VK_PAUSE", empty, empty],
14485
+ [1, ScanCode.Insert, "Insert", KeyCode.Insert, "Insert", 45, "VK_INSERT", empty, empty],
14486
+ [1, ScanCode.Home, "Home", KeyCode.Home, "Home", 36, "VK_HOME", empty, empty],
14487
+ [1, ScanCode.PageUp, "PageUp", KeyCode.PageUp, "PageUp", 33, "VK_PRIOR", empty, empty],
14488
+ [1, ScanCode.Delete, "Delete", KeyCode.Delete, "Delete", 46, "VK_DELETE", empty, empty],
14489
+ [1, ScanCode.End, "End", KeyCode.End, "End", 35, "VK_END", empty, empty],
14490
+ [1, ScanCode.PageDown, "PageDown", KeyCode.PageDown, "PageDown", 34, "VK_NEXT", empty, empty],
14491
+ [1, ScanCode.ArrowRight, "ArrowRight", KeyCode.RightArrow, "RightArrow", 39, "VK_RIGHT", "Right", empty],
14492
+ [1, ScanCode.ArrowLeft, "ArrowLeft", KeyCode.LeftArrow, "LeftArrow", 37, "VK_LEFT", "Left", empty],
14493
+ [1, ScanCode.ArrowDown, "ArrowDown", KeyCode.DownArrow, "DownArrow", 40, "VK_DOWN", "Down", empty],
14494
+ [1, ScanCode.ArrowUp, "ArrowUp", KeyCode.UpArrow, "UpArrow", 38, "VK_UP", "Up", empty],
14495
+ [1, ScanCode.NumLock, "NumLock", KeyCode.NumLock, "NumLock", 144, "VK_NUMLOCK", empty, empty],
14496
+ [1, ScanCode.NumpadDivide, "NumpadDivide", KeyCode.NumpadDivide, "NumPad_Divide", 111, "VK_DIVIDE", empty, empty],
14497
+ [1, ScanCode.NumpadMultiply, "NumpadMultiply", KeyCode.NumpadMultiply, "NumPad_Multiply", 106, "VK_MULTIPLY", empty, empty],
14498
+ [1, ScanCode.NumpadSubtract, "NumpadSubtract", KeyCode.NumpadSubtract, "NumPad_Subtract", 109, "VK_SUBTRACT", empty, empty],
14499
+ [1, ScanCode.NumpadAdd, "NumpadAdd", KeyCode.NumpadAdd, "NumPad_Add", 107, "VK_ADD", empty, empty],
14500
+ [1, ScanCode.NumpadEnter, "NumpadEnter", KeyCode.Enter, empty, 0, empty, empty, empty],
14501
+ [1, ScanCode.Numpad1, "Numpad1", KeyCode.Numpad1, "NumPad1", 97, "VK_NUMPAD1", empty, empty],
14502
+ [1, ScanCode.Numpad2, "Numpad2", KeyCode.Numpad2, "NumPad2", 98, "VK_NUMPAD2", empty, empty],
14503
+ [1, ScanCode.Numpad3, "Numpad3", KeyCode.Numpad3, "NumPad3", 99, "VK_NUMPAD3", empty, empty],
14504
+ [1, ScanCode.Numpad4, "Numpad4", KeyCode.Numpad4, "NumPad4", 100, "VK_NUMPAD4", empty, empty],
14505
+ [1, ScanCode.Numpad5, "Numpad5", KeyCode.Numpad5, "NumPad5", 101, "VK_NUMPAD5", empty, empty],
14506
+ [1, ScanCode.Numpad6, "Numpad6", KeyCode.Numpad6, "NumPad6", 102, "VK_NUMPAD6", empty, empty],
14507
+ [1, ScanCode.Numpad7, "Numpad7", KeyCode.Numpad7, "NumPad7", 103, "VK_NUMPAD7", empty, empty],
14508
+ [1, ScanCode.Numpad8, "Numpad8", KeyCode.Numpad8, "NumPad8", 104, "VK_NUMPAD8", empty, empty],
14509
+ [1, ScanCode.Numpad9, "Numpad9", KeyCode.Numpad9, "NumPad9", 105, "VK_NUMPAD9", empty, empty],
14510
+ [1, ScanCode.Numpad0, "Numpad0", KeyCode.Numpad0, "NumPad0", 96, "VK_NUMPAD0", empty, empty],
14511
+ [1, ScanCode.NumpadDecimal, "NumpadDecimal", KeyCode.NumpadDecimal, "NumPad_Decimal", 110, "VK_DECIMAL", empty, empty],
14512
+ [0, ScanCode.IntlBackslash, "IntlBackslash", KeyCode.IntlBackslash, "OEM_102", 226, "VK_OEM_102", empty, empty],
14513
+ [1, ScanCode.ContextMenu, "ContextMenu", KeyCode.ContextMenu, "ContextMenu", 93, empty, empty, empty],
14514
+ [1, ScanCode.Power, "Power", KeyCode.Unknown, empty, 0, empty, empty, empty],
14515
+ [1, ScanCode.NumpadEqual, "NumpadEqual", KeyCode.Unknown, empty, 0, empty, empty, empty],
14516
+ [1, ScanCode.F13, "F13", KeyCode.F13, "F13", 124, "VK_F13", empty, empty],
14517
+ [1, ScanCode.F14, "F14", KeyCode.F14, "F14", 125, "VK_F14", empty, empty],
14518
+ [1, ScanCode.F15, "F15", KeyCode.F15, "F15", 126, "VK_F15", empty, empty],
14519
+ [1, ScanCode.F16, "F16", KeyCode.F16, "F16", 127, "VK_F16", empty, empty],
14520
+ [1, ScanCode.F17, "F17", KeyCode.F17, "F17", 128, "VK_F17", empty, empty],
14521
+ [1, ScanCode.F18, "F18", KeyCode.F18, "F18", 129, "VK_F18", empty, empty],
14522
+ [1, ScanCode.F19, "F19", KeyCode.F19, "F19", 130, "VK_F19", empty, empty],
14523
+ [1, ScanCode.F20, "F20", KeyCode.F20, "F20", 131, "VK_F20", empty, empty],
14524
+ [1, ScanCode.F21, "F21", KeyCode.F21, "F21", 132, "VK_F21", empty, empty],
14525
+ [1, ScanCode.F22, "F22", KeyCode.F22, "F22", 133, "VK_F22", empty, empty],
14526
+ [1, ScanCode.F23, "F23", KeyCode.F23, "F23", 134, "VK_F23", empty, empty],
14527
+ [1, ScanCode.F24, "F24", KeyCode.F24, "F24", 135, "VK_F24", empty, empty],
14528
+ [1, ScanCode.Open, "Open", KeyCode.Unknown, empty, 0, empty, empty, empty],
14529
+ [1, ScanCode.Help, "Help", KeyCode.Unknown, empty, 0, empty, empty, empty],
14530
+ [1, ScanCode.Select, "Select", KeyCode.Unknown, empty, 0, empty, empty, empty],
14531
+ [1, ScanCode.Again, "Again", KeyCode.Unknown, empty, 0, empty, empty, empty],
14532
+ [1, ScanCode.Undo, "Undo", KeyCode.Unknown, empty, 0, empty, empty, empty],
14533
+ [1, ScanCode.Cut, "Cut", KeyCode.Unknown, empty, 0, empty, empty, empty],
14534
+ [1, ScanCode.Copy, "Copy", KeyCode.Unknown, empty, 0, empty, empty, empty],
14535
+ [1, ScanCode.Paste, "Paste", KeyCode.Unknown, empty, 0, empty, empty, empty],
14536
+ [1, ScanCode.Find, "Find", KeyCode.Unknown, empty, 0, empty, empty, empty],
14537
+ [1, ScanCode.AudioVolumeMute, "AudioVolumeMute", KeyCode.AudioVolumeMute, "AudioVolumeMute", 173, "VK_VOLUME_MUTE", empty, empty],
14538
+ [1, ScanCode.AudioVolumeUp, "AudioVolumeUp", KeyCode.AudioVolumeUp, "AudioVolumeUp", 175, "VK_VOLUME_UP", empty, empty],
14539
+ [1, ScanCode.AudioVolumeDown, "AudioVolumeDown", KeyCode.AudioVolumeDown, "AudioVolumeDown", 174, "VK_VOLUME_DOWN", empty, empty],
14540
+ [1, ScanCode.NumpadComma, "NumpadComma", KeyCode.NUMPAD_SEPARATOR, "NumPad_Separator", 108, "VK_SEPARATOR", empty, empty],
14541
+ [0, ScanCode.IntlRo, "IntlRo", KeyCode.ABNT_C1, "ABNT_C1", 193, "VK_ABNT_C1", empty, empty],
14542
+ [1, ScanCode.KanaMode, "KanaMode", KeyCode.Unknown, empty, 0, empty, empty, empty],
14543
+ [0, ScanCode.IntlYen, "IntlYen", KeyCode.Unknown, empty, 0, empty, empty, empty],
14544
+ [1, ScanCode.Convert, "Convert", KeyCode.Unknown, empty, 0, empty, empty, empty],
14545
+ [1, ScanCode.NonConvert, "NonConvert", KeyCode.Unknown, empty, 0, empty, empty, empty],
14546
+ [1, ScanCode.Lang1, "Lang1", KeyCode.Unknown, empty, 0, empty, empty, empty],
14547
+ [1, ScanCode.Lang2, "Lang2", KeyCode.Unknown, empty, 0, empty, empty, empty],
14548
+ [1, ScanCode.Lang3, "Lang3", KeyCode.Unknown, empty, 0, empty, empty, empty],
14549
+ [1, ScanCode.Lang4, "Lang4", KeyCode.Unknown, empty, 0, empty, empty, empty],
14550
+ [1, ScanCode.Lang5, "Lang5", KeyCode.Unknown, empty, 0, empty, empty, empty],
14551
+ [1, ScanCode.Abort, "Abort", KeyCode.Unknown, empty, 0, empty, empty, empty],
14552
+ [1, ScanCode.Props, "Props", KeyCode.Unknown, empty, 0, empty, empty, empty],
14553
+ [1, ScanCode.NumpadParenLeft, "NumpadParenLeft", KeyCode.Unknown, empty, 0, empty, empty, empty],
14554
+ [1, ScanCode.NumpadParenRight, "NumpadParenRight", KeyCode.Unknown, empty, 0, empty, empty, empty],
14555
+ [1, ScanCode.NumpadBackspace, "NumpadBackspace", KeyCode.Unknown, empty, 0, empty, empty, empty],
14556
+ [1, ScanCode.NumpadMemoryStore, "NumpadMemoryStore", KeyCode.Unknown, empty, 0, empty, empty, empty],
14557
+ [1, ScanCode.NumpadMemoryRecall, "NumpadMemoryRecall", KeyCode.Unknown, empty, 0, empty, empty, empty],
14558
+ [1, ScanCode.NumpadMemoryClear, "NumpadMemoryClear", KeyCode.Unknown, empty, 0, empty, empty, empty],
14559
+ [1, ScanCode.NumpadMemoryAdd, "NumpadMemoryAdd", KeyCode.Unknown, empty, 0, empty, empty, empty],
14560
+ [1, ScanCode.NumpadMemorySubtract, "NumpadMemorySubtract", KeyCode.Unknown, empty, 0, empty, empty, empty],
14561
+ [1, ScanCode.NumpadClear, "NumpadClear", KeyCode.Clear, "Clear", 12, "VK_CLEAR", empty, empty],
14562
+ [1, ScanCode.NumpadClearEntry, "NumpadClearEntry", KeyCode.Unknown, empty, 0, empty, empty, empty],
14563
+ [1, ScanCode.None, empty, KeyCode.Ctrl, "Ctrl", 17, "VK_CONTROL", empty, empty],
14564
+ [1, ScanCode.None, empty, KeyCode.Shift, "Shift", 16, "VK_SHIFT", empty, empty],
14565
+ [1, ScanCode.None, empty, KeyCode.Alt, "Alt", 18, "VK_MENU", empty, empty],
14566
+ [1, ScanCode.None, empty, KeyCode.Meta, "Meta", 91, "VK_COMMAND", empty, empty],
14567
+ [1, ScanCode.ControlLeft, "ControlLeft", KeyCode.Ctrl, empty, 0, "VK_LCONTROL", empty, empty],
14568
+ [1, ScanCode.ShiftLeft, "ShiftLeft", KeyCode.Shift, empty, 0, "VK_LSHIFT", empty, empty],
14569
+ [1, ScanCode.AltLeft, "AltLeft", KeyCode.Alt, empty, 0, "VK_LMENU", empty, empty],
14570
+ [1, ScanCode.MetaLeft, "MetaLeft", KeyCode.Meta, empty, 0, "VK_LWIN", empty, empty],
14571
+ [1, ScanCode.ControlRight, "ControlRight", KeyCode.Ctrl, empty, 0, "VK_RCONTROL", empty, empty],
14572
+ [1, ScanCode.ShiftRight, "ShiftRight", KeyCode.Shift, empty, 0, "VK_RSHIFT", empty, empty],
14573
+ [1, ScanCode.AltRight, "AltRight", KeyCode.Alt, empty, 0, "VK_RMENU", empty, empty],
14574
+ [1, ScanCode.MetaRight, "MetaRight", KeyCode.Meta, empty, 0, "VK_RWIN", empty, empty],
14575
+ [1, ScanCode.BrightnessUp, "BrightnessUp", KeyCode.Unknown, empty, 0, empty, empty, empty],
14576
+ [1, ScanCode.BrightnessDown, "BrightnessDown", KeyCode.Unknown, empty, 0, empty, empty, empty],
14577
+ [1, ScanCode.MediaPlay, "MediaPlay", KeyCode.Unknown, empty, 0, empty, empty, empty],
14578
+ [1, ScanCode.MediaRecord, "MediaRecord", KeyCode.Unknown, empty, 0, empty, empty, empty],
14579
+ [1, ScanCode.MediaFastForward, "MediaFastForward", KeyCode.Unknown, empty, 0, empty, empty, empty],
14580
+ [1, ScanCode.MediaRewind, "MediaRewind", KeyCode.Unknown, empty, 0, empty, empty, empty],
14581
+ [1, ScanCode.MediaTrackNext, "MediaTrackNext", KeyCode.MediaTrackNext, "MediaTrackNext", 176, "VK_MEDIA_NEXT_TRACK", empty, empty],
14582
+ [1, ScanCode.MediaTrackPrevious, "MediaTrackPrevious", KeyCode.MediaTrackPrevious, "MediaTrackPrevious", 177, "VK_MEDIA_PREV_TRACK", empty, empty],
14583
+ [1, ScanCode.MediaStop, "MediaStop", KeyCode.MediaStop, "MediaStop", 178, "VK_MEDIA_STOP", empty, empty],
14584
+ [1, ScanCode.Eject, "Eject", KeyCode.Unknown, empty, 0, empty, empty, empty],
14585
+ [1, ScanCode.MediaPlayPause, "MediaPlayPause", KeyCode.MediaPlayPause, "MediaPlayPause", 179, "VK_MEDIA_PLAY_PAUSE", empty, empty],
14586
+ [1, ScanCode.MediaSelect, "MediaSelect", KeyCode.LaunchMediaPlayer, "LaunchMediaPlayer", 181, "VK_MEDIA_LAUNCH_MEDIA_SELECT", empty, empty],
14587
+ [1, ScanCode.LaunchMail, "LaunchMail", KeyCode.LaunchMail, "LaunchMail", 180, "VK_MEDIA_LAUNCH_MAIL", empty, empty],
14588
+ [1, ScanCode.LaunchApp2, "LaunchApp2", KeyCode.LaunchApp2, "LaunchApp2", 183, "VK_MEDIA_LAUNCH_APP2", empty, empty],
14589
+ [1, ScanCode.LaunchApp1, "LaunchApp1", KeyCode.Unknown, empty, 0, "VK_MEDIA_LAUNCH_APP1", empty, empty],
14590
+ [1, ScanCode.SelectTask, "SelectTask", KeyCode.Unknown, empty, 0, empty, empty, empty],
14591
+ [1, ScanCode.LaunchScreenSaver, "LaunchScreenSaver", KeyCode.Unknown, empty, 0, empty, empty, empty],
14592
+ [1, ScanCode.BrowserSearch, "BrowserSearch", KeyCode.BrowserSearch, "BrowserSearch", 170, "VK_BROWSER_SEARCH", empty, empty],
14593
+ [1, ScanCode.BrowserHome, "BrowserHome", KeyCode.BrowserHome, "BrowserHome", 172, "VK_BROWSER_HOME", empty, empty],
14594
+ [1, ScanCode.BrowserBack, "BrowserBack", KeyCode.BrowserBack, "BrowserBack", 166, "VK_BROWSER_BACK", empty, empty],
14595
+ [1, ScanCode.BrowserForward, "BrowserForward", KeyCode.BrowserForward, "BrowserForward", 167, "VK_BROWSER_FORWARD", empty, empty],
14596
+ [1, ScanCode.BrowserStop, "BrowserStop", KeyCode.Unknown, empty, 0, "VK_BROWSER_STOP", empty, empty],
14597
+ [1, ScanCode.BrowserRefresh, "BrowserRefresh", KeyCode.Unknown, empty, 0, "VK_BROWSER_REFRESH", empty, empty],
14598
+ [1, ScanCode.BrowserFavorites, "BrowserFavorites", KeyCode.Unknown, empty, 0, "VK_BROWSER_FAVORITES", empty, empty],
14599
+ [1, ScanCode.ZoomToggle, "ZoomToggle", KeyCode.Unknown, empty, 0, empty, empty, empty],
14600
+ [1, ScanCode.MailReply, "MailReply", KeyCode.Unknown, empty, 0, empty, empty, empty],
14601
+ [1, ScanCode.MailForward, "MailForward", KeyCode.Unknown, empty, 0, empty, empty, empty],
14602
+ [1, ScanCode.MailSend, "MailSend", KeyCode.Unknown, empty, 0, empty, empty, empty],
14603
+ [1, ScanCode.None, empty, KeyCode.KEY_IN_COMPOSITION, "KeyInComposition", 229, empty, empty, empty],
14604
+ [1, ScanCode.None, empty, KeyCode.ABNT_C2, "ABNT_C2", 194, "VK_ABNT_C2", empty, empty],
14605
+ [1, ScanCode.None, empty, KeyCode.OEM_8, "OEM_8", 223, "VK_OEM_8", empty, empty],
14606
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_KANA", empty, empty],
14607
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_HANGUL", empty, empty],
14608
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_JUNJA", empty, empty],
14609
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_FINAL", empty, empty],
14610
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_HANJA", empty, empty],
14611
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_KANJI", empty, empty],
14612
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_CONVERT", empty, empty],
14613
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_NONCONVERT", empty, empty],
14614
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_ACCEPT", empty, empty],
14615
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_MODECHANGE", empty, empty],
14616
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_SELECT", empty, empty],
14617
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_PRINT", empty, empty],
14618
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_EXECUTE", empty, empty],
14619
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_SNAPSHOT", empty, empty],
14620
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_HELP", empty, empty],
14621
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_APPS", empty, empty],
14622
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_PROCESSKEY", empty, empty],
14623
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_PACKET", empty, empty],
14624
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_DBE_SBCSCHAR", empty, empty],
14625
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_DBE_DBCSCHAR", empty, empty],
14626
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_ATTN", empty, empty],
14627
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_CRSEL", empty, empty],
14628
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_EXSEL", empty, empty],
14629
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_EREOF", empty, empty],
14630
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_PLAY", empty, empty],
14631
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_ZOOM", empty, empty],
14632
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_NONAME", empty, empty],
14633
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_PA1", empty, empty],
14634
+ [1, ScanCode.None, empty, KeyCode.Unknown, empty, 0, "VK_OEM_CLEAR", empty, empty]
13620
14635
  ];
13621
14636
  const seenKeyCode = [];
13622
14637
  const seenScanCode = [];
@@ -13629,7 +14644,7 @@ ${stackTraceFormattedLines.join("\n")}
13629
14644
  scanCodeLowerCaseStrToInt[scanCodeStr.toLowerCase()] = scanCode;
13630
14645
  if (immutable) {
13631
14646
  IMMUTABLE_CODE_TO_KEY_CODE[scanCode] = keyCode;
13632
- if (keyCode !== 0 && keyCode !== 3 && keyCode !== 5 && keyCode !== 4 && keyCode !== 6 && keyCode !== 57) {
14647
+ if (keyCode !== KeyCode.Unknown && keyCode !== KeyCode.Enter && keyCode !== KeyCode.Ctrl && keyCode !== KeyCode.Shift && keyCode !== KeyCode.Alt && keyCode !== KeyCode.Meta) {
13633
14648
  IMMUTABLE_KEY_CODE_TO_CODE[keyCode] = scanCode;
13634
14649
  }
13635
14650
  }
@@ -13652,7 +14667,7 @@ ${stackTraceFormattedLines.join("\n")}
13652
14667
  NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE[vkey] = keyCode;
13653
14668
  }
13654
14669
  }
13655
- IMMUTABLE_KEY_CODE_TO_CODE[3] = 46;
14670
+ IMMUTABLE_KEY_CODE_TO_CODE[KeyCode.Enter] = ScanCode.Enter;
13656
14671
  })();
13657
14672
  var KeyCodeUtils;
13658
14673
  (function(KeyCodeUtils2) {
@@ -13677,29 +14692,41 @@ ${stackTraceFormattedLines.join("\n")}
13677
14692
  }
13678
14693
  KeyCodeUtils2.fromUserSettings = fromUserSettings;
13679
14694
  function toElectronAccelerator(keyCode) {
13680
- if (keyCode >= 98 && keyCode <= 113) {
14695
+ if (keyCode >= KeyCode.Numpad0 && keyCode <= KeyCode.NumpadDivide) {
13681
14696
  return null;
13682
14697
  }
13683
14698
  switch (keyCode) {
13684
- case 16:
14699
+ case KeyCode.UpArrow:
13685
14700
  return "Up";
13686
- case 18:
14701
+ case KeyCode.DownArrow:
13687
14702
  return "Down";
13688
- case 15:
14703
+ case KeyCode.LeftArrow:
13689
14704
  return "Left";
13690
- case 17:
14705
+ case KeyCode.RightArrow:
13691
14706
  return "Right";
13692
14707
  }
13693
14708
  return uiMap.keyCodeToStr(keyCode);
13694
14709
  }
13695
14710
  KeyCodeUtils2.toElectronAccelerator = toElectronAccelerator;
13696
14711
  })(KeyCodeUtils || (KeyCodeUtils = {}));
14712
+ var KeyMod$1;
14713
+ (function(KeyMod2) {
14714
+ KeyMod2[KeyMod2["CtrlCmd"] = 2048] = "CtrlCmd";
14715
+ KeyMod2[KeyMod2["Shift"] = 1024] = "Shift";
14716
+ KeyMod2[KeyMod2["Alt"] = 512] = "Alt";
14717
+ KeyMod2[KeyMod2["WinCtrl"] = 256] = "WinCtrl";
14718
+ })(KeyMod$1 || (KeyMod$1 = {}));
13697
14719
  function KeyChord(firstPart, secondPart) {
13698
14720
  const chordPart = (secondPart & 65535) << 16 >>> 0;
13699
14721
  return (firstPart | chordPart) >>> 0;
13700
14722
  }
13701
14723
 
13702
14724
  // node_modules/vscode/vscode/src/vs/editor/common/core/selection.js
14725
+ var SelectionDirection;
14726
+ (function(SelectionDirection3) {
14727
+ SelectionDirection3[SelectionDirection3["LTR"] = 0] = "LTR";
14728
+ SelectionDirection3[SelectionDirection3["RTL"] = 1] = "RTL";
14729
+ })(SelectionDirection || (SelectionDirection = {}));
13703
14730
  var Selection = class _Selection extends Range {
13704
14731
  constructor(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn) {
13705
14732
  super(selectionStartLineNumber, selectionStartColumn, positionLineNumber, positionColumn);
@@ -13719,12 +14746,12 @@ ${stackTraceFormattedLines.join("\n")}
13719
14746
  }
13720
14747
  getDirection() {
13721
14748
  if (this.selectionStartLineNumber === this.startLineNumber && this.selectionStartColumn === this.startColumn) {
13722
- return 0;
14749
+ return SelectionDirection.LTR;
13723
14750
  }
13724
- return 1;
14751
+ return SelectionDirection.RTL;
13725
14752
  }
13726
14753
  setEndPosition(endLineNumber, endColumn) {
13727
- if (this.getDirection() === 0) {
14754
+ if (this.getDirection() === SelectionDirection.LTR) {
13728
14755
  return new _Selection(this.startLineNumber, this.startColumn, endLineNumber, endColumn);
13729
14756
  }
13730
14757
  return new _Selection(endLineNumber, endColumn, this.startLineNumber, this.startColumn);
@@ -13736,7 +14763,7 @@ ${stackTraceFormattedLines.join("\n")}
13736
14763
  return new Position(this.selectionStartLineNumber, this.selectionStartColumn);
13737
14764
  }
13738
14765
  setStartPosition(startLineNumber, startColumn) {
13739
- if (this.getDirection() === 0) {
14766
+ if (this.getDirection() === SelectionDirection.LTR) {
13740
14767
  return new _Selection(startLineNumber, startColumn, this.endLineNumber, this.endColumn);
13741
14768
  }
13742
14769
  return new _Selection(this.endLineNumber, this.endColumn, startLineNumber, startColumn);
@@ -13745,7 +14772,7 @@ ${stackTraceFormattedLines.join("\n")}
13745
14772
  return new _Selection(start.lineNumber, start.column, end.lineNumber, end.column);
13746
14773
  }
13747
14774
  static fromRange(range, direction) {
13748
- if (direction === 0) {
14775
+ if (direction === SelectionDirection.LTR) {
13749
14776
  return new _Selection(
13750
14777
  range.startLineNumber,
13751
14778
  range.startColumn,
@@ -13790,7 +14817,7 @@ ${stackTraceFormattedLines.join("\n")}
13790
14817
  return obj && typeof obj.selectionStartLineNumber === "number" && typeof obj.selectionStartColumn === "number" && typeof obj.positionLineNumber === "number" && typeof obj.positionColumn === "number";
13791
14818
  }
13792
14819
  static createWithDirection(startLineNumber, startColumn, endLineNumber, endColumn, direction) {
13793
- if (direction === 0) {
14820
+ if (direction === SelectionDirection.LTR) {
13794
14821
  return new _Selection(startLineNumber, startColumn, endLineNumber, endColumn);
13795
14822
  }
13796
14823
  return new _Selection(endLineNumber, endColumn, startLineNumber, startColumn);
@@ -13804,58 +14831,58 @@ ${stackTraceFormattedLines.join("\n")}
13804
14831
  AccessibilitySupport2[AccessibilitySupport2["Disabled"] = 1] = "Disabled";
13805
14832
  AccessibilitySupport2[AccessibilitySupport2["Enabled"] = 2] = "Enabled";
13806
14833
  })(AccessibilitySupport || (AccessibilitySupport = {}));
13807
- var CodeActionTriggerType;
13808
- (function(CodeActionTriggerType2) {
13809
- CodeActionTriggerType2[CodeActionTriggerType2["Invoke"] = 1] = "Invoke";
13810
- CodeActionTriggerType2[CodeActionTriggerType2["Auto"] = 2] = "Auto";
13811
- })(CodeActionTriggerType || (CodeActionTriggerType = {}));
13812
- var CompletionItemInsertTextRule;
13813
- (function(CompletionItemInsertTextRule2) {
13814
- CompletionItemInsertTextRule2[CompletionItemInsertTextRule2["None"] = 0] = "None";
13815
- CompletionItemInsertTextRule2[CompletionItemInsertTextRule2["KeepWhitespace"] = 1] = "KeepWhitespace";
13816
- CompletionItemInsertTextRule2[CompletionItemInsertTextRule2["InsertAsSnippet"] = 4] = "InsertAsSnippet";
13817
- })(CompletionItemInsertTextRule || (CompletionItemInsertTextRule = {}));
13818
- var CompletionItemKind;
13819
- (function(CompletionItemKind2) {
13820
- CompletionItemKind2[CompletionItemKind2["Method"] = 0] = "Method";
13821
- CompletionItemKind2[CompletionItemKind2["Function"] = 1] = "Function";
13822
- CompletionItemKind2[CompletionItemKind2["Constructor"] = 2] = "Constructor";
13823
- CompletionItemKind2[CompletionItemKind2["Field"] = 3] = "Field";
13824
- CompletionItemKind2[CompletionItemKind2["Variable"] = 4] = "Variable";
13825
- CompletionItemKind2[CompletionItemKind2["Class"] = 5] = "Class";
13826
- CompletionItemKind2[CompletionItemKind2["Struct"] = 6] = "Struct";
13827
- CompletionItemKind2[CompletionItemKind2["Interface"] = 7] = "Interface";
13828
- CompletionItemKind2[CompletionItemKind2["Module"] = 8] = "Module";
13829
- CompletionItemKind2[CompletionItemKind2["Property"] = 9] = "Property";
13830
- CompletionItemKind2[CompletionItemKind2["Event"] = 10] = "Event";
13831
- CompletionItemKind2[CompletionItemKind2["Operator"] = 11] = "Operator";
13832
- CompletionItemKind2[CompletionItemKind2["Unit"] = 12] = "Unit";
13833
- CompletionItemKind2[CompletionItemKind2["Value"] = 13] = "Value";
13834
- CompletionItemKind2[CompletionItemKind2["Constant"] = 14] = "Constant";
13835
- CompletionItemKind2[CompletionItemKind2["Enum"] = 15] = "Enum";
13836
- CompletionItemKind2[CompletionItemKind2["EnumMember"] = 16] = "EnumMember";
13837
- CompletionItemKind2[CompletionItemKind2["Keyword"] = 17] = "Keyword";
13838
- CompletionItemKind2[CompletionItemKind2["Text"] = 18] = "Text";
13839
- CompletionItemKind2[CompletionItemKind2["Color"] = 19] = "Color";
13840
- CompletionItemKind2[CompletionItemKind2["File"] = 20] = "File";
13841
- CompletionItemKind2[CompletionItemKind2["Reference"] = 21] = "Reference";
13842
- CompletionItemKind2[CompletionItemKind2["Customcolor"] = 22] = "Customcolor";
13843
- CompletionItemKind2[CompletionItemKind2["Folder"] = 23] = "Folder";
13844
- CompletionItemKind2[CompletionItemKind2["TypeParameter"] = 24] = "TypeParameter";
13845
- CompletionItemKind2[CompletionItemKind2["User"] = 25] = "User";
13846
- CompletionItemKind2[CompletionItemKind2["Issue"] = 26] = "Issue";
13847
- CompletionItemKind2[CompletionItemKind2["Snippet"] = 27] = "Snippet";
13848
- })(CompletionItemKind || (CompletionItemKind = {}));
13849
- var CompletionItemTag;
13850
- (function(CompletionItemTag2) {
13851
- CompletionItemTag2[CompletionItemTag2["Deprecated"] = 1] = "Deprecated";
13852
- })(CompletionItemTag || (CompletionItemTag = {}));
13853
- var CompletionTriggerKind;
13854
- (function(CompletionTriggerKind2) {
13855
- CompletionTriggerKind2[CompletionTriggerKind2["Invoke"] = 0] = "Invoke";
13856
- CompletionTriggerKind2[CompletionTriggerKind2["TriggerCharacter"] = 1] = "TriggerCharacter";
13857
- CompletionTriggerKind2[CompletionTriggerKind2["TriggerForIncompleteCompletions"] = 2] = "TriggerForIncompleteCompletions";
13858
- })(CompletionTriggerKind || (CompletionTriggerKind = {}));
14834
+ var CodeActionTriggerType2;
14835
+ (function(CodeActionTriggerType3) {
14836
+ CodeActionTriggerType3[CodeActionTriggerType3["Invoke"] = 1] = "Invoke";
14837
+ CodeActionTriggerType3[CodeActionTriggerType3["Auto"] = 2] = "Auto";
14838
+ })(CodeActionTriggerType2 || (CodeActionTriggerType2 = {}));
14839
+ var CompletionItemInsertTextRule2;
14840
+ (function(CompletionItemInsertTextRule3) {
14841
+ CompletionItemInsertTextRule3[CompletionItemInsertTextRule3["None"] = 0] = "None";
14842
+ CompletionItemInsertTextRule3[CompletionItemInsertTextRule3["KeepWhitespace"] = 1] = "KeepWhitespace";
14843
+ CompletionItemInsertTextRule3[CompletionItemInsertTextRule3["InsertAsSnippet"] = 4] = "InsertAsSnippet";
14844
+ })(CompletionItemInsertTextRule2 || (CompletionItemInsertTextRule2 = {}));
14845
+ var CompletionItemKind2;
14846
+ (function(CompletionItemKind3) {
14847
+ CompletionItemKind3[CompletionItemKind3["Method"] = 0] = "Method";
14848
+ CompletionItemKind3[CompletionItemKind3["Function"] = 1] = "Function";
14849
+ CompletionItemKind3[CompletionItemKind3["Constructor"] = 2] = "Constructor";
14850
+ CompletionItemKind3[CompletionItemKind3["Field"] = 3] = "Field";
14851
+ CompletionItemKind3[CompletionItemKind3["Variable"] = 4] = "Variable";
14852
+ CompletionItemKind3[CompletionItemKind3["Class"] = 5] = "Class";
14853
+ CompletionItemKind3[CompletionItemKind3["Struct"] = 6] = "Struct";
14854
+ CompletionItemKind3[CompletionItemKind3["Interface"] = 7] = "Interface";
14855
+ CompletionItemKind3[CompletionItemKind3["Module"] = 8] = "Module";
14856
+ CompletionItemKind3[CompletionItemKind3["Property"] = 9] = "Property";
14857
+ CompletionItemKind3[CompletionItemKind3["Event"] = 10] = "Event";
14858
+ CompletionItemKind3[CompletionItemKind3["Operator"] = 11] = "Operator";
14859
+ CompletionItemKind3[CompletionItemKind3["Unit"] = 12] = "Unit";
14860
+ CompletionItemKind3[CompletionItemKind3["Value"] = 13] = "Value";
14861
+ CompletionItemKind3[CompletionItemKind3["Constant"] = 14] = "Constant";
14862
+ CompletionItemKind3[CompletionItemKind3["Enum"] = 15] = "Enum";
14863
+ CompletionItemKind3[CompletionItemKind3["EnumMember"] = 16] = "EnumMember";
14864
+ CompletionItemKind3[CompletionItemKind3["Keyword"] = 17] = "Keyword";
14865
+ CompletionItemKind3[CompletionItemKind3["Text"] = 18] = "Text";
14866
+ CompletionItemKind3[CompletionItemKind3["Color"] = 19] = "Color";
14867
+ CompletionItemKind3[CompletionItemKind3["File"] = 20] = "File";
14868
+ CompletionItemKind3[CompletionItemKind3["Reference"] = 21] = "Reference";
14869
+ CompletionItemKind3[CompletionItemKind3["Customcolor"] = 22] = "Customcolor";
14870
+ CompletionItemKind3[CompletionItemKind3["Folder"] = 23] = "Folder";
14871
+ CompletionItemKind3[CompletionItemKind3["TypeParameter"] = 24] = "TypeParameter";
14872
+ CompletionItemKind3[CompletionItemKind3["User"] = 25] = "User";
14873
+ CompletionItemKind3[CompletionItemKind3["Issue"] = 26] = "Issue";
14874
+ CompletionItemKind3[CompletionItemKind3["Snippet"] = 27] = "Snippet";
14875
+ })(CompletionItemKind2 || (CompletionItemKind2 = {}));
14876
+ var CompletionItemTag2;
14877
+ (function(CompletionItemTag3) {
14878
+ CompletionItemTag3[CompletionItemTag3["Deprecated"] = 1] = "Deprecated";
14879
+ })(CompletionItemTag2 || (CompletionItemTag2 = {}));
14880
+ var CompletionTriggerKind2;
14881
+ (function(CompletionTriggerKind3) {
14882
+ CompletionTriggerKind3[CompletionTriggerKind3["Invoke"] = 0] = "Invoke";
14883
+ CompletionTriggerKind3[CompletionTriggerKind3["TriggerCharacter"] = 1] = "TriggerCharacter";
14884
+ CompletionTriggerKind3[CompletionTriggerKind3["TriggerForIncompleteCompletions"] = 2] = "TriggerForIncompleteCompletions";
14885
+ })(CompletionTriggerKind2 || (CompletionTriggerKind2 = {}));
13859
14886
  var ContentWidgetPositionPreference;
13860
14887
  (function(ContentWidgetPositionPreference2) {
13861
14888
  ContentWidgetPositionPreference2[ContentWidgetPositionPreference2["EXACT"] = 0] = "EXACT";
@@ -13873,9 +14900,9 @@ ${stackTraceFormattedLines.join("\n")}
13873
14900
  CursorChangeReason2[CursorChangeReason2["Redo"] = 6] = "Redo";
13874
14901
  })(CursorChangeReason || (CursorChangeReason = {}));
13875
14902
  var DefaultEndOfLine;
13876
- (function(DefaultEndOfLine2) {
13877
- DefaultEndOfLine2[DefaultEndOfLine2["LF"] = 1] = "LF";
13878
- DefaultEndOfLine2[DefaultEndOfLine2["CRLF"] = 2] = "CRLF";
14903
+ (function(DefaultEndOfLine3) {
14904
+ DefaultEndOfLine3[DefaultEndOfLine3["LF"] = 1] = "LF";
14905
+ DefaultEndOfLine3[DefaultEndOfLine3["CRLF"] = 2] = "CRLF";
13879
14906
  })(DefaultEndOfLine || (DefaultEndOfLine = {}));
13880
14907
  var DocumentHighlightKind2;
13881
14908
  (function(DocumentHighlightKind3) {
@@ -14045,15 +15072,15 @@ ${stackTraceFormattedLines.join("\n")}
14045
15072
  EditorOption2[EditorOption2["inlineCompletionsAccessibilityVerbose"] = 149] = "inlineCompletionsAccessibilityVerbose";
14046
15073
  })(EditorOption || (EditorOption = {}));
14047
15074
  var EndOfLinePreference;
14048
- (function(EndOfLinePreference2) {
14049
- EndOfLinePreference2[EndOfLinePreference2["TextDefined"] = 0] = "TextDefined";
14050
- EndOfLinePreference2[EndOfLinePreference2["LF"] = 1] = "LF";
14051
- EndOfLinePreference2[EndOfLinePreference2["CRLF"] = 2] = "CRLF";
15075
+ (function(EndOfLinePreference3) {
15076
+ EndOfLinePreference3[EndOfLinePreference3["TextDefined"] = 0] = "TextDefined";
15077
+ EndOfLinePreference3[EndOfLinePreference3["LF"] = 1] = "LF";
15078
+ EndOfLinePreference3[EndOfLinePreference3["CRLF"] = 2] = "CRLF";
14052
15079
  })(EndOfLinePreference || (EndOfLinePreference = {}));
14053
15080
  var EndOfLineSequence;
14054
- (function(EndOfLineSequence2) {
14055
- EndOfLineSequence2[EndOfLineSequence2["LF"] = 0] = "LF";
14056
- EndOfLineSequence2[EndOfLineSequence2["CRLF"] = 1] = "CRLF";
15081
+ (function(EndOfLineSequence3) {
15082
+ EndOfLineSequence3[EndOfLineSequence3["LF"] = 0] = "LF";
15083
+ EndOfLineSequence3[EndOfLineSequence3["CRLF"] = 1] = "CRLF";
14057
15084
  })(EndOfLineSequence || (EndOfLineSequence = {}));
14058
15085
  var GlyphMarginLane;
14059
15086
  (function(GlyphMarginLane3) {
@@ -14095,143 +15122,143 @@ ${stackTraceFormattedLines.join("\n")}
14095
15122
  InlineEditTriggerKind3[InlineEditTriggerKind3["Invoke"] = 0] = "Invoke";
14096
15123
  InlineEditTriggerKind3[InlineEditTriggerKind3["Automatic"] = 1] = "Automatic";
14097
15124
  })(InlineEditTriggerKind2 || (InlineEditTriggerKind2 = {}));
14098
- var KeyCode;
14099
- (function(KeyCode2) {
14100
- KeyCode2[KeyCode2["DependsOnKbLayout"] = -1] = "DependsOnKbLayout";
14101
- KeyCode2[KeyCode2["Unknown"] = 0] = "Unknown";
14102
- KeyCode2[KeyCode2["Backspace"] = 1] = "Backspace";
14103
- KeyCode2[KeyCode2["Tab"] = 2] = "Tab";
14104
- KeyCode2[KeyCode2["Enter"] = 3] = "Enter";
14105
- KeyCode2[KeyCode2["Shift"] = 4] = "Shift";
14106
- KeyCode2[KeyCode2["Ctrl"] = 5] = "Ctrl";
14107
- KeyCode2[KeyCode2["Alt"] = 6] = "Alt";
14108
- KeyCode2[KeyCode2["PauseBreak"] = 7] = "PauseBreak";
14109
- KeyCode2[KeyCode2["CapsLock"] = 8] = "CapsLock";
14110
- KeyCode2[KeyCode2["Escape"] = 9] = "Escape";
14111
- KeyCode2[KeyCode2["Space"] = 10] = "Space";
14112
- KeyCode2[KeyCode2["PageUp"] = 11] = "PageUp";
14113
- KeyCode2[KeyCode2["PageDown"] = 12] = "PageDown";
14114
- KeyCode2[KeyCode2["End"] = 13] = "End";
14115
- KeyCode2[KeyCode2["Home"] = 14] = "Home";
14116
- KeyCode2[KeyCode2["LeftArrow"] = 15] = "LeftArrow";
14117
- KeyCode2[KeyCode2["UpArrow"] = 16] = "UpArrow";
14118
- KeyCode2[KeyCode2["RightArrow"] = 17] = "RightArrow";
14119
- KeyCode2[KeyCode2["DownArrow"] = 18] = "DownArrow";
14120
- KeyCode2[KeyCode2["Insert"] = 19] = "Insert";
14121
- KeyCode2[KeyCode2["Delete"] = 20] = "Delete";
14122
- KeyCode2[KeyCode2["Digit0"] = 21] = "Digit0";
14123
- KeyCode2[KeyCode2["Digit1"] = 22] = "Digit1";
14124
- KeyCode2[KeyCode2["Digit2"] = 23] = "Digit2";
14125
- KeyCode2[KeyCode2["Digit3"] = 24] = "Digit3";
14126
- KeyCode2[KeyCode2["Digit4"] = 25] = "Digit4";
14127
- KeyCode2[KeyCode2["Digit5"] = 26] = "Digit5";
14128
- KeyCode2[KeyCode2["Digit6"] = 27] = "Digit6";
14129
- KeyCode2[KeyCode2["Digit7"] = 28] = "Digit7";
14130
- KeyCode2[KeyCode2["Digit8"] = 29] = "Digit8";
14131
- KeyCode2[KeyCode2["Digit9"] = 30] = "Digit9";
14132
- KeyCode2[KeyCode2["KeyA"] = 31] = "KeyA";
14133
- KeyCode2[KeyCode2["KeyB"] = 32] = "KeyB";
14134
- KeyCode2[KeyCode2["KeyC"] = 33] = "KeyC";
14135
- KeyCode2[KeyCode2["KeyD"] = 34] = "KeyD";
14136
- KeyCode2[KeyCode2["KeyE"] = 35] = "KeyE";
14137
- KeyCode2[KeyCode2["KeyF"] = 36] = "KeyF";
14138
- KeyCode2[KeyCode2["KeyG"] = 37] = "KeyG";
14139
- KeyCode2[KeyCode2["KeyH"] = 38] = "KeyH";
14140
- KeyCode2[KeyCode2["KeyI"] = 39] = "KeyI";
14141
- KeyCode2[KeyCode2["KeyJ"] = 40] = "KeyJ";
14142
- KeyCode2[KeyCode2["KeyK"] = 41] = "KeyK";
14143
- KeyCode2[KeyCode2["KeyL"] = 42] = "KeyL";
14144
- KeyCode2[KeyCode2["KeyM"] = 43] = "KeyM";
14145
- KeyCode2[KeyCode2["KeyN"] = 44] = "KeyN";
14146
- KeyCode2[KeyCode2["KeyO"] = 45] = "KeyO";
14147
- KeyCode2[KeyCode2["KeyP"] = 46] = "KeyP";
14148
- KeyCode2[KeyCode2["KeyQ"] = 47] = "KeyQ";
14149
- KeyCode2[KeyCode2["KeyR"] = 48] = "KeyR";
14150
- KeyCode2[KeyCode2["KeyS"] = 49] = "KeyS";
14151
- KeyCode2[KeyCode2["KeyT"] = 50] = "KeyT";
14152
- KeyCode2[KeyCode2["KeyU"] = 51] = "KeyU";
14153
- KeyCode2[KeyCode2["KeyV"] = 52] = "KeyV";
14154
- KeyCode2[KeyCode2["KeyW"] = 53] = "KeyW";
14155
- KeyCode2[KeyCode2["KeyX"] = 54] = "KeyX";
14156
- KeyCode2[KeyCode2["KeyY"] = 55] = "KeyY";
14157
- KeyCode2[KeyCode2["KeyZ"] = 56] = "KeyZ";
14158
- KeyCode2[KeyCode2["Meta"] = 57] = "Meta";
14159
- KeyCode2[KeyCode2["ContextMenu"] = 58] = "ContextMenu";
14160
- KeyCode2[KeyCode2["F1"] = 59] = "F1";
14161
- KeyCode2[KeyCode2["F2"] = 60] = "F2";
14162
- KeyCode2[KeyCode2["F3"] = 61] = "F3";
14163
- KeyCode2[KeyCode2["F4"] = 62] = "F4";
14164
- KeyCode2[KeyCode2["F5"] = 63] = "F5";
14165
- KeyCode2[KeyCode2["F6"] = 64] = "F6";
14166
- KeyCode2[KeyCode2["F7"] = 65] = "F7";
14167
- KeyCode2[KeyCode2["F8"] = 66] = "F8";
14168
- KeyCode2[KeyCode2["F9"] = 67] = "F9";
14169
- KeyCode2[KeyCode2["F10"] = 68] = "F10";
14170
- KeyCode2[KeyCode2["F11"] = 69] = "F11";
14171
- KeyCode2[KeyCode2["F12"] = 70] = "F12";
14172
- KeyCode2[KeyCode2["F13"] = 71] = "F13";
14173
- KeyCode2[KeyCode2["F14"] = 72] = "F14";
14174
- KeyCode2[KeyCode2["F15"] = 73] = "F15";
14175
- KeyCode2[KeyCode2["F16"] = 74] = "F16";
14176
- KeyCode2[KeyCode2["F17"] = 75] = "F17";
14177
- KeyCode2[KeyCode2["F18"] = 76] = "F18";
14178
- KeyCode2[KeyCode2["F19"] = 77] = "F19";
14179
- KeyCode2[KeyCode2["F20"] = 78] = "F20";
14180
- KeyCode2[KeyCode2["F21"] = 79] = "F21";
14181
- KeyCode2[KeyCode2["F22"] = 80] = "F22";
14182
- KeyCode2[KeyCode2["F23"] = 81] = "F23";
14183
- KeyCode2[KeyCode2["F24"] = 82] = "F24";
14184
- KeyCode2[KeyCode2["NumLock"] = 83] = "NumLock";
14185
- KeyCode2[KeyCode2["ScrollLock"] = 84] = "ScrollLock";
14186
- KeyCode2[KeyCode2["Semicolon"] = 85] = "Semicolon";
14187
- KeyCode2[KeyCode2["Equal"] = 86] = "Equal";
14188
- KeyCode2[KeyCode2["Comma"] = 87] = "Comma";
14189
- KeyCode2[KeyCode2["Minus"] = 88] = "Minus";
14190
- KeyCode2[KeyCode2["Period"] = 89] = "Period";
14191
- KeyCode2[KeyCode2["Slash"] = 90] = "Slash";
14192
- KeyCode2[KeyCode2["Backquote"] = 91] = "Backquote";
14193
- KeyCode2[KeyCode2["BracketLeft"] = 92] = "BracketLeft";
14194
- KeyCode2[KeyCode2["Backslash"] = 93] = "Backslash";
14195
- KeyCode2[KeyCode2["BracketRight"] = 94] = "BracketRight";
14196
- KeyCode2[KeyCode2["Quote"] = 95] = "Quote";
14197
- KeyCode2[KeyCode2["OEM_8"] = 96] = "OEM_8";
14198
- KeyCode2[KeyCode2["IntlBackslash"] = 97] = "IntlBackslash";
14199
- KeyCode2[KeyCode2["Numpad0"] = 98] = "Numpad0";
14200
- KeyCode2[KeyCode2["Numpad1"] = 99] = "Numpad1";
14201
- KeyCode2[KeyCode2["Numpad2"] = 100] = "Numpad2";
14202
- KeyCode2[KeyCode2["Numpad3"] = 101] = "Numpad3";
14203
- KeyCode2[KeyCode2["Numpad4"] = 102] = "Numpad4";
14204
- KeyCode2[KeyCode2["Numpad5"] = 103] = "Numpad5";
14205
- KeyCode2[KeyCode2["Numpad6"] = 104] = "Numpad6";
14206
- KeyCode2[KeyCode2["Numpad7"] = 105] = "Numpad7";
14207
- KeyCode2[KeyCode2["Numpad8"] = 106] = "Numpad8";
14208
- KeyCode2[KeyCode2["Numpad9"] = 107] = "Numpad9";
14209
- KeyCode2[KeyCode2["NumpadMultiply"] = 108] = "NumpadMultiply";
14210
- KeyCode2[KeyCode2["NumpadAdd"] = 109] = "NumpadAdd";
14211
- KeyCode2[KeyCode2["NUMPAD_SEPARATOR"] = 110] = "NUMPAD_SEPARATOR";
14212
- KeyCode2[KeyCode2["NumpadSubtract"] = 111] = "NumpadSubtract";
14213
- KeyCode2[KeyCode2["NumpadDecimal"] = 112] = "NumpadDecimal";
14214
- KeyCode2[KeyCode2["NumpadDivide"] = 113] = "NumpadDivide";
14215
- KeyCode2[KeyCode2["KEY_IN_COMPOSITION"] = 114] = "KEY_IN_COMPOSITION";
14216
- KeyCode2[KeyCode2["ABNT_C1"] = 115] = "ABNT_C1";
14217
- KeyCode2[KeyCode2["ABNT_C2"] = 116] = "ABNT_C2";
14218
- KeyCode2[KeyCode2["AudioVolumeMute"] = 117] = "AudioVolumeMute";
14219
- KeyCode2[KeyCode2["AudioVolumeUp"] = 118] = "AudioVolumeUp";
14220
- KeyCode2[KeyCode2["AudioVolumeDown"] = 119] = "AudioVolumeDown";
14221
- KeyCode2[KeyCode2["BrowserSearch"] = 120] = "BrowserSearch";
14222
- KeyCode2[KeyCode2["BrowserHome"] = 121] = "BrowserHome";
14223
- KeyCode2[KeyCode2["BrowserBack"] = 122] = "BrowserBack";
14224
- KeyCode2[KeyCode2["BrowserForward"] = 123] = "BrowserForward";
14225
- KeyCode2[KeyCode2["MediaTrackNext"] = 124] = "MediaTrackNext";
14226
- KeyCode2[KeyCode2["MediaTrackPrevious"] = 125] = "MediaTrackPrevious";
14227
- KeyCode2[KeyCode2["MediaStop"] = 126] = "MediaStop";
14228
- KeyCode2[KeyCode2["MediaPlayPause"] = 127] = "MediaPlayPause";
14229
- KeyCode2[KeyCode2["LaunchMediaPlayer"] = 128] = "LaunchMediaPlayer";
14230
- KeyCode2[KeyCode2["LaunchMail"] = 129] = "LaunchMail";
14231
- KeyCode2[KeyCode2["LaunchApp2"] = 130] = "LaunchApp2";
14232
- KeyCode2[KeyCode2["Clear"] = 131] = "Clear";
14233
- KeyCode2[KeyCode2["MAX_VALUE"] = 132] = "MAX_VALUE";
14234
- })(KeyCode || (KeyCode = {}));
15125
+ var KeyCode2;
15126
+ (function(KeyCode3) {
15127
+ KeyCode3[KeyCode3["DependsOnKbLayout"] = -1] = "DependsOnKbLayout";
15128
+ KeyCode3[KeyCode3["Unknown"] = 0] = "Unknown";
15129
+ KeyCode3[KeyCode3["Backspace"] = 1] = "Backspace";
15130
+ KeyCode3[KeyCode3["Tab"] = 2] = "Tab";
15131
+ KeyCode3[KeyCode3["Enter"] = 3] = "Enter";
15132
+ KeyCode3[KeyCode3["Shift"] = 4] = "Shift";
15133
+ KeyCode3[KeyCode3["Ctrl"] = 5] = "Ctrl";
15134
+ KeyCode3[KeyCode3["Alt"] = 6] = "Alt";
15135
+ KeyCode3[KeyCode3["PauseBreak"] = 7] = "PauseBreak";
15136
+ KeyCode3[KeyCode3["CapsLock"] = 8] = "CapsLock";
15137
+ KeyCode3[KeyCode3["Escape"] = 9] = "Escape";
15138
+ KeyCode3[KeyCode3["Space"] = 10] = "Space";
15139
+ KeyCode3[KeyCode3["PageUp"] = 11] = "PageUp";
15140
+ KeyCode3[KeyCode3["PageDown"] = 12] = "PageDown";
15141
+ KeyCode3[KeyCode3["End"] = 13] = "End";
15142
+ KeyCode3[KeyCode3["Home"] = 14] = "Home";
15143
+ KeyCode3[KeyCode3["LeftArrow"] = 15] = "LeftArrow";
15144
+ KeyCode3[KeyCode3["UpArrow"] = 16] = "UpArrow";
15145
+ KeyCode3[KeyCode3["RightArrow"] = 17] = "RightArrow";
15146
+ KeyCode3[KeyCode3["DownArrow"] = 18] = "DownArrow";
15147
+ KeyCode3[KeyCode3["Insert"] = 19] = "Insert";
15148
+ KeyCode3[KeyCode3["Delete"] = 20] = "Delete";
15149
+ KeyCode3[KeyCode3["Digit0"] = 21] = "Digit0";
15150
+ KeyCode3[KeyCode3["Digit1"] = 22] = "Digit1";
15151
+ KeyCode3[KeyCode3["Digit2"] = 23] = "Digit2";
15152
+ KeyCode3[KeyCode3["Digit3"] = 24] = "Digit3";
15153
+ KeyCode3[KeyCode3["Digit4"] = 25] = "Digit4";
15154
+ KeyCode3[KeyCode3["Digit5"] = 26] = "Digit5";
15155
+ KeyCode3[KeyCode3["Digit6"] = 27] = "Digit6";
15156
+ KeyCode3[KeyCode3["Digit7"] = 28] = "Digit7";
15157
+ KeyCode3[KeyCode3["Digit8"] = 29] = "Digit8";
15158
+ KeyCode3[KeyCode3["Digit9"] = 30] = "Digit9";
15159
+ KeyCode3[KeyCode3["KeyA"] = 31] = "KeyA";
15160
+ KeyCode3[KeyCode3["KeyB"] = 32] = "KeyB";
15161
+ KeyCode3[KeyCode3["KeyC"] = 33] = "KeyC";
15162
+ KeyCode3[KeyCode3["KeyD"] = 34] = "KeyD";
15163
+ KeyCode3[KeyCode3["KeyE"] = 35] = "KeyE";
15164
+ KeyCode3[KeyCode3["KeyF"] = 36] = "KeyF";
15165
+ KeyCode3[KeyCode3["KeyG"] = 37] = "KeyG";
15166
+ KeyCode3[KeyCode3["KeyH"] = 38] = "KeyH";
15167
+ KeyCode3[KeyCode3["KeyI"] = 39] = "KeyI";
15168
+ KeyCode3[KeyCode3["KeyJ"] = 40] = "KeyJ";
15169
+ KeyCode3[KeyCode3["KeyK"] = 41] = "KeyK";
15170
+ KeyCode3[KeyCode3["KeyL"] = 42] = "KeyL";
15171
+ KeyCode3[KeyCode3["KeyM"] = 43] = "KeyM";
15172
+ KeyCode3[KeyCode3["KeyN"] = 44] = "KeyN";
15173
+ KeyCode3[KeyCode3["KeyO"] = 45] = "KeyO";
15174
+ KeyCode3[KeyCode3["KeyP"] = 46] = "KeyP";
15175
+ KeyCode3[KeyCode3["KeyQ"] = 47] = "KeyQ";
15176
+ KeyCode3[KeyCode3["KeyR"] = 48] = "KeyR";
15177
+ KeyCode3[KeyCode3["KeyS"] = 49] = "KeyS";
15178
+ KeyCode3[KeyCode3["KeyT"] = 50] = "KeyT";
15179
+ KeyCode3[KeyCode3["KeyU"] = 51] = "KeyU";
15180
+ KeyCode3[KeyCode3["KeyV"] = 52] = "KeyV";
15181
+ KeyCode3[KeyCode3["KeyW"] = 53] = "KeyW";
15182
+ KeyCode3[KeyCode3["KeyX"] = 54] = "KeyX";
15183
+ KeyCode3[KeyCode3["KeyY"] = 55] = "KeyY";
15184
+ KeyCode3[KeyCode3["KeyZ"] = 56] = "KeyZ";
15185
+ KeyCode3[KeyCode3["Meta"] = 57] = "Meta";
15186
+ KeyCode3[KeyCode3["ContextMenu"] = 58] = "ContextMenu";
15187
+ KeyCode3[KeyCode3["F1"] = 59] = "F1";
15188
+ KeyCode3[KeyCode3["F2"] = 60] = "F2";
15189
+ KeyCode3[KeyCode3["F3"] = 61] = "F3";
15190
+ KeyCode3[KeyCode3["F4"] = 62] = "F4";
15191
+ KeyCode3[KeyCode3["F5"] = 63] = "F5";
15192
+ KeyCode3[KeyCode3["F6"] = 64] = "F6";
15193
+ KeyCode3[KeyCode3["F7"] = 65] = "F7";
15194
+ KeyCode3[KeyCode3["F8"] = 66] = "F8";
15195
+ KeyCode3[KeyCode3["F9"] = 67] = "F9";
15196
+ KeyCode3[KeyCode3["F10"] = 68] = "F10";
15197
+ KeyCode3[KeyCode3["F11"] = 69] = "F11";
15198
+ KeyCode3[KeyCode3["F12"] = 70] = "F12";
15199
+ KeyCode3[KeyCode3["F13"] = 71] = "F13";
15200
+ KeyCode3[KeyCode3["F14"] = 72] = "F14";
15201
+ KeyCode3[KeyCode3["F15"] = 73] = "F15";
15202
+ KeyCode3[KeyCode3["F16"] = 74] = "F16";
15203
+ KeyCode3[KeyCode3["F17"] = 75] = "F17";
15204
+ KeyCode3[KeyCode3["F18"] = 76] = "F18";
15205
+ KeyCode3[KeyCode3["F19"] = 77] = "F19";
15206
+ KeyCode3[KeyCode3["F20"] = 78] = "F20";
15207
+ KeyCode3[KeyCode3["F21"] = 79] = "F21";
15208
+ KeyCode3[KeyCode3["F22"] = 80] = "F22";
15209
+ KeyCode3[KeyCode3["F23"] = 81] = "F23";
15210
+ KeyCode3[KeyCode3["F24"] = 82] = "F24";
15211
+ KeyCode3[KeyCode3["NumLock"] = 83] = "NumLock";
15212
+ KeyCode3[KeyCode3["ScrollLock"] = 84] = "ScrollLock";
15213
+ KeyCode3[KeyCode3["Semicolon"] = 85] = "Semicolon";
15214
+ KeyCode3[KeyCode3["Equal"] = 86] = "Equal";
15215
+ KeyCode3[KeyCode3["Comma"] = 87] = "Comma";
15216
+ KeyCode3[KeyCode3["Minus"] = 88] = "Minus";
15217
+ KeyCode3[KeyCode3["Period"] = 89] = "Period";
15218
+ KeyCode3[KeyCode3["Slash"] = 90] = "Slash";
15219
+ KeyCode3[KeyCode3["Backquote"] = 91] = "Backquote";
15220
+ KeyCode3[KeyCode3["BracketLeft"] = 92] = "BracketLeft";
15221
+ KeyCode3[KeyCode3["Backslash"] = 93] = "Backslash";
15222
+ KeyCode3[KeyCode3["BracketRight"] = 94] = "BracketRight";
15223
+ KeyCode3[KeyCode3["Quote"] = 95] = "Quote";
15224
+ KeyCode3[KeyCode3["OEM_8"] = 96] = "OEM_8";
15225
+ KeyCode3[KeyCode3["IntlBackslash"] = 97] = "IntlBackslash";
15226
+ KeyCode3[KeyCode3["Numpad0"] = 98] = "Numpad0";
15227
+ KeyCode3[KeyCode3["Numpad1"] = 99] = "Numpad1";
15228
+ KeyCode3[KeyCode3["Numpad2"] = 100] = "Numpad2";
15229
+ KeyCode3[KeyCode3["Numpad3"] = 101] = "Numpad3";
15230
+ KeyCode3[KeyCode3["Numpad4"] = 102] = "Numpad4";
15231
+ KeyCode3[KeyCode3["Numpad5"] = 103] = "Numpad5";
15232
+ KeyCode3[KeyCode3["Numpad6"] = 104] = "Numpad6";
15233
+ KeyCode3[KeyCode3["Numpad7"] = 105] = "Numpad7";
15234
+ KeyCode3[KeyCode3["Numpad8"] = 106] = "Numpad8";
15235
+ KeyCode3[KeyCode3["Numpad9"] = 107] = "Numpad9";
15236
+ KeyCode3[KeyCode3["NumpadMultiply"] = 108] = "NumpadMultiply";
15237
+ KeyCode3[KeyCode3["NumpadAdd"] = 109] = "NumpadAdd";
15238
+ KeyCode3[KeyCode3["NUMPAD_SEPARATOR"] = 110] = "NUMPAD_SEPARATOR";
15239
+ KeyCode3[KeyCode3["NumpadSubtract"] = 111] = "NumpadSubtract";
15240
+ KeyCode3[KeyCode3["NumpadDecimal"] = 112] = "NumpadDecimal";
15241
+ KeyCode3[KeyCode3["NumpadDivide"] = 113] = "NumpadDivide";
15242
+ KeyCode3[KeyCode3["KEY_IN_COMPOSITION"] = 114] = "KEY_IN_COMPOSITION";
15243
+ KeyCode3[KeyCode3["ABNT_C1"] = 115] = "ABNT_C1";
15244
+ KeyCode3[KeyCode3["ABNT_C2"] = 116] = "ABNT_C2";
15245
+ KeyCode3[KeyCode3["AudioVolumeMute"] = 117] = "AudioVolumeMute";
15246
+ KeyCode3[KeyCode3["AudioVolumeUp"] = 118] = "AudioVolumeUp";
15247
+ KeyCode3[KeyCode3["AudioVolumeDown"] = 119] = "AudioVolumeDown";
15248
+ KeyCode3[KeyCode3["BrowserSearch"] = 120] = "BrowserSearch";
15249
+ KeyCode3[KeyCode3["BrowserHome"] = 121] = "BrowserHome";
15250
+ KeyCode3[KeyCode3["BrowserBack"] = 122] = "BrowserBack";
15251
+ KeyCode3[KeyCode3["BrowserForward"] = 123] = "BrowserForward";
15252
+ KeyCode3[KeyCode3["MediaTrackNext"] = 124] = "MediaTrackNext";
15253
+ KeyCode3[KeyCode3["MediaTrackPrevious"] = 125] = "MediaTrackPrevious";
15254
+ KeyCode3[KeyCode3["MediaStop"] = 126] = "MediaStop";
15255
+ KeyCode3[KeyCode3["MediaPlayPause"] = 127] = "MediaPlayPause";
15256
+ KeyCode3[KeyCode3["LaunchMediaPlayer"] = 128] = "LaunchMediaPlayer";
15257
+ KeyCode3[KeyCode3["LaunchMail"] = 129] = "LaunchMail";
15258
+ KeyCode3[KeyCode3["LaunchApp2"] = 130] = "LaunchApp2";
15259
+ KeyCode3[KeyCode3["Clear"] = 131] = "Clear";
15260
+ KeyCode3[KeyCode3["MAX_VALUE"] = 132] = "MAX_VALUE";
15261
+ })(KeyCode2 || (KeyCode2 = {}));
14235
15262
  var MarkerSeverity;
14236
15263
  (function(MarkerSeverity2) {
14237
15264
  MarkerSeverity2[MarkerSeverity2["Hint"] = 1] = "Hint";
@@ -14245,14 +15272,14 @@ ${stackTraceFormattedLines.join("\n")}
14245
15272
  MarkerTag2[MarkerTag2["Deprecated"] = 2] = "Deprecated";
14246
15273
  })(MarkerTag || (MarkerTag = {}));
14247
15274
  var MinimapPosition;
14248
- (function(MinimapPosition2) {
14249
- MinimapPosition2[MinimapPosition2["Inline"] = 1] = "Inline";
14250
- MinimapPosition2[MinimapPosition2["Gutter"] = 2] = "Gutter";
15275
+ (function(MinimapPosition3) {
15276
+ MinimapPosition3[MinimapPosition3["Inline"] = 1] = "Inline";
15277
+ MinimapPosition3[MinimapPosition3["Gutter"] = 2] = "Gutter";
14251
15278
  })(MinimapPosition || (MinimapPosition = {}));
14252
15279
  var MinimapSectionHeaderStyle;
14253
- (function(MinimapSectionHeaderStyle2) {
14254
- MinimapSectionHeaderStyle2[MinimapSectionHeaderStyle2["Normal"] = 1] = "Normal";
14255
- MinimapSectionHeaderStyle2[MinimapSectionHeaderStyle2["Underlined"] = 2] = "Underlined";
15280
+ (function(MinimapSectionHeaderStyle3) {
15281
+ MinimapSectionHeaderStyle3[MinimapSectionHeaderStyle3["Normal"] = 1] = "Normal";
15282
+ MinimapSectionHeaderStyle3[MinimapSectionHeaderStyle3["Underlined"] = 2] = "Underlined";
14256
15283
  })(MinimapSectionHeaderStyle || (MinimapSectionHeaderStyle = {}));
14257
15284
  var MouseTargetType;
14258
15285
  (function(MouseTargetType2) {
@@ -14293,19 +15320,19 @@ ${stackTraceFormattedLines.join("\n")}
14293
15320
  OverviewRulerLane3[OverviewRulerLane3["Right"] = 4] = "Right";
14294
15321
  OverviewRulerLane3[OverviewRulerLane3["Full"] = 7] = "Full";
14295
15322
  })(OverviewRulerLane || (OverviewRulerLane = {}));
14296
- var PartialAcceptTriggerKind;
14297
- (function(PartialAcceptTriggerKind2) {
14298
- PartialAcceptTriggerKind2[PartialAcceptTriggerKind2["Word"] = 0] = "Word";
14299
- PartialAcceptTriggerKind2[PartialAcceptTriggerKind2["Line"] = 1] = "Line";
14300
- PartialAcceptTriggerKind2[PartialAcceptTriggerKind2["Suggest"] = 2] = "Suggest";
14301
- })(PartialAcceptTriggerKind || (PartialAcceptTriggerKind = {}));
15323
+ var PartialAcceptTriggerKind2;
15324
+ (function(PartialAcceptTriggerKind3) {
15325
+ PartialAcceptTriggerKind3[PartialAcceptTriggerKind3["Word"] = 0] = "Word";
15326
+ PartialAcceptTriggerKind3[PartialAcceptTriggerKind3["Line"] = 1] = "Line";
15327
+ PartialAcceptTriggerKind3[PartialAcceptTriggerKind3["Suggest"] = 2] = "Suggest";
15328
+ })(PartialAcceptTriggerKind2 || (PartialAcceptTriggerKind2 = {}));
14302
15329
  var PositionAffinity;
14303
- (function(PositionAffinity2) {
14304
- PositionAffinity2[PositionAffinity2["Left"] = 0] = "Left";
14305
- PositionAffinity2[PositionAffinity2["Right"] = 1] = "Right";
14306
- PositionAffinity2[PositionAffinity2["None"] = 2] = "None";
14307
- PositionAffinity2[PositionAffinity2["LeftOfInjectedText"] = 3] = "LeftOfInjectedText";
14308
- PositionAffinity2[PositionAffinity2["RightOfInjectedText"] = 4] = "RightOfInjectedText";
15330
+ (function(PositionAffinity3) {
15331
+ PositionAffinity3[PositionAffinity3["Left"] = 0] = "Left";
15332
+ PositionAffinity3[PositionAffinity3["Right"] = 1] = "Right";
15333
+ PositionAffinity3[PositionAffinity3["None"] = 2] = "None";
15334
+ PositionAffinity3[PositionAffinity3["LeftOfInjectedText"] = 3] = "LeftOfInjectedText";
15335
+ PositionAffinity3[PositionAffinity3["RightOfInjectedText"] = 4] = "RightOfInjectedText";
14309
15336
  })(PositionAffinity || (PositionAffinity = {}));
14310
15337
  var RenderLineNumbersType;
14311
15338
  (function(RenderLineNumbersType2) {
@@ -14332,11 +15359,11 @@ ${stackTraceFormattedLines.join("\n")}
14332
15359
  ScrollbarVisibility2[ScrollbarVisibility2["Hidden"] = 2] = "Hidden";
14333
15360
  ScrollbarVisibility2[ScrollbarVisibility2["Visible"] = 3] = "Visible";
14334
15361
  })(ScrollbarVisibility || (ScrollbarVisibility = {}));
14335
- var SelectionDirection;
14336
- (function(SelectionDirection2) {
14337
- SelectionDirection2[SelectionDirection2["LTR"] = 0] = "LTR";
14338
- SelectionDirection2[SelectionDirection2["RTL"] = 1] = "RTL";
14339
- })(SelectionDirection || (SelectionDirection = {}));
15362
+ var SelectionDirection2;
15363
+ (function(SelectionDirection3) {
15364
+ SelectionDirection3[SelectionDirection3["LTR"] = 0] = "LTR";
15365
+ SelectionDirection3[SelectionDirection3["RTL"] = 1] = "RTL";
15366
+ })(SelectionDirection2 || (SelectionDirection2 = {}));
14340
15367
  var ShowLightbulbIconMode;
14341
15368
  (function(ShowLightbulbIconMode2) {
14342
15369
  ShowLightbulbIconMode2["Off"] = "off";
@@ -14349,39 +15376,39 @@ ${stackTraceFormattedLines.join("\n")}
14349
15376
  SignatureHelpTriggerKind3[SignatureHelpTriggerKind3["TriggerCharacter"] = 2] = "TriggerCharacter";
14350
15377
  SignatureHelpTriggerKind3[SignatureHelpTriggerKind3["ContentChange"] = 3] = "ContentChange";
14351
15378
  })(SignatureHelpTriggerKind2 || (SignatureHelpTriggerKind2 = {}));
14352
- var SymbolKind;
14353
- (function(SymbolKind2) {
14354
- SymbolKind2[SymbolKind2["File"] = 0] = "File";
14355
- SymbolKind2[SymbolKind2["Module"] = 1] = "Module";
14356
- SymbolKind2[SymbolKind2["Namespace"] = 2] = "Namespace";
14357
- SymbolKind2[SymbolKind2["Package"] = 3] = "Package";
14358
- SymbolKind2[SymbolKind2["Class"] = 4] = "Class";
14359
- SymbolKind2[SymbolKind2["Method"] = 5] = "Method";
14360
- SymbolKind2[SymbolKind2["Property"] = 6] = "Property";
14361
- SymbolKind2[SymbolKind2["Field"] = 7] = "Field";
14362
- SymbolKind2[SymbolKind2["Constructor"] = 8] = "Constructor";
14363
- SymbolKind2[SymbolKind2["Enum"] = 9] = "Enum";
14364
- SymbolKind2[SymbolKind2["Interface"] = 10] = "Interface";
14365
- SymbolKind2[SymbolKind2["Function"] = 11] = "Function";
14366
- SymbolKind2[SymbolKind2["Variable"] = 12] = "Variable";
14367
- SymbolKind2[SymbolKind2["Constant"] = 13] = "Constant";
14368
- SymbolKind2[SymbolKind2["String"] = 14] = "String";
14369
- SymbolKind2[SymbolKind2["Number"] = 15] = "Number";
14370
- SymbolKind2[SymbolKind2["Boolean"] = 16] = "Boolean";
14371
- SymbolKind2[SymbolKind2["Array"] = 17] = "Array";
14372
- SymbolKind2[SymbolKind2["Object"] = 18] = "Object";
14373
- SymbolKind2[SymbolKind2["Key"] = 19] = "Key";
14374
- SymbolKind2[SymbolKind2["Null"] = 20] = "Null";
14375
- SymbolKind2[SymbolKind2["EnumMember"] = 21] = "EnumMember";
14376
- SymbolKind2[SymbolKind2["Struct"] = 22] = "Struct";
14377
- SymbolKind2[SymbolKind2["Event"] = 23] = "Event";
14378
- SymbolKind2[SymbolKind2["Operator"] = 24] = "Operator";
14379
- SymbolKind2[SymbolKind2["TypeParameter"] = 25] = "TypeParameter";
14380
- })(SymbolKind || (SymbolKind = {}));
14381
- var SymbolTag;
14382
- (function(SymbolTag2) {
14383
- SymbolTag2[SymbolTag2["Deprecated"] = 1] = "Deprecated";
14384
- })(SymbolTag || (SymbolTag = {}));
15379
+ var SymbolKind2;
15380
+ (function(SymbolKind3) {
15381
+ SymbolKind3[SymbolKind3["File"] = 0] = "File";
15382
+ SymbolKind3[SymbolKind3["Module"] = 1] = "Module";
15383
+ SymbolKind3[SymbolKind3["Namespace"] = 2] = "Namespace";
15384
+ SymbolKind3[SymbolKind3["Package"] = 3] = "Package";
15385
+ SymbolKind3[SymbolKind3["Class"] = 4] = "Class";
15386
+ SymbolKind3[SymbolKind3["Method"] = 5] = "Method";
15387
+ SymbolKind3[SymbolKind3["Property"] = 6] = "Property";
15388
+ SymbolKind3[SymbolKind3["Field"] = 7] = "Field";
15389
+ SymbolKind3[SymbolKind3["Constructor"] = 8] = "Constructor";
15390
+ SymbolKind3[SymbolKind3["Enum"] = 9] = "Enum";
15391
+ SymbolKind3[SymbolKind3["Interface"] = 10] = "Interface";
15392
+ SymbolKind3[SymbolKind3["Function"] = 11] = "Function";
15393
+ SymbolKind3[SymbolKind3["Variable"] = 12] = "Variable";
15394
+ SymbolKind3[SymbolKind3["Constant"] = 13] = "Constant";
15395
+ SymbolKind3[SymbolKind3["String"] = 14] = "String";
15396
+ SymbolKind3[SymbolKind3["Number"] = 15] = "Number";
15397
+ SymbolKind3[SymbolKind3["Boolean"] = 16] = "Boolean";
15398
+ SymbolKind3[SymbolKind3["Array"] = 17] = "Array";
15399
+ SymbolKind3[SymbolKind3["Object"] = 18] = "Object";
15400
+ SymbolKind3[SymbolKind3["Key"] = 19] = "Key";
15401
+ SymbolKind3[SymbolKind3["Null"] = 20] = "Null";
15402
+ SymbolKind3[SymbolKind3["EnumMember"] = 21] = "EnumMember";
15403
+ SymbolKind3[SymbolKind3["Struct"] = 22] = "Struct";
15404
+ SymbolKind3[SymbolKind3["Event"] = 23] = "Event";
15405
+ SymbolKind3[SymbolKind3["Operator"] = 24] = "Operator";
15406
+ SymbolKind3[SymbolKind3["TypeParameter"] = 25] = "TypeParameter";
15407
+ })(SymbolKind2 || (SymbolKind2 = {}));
15408
+ var SymbolTag2;
15409
+ (function(SymbolTag3) {
15410
+ SymbolTag3[SymbolTag3["Deprecated"] = 1] = "Deprecated";
15411
+ })(SymbolTag2 || (SymbolTag2 = {}));
14385
15412
  var TextEditorCursorBlinkingStyle;
14386
15413
  (function(TextEditorCursorBlinkingStyle2) {
14387
15414
  TextEditorCursorBlinkingStyle2[TextEditorCursorBlinkingStyle2["Hidden"] = 0] = "Hidden";
@@ -14401,11 +15428,11 @@ ${stackTraceFormattedLines.join("\n")}
14401
15428
  TextEditorCursorStyle2[TextEditorCursorStyle2["UnderlineThin"] = 6] = "UnderlineThin";
14402
15429
  })(TextEditorCursorStyle || (TextEditorCursorStyle = {}));
14403
15430
  var TrackedRangeStickiness;
14404
- (function(TrackedRangeStickiness2) {
14405
- TrackedRangeStickiness2[TrackedRangeStickiness2["AlwaysGrowsWhenTypingAtEdges"] = 0] = "AlwaysGrowsWhenTypingAtEdges";
14406
- TrackedRangeStickiness2[TrackedRangeStickiness2["NeverGrowsWhenTypingAtEdges"] = 1] = "NeverGrowsWhenTypingAtEdges";
14407
- TrackedRangeStickiness2[TrackedRangeStickiness2["GrowsOnlyWhenTypingBefore"] = 2] = "GrowsOnlyWhenTypingBefore";
14408
- TrackedRangeStickiness2[TrackedRangeStickiness2["GrowsOnlyWhenTypingAfter"] = 3] = "GrowsOnlyWhenTypingAfter";
15431
+ (function(TrackedRangeStickiness3) {
15432
+ TrackedRangeStickiness3[TrackedRangeStickiness3["AlwaysGrowsWhenTypingAtEdges"] = 0] = "AlwaysGrowsWhenTypingAtEdges";
15433
+ TrackedRangeStickiness3[TrackedRangeStickiness3["NeverGrowsWhenTypingAtEdges"] = 1] = "NeverGrowsWhenTypingAtEdges";
15434
+ TrackedRangeStickiness3[TrackedRangeStickiness3["GrowsOnlyWhenTypingBefore"] = 2] = "GrowsOnlyWhenTypingBefore";
15435
+ TrackedRangeStickiness3[TrackedRangeStickiness3["GrowsOnlyWhenTypingAfter"] = 3] = "GrowsOnlyWhenTypingAfter";
14409
15436
  })(TrackedRangeStickiness || (TrackedRangeStickiness = {}));
14410
15437
  var WrappingIndent;
14411
15438
  (function(WrappingIndent2) {
@@ -14418,16 +15445,16 @@ ${stackTraceFormattedLines.join("\n")}
14418
15445
  // node_modules/vscode/vscode/src/vs/editor/common/services/editorBaseApi.js
14419
15446
  var KeyMod = class {
14420
15447
  static {
14421
- this.CtrlCmd = 2048;
15448
+ this.CtrlCmd = KeyMod$1.CtrlCmd;
14422
15449
  }
14423
15450
  static {
14424
- this.Shift = 1024;
15451
+ this.Shift = KeyMod$1.Shift;
14425
15452
  }
14426
15453
  static {
14427
- this.Alt = 512;
15454
+ this.Alt = KeyMod$1.Alt;
14428
15455
  }
14429
15456
  static {
14430
- this.WinCtrl = 256;
15457
+ this.WinCtrl = KeyMod$1.WinCtrl;
14431
15458
  }
14432
15459
  static chord(firstPart, secondPart) {
14433
15460
  return KeyChord(firstPart, secondPart);
@@ -14439,12 +15466,12 @@ ${stackTraceFormattedLines.join("\n")}
14439
15466
  languages: void 0,
14440
15467
  CancellationTokenSource,
14441
15468
  Emitter,
14442
- KeyCode,
15469
+ KeyCode: KeyCode2,
14443
15470
  KeyMod,
14444
15471
  Position,
14445
15472
  Range,
14446
15473
  Selection,
14447
- SelectionDirection,
15474
+ SelectionDirection: SelectionDirection2,
14448
15475
  MarkerSeverity,
14449
15476
  MarkerTag,
14450
15477
  Uri: URI,
@@ -14453,6 +15480,12 @@ ${stackTraceFormattedLines.join("\n")}
14453
15480
  }
14454
15481
 
14455
15482
  // node_modules/vscode/vscode/src/vs/editor/common/core/wordCharacterClassifier.js
15483
+ var WordCharacterClass;
15484
+ (function(WordCharacterClass2) {
15485
+ WordCharacterClass2[WordCharacterClass2["Regular"] = 0] = "Regular";
15486
+ WordCharacterClass2[WordCharacterClass2["Whitespace"] = 1] = "Whitespace";
15487
+ WordCharacterClass2[WordCharacterClass2["WordSeparator"] = 2] = "WordSeparator";
15488
+ })(WordCharacterClass || (WordCharacterClass = {}));
14456
15489
  var wordClassifierCache = new LRUCache(10);
14457
15490
 
14458
15491
  // node_modules/vscode/vscode/src/vs/editor/common/model.js
@@ -14469,6 +15502,16 @@ ${stackTraceFormattedLines.join("\n")}
14469
15502
  GlyphMarginLane3[GlyphMarginLane3["Center"] = 2] = "Center";
14470
15503
  GlyphMarginLane3[GlyphMarginLane3["Right"] = 3] = "Right";
14471
15504
  })(GlyphMarginLane2 || (GlyphMarginLane2 = {}));
15505
+ var MinimapPosition2;
15506
+ (function(MinimapPosition3) {
15507
+ MinimapPosition3[MinimapPosition3["Inline"] = 1] = "Inline";
15508
+ MinimapPosition3[MinimapPosition3["Gutter"] = 2] = "Gutter";
15509
+ })(MinimapPosition2 || (MinimapPosition2 = {}));
15510
+ var MinimapSectionHeaderStyle2;
15511
+ (function(MinimapSectionHeaderStyle3) {
15512
+ MinimapSectionHeaderStyle3[MinimapSectionHeaderStyle3["Normal"] = 1] = "Normal";
15513
+ MinimapSectionHeaderStyle3[MinimapSectionHeaderStyle3["Underlined"] = 2] = "Underlined";
15514
+ })(MinimapSectionHeaderStyle2 || (MinimapSectionHeaderStyle2 = {}));
14472
15515
  var InjectedTextCursorStops2;
14473
15516
  (function(InjectedTextCursorStops3) {
14474
15517
  InjectedTextCursorStops3[InjectedTextCursorStops3["Both"] = 0] = "Both";
@@ -14476,6 +15519,41 @@ ${stackTraceFormattedLines.join("\n")}
14476
15519
  InjectedTextCursorStops3[InjectedTextCursorStops3["Left"] = 2] = "Left";
14477
15520
  InjectedTextCursorStops3[InjectedTextCursorStops3["None"] = 3] = "None";
14478
15521
  })(InjectedTextCursorStops2 || (InjectedTextCursorStops2 = {}));
15522
+ var EndOfLinePreference2;
15523
+ (function(EndOfLinePreference3) {
15524
+ EndOfLinePreference3[EndOfLinePreference3["TextDefined"] = 0] = "TextDefined";
15525
+ EndOfLinePreference3[EndOfLinePreference3["LF"] = 1] = "LF";
15526
+ EndOfLinePreference3[EndOfLinePreference3["CRLF"] = 2] = "CRLF";
15527
+ })(EndOfLinePreference2 || (EndOfLinePreference2 = {}));
15528
+ var DefaultEndOfLine2;
15529
+ (function(DefaultEndOfLine3) {
15530
+ DefaultEndOfLine3[DefaultEndOfLine3["LF"] = 1] = "LF";
15531
+ DefaultEndOfLine3[DefaultEndOfLine3["CRLF"] = 2] = "CRLF";
15532
+ })(DefaultEndOfLine2 || (DefaultEndOfLine2 = {}));
15533
+ var EndOfLineSequence2;
15534
+ (function(EndOfLineSequence3) {
15535
+ EndOfLineSequence3[EndOfLineSequence3["LF"] = 0] = "LF";
15536
+ EndOfLineSequence3[EndOfLineSequence3["CRLF"] = 1] = "CRLF";
15537
+ })(EndOfLineSequence2 || (EndOfLineSequence2 = {}));
15538
+ var TrackedRangeStickiness2;
15539
+ (function(TrackedRangeStickiness3) {
15540
+ TrackedRangeStickiness3[TrackedRangeStickiness3["AlwaysGrowsWhenTypingAtEdges"] = 0] = "AlwaysGrowsWhenTypingAtEdges";
15541
+ TrackedRangeStickiness3[TrackedRangeStickiness3["NeverGrowsWhenTypingAtEdges"] = 1] = "NeverGrowsWhenTypingAtEdges";
15542
+ TrackedRangeStickiness3[TrackedRangeStickiness3["GrowsOnlyWhenTypingBefore"] = 2] = "GrowsOnlyWhenTypingBefore";
15543
+ TrackedRangeStickiness3[TrackedRangeStickiness3["GrowsOnlyWhenTypingAfter"] = 3] = "GrowsOnlyWhenTypingAfter";
15544
+ })(TrackedRangeStickiness2 || (TrackedRangeStickiness2 = {}));
15545
+ var PositionAffinity2;
15546
+ (function(PositionAffinity3) {
15547
+ PositionAffinity3[PositionAffinity3["Left"] = 0] = "Left";
15548
+ PositionAffinity3[PositionAffinity3["Right"] = 1] = "Right";
15549
+ PositionAffinity3[PositionAffinity3["None"] = 2] = "None";
15550
+ PositionAffinity3[PositionAffinity3["LeftOfInjectedText"] = 3] = "LeftOfInjectedText";
15551
+ PositionAffinity3[PositionAffinity3["RightOfInjectedText"] = 4] = "RightOfInjectedText";
15552
+ })(PositionAffinity2 || (PositionAffinity2 = {}));
15553
+ var ModelConstants;
15554
+ (function(ModelConstants2) {
15555
+ ModelConstants2[ModelConstants2["FIRST_LINE_DETECTION_LENGTH_LIMIT"] = 1e3] = "FIRST_LINE_DETECTION_LENGTH_LIMIT";
15556
+ })(ModelConstants || (ModelConstants = {}));
14479
15557
 
14480
15558
  // node_modules/vscode/vscode/src/vs/editor/common/model/textModelSearch.js
14481
15559
  function leftIsWordBounday(wordSeparators, text, textLength, matchStartIndex, matchLength) {
@@ -14483,15 +15561,15 @@ ${stackTraceFormattedLines.join("\n")}
14483
15561
  return true;
14484
15562
  }
14485
15563
  const charBefore = text.charCodeAt(matchStartIndex - 1);
14486
- if (wordSeparators.get(charBefore) !== 0) {
15564
+ if (wordSeparators.get(charBefore) !== WordCharacterClass.Regular) {
14487
15565
  return true;
14488
15566
  }
14489
- if (charBefore === 13 || charBefore === 10) {
15567
+ if (charBefore === CharCode.CarriageReturn || charBefore === CharCode.LineFeed) {
14490
15568
  return true;
14491
15569
  }
14492
15570
  if (matchLength > 0) {
14493
15571
  const firstCharInMatch = text.charCodeAt(matchStartIndex);
14494
- if (wordSeparators.get(firstCharInMatch) !== 0) {
15572
+ if (wordSeparators.get(firstCharInMatch) !== WordCharacterClass.Regular) {
14495
15573
  return true;
14496
15574
  }
14497
15575
  }
@@ -14502,15 +15580,15 @@ ${stackTraceFormattedLines.join("\n")}
14502
15580
  return true;
14503
15581
  }
14504
15582
  const charAfter = text.charCodeAt(matchStartIndex + matchLength);
14505
- if (wordSeparators.get(charAfter) !== 0) {
15583
+ if (wordSeparators.get(charAfter) !== WordCharacterClass.Regular) {
14506
15584
  return true;
14507
15585
  }
14508
- if (charAfter === 13 || charAfter === 10) {
15586
+ if (charAfter === CharCode.CarriageReturn || charAfter === CharCode.LineFeed) {
14509
15587
  return true;
14510
15588
  }
14511
15589
  if (matchLength > 0) {
14512
15590
  const lastCharInMatch = text.charCodeAt(matchStartIndex + matchLength - 1);
14513
- if (wordSeparators.get(lastCharInMatch) !== 0) {
15591
+ if (wordSeparators.get(lastCharInMatch) !== WordCharacterClass.Regular) {
14514
15592
  return true;
14515
15593
  }
14516
15594
  }
@@ -14613,12 +15691,12 @@ ${stackTraceFormattedLines.join("\n")}
14613
15691
  word = null;
14614
15692
  }
14615
15693
  const highlightReason = codePointHighlighter.shouldHighlightNonBasicASCII(str, word ? word.word : null);
14616
- if (highlightReason !== 0) {
14617
- if (highlightReason === 3) {
15694
+ if (highlightReason !== SimpleHighlightReason.None) {
15695
+ if (highlightReason === SimpleHighlightReason.Ambiguous) {
14618
15696
  ambiguousCharacterCount++;
14619
- } else if (highlightReason === 2) {
15697
+ } else if (highlightReason === SimpleHighlightReason.Invisible) {
14620
15698
  invisibleCharacterCount++;
14621
- } else if (highlightReason === 1) {
15699
+ } else if (highlightReason === SimpleHighlightReason.NonBasicASCII) {
14622
15700
  nonBasicAsciiCharacterCount++;
14623
15701
  } else {
14624
15702
  assertNever();
@@ -14645,18 +15723,18 @@ ${stackTraceFormattedLines.join("\n")}
14645
15723
  const codePointHighlighter = new CodePointHighlighter(options);
14646
15724
  const reason = codePointHighlighter.shouldHighlightNonBasicASCII(char, null);
14647
15725
  switch (reason) {
14648
- case 0:
15726
+ case SimpleHighlightReason.None:
14649
15727
  return null;
14650
- case 2:
14651
- return { kind: 1 };
14652
- case 3: {
15728
+ case SimpleHighlightReason.Invisible:
15729
+ return { kind: UnicodeHighlighterReasonKind.Invisible };
15730
+ case SimpleHighlightReason.Ambiguous: {
14653
15731
  const codePoint = char.codePointAt(0);
14654
15732
  const primaryConfusable = codePointHighlighter.ambiguousCharacters.getPrimaryConfusable(codePoint);
14655
15733
  const notAmbiguousInLocales = AmbiguousCharacters.getLocales().filter((l) => !AmbiguousCharacters.getInstance(/* @__PURE__ */ new Set([...options.allowedLocales, l])).isAmbiguous(codePoint));
14656
- return { kind: 0, confusableWith: String.fromCodePoint(primaryConfusable), notAmbiguousInLocales };
15734
+ return { kind: UnicodeHighlighterReasonKind.Ambiguous, confusableWith: String.fromCodePoint(primaryConfusable), notAmbiguousInLocales };
14657
15735
  }
14658
- case 1:
14659
- return { kind: 2 };
15736
+ case SimpleHighlightReason.NonBasicASCII:
15737
+ return { kind: UnicodeHighlighterReasonKind.NonBasicAscii };
14660
15738
  }
14661
15739
  }
14662
15740
  };
@@ -14664,6 +15742,12 @@ ${stackTraceFormattedLines.join("\n")}
14664
15742
  const src = `[${escapeRegExpCharacters(codePoints.map((i) => String.fromCodePoint(i)).join(""))}]`;
14665
15743
  return src;
14666
15744
  }
15745
+ var UnicodeHighlighterReasonKind;
15746
+ (function(UnicodeHighlighterReasonKind2) {
15747
+ UnicodeHighlighterReasonKind2[UnicodeHighlighterReasonKind2["Ambiguous"] = 0] = "Ambiguous";
15748
+ UnicodeHighlighterReasonKind2[UnicodeHighlighterReasonKind2["Invisible"] = 1] = "Invisible";
15749
+ UnicodeHighlighterReasonKind2[UnicodeHighlighterReasonKind2["NonBasicAscii"] = 2] = "NonBasicAscii";
15750
+ })(UnicodeHighlighterReasonKind || (UnicodeHighlighterReasonKind = {}));
14667
15751
  var CodePointHighlighter = class {
14668
15752
  constructor(options) {
14669
15753
  this.options = options;
@@ -14695,10 +15779,10 @@ ${stackTraceFormattedLines.join("\n")}
14695
15779
  shouldHighlightNonBasicASCII(character, wordContext) {
14696
15780
  const codePoint = character.codePointAt(0);
14697
15781
  if (this.allowedCodePoints.has(codePoint)) {
14698
- return 0;
15782
+ return SimpleHighlightReason.None;
14699
15783
  }
14700
15784
  if (this.options.nonBasicASCII) {
14701
- return 1;
15785
+ return SimpleHighlightReason.NonBasicASCII;
14702
15786
  }
14703
15787
  let hasBasicASCIICharacters = false;
14704
15788
  let hasNonConfusableNonBasicAsciiCharacter = false;
@@ -14713,24 +15797,31 @@ ${stackTraceFormattedLines.join("\n")}
14713
15797
  }
14714
15798
  }
14715
15799
  if (!hasBasicASCIICharacters && hasNonConfusableNonBasicAsciiCharacter) {
14716
- return 0;
15800
+ return SimpleHighlightReason.None;
14717
15801
  }
14718
15802
  if (this.options.invisibleCharacters) {
14719
15803
  if (!isAllowedInvisibleCharacter(character) && InvisibleCharacters.isInvisibleCharacter(codePoint)) {
14720
- return 2;
15804
+ return SimpleHighlightReason.Invisible;
14721
15805
  }
14722
15806
  }
14723
15807
  if (this.options.ambiguousCharacters) {
14724
15808
  if (this.ambiguousCharacters.isAmbiguous(codePoint)) {
14725
- return 3;
15809
+ return SimpleHighlightReason.Ambiguous;
14726
15810
  }
14727
15811
  }
14728
- return 0;
15812
+ return SimpleHighlightReason.None;
14729
15813
  }
14730
15814
  };
14731
15815
  function isAllowedInvisibleCharacter(character) {
14732
15816
  return character === " " || character === "\n" || character === " ";
14733
15817
  }
15818
+ var SimpleHighlightReason;
15819
+ (function(SimpleHighlightReason2) {
15820
+ SimpleHighlightReason2[SimpleHighlightReason2["None"] = 0] = "None";
15821
+ SimpleHighlightReason2[SimpleHighlightReason2["NonBasicASCII"] = 1] = "NonBasicASCII";
15822
+ SimpleHighlightReason2[SimpleHighlightReason2["Invisible"] = 2] = "Invisible";
15823
+ SimpleHighlightReason2[SimpleHighlightReason2["Ambiguous"] = 3] = "Ambiguous";
15824
+ })(SimpleHighlightReason || (SimpleHighlightReason = {}));
14734
15825
 
14735
15826
  // node_modules/vscode/vscode/src/vs/editor/common/diff/linesDiffComputer.js
14736
15827
  var LinesDiff = class {
@@ -15092,7 +16183,7 @@ ${stackTraceFormattedLines.join("\n")}
15092
16183
  len++;
15093
16184
  }
15094
16185
  if (!shouldIgnoreTrimWhitespace && index < endIndex) {
15095
- charCodes[len] = 10;
16186
+ charCodes[len] = CharCode.LineFeed;
15096
16187
  lineNumbers[len] = index + 1;
15097
16188
  columns[len] = lineContent.length + 1;
15098
16189
  len++;
@@ -15109,7 +16200,7 @@ ${stackTraceFormattedLines.join("\n")}
15109
16200
  }
15110
16201
  toString() {
15111
16202
  return "[" + this._charCodes.map(
15112
- (s, idx) => (s === 10 ? "\\n" : String.fromCharCode(s)) + `-(${this._lineNumbers[idx]},${this._columns[idx]})`
16203
+ (s, idx) => (s === CharCode.LineFeed ? "\\n" : String.fromCharCode(s)) + `-(${this._lineNumbers[idx]},${this._columns[idx]})`
15113
16204
  ).join(", ") + "]";
15114
16205
  }
15115
16206
  _assertIndex(index, arr) {
@@ -15132,7 +16223,7 @@ ${stackTraceFormattedLines.join("\n")}
15132
16223
  return this.getStartLineNumber(i + 1);
15133
16224
  }
15134
16225
  this._assertIndex(i, this._lineNumbers);
15135
- if (this._charCodes[i] === 10) {
16226
+ if (this._charCodes[i] === CharCode.LineFeed) {
15136
16227
  return this._lineNumbers[i] + 1;
15137
16228
  }
15138
16229
  return this._lineNumbers[i];
@@ -15149,7 +16240,7 @@ ${stackTraceFormattedLines.join("\n")}
15149
16240
  return this.getStartColumn(i + 1);
15150
16241
  }
15151
16242
  this._assertIndex(i, this._columns);
15152
- if (this._charCodes[i] === 10) {
16243
+ if (this._charCodes[i] === CharCode.LineFeed) {
15153
16244
  return 1;
15154
16245
  }
15155
16246
  return this._columns[i] + 1;
@@ -15617,7 +16708,7 @@ ${stackTraceFormattedLines.join("\n")}
15617
16708
  }
15618
16709
  };
15619
16710
  function isSpace(charCode) {
15620
- return charCode === 32 || charCode === 9;
16711
+ return charCode === CharCode.Space || charCode === CharCode.Tab;
15621
16712
  }
15622
16713
  var LineRangeFragment = class _LineRangeFragment {
15623
16714
  static {
@@ -15923,16 +17014,16 @@ ${stackTraceFormattedLines.join("\n")}
15923
17014
  getBoundaryScore(length) {
15924
17015
  const prevCategory = getCategory(length > 0 ? this.elements[length - 1] : -1);
15925
17016
  const nextCategory = getCategory(length < this.elements.length ? this.elements[length] : -1);
15926
- if (prevCategory === 7 && nextCategory === 8) {
17017
+ if (prevCategory === CharBoundaryCategory.LineBreakCR && nextCategory === CharBoundaryCategory.LineBreakLF) {
15927
17018
  return 0;
15928
17019
  }
15929
- if (prevCategory === 8) {
17020
+ if (prevCategory === CharBoundaryCategory.LineBreakLF) {
15930
17021
  return 150;
15931
17022
  }
15932
17023
  let score2 = 0;
15933
17024
  if (prevCategory !== nextCategory) {
15934
17025
  score2 += 10;
15935
- if (prevCategory === 0 && nextCategory === 1) {
17026
+ if (prevCategory === CharBoundaryCategory.WordLower && nextCategory === CharBoundaryCategory.WordUpper) {
15936
17027
  score2 += 1;
15937
17028
  }
15938
17029
  }
@@ -15983,41 +17074,53 @@ ${stackTraceFormattedLines.join("\n")}
15983
17074
  }
15984
17075
  };
15985
17076
  function isWordChar(charCode) {
15986
- return charCode >= 97 && charCode <= 122 || charCode >= 65 && charCode <= 90 || charCode >= 48 && charCode <= 57;
17077
+ return charCode >= CharCode.a && charCode <= CharCode.z || charCode >= CharCode.A && charCode <= CharCode.Z || charCode >= CharCode.Digit0 && charCode <= CharCode.Digit9;
15987
17078
  }
17079
+ var CharBoundaryCategory;
17080
+ (function(CharBoundaryCategory2) {
17081
+ CharBoundaryCategory2[CharBoundaryCategory2["WordLower"] = 0] = "WordLower";
17082
+ CharBoundaryCategory2[CharBoundaryCategory2["WordUpper"] = 1] = "WordUpper";
17083
+ CharBoundaryCategory2[CharBoundaryCategory2["WordNumber"] = 2] = "WordNumber";
17084
+ CharBoundaryCategory2[CharBoundaryCategory2["End"] = 3] = "End";
17085
+ CharBoundaryCategory2[CharBoundaryCategory2["Other"] = 4] = "Other";
17086
+ CharBoundaryCategory2[CharBoundaryCategory2["Separator"] = 5] = "Separator";
17087
+ CharBoundaryCategory2[CharBoundaryCategory2["Space"] = 6] = "Space";
17088
+ CharBoundaryCategory2[CharBoundaryCategory2["LineBreakCR"] = 7] = "LineBreakCR";
17089
+ CharBoundaryCategory2[CharBoundaryCategory2["LineBreakLF"] = 8] = "LineBreakLF";
17090
+ })(CharBoundaryCategory || (CharBoundaryCategory = {}));
15988
17091
  var score = {
15989
- [0]: 0,
15990
- [1]: 0,
15991
- [2]: 0,
15992
- [3]: 10,
15993
- [4]: 2,
15994
- [5]: 30,
15995
- [6]: 3,
15996
- [7]: 10,
15997
- [8]: 10
17092
+ [CharBoundaryCategory.WordLower]: 0,
17093
+ [CharBoundaryCategory.WordUpper]: 0,
17094
+ [CharBoundaryCategory.WordNumber]: 0,
17095
+ [CharBoundaryCategory.End]: 10,
17096
+ [CharBoundaryCategory.Other]: 2,
17097
+ [CharBoundaryCategory.Separator]: 30,
17098
+ [CharBoundaryCategory.Space]: 3,
17099
+ [CharBoundaryCategory.LineBreakCR]: 10,
17100
+ [CharBoundaryCategory.LineBreakLF]: 10
15998
17101
  };
15999
17102
  function getCategoryBoundaryScore(category) {
16000
17103
  return score[category];
16001
17104
  }
16002
17105
  function getCategory(charCode) {
16003
- if (charCode === 10) {
16004
- return 8;
16005
- } else if (charCode === 13) {
16006
- return 7;
17106
+ if (charCode === CharCode.LineFeed) {
17107
+ return CharBoundaryCategory.LineBreakLF;
17108
+ } else if (charCode === CharCode.CarriageReturn) {
17109
+ return CharBoundaryCategory.LineBreakCR;
16007
17110
  } else if (isSpace(charCode)) {
16008
- return 6;
16009
- } else if (charCode >= 97 && charCode <= 122) {
16010
- return 0;
16011
- } else if (charCode >= 65 && charCode <= 90) {
16012
- return 1;
16013
- } else if (charCode >= 48 && charCode <= 57) {
16014
- return 2;
17111
+ return CharBoundaryCategory.Space;
17112
+ } else if (charCode >= CharCode.a && charCode <= CharCode.z) {
17113
+ return CharBoundaryCategory.WordLower;
17114
+ } else if (charCode >= CharCode.A && charCode <= CharCode.Z) {
17115
+ return CharBoundaryCategory.WordUpper;
17116
+ } else if (charCode >= CharCode.Digit0 && charCode <= CharCode.Digit9) {
17117
+ return CharBoundaryCategory.WordNumber;
16015
17118
  } else if (charCode === -1) {
16016
- return 3;
16017
- } else if (charCode === 44 || charCode === 59) {
16018
- return 5;
17119
+ return CharBoundaryCategory.End;
17120
+ } else if (charCode === CharCode.Comma || charCode === CharCode.Semicolon) {
17121
+ return CharBoundaryCategory.Separator;
16019
17122
  } else {
16020
- return 4;
17123
+ return CharBoundaryCategory.Other;
16021
17124
  }
16022
17125
  }
16023
17126
 
@@ -16605,7 +17708,7 @@ ${stackTraceFormattedLines.join("\n")}
16605
17708
  };
16606
17709
  function getIndentation(str) {
16607
17710
  let i = 0;
16608
- while (i < str.length && (str.charCodeAt(i) === 32 || str.charCodeAt(i) === 9)) {
17711
+ while (i < str.length && (str.charCodeAt(i) === CharCode.Space || str.charCodeAt(i) === CharCode.Tab)) {
16609
17712
  i++;
16610
17713
  }
16611
17714
  return i;
@@ -16657,7 +17760,7 @@ ${stackTraceFormattedLines.join("\n")}
16657
17760
  if (sequence1.length + sequence2.length < 1700) {
16658
17761
  return this.dynamicProgrammingDiffing.compute(sequence1, sequence2, timeout, (offset1, offset2) => originalLines[offset1] === modifiedLines[offset2] ? modifiedLines[offset2].length === 0 ? 0.1 : 1 + Math.log(1 + modifiedLines[offset2].length) : 0.99);
16659
17762
  }
16660
- return this.myersDiffingAlgorithm.compute(sequence1, sequence2);
17763
+ return this.myersDiffingAlgorithm.compute(sequence1, sequence2, timeout);
16661
17764
  })();
16662
17765
  let lineAlignments = lineAlignmentResult.diffs;
16663
17766
  let hitTimeout = lineAlignmentResult.hitTimeout;
@@ -17209,7 +18312,7 @@ ${stackTraceFormattedLines.join("\n")}
17209
18312
  if (length === 0) {
17210
18313
  return null;
17211
18314
  }
17212
- if (hex.charCodeAt(0) !== 35) {
18315
+ if (hex.charCodeAt(0) !== CharCode.Hash) {
17213
18316
  return null;
17214
18317
  }
17215
18318
  if (length === 7) {
@@ -17243,49 +18346,49 @@ ${stackTraceFormattedLines.join("\n")}
17243
18346
  CSS.parseHex = parseHex;
17244
18347
  function _parseHexDigit(charCode) {
17245
18348
  switch (charCode) {
17246
- case 48:
18349
+ case CharCode.Digit0:
17247
18350
  return 0;
17248
- case 49:
18351
+ case CharCode.Digit1:
17249
18352
  return 1;
17250
- case 50:
18353
+ case CharCode.Digit2:
17251
18354
  return 2;
17252
- case 51:
18355
+ case CharCode.Digit3:
17253
18356
  return 3;
17254
- case 52:
18357
+ case CharCode.Digit4:
17255
18358
  return 4;
17256
- case 53:
18359
+ case CharCode.Digit5:
17257
18360
  return 5;
17258
- case 54:
18361
+ case CharCode.Digit6:
17259
18362
  return 6;
17260
- case 55:
18363
+ case CharCode.Digit7:
17261
18364
  return 7;
17262
- case 56:
18365
+ case CharCode.Digit8:
17263
18366
  return 8;
17264
- case 57:
18367
+ case CharCode.Digit9:
17265
18368
  return 9;
17266
- case 97:
18369
+ case CharCode.a:
17267
18370
  return 10;
17268
- case 65:
18371
+ case CharCode.A:
17269
18372
  return 10;
17270
- case 98:
18373
+ case CharCode.b:
17271
18374
  return 11;
17272
- case 66:
18375
+ case CharCode.B:
17273
18376
  return 11;
17274
- case 99:
18377
+ case CharCode.c:
17275
18378
  return 12;
17276
- case 67:
18379
+ case CharCode.C:
17277
18380
  return 12;
17278
- case 100:
18381
+ case CharCode.d:
17279
18382
  return 13;
17280
- case 68:
18383
+ case CharCode.D:
17281
18384
  return 13;
17282
- case 101:
18385
+ case CharCode.e:
17283
18386
  return 14;
17284
- case 69:
18387
+ case CharCode.E:
17285
18388
  return 14;
17286
- case 102:
18389
+ case CharCode.f:
17287
18390
  return 15;
17288
- case 70:
18391
+ case CharCode.F:
17289
18392
  return 15;
17290
18393
  }
17291
18394
  return 0;
@@ -17421,7 +18524,7 @@ ${stackTraceFormattedLines.join("\n")}
17421
18524
  }
17422
18525
 
17423
18526
  // node_modules/vscode/vscode/src/vs/editor/common/services/findSectionHeaders.js
17424
- var markRegex = /\bMARK:\s*(.*)$/d;
18527
+ var markRegex = new RegExp("\\bMARK:\\s*(.*)$", "d");
17425
18528
  var trimDashesRegex = /^-+|-+$/g;
17426
18529
  function findSectionHeaders(model, options) {
17427
18530
  let headers = [];