polytypo 1.20.1 → 1.22.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.
Files changed (60) hide show
  1. package/dist/{chunk-HZNKXY23.js → chunk-2QD7JARJ.js} +3 -3
  2. package/dist/{chunk-WCGLFL3P.js → chunk-44KKUSOQ.js} +2 -2
  3. package/dist/{chunk-WPF7QNGG.cjs → chunk-6S7AKBQZ.cjs} +3 -3
  4. package/dist/{chunk-WPF7QNGG.cjs.map → chunk-6S7AKBQZ.cjs.map} +1 -1
  5. package/dist/{chunk-66E6VFGJ.cjs → chunk-BF6OL3QM.cjs} +4 -4
  6. package/dist/{chunk-66E6VFGJ.cjs.map → chunk-BF6OL3QM.cjs.map} +1 -1
  7. package/dist/{chunk-J7U6Y6K4.js → chunk-D6CWTH54.js} +272 -111
  8. package/dist/chunk-D6CWTH54.js.map +1 -0
  9. package/dist/chunk-FSDQXTM5.cjs +36 -0
  10. package/dist/{chunk-5A3KGYPE.cjs.map → chunk-FSDQXTM5.cjs.map} +1 -1
  11. package/dist/{chunk-4V77MJOE.js → chunk-IQ7T2HFZ.js} +2 -2
  12. package/dist/{chunk-OZLT5NZJ.cjs → chunk-JWOUHTOD.cjs} +272 -111
  13. package/dist/chunk-JWOUHTOD.cjs.map +1 -0
  14. package/dist/{chunk-ZTMVKQCT.js → chunk-MEVOJV7I.js} +2 -2
  15. package/dist/{chunk-NBINYPGF.js → chunk-N2QFEDI2.js} +3 -3
  16. package/dist/chunk-OEKUKIMI.cjs +38 -0
  17. package/dist/{chunk-Q4Y2OWQI.cjs.map → chunk-OEKUKIMI.cjs.map} +1 -1
  18. package/dist/{chunk-6GTMDBHQ.cjs → chunk-OY3D5CRP.cjs} +23 -23
  19. package/dist/{chunk-6GTMDBHQ.cjs.map → chunk-OY3D5CRP.cjs.map} +1 -1
  20. package/dist/{chunk-TKFAPD4Z.cjs → chunk-PLDK525W.cjs} +6 -6
  21. package/dist/{chunk-TKFAPD4Z.cjs.map → chunk-PLDK525W.cjs.map} +1 -1
  22. package/dist/{chunk-MY6V3BBS.js → chunk-PREUPLPO.js} +2 -2
  23. package/dist/{chunk-7BQ34ZVZ.js → chunk-PRG3GQNV.js} +4 -4
  24. package/dist/chunk-UNXIWWE7.cjs +34 -0
  25. package/dist/{chunk-GUTC5F7K.cjs.map → chunk-UNXIWWE7.cjs.map} +1 -1
  26. package/dist/{errors-CQz5lyjD.d.ts → errors-C5bXmTWu.d.cts} +12 -4
  27. package/dist/{errors-CQz5lyjD.d.cts → errors-C5bXmTWu.d.ts} +12 -4
  28. package/dist/html.cjs +9 -9
  29. package/dist/html.d.cts +2 -2
  30. package/dist/html.d.ts +2 -2
  31. package/dist/html.js +4 -4
  32. package/dist/index.cjs +17 -17
  33. package/dist/index.d.cts +2 -2
  34. package/dist/index.d.ts +2 -2
  35. package/dist/index.js +7 -7
  36. package/dist/markdown.cjs +10 -10
  37. package/dist/markdown.d.cts +2 -2
  38. package/dist/markdown.d.ts +2 -2
  39. package/dist/markdown.js +5 -5
  40. package/dist/text.cjs +8 -8
  41. package/dist/text.d.cts +2 -2
  42. package/dist/text.d.ts +2 -2
  43. package/dist/text.js +3 -3
  44. package/dist/yaml.cjs +9 -9
  45. package/dist/yaml.d.cts +2 -2
  46. package/dist/yaml.d.ts +2 -2
  47. package/dist/yaml.js +4 -4
  48. package/package.json +1 -1
  49. package/dist/chunk-5A3KGYPE.cjs +0 -36
  50. package/dist/chunk-GUTC5F7K.cjs +0 -34
  51. package/dist/chunk-J7U6Y6K4.js.map +0 -1
  52. package/dist/chunk-OZLT5NZJ.cjs.map +0 -1
  53. package/dist/chunk-Q4Y2OWQI.cjs +0 -38
  54. /package/dist/{chunk-HZNKXY23.js.map → chunk-2QD7JARJ.js.map} +0 -0
  55. /package/dist/{chunk-WCGLFL3P.js.map → chunk-44KKUSOQ.js.map} +0 -0
  56. /package/dist/{chunk-4V77MJOE.js.map → chunk-IQ7T2HFZ.js.map} +0 -0
  57. /package/dist/{chunk-ZTMVKQCT.js.map → chunk-MEVOJV7I.js.map} +0 -0
  58. /package/dist/{chunk-NBINYPGF.js.map → chunk-N2QFEDI2.js.map} +0 -0
  59. /package/dist/{chunk-MY6V3BBS.js.map → chunk-PREUPLPO.js.map} +0 -0
  60. /package/dist/{chunk-7BQ34ZVZ.js.map → chunk-PRG3GQNV.js.map} +0 -0
@@ -78,33 +78,33 @@ var ALIASES = {
78
78
  pt: "pt-PT"
79
79
  };
