index.js 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  1. module.exports = new Map([
  2. ['General_Category', [
  3. 'Cased_Letter',
  4. 'Close_Punctuation',
  5. 'Connector_Punctuation',
  6. 'Control',
  7. 'Currency_Symbol',
  8. 'Dash_Punctuation',
  9. 'Decimal_Number',
  10. 'Enclosing_Mark',
  11. 'Final_Punctuation',
  12. 'Format',
  13. 'Initial_Punctuation',
  14. 'Letter',
  15. 'Letter_Number',
  16. 'Line_Separator',
  17. 'Lowercase_Letter',
  18. 'Mark',
  19. 'Math_Symbol',
  20. 'Modifier_Letter',
  21. 'Modifier_Symbol',
  22. 'Nonspacing_Mark',
  23. 'Number',
  24. 'Open_Punctuation',
  25. 'Other',
  26. 'Other_Letter',
  27. 'Other_Number',
  28. 'Other_Punctuation',
  29. 'Other_Symbol',
  30. 'Paragraph_Separator',
  31. 'Private_Use',
  32. 'Punctuation',
  33. 'Separator',
  34. 'Space_Separator',
  35. 'Spacing_Mark',
  36. 'Surrogate',
  37. 'Symbol',
  38. 'Titlecase_Letter',
  39. 'Unassigned',
  40. 'Uppercase_Letter'
  41. ]],
  42. ['Script', [
  43. 'Adlam',
  44. 'Ahom',
  45. 'Anatolian_Hieroglyphs',
  46. 'Arabic',
  47. 'Armenian',
  48. 'Avestan',
  49. 'Balinese',
  50. 'Bamum',
  51. 'Bassa_Vah',
  52. 'Batak',
  53. 'Bengali',
  54. 'Bhaiksuki',
  55. 'Bopomofo',
  56. 'Brahmi',
  57. 'Braille',
  58. 'Buginese',
  59. 'Buhid',
  60. 'Canadian_Aboriginal',
  61. 'Carian',
  62. 'Caucasian_Albanian',
  63. 'Chakma',
  64. 'Cham',
  65. 'Cherokee',
  66. 'Chorasmian',
  67. 'Common',
  68. 'Coptic',
  69. 'Cuneiform',
  70. 'Cypriot',
  71. 'Cypro_Minoan',
  72. 'Cyrillic',
  73. 'Deseret',
  74. 'Devanagari',
  75. 'Dives_Akuru',
  76. 'Dogra',
  77. 'Duployan',
  78. 'Egyptian_Hieroglyphs',
  79. 'Elbasan',
  80. 'Elymaic',
  81. 'Ethiopic',
  82. 'Garay',
  83. 'Georgian',
  84. 'Glagolitic',
  85. 'Gothic',
  86. 'Grantha',
  87. 'Greek',
  88. 'Gujarati',
  89. 'Gunjala_Gondi',
  90. 'Gurmukhi',
  91. 'Gurung_Khema',
  92. 'Han',
  93. 'Hangul',
  94. 'Hanifi_Rohingya',
  95. 'Hanunoo',
  96. 'Hatran',
  97. 'Hebrew',
  98. 'Hiragana',
  99. 'Imperial_Aramaic',
  100. 'Inherited',
  101. 'Inscriptional_Pahlavi',
  102. 'Inscriptional_Parthian',
  103. 'Javanese',
  104. 'Kaithi',
  105. 'Kannada',
  106. 'Katakana',
  107. 'Kawi',
  108. 'Kayah_Li',
  109. 'Kharoshthi',
  110. 'Khitan_Small_Script',
  111. 'Khmer',
  112. 'Khojki',
  113. 'Khudawadi',
  114. 'Kirat_Rai',
  115. 'Lao',
  116. 'Latin',
  117. 'Lepcha',
  118. 'Limbu',
  119. 'Linear_A',
  120. 'Linear_B',
  121. 'Lisu',
  122. 'Lycian',
  123. 'Lydian',
  124. 'Mahajani',
  125. 'Makasar',
  126. 'Malayalam',
  127. 'Mandaic',
  128. 'Manichaean',
  129. 'Marchen',
  130. 'Masaram_Gondi',
  131. 'Medefaidrin',
  132. 'Meetei_Mayek',
  133. 'Mende_Kikakui',
  134. 'Meroitic_Cursive',
  135. 'Meroitic_Hieroglyphs',
  136. 'Miao',
  137. 'Modi',
  138. 'Mongolian',
  139. 'Mro',
  140. 'Multani',
  141. 'Myanmar',
  142. 'Nabataean',
  143. 'Nag_Mundari',
  144. 'Nandinagari',
  145. 'New_Tai_Lue',
  146. 'Newa',
  147. 'Nko',
  148. 'Nushu',
  149. 'Nyiakeng_Puachue_Hmong',
  150. 'Ogham',
  151. 'Ol_Chiki',
  152. 'Ol_Onal',
  153. 'Old_Hungarian',
  154. 'Old_Italic',
  155. 'Old_North_Arabian',
  156. 'Old_Permic',
  157. 'Old_Persian',
  158. 'Old_Sogdian',
  159. 'Old_South_Arabian',
  160. 'Old_Turkic',
  161. 'Old_Uyghur',
  162. 'Oriya',
  163. 'Osage',
  164. 'Osmanya',
  165. 'Pahawh_Hmong',
  166. 'Palmyrene',
  167. 'Pau_Cin_Hau',
  168. 'Phags_Pa',
  169. 'Phoenician',
  170. 'Psalter_Pahlavi',
  171. 'Rejang',
  172. 'Runic',
  173. 'Samaritan',
  174. 'Saurashtra',
  175. 'Sharada',
  176. 'Shavian',
  177. 'Siddham',
  178. 'SignWriting',
  179. 'Sinhala',
  180. 'Sogdian',
  181. 'Sora_Sompeng',
  182. 'Soyombo',
  183. 'Sundanese',
  184. 'Sunuwar',
  185. 'Syloti_Nagri',
  186. 'Syriac',
  187. 'Tagalog',
  188. 'Tagbanwa',
  189. 'Tai_Le',
  190. 'Tai_Tham',
  191. 'Tai_Viet',
  192. 'Takri',
  193. 'Tamil',
  194. 'Tangsa',
  195. 'Tangut',
  196. 'Telugu',
  197. 'Thaana',
  198. 'Thai',
  199. 'Tibetan',
  200. 'Tifinagh',
  201. 'Tirhuta',
  202. 'Todhri',
  203. 'Toto',
  204. 'Tulu_Tigalari',
  205. 'Ugaritic',
  206. 'Vai',
  207. 'Vithkuqi',
  208. 'Wancho',
  209. 'Warang_Citi',
  210. 'Yezidi',
  211. 'Yi',
  212. 'Zanabazar_Square'
  213. ]],
  214. ['Script_Extensions', [
  215. 'Adlam',
  216. 'Ahom',
  217. 'Anatolian_Hieroglyphs',
  218. 'Arabic',
  219. 'Armenian',
  220. 'Avestan',
  221. 'Balinese',
  222. 'Bamum',
  223. 'Bassa_Vah',
  224. 'Batak',
  225. 'Bengali',
  226. 'Bhaiksuki',
  227. 'Bopomofo',
  228. 'Brahmi',
  229. 'Braille',
  230. 'Buginese',
  231. 'Buhid',
  232. 'Canadian_Aboriginal',
  233. 'Carian',
  234. 'Caucasian_Albanian',
  235. 'Chakma',
  236. 'Cham',
  237. 'Cherokee',
  238. 'Chorasmian',
  239. 'Common',
  240. 'Coptic',
  241. 'Cuneiform',
  242. 'Cypriot',
  243. 'Cypro_Minoan',
  244. 'Cyrillic',
  245. 'Deseret',
  246. 'Devanagari',
  247. 'Dives_Akuru',
  248. 'Dogra',
  249. 'Duployan',
  250. 'Egyptian_Hieroglyphs',
  251. 'Elbasan',
  252. 'Elymaic',
  253. 'Ethiopic',
  254. 'Garay',
  255. 'Georgian',
  256. 'Glagolitic',
  257. 'Gothic',
  258. 'Grantha',
  259. 'Greek',
  260. 'Gujarati',
  261. 'Gunjala_Gondi',
  262. 'Gurmukhi',
  263. 'Gurung_Khema',
  264. 'Han',
  265. 'Hangul',
  266. 'Hanifi_Rohingya',
  267. 'Hanunoo',
  268. 'Hatran',
  269. 'Hebrew',
  270. 'Hiragana',
  271. 'Imperial_Aramaic',
  272. 'Inherited',
  273. 'Inscriptional_Pahlavi',
  274. 'Inscriptional_Parthian',
  275. 'Javanese',
  276. 'Kaithi',
  277. 'Kannada',
  278. 'Katakana',
  279. 'Kawi',
  280. 'Kayah_Li',
  281. 'Kharoshthi',
  282. 'Khitan_Small_Script',
  283. 'Khmer',
  284. 'Khojki',
  285. 'Khudawadi',
  286. 'Kirat_Rai',
  287. 'Lao',
  288. 'Latin',
  289. 'Lepcha',
  290. 'Limbu',
  291. 'Linear_A',
  292. 'Linear_B',
  293. 'Lisu',
  294. 'Lycian',
  295. 'Lydian',
  296. 'Mahajani',
  297. 'Makasar',
  298. 'Malayalam',
  299. 'Mandaic',
  300. 'Manichaean',
  301. 'Marchen',
  302. 'Masaram_Gondi',
  303. 'Medefaidrin',
  304. 'Meetei_Mayek',
  305. 'Mende_Kikakui',
  306. 'Meroitic_Cursive',
  307. 'Meroitic_Hieroglyphs',
  308. 'Miao',
  309. 'Modi',
  310. 'Mongolian',
  311. 'Mro',
  312. 'Multani',
  313. 'Myanmar',
  314. 'Nabataean',
  315. 'Nag_Mundari',
  316. 'Nandinagari',
  317. 'New_Tai_Lue',
  318. 'Newa',
  319. 'Nko',
  320. 'Nushu',
  321. 'Nyiakeng_Puachue_Hmong',
  322. 'Ogham',
  323. 'Ol_Chiki',
  324. 'Ol_Onal',
  325. 'Old_Hungarian',
  326. 'Old_Italic',
  327. 'Old_North_Arabian',
  328. 'Old_Permic',
  329. 'Old_Persian',
  330. 'Old_Sogdian',
  331. 'Old_South_Arabian',
  332. 'Old_Turkic',
  333. 'Old_Uyghur',
  334. 'Oriya',
  335. 'Osage',
  336. 'Osmanya',
  337. 'Pahawh_Hmong',
  338. 'Palmyrene',
  339. 'Pau_Cin_Hau',
  340. 'Phags_Pa',
  341. 'Phoenician',
  342. 'Psalter_Pahlavi',
  343. 'Rejang',
  344. 'Runic',
  345. 'Samaritan',
  346. 'Saurashtra',
  347. 'Sharada',
  348. 'Shavian',
  349. 'Siddham',
  350. 'SignWriting',
  351. 'Sinhala',
  352. 'Sogdian',
  353. 'Sora_Sompeng',
  354. 'Soyombo',
  355. 'Sundanese',
  356. 'Sunuwar',
  357. 'Syloti_Nagri',
  358. 'Syriac',
  359. 'Tagalog',
  360. 'Tagbanwa',
  361. 'Tai_Le',
  362. 'Tai_Tham',
  363. 'Tai_Viet',
  364. 'Takri',
  365. 'Tamil',
  366. 'Tangsa',
  367. 'Tangut',
  368. 'Telugu',
  369. 'Thaana',
  370. 'Thai',
  371. 'Tibetan',
  372. 'Tifinagh',
  373. 'Tirhuta',
  374. 'Todhri',
  375. 'Toto',
  376. 'Tulu_Tigalari',
  377. 'Ugaritic',
  378. 'Vai',
  379. 'Vithkuqi',
  380. 'Wancho',
  381. 'Warang_Citi',
  382. 'Yezidi',
  383. 'Yi',
  384. 'Zanabazar_Square'
  385. ]],
  386. ['Binary_Property', [
  387. 'ASCII',
  388. 'ASCII_Hex_Digit',
  389. 'Alphabetic',
  390. 'Any',
  391. 'Assigned',
  392. 'Bidi_Control',
  393. 'Bidi_Mirrored',
  394. 'Case_Ignorable',
  395. 'Cased',
  396. 'Changes_When_Casefolded',
  397. 'Changes_When_Casemapped',
  398. 'Changes_When_Lowercased',
  399. 'Changes_When_NFKC_Casefolded',
  400. 'Changes_When_Titlecased',
  401. 'Changes_When_Uppercased',
  402. 'Dash',
  403. 'Default_Ignorable_Code_Point',
  404. 'Deprecated',
  405. 'Diacritic',
  406. 'Emoji',
  407. 'Emoji_Component',
  408. 'Emoji_Modifier',
  409. 'Emoji_Modifier_Base',
  410. 'Emoji_Presentation',
  411. 'Extended_Pictographic',
  412. 'Extender',
  413. 'Grapheme_Base',
  414. 'Grapheme_Extend',
  415. 'Hex_Digit',
  416. 'IDS_Binary_Operator',
  417. 'IDS_Trinary_Operator',
  418. 'ID_Continue',
  419. 'ID_Start',
  420. 'Ideographic',
  421. 'Join_Control',
  422. 'Logical_Order_Exception',
  423. 'Lowercase',
  424. 'Math',
  425. 'Noncharacter_Code_Point',
  426. 'Pattern_Syntax',
  427. 'Pattern_White_Space',
  428. 'Quotation_Mark',
  429. 'Radical',
  430. 'Regional_Indicator',
  431. 'Sentence_Terminal',
  432. 'Soft_Dotted',
  433. 'Terminal_Punctuation',
  434. 'Unified_Ideograph',
  435. 'Uppercase',
  436. 'Variation_Selector',
  437. 'White_Space',
  438. 'XID_Continue',
  439. 'XID_Start'
  440. ]],
  441. ['Property_of_Strings', [
  442. 'Basic_Emoji',
  443. 'Emoji_Keycap_Sequence',
  444. 'RGI_Emoji',
  445. 'RGI_Emoji_Flag_Sequence',
  446. 'RGI_Emoji_Modifier_Sequence',
  447. 'RGI_Emoji_Tag_Sequence',
  448. 'RGI_Emoji_ZWJ_Sequence'
  449. ]]
  450. ]);