@dpuse/dpuse-shared 1.0.179 → 1.0.181
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +132 -103
- package/dist/dpuse-shared.es.js +496 -126
- package/dist/dpuse-shared.es.js.map +1 -1
- package/dist/types/src/encoding/index.d.ts +492 -120
- package/package.json +3 -2
package/dist/dpuse-shared.es.js
CHANGED
|
@@ -661,6 +661,13 @@ var he = T([
|
|
|
661
661
|
es: "Árabe"
|
|
662
662
|
}
|
|
663
663
|
},
|
|
664
|
+
armenian: {
|
|
665
|
+
id: "armenian",
|
|
666
|
+
label: {
|
|
667
|
+
en: "Armenian",
|
|
668
|
+
es: "Armenio"
|
|
669
|
+
}
|
|
670
|
+
},
|
|
664
671
|
baltic: {
|
|
665
672
|
id: "baltic",
|
|
666
673
|
label: {
|
|
@@ -703,6 +710,13 @@ var he = T([
|
|
|
703
710
|
es: "Cirílico"
|
|
704
711
|
}
|
|
705
712
|
},
|
|
713
|
+
georgian: {
|
|
714
|
+
id: "georgian",
|
|
715
|
+
label: {
|
|
716
|
+
en: "Georgian",
|
|
717
|
+
es: "Georgiano"
|
|
718
|
+
}
|
|
719
|
+
},
|
|
706
720
|
greek: {
|
|
707
721
|
id: "greek",
|
|
708
722
|
label: {
|
|
@@ -731,6 +745,13 @@ var he = T([
|
|
|
731
745
|
es: "Coreano"
|
|
732
746
|
}
|
|
733
747
|
},
|
|
748
|
+
lao: {
|
|
749
|
+
id: "lao",
|
|
750
|
+
label: {
|
|
751
|
+
en: "Lao",
|
|
752
|
+
es: "Lao"
|
|
753
|
+
}
|
|
754
|
+
},
|
|
734
755
|
nordic: {
|
|
735
756
|
id: "nordic",
|
|
736
757
|
label: {
|
|
@@ -738,18 +759,11 @@ var he = T([
|
|
|
738
759
|
es: "Nórdico"
|
|
739
760
|
}
|
|
740
761
|
},
|
|
741
|
-
|
|
742
|
-
id: "
|
|
743
|
-
label: {
|
|
744
|
-
en: "Other",
|
|
745
|
-
es: "Otro"
|
|
746
|
-
}
|
|
747
|
-
},
|
|
748
|
-
romanian: {
|
|
749
|
-
id: "romanian",
|
|
762
|
+
southEasternEuropean: {
|
|
763
|
+
id: "southEasternEuropean",
|
|
750
764
|
label: {
|
|
751
|
-
en: "
|
|
752
|
-
es: "
|
|
765
|
+
en: "South-Eastern European",
|
|
766
|
+
es: "Europeo sudoriental"
|
|
753
767
|
}
|
|
754
768
|
},
|
|
755
769
|
southernEuropean: {
|
|
@@ -773,18 +787,11 @@ var he = T([
|
|
|
773
787
|
es: "Turco"
|
|
774
788
|
}
|
|
775
789
|
},
|
|
776
|
-
|
|
777
|
-
id: "
|
|
790
|
+
unicode: {
|
|
791
|
+
id: "unicode",
|
|
778
792
|
label: {
|
|
779
|
-
en: "Unicode
|
|
780
|
-
es: "Unicode
|
|
781
|
-
}
|
|
782
|
-
},
|
|
783
|
-
unicode32: {
|
|
784
|
-
id: "unicode32",
|
|
785
|
-
label: {
|
|
786
|
-
en: "Unicode 32",
|
|
787
|
-
es: "Unicode 32"
|
|
793
|
+
en: "Unicode",
|
|
794
|
+
es: "Unicode"
|
|
788
795
|
}
|
|
789
796
|
},
|
|
790
797
|
vietnamese: {
|
|
@@ -802,454 +809,817 @@ var he = T([
|
|
|
802
809
|
}
|
|
803
810
|
}
|
|
804
811
|
}, we = {
|
|
812
|
+
"armscii-8": {
|
|
813
|
+
id: "armscii-8",
|
|
814
|
+
groupId: "armenian",
|
|
815
|
+
isDetectable: !1,
|
|
816
|
+
textDecoderId: null,
|
|
817
|
+
iconvLiteDecoderId: "armscii8"
|
|
818
|
+
},
|
|
805
819
|
ascii: {
|
|
806
820
|
id: "ascii",
|
|
807
821
|
groupId: null,
|
|
808
|
-
|
|
822
|
+
isDetectable: !0,
|
|
823
|
+
textDecoderId: "windows-1252",
|
|
824
|
+
iconvLiteDecoderId: "ascii"
|
|
809
825
|
},
|
|
810
826
|
big5: {
|
|
811
827
|
id: "big5",
|
|
812
828
|
groupId: "chineseTraditional",
|
|
813
|
-
|
|
829
|
+
isDetectable: !0,
|
|
830
|
+
textDecoderId: "big5",
|
|
831
|
+
iconvLiteDecoderId: "big5hkscs"
|
|
832
|
+
},
|
|
833
|
+
"cesu-8": {
|
|
834
|
+
id: "cesu-8",
|
|
835
|
+
groupId: "unicode",
|
|
836
|
+
isDetectable: !1,
|
|
837
|
+
textDecoderId: null,
|
|
838
|
+
iconvLiteDecoderId: "cesu8"
|
|
814
839
|
},
|
|
815
840
|
cp273: {
|
|
816
841
|
id: "cp273",
|
|
817
842
|
groupId: "western",
|
|
818
|
-
|
|
843
|
+
isDetectable: !0,
|
|
844
|
+
textDecoderId: null,
|
|
845
|
+
iconvLiteDecoderId: null
|
|
819
846
|
},
|
|
820
847
|
cp424: {
|
|
821
848
|
id: "cp424",
|
|
822
849
|
groupId: "hebrew",
|
|
823
|
-
|
|
850
|
+
isDetectable: !0,
|
|
851
|
+
textDecoderId: null,
|
|
852
|
+
iconvLiteDecoderId: null
|
|
824
853
|
},
|
|
825
854
|
cp437: {
|
|
826
855
|
id: "cp437",
|
|
827
856
|
groupId: "western",
|
|
828
|
-
|
|
857
|
+
isDetectable: !0,
|
|
858
|
+
textDecoderId: null,
|
|
859
|
+
iconvLiteDecoderId: "cp437"
|
|
829
860
|
},
|
|
830
861
|
cp500: {
|
|
831
862
|
id: "cp500",
|
|
832
863
|
groupId: "western",
|
|
833
|
-
|
|
864
|
+
isDetectable: !0,
|
|
865
|
+
textDecoderId: null,
|
|
866
|
+
iconvLiteDecoderId: null
|
|
834
867
|
},
|
|
835
868
|
cp720: {
|
|
836
869
|
id: "cp720",
|
|
837
870
|
groupId: "arabic",
|
|
838
|
-
|
|
871
|
+
isDetectable: !0,
|
|
872
|
+
textDecoderId: null,
|
|
873
|
+
iconvLiteDecoderId: "cp720"
|
|
839
874
|
},
|
|
840
875
|
cp737: {
|
|
841
876
|
id: "cp737",
|
|
842
877
|
groupId: "greek",
|
|
843
|
-
|
|
878
|
+
isDetectable: !0,
|
|
879
|
+
textDecoderId: null,
|
|
880
|
+
iconvLiteDecoderId: "cp737"
|
|
844
881
|
},
|
|
845
882
|
cp775: {
|
|
846
883
|
id: "cp775",
|
|
847
884
|
groupId: "baltic",
|
|
848
|
-
|
|
885
|
+
isDetectable: !0,
|
|
886
|
+
textDecoderId: null,
|
|
887
|
+
iconvLiteDecoderId: "cp775"
|
|
888
|
+
},
|
|
889
|
+
cp808: {
|
|
890
|
+
id: "cp808",
|
|
891
|
+
groupId: "cyrillic",
|
|
892
|
+
isDetectable: !1,
|
|
893
|
+
textDecoderId: null,
|
|
894
|
+
iconvLiteDecoderId: "cp808"
|
|
849
895
|
},
|
|
850
896
|
cp850: {
|
|
851
897
|
id: "cp850",
|
|
852
898
|
groupId: "western",
|
|
853
|
-
|
|
899
|
+
isDetectable: !0,
|
|
900
|
+
textDecoderId: null,
|
|
901
|
+
iconvLiteDecoderId: "cp850"
|
|
854
902
|
},
|
|
855
903
|
cp852: {
|
|
856
904
|
id: "cp852",
|
|
857
905
|
groupId: "centralEuropean",
|
|
858
|
-
|
|
906
|
+
isDetectable: !0,
|
|
907
|
+
textDecoderId: null,
|
|
908
|
+
iconvLiteDecoderId: "cp852"
|
|
859
909
|
},
|
|
860
910
|
cp856: {
|
|
861
911
|
id: "cp856",
|
|
862
912
|
groupId: "hebrew",
|
|
863
|
-
|
|
913
|
+
isDetectable: !0,
|
|
914
|
+
textDecoderId: null,
|
|
915
|
+
iconvLiteDecoderId: "cp856"
|
|
864
916
|
},
|
|
865
917
|
cp857: {
|
|
866
918
|
id: "cp857",
|
|
867
919
|
groupId: "turkish",
|
|
868
|
-
|
|
920
|
+
isDetectable: !0,
|
|
921
|
+
textDecoderId: null,
|
|
922
|
+
iconvLiteDecoderId: "cp857"
|
|
869
923
|
},
|
|
870
924
|
cp858: {
|
|
871
925
|
id: "cp858",
|
|
872
926
|
groupId: "western",
|
|
873
|
-
|
|
927
|
+
isDetectable: !0,
|
|
928
|
+
textDecoderId: null,
|
|
929
|
+
iconvLiteDecoderId: "cp858"
|
|
874
930
|
},
|
|
875
931
|
cp860: {
|
|
876
932
|
id: "cp860",
|
|
877
933
|
groupId: "western",
|
|
878
|
-
|
|
934
|
+
isDetectable: !0,
|
|
935
|
+
textDecoderId: null,
|
|
936
|
+
iconvLiteDecoderId: "cp860"
|
|
879
937
|
},
|
|
880
938
|
cp861: {
|
|
881
939
|
id: "cp861",
|
|
882
940
|
groupId: "nordic",
|
|
883
|
-
|
|
941
|
+
isDetectable: !0,
|
|
942
|
+
textDecoderId: null,
|
|
943
|
+
iconvLiteDecoderId: "cp861"
|
|
884
944
|
},
|
|
885
945
|
cp862: {
|
|
886
946
|
id: "cp862",
|
|
887
947
|
groupId: "hebrew",
|
|
888
|
-
|
|
948
|
+
isDetectable: !0,
|
|
949
|
+
textDecoderId: null,
|
|
950
|
+
iconvLiteDecoderId: "cp862"
|
|
889
951
|
},
|
|
890
952
|
cp863: {
|
|
891
953
|
id: "cp863",
|
|
892
954
|
groupId: "western",
|
|
893
|
-
|
|
955
|
+
isDetectable: !0,
|
|
956
|
+
textDecoderId: null,
|
|
957
|
+
iconvLiteDecoderId: "cp863"
|
|
894
958
|
},
|
|
895
959
|
cp864: {
|
|
896
960
|
id: "cp864",
|
|
897
961
|
groupId: "arabic",
|
|
898
|
-
|
|
962
|
+
isDetectable: !0,
|
|
963
|
+
textDecoderId: null,
|
|
964
|
+
iconvLiteDecoderId: "cp864"
|
|
899
965
|
},
|
|
900
966
|
cp865: {
|
|
901
967
|
id: "cp865",
|
|
902
968
|
groupId: "nordic",
|
|
903
|
-
|
|
969
|
+
isDetectable: !0,
|
|
970
|
+
textDecoderId: null,
|
|
971
|
+
iconvLiteDecoderId: "cp865"
|
|
904
972
|
},
|
|
905
973
|
cp869: {
|
|
906
974
|
id: "cp869",
|
|
907
975
|
groupId: "greek",
|
|
908
|
-
|
|
976
|
+
isDetectable: !0,
|
|
977
|
+
textDecoderId: null,
|
|
978
|
+
iconvLiteDecoderId: "cp869"
|
|
909
979
|
},
|
|
910
980
|
cp874: {
|
|
911
981
|
id: "cp874",
|
|
912
982
|
groupId: "thai",
|
|
913
|
-
|
|
983
|
+
isDetectable: !0,
|
|
984
|
+
textDecoderId: "windows-874",
|
|
985
|
+
iconvLiteDecoderId: "windows874"
|
|
914
986
|
},
|
|
915
987
|
cp875: {
|
|
916
988
|
id: "cp875",
|
|
917
989
|
groupId: "greek",
|
|
918
|
-
|
|
990
|
+
isDetectable: !0,
|
|
991
|
+
textDecoderId: null,
|
|
992
|
+
iconvLiteDecoderId: null
|
|
993
|
+
},
|
|
994
|
+
cp922: {
|
|
995
|
+
id: "cp922",
|
|
996
|
+
groupId: "baltic",
|
|
997
|
+
isDetectable: !1,
|
|
998
|
+
textDecoderId: null,
|
|
999
|
+
iconvLiteDecoderId: "cp922"
|
|
919
1000
|
},
|
|
920
1001
|
cp932: {
|
|
921
1002
|
id: "cp932",
|
|
922
1003
|
groupId: "japanese",
|
|
923
|
-
|
|
1004
|
+
isDetectable: !0,
|
|
1005
|
+
textDecoderId: "shift_jis",
|
|
1006
|
+
iconvLiteDecoderId: "shiftjis"
|
|
1007
|
+
},
|
|
1008
|
+
cp936: {
|
|
1009
|
+
id: "cp936",
|
|
1010
|
+
groupId: "chineseSimplified",
|
|
1011
|
+
isDetectable: !1,
|
|
1012
|
+
textDecoderId: null,
|
|
1013
|
+
iconvLiteDecoderId: "cp936"
|
|
924
1014
|
},
|
|
925
1015
|
cp949: {
|
|
926
1016
|
id: "cp949",
|
|
927
1017
|
groupId: "korean",
|
|
928
|
-
|
|
1018
|
+
isDetectable: !0,
|
|
1019
|
+
textDecoderId: "euc-kr",
|
|
1020
|
+
iconvLiteDecoderId: "cp949"
|
|
1021
|
+
},
|
|
1022
|
+
cp950: {
|
|
1023
|
+
id: "cp950",
|
|
1024
|
+
groupId: "chineseTraditional",
|
|
1025
|
+
isDetectable: !1,
|
|
1026
|
+
textDecoderId: null,
|
|
1027
|
+
iconvLiteDecoderId: "cp950"
|
|
929
1028
|
},
|
|
930
1029
|
cp1006: {
|
|
931
1030
|
id: "cp1006",
|
|
932
1031
|
groupId: "arabic",
|
|
933
|
-
|
|
1032
|
+
isDetectable: !0,
|
|
1033
|
+
textDecoderId: null,
|
|
1034
|
+
iconvLiteDecoderId: null
|
|
934
1035
|
},
|
|
935
1036
|
cp1026: {
|
|
936
1037
|
id: "cp1026",
|
|
937
1038
|
groupId: "turkish",
|
|
938
|
-
|
|
1039
|
+
isDetectable: !0,
|
|
1040
|
+
textDecoderId: null,
|
|
1041
|
+
iconvLiteDecoderId: null
|
|
1042
|
+
},
|
|
1043
|
+
cp1046: {
|
|
1044
|
+
id: "cp1046",
|
|
1045
|
+
groupId: "arabic",
|
|
1046
|
+
isDetectable: !1,
|
|
1047
|
+
textDecoderId: null,
|
|
1048
|
+
iconvLiteDecoderId: "cp1046"
|
|
1049
|
+
},
|
|
1050
|
+
cp1124: {
|
|
1051
|
+
id: "cp1124",
|
|
1052
|
+
groupId: "cyrillic",
|
|
1053
|
+
isDetectable: !1,
|
|
1054
|
+
textDecoderId: null,
|
|
1055
|
+
iconvLiteDecoderId: "cp1124"
|
|
939
1056
|
},
|
|
940
1057
|
cp1125: {
|
|
941
1058
|
id: "cp1125",
|
|
942
1059
|
groupId: "cyrillic",
|
|
943
|
-
|
|
1060
|
+
isDetectable: !0,
|
|
1061
|
+
textDecoderId: null,
|
|
1062
|
+
iconvLiteDecoderId: "cp1125"
|
|
1063
|
+
},
|
|
1064
|
+
cp1129: {
|
|
1065
|
+
id: "cp1129",
|
|
1066
|
+
groupId: "vietnamese",
|
|
1067
|
+
isDetectable: !1,
|
|
1068
|
+
textDecoderId: null,
|
|
1069
|
+
iconvLiteDecoderId: "cp1129"
|
|
1070
|
+
},
|
|
1071
|
+
cp1133: {
|
|
1072
|
+
id: "cp1133",
|
|
1073
|
+
groupId: "lao",
|
|
1074
|
+
isDetectable: !1,
|
|
1075
|
+
textDecoderId: null,
|
|
1076
|
+
iconvLiteDecoderId: "cp1133"
|
|
944
1077
|
},
|
|
945
1078
|
cp1140: {
|
|
946
1079
|
id: "cp1140",
|
|
947
1080
|
groupId: "western",
|
|
948
|
-
|
|
1081
|
+
isDetectable: !0,
|
|
1082
|
+
textDecoderId: null,
|
|
1083
|
+
iconvLiteDecoderId: null
|
|
1084
|
+
},
|
|
1085
|
+
cp1161: {
|
|
1086
|
+
id: "cp1161",
|
|
1087
|
+
groupId: "thai",
|
|
1088
|
+
isDetectable: !1,
|
|
1089
|
+
textDecoderId: null,
|
|
1090
|
+
iconvLiteDecoderId: "cp1161"
|
|
1091
|
+
},
|
|
1092
|
+
cp1162: {
|
|
1093
|
+
id: "cp1162",
|
|
1094
|
+
groupId: "thai",
|
|
1095
|
+
isDetectable: !1,
|
|
1096
|
+
textDecoderId: null,
|
|
1097
|
+
iconvLiteDecoderId: "cp1162"
|
|
1098
|
+
},
|
|
1099
|
+
cp1163: {
|
|
1100
|
+
id: "cp1163",
|
|
1101
|
+
groupId: "vietnamese",
|
|
1102
|
+
isDetectable: !1,
|
|
1103
|
+
textDecoderId: null,
|
|
1104
|
+
iconvLiteDecoderId: "cp1163"
|
|
949
1105
|
},
|
|
950
1106
|
cp1258: {
|
|
951
1107
|
id: "cp1258",
|
|
952
1108
|
groupId: "vietnamese",
|
|
953
|
-
|
|
1109
|
+
isDetectable: !0,
|
|
1110
|
+
textDecoderId: "windows-1258",
|
|
1111
|
+
iconvLiteDecoderId: "windows1258"
|
|
954
1112
|
},
|
|
955
1113
|
"euc-jp": {
|
|
956
1114
|
id: "euc-jp",
|
|
957
1115
|
groupId: "japanese",
|
|
958
|
-
|
|
1116
|
+
isDetectable: !0,
|
|
1117
|
+
textDecoderId: "euc-jp",
|
|
1118
|
+
iconvLiteDecoderId: "eucjp"
|
|
959
1119
|
},
|
|
960
1120
|
"euc-kr": {
|
|
961
1121
|
id: "euc-kr",
|
|
962
1122
|
groupId: "korean",
|
|
963
|
-
|
|
1123
|
+
isDetectable: !0,
|
|
1124
|
+
textDecoderId: "euc-kr",
|
|
1125
|
+
iconvLiteDecoderId: "cp949"
|
|
964
1126
|
},
|
|
965
1127
|
gb18030: {
|
|
966
1128
|
id: "gb18030",
|
|
967
1129
|
groupId: "chineseSimplified",
|
|
968
|
-
|
|
1130
|
+
isDetectable: !0,
|
|
1131
|
+
textDecoderId: "gb18030",
|
|
1132
|
+
iconvLiteDecoderId: "gb18030"
|
|
1133
|
+
},
|
|
1134
|
+
gbk: {
|
|
1135
|
+
id: "gbk",
|
|
1136
|
+
groupId: "chineseSimplified",
|
|
1137
|
+
isDetectable: !1,
|
|
1138
|
+
textDecoderId: "gbk",
|
|
1139
|
+
iconvLiteDecoderId: "gbk"
|
|
1140
|
+
},
|
|
1141
|
+
"georgian-academy": {
|
|
1142
|
+
id: "georgian-academy",
|
|
1143
|
+
groupId: "georgian",
|
|
1144
|
+
isDetectable: !1,
|
|
1145
|
+
textDecoderId: null,
|
|
1146
|
+
iconvLiteDecoderId: "georgianacademy"
|
|
1147
|
+
},
|
|
1148
|
+
"georgian-ps": {
|
|
1149
|
+
id: "georgian-ps",
|
|
1150
|
+
groupId: "georgian",
|
|
1151
|
+
isDetectable: !1,
|
|
1152
|
+
textDecoderId: null,
|
|
1153
|
+
iconvLiteDecoderId: "georgianps"
|
|
969
1154
|
},
|
|
970
1155
|
"hp-roman8": {
|
|
971
1156
|
id: "hp-roman8",
|
|
972
1157
|
groupId: "western",
|
|
973
|
-
|
|
1158
|
+
isDetectable: !0,
|
|
1159
|
+
textDecoderId: null,
|
|
1160
|
+
iconvLiteDecoderId: "hproman8"
|
|
974
1161
|
},
|
|
975
1162
|
"hz-gb-2312": {
|
|
976
1163
|
id: "hz-gb-2312",
|
|
977
1164
|
groupId: "chineseSimplified",
|
|
978
|
-
|
|
1165
|
+
isDetectable: !0,
|
|
1166
|
+
textDecoderId: null,
|
|
1167
|
+
iconvLiteDecoderId: null
|
|
979
1168
|
},
|
|
980
1169
|
ibm855: {
|
|
981
1170
|
id: "ibm855",
|
|
982
1171
|
groupId: "cyrillic",
|
|
983
|
-
|
|
1172
|
+
isDetectable: !0,
|
|
1173
|
+
textDecoderId: null,
|
|
1174
|
+
iconvLiteDecoderId: "cp855"
|
|
984
1175
|
},
|
|
985
1176
|
ibm866: {
|
|
986
1177
|
id: "ibm866",
|
|
987
1178
|
groupId: "cyrillic",
|
|
988
|
-
|
|
1179
|
+
isDetectable: !0,
|
|
1180
|
+
textDecoderId: "ibm866",
|
|
1181
|
+
iconvLiteDecoderId: "cp866"
|
|
989
1182
|
},
|
|
990
1183
|
"iso-2022-jp": {
|
|
991
1184
|
id: "iso-2022-jp",
|
|
992
1185
|
groupId: "japanese",
|
|
993
|
-
|
|
1186
|
+
isDetectable: !0,
|
|
1187
|
+
textDecoderId: "iso-2022-jp",
|
|
1188
|
+
iconvLiteDecoderId: null
|
|
994
1189
|
},
|
|
995
1190
|
"iso-2022-kr": {
|
|
996
1191
|
id: "iso-2022-kr",
|
|
997
1192
|
groupId: "korean",
|
|
998
|
-
|
|
1193
|
+
isDetectable: !0,
|
|
1194
|
+
textDecoderId: null,
|
|
1195
|
+
iconvLiteDecoderId: null
|
|
999
1196
|
},
|
|
1000
1197
|
"iso-8859-1": {
|
|
1001
1198
|
id: "iso-8859-1",
|
|
1002
1199
|
groupId: "western",
|
|
1003
|
-
|
|
1200
|
+
isDetectable: !0,
|
|
1201
|
+
textDecoderId: "windows-1252",
|
|
1202
|
+
iconvLiteDecoderId: "iso88591"
|
|
1004
1203
|
},
|
|
1005
1204
|
"iso-8859-2": {
|
|
1006
1205
|
id: "iso-8859-2",
|
|
1007
1206
|
groupId: "centralEuropean",
|
|
1008
|
-
|
|
1207
|
+
isDetectable: !0,
|
|
1208
|
+
textDecoderId: "iso-8859-2",
|
|
1209
|
+
iconvLiteDecoderId: "iso88592"
|
|
1009
1210
|
},
|
|
1010
1211
|
"iso-8859-5": {
|
|
1011
1212
|
id: "iso-8859-5",
|
|
1012
1213
|
groupId: "cyrillic",
|
|
1013
|
-
|
|
1214
|
+
isDetectable: !0,
|
|
1215
|
+
textDecoderId: "iso-8859-5",
|
|
1216
|
+
iconvLiteDecoderId: "iso88595"
|
|
1014
1217
|
},
|
|
1015
1218
|
"iso-8859-6": {
|
|
1016
1219
|
id: "iso-8859-6",
|
|
1017
1220
|
groupId: "arabic",
|
|
1018
|
-
|
|
1221
|
+
isDetectable: !0,
|
|
1222
|
+
textDecoderId: "iso-8859-6",
|
|
1223
|
+
iconvLiteDecoderId: "iso88596"
|
|
1019
1224
|
},
|
|
1020
1225
|
"iso-8859-7": {
|
|
1021
1226
|
id: "iso-8859-7",
|
|
1022
1227
|
groupId: "greek",
|
|
1023
|
-
|
|
1228
|
+
isDetectable: !0,
|
|
1229
|
+
textDecoderId: "iso-8859-7",
|
|
1230
|
+
iconvLiteDecoderId: "iso88597"
|
|
1024
1231
|
},
|
|
1025
1232
|
"iso-8859-8": {
|
|
1026
1233
|
id: "iso-8859-8",
|
|
1027
1234
|
groupId: "hebrew",
|
|
1028
|
-
|
|
1235
|
+
isDetectable: !0,
|
|
1236
|
+
textDecoderId: "iso-8859-8-i",
|
|
1237
|
+
iconvLiteDecoderId: "iso88598"
|
|
1029
1238
|
},
|
|
1030
1239
|
"iso-8859-9": {
|
|
1031
1240
|
id: "iso-8859-9",
|
|
1032
1241
|
groupId: "turkish",
|
|
1033
|
-
|
|
1242
|
+
isDetectable: !0,
|
|
1243
|
+
textDecoderId: "windows-1254",
|
|
1244
|
+
iconvLiteDecoderId: "iso88599"
|
|
1245
|
+
},
|
|
1246
|
+
"iso-8859-11": {
|
|
1247
|
+
id: "iso-8859-11",
|
|
1248
|
+
groupId: "thai",
|
|
1249
|
+
isDetectable: !1,
|
|
1250
|
+
textDecoderId: "windows-874",
|
|
1251
|
+
iconvLiteDecoderId: "iso885911"
|
|
1034
1252
|
},
|
|
1035
1253
|
"iso-8859-13": {
|
|
1036
1254
|
id: "iso-8859-13",
|
|
1037
1255
|
groupId: "baltic",
|
|
1038
|
-
|
|
1256
|
+
isDetectable: !0,
|
|
1257
|
+
textDecoderId: "iso-8859-13",
|
|
1258
|
+
iconvLiteDecoderId: "iso885913"
|
|
1259
|
+
},
|
|
1260
|
+
"iso646-cn": {
|
|
1261
|
+
id: "iso646-cn",
|
|
1262
|
+
groupId: "chineseSimplified",
|
|
1263
|
+
isDetectable: !1,
|
|
1264
|
+
textDecoderId: null,
|
|
1265
|
+
iconvLiteDecoderId: "iso646cn"
|
|
1266
|
+
},
|
|
1267
|
+
"iso646-jp": {
|
|
1268
|
+
id: "iso646-jp",
|
|
1269
|
+
groupId: "japanese",
|
|
1270
|
+
isDetectable: !1,
|
|
1271
|
+
textDecoderId: null,
|
|
1272
|
+
iconvLiteDecoderId: "iso646jp"
|
|
1039
1273
|
},
|
|
1040
1274
|
iso2022_jp_2004: {
|
|
1041
1275
|
id: "iso2022_jp_2004",
|
|
1042
1276
|
groupId: "japanese",
|
|
1043
|
-
|
|
1277
|
+
isDetectable: !0,
|
|
1278
|
+
textDecoderId: null,
|
|
1279
|
+
iconvLiteDecoderId: null
|
|
1044
1280
|
},
|
|
1045
1281
|
iso2022_jp_ext: {
|
|
1046
1282
|
id: "iso2022_jp_ext",
|
|
1047
1283
|
groupId: "japanese",
|
|
1048
|
-
|
|
1284
|
+
isDetectable: !0,
|
|
1285
|
+
textDecoderId: null,
|
|
1286
|
+
iconvLiteDecoderId: null
|
|
1049
1287
|
},
|
|
1050
1288
|
"iso8859-3": {
|
|
1051
1289
|
id: "iso8859-3",
|
|
1052
1290
|
groupId: "southernEuropean",
|
|
1053
|
-
|
|
1291
|
+
isDetectable: !0,
|
|
1292
|
+
textDecoderId: "iso-8859-3",
|
|
1293
|
+
iconvLiteDecoderId: "iso88593"
|
|
1054
1294
|
},
|
|
1055
1295
|
"iso8859-4": {
|
|
1056
1296
|
id: "iso8859-4",
|
|
1057
1297
|
groupId: "baltic",
|
|
1058
|
-
|
|
1298
|
+
isDetectable: !0,
|
|
1299
|
+
textDecoderId: "iso-8859-4",
|
|
1300
|
+
iconvLiteDecoderId: "iso88594"
|
|
1059
1301
|
},
|
|
1060
1302
|
"iso8859-10": {
|
|
1061
1303
|
id: "iso8859-10",
|
|
1062
1304
|
groupId: "nordic",
|
|
1063
|
-
|
|
1305
|
+
isDetectable: !0,
|
|
1306
|
+
textDecoderId: "iso-8859-10",
|
|
1307
|
+
iconvLiteDecoderId: "iso885910"
|
|
1064
1308
|
},
|
|
1065
1309
|
"iso8859-14": {
|
|
1066
1310
|
id: "iso8859-14",
|
|
1067
1311
|
groupId: "celtic",
|
|
1068
|
-
|
|
1312
|
+
isDetectable: !0,
|
|
1313
|
+
textDecoderId: "iso-8859-14",
|
|
1314
|
+
iconvLiteDecoderId: "iso885914"
|
|
1069
1315
|
},
|
|
1070
1316
|
"iso8859-15": {
|
|
1071
1317
|
id: "iso8859-15",
|
|
1072
1318
|
groupId: "western",
|
|
1073
|
-
|
|
1319
|
+
isDetectable: !0,
|
|
1320
|
+
textDecoderId: "iso-8859-15",
|
|
1321
|
+
iconvLiteDecoderId: "iso885915"
|
|
1074
1322
|
},
|
|
1075
1323
|
"iso8859-16": {
|
|
1076
1324
|
id: "iso8859-16",
|
|
1077
|
-
groupId: "
|
|
1078
|
-
|
|
1325
|
+
groupId: "southEasternEuropean",
|
|
1326
|
+
isDetectable: !0,
|
|
1327
|
+
textDecoderId: "iso-8859-16",
|
|
1328
|
+
iconvLiteDecoderId: "iso885916"
|
|
1079
1329
|
},
|
|
1080
1330
|
johab: {
|
|
1081
1331
|
id: "johab",
|
|
1082
1332
|
groupId: "korean",
|
|
1083
|
-
|
|
1333
|
+
isDetectable: !0,
|
|
1334
|
+
textDecoderId: null,
|
|
1335
|
+
iconvLiteDecoderId: null
|
|
1084
1336
|
},
|
|
1085
1337
|
"koi8-r": {
|
|
1086
1338
|
id: "koi8-r",
|
|
1087
1339
|
groupId: "cyrillic",
|
|
1088
|
-
|
|
1340
|
+
isDetectable: !0,
|
|
1341
|
+
textDecoderId: "koi8-r",
|
|
1342
|
+
iconvLiteDecoderId: "koi8r"
|
|
1343
|
+
},
|
|
1344
|
+
"koi8-ru": {
|
|
1345
|
+
id: "koi8-ru",
|
|
1346
|
+
groupId: "cyrillic",
|
|
1347
|
+
isDetectable: !1,
|
|
1348
|
+
textDecoderId: "koi8-u",
|
|
1349
|
+
iconvLiteDecoderId: "koi8ru"
|
|
1089
1350
|
},
|
|
1090
1351
|
"koi8-t": {
|
|
1091
1352
|
id: "koi8-t",
|
|
1092
1353
|
groupId: "cyrillic",
|
|
1093
|
-
|
|
1354
|
+
isDetectable: !0,
|
|
1355
|
+
textDecoderId: null,
|
|
1356
|
+
iconvLiteDecoderId: "koi8t"
|
|
1094
1357
|
},
|
|
1095
1358
|
"koi8-u": {
|
|
1096
1359
|
id: "koi8-u",
|
|
1097
1360
|
groupId: "cyrillic",
|
|
1098
|
-
|
|
1361
|
+
isDetectable: !0,
|
|
1362
|
+
textDecoderId: "koi8-u",
|
|
1363
|
+
iconvLiteDecoderId: "koi8u"
|
|
1099
1364
|
},
|
|
1100
1365
|
kz1048: {
|
|
1101
1366
|
id: "kz1048",
|
|
1102
1367
|
groupId: "cyrillic",
|
|
1103
|
-
|
|
1368
|
+
isDetectable: !0,
|
|
1369
|
+
textDecoderId: null,
|
|
1370
|
+
iconvLiteDecoderId: "rk1048"
|
|
1371
|
+
},
|
|
1372
|
+
maccroatian: {
|
|
1373
|
+
id: "maccroatian",
|
|
1374
|
+
groupId: "centralEuropean",
|
|
1375
|
+
isDetectable: !1,
|
|
1376
|
+
textDecoderId: null,
|
|
1377
|
+
iconvLiteDecoderId: "maccroatian"
|
|
1104
1378
|
},
|
|
1105
1379
|
maccyrillic: {
|
|
1106
1380
|
id: "maccyrillic",
|
|
1107
1381
|
groupId: "cyrillic",
|
|
1108
|
-
|
|
1382
|
+
isDetectable: !0,
|
|
1383
|
+
textDecoderId: "x-mac-cyrillic",
|
|
1384
|
+
iconvLiteDecoderId: "maccyrillic"
|
|
1109
1385
|
},
|
|
1110
1386
|
macgreek: {
|
|
1111
1387
|
id: "macgreek",
|
|
1112
1388
|
groupId: "greek",
|
|
1113
|
-
|
|
1389
|
+
isDetectable: !0,
|
|
1390
|
+
textDecoderId: null,
|
|
1391
|
+
iconvLiteDecoderId: "macgreek"
|
|
1114
1392
|
},
|
|
1115
1393
|
maciceland: {
|
|
1116
1394
|
id: "maciceland",
|
|
1117
1395
|
groupId: "nordic",
|
|
1118
|
-
|
|
1396
|
+
isDetectable: !0,
|
|
1397
|
+
textDecoderId: null,
|
|
1398
|
+
iconvLiteDecoderId: "maciceland"
|
|
1119
1399
|
},
|
|
1120
1400
|
maclatin2: {
|
|
1121
1401
|
id: "maclatin2",
|
|
1122
1402
|
groupId: "centralEuropean",
|
|
1123
|
-
|
|
1403
|
+
isDetectable: !0,
|
|
1404
|
+
textDecoderId: null,
|
|
1405
|
+
iconvLiteDecoderId: "maccenteuro"
|
|
1124
1406
|
},
|
|
1125
1407
|
macroman: {
|
|
1126
1408
|
id: "macroman",
|
|
1127
1409
|
groupId: "western",
|
|
1128
|
-
|
|
1410
|
+
isDetectable: !0,
|
|
1411
|
+
textDecoderId: "macintosh",
|
|
1412
|
+
iconvLiteDecoderId: "macroman"
|
|
1413
|
+
},
|
|
1414
|
+
macromania: {
|
|
1415
|
+
id: "macromania",
|
|
1416
|
+
groupId: "southEasternEuropean",
|
|
1417
|
+
isDetectable: !1,
|
|
1418
|
+
textDecoderId: null,
|
|
1419
|
+
iconvLiteDecoderId: "macromania"
|
|
1420
|
+
},
|
|
1421
|
+
macthai: {
|
|
1422
|
+
id: "macthai",
|
|
1423
|
+
groupId: "thai",
|
|
1424
|
+
isDetectable: !1,
|
|
1425
|
+
textDecoderId: null,
|
|
1426
|
+
iconvLiteDecoderId: "macthai"
|
|
1129
1427
|
},
|
|
1130
1428
|
macturkish: {
|
|
1131
1429
|
id: "macturkish",
|
|
1132
1430
|
groupId: "turkish",
|
|
1133
|
-
|
|
1431
|
+
isDetectable: !0,
|
|
1432
|
+
textDecoderId: null,
|
|
1433
|
+
iconvLiteDecoderId: "macturkish"
|
|
1434
|
+
},
|
|
1435
|
+
macukraine: {
|
|
1436
|
+
id: "macukraine",
|
|
1437
|
+
groupId: "cyrillic",
|
|
1438
|
+
isDetectable: !1,
|
|
1439
|
+
textDecoderId: null,
|
|
1440
|
+
iconvLiteDecoderId: "macukraine"
|
|
1441
|
+
},
|
|
1442
|
+
mik: {
|
|
1443
|
+
id: "mik",
|
|
1444
|
+
groupId: "cyrillic",
|
|
1445
|
+
isDetectable: !1,
|
|
1446
|
+
textDecoderId: null,
|
|
1447
|
+
iconvLiteDecoderId: "mik"
|
|
1134
1448
|
},
|
|
1135
1449
|
ptcp154: {
|
|
1136
1450
|
id: "ptcp154",
|
|
1137
1451
|
groupId: "cyrillic",
|
|
1138
|
-
|
|
1452
|
+
isDetectable: !0,
|
|
1453
|
+
textDecoderId: null,
|
|
1454
|
+
iconvLiteDecoderId: "pt154"
|
|
1139
1455
|
},
|
|
1140
1456
|
shift_jis: {
|
|
1141
1457
|
id: "shift_jis",
|
|
1142
1458
|
groupId: "japanese",
|
|
1143
|
-
|
|
1459
|
+
isDetectable: !0,
|
|
1460
|
+
textDecoderId: "shift_jis",
|
|
1461
|
+
iconvLiteDecoderId: "shiftjis"
|
|
1462
|
+
},
|
|
1463
|
+
tcvn: {
|
|
1464
|
+
id: "tcvn",
|
|
1465
|
+
groupId: "vietnamese",
|
|
1466
|
+
isDetectable: !1,
|
|
1467
|
+
textDecoderId: null,
|
|
1468
|
+
iconvLiteDecoderId: "tcvn"
|
|
1144
1469
|
},
|
|
1145
1470
|
"tis-620": {
|
|
1146
1471
|
id: "tis-620",
|
|
1147
1472
|
groupId: "thai",
|
|
1148
|
-
|
|
1473
|
+
isDetectable: !0,
|
|
1474
|
+
textDecoderId: "windows-874",
|
|
1475
|
+
iconvLiteDecoderId: "tis620"
|
|
1149
1476
|
},
|
|
1150
1477
|
"utf-7": {
|
|
1151
1478
|
id: "utf-7",
|
|
1152
|
-
groupId: "
|
|
1153
|
-
|
|
1479
|
+
groupId: "unicode",
|
|
1480
|
+
isDetectable: !0,
|
|
1481
|
+
textDecoderId: null,
|
|
1482
|
+
iconvLiteDecoderId: "utf7"
|
|
1154
1483
|
},
|
|
1155
1484
|
"utf-8": {
|
|
1156
1485
|
id: "utf-8",
|
|
1157
|
-
groupId:
|
|
1158
|
-
|
|
1486
|
+
groupId: "unicode",
|
|
1487
|
+
isDetectable: !0,
|
|
1488
|
+
textDecoderId: "utf-8",
|
|
1489
|
+
iconvLiteDecoderId: "utf-8"
|
|
1159
1490
|
},
|
|
1160
1491
|
"utf-8-sig": {
|
|
1161
1492
|
id: "utf-8-sig",
|
|
1162
|
-
groupId:
|
|
1163
|
-
|
|
1493
|
+
groupId: "unicode",
|
|
1494
|
+
isDetectable: !0,
|
|
1495
|
+
textDecoderId: "utf-8",
|
|
1496
|
+
iconvLiteDecoderId: "utf-8"
|
|
1164
1497
|
},
|
|
1165
1498
|
"utf-16": {
|
|
1166
1499
|
id: "utf-16",
|
|
1167
|
-
groupId: "
|
|
1168
|
-
|
|
1500
|
+
groupId: "unicode",
|
|
1501
|
+
isDetectable: !0,
|
|
1502
|
+
textDecoderId: null,
|
|
1503
|
+
iconvLiteDecoderId: "utf16"
|
|
1169
1504
|
},
|
|
1170
1505
|
"utf-16-be": {
|
|
1171
1506
|
id: "utf-16-be",
|
|
1172
|
-
groupId: "
|
|
1173
|
-
|
|
1507
|
+
groupId: "unicode",
|
|
1508
|
+
isDetectable: !0,
|
|
1509
|
+
textDecoderId: "utf-16be",
|
|
1510
|
+
iconvLiteDecoderId: "utf16be"
|
|
1174
1511
|
},
|
|
1175
1512
|
"utf-16-le": {
|
|
1176
1513
|
id: "utf-16-le",
|
|
1177
|
-
groupId: "
|
|
1178
|
-
|
|
1514
|
+
groupId: "unicode",
|
|
1515
|
+
isDetectable: !0,
|
|
1516
|
+
textDecoderId: "utf-16le",
|
|
1517
|
+
iconvLiteDecoderId: "utf16le"
|
|
1179
1518
|
},
|
|
1180
1519
|
"utf-32": {
|
|
1181
1520
|
id: "utf-32",
|
|
1182
|
-
groupId: "
|
|
1183
|
-
|
|
1521
|
+
groupId: "unicode",
|
|
1522
|
+
isDetectable: !0,
|
|
1523
|
+
textDecoderId: null,
|
|
1524
|
+
iconvLiteDecoderId: "utf32"
|
|
1184
1525
|
},
|
|
1185
1526
|
"utf-32-be": {
|
|
1186
1527
|
id: "utf-32-be",
|
|
1187
|
-
groupId: "
|
|
1188
|
-
|
|
1528
|
+
groupId: "unicode",
|
|
1529
|
+
isDetectable: !0,
|
|
1530
|
+
textDecoderId: null,
|
|
1531
|
+
iconvLiteDecoderId: "utf32be"
|
|
1189
1532
|
},
|
|
1190
1533
|
"utf-32-le": {
|
|
1191
1534
|
id: "utf-32-le",
|
|
1192
|
-
groupId: "
|
|
1193
|
-
|
|
1535
|
+
groupId: "unicode",
|
|
1536
|
+
isDetectable: !0,
|
|
1537
|
+
textDecoderId: null,
|
|
1538
|
+
iconvLiteDecoderId: "utf32le"
|
|
1539
|
+
},
|
|
1540
|
+
viscii: {
|
|
1541
|
+
id: "viscii",
|
|
1542
|
+
groupId: "vietnamese",
|
|
1543
|
+
isDetectable: !1,
|
|
1544
|
+
textDecoderId: null,
|
|
1545
|
+
iconvLiteDecoderId: "viscii"
|
|
1194
1546
|
},
|
|
1195
1547
|
"windows-1250": {
|
|
1196
1548
|
id: "windows-1250",
|
|
1197
1549
|
groupId: "centralEuropean",
|
|
1198
|
-
|
|
1550
|
+
isDetectable: !0,
|
|
1551
|
+
textDecoderId: "windows-1250",
|
|
1552
|
+
iconvLiteDecoderId: "windows1250"
|
|
1199
1553
|
},
|
|
1200
1554
|
"windows-1251": {
|
|
1201
1555
|
id: "windows-1251",
|
|
1202
1556
|
groupId: "cyrillic",
|
|
1203
|
-
|
|
1557
|
+
isDetectable: !0,
|
|
1558
|
+
textDecoderId: "windows-1251",
|
|
1559
|
+
iconvLiteDecoderId: "windows1251"
|
|
1204
1560
|
},
|
|
1205
1561
|
"windows-1252": {
|
|
1206
1562
|
id: "windows-1252",
|
|
1207
1563
|
groupId: "western",
|
|
1208
|
-
|
|
1564
|
+
isDetectable: !0,
|
|
1565
|
+
textDecoderId: "windows-1252",
|
|
1566
|
+
iconvLiteDecoderId: "windows1252"
|
|
1209
1567
|
},
|
|
1210
1568
|
"windows-1253": {
|
|
1211
1569
|
id: "windows-1253",
|
|
1212
1570
|
groupId: "greek",
|
|
1213
|
-
|
|
1571
|
+
isDetectable: !0,
|
|
1572
|
+
textDecoderId: "windows-1253",
|
|
1573
|
+
iconvLiteDecoderId: "windows1253"
|
|
1214
1574
|
},
|
|
1215
1575
|
"windows-1254": {
|
|
1216
1576
|
id: "windows-1254",
|
|
1217
1577
|
groupId: "turkish",
|
|
1218
|
-
|
|
1578
|
+
isDetectable: !0,
|
|
1579
|
+
textDecoderId: "windows-1254",
|
|
1580
|
+
iconvLiteDecoderId: "windows1254"
|
|
1219
1581
|
},
|
|
1220
1582
|
"windows-1255": {
|
|
1221
1583
|
id: "windows-1255",
|
|
1222
1584
|
groupId: "hebrew",
|
|
1223
|
-
|
|
1585
|
+
isDetectable: !0,
|
|
1586
|
+
textDecoderId: "windows-1255",
|
|
1587
|
+
iconvLiteDecoderId: "windows1255"
|
|
1224
1588
|
},
|
|
1225
1589
|
"windows-1256": {
|
|
1226
1590
|
id: "windows-1256",
|
|
1227
1591
|
groupId: "arabic",
|
|
1228
|
-
|
|
1592
|
+
isDetectable: !0,
|
|
1593
|
+
textDecoderId: "windows-1256",
|
|
1594
|
+
iconvLiteDecoderId: "windows1256"
|
|
1229
1595
|
},
|
|
1230
1596
|
"windows-1257": {
|
|
1231
1597
|
id: "windows-1257",
|
|
1232
1598
|
groupId: "baltic",
|
|
1233
|
-
|
|
1599
|
+
isDetectable: !0,
|
|
1600
|
+
textDecoderId: "windows-1257",
|
|
1601
|
+
iconvLiteDecoderId: "windows1257"
|
|
1234
1602
|
}
|
|
1235
1603
|
}, O = Ce, k = we;
|
|
1236
1604
|
function Te(e) {
|
|
1237
1605
|
return Object.hasOwn(k, e);
|
|
1238
1606
|
}
|
|
1239
1607
|
function A(e) {
|
|
1240
|
-
return Te(e) ? k[e].
|
|
1608
|
+
return Te(e) ? k[e].textDecoderId ?? e : e;
|
|
1241
1609
|
}
|
|
1242
1610
|
function Ee(e = "en") {
|
|
1243
|
-
return Array.from(Object.values(k), ({
|
|
1244
|
-
let
|
|
1611
|
+
return Array.from(Object.values(k), ({ groupId: t, iconvLiteDecoderId: n, id: r, isDetectable: i, textDecoderId: a }) => {
|
|
1612
|
+
let o = t == null ? "" : De(t, e);
|
|
1245
1613
|
return {
|
|
1246
1614
|
id: r,
|
|
1247
|
-
groupLabel:
|
|
1248
|
-
label:
|
|
1249
|
-
|
|
1250
|
-
|
|
1615
|
+
groupLabel: o,
|
|
1616
|
+
label: o ? `${o} (${r})` : r,
|
|
1617
|
+
isDetectable: i,
|
|
1618
|
+
isDecodable: a != null,
|
|
1619
|
+
textDecoderId: a,
|
|
1620
|
+
iconvLiteDecoderId: n
|
|
1251
1621
|
};
|
|
1252
|
-
}).toSorted((t, n) => t.groupLabel.localeCompare(n.groupLabel, e) || t.
|
|
1622
|
+
}).toSorted((t, n) => t.groupLabel.localeCompare(n.groupLabel, e) || t.id.localeCompare(n.id, e, { numeric: !0 }));
|
|
1253
1623
|
}
|
|
1254
1624
|
function De(e, t) {
|
|
1255
1625
|
let n = O[e].label;
|