80
80
  var LOCALES = {
81
- bg: { locale: "bg", name: "Bulgarian", quotes: { primary: { open: "\u201E", close: "\u201C", innerSpace: "none" }, secondary: { open: "\u201E", close: "\u201C", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "en-spaced", range: "en-spaced" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: ["\u043A\u043C", "\u043A\u0433", "\u043B\u0432.", "\u0433."], beforeNumber: [], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
82
- cs: { locale: "cs", name: "Czech", quotes: { primary: { open: "\u201E", close: "\u201C", innerSpace: "none" }, secondary: { open: "\u201A", close: "\u2018", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: ["a", "i", "k", "o", "s", "u", "v", "z"], abbreviations: ["a. s.", "s. r. o."], beforeUnits: ["%", "\xB0C", "ha", "kg", "km", "cm", "mm", "m\xB2", "kWh", "km/h", "str.", "hod."], beforeNumber: [], beforeWord: ["tj.", "tzv.", "tzn."], afterSymbols: ["\xA7"], initialBinding: "single" } },
83
- "de-CH": { locale: "de-CH", name: "German (Switzerland)", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, secondary: { open: "\u2039", close: "\u203A", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["z. B.", "d. h.", "u. a.", "u. U.", "m. a. W.", "m. w. H."], beforeUnits: ["%", "\u2030", "\xB0C", "km", "cm", "mm", "kg", "km/h", "kWh"], beforeNumber: ["Art.", "Abs.", "Ziff.", "Kap.", "S."], beforeWord: ["St."], afterSymbols: ["\xA7", "\xA7\xA7"], initialBinding: "chain" } },
84
- "de-DE": { locale: "de-DE", name: "German (Germany)", quotes: { primary: { open: "\u201E", close: "\u201C", innerSpace: "none" }, secondary: { open: "\u201A", close: "\u2018", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["z. B.", "d. h.", "u. a.", "u. \xC4.", "z. T.", "i. d. R."], beforeUnits: ["%", "\u2030", "\u20AC", "\xB0C", "km", "cm", "mm", "kg", "km/h", "kWh"], beforeNumber: ["Nr.", "S."], beforeWord: ["St."], afterSymbols: ["\xA7", "\xA7\xA7"], initialBinding: "chain" } },
85
- el: { locale: "el", name: "Greek", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, secondary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "em-paired", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: [], beforeNumber: [], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
86
- "en-GB": { locale: "en-GB", name: "English (United Kingdom)", quotes: { primary: { open: "\u2018", close: "\u2019", innerSpace: "none" }, secondary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: ["s"] } }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: ["%", "kg", "g", "mg", "km", "m", "cm", "mm", "mi", "ft", "lb", "oz", "L", "mL", "h", "min", "s", "ms", "\xB0C", "\xB0F", "kB", "MB", "GB", "TB", "kW", "kWh"], beforeNumber: [], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
87
- "en-US": { locale: "en-US", name: "English (United States)", quotes: { primary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2018", close: "\u2019", innerSpace: "none" }, elisionIdioms: [{ left: "rock", elided: "n", right: "roll" }], elisionClitics: { before: [], after: ["s"] } }, dash: { parenthetical: "em-tight", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: ["%", "kg", "g", "mg", "km", "m", "cm", "mm", "mi", "ft", "lb", "oz", "L", "mL", "h", "min", "s", "ms", "\xB0C", "\xB0F", "kB", "MB", "GB", "TB", "kW", "kWh"], beforeNumber: [], beforeWord: [], afterSymbols: [], initialBinding: "chain" } },
88
- es: { locale: "es", name: "Spanish", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, secondary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "em-paired", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["p. ej.", "a. C.", "d. C.", "EE. UU.", "FF. AA.", "N. del T.", "q. e. p. d.", "et al."], beforeUnits: ["%", "\u2030", "\xB0C", "km", "cm", "mm", "kg", "mg", "mL", "min", "dB", "kW", "kWh"], beforeNumber: ["art.", "cap.", "n\xFAm.", "nro.", "p\xE1g.", "p\xE1gs."], beforeWord: ["Sr.", "Sra.", "Srta."], afterSymbols: [], initialBinding: "chain" } },
89
- fi: { locale: "fi", name: "Finnish", quotes: { primary: { open: "\u201D", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2019", close: "\u2019", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["fil. maist."], beforeUnits: ["%", "\u2030", "\xA7", "kg", "g", "mg", "km", "m", "cm", "mm", "l", "dl", "cl", "ml", "h", "min", "s", "ms", "\xB0C", "kW", "kWh"], beforeNumber: [], beforeWord: [], afterSymbols: ["\xA7"], initialBinding: "none" } },
90
- fr: { locale: "fr", name: "French (France)", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "nbsp" }, secondary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: ["l", "j", "m", "t", "s", "c", "qu", "jusqu", "d", "n", "lorsqu", "puisqu", "quoiqu"], after: [] } }, dash: { parenthetical: "em-spaced", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [":"], narrowBeforePunctuation: [";", "!", "?"], afterShortWords: [], abbreviations: ["p. ex."], beforeUnits: ["%", "\u2030", "\u20AC", "\xB0C", "km", "cm", "mm", "kg", "km/h", "kWh"], beforeNumber: ["art.", "fig.", "n\xB0", "N\xB0"], beforeWord: ["M.", "MM.", "Mme", "Mmes", "Mlle", "Mlles"], afterSymbols: ["\xA7"], initialBinding: "single" } },
91
- "fr-CA": { locale: "fr-CA", name: "French (Canada)", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "nbsp" }, secondary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: ["l", "j", "m", "t", "s", "c", "qu", "jusqu", "d", "n", "lorsqu", "puisqu", "quoiqu"], after: [] } }, dash: { parenthetical: "em-spaced", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [":"], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["p. ex."], beforeUnits: ["%", "\u2030", "\u20AC", "\xB0C", "km", "cm", "mm", "kg", "km/h", "kWh"], beforeNumber: ["art.", "fig.", "n\xB0", "N\xB0"], beforeWord: ["M.", "MM.", "Mme", "Mmes", "Mlle", "Mlles"], afterSymbols: ["\xA7"], initialBinding: "single" } },
92
- hr: { locale: "hr", name: "Croatian", quotes: { primary: { open: "\u201E", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2018", close: "\u2019", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "en-spaced", range: "en-spaced" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["dipl. ing.", "d. o. o."], beforeUnits: ["%", "\u2030", "\u20AC", "\xB0C", "kg"], beforeNumber: ["str."], beforeWord: [], afterSymbols: ["\xA7"], initialBinding: "none" } },
93
- hu: { locale: "hu", name: "Hungarian", quotes: { primary: { open: "\u201E", close: "\u201D", innerSpace: "none" }, secondary: { open: "\xBB", close: "\xAB", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["a. m.", "i. sz.", "Kr. e.", "Kr. u.", "s. k.", "i. e."], beforeUnits: ["km", "kg", "kWh", "km/h", "\xB0C"], beforeNumber: [], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
94
- it: { locale: "it", name: "Italian", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, secondary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: ["l", "un", "d"], after: [] } }, dash: { parenthetical: "em-spaced", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: ["%", "\u2030", "\u20AC", "\xB0C", "km", "cm", "mm", "kg", "km/h", "kWh"], beforeNumber: ["n.", "pag."], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
95
- lt: { locale: "lt", name: "Lithuanian", quotes: { primary: { open: "\u201E", close: "\u201C", innerSpace: "none" }, secondary: { open: "\u201E", close: "\u201C", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: true }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["t. y.", "t. t.", "\u0161. m."], beforeUnits: ["%", "proc.", "\xB0C", "kg", "km", "cm", "mm", "EUR", "Eur", "\u20AC", "mln.", "val.", "min.", "m.", "d."], beforeNumber: [], beforeWord: [], afterSymbols: ["\xA7"], initialBinding: "none" } },
96
- nl: { locale: "nl", name: "Dutch", quotes: { primary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2018", close: "\u2019", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: ["s", "t", "ns", "k", "m", "em", "r", "et"] } }, dash: { parenthetical: "en-spaced", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["prof. dr."], beforeUnits: ["%", "\u2030", "\xB0C", "km", "cm", "mm", "kg", "km/h", "kWh"], beforeNumber: [], beforeWord: [], afterSymbols: ["\u20AC", "$"], initialBinding: "none" } },
97
- pl: { locale: "pl", name: "Polish", quotes: { primary: { open: "\u201E", close: "\u201D", innerSpace: "none" }, secondary: { open: "\xBB", close: "\xAB", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: ["a", "i", "o", "u", "w", "z"], abbreviations: ["lek. med.", "in\u017C. g\xF3rn.", "bp sufr."], beforeUnits: ["%", "\u2030", "\xB0C", "km", "cm", "mm", "kg", "km/h", "kWh"], beforeNumber: [], beforeWord: [], afterSymbols: ["\xA7"], initialBinding: "none" } },
98
- "pt-BR": { locale: "pt-BR", name: "Portuguese (Brazil)", quotes: { primary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2018", close: "\u2019", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: ["d", "n", "pel", "m", "t", "lh", "sant"], after: [] } }, dash: { parenthetical: "en-spaced", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["p. ex."], beforeUnits: ["%", "\u2030", "\xB0C", "km", "cm", "mm", "kg", "kW", "kWh", "Hz"], beforeNumber: ["p."], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
99
- "pt-PT": { locale: "pt-PT", name: "Portuguese (Portugal)", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, secondary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: ["d", "n", "pel", "m", "t", "lh", "sant"], after: [] } }, dash: { parenthetical: "em-spaced", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["p. ex."], beforeUnits: ["%", "\u2030", "\xB0C", "km", "cm", "mm", "kg", "kW", "kWh", "Hz"], beforeNumber: ["p."], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
100
- ro: { locale: "ro", name: "Romanian", quotes: { primary: { open: "\u201E", close: "\u201D", innerSpace: "none" }, secondary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "en-spaced", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: ["km", "kg", "cm", "mm", "km/h", "\xB0C"], beforeNumber: ["art.", "nr."], beforeWord: [], afterSymbols: [], initialBinding: "single" } },
101
- ru: { locale: "ru", name: "Russian", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, secondary: { open: "\u201E", close: "\u201C", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "em-spaced", range: "em-tight" }, ellipsis: { abbreviatedAfterTerminal: true }, hyphen: { prefixes: ["\u043A\u043E\u0435-", "\u043A\u043E\u0439-"], suffixes: ["-\u0442\u043E", "-\u043B\u0438\u0431\u043E", "-\u043D\u0438\u0431\u0443\u0434\u044C", "-\u0442\u0430\u043A\u0438", "-\u043A\u0430"], compounds: ["\u0438\u0437-\u0437\u0430", "\u0438\u0437-\u043F\u043E\u0434"] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: ["\u0430", "\u0432", "\u0438", "\u043A", "\u043E", "\u0441", "\u0443", "\u0432\u043E", "\u0434\u043E", "\u0437\u0430", "\u0438\u0437", "\u043A\u043E", "\u043D\u0430", "\u043E\u0431", "\u043E\u0442", "\u043F\u043E", "\u0441\u043E"], abbreviations: ["\u0438 \u0442. \u0434.", "\u0438 \u0442. \u043F.", "\u0442. \u0435.", "\u0438 \u0434\u0440."], beforeUnits: ["%", "\u2030", "\u20BD", "\xB0C", "\u043A\u043C", "\u0441\u043C", "\u043C\u043C", "\u043A\u0433", "\u0433.", "\u0433\u0433.", "\u0432.", "\u0432\u0432.", "\u0442\u044B\u0441.", "\u043C\u043B\u043D", "\u043C\u043B\u0440\u0434"], beforeNumber: [], beforeWord: ["\u0443\u043B.", "\u043F\u043B."], afterSymbols: ["\u2116", "\xA7"], initialBinding: "chain" } },
102
- sk: { locale: "sk", name: "Slovak", quotes: { primary: { open: "\u201E", close: "\u201C", innerSpace: "none" }, secondary: { open: "\u201A", close: "\u2018", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "en-spaced", range: "en-spaced" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["t. j.", "a pod.", "a. s."], beforeUnits: ["%", "\u2030", "kg", "km", "km/s", "m/s", "min"], beforeNumber: ["\u010D.", "ods.", "s."], beforeWord: [], afterSymbols: ["\xA7"], initialBinding: "none" } },
103
- sl: { locale: "sl", name: "Slovenian", quotes: { primary: { open: "\xBB", close: "\xAB", innerSpace: "none" }, secondary: { open: "\u203A", close: "\u2039", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["t. i."], beforeUnits: ["%", "\u2030", "\u20AC", "\xB0C", "kg", "km"], beforeNumber: [], beforeWord: [], afterSymbols: ["\xA7"], initialBinding: "none" } },
104
- sr: { locale: "sr", name: "Serbian", quotes: { primary: { open: "\u201E", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2019", close: "\u2019", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: ["kg", "cm", "mm", "\xB0C"], beforeNumber: [], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
105
- sv: { locale: "sv", name: "Swedish", quotes: { primary: { open: "\u201D", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2019", close: "\u2019", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: ["%", "\u2030", "kr", "\u20AC", "kg", "g", "mg", "km", "m", "cm", "mm", "l", "dl", "cl", "ml", "kW", "kWh", "min", "sek", "tim", "h", "\xB0C"], beforeNumber: [], beforeWord: [], afterSymbols: ["\xA7"], initialBinding: "none" } },
106
- tr: { locale: "tr", name: "Turkish", quotes: { primary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2018", close: "\u2019", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: ["nin", "n\u0131n", "de", "da", "te", "ye", "yle", "n\u0131", "dan", "den", "lik", "nci", "\xFCm"] } }, dash: { parenthetical: "none", range: "none" }, ellipsis: { abbreviatedAfterTerminal: true }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["Kur. B\u015Fk.", "N\xF6. Sb."], beforeUnits: ["mm", "cm", "km", "kg", "mg", "hl", "m\xB2", "cm\xB2", "\xB0C", "ton"], beforeNumber: [], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
107
- uk: { locale: "uk", name: "Ukrainian", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, secondary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] } }, dash: { parenthetical: "em-spaced", range: "em-tight" }, ellipsis: { abbreviatedAfterTerminal: true }, hyphen: { prefixes: ["\u0431\u0443\u0434\u044C-", "\u043A\u0430\u0437\u043D\u0430-", "\u0445\u0442\u043E\u0437\u043D\u0430-", "\u0431\u043E\u0437\u043D\u0430-"], suffixes: ["-\u0431\u043E", "-\u043D\u043E", "-\u043E\u0442", "-\u0442\u043E", "-\u0442\u0430\u043A\u0438", "-\u0431\u0443\u0434\u044C", "-\u043D\u0435\u0431\u0443\u0434\u044C"], compounds: ["\u0432\u0438\u0434-\u0432\u043E", "\u0433\u0440-\u043D", "\u0456\u043D-\u0442", "\u0440-\u043D", "\u0443\u043D-\u0442", "\u0444-\u043A\u0430", "\u0442-\u0432\u043E", "\u0437-\u0437\u0430", "\u0456\u0437-\u0437\u0430", "\u0437-\u043D\u0430\u0434", "\u0437-\u043F\u0435\u0440\u0435\u0434", "\u0437-\u043F\u0456\u0434", "\u0456\u0437-\u043F\u0456\u0434", "\u0437-\u043F\u043E\u0437\u0430", "\u0437-\u043F\u043E\u043C\u0456\u0436", "\u0437-\u043F\u043E\u043D\u0430\u0434", "\u0437-\u043F\u043E\u043F\u0456\u0434", "\u0437-\u043F\u043E\u0441\u0435\u0440\u0435\u0434", "\u0437-\u043F\u0440\u043E\u043C\u0456\u0436"] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["\u0456 \u0442. \u0434.", "\u0456 \u0442. \u0456\u043D.", "\u0442\u0430 \u0456\u043D.", "\u043A\u0443\u0431. \u0441\u043C"], beforeUnits: ["%", "\u0433\u0430", "\u0433\u043E\u0434", "\u0434\u043C", "\u043A\u0411", "\u043A\u0412\u0442", "\u043A\u0433", "\u043A\u043C", "\u043C\u043C", "\u0441\u043C", "\u0445\u0432", "\u0412\u0442", "\u043A\u043C/\u0433\u043E\u0434", "\u043C/\u0441", "\u043C\u043B\u043D", "\u043C\u043B\u0440\u0434", "\u0442\u0440\u043B\u043D", "\u0433\u0440\u043D", "\u0440."], beforeNumber: [], beforeWord: ["\u0430\u043A\u0430\u0434.", "\u0434\u043E\u0446.", "\u043F\u0440\u043E\u0444."], afterSymbols: [], initialBinding: "chain" } }
81
+ bg: { locale: "bg", name: "Bulgarian", quotes: { primary: { open: "\u201E", close: "\u201C", innerSpace: "none" }, secondary: { open: "\u201E", close: "\u201C", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "en-spaced" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: [], spacedUnits: ["\u043A\u043C", "\u043A\u0433", "\u043B\u0432.", "\u0433."], closedUnits: ["%"], beforeNumber: [], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
82
+ cs: { locale: "cs", name: "Czech", quotes: { primary: { open: "\u201E", close: "\u201C", innerSpace: "none" }, secondary: { open: "\u201A", close: "\u2018", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: ["a", "i", "k", "o", "s", "u", "v", "z"], abbreviations: ["a. s.", "s. r. o."], beforeUnits: ["%", "\xB0C", "ha", "kg", "km", "cm", "mm", "m\xB2", "kWh", "km/h", "str.", "hod."], spacedUnits: [], closedUnits: [], beforeNumber: [], beforeWord: ["tj.", "tzv.", "tzn."], afterSymbols: ["\xA7"], initialBinding: "single" } },
83
+ "de-CH": { locale: "de-CH", name: "German (Switzerland)", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, secondary: { open: "\u2039", close: "\u203A", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["z. B.", "d. h.", "u. a.", "u. U.", "m. a. W.", "m. w. H."], beforeUnits: [], spacedUnits: ["%", "\u2030", "\xB0C", "km", "cm", "mm", "kg", "km/h", "kWh"], closedUnits: [], beforeNumber: ["Art.", "Abs.", "Ziff.", "Kap.", "S."], beforeWord: ["St."], afterSymbols: ["\xA7", "\xA7\xA7"], initialBinding: "chain" } },
84
+ "de-DE": { locale: "de-DE", name: "German (Germany)", quotes: { primary: { open: "\u201E", close: "\u201C", innerSpace: "none" }, secondary: { open: "\u201A", close: "\u2018", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["z. B.", "d. h.", "u. a.", "u. \xC4.", "z. T.", "i. d. R."], beforeUnits: ["\u2030"], spacedUnits: ["%", "\u20AC", "\xB0C", "km", "cm", "mm", "kg", "km/h", "kWh"], closedUnits: [], beforeNumber: ["Nr.", "S."], beforeWord: ["St."], afterSymbols: ["\xA7", "\xA7\xA7"], initialBinding: "chain" } },
85
+ el: { locale: "el", name: "Greek", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, secondary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "em-paired", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: [], spacedUnits: [], closedUnits: ["%", "\xB0C"], beforeNumber: [], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
86
+ "en-GB": { locale: "en-GB", name: "English (United Kingdom)", quotes: { primary: { open: "\u2018", close: "\u2019", innerSpace: "none" }, secondary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: ["s"] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: ["kg", "g", "mg", "km", "m", "cm", "mm", "mi", "ft", "lb", "oz", "L", "mL", "h", "min", "s", "ms", "kB", "MB", "GB", "TB", "kW", "kWh"], spacedUnits: [], closedUnits: ["%", "\xB0C", "\xB0F"], beforeNumber: [], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
87
+ "en-US": { locale: "en-US", name: "English (United States)", quotes: { primary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2018", close: "\u2019", innerSpace: "none" }, elisionIdioms: [{ left: "rock", elided: "n", right: "roll" }], elisionClitics: { before: [], after: ["s"] }, punctuationPlacement: "inside" }, dash: { parenthetical: "em-tight", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: ["g", "m", "L", "h", "s", "\xB0C", "\xB0F"], spacedUnits: ["kg", "mg", "km", "cm", "mm", "mi", "ft", "lb", "oz", "mL", "ms", "min", "kB", "MB", "GB", "TB", "kW", "kWh"], closedUnits: ["%"], beforeNumber: [], beforeWord: [], afterSymbols: [], initialBinding: "chain" } },
88
+ es: { locale: "es", name: "Spanish", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, secondary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "em-paired", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["p. ej.", "a. C.", "d. C.", "EE. UU.", "FF. AA.", "N. del T.", "q. e. p. d.", "et al."], beforeUnits: ["%", "\u2030", "\xB0C", "km", "cm", "mm", "kg", "mg", "mL", "min", "dB", "kW", "kWh"], spacedUnits: [], closedUnits: [], beforeNumber: ["art.", "cap.", "n\xFAm.", "nro.", "p\xE1g.", "p\xE1gs."], beforeWord: ["Sr.", "Sra.", "Srta."], afterSymbols: [], initialBinding: "chain" } },
89
+ fi: { locale: "fi", name: "Finnish", quotes: { primary: { open: "\u201D", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2019", close: "\u2019", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["fil. maist."], beforeUnits: ["\xA7", "kg", "g", "mg", "km", "m", "cm", "mm", "l", "dl", "cl", "ml", "h", "min", "s", "ms", "kW", "kWh"], spacedUnits: ["%", "\u2030", "\xB0C", "\xB0F"], closedUnits: [], beforeNumber: [], beforeWord: [], afterSymbols: ["\xA7"], initialBinding: "none" } },
90
+ fr: { locale: "fr", name: "French (France)", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "nbsp" }, secondary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: ["l", "j", "m", "t", "s", "c", "qu", "jusqu", "d", "n", "lorsqu", "puisqu", "quoiqu"], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "em-spaced", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [":"], narrowBeforePunctuation: [";", "!", "?"], afterShortWords: [], abbreviations: ["p. ex."], beforeUnits: ["\u2030", "km", "cm", "mm", "kg", "km/h", "kWh"], spacedUnits: ["%", "\u20AC", "\xB0C"], closedUnits: [], beforeNumber: ["art.", "fig.", "n\xB0", "N\xB0"], beforeWord: ["M.", "MM.", "Mme", "Mmes", "Mlle", "Mlles"], afterSymbols: ["\xA7"], initialBinding: "single" } },
91
+ "fr-CA": { locale: "fr-CA", name: "French (Canada)", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "nbsp" }, secondary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: ["l", "j", "m", "t", "s", "c", "qu", "jusqu", "d", "n", "lorsqu", "puisqu", "quoiqu"], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "em-spaced", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [":"], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["p. ex."], beforeUnits: ["\u2030"], spacedUnits: ["%", "\u20AC", "\xB0C", "km", "cm", "mm", "kg", "km/h", "kWh", "$", "\xB0F"], closedUnits: [], beforeNumber: ["art.", "fig.", "n\xB0", "N\xB0"], beforeWord: ["M.", "MM.", "Mme", "Mmes", "Mlle", "Mlles"], afterSymbols: ["\xA7"], initialBinding: "single" } },
92
+ hr: { locale: "hr", name: "Croatian", quotes: { primary: { open: "\u201E", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2018", close: "\u2019", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "en-spaced" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["dipl. ing.", "d. o. o."], beforeUnits: [], spacedUnits: ["%", "\u2030", "\u20AC", "\xB0C", "kg"], closedUnits: [], beforeNumber: ["str."], beforeWord: [], afterSymbols: ["\xA7"], initialBinding: "none" } },
93
+ hu: { locale: "hu", name: "Hungarian", quotes: { primary: { open: "\u201E", close: "\u201D", innerSpace: "none" }, secondary: { open: "\xBB", close: "\xAB", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["a. m.", "i. sz.", "Kr. e.", "Kr. u.", "s. k.", "i. e."], beforeUnits: [], spacedUnits: ["km", "kg", "kWh", "km/h", "\xB0C"], closedUnits: ["%"], beforeNumber: [], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
94
+ it: { locale: "it", name: "Italian", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, secondary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: ["l", "un", "d"], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "em-spaced", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: ["%", "\u2030", "\u20AC", "\xB0C", "km", "cm", "mm", "kg", "km/h", "kWh"], spacedUnits: [], closedUnits: [], beforeNumber: ["n.", "pag."], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
95
+ lt: { locale: "lt", name: "Lithuanian", quotes: { primary: { open: "\u201E", close: "\u201C", innerSpace: "none" }, secondary: { open: "\u201E", close: "\u201C", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: true }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["t. y.", "t. t.", "\u0161. m."], beforeUnits: ["cm", "mm", "m.", "d."], spacedUnits: ["%", "proc.", "\xB0C", "kg", "km", "EUR", "Eur", "\u20AC", "mln.", "val.", "min.", "km/h", "m/s", "ha"], closedUnits: [], beforeNumber: [], beforeWord: [], afterSymbols: ["\xA7"], initialBinding: "none" } },
96
+ nl: { locale: "nl", name: "Dutch", quotes: { primary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2018", close: "\u2019", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: ["s", "t", "ns", "k", "m", "em", "r", "et"] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["prof. dr."], beforeUnits: ["\xB0C", "km/h", "kWh"], spacedUnits: ["km", "cm", "mm", "kg"], closedUnits: ["%", "\u2030"], beforeNumber: [], beforeWord: [], afterSymbols: ["\u20AC", "$"], initialBinding: "none" } },
97
+ pl: { locale: "pl", name: "Polish", quotes: { primary: { open: "\u201E", close: "\u201D", innerSpace: "none" }, secondary: { open: "\xBB", close: "\xAB", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: ["a", "i", "o", "u", "w", "z"], abbreviations: ["lek. med.", "in\u017C. g\xF3rn.", "bp sufr."], beforeUnits: ["\u2030", "\xB0C"], spacedUnits: ["km", "cm", "mm", "kg", "km/h", "kWh"], closedUnits: ["%"], beforeNumber: [], beforeWord: [], afterSymbols: ["\xA7"], initialBinding: "none" } },
98
+ "pt-BR": { locale: "pt-BR", name: "Portuguese (Brazil)", quotes: { primary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2018", close: "\u2019", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: ["d", "n", "pel", "m", "t", "lh", "sant"], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["p. ex."], beforeUnits: ["%", "\u2030"], spacedUnits: ["\xB0C", "km", "cm", "mm", "kg", "kW", "kWh", "Hz"], closedUnits: [], beforeNumber: ["p."], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
99
+ "pt-PT": { locale: "pt-PT", name: "Portuguese (Portugal)", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, secondary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: ["d", "n", "pel", "m", "t", "lh", "sant"], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "em-spaced", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["p. ex."], beforeUnits: ["\u2030", "kWh"], spacedUnits: ["%", "\xB0C", "km", "cm", "mm", "kg", "kW", "Hz"], closedUnits: [], beforeNumber: ["p."], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
100
+ ro: { locale: "ro", name: "Romanian", quotes: { primary: { open: "\u201E", close: "\u201D", innerSpace: "none" }, secondary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "none" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: ["km", "kg", "cm", "mm", "km/h", "\xB0C"], spacedUnits: [], closedUnits: [], beforeNumber: ["art.", "nr."], beforeWord: [], afterSymbols: [], initialBinding: "single" } },
101
+ ru: { locale: "ru", name: "Russian", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, secondary: { open: "\u201E", close: "\u201C", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "em-spaced", range: "em-tight" }, ellipsis: { abbreviatedAfterTerminal: true }, hyphen: { prefixes: ["\u043A\u043E\u0435-", "\u043A\u043E\u0439-"], suffixes: ["-\u0442\u043E", "-\u043B\u0438\u0431\u043E", "-\u043D\u0438\u0431\u0443\u0434\u044C", "-\u0442\u0430\u043A\u0438", "-\u043A\u0430"], compounds: ["\u0438\u0437-\u0437\u0430", "\u0438\u0437-\u043F\u043E\u0434"] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: ["\u0430", "\u0432", "\u0438", "\u043A", "\u043E", "\u0441", "\u0443", "\u0432\u043E", "\u0434\u043E", "\u0437\u0430", "\u0438\u0437", "\u043A\u043E", "\u043D\u0430", "\u043E\u0431", "\u043E\u0442", "\u043F\u043E", "\u0441\u043E"], abbreviations: ["\u0438 \u0442. \u0434.", "\u0438 \u0442. \u043F.", "\u0442. \u0435.", "\u0438 \u0434\u0440."], beforeUnits: ["\u2030", "\u20BD", "\u0433.", "\u0433\u0433.", "\u0432.", "\u0432\u0432.", "\u0442\u044B\u0441.", "\u043C\u043B\u043D", "\u043C\u043B\u0440\u0434"], spacedUnits: ["\xB0C", "\u043A\u043C", "\u0441\u043C", "\u043C\u043C", "\u043A\u0433"], closedUnits: ["%"], beforeNumber: [], beforeWord: ["\u0443\u043B.", "\u043F\u043B."], afterSymbols: ["\u2116", "\xA7"], initialBinding: "chain" } },
102
+ sk: { locale: "sk", name: "Slovak", quotes: { primary: { open: "\u201E", close: "\u201C", innerSpace: "none" }, secondary: { open: "\u201A", close: "\u2018", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "en-spaced" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["t. j.", "a pod.", "a. s."], beforeUnits: ["kg", "km", "km/s", "m/s", "min"], spacedUnits: ["%", "\u2030"], closedUnits: [], beforeNumber: ["\u010D.", "ods.", "s."], beforeWord: [], afterSymbols: ["\xA7"], initialBinding: "none" } },
103
+ sl: { locale: "sl", name: "Slovenian", quotes: { primary: { open: "\xBB", close: "\xAB", innerSpace: "none" }, secondary: { open: "\u203A", close: "\u2039", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["t. i."], beforeUnits: ["\u20AC", "km"], spacedUnits: ["%", "\u2030", "\xB0C", "kg"], closedUnits: [], beforeNumber: [], beforeWord: [], afterSymbols: ["\xA7"], initialBinding: "none" } },
104
+ sr: { locale: "sr", name: "Serbian", quotes: { primary: { open: "\u201E", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2019", close: "\u2019", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: [], spacedUnits: ["kg", "cm", "mm", "\xB0C"], closedUnits: ["%"], beforeNumber: [], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
105
+ sv: { locale: "sv", name: "Swedish", quotes: { primary: { open: "\u201D", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2019", close: "\u2019", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "en-spaced", range: "en-tight" }, ellipsis: { abbreviatedAfterTerminal: false }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: [], beforeUnits: ["g", "mg", "m", "cm", "mm", "l", "dl", "cl", "ml", "kW", "kWh", "min", "sek", "tim", "h", "\xB0C"], spacedUnits: ["%", "\u2030", "kr", "\u20AC", "km", "kg"], closedUnits: [], beforeNumber: [], beforeWord: [], afterSymbols: ["\xA7"], initialBinding: "none" } },
106
+ tr: { locale: "tr", name: "Turkish", quotes: { primary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, secondary: { open: "\u2018", close: "\u2019", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: ["nin", "n\u0131n", "de", "da", "te", "ye", "yle", "n\u0131", "dan", "den", "lik", "nci", "\xFCm"] }, punctuationPlacement: "none" }, dash: { parenthetical: "none", range: "none" }, ellipsis: { abbreviatedAfterTerminal: true }, hyphen: { prefixes: [], suffixes: [], compounds: [] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["Kur. B\u015Fk.", "N\xF6. Sb."], beforeUnits: [], spacedUnits: ["mm", "cm", "km", "kg", "mg", "hl", "m\xB2", "cm\xB2", "\xB0C", "ton"], closedUnits: [], beforeNumber: [], beforeWord: [], afterSymbols: [], initialBinding: "none" } },
107
+ uk: { locale: "uk", name: "Ukrainian", quotes: { primary: { open: "\xAB", close: "\xBB", innerSpace: "none" }, secondary: { open: "\u201C", close: "\u201D", innerSpace: "none" }, elisionIdioms: [], elisionClitics: { before: [], after: [] }, punctuationPlacement: "none" }, dash: { parenthetical: "em-spaced", range: "em-tight" }, ellipsis: { abbreviatedAfterTerminal: true }, hyphen: { prefixes: ["\u0431\u0443\u0434\u044C-", "\u043A\u0430\u0437\u043D\u0430-", "\u0445\u0442\u043E\u0437\u043D\u0430-", "\u0431\u043E\u0437\u043D\u0430-"], suffixes: ["-\u0431\u043E", "-\u043D\u043E", "-\u043E\u0442", "-\u0442\u043E", "-\u0442\u0430\u043A\u0438", "-\u0431\u0443\u0434\u044C", "-\u043D\u0435\u0431\u0443\u0434\u044C"], compounds: ["\u0432\u0438\u0434-\u0432\u043E", "\u0433\u0440-\u043D", "\u0456\u043D-\u0442", "\u0440-\u043D", "\u0443\u043D-\u0442", "\u0444-\u043A\u0430", "\u0442-\u0432\u043E", "\u0437-\u0437\u0430", "\u0456\u0437-\u0437\u0430", "\u0437-\u043D\u0430\u0434", "\u0437-\u043F\u0435\u0440\u0435\u0434", "\u0437-\u043F\u0456\u0434", "\u0456\u0437-\u043F\u0456\u0434", "\u0437-\u043F\u043E\u0437\u0430", "\u0437-\u043F\u043E\u043C\u0456\u0436", "\u0437-\u043F\u043E\u043D\u0430\u0434", "\u0437-\u043F\u043E\u043F\u0456\u0434", "\u0437-\u043F\u043E\u0441\u0435\u0440\u0435\u0434", "\u0437-\u043F\u0440\u043E\u043C\u0456\u0436"] }, nbsp: { beforePunctuation: [], narrowBeforePunctuation: [], afterShortWords: [], abbreviations: ["\u0456 \u0442. \u0434.", "\u0456 \u0442. \u0456\u043D.", "\u0442\u0430 \u0456\u043D.", "\u043A\u0443\u0431. \u0441\u043C"], beforeUnits: ["%", "\u0433\u0430", "\u0433\u043E\u0434", "\u0434\u043C", "\u043A\u0411", "\u043A\u0412\u0442", "\u043A\u0433", "\u043A\u043C", "\u043C\u043C", "\u0441\u043C", "\u0445\u0432", "\u0412\u0442", "\u043A\u043C/\u0433\u043E\u0434", "\u043C/\u0441", "\u043C\u043B\u043D", "\u043C\u043B\u0440\u0434", "\u0442\u0440\u043B\u043D", "\u0433\u0440\u043D", "\u0440."], spacedUnits: [], closedUnits: [], beforeNumber: [], beforeWord: ["\u0430\u043A\u0430\u0434.", "\u0434\u043E\u0446.", "\u043F\u0440\u043E\u0444."], afterSymbols: [], initialBinding: "chain" } }
108
108
  };
109
109
 
110
110
  // src/engine/locale.ts
@@ -4637,6 +4637,19 @@ function prepareList(entries) {
4637
4637
  out.sort((a, b) => b.length - a.length);
4638
4638
  return out;
4639
4639
  }
4640
+ function prepareUnits(data) {
4641
+ const out = [];
4642
+ const lists = [
4643
+ [data.beforeUnits, "before"],
4644
+ [data.spacedUnits, "spaced"],
4645
+ [data.closedUnits, "closed"]
4646
+ ];
4647
+ for (const [entries, kind] of lists) {
4648
+ for (const entry of entries) out.push({ w: toCodePoints(entry), kind });
4649
+ }
4650
+ out.sort((a, b) => b.w.length - a.w.length);
4651
+ return out;
4652
+ }
4640
4653
  function prepare(locale, narrowTarget = NNBSP) {
4641
4654
  const data = locale.nbsp;
4642
4655
  const beforePunctuation = data.beforePunctuation.map(
@@ -4681,7 +4694,7 @@ function prepare(locale, narrowTarget = NNBSP) {
4681
4694
  narrowBeforePunctuation,
4682
4695
  shortWords: prepareList(data.afterShortWords),
4683
4696
  abbreviations: prepareList(data.abbreviations),
4684
- units: prepareList(data.beforeUnits),
4697
+ units: prepareUnits(data),
4685
4698
  beforeNumber: prepareList(data.beforeNumber),
4686
4699
  beforeWord: prepareList(data.beforeWord),
4687
4700
  symbols: prepareList(data.afterSymbols),
@@ -4811,21 +4824,114 @@ function abbreviationsSubRule(cp, prep, claims) {
4811
4824
  }
4812
4825
  }
4813
4826
  }
4827
+ var NUMBER_PREFIXES = /* @__PURE__ */ new Set([43, 177, 215, 8722, 126, 8776, 60, 62, 8288]);
4828
+ var HYPHEN_MINUS3 = 45;
4829
+ var NON_BREAKING_HYPHEN2 = 8209;
4830
+ var LOW_LINE = 95;
4831
+ var COMMA2 = 44;
4832
+ var WORD_JOINER2 = 8288;
4833
+ function isClosedSymbol(cp) {
4834
+ return cp === 36 || cp >= 162 && cp <= 165 || cp >= 8352 && cp <= 8399 || cp === 37 || cp === 8240 || cp === 8241 || cp === 176;
4835
+ }
4836
+ function isAnyDash(cp) {
4837
+ return cp === 45 || cp === 8208 || cp === 8211 || cp === 8212 || cp === 8722 || cp === 173 || cp === 8209 || cp === 8210 || cp === 8213 || cp === 65112 || cp === 65123 || cp === 65293;
4838
+ }
4839
+ function nearestBeyond(cp, from, step) {
4840
+ let i = from;
4841
+ while (i >= 0 && i < cp.length) {
4842
+ const c = cp[i];
4843
+ if (c === WORD_JOINER2 || isSpaceLike(c) && !isBreak2(c)) {
4844
+ i += step;
4845
+ continue;
4846
+ }
4847
+ return c;
4848
+ }
4849
+ return NONE;
4850
+ }
4851
+ function numberStart(cp, end) {
4852
+ let b = end;
4853
+ while (b - 1 >= 0 && isDigit4(cp[b - 1])) b -= 1;
4854
+ while ((at4(cp, b - 1) === COMMA2 || at4(cp, b - 1) === FULL_STOP2) && isDigit4(at4(cp, b - 2))) {
4855
+ b -= 2;
4856
+ while (b - 1 >= 0 && isDigit4(cp[b - 1])) b -= 1;
4857
+ }
4858
+ return b;
4859
+ }
4860
+ function numberStartIsClean(cp, prep, b) {
4861
+ const c = at4(cp, b - 1);
4862
+ if (c === NONE || isSpaceLike(c) || isOpenish(prep, c) || isSentenceDash(c)) return true;
4863
+ if (NUMBER_PREFIXES.has(c)) return true;
4864
+ if (c !== HYPHEN_MINUS3) return false;
4865
+ const before = at4(cp, b - 2);
4866
+ return before === NONE || isSpaceLike(before) || isOpenish(prep, before);
4867
+ }
4868
+ function isMulSpace(cp) {
4869
+ return cp === SPACE2 || cp === NBSP || cp === NNBSP;
4870
+ }
4871
+ function isRightOperandOfMultiplication(cp, b) {
4872
+ let i = b - 1;
4873
+ if (isMulSpace(at4(cp, i))) i -= 1;
4874
+ const c = at4(cp, i);
4875
+ if (c !== 120 && c !== 88 && c !== 1093 && c !== 1061) return false;
4876
+ i -= 1;
4877
+ if (isMulSpace(at4(cp, i))) i -= 1;
4878
+ return isDigit4(at4(cp, i));
4879
+ }
4814
4880
  function unitsSubRule(cp, prep, claims) {
4815
4881
  if (prep.units.length === 0) return;
4816
4882
  for (let a = 0; a < cp.length; a += 1) {
4817
- const w = longestMatch(prep.units, cp, a, matchExact);
4818
- if (w === void 0) continue;
4819
- const k = w.length;
4883
+ let entry;
4884
+ for (const candidate of prep.units) {
4885
+ if (matchExact(cp, a, candidate.w)) {
4886
+ entry = candidate;
4887
+ break;
4888
+ }
4889
+ }
4890
+ if (entry === void 0) continue;
4891
+ const k = entry.w.length;
4820
4892
  if (isAlnum2(at4(cp, a + k))) continue;
4821
4893
  const left = at4(cp, a - 1);
4822
- if (left === NBSP) continue;
4823
- if (left !== SPACE2) continue;
4824
- if (!isDigit4(at4(cp, a - 2))) continue;
4825
- let b = a - 2;
4894
+ if (entry.kind === "before") {
4895
+ if (left === NBSP) continue;
4896
+ if (left !== SPACE2) continue;
4897
+ if (!isDigit4(at4(cp, a - 2))) continue;
4898
+ let b2 = a - 2;
4899
+ while (b2 - 1 >= 0 && isDigit4(cp[b2 - 1])) b2 -= 1;
4900
+ if (isLetter(at4(cp, b2 - 1))) continue;
4901
+ claimConversion(claims, a - 1, NBSP);
4902
+ continue;
4903
+ }
4904
+ const isClosed = entry.kind === "closed";
4905
+ const isSeparated = left === SPACE2 || left === NBSP || isClosed && left === NNBSP;
4906
+ const isTouching = isDigit4(left);
4907
+ if (!isSeparated && !(isTouching && !isClosed)) continue;
4908
+ if (!isClosed && left === NBSP) continue;
4909
+ const end = isSeparated ? a - 2 : a - 1;
4910
+ if (!isDigit4(at4(cp, end))) continue;
4911
+ let b = end;
4826
4912
  while (b - 1 >= 0 && isDigit4(cp[b - 1])) b -= 1;
4827
4913
  if (isLetter(at4(cp, b - 1))) continue;
4828
- claimConversion(claims, a - 1, NBSP);
4914
+ if (!isClosed && isSeparated) {
4915
+ if (left === SPACE2) claimConversion(claims, a - 1, NBSP);
4916
+ continue;
4917
+ }
4918
+ const start = numberStart(cp, end);
4919
+ if (!numberStartIsClean(cp, prep, start)) continue;
4920
+ if (isClosedSymbol(entry.w[0]) && (isAnyDash(nearestBeyond(cp, start - 1, -1)) || isAnyDash(nearestBeyond(cp, a + k, 1)))) {
4921
+ continue;
4922
+ }
4923
+ if (!isClosed && isRightOperandOfMultiplication(cp, start)) continue;
4924
+ const next = at4(cp, a + k);
4925
+ if (next === HYPHEN_MINUS3 || next === NON_BREAKING_HYPHEN2 || next === LOW_LINE) continue;
4926
+ if (next === FULL_STOP2 && isAlnum2(at4(cp, a + k + 1))) continue;
4927
+ if (isClosed) {
4928
+ if (next === SPACE2 && isDigit4(at4(cp, a + k + 1))) continue;
4929
+ if (claims[a - 1] === void 0) {
4930
+ claims[a - 1] = { start: a - 1, end: a, replacement: [], ruleId: "nbsp" };
4931
+ }
4932
+ } else {
4933
+ claimInsertion(claims, a, NBSP);
4934
+ }
4829
4935
  }
4830
4936
  }
4831
4937
  function symbolsSubRule(cp, prep, claims) {
@@ -4959,6 +5065,58 @@ var nbspRule = {
4959
5065
  apply: scan3
4960
5066
  };
4961
5067
 
5068
+ // src/rules/quote-punctuation.ts
5069
+ var COMMA3 = 44;
5070
+ var FULL_STOP3 = 46;
5071
+ var SPACELIKE2 = /* @__PURE__ */ new Set([
5072
+ 32,
5073
+ 9,
5074
+ 160,
5075
+ 8239,
5076
+ 8199,
5077
+ 8201,
5078
+ 8202,
5079
+ 10,
5080
+ 13,
5081
+ 11,
5082
+ 12,
5083
+ 133,
5084
+ 8232,
5085
+ 8233,
5086
+ LINE_MARKER
5087
+ ]);
5088
+ function at5(cp, i) {
5089
+ const value = cp[i];
5090
+ return value === void 0 ? NONE : value;
5091
+ }
5092
+ var quotePunctuationRule = {
5093
+ id: "quote-punctuation",
5094
+ apply(ctx) {
5095
+ if (ctx.locale.quotes.punctuationPlacement !== "inside") return [];
5096
+ const close = ctx.locale.quotes.primary.close.codePointAt(0);
5097
+ if (close === void 0) return [];
5098
+ const cp = ctx.cp;
5099
+ const n = cp.length;
5100
+ const edits = [];
5101
+ let i = 0;
5102
+ while (i + 1 < n) {
5103
+ const next = at5(cp, i + 1);
5104
+ if (at5(cp, i) === close && (next === COMMA3 || next === FULL_STOP3) && i >= 1 && isLetter(at5(cp, i - 1)) && (at5(cp, i + 2) === NONE || SPACELIKE2.has(at5(cp, i + 2)))) {
5105
+ edits.push({
5106
+ start: i,
5107
+ end: i + 2,
5108
+ replacement: [next, close],
5109
+ ruleId: "quote-punctuation"
5110
+ });
5111
+ i += 2;
5112
+ continue;
5113
+ }
5114
+ i += 1;
5115
+ }
5116
+ return edits;
5117
+ }
5118
+ };
5119
+
4962
5120
  // src/rules/quote-ambiguity.ts
4963
5121
  var LOWER_N = 110;
4964
5122
  var UPPER_N = 78;
@@ -4980,7 +5138,7 @@ var INLINE_SPACE = /* @__PURE__ */ new Set([
4980
5138
  8201,
4981
5139
  8202
4982
5140
  ]);
4983
- function at5(cp, i) {
5141
+ function at6(cp, i) {
4984
5142
  const value = cp[i];
4985
5143
  return value === void 0 ? NONE : value;
4986
5144
  }
@@ -4996,21 +5154,21 @@ function wordEndsAt(arr, end, word) {
4996
5154
  const start = end - word.length;
4997
5155
  if (start < 0) return false;
4998
5156
  for (let k = 0; k < word.length; k += 1) {
4999
- const c = at5(arr, start + k);
5157
+ const c = at6(arr, start + k);
5000
5158
  const matches = k === 0 ? asciiLower(c) === asciiLower(word[k]) : c === word[k];
5001
5159
  if (!matches) return false;
5002
5160
  }
5003
- const before = start > 0 ? at5(arr, start - 1) : NONE;
5161
+ const before = start > 0 ? at6(arr, start - 1) : NONE;
5004
5162
  return before === NONE || !isAlnum3(before);
5005
5163
  }
5006
5164
  function wordStartsAt(arr, start, word) {
5007
5165
  const n = arr.length;
5008
5166
  for (let k = 0; k < word.length; k += 1) {
5009
- const c = at5(arr, start + k);
5167
+ const c = at6(arr, start + k);
5010
5168
  const matches = k === 0 ? asciiLower(c) === asciiLower(word[k]) : c === word[k];
5011
5169
  if (!matches) return false;
5012
5170
  }
5013
- const after = start + word.length < n ? at5(arr, start + word.length) : NONE;
5171
+ const after = start + word.length < n ? at6(arr, start + word.length) : NONE;
5014
5172
  return after === NONE || !isAlnum3(after);
5015
5173
  }
5016
5174
  function computeIdiomMatchedIndices(arr, idioms) {
@@ -5023,9 +5181,9 @@ function computeIdiomMatchedIndices(arr, idioms) {
5023
5181
  right: toCodePoints(idiom.right)
5024
5182
  }));
5025
5183
  for (let i = 0; i < n; i += 1) {
5026
- const g = at5(arr, i);
5184
+ const g = at6(arr, i);
5027
5185
  if (!NARROW.has(g)) continue;
5028
- const lLit = i > 0 ? at5(arr, i - 1) : NONE;
5186
+ const lLit = i > 0 ? at6(arr, i - 1) : NONE;
5029
5187
  if (lLit === NONE || !INLINE_SPACE.has(lLit)) continue;
5030
5188
  for (const idiom of compiled) {
5031
5189
  const k = idiom.elided.length;
@@ -5033,14 +5191,14 @@ function computeIdiomMatchedIndices(arr, idioms) {
5033
5191
  if (j >= n) continue;
5034
5192
  let elidedMatches = true;
5035
5193
  for (let w = 0; w < k; w += 1) {
5036
- if (at5(arr, i + 1 + w) !== idiom.elided[w]) {
5194
+ if (at6(arr, i + 1 + w) !== idiom.elided[w]) {
5037
5195
  elidedMatches = false;
5038
5196
  break;
5039
5197
  }
5040
5198
  }
5041
5199
  if (!elidedMatches) continue;
5042
- if (!NARROW.has(at5(arr, j))) continue;
5043
- const rLit = j + 1 < n ? at5(arr, j + 1) : NONE;
5200
+ if (!NARROW.has(at6(arr, j))) continue;
5201
+ const rLit = j + 1 < n ? at6(arr, j + 1) : NONE;
5044
5202
  if (rLit === NONE || !INLINE_SPACE.has(rLit)) continue;
5045
5203
  if (!wordEndsAt(arr, i - 1, idiom.left)) continue;
5046
5204
  if (!wordStartsAt(arr, j + 2, idiom.right)) continue;
@@ -5054,14 +5212,14 @@ function computeAmbiguousShapeIndices(cp) {
5054
5212
  const ambiguous = /* @__PURE__ */ new Set();
5055
5213
  const n = cp.length;
5056
5214
  for (let i = 0; i < n; i += 1) {
5057
- if (!NARROW.has(at5(cp, i))) continue;
5058
- const lLit = i > 0 ? at5(cp, i - 1) : NONE;
5215
+ if (!NARROW.has(at6(cp, i))) continue;
5216
+ const lLit = i > 0 ? at6(cp, i - 1) : NONE;
5059
5217
  if (lLit === NONE || !INLINE_SPACE.has(lLit)) continue;
5060
- const enclosed = at5(cp, i + 1);
5218
+ const enclosed = at6(cp, i + 1);
5061
5219
  if (enclosed !== LOWER_N && enclosed !== UPPER_N) continue;
5062
5220
  const j = i + 2;
5063
- if (!NARROW.has(at5(cp, j))) continue;
5064
- const rLit = j + 1 < n ? at5(cp, j + 1) : NONE;
5221
+ if (!NARROW.has(at6(cp, j))) continue;
5222
+ const rLit = j + 1 < n ? at6(cp, j + 1) : NONE;
5065
5223
  if (rLit === NONE || !INLINE_SPACE.has(rLit)) continue;
5066
5224
  ambiguous.add(i);
5067
5225
  ambiguous.add(j);
@@ -5078,12 +5236,12 @@ function computeSpanBoundaryVetoIndices(arr, clitics) {
5078
5236
  after: after.map(toCodePoints)
5079
5237
  };
5080
5238
  for (let i = 0; i < arr.length; i += 1) {
5081
- if (!NARROW.has(at5(arr, i))) continue;
5082
- if (at5(arr, i - 1) === MARKER && runMatches(arr, i, 1, compiled.after)) {
5239
+ if (!NARROW.has(at6(arr, i))) continue;
5240
+ if (at6(arr, i - 1) === MARKER && runMatches(arr, i, 1, compiled.after)) {
5083
5241
  vetoed.add(i);
5084
5242
  continue;
5085
5243
  }
5086
- if (at5(arr, i + 1) === MARKER && runMatches(arr, i, -1, compiled.before)) {
5244
+ if (at6(arr, i + 1) === MARKER && runMatches(arr, i, -1, compiled.before)) {
5087
5245
  vetoed.add(i);
5088
5246
  }
5089
5247
  }
@@ -5093,18 +5251,18 @@ function runMatches(arr, i, dir, entries) {
5093
5251
  const run = [];
5094
5252
  let j = i + dir;
5095
5253
  for (; ; j += dir) {
5096
- const cp = at5(arr, j);
5254
+ const cp = at6(arr, j);
5097
5255
  if (cp === NONE || !isLetter(cp)) break;
5098
5256
  run.push(cp);
5099
5257
  }
5100
5258
  if (run.length === 0) return false;
5101
- const outer = at5(arr, j);
5259
+ const outer = at6(arr, j);
5102
5260
  if (outer !== NONE && isAlnum3(outer)) return false;
5103
5261
  if (dir === -1) run.reverse();
5104
5262
  for (const entry of entries) {
5105
5263
  if (entry.length !== run.length) continue;
5106
- let same = at5(entry, 0) === asciiLower(at5(run, 0));
5107
- for (let k = 1; same && k < entry.length; k += 1) same = at5(entry, k) === at5(run, k);
5264
+ let same = at6(entry, 0) === asciiLower(at6(run, 0));
5265
+ for (let k = 1; same && k < entry.length; k += 1) same = at6(entry, k) === at6(run, k);
5108
5266
  if (same) return true;
5109
5267
  }
5110
5268
  return false;
@@ -5152,7 +5310,7 @@ var BREAK = /* @__PURE__ */ new Set([
5152
5310
  8233,
5153
5311
  LINE_MARKER
5154
5312
  ]);
5155
- var SPACELIKE2 = /* @__PURE__ */ new Set([...INLINE_SPACE2, ...BREAK]);
5313
+ var SPACELIKE3 = /* @__PURE__ */ new Set([...INLINE_SPACE2, ...BREAK]);
5156
5314
  var OPENISH2 = /* @__PURE__ */ new Set([MARKER, 40, 91, 123, ...WIDE, ...NARROW]);
5157
5315
  var CLOSEISH2 = /* @__PURE__ */ new Set([
5158
5316
  MARKER,
@@ -5172,7 +5330,7 @@ var CLOSEISH2 = /* @__PURE__ */ new Set([
5172
5330
  ...NARROW
5173
5331
  ]);
5174
5332
  var DASHISH = /* @__PURE__ */ new Set([45, 8209, 8211, 8212]);
5175
- function at6(cp, i) {
5333
+ function at7(cp, i) {
5176
5334
  const value = cp[i];
5177
5335
  return value === void 0 ? NONE : value;
5178
5336
  }
@@ -5223,16 +5381,16 @@ function collectCandidates(arr, skip, elisionIdioms, elisionClitics) {
5223
5381
  ].filter((set) => set.size > 0);
5224
5382
  const elisionVetoed = sets.length === 0 ? EMPTY_VETO : sets.length === 1 ? sets[0] : new Set(sets.flatMap((set) => [...set]));
5225
5383
  for (let i = 0; i < n; i += 1) {
5226
- const g = at6(arr, i);
5384
+ const g = at7(arr, i);
5227
5385
  if (!isQuoteMark(g)) continue;
5228
- const lLit = i > 0 ? at6(arr, i - 1) : NONE;
5229
- const rLit = i + 1 < n ? at6(arr, i + 1) : NONE;
5386
+ const lLit = i > 0 ? at7(arr, i - 1) : NONE;
5387
+ const rLit = i + 1 < n ? at7(arr, i + 1) : NONE;
5230
5388
  const lSkip = skipLeft(arr, i);
5231
5389
  const rSkip = skipRight(arr, i);
5232
5390
  const openLeft = skip.spaceLeft.has(g) ? lSkip : lLit;
5233
5391
  const closeRight = skip.spaceRight.has(g) ? rSkip : rLit;
5234
- let canOpen = (openLeft === NONE || SPACELIKE2.has(openLeft) || OPENISH2.has(openLeft) || DASHISH.has(openLeft)) && rSkip !== NONE && !SPACELIKE2.has(rSkip) && (!CLOSEISH2.has(rSkip) || isQuoteMark(rSkip) || rSkip === MARKER);
5235
- let canClose = lSkip !== NONE && !SPACELIKE2.has(lSkip) && (closeRight === NONE || SPACELIKE2.has(closeRight) || CLOSEISH2.has(closeRight) || DASHISH.has(closeRight));
5392
+ let canOpen = (openLeft === NONE || SPACELIKE3.has(openLeft) || OPENISH2.has(openLeft) || DASHISH.has(openLeft)) && rSkip !== NONE && !SPACELIKE3.has(rSkip) && (!CLOSEISH2.has(rSkip) || isQuoteMark(rSkip) || rSkip === MARKER);
5393
+ let canClose = lSkip !== NONE && !SPACELIKE3.has(lSkip) && (closeRight === NONE || SPACELIKE3.has(closeRight) || CLOSEISH2.has(closeRight) || DASHISH.has(closeRight));
5236
5394
  if (NARROW.has(g) && lLit !== NONE && rLit !== NONE && isAlnum4(lLit) && isAlnum4(rLit)) {
5237
5395
  canOpen = false;
5238
5396
  canClose = false;
@@ -5416,8 +5574,8 @@ var quotesRule = {
5416
5574
  };
5417
5575
 
5418
5576
  // src/rules/ranges.ts
5419
- var FULL_STOP3 = 46;
5420
- var COMMA2 = 44;
5577
+ var FULL_STOP4 = 46;
5578
+ var COMMA4 = 44;
5421
5579
  var SOLIDUS = 47;
5422
5580
  var DIGIT_ZERO6 = 48;
5423
5581
  function isNonDecreasing(cp, leftStart, rightStart, length) {
@@ -5436,7 +5594,7 @@ function rangeGuardsPass(cp, flanks) {
5436
5594
  if (isLetter(before)) return false;
5437
5595
  if (isDashUnion(before)) return false;
5438
5596
  if (isDashUnion(after)) return false;
5439
- if (before === FULL_STOP3 || before === COMMA2 || before === SOLIDUS) return false;
5597
+ if (before === FULL_STOP4 || before === COMMA4 || before === SOLIDUS) return false;
5440
5598
  if (after === SOLIDUS) return false;
5441
5599
  const leftLength = left - a + 1;
5442
5600
  const rightLength = b - right + 1;
@@ -5486,8 +5644,8 @@ var FF = 12;
5486
5644
  var NEL = 133;
5487
5645
  var LS = 8232;
5488
5646
  var PS = 8233;
5489
- var COMMA3 = 44;
5490
- var FULL_STOP4 = 46;
5647
+ var COMMA5 = 44;
5648
+ var FULL_STOP5 = 46;
5491
5649
  var SEMICOLON2 = 59;
5492
5650
  var COLON = 58;
5493
5651
  var EXCLAMATION2 = 33;
@@ -5499,7 +5657,7 @@ var SQUARE_OPEN2 = 91;
5499
5657
  var SQUARE_CLOSE2 = 93;
5500
5658
  var CURLY_OPEN = 123;
5501
5659
  var CURLY_CLOSE = 125;
5502
- var HYPHEN_MINUS3 = 45;
5660
+ var HYPHEN_MINUS4 = 45;
5503
5661
  var CARET = 94;
5504
5662
  var SOLIDUS2 = 47;
5505
5663
  var REVERSE_SOLIDUS = 92;
@@ -5513,7 +5671,7 @@ var LETTER_P_UPPER = 80;
5513
5671
  var LETTER_P_LOWER = 112;
5514
5672
  var LETTER_O_UPPER = 79;
5515
5673
  var LETTER_O_LOWER = 111;
5516
- function at7(cp, i) {
5674
+ function at8(cp, i) {
5517
5675
  const value = cp[i];
5518
5676
  return value === void 0 ? NONE : value;
5519
5677
  }
@@ -5521,10 +5679,10 @@ function isBreak3(cp) {
5521
5679
  return cp === LF || cp === CR || cp === VT || cp === FF || cp === NEL || cp === LS || cp === PS || cp === LINE_MARKER;
5522
5680
  }
5523
5681
  function isStripBefore(cp) {
5524
- return cp === COMMA3 || cp === FULL_STOP4 || cp === SEMICOLON2 || cp === COLON || cp === EXCLAMATION2 || cp === QUESTION2;
5682
+ return cp === COMMA5 || cp === FULL_STOP5 || cp === SEMICOLON2 || cp === COLON || cp === EXCLAMATION2 || cp === QUESTION2;
5525
5683
  }
5526
5684
  function isDotlike2(cp) {
5527
- return cp === FULL_STOP4 || cp === ELLIPSIS2;
5685
+ return cp === FULL_STOP5 || cp === ELLIPSIS2;
5528
5686
  }
5529
5687
  function isOpenBracket2(cp) {
5530
5688
  return cp === PAREN_OPEN2 || cp === SQUARE_OPEN2 || cp === CURLY_OPEN;
@@ -5541,8 +5699,8 @@ function isEmptyBracketGuarded(left, right) {
5541
5699
  return isOpenBracket2(left) && right === matchingCloser(left);
5542
5700
  }
5543
5701
  function isLoneDot(cp, e) {
5544
- if (at7(cp, e) !== FULL_STOP4) return true;
5545
- const next = at7(cp, e + 1);
5702
+ if (at8(cp, e) !== FULL_STOP5) return true;
5703
+ const next = at8(cp, e + 1);
5546
5704
  if (isLetter(next) || isDigitAscii(next)) return false;
5547
5705
  return !isDotlike2(next);
5548
5706
  }
@@ -5553,22 +5711,22 @@ function isEmoticonMouth(cp) {
5553
5711
  return cp === PAREN_OPEN2 || cp === PAREN_CLOSE2 || cp === SQUARE_OPEN2 || cp === SQUARE_CLOSE2 || cp === LETTER_D_UPPER || cp === LETTER_D_LOWER || cp === LETTER_P_UPPER || cp === LETTER_P_LOWER || cp === LETTER_O_UPPER || cp === LETTER_O_LOWER || cp === SOLIDUS2 || cp === REVERSE_SOLIDUS || cp === VERTICAL_LINE || cp === ASTERISK;
5554
5712
  }
5555
5713
  function isEmoticon(cp, e) {
5556
- const eye = at7(cp, e);
5714
+ const eye = at8(cp, e);
5557
5715
  if (eye !== COLON && eye !== SEMICOLON2) return false;
5558
5716
  let i = e + 1;
5559
- const nose = at7(cp, i);
5560
- if (nose === HYPHEN_MINUS3 || nose === CARET) i += 1;
5561
- if (!isEmoticonMouth(at7(cp, i))) return false;
5717
+ const nose = at8(cp, i);
5718
+ if (nose === HYPHEN_MINUS4 || nose === CARET) i += 1;
5719
+ if (!isEmoticonMouth(at8(cp, i))) return false;
5562
5720
  i += 1;
5563
- const after = at7(cp, i);
5721
+ const after = at8(cp, i);
5564
5722
  return !isLetter(after) && !isDigitAscii(after);
5565
5723
  }
5566
5724
  function isEmoticonEnd(cp, s) {
5567
- if (!isEmoticonMouth(at7(cp, s - 1))) return false;
5725
+ if (!isEmoticonMouth(at8(cp, s - 1))) return false;
5568
5726
  let j = s - 2;
5569
- const nose = at7(cp, j);
5570
- if (nose === HYPHEN_MINUS3 || nose === CARET) j -= 1;
5571
- const eye = at7(cp, j);
5727
+ const nose = at8(cp, j);
5728
+ if (nose === HYPHEN_MINUS4 || nose === CARET) j -= 1;
5729
+ const eye = at8(cp, j);
5572
5730
  return eye === COLON || eye === SEMICOLON2;
5573
5731
  }
5574
5732
  function replacementLength(cp, s, e, left, right) {
@@ -5586,16 +5744,16 @@ var spacesRule = {
5586
5744
  const edits = [];
5587
5745
  let i = 0;
5588
5746
  while (i < n) {
5589
- if (at7(cp, i) !== SPACE3) {
5747
+ if (at8(cp, i) !== SPACE3) {
5590
5748
  i += 1;
5591
5749
  continue;
5592
5750
  }
5593
5751
  const s = i;
5594
5752
  let e = s;
5595
- while (e < n && at7(cp, e) === SPACE3) e += 1;
5753
+ while (e < n && at8(cp, e) === SPACE3) e += 1;
5596
5754
  const k = e - s;
5597
- const left = at7(cp, s - 1);
5598
- const right = at7(cp, e);
5755
+ const left = at8(cp, s - 1);
5756
+ const right = at8(cp, e);
5599
5757
  if (left === NONE || isMarker(left) || isBreak3(left) || right === NONE || isMarker(right) || isBreak3(right)) {
5600
5758
  i = e;
5601
5759
  continue;
@@ -5634,10 +5792,10 @@ var DIGIT_ZERO8 = 48;
5634
5792
  var DIGIT_NINE7 = 57;
5635
5793
  var PLUS = 43;
5636
5794
  var SOLIDUS3 = 47;
5637
- var HYPHEN_MINUS4 = 45;
5795
+ var HYPHEN_MINUS5 = 45;
5638
5796
  var PLUS_MINUS = 177;
5639
5797
  var SQUARE_OPEN3 = 91;
5640
- function at8(cp, i) {
5798
+ function at9(cp, i) {
5641
5799
  const value = cp[i];
5642
5800
  return value === void 0 ? NONE : value;
5643
5801
  }
@@ -5674,7 +5832,7 @@ function isMulLetter(cp) {
5674
5832
  function matchesAt2(cp, i, literal) {
5675
5833
  if (i + literal.length > cp.length) return false;
5676
5834
  for (let j = 0; j < literal.length; j += 1) {
5677
- if (at8(cp, i + j) !== literal[j]) return false;
5835
+ if (at9(cp, i + j) !== literal[j]) return false;
5678
5836
  }
5679
5837
  return true;
5680
5838
  }
@@ -5682,8 +5840,8 @@ function trademarkAt(cp, i) {
5682
5840
  for (const row of TRADEMARK_TABLE) {
5683
5841
  if (!matchesAt2(cp, i, row.literal)) continue;
5684
5842
  const end = i + row.literal.length;
5685
- const before = at8(cp, i - 1);
5686
- const after = at8(cp, end);
5843
+ const before = at9(cp, i - 1);
5844
+ const after = at9(cp, end);
5687
5845
  if (row.guardedByS1 && before !== NONE && (isAlnum5(before) || before === PAREN_CLOSE3 || before === SQUARE_CLOSE3 || before === COPYRIGHT || before === REGISTERED || before === TRADEMARK)) {
5688
5846
  return null;
5689
5847
  }
@@ -5695,27 +5853,27 @@ function trademarkAt(cp, i) {
5695
5853
  }
5696
5854
  function readChain(cp, a) {
5697
5855
  let p = a;
5698
- while (isDigit6(at8(cp, p))) p += 1;
5856
+ while (isDigit6(at9(cp, p))) p += 1;
5699
5857
  const firstRunEnd = p - 1;
5700
5858
  const links = [];
5701
5859
  let end = p - 1;
5702
5860
  for (; ; ) {
5703
5861
  let q = p;
5704
5862
  let leftSpace = 0;
5705
- if (isSpaceLike2(at8(cp, q))) {
5863
+ if (isSpaceLike2(at9(cp, q))) {
5706
5864
  leftSpace = 1;
5707
5865
  q += 1;
5708
5866
  }
5709
- if (!isMulLetter(at8(cp, q))) break;
5867
+ if (!isMulLetter(at9(cp, q))) break;
5710
5868
  const letterIndex = q;
5711
5869
  q += 1;
5712
5870
  let rightSpace = 0;
5713
- if (isSpaceLike2(at8(cp, q))) {
5871
+ if (isSpaceLike2(at9(cp, q))) {
5714
5872
  rightSpace = 1;
5715
5873
  q += 1;
5716
5874
  }
5717
- if (!isDigit6(at8(cp, q))) break;
5718
- while (isDigit6(at8(cp, q))) q += 1;
5875
+ if (!isDigit6(at9(cp, q))) break;
5876
+ while (isDigit6(at9(cp, q))) q += 1;
5719
5877
  links.push({ letterIndex, leftSpace, rightSpace });
5720
5878
  end = q - 1;
5721
5879
  p = q;
@@ -5731,27 +5889,27 @@ function chainEdits(cp, a, chain) {
5731
5889
  if (link.leftSpace !== link.rightSpace) return null;
5732
5890
  if (link.leftSpace !== sp) return null;
5733
5891
  }
5734
- const before = at8(cp, a - 1);
5735
- const after = at8(cp, chain.end + 1);
5892
+ const before = at9(cp, a - 1);
5893
+ const after = at9(cp, chain.end + 1);
5736
5894
  if (before !== NONE && isLetter(before)) return null;
5737
5895
  if (after !== NONE && isLetter(after)) return null;
5738
- if (sp === 0 && at8(cp, first.letterIndex) === LOWER_X && chain.firstRunEnd === a && at8(cp, a) === DIGIT_ZERO8) {
5896
+ if (sp === 0 && at9(cp, first.letterIndex) === LOWER_X && chain.firstRunEnd === a && at9(cp, a) === DIGIT_ZERO8) {
5739
5897
  return null;
5740
5898
  }
5741
5899
  const edits = [];
5742
5900
  for (const link of links) {
5743
5901
  const j = link.letterIndex;
5744
- const replacement = sp === 0 ? [MULTIPLICATION] : [at8(cp, j - 1), MULTIPLICATION, at8(cp, j + 1)];
5902
+ const replacement = sp === 0 ? [MULTIPLICATION] : [at9(cp, j - 1), MULTIPLICATION, at9(cp, j + 1)];
5745
5903
  edits.push({ start: j - sp, end: j + sp + 1, replacement, ruleId: "symbols" });
5746
5904
  }
5747
5905
  return edits;
5748
5906
  }
5749
5907
  function plusMinusAt(cp, i) {
5750
- if (at8(cp, i + 1) !== SOLIDUS3 || at8(cp, i + 2) !== HYPHEN_MINUS4) return null;
5751
- if (at8(cp, i - 1) === SQUARE_OPEN3) return null;
5908
+ if (at9(cp, i + 1) !== SOLIDUS3 || at9(cp, i + 2) !== HYPHEN_MINUS5) return null;
5909
+ if (at9(cp, i - 1) === SQUARE_OPEN3) return null;
5752
5910
  let j = i + 3;
5753
- if (at8(cp, j) === SPACE4) j += 1;
5754
- if (!isDigit6(at8(cp, j))) return null;
5911
+ if (at9(cp, j) === SPACE4) j += 1;
5912
+ if (!isDigit6(at9(cp, j))) return null;
5755
5913
  return { start: i, end: i + 3, replacement: [PLUS_MINUS], ruleId: "symbols" };
5756
5914
  }
5757
5915
  var symbolsRule = {
@@ -5762,7 +5920,7 @@ var symbolsRule = {
5762
5920
  const edits = [];
5763
5921
  let i = 0;
5764
5922
  while (i < n) {
5765
- const current = at8(cp, i);
5923
+ const current = at9(cp, i);
5766
5924
  if (current === PAREN_OPEN3) {
5767
5925
  const edit = trademarkAt(cp, i);
5768
5926
  if (edit !== null) {
@@ -5770,7 +5928,7 @@ var symbolsRule = {
5770
5928
  i = edit.end;
5771
5929
  continue;
5772
5930
  }
5773
- } else if (isDigit6(current) && !isDigit6(at8(cp, i - 1))) {
5931
+ } else if (isDigit6(current) && !isDigit6(at9(cp, i - 1))) {
5774
5932
  const chain = readChain(cp, i);
5775
5933
  const chainResult = chainEdits(cp, i, chain);
5776
5934
  if (chainResult !== null) for (const edit of chainResult) edits.push(edit);
@@ -5798,6 +5956,7 @@ var RULE_ORDER = [
5798
5956
  "dashes",
5799
5957
  "hyphen",
5800
5958
  "quotes",
5959
+ "quote-punctuation",
5801
5960
  "apostrophe",
5802
5961
  "symbols",
5803
5962
  "nbsp"
@@ -5809,6 +5968,7 @@ var RULE_DEFAULTS = {
5809
5968
  dashes: true,
5810
5969
  hyphen: true,
5811
5970
  quotes: true,
5971
+ "quote-punctuation": false,
5812
5972
  apostrophe: true,
5813
5973
  symbols: true,
5814
5974
  nbsp: true
@@ -5820,6 +5980,7 @@ var RULES = {
5820
5980
  dashes: dashesRule,
5821
5981
  hyphen: hyphenRule,
5822
5982
  quotes: quotesRule,
5983
+ "quote-punctuation": quotePunctuationRule,
5823
5984
  apostrophe: apostropheRule,
5824
5985
  symbols: symbolsRule,
5825
5986
  nbsp: nbspRule
@@ -6394,4 +6555,4 @@ export {
6394
6555
  runProtected,
6395
6556
  analyzeProtected
6396
6557
  };
6397
- //# sourceMappingURL=chunk-J7U6Y6K4.js.map
6558
+ //# sourceMappingURL=chunk-D6CWTH54.js.map