techne-sdk 0.3.2 → 0.3.4

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/CHANGELOG.md +83 -0
  2. package/README.md +5 -4
  3. package/dist/auth/app-key.js +2 -2
  4. package/dist/auth/index.js +1 -1
  5. package/dist/auth/placement.gen.d.ts +1 -1
  6. package/dist/auth/placement.gen.js +2 -0
  7. package/dist/catalog/catalog.gen.d.ts +6 -33
  8. package/dist/catalog/catalog.gen.js +528 -6
  9. package/dist/connect.d.ts +96 -12
  10. package/dist/connect.js +83 -12
  11. package/dist/generated/index.d.ts +56 -0
  12. package/dist/generated/index.js +72 -0
  13. package/dist/generated/lexicons.d.ts +328 -6
  14. package/dist/generated/lexicons.js +201 -3
  15. package/dist/generated/nsid.d.ts +7 -0
  16. package/dist/generated/nsid.js +7 -0
  17. package/dist/generated/nsid.json +7 -0
  18. package/dist/generated/records.d.ts +48 -44
  19. package/dist/generated/types/pub/techne/draft/collective.d.ts +2 -0
  20. package/dist/generated/types/pub/techne/draft/placeResearch.d.ts +47 -0
  21. package/dist/generated/types/pub/techne/draft/placeResearch.js +26 -0
  22. package/dist/generated/types/pub/techne/draft/questionSet.d.ts +3 -0
  23. package/dist/generated/types/pub/techne/draft/summary.d.ts +16 -0
  24. package/dist/generated/types/pub/techne/draft/summary.js +12 -0
  25. package/dist/item.d.ts +130 -0
  26. package/dist/item.js +74 -0
  27. package/dist/links/index.d.ts +15 -8
  28. package/dist/links/index.js +18 -0
  29. package/dist/put/contacts.d.ts +2 -2
  30. package/dist/put/index.d.ts +6 -9
  31. package/dist/put/index.js +8 -166
  32. package/dist/put/put.d.ts +14 -0
  33. package/dist/put/put.js +206 -0
  34. package/dist/query/compose.d.ts +246 -0
  35. package/dist/query/compose.js +572 -0
  36. package/dist/query/hosts.d.ts +98 -1
  37. package/dist/query/hosts.js +143 -2
  38. package/dist/query/index.d.ts +60 -29
  39. package/dist/query/index.js +55 -26
  40. package/dist/react/context.d.ts +18 -0
  41. package/dist/react/context.js +19 -0
  42. package/dist/react/index.d.ts +14 -0
  43. package/dist/react/index.js +14 -0
  44. package/dist/react/query.d.ts +75 -0
  45. package/dist/react/query.js +116 -0
  46. package/dist/read/index.d.ts +60 -0
  47. package/dist/read/index.js +107 -0
  48. package/dist/resend.d.ts +25 -0
  49. package/dist/resend.js +52 -0
  50. package/dist/versions/entities.gen.d.ts +8 -0
  51. package/dist/versions/entities.gen.js +9 -0
  52. package/dist/versions/index.d.ts +59 -17
  53. package/dist/versions/index.js +156 -22
  54. package/dist/versions/react.d.ts +1 -1
  55. package/dist/versions/react.js +1 -1
  56. package/dist/versions/text.d.ts +19 -0
  57. package/dist/versions/text.js +73 -0
  58. package/dist/wasm/techne-wasm.gen.js +1 -1
  59. package/dist/wasm/techne-wasm2js.gen.js +22469 -21460
  60. package/package.json +17 -5
@@ -0,0 +1,9 @@
1
+ // GENERATED by sdk/scripts/gen-entities.py from Python 3.13's html module. Do not edit.
2
+ /** HTML5 named character references, by name without its `;` (`amp` -> `&`). */
3
+ export const NAMED = new Map(Object.entries({ "Aacute": "\u00c1", "aacute": "\u00e1", "Abreve": "\u0102", "abreve": "\u0103", "ac": "\u223e", "acd": "\u223f", "acE": "\u223e\u0333", "Acirc": "\u00c2", "acirc": "\u00e2", "acute": "\u00b4", "Acy": "\u0410", "acy": "\u0430", "AElig": "\u00c6", "aelig": "\u00e6", "af": "\u2061", "Afr": "\ud835\udd04", "afr": "\ud835\udd1e", "Agrave": "\u00c0", "agrave": "\u00e0", "alefsym": "\u2135", "aleph": "\u2135", "Alpha": "\u0391", "alpha": "\u03b1", "Amacr": "\u0100", "amacr": "\u0101", "amalg": "\u2a3f", "AMP": "&", "amp": "&", "And": "\u2a53", "and": "\u2227", "andand": "\u2a55", "andd": "\u2a5c", "andslope": "\u2a58", "andv": "\u2a5a", "ang": "\u2220", "ange": "\u29a4", "angle": "\u2220", "angmsd": "\u2221", "angmsdaa": "\u29a8", "angmsdab": "\u29a9", "angmsdac": "\u29aa", "angmsdad": "\u29ab", "angmsdae": "\u29ac", "angmsdaf": "\u29ad", "angmsdag": "\u29ae", "angmsdah": "\u29af", "angrt": "\u221f", "angrtvb": "\u22be", "angrtvbd": "\u299d", "angsph": "\u2222", "angst": "\u00c5", "angzarr": "\u237c", "Aogon": "\u0104", "aogon": "\u0105", "Aopf": "\ud835\udd38", "aopf": "\ud835\udd52", "ap": "\u2248", "apacir": "\u2a6f", "apE": "\u2a70", "ape": "\u224a", "apid": "\u224b", "apos": "'", "ApplyFunction": "\u2061", "approx": "\u2248", "approxeq": "\u224a", "Aring": "\u00c5", "aring": "\u00e5", "Ascr": "\ud835\udc9c", "ascr": "\ud835\udcb6", "Assign": "\u2254", "ast": "*", "asymp": "\u2248", "asympeq": "\u224d", "Atilde": "\u00c3", "atilde": "\u00e3", "Auml": "\u00c4", "auml": "\u00e4", "awconint": "\u2233", "awint": "\u2a11", "backcong": "\u224c", "backepsilon": "\u03f6", "backprime": "\u2035", "backsim": "\u223d", "backsimeq": "\u22cd", "Backslash": "\u2216", "Barv": "\u2ae7", "barvee": "\u22bd", "Barwed": "\u2306", "barwed": "\u2305", "barwedge": "\u2305", "bbrk": "\u23b5", "bbrktbrk": "\u23b6", "bcong": "\u224c", "Bcy": "\u0411", "bcy": "\u0431", "bdquo": "\u201e", "becaus": "\u2235", "Because": "\u2235", "because": "\u2235", "bemptyv": "\u29b0", "bepsi": "\u03f6", "bernou": "\u212c", "Bernoullis": "\u212c", "Beta": "\u0392", "beta": "\u03b2", "beth": "\u2136", "between": "\u226c", "Bfr": "\ud835\udd05", "bfr": "\ud835\udd1f", "bigcap": "\u22c2", "bigcirc": "\u25ef", "bigcup": "\u22c3", "bigodot": "\u2a00", "bigoplus": "\u2a01", "bigotimes": "\u2a02", "bigsqcup": "\u2a06", "bigstar": "\u2605", "bigtriangledown": "\u25bd", "bigtriangleup": "\u25b3", "biguplus": "\u2a04", "bigvee": "\u22c1", "bigwedge": "\u22c0", "bkarow": "\u290d", "blacklozenge": "\u29eb", "blacksquare": "\u25aa", "blacktriangle": "\u25b4", "blacktriangledown": "\u25be", "blacktriangleleft": "\u25c2", "blacktriangleright": "\u25b8", "blank": "\u2423", "blk12": "\u2592", "blk14": "\u2591", "blk34": "\u2593", "block": "\u2588", "bne": "=\u20e5", "bnequiv": "\u2261\u20e5", "bNot": "\u2aed", "bnot": "\u2310", "Bopf": "\ud835\udd39", "bopf": "\ud835\udd53", "bot": "\u22a5", "bottom": "\u22a5", "bowtie": "\u22c8", "boxbox": "\u29c9", "boxDL": "\u2557", "boxDl": "\u2556", "boxdL": "\u2555", "boxdl": "\u2510", "boxDR": "\u2554", "boxDr": "\u2553", "boxdR": "\u2552", "boxdr": "\u250c", "boxH": "\u2550", "boxh": "\u2500", "boxHD": "\u2566", "boxHd": "\u2564", "boxhD": "\u2565", "boxhd": "\u252c", "boxHU": "\u2569", "boxHu": "\u2567", "boxhU": "\u2568", "boxhu": "\u2534", "boxminus": "\u229f", "boxplus": "\u229e", "boxtimes": "\u22a0", "boxUL": "\u255d", "boxUl": "\u255c", "boxuL": "\u255b", "boxul": "\u2518", "boxUR": "\u255a", "boxUr": "\u2559", "boxuR": "\u2558", "boxur": "\u2514", "boxV": "\u2551", "boxv": "\u2502", "boxVH": "\u256c", "boxVh": "\u256b", "boxvH": "\u256a", "boxvh": "\u253c", "boxVL": "\u2563", "boxVl": "\u2562", "boxvL": "\u2561", "boxvl": "\u2524", "boxVR": "\u2560", "boxVr": "\u255f", "boxvR": "\u255e", "boxvr": "\u251c", "bprime": "\u2035", "Breve": "\u02d8", "breve": "\u02d8", "brvbar": "\u00a6", "Bscr": "\u212c", "bscr": "\ud835\udcb7", "bsemi": "\u204f", "bsim": "\u223d", "bsime": "\u22cd", "bsol": "\\", "bsolb": "\u29c5", "bsolhsub": "\u27c8", "bull": "\u2022", "bullet": "\u2022", "bump": "\u224e", "bumpE": "\u2aae", "bumpe": "\u224f", "Bumpeq": "\u224e", "bumpeq": "\u224f", "Cacute": "\u0106", "cacute": "\u0107", "Cap": "\u22d2", "cap": "\u2229", "capand": "\u2a44", "capbrcup": "\u2a49", "capcap": "\u2a4b", "capcup": "\u2a47", "capdot": "\u2a40", "CapitalDifferentialD": "\u2145", "caps": "\u2229\ufe00", "caret": "\u2041", "caron": "\u02c7", "Cayleys": "\u212d", "ccaps": "\u2a4d", "Ccaron": "\u010c", "ccaron": "\u010d", "Ccedil": "\u00c7", "ccedil": "\u00e7", "Ccirc": "\u0108", "ccirc": "\u0109", "Cconint": "\u2230", "ccups": "\u2a4c", "ccupssm": "\u2a50", "Cdot": "\u010a", "cdot": "\u010b", "cedil": "\u00b8", "Cedilla": "\u00b8", "cemptyv": "\u29b2", "cent": "\u00a2", "CenterDot": "\u00b7", "centerdot": "\u00b7", "Cfr": "\u212d", "cfr": "\ud835\udd20", "CHcy": "\u0427", "chcy": "\u0447", "check": "\u2713", "checkmark": "\u2713", "Chi": "\u03a7", "chi": "\u03c7", "cir": "\u25cb", "circ": "\u02c6", "circeq": "\u2257", "circlearrowleft": "\u21ba", "circlearrowright": "\u21bb", "circledast": "\u229b", "circledcirc": "\u229a", "circleddash": "\u229d", "CircleDot": "\u2299", "circledR": "\u00ae", "circledS": "\u24c8", "CircleMinus": "\u2296", "CirclePlus": "\u2295", "CircleTimes": "\u2297", "cirE": "\u29c3", "cire": "\u2257", "cirfnint": "\u2a10", "cirmid": "\u2aef", "cirscir": "\u29c2", "ClockwiseContourIntegral": "\u2232", "CloseCurlyDoubleQuote": "\u201d", "CloseCurlyQuote": "\u2019", "clubs": "\u2663", "clubsuit": "\u2663", "Colon": "\u2237", "colon": ":", "Colone": "\u2a74", "colone": "\u2254", "coloneq": "\u2254", "comma": ",", "commat": "@", "comp": "\u2201", "compfn": "\u2218", "complement": "\u2201", "complexes": "\u2102", "cong": "\u2245", "congdot": "\u2a6d", "Congruent": "\u2261", "Conint": "\u222f", "conint": "\u222e", "ContourIntegral": "\u222e", "Copf": "\u2102", "copf": "\ud835\udd54", "coprod": "\u2210", "Coproduct": "\u2210", "COPY": "\u00a9", "copy": "\u00a9", "copysr": "\u2117", "CounterClockwiseContourIntegral": "\u2233", "crarr": "\u21b5", "Cross": "\u2a2f", "cross": "\u2717", "Cscr": "\ud835\udc9e", "cscr": "\ud835\udcb8", "csub": "\u2acf", "csube": "\u2ad1", "csup": "\u2ad0", "csupe": "\u2ad2", "ctdot": "\u22ef", "cudarrl": "\u2938", "cudarrr": "\u2935", "cuepr": "\u22de", "cuesc": "\u22df", "cularr": "\u21b6", "cularrp": "\u293d", "Cup": "\u22d3", "cup": "\u222a", "cupbrcap": "\u2a48", "CupCap": "\u224d", "cupcap": "\u2a46", "cupcup": "\u2a4a", "cupdot": "\u228d", "cupor": "\u2a45", "cups": "\u222a\ufe00", "curarr": "\u21b7", "curarrm": "\u293c", "curlyeqprec": "\u22de", "curlyeqsucc": "\u22df", "curlyvee": "\u22ce", "curlywedge": "\u22cf", "curren": "\u00a4", "curvearrowleft": "\u21b6", "curvearrowright": "\u21b7", "cuvee": "\u22ce", "cuwed": "\u22cf", "cwconint": "\u2232", "cwint": "\u2231", "cylcty": "\u232d", "Dagger": "\u2021", "dagger": "\u2020", "daleth": "\u2138", "Darr": "\u21a1", "dArr": "\u21d3", "darr": "\u2193", "dash": "\u2010", "Dashv": "\u2ae4", "dashv": "\u22a3", "dbkarow": "\u290f", "dblac": "\u02dd", "Dcaron": "\u010e", "dcaron": "\u010f", "Dcy": "\u0414", "dcy": "\u0434", "DD": "\u2145", "dd": "\u2146", "ddagger": "\u2021", "ddarr": "\u21ca", "DDotrahd": "\u2911", "ddotseq": "\u2a77", "deg": "\u00b0", "Del": "\u2207", "Delta": "\u0394", "delta": "\u03b4", "demptyv": "\u29b1", "dfisht": "\u297f", "Dfr": "\ud835\udd07", "dfr": "\ud835\udd21", "dHar": "\u2965", "dharl": "\u21c3", "dharr": "\u21c2", "DiacriticalAcute": "\u00b4", "DiacriticalDot": "\u02d9", "DiacriticalDoubleAcute": "\u02dd", "DiacriticalGrave": "`", "DiacriticalTilde": "\u02dc", "diam": "\u22c4", "Diamond": "\u22c4", "diamond": "\u22c4", "diamondsuit": "\u2666", "diams": "\u2666", "die": "\u00a8", "DifferentialD": "\u2146", "digamma": "\u03dd", "disin": "\u22f2", "div": "\u00f7", "divide": "\u00f7", "divideontimes": "\u22c7", "divonx": "\u22c7", "DJcy": "\u0402", "djcy": "\u0452", "dlcorn": "\u231e", "dlcrop": "\u230d", "dollar": "$", "Dopf": "\ud835\udd3b", "dopf": "\ud835\udd55", "Dot": "\u00a8", "dot": "\u02d9", "DotDot": "\u20dc", "doteq": "\u2250", "doteqdot": "\u2251", "DotEqual": "\u2250", "dotminus": "\u2238", "dotplus": "\u2214", "dotsquare": "\u22a1", "doublebarwedge": "\u2306", "DoubleContourIntegral": "\u222f", "DoubleDot": "\u00a8", "DoubleDownArrow": "\u21d3", "DoubleLeftArrow": "\u21d0", "DoubleLeftRightArrow": "\u21d4", "DoubleLeftTee": "\u2ae4", "DoubleLongLeftArrow": "\u27f8", "DoubleLongLeftRightArrow": "\u27fa", "DoubleLongRightArrow": "\u27f9", "DoubleRightArrow": "\u21d2", "DoubleRightTee": "\u22a8", "DoubleUpArrow": "\u21d1", "DoubleUpDownArrow": "\u21d5", "DoubleVerticalBar": "\u2225", "DownArrow": "\u2193", "Downarrow": "\u21d3", "downarrow": "\u2193", "DownArrowBar": "\u2913", "DownArrowUpArrow": "\u21f5", "DownBreve": "\u0311", "downdownarrows": "\u21ca", "downharpoonleft": "\u21c3", "downharpoonright": "\u21c2", "DownLeftRightVector": "\u2950", "DownLeftTeeVector": "\u295e", "DownLeftVector": "\u21bd", "DownLeftVectorBar": "\u2956", "DownRightTeeVector": "\u295f", "DownRightVector": "\u21c1", "DownRightVectorBar": "\u2957", "DownTee": "\u22a4", "DownTeeArrow": "\u21a7", "drbkarow": "\u2910", "drcorn": "\u231f", "drcrop": "\u230c", "Dscr": "\ud835\udc9f", "dscr": "\ud835\udcb9", "DScy": "\u0405", "dscy": "\u0455", "dsol": "\u29f6", "Dstrok": "\u0110", "dstrok": "\u0111", "dtdot": "\u22f1", "dtri": "\u25bf", "dtrif": "\u25be", "duarr": "\u21f5", "duhar": "\u296f", "dwangle": "\u29a6", "DZcy": "\u040f", "dzcy": "\u045f", "dzigrarr": "\u27ff", "Eacute": "\u00c9", "eacute": "\u00e9", "easter": "\u2a6e", "Ecaron": "\u011a", "ecaron": "\u011b", "ecir": "\u2256", "Ecirc": "\u00ca", "ecirc": "\u00ea", "ecolon": "\u2255", "Ecy": "\u042d", "ecy": "\u044d", "eDDot": "\u2a77", "Edot": "\u0116", "eDot": "\u2251", "edot": "\u0117", "ee": "\u2147", "efDot": "\u2252", "Efr": "\ud835\udd08", "efr": "\ud835\udd22", "eg": "\u2a9a", "Egrave": "\u00c8", "egrave": "\u00e8", "egs": "\u2a96", "egsdot": "\u2a98", "el": "\u2a99", "Element": "\u2208", "elinters": "\u23e7", "ell": "\u2113", "els": "\u2a95", "elsdot": "\u2a97", "Emacr": "\u0112", "emacr": "\u0113", "empty": "\u2205", "emptyset": "\u2205", "EmptySmallSquare": "\u25fb", "emptyv": "\u2205", "EmptyVerySmallSquare": "\u25ab", "emsp13": "\u2004", "emsp14": "\u2005", "emsp": "\u2003", "ENG": "\u014a", "eng": "\u014b", "ensp": "\u2002", "Eogon": "\u0118", "eogon": "\u0119", "Eopf": "\ud835\udd3c", "eopf": "\ud835\udd56", "epar": "\u22d5", "eparsl": "\u29e3", "eplus": "\u2a71", "epsi": "\u03b5", "Epsilon": "\u0395", "epsilon": "\u03b5", "epsiv": "\u03f5", "eqcirc": "\u2256", "eqcolon": "\u2255", "eqsim": "\u2242", "eqslantgtr": "\u2a96", "eqslantless": "\u2a95", "Equal": "\u2a75", "equals": "=", "EqualTilde": "\u2242", "equest": "\u225f", "Equilibrium": "\u21cc", "equiv": "\u2261", "equivDD": "\u2a78", "eqvparsl": "\u29e5", "erarr": "\u2971", "erDot": "\u2253", "Escr": "\u2130", "escr": "\u212f", "esdot": "\u2250", "Esim": "\u2a73", "esim": "\u2242", "Eta": "\u0397", "eta": "\u03b7", "ETH": "\u00d0", "eth": "\u00f0", "Euml": "\u00cb", "euml": "\u00eb", "euro": "\u20ac", "excl": "!", "exist": "\u2203", "Exists": "\u2203", "expectation": "\u2130", "ExponentialE": "\u2147", "exponentiale": "\u2147", "fallingdotseq": "\u2252", "Fcy": "\u0424", "fcy": "\u0444", "female": "\u2640", "ffilig": "\ufb03", "fflig": "\ufb00", "ffllig": "\ufb04", "Ffr": "\ud835\udd09", "ffr": "\ud835\udd23", "filig": "\ufb01", "FilledSmallSquare": "\u25fc", "FilledVerySmallSquare": "\u25aa", "fjlig": "fj", "flat": "\u266d", "fllig": "\ufb02", "fltns": "\u25b1", "fnof": "\u0192", "Fopf": "\ud835\udd3d", "fopf": "\ud835\udd57", "ForAll": "\u2200", "forall": "\u2200", "fork": "\u22d4", "forkv": "\u2ad9", "Fouriertrf": "\u2131", "fpartint": "\u2a0d", "frac12": "\u00bd", "frac13": "\u2153", "frac14": "\u00bc", "frac15": "\u2155", "frac16": "\u2159", "frac18": "\u215b", "frac23": "\u2154", "frac25": "\u2156", "frac34": "\u00be", "frac35": "\u2157", "frac38": "\u215c", "frac45": "\u2158", "frac56": "\u215a", "frac58": "\u215d", "frac78": "\u215e", "frasl": "\u2044", "frown": "\u2322", "Fscr": "\u2131", "fscr": "\ud835\udcbb", "gacute": "\u01f5", "Gamma": "\u0393", "gamma": "\u03b3", "Gammad": "\u03dc", "gammad": "\u03dd", "gap": "\u2a86", "Gbreve": "\u011e", "gbreve": "\u011f", "Gcedil": "\u0122", "Gcirc": "\u011c", "gcirc": "\u011d", "Gcy": "\u0413", "gcy": "\u0433", "Gdot": "\u0120", "gdot": "\u0121", "gE": "\u2267", "ge": "\u2265", "gEl": "\u2a8c", "gel": "\u22db", "geq": "\u2265", "geqq": "\u2267", "geqslant": "\u2a7e", "ges": "\u2a7e", "gescc": "\u2aa9", "gesdot": "\u2a80", "gesdoto": "\u2a82", "gesdotol": "\u2a84", "gesl": "\u22db\ufe00", "gesles": "\u2a94", "Gfr": "\ud835\udd0a", "gfr": "\ud835\udd24", "Gg": "\u22d9", "gg": "\u226b", "ggg": "\u22d9", "gimel": "\u2137", "GJcy": "\u0403", "gjcy": "\u0453", "gl": "\u2277", "gla": "\u2aa5", "glE": "\u2a92", "glj": "\u2aa4", "gnap": "\u2a8a", "gnapprox": "\u2a8a", "gnE": "\u2269", "gne": "\u2a88", "gneq": "\u2a88", "gneqq": "\u2269", "gnsim": "\u22e7", "Gopf": "\ud835\udd3e", "gopf": "\ud835\udd58", "grave": "`", "GreaterEqual": "\u2265", "GreaterEqualLess": "\u22db", "GreaterFullEqual": "\u2267", "GreaterGreater": "\u2aa2", "GreaterLess": "\u2277", "GreaterSlantEqual": "\u2a7e", "GreaterTilde": "\u2273", "Gscr": "\ud835\udca2", "gscr": "\u210a", "gsim": "\u2273", "gsime": "\u2a8e", "gsiml": "\u2a90", "GT": ">", "Gt": "\u226b", "gt": ">", "gtcc": "\u2aa7", "gtcir": "\u2a7a", "gtdot": "\u22d7", "gtlPar": "\u2995", "gtquest": "\u2a7c", "gtrapprox": "\u2a86", "gtrarr": "\u2978", "gtrdot": "\u22d7", "gtreqless": "\u22db", "gtreqqless": "\u2a8c", "gtrless": "\u2277", "gtrsim": "\u2273", "gvertneqq": "\u2269\ufe00", "gvnE": "\u2269\ufe00", "Hacek": "\u02c7", "hairsp": "\u200a", "half": "\u00bd", "hamilt": "\u210b", "HARDcy": "\u042a", "hardcy": "\u044a", "hArr": "\u21d4", "harr": "\u2194", "harrcir": "\u2948", "harrw": "\u21ad", "Hat": "^", "hbar": "\u210f", "Hcirc": "\u0124", "hcirc": "\u0125", "hearts": "\u2665", "heartsuit": "\u2665", "hellip": "\u2026", "hercon": "\u22b9", "Hfr": "\u210c", "hfr": "\ud835\udd25", "HilbertSpace": "\u210b", "hksearow": "\u2925", "hkswarow": "\u2926", "hoarr": "\u21ff", "homtht": "\u223b", "hookleftarrow": "\u21a9", "hookrightarrow": "\u21aa", "Hopf": "\u210d", "hopf": "\ud835\udd59", "horbar": "\u2015", "HorizontalLine": "\u2500", "Hscr": "\u210b", "hscr": "\ud835\udcbd", "hslash": "\u210f", "Hstrok": "\u0126", "hstrok": "\u0127", "HumpDownHump": "\u224e", "HumpEqual": "\u224f", "hybull": "\u2043", "hyphen": "\u2010", "Iacute": "\u00cd", "iacute": "\u00ed", "ic": "\u2063", "Icirc": "\u00ce", "icirc": "\u00ee", "Icy": "\u0418", "icy": "\u0438", "Idot": "\u0130", "IEcy": "\u0415", "iecy": "\u0435", "iexcl": "\u00a1", "iff": "\u21d4", "Ifr": "\u2111", "ifr": "\ud835\udd26", "Igrave": "\u00cc", "igrave": "\u00ec", "ii": "\u2148", "iiiint": "\u2a0c", "iiint": "\u222d", "iinfin": "\u29dc", "iiota": "\u2129", "IJlig": "\u0132", "ijlig": "\u0133", "Im": "\u2111", "Imacr": "\u012a", "imacr": "\u012b", "image": "\u2111", "ImaginaryI": "\u2148", "imagline": "\u2110", "imagpart": "\u2111", "imath": "\u0131", "imof": "\u22b7", "imped": "\u01b5", "Implies": "\u21d2", "in": "\u2208", "incare": "\u2105", "infin": "\u221e", "infintie": "\u29dd", "inodot": "\u0131", "Int": "\u222c", "int": "\u222b", "intcal": "\u22ba", "integers": "\u2124", "Integral": "\u222b", "intercal": "\u22ba", "Intersection": "\u22c2", "intlarhk": "\u2a17", "intprod": "\u2a3c", "InvisibleComma": "\u2063", "InvisibleTimes": "\u2062", "IOcy": "\u0401", "iocy": "\u0451", "Iogon": "\u012e", "iogon": "\u012f", "Iopf": "\ud835\udd40", "iopf": "\ud835\udd5a", "Iota": "\u0399", "iota": "\u03b9", "iprod": "\u2a3c", "iquest": "\u00bf", "Iscr": "\u2110", "iscr": "\ud835\udcbe", "isin": "\u2208", "isindot": "\u22f5", "isinE": "\u22f9", "isins": "\u22f4", "isinsv": "\u22f3", "isinv": "\u2208", "it": "\u2062", "Itilde": "\u0128", "itilde": "\u0129", "Iukcy": "\u0406", "iukcy": "\u0456", "Iuml": "\u00cf", "iuml": "\u00ef", "Jcirc": "\u0134", "jcirc": "\u0135", "Jcy": "\u0419", "jcy": "\u0439", "Jfr": "\ud835\udd0d", "jfr": "\ud835\udd27", "jmath": "\u0237", "Jopf": "\ud835\udd41", "jopf": "\ud835\udd5b", "Jscr": "\ud835\udca5", "jscr": "\ud835\udcbf", "Jsercy": "\u0408", "jsercy": "\u0458", "Jukcy": "\u0404", "jukcy": "\u0454", "Kappa": "\u039a", "kappa": "\u03ba", "kappav": "\u03f0", "Kcedil": "\u0136", "kcedil": "\u0137", "Kcy": "\u041a", "kcy": "\u043a", "Kfr": "\ud835\udd0e", "kfr": "\ud835\udd28", "kgreen": "\u0138", "KHcy": "\u0425", "khcy": "\u0445", "KJcy": "\u040c", "kjcy": "\u045c", "Kopf": "\ud835\udd42", "kopf": "\ud835\udd5c", "Kscr": "\ud835\udca6", "kscr": "\ud835\udcc0", "lAarr": "\u21da", "Lacute": "\u0139", "lacute": "\u013a", "laemptyv": "\u29b4", "lagran": "\u2112", "Lambda": "\u039b", "lambda": "\u03bb", "Lang": "\u27ea", "lang": "\u27e8", "langd": "\u2991", "langle": "\u27e8", "lap": "\u2a85", "Laplacetrf": "\u2112", "laquo": "\u00ab", "Larr": "\u219e", "lArr": "\u21d0", "larr": "\u2190", "larrb": "\u21e4", "larrbfs": "\u291f", "larrfs": "\u291d", "larrhk": "\u21a9", "larrlp": "\u21ab", "larrpl": "\u2939", "larrsim": "\u2973", "larrtl": "\u21a2", "lat": "\u2aab", "lAtail": "\u291b", "latail": "\u2919", "late": "\u2aad", "lates": "\u2aad\ufe00", "lBarr": "\u290e", "lbarr": "\u290c", "lbbrk": "\u2772", "lbrace": "{", "lbrack": "[", "lbrke": "\u298b", "lbrksld": "\u298f", "lbrkslu": "\u298d", "Lcaron": "\u013d", "lcaron": "\u013e", "Lcedil": "\u013b", "lcedil": "\u013c", "lceil": "\u2308", "lcub": "{", "Lcy": "\u041b", "lcy": "\u043b", "ldca": "\u2936", "ldquo": "\u201c", "ldquor": "\u201e", "ldrdhar": "\u2967", "ldrushar": "\u294b", "ldsh": "\u21b2", "lE": "\u2266", "le": "\u2264", "LeftAngleBracket": "\u27e8", "LeftArrow": "\u2190", "Leftarrow": "\u21d0", "leftarrow": "\u2190", "LeftArrowBar": "\u21e4", "LeftArrowRightArrow": "\u21c6", "leftarrowtail": "\u21a2", "LeftCeiling": "\u2308", "LeftDoubleBracket": "\u27e6", "LeftDownTeeVector": "\u2961", "LeftDownVector": "\u21c3", "LeftDownVectorBar": "\u2959", "LeftFloor": "\u230a", "leftharpoondown": "\u21bd", "leftharpoonup": "\u21bc", "leftleftarrows": "\u21c7", "LeftRightArrow": "\u2194", "Leftrightarrow": "\u21d4", "leftrightarrow": "\u2194", "leftrightarrows": "\u21c6", "leftrightharpoons": "\u21cb", "leftrightsquigarrow": "\u21ad", "LeftRightVector": "\u294e", "LeftTee": "\u22a3", "LeftTeeArrow": "\u21a4", "LeftTeeVector": "\u295a", "leftthreetimes": "\u22cb", "LeftTriangle": "\u22b2", "LeftTriangleBar": "\u29cf", "LeftTriangleEqual": "\u22b4", "LeftUpDownVector": "\u2951", "LeftUpTeeVector": "\u2960", "LeftUpVector": "\u21bf", "LeftUpVectorBar": "\u2958", "LeftVector": "\u21bc", "LeftVectorBar": "\u2952", "lEg": "\u2a8b", "leg": "\u22da", "leq": "\u2264", "leqq": "\u2266", "leqslant": "\u2a7d", "les": "\u2a7d", "lescc": "\u2aa8", "lesdot": "\u2a7f", "lesdoto": "\u2a81", "lesdotor": "\u2a83", "lesg": "\u22da\ufe00", "lesges": "\u2a93", "lessapprox": "\u2a85", "lessdot": "\u22d6", "lesseqgtr": "\u22da", "lesseqqgtr": "\u2a8b", "LessEqualGreater": "\u22da", "LessFullEqual": "\u2266", "LessGreater": "\u2276", "lessgtr": "\u2276", "LessLess": "\u2aa1", "lesssim": "\u2272", "LessSlantEqual": "\u2a7d", "LessTilde": "\u2272", "lfisht": "\u297c", "lfloor": "\u230a", "Lfr": "\ud835\udd0f", "lfr": "\ud835\udd29", "lg": "\u2276", "lgE": "\u2a91", "lHar": "\u2962", "lhard": "\u21bd", "lharu": "\u21bc", "lharul": "\u296a", "lhblk": "\u2584", "LJcy": "\u0409", "ljcy": "\u0459", "Ll": "\u22d8", "ll": "\u226a", "llarr": "\u21c7", "llcorner": "\u231e", "Lleftarrow": "\u21da", "llhard": "\u296b", "lltri": "\u25fa", "Lmidot": "\u013f", "lmidot": "\u0140", "lmoust": "\u23b0", "lmoustache": "\u23b0", "lnap": "\u2a89", "lnapprox": "\u2a89", "lnE": "\u2268", "lne": "\u2a87", "lneq": "\u2a87", "lneqq": "\u2268", "lnsim": "\u22e6", "loang": "\u27ec", "loarr": "\u21fd", "lobrk": "\u27e6", "LongLeftArrow": "\u27f5", "Longleftarrow": "\u27f8", "longleftarrow": "\u27f5", "LongLeftRightArrow": "\u27f7", "Longleftrightarrow": "\u27fa", "longleftrightarrow": "\u27f7", "longmapsto": "\u27fc", "LongRightArrow": "\u27f6", "Longrightarrow": "\u27f9", "longrightarrow": "\u27f6", "looparrowleft": "\u21ab", "looparrowright": "\u21ac", "lopar": "\u2985", "Lopf": "\ud835\udd43", "lopf": "\ud835\udd5d", "loplus": "\u2a2d", "lotimes": "\u2a34", "lowast": "\u2217", "lowbar": "_", "LowerLeftArrow": "\u2199", "LowerRightArrow": "\u2198", "loz": "\u25ca", "lozenge": "\u25ca", "lozf": "\u29eb", "lpar": "(", "lparlt": "\u2993", "lrarr": "\u21c6", "lrcorner": "\u231f", "lrhar": "\u21cb", "lrhard": "\u296d", "lrm": "\u200e", "lrtri": "\u22bf", "lsaquo": "\u2039", "Lscr": "\u2112", "lscr": "\ud835\udcc1", "Lsh": "\u21b0", "lsh": "\u21b0", "lsim": "\u2272", "lsime": "\u2a8d", "lsimg": "\u2a8f", "lsqb": "[", "lsquo": "\u2018", "lsquor": "\u201a", "Lstrok": "\u0141", "lstrok": "\u0142", "LT": "<", "Lt": "\u226a", "lt": "<", "ltcc": "\u2aa6", "ltcir": "\u2a79", "ltdot": "\u22d6", "lthree": "\u22cb", "ltimes": "\u22c9", "ltlarr": "\u2976", "ltquest": "\u2a7b", "ltri": "\u25c3", "ltrie": "\u22b4", "ltrif": "\u25c2", "ltrPar": "\u2996", "lurdshar": "\u294a", "luruhar": "\u2966", "lvertneqq": "\u2268\ufe00", "lvnE": "\u2268\ufe00", "macr": "\u00af", "male": "\u2642", "malt": "\u2720", "maltese": "\u2720", "Map": "\u2905", "map": "\u21a6", "mapsto": "\u21a6", "mapstodown": "\u21a7", "mapstoleft": "\u21a4", "mapstoup": "\u21a5", "marker": "\u25ae", "mcomma": "\u2a29", "Mcy": "\u041c", "mcy": "\u043c", "mdash": "\u2014", "mDDot": "\u223a", "measuredangle": "\u2221", "MediumSpace": "\u205f", "Mellintrf": "\u2133", "Mfr": "\ud835\udd10", "mfr": "\ud835\udd2a", "mho": "\u2127", "micro": "\u00b5", "mid": "\u2223", "midast": "*", "midcir": "\u2af0", "middot": "\u00b7", "minus": "\u2212", "minusb": "\u229f", "minusd": "\u2238", "minusdu": "\u2a2a", "MinusPlus": "\u2213", "mlcp": "\u2adb", "mldr": "\u2026", "mnplus": "\u2213", "models": "\u22a7", "Mopf": "\ud835\udd44", "mopf": "\ud835\udd5e", "mp": "\u2213", "Mscr": "\u2133", "mscr": "\ud835\udcc2", "mstpos": "\u223e", "Mu": "\u039c", "mu": "\u03bc", "multimap": "\u22b8", "mumap": "\u22b8", "nabla": "\u2207", "Nacute": "\u0143", "nacute": "\u0144", "nang": "\u2220\u20d2", "nap": "\u2249", "napE": "\u2a70\u0338", "napid": "\u224b\u0338", "napos": "\u0149", "napprox": "\u2249", "natur": "\u266e", "natural": "\u266e", "naturals": "\u2115", "nbsp": "\u00a0", "nbump": "\u224e\u0338", "nbumpe": "\u224f\u0338", "ncap": "\u2a43", "Ncaron": "\u0147", "ncaron": "\u0148", "Ncedil": "\u0145", "ncedil": "\u0146", "ncong": "\u2247", "ncongdot": "\u2a6d\u0338", "ncup": "\u2a42", "Ncy": "\u041d", "ncy": "\u043d", "ndash": "\u2013", "ne": "\u2260", "nearhk": "\u2924", "neArr": "\u21d7", "nearr": "\u2197", "nearrow": "\u2197", "nedot": "\u2250\u0338", "NegativeMediumSpace": "\u200b", "NegativeThickSpace": "\u200b", "NegativeThinSpace": "\u200b", "NegativeVeryThinSpace": "\u200b", "nequiv": "\u2262", "nesear": "\u2928", "nesim": "\u2242\u0338", "NestedGreaterGreater": "\u226b", "NestedLessLess": "\u226a", "NewLine": "\n", "nexist": "\u2204", "nexists": "\u2204", "Nfr": "\ud835\udd11", "nfr": "\ud835\udd2b", "ngE": "\u2267\u0338", "nge": "\u2271", "ngeq": "\u2271", "ngeqq": "\u2267\u0338", "ngeqslant": "\u2a7e\u0338", "nges": "\u2a7e\u0338", "nGg": "\u22d9\u0338", "ngsim": "\u2275", "nGt": "\u226b\u20d2", "ngt": "\u226f", "ngtr": "\u226f", "nGtv": "\u226b\u0338", "nhArr": "\u21ce", "nharr": "\u21ae", "nhpar": "\u2af2", "ni": "\u220b", "nis": "\u22fc", "nisd": "\u22fa", "niv": "\u220b", "NJcy": "\u040a", "njcy": "\u045a", "nlArr": "\u21cd", "nlarr": "\u219a", "nldr": "\u2025", "nlE": "\u2266\u0338", "nle": "\u2270", "nLeftarrow": "\u21cd", "nleftarrow": "\u219a", "nLeftrightarrow": "\u21ce", "nleftrightarrow": "\u21ae", "nleq": "\u2270", "nleqq": "\u2266\u0338", "nleqslant": "\u2a7d\u0338", "nles": "\u2a7d\u0338", "nless": "\u226e", "nLl": "\u22d8\u0338", "nlsim": "\u2274", "nLt": "\u226a\u20d2", "nlt": "\u226e", "nltri": "\u22ea", "nltrie": "\u22ec", "nLtv": "\u226a\u0338", "nmid": "\u2224", "NoBreak": "\u2060", "NonBreakingSpace": "\u00a0", "Nopf": "\u2115", "nopf": "\ud835\udd5f", "Not": "\u2aec", "not": "\u00ac", "NotCongruent": "\u2262", "NotCupCap": "\u226d", "NotDoubleVerticalBar": "\u2226", "NotElement": "\u2209", "NotEqual": "\u2260", "NotEqualTilde": "\u2242\u0338", "NotExists": "\u2204", "NotGreater": "\u226f", "NotGreaterEqual": "\u2271", "NotGreaterFullEqual": "\u2267\u0338", "NotGreaterGreater": "\u226b\u0338", "NotGreaterLess": "\u2279", "NotGreaterSlantEqual": "\u2a7e\u0338", "NotGreaterTilde": "\u2275", "NotHumpDownHump": "\u224e\u0338", "NotHumpEqual": "\u224f\u0338", "notin": "\u2209", "notindot": "\u22f5\u0338", "notinE": "\u22f9\u0338", "notinva": "\u2209", "notinvb": "\u22f7", "notinvc": "\u22f6", "NotLeftTriangle": "\u22ea", "NotLeftTriangleBar": "\u29cf\u0338", "NotLeftTriangleEqual": "\u22ec", "NotLess": "\u226e", "NotLessEqual": "\u2270", "NotLessGreater": "\u2278", "NotLessLess": "\u226a\u0338", "NotLessSlantEqual": "\u2a7d\u0338", "NotLessTilde": "\u2274", "NotNestedGreaterGreater": "\u2aa2\u0338", "NotNestedLessLess": "\u2aa1\u0338", "notni": "\u220c", "notniva": "\u220c", "notnivb": "\u22fe", "notnivc": "\u22fd", "NotPrecedes": "\u2280", "NotPrecedesEqual": "\u2aaf\u0338", "NotPrecedesSlantEqual": "\u22e0", "NotReverseElement": "\u220c", "NotRightTriangle": "\u22eb", "NotRightTriangleBar": "\u29d0\u0338", "NotRightTriangleEqual": "\u22ed", "NotSquareSubset": "\u228f\u0338", "NotSquareSubsetEqual": "\u22e2", "NotSquareSuperset": "\u2290\u0338", "NotSquareSupersetEqual": "\u22e3", "NotSubset": "\u2282\u20d2", "NotSubsetEqual": "\u2288", "NotSucceeds": "\u2281", "NotSucceedsEqual": "\u2ab0\u0338", "NotSucceedsSlantEqual": "\u22e1", "NotSucceedsTilde": "\u227f\u0338", "NotSuperset": "\u2283\u20d2", "NotSupersetEqual": "\u2289", "NotTilde": "\u2241", "NotTildeEqual": "\u2244", "NotTildeFullEqual": "\u2247", "NotTildeTilde": "\u2249", "NotVerticalBar": "\u2224", "npar": "\u2226", "nparallel": "\u2226", "nparsl": "\u2afd\u20e5", "npart": "\u2202\u0338", "npolint": "\u2a14", "npr": "\u2280", "nprcue": "\u22e0", "npre": "\u2aaf\u0338", "nprec": "\u2280", "npreceq": "\u2aaf\u0338", "nrArr": "\u21cf", "nrarr": "\u219b", "nrarrc": "\u2933\u0338", "nrarrw": "\u219d\u0338", "nRightarrow": "\u21cf", "nrightarrow": "\u219b", "nrtri": "\u22eb", "nrtrie": "\u22ed", "nsc": "\u2281", "nsccue": "\u22e1", "nsce": "\u2ab0\u0338", "Nscr": "\ud835\udca9", "nscr": "\ud835\udcc3", "nshortmid": "\u2224", "nshortparallel": "\u2226", "nsim": "\u2241", "nsime": "\u2244", "nsimeq": "\u2244", "nsmid": "\u2224", "nspar": "\u2226", "nsqsube": "\u22e2", "nsqsupe": "\u22e3", "nsub": "\u2284", "nsubE": "\u2ac5\u0338", "nsube": "\u2288", "nsubset": "\u2282\u20d2", "nsubseteq": "\u2288", "nsubseteqq": "\u2ac5\u0338", "nsucc": "\u2281", "nsucceq": "\u2ab0\u0338", "nsup": "\u2285", "nsupE": "\u2ac6\u0338", "nsupe": "\u2289", "nsupset": "\u2283\u20d2", "nsupseteq": "\u2289", "nsupseteqq": "\u2ac6\u0338", "ntgl": "\u2279", "Ntilde": "\u00d1", "ntilde": "\u00f1", "ntlg": "\u2278", "ntriangleleft": "\u22ea", "ntrianglelefteq": "\u22ec", "ntriangleright": "\u22eb", "ntrianglerighteq": "\u22ed", "Nu": "\u039d", "nu": "\u03bd", "num": "#", "numero": "\u2116", "numsp": "\u2007", "nvap": "\u224d\u20d2", "nVDash": "\u22af", "nVdash": "\u22ae", "nvDash": "\u22ad", "nvdash": "\u22ac", "nvge": "\u2265\u20d2", "nvgt": ">\u20d2", "nvHarr": "\u2904", "nvinfin": "\u29de", "nvlArr": "\u2902", "nvle": "\u2264\u20d2", "nvlt": "<\u20d2", "nvltrie": "\u22b4\u20d2", "nvrArr": "\u2903", "nvrtrie": "\u22b5\u20d2", "nvsim": "\u223c\u20d2", "nwarhk": "\u2923", "nwArr": "\u21d6", "nwarr": "\u2196", "nwarrow": "\u2196", "nwnear": "\u2927", "Oacute": "\u00d3", "oacute": "\u00f3", "oast": "\u229b", "ocir": "\u229a", "Ocirc": "\u00d4", "ocirc": "\u00f4", "Ocy": "\u041e", "ocy": "\u043e", "odash": "\u229d", "Odblac": "\u0150", "odblac": "\u0151", "odiv": "\u2a38", "odot": "\u2299", "odsold": "\u29bc", "OElig": "\u0152", "oelig": "\u0153", "ofcir": "\u29bf", "Ofr": "\ud835\udd12", "ofr": "\ud835\udd2c", "ogon": "\u02db", "Ograve": "\u00d2", "ograve": "\u00f2", "ogt": "\u29c1", "ohbar": "\u29b5", "ohm": "\u03a9", "oint": "\u222e", "olarr": "\u21ba", "olcir": "\u29be", "olcross": "\u29bb", "oline": "\u203e", "olt": "\u29c0", "Omacr": "\u014c", "omacr": "\u014d", "Omega": "\u03a9", "omega": "\u03c9", "Omicron": "\u039f", "omicron": "\u03bf", "omid": "\u29b6", "ominus": "\u2296", "Oopf": "\ud835\udd46", "oopf": "\ud835\udd60", "opar": "\u29b7", "OpenCurlyDoubleQuote": "\u201c", "OpenCurlyQuote": "\u2018", "operp": "\u29b9", "oplus": "\u2295", "Or": "\u2a54", "or": "\u2228", "orarr": "\u21bb", "ord": "\u2a5d", "order": "\u2134", "orderof": "\u2134", "ordf": "\u00aa", "ordm": "\u00ba", "origof": "\u22b6", "oror": "\u2a56", "orslope": "\u2a57", "orv": "\u2a5b", "oS": "\u24c8", "Oscr": "\ud835\udcaa", "oscr": "\u2134", "Oslash": "\u00d8", "oslash": "\u00f8", "osol": "\u2298", "Otilde": "\u00d5", "otilde": "\u00f5", "Otimes": "\u2a37", "otimes": "\u2297", "otimesas": "\u2a36", "Ouml": "\u00d6", "ouml": "\u00f6", "ovbar": "\u233d", "OverBar": "\u203e", "OverBrace": "\u23de", "OverBracket": "\u23b4", "OverParenthesis": "\u23dc", "par": "\u2225", "para": "\u00b6", "parallel": "\u2225", "parsim": "\u2af3", "parsl": "\u2afd", "part": "\u2202", "PartialD": "\u2202", "Pcy": "\u041f", "pcy": "\u043f", "percnt": "%", "period": ".", "permil": "\u2030", "perp": "\u22a5", "pertenk": "\u2031", "Pfr": "\ud835\udd13", "pfr": "\ud835\udd2d", "Phi": "\u03a6", "phi": "\u03c6", "phiv": "\u03d5", "phmmat": "\u2133", "phone": "\u260e", "Pi": "\u03a0", "pi": "\u03c0", "pitchfork": "\u22d4", "piv": "\u03d6", "planck": "\u210f", "planckh": "\u210e", "plankv": "\u210f", "plus": "+", "plusacir": "\u2a23", "plusb": "\u229e", "pluscir": "\u2a22", "plusdo": "\u2214", "plusdu": "\u2a25", "pluse": "\u2a72", "PlusMinus": "\u00b1", "plusmn": "\u00b1", "plussim": "\u2a26", "plustwo": "\u2a27", "pm": "\u00b1", "Poincareplane": "\u210c", "pointint": "\u2a15", "Popf": "\u2119", "popf": "\ud835\udd61", "pound": "\u00a3", "Pr": "\u2abb", "pr": "\u227a", "prap": "\u2ab7", "prcue": "\u227c", "prE": "\u2ab3", "pre": "\u2aaf", "prec": "\u227a", "precapprox": "\u2ab7", "preccurlyeq": "\u227c", "Precedes": "\u227a", "PrecedesEqual": "\u2aaf", "PrecedesSlantEqual": "\u227c", "PrecedesTilde": "\u227e", "preceq": "\u2aaf", "precnapprox": "\u2ab9", "precneqq": "\u2ab5", "precnsim": "\u22e8", "precsim": "\u227e", "Prime": "\u2033", "prime": "\u2032", "primes": "\u2119", "prnap": "\u2ab9", "prnE": "\u2ab5", "prnsim": "\u22e8", "prod": "\u220f", "Product": "\u220f", "profalar": "\u232e", "profline": "\u2312", "profsurf": "\u2313", "prop": "\u221d", "Proportion": "\u2237", "Proportional": "\u221d", "propto": "\u221d", "prsim": "\u227e", "prurel": "\u22b0", "Pscr": "\ud835\udcab", "pscr": "\ud835\udcc5", "Psi": "\u03a8", "psi": "\u03c8", "puncsp": "\u2008", "Qfr": "\ud835\udd14", "qfr": "\ud835\udd2e", "qint": "\u2a0c", "Qopf": "\u211a", "qopf": "\ud835\udd62", "qprime": "\u2057", "Qscr": "\ud835\udcac", "qscr": "\ud835\udcc6", "quaternions": "\u210d", "quatint": "\u2a16", "quest": "?", "questeq": "\u225f", "QUOT": "\"", "quot": "\"", "rAarr": "\u21db", "race": "\u223d\u0331", "Racute": "\u0154", "racute": "\u0155", "radic": "\u221a", "raemptyv": "\u29b3", "Rang": "\u27eb", "rang": "\u27e9", "rangd": "\u2992", "range": "\u29a5", "rangle": "\u27e9", "raquo": "\u00bb", "Rarr": "\u21a0", "rArr": "\u21d2", "rarr": "\u2192", "rarrap": "\u2975", "rarrb": "\u21e5", "rarrbfs": "\u2920", "rarrc": "\u2933", "rarrfs": "\u291e", "rarrhk": "\u21aa", "rarrlp": "\u21ac", "rarrpl": "\u2945", "rarrsim": "\u2974", "Rarrtl": "\u2916", "rarrtl": "\u21a3", "rarrw": "\u219d", "rAtail": "\u291c", "ratail": "\u291a", "ratio": "\u2236", "rationals": "\u211a", "RBarr": "\u2910", "rBarr": "\u290f", "rbarr": "\u290d", "rbbrk": "\u2773", "rbrace": "}", "rbrack": "]", "rbrke": "\u298c", "rbrksld": "\u298e", "rbrkslu": "\u2990", "Rcaron": "\u0158", "rcaron": "\u0159", "Rcedil": "\u0156", "rcedil": "\u0157", "rceil": "\u2309", "rcub": "}", "Rcy": "\u0420", "rcy": "\u0440", "rdca": "\u2937", "rdldhar": "\u2969", "rdquo": "\u201d", "rdquor": "\u201d", "rdsh": "\u21b3", "Re": "\u211c", "real": "\u211c", "realine": "\u211b", "realpart": "\u211c", "reals": "\u211d", "rect": "\u25ad", "REG": "\u00ae", "reg": "\u00ae", "ReverseElement": "\u220b", "ReverseEquilibrium": "\u21cb", "ReverseUpEquilibrium": "\u296f", "rfisht": "\u297d", "rfloor": "\u230b", "Rfr": "\u211c", "rfr": "\ud835\udd2f", "rHar": "\u2964", "rhard": "\u21c1", "rharu": "\u21c0", "rharul": "\u296c", "Rho": "\u03a1", "rho": "\u03c1", "rhov": "\u03f1", "RightAngleBracket": "\u27e9", "RightArrow": "\u2192", "Rightarrow": "\u21d2", "rightarrow": "\u2192", "RightArrowBar": "\u21e5", "RightArrowLeftArrow": "\u21c4", "rightarrowtail": "\u21a3", "RightCeiling": "\u2309", "RightDoubleBracket": "\u27e7", "RightDownTeeVector": "\u295d", "RightDownVector": "\u21c2", "RightDownVectorBar": "\u2955", "RightFloor": "\u230b", "rightharpoondown": "\u21c1", "rightharpoonup": "\u21c0", "rightleftarrows": "\u21c4", "rightleftharpoons": "\u21cc", "rightrightarrows": "\u21c9", "rightsquigarrow": "\u219d", "RightTee": "\u22a2", "RightTeeArrow": "\u21a6", "RightTeeVector": "\u295b", "rightthreetimes": "\u22cc", "RightTriangle": "\u22b3", "RightTriangleBar": "\u29d0", "RightTriangleEqual": "\u22b5", "RightUpDownVector": "\u294f", "RightUpTeeVector": "\u295c", "RightUpVector": "\u21be", "RightUpVectorBar": "\u2954", "RightVector": "\u21c0", "RightVectorBar": "\u2953", "ring": "\u02da", "risingdotseq": "\u2253", "rlarr": "\u21c4", "rlhar": "\u21cc", "rlm": "\u200f", "rmoust": "\u23b1", "rmoustache": "\u23b1", "rnmid": "\u2aee", "roang": "\u27ed", "roarr": "\u21fe", "robrk": "\u27e7", "ropar": "\u2986", "Ropf": "\u211d", "ropf": "\ud835\udd63", "roplus": "\u2a2e", "rotimes": "\u2a35", "RoundImplies": "\u2970", "rpar": ")", "rpargt": "\u2994", "rppolint": "\u2a12", "rrarr": "\u21c9", "Rrightarrow": "\u21db", "rsaquo": "\u203a", "Rscr": "\u211b", "rscr": "\ud835\udcc7", "Rsh": "\u21b1", "rsh": "\u21b1", "rsqb": "]", "rsquo": "\u2019", "rsquor": "\u2019", "rthree": "\u22cc", "rtimes": "\u22ca", "rtri": "\u25b9", "rtrie": "\u22b5", "rtrif": "\u25b8", "rtriltri": "\u29ce", "RuleDelayed": "\u29f4", "ruluhar": "\u2968", "rx": "\u211e", "Sacute": "\u015a", "sacute": "\u015b", "sbquo": "\u201a", "Sc": "\u2abc", "sc": "\u227b", "scap": "\u2ab8", "Scaron": "\u0160", "scaron": "\u0161", "sccue": "\u227d", "scE": "\u2ab4", "sce": "\u2ab0", "Scedil": "\u015e", "scedil": "\u015f", "Scirc": "\u015c", "scirc": "\u015d", "scnap": "\u2aba", "scnE": "\u2ab6", "scnsim": "\u22e9", "scpolint": "\u2a13", "scsim": "\u227f", "Scy": "\u0421", "scy": "\u0441", "sdot": "\u22c5", "sdotb": "\u22a1", "sdote": "\u2a66", "searhk": "\u2925", "seArr": "\u21d8", "searr": "\u2198", "searrow": "\u2198", "sect": "\u00a7", "semi": ";", "seswar": "\u2929", "setminus": "\u2216", "setmn": "\u2216", "sext": "\u2736", "Sfr": "\ud835\udd16", "sfr": "\ud835\udd30", "sfrown": "\u2322", "sharp": "\u266f", "SHCHcy": "\u0429", "shchcy": "\u0449", "SHcy": "\u0428", "shcy": "\u0448", "ShortDownArrow": "\u2193", "ShortLeftArrow": "\u2190", "shortmid": "\u2223", "shortparallel": "\u2225", "ShortRightArrow": "\u2192", "ShortUpArrow": "\u2191", "shy": "\u00ad", "Sigma": "\u03a3", "sigma": "\u03c3", "sigmaf": "\u03c2", "sigmav": "\u03c2", "sim": "\u223c", "simdot": "\u2a6a", "sime": "\u2243", "simeq": "\u2243", "simg": "\u2a9e", "simgE": "\u2aa0", "siml": "\u2a9d", "simlE": "\u2a9f", "simne": "\u2246", "simplus": "\u2a24", "simrarr": "\u2972", "slarr": "\u2190", "SmallCircle": "\u2218", "smallsetminus": "\u2216", "smashp": "\u2a33", "smeparsl": "\u29e4", "smid": "\u2223", "smile": "\u2323", "smt": "\u2aaa", "smte": "\u2aac", "smtes": "\u2aac\ufe00", "SOFTcy": "\u042c", "softcy": "\u044c", "sol": "/", "solb": "\u29c4", "solbar": "\u233f", "Sopf": "\ud835\udd4a", "sopf": "\ud835\udd64", "spades": "\u2660", "spadesuit": "\u2660", "spar": "\u2225", "sqcap": "\u2293", "sqcaps": "\u2293\ufe00", "sqcup": "\u2294", "sqcups": "\u2294\ufe00", "Sqrt": "\u221a", "sqsub": "\u228f", "sqsube": "\u2291", "sqsubset": "\u228f", "sqsubseteq": "\u2291", "sqsup": "\u2290", "sqsupe": "\u2292", "sqsupset": "\u2290", "sqsupseteq": "\u2292", "squ": "\u25a1", "Square": "\u25a1", "square": "\u25a1", "SquareIntersection": "\u2293", "SquareSubset": "\u228f", "SquareSubsetEqual": "\u2291", "SquareSuperset": "\u2290", "SquareSupersetEqual": "\u2292", "SquareUnion": "\u2294", "squarf": "\u25aa", "squf": "\u25aa", "srarr": "\u2192", "Sscr": "\ud835\udcae", "sscr": "\ud835\udcc8", "ssetmn": "\u2216", "ssmile": "\u2323", "sstarf": "\u22c6", "Star": "\u22c6", "star": "\u2606", "starf": "\u2605", "straightepsilon": "\u03f5", "straightphi": "\u03d5", "strns": "\u00af", "Sub": "\u22d0", "sub": "\u2282", "subdot": "\u2abd", "subE": "\u2ac5", "sube": "\u2286", "subedot": "\u2ac3", "submult": "\u2ac1", "subnE": "\u2acb", "subne": "\u228a", "subplus": "\u2abf", "subrarr": "\u2979", "Subset": "\u22d0", "subset": "\u2282", "subseteq": "\u2286", "subseteqq": "\u2ac5", "SubsetEqual": "\u2286", "subsetneq": "\u228a", "subsetneqq": "\u2acb", "subsim": "\u2ac7", "subsub": "\u2ad5", "subsup": "\u2ad3", "succ": "\u227b", "succapprox": "\u2ab8", "succcurlyeq": "\u227d", "Succeeds": "\u227b", "SucceedsEqual": "\u2ab0", "SucceedsSlantEqual": "\u227d", "SucceedsTilde": "\u227f", "succeq": "\u2ab0", "succnapprox": "\u2aba", "succneqq": "\u2ab6", "succnsim": "\u22e9", "succsim": "\u227f", "SuchThat": "\u220b", "Sum": "\u2211", "sum": "\u2211", "sung": "\u266a", "sup1": "\u00b9", "sup2": "\u00b2", "sup3": "\u00b3", "Sup": "\u22d1", "sup": "\u2283", "supdot": "\u2abe", "supdsub": "\u2ad8", "supE": "\u2ac6", "supe": "\u2287", "supedot": "\u2ac4", "Superset": "\u2283", "SupersetEqual": "\u2287", "suphsol": "\u27c9", "suphsub": "\u2ad7", "suplarr": "\u297b", "supmult": "\u2ac2", "supnE": "\u2acc", "supne": "\u228b", "supplus": "\u2ac0", "Supset": "\u22d1", "supset": "\u2283", "supseteq": "\u2287", "supseteqq": "\u2ac6", "supsetneq": "\u228b", "supsetneqq": "\u2acc", "supsim": "\u2ac8", "supsub": "\u2ad4", "supsup": "\u2ad6", "swarhk": "\u2926", "swArr": "\u21d9", "swarr": "\u2199", "swarrow": "\u2199", "swnwar": "\u292a", "szlig": "\u00df", "Tab": "\t", "target": "\u2316", "Tau": "\u03a4", "tau": "\u03c4", "tbrk": "\u23b4", "Tcaron": "\u0164", "tcaron": "\u0165", "Tcedil": "\u0162", "tcedil": "\u0163", "Tcy": "\u0422", "tcy": "\u0442", "tdot": "\u20db", "telrec": "\u2315", "Tfr": "\ud835\udd17", "tfr": "\ud835\udd31", "there4": "\u2234", "Therefore": "\u2234", "therefore": "\u2234", "Theta": "\u0398", "theta": "\u03b8", "thetasym": "\u03d1", "thetav": "\u03d1", "thickapprox": "\u2248", "thicksim": "\u223c", "ThickSpace": "\u205f\u200a", "thinsp": "\u2009", "ThinSpace": "\u2009", "thkap": "\u2248", "thksim": "\u223c", "THORN": "\u00de", "thorn": "\u00fe", "Tilde": "\u223c", "tilde": "\u02dc", "TildeEqual": "\u2243", "TildeFullEqual": "\u2245", "TildeTilde": "\u2248", "times": "\u00d7", "timesb": "\u22a0", "timesbar": "\u2a31", "timesd": "\u2a30", "tint": "\u222d", "toea": "\u2928", "top": "\u22a4", "topbot": "\u2336", "topcir": "\u2af1", "Topf": "\ud835\udd4b", "topf": "\ud835\udd65", "topfork": "\u2ada", "tosa": "\u2929", "tprime": "\u2034", "TRADE": "\u2122", "trade": "\u2122", "triangle": "\u25b5", "triangledown": "\u25bf", "triangleleft": "\u25c3", "trianglelefteq": "\u22b4", "triangleq": "\u225c", "triangleright": "\u25b9", "trianglerighteq": "\u22b5", "tridot": "\u25ec", "trie": "\u225c", "triminus": "\u2a3a", "TripleDot": "\u20db", "triplus": "\u2a39", "trisb": "\u29cd", "tritime": "\u2a3b", "trpezium": "\u23e2", "Tscr": "\ud835\udcaf", "tscr": "\ud835\udcc9", "TScy": "\u0426", "tscy": "\u0446", "TSHcy": "\u040b", "tshcy": "\u045b", "Tstrok": "\u0166", "tstrok": "\u0167", "twixt": "\u226c", "twoheadleftarrow": "\u219e", "twoheadrightarrow": "\u21a0", "Uacute": "\u00da", "uacute": "\u00fa", "Uarr": "\u219f", "uArr": "\u21d1", "uarr": "\u2191", "Uarrocir": "\u2949", "Ubrcy": "\u040e", "ubrcy": "\u045e", "Ubreve": "\u016c", "ubreve": "\u016d", "Ucirc": "\u00db", "ucirc": "\u00fb", "Ucy": "\u0423", "ucy": "\u0443", "udarr": "\u21c5", "Udblac": "\u0170", "udblac": "\u0171", "udhar": "\u296e", "ufisht": "\u297e", "Ufr": "\ud835\udd18", "ufr": "\ud835\udd32", "Ugrave": "\u00d9", "ugrave": "\u00f9", "uHar": "\u2963", "uharl": "\u21bf", "uharr": "\u21be", "uhblk": "\u2580", "ulcorn": "\u231c", "ulcorner": "\u231c", "ulcrop": "\u230f", "ultri": "\u25f8", "Umacr": "\u016a", "umacr": "\u016b", "uml": "\u00a8", "UnderBar": "_", "UnderBrace": "\u23df", "UnderBracket": "\u23b5", "UnderParenthesis": "\u23dd", "Union": "\u22c3", "UnionPlus": "\u228e", "Uogon": "\u0172", "uogon": "\u0173", "Uopf": "\ud835\udd4c", "uopf": "\ud835\udd66", "UpArrow": "\u2191", "Uparrow": "\u21d1", "uparrow": "\u2191", "UpArrowBar": "\u2912", "UpArrowDownArrow": "\u21c5", "UpDownArrow": "\u2195", "Updownarrow": "\u21d5", "updownarrow": "\u2195", "UpEquilibrium": "\u296e", "upharpoonleft": "\u21bf", "upharpoonright": "\u21be", "uplus": "\u228e", "UpperLeftArrow": "\u2196", "UpperRightArrow": "\u2197", "Upsi": "\u03d2", "upsi": "\u03c5", "upsih": "\u03d2", "Upsilon": "\u03a5", "upsilon": "\u03c5", "UpTee": "\u22a5", "UpTeeArrow": "\u21a5", "upuparrows": "\u21c8", "urcorn": "\u231d", "urcorner": "\u231d", "urcrop": "\u230e", "Uring": "\u016e", "uring": "\u016f", "urtri": "\u25f9", "Uscr": "\ud835\udcb0", "uscr": "\ud835\udcca", "utdot": "\u22f0", "Utilde": "\u0168", "utilde": "\u0169", "utri": "\u25b5", "utrif": "\u25b4", "uuarr": "\u21c8", "Uuml": "\u00dc", "uuml": "\u00fc", "uwangle": "\u29a7", "vangrt": "\u299c", "varepsilon": "\u03f5", "varkappa": "\u03f0", "varnothing": "\u2205", "varphi": "\u03d5", "varpi": "\u03d6", "varpropto": "\u221d", "vArr": "\u21d5", "varr": "\u2195", "varrho": "\u03f1", "varsigma": "\u03c2", "varsubsetneq": "\u228a\ufe00", "varsubsetneqq": "\u2acb\ufe00", "varsupsetneq": "\u228b\ufe00", "varsupsetneqq": "\u2acc\ufe00", "vartheta": "\u03d1", "vartriangleleft": "\u22b2", "vartriangleright": "\u22b3", "Vbar": "\u2aeb", "vBar": "\u2ae8", "vBarv": "\u2ae9", "Vcy": "\u0412", "vcy": "\u0432", "VDash": "\u22ab", "Vdash": "\u22a9", "vDash": "\u22a8", "vdash": "\u22a2", "Vdashl": "\u2ae6", "Vee": "\u22c1", "vee": "\u2228", "veebar": "\u22bb", "veeeq": "\u225a", "vellip": "\u22ee", "Verbar": "\u2016", "verbar": "|", "Vert": "\u2016", "vert": "|", "VerticalBar": "\u2223", "VerticalLine": "|", "VerticalSeparator": "\u2758", "VerticalTilde": "\u2240", "VeryThinSpace": "\u200a", "Vfr": "\ud835\udd19", "vfr": "\ud835\udd33", "vltri": "\u22b2", "vnsub": "\u2282\u20d2", "vnsup": "\u2283\u20d2", "Vopf": "\ud835\udd4d", "vopf": "\ud835\udd67", "vprop": "\u221d", "vrtri": "\u22b3", "Vscr": "\ud835\udcb1", "vscr": "\ud835\udccb", "vsubnE": "\u2acb\ufe00", "vsubne": "\u228a\ufe00", "vsupnE": "\u2acc\ufe00", "vsupne": "\u228b\ufe00", "Vvdash": "\u22aa", "vzigzag": "\u299a", "Wcirc": "\u0174", "wcirc": "\u0175", "wedbar": "\u2a5f", "Wedge": "\u22c0", "wedge": "\u2227", "wedgeq": "\u2259", "weierp": "\u2118", "Wfr": "\ud835\udd1a", "wfr": "\ud835\udd34", "Wopf": "\ud835\udd4e", "wopf": "\ud835\udd68", "wp": "\u2118", "wr": "\u2240", "wreath": "\u2240", "Wscr": "\ud835\udcb2", "wscr": "\ud835\udccc", "xcap": "\u22c2", "xcirc": "\u25ef", "xcup": "\u22c3", "xdtri": "\u25bd", "Xfr": "\ud835\udd1b", "xfr": "\ud835\udd35", "xhArr": "\u27fa", "xharr": "\u27f7", "Xi": "\u039e", "xi": "\u03be", "xlArr": "\u27f8", "xlarr": "\u27f5", "xmap": "\u27fc", "xnis": "\u22fb", "xodot": "\u2a00", "Xopf": "\ud835\udd4f", "xopf": "\ud835\udd69", "xoplus": "\u2a01", "xotime": "\u2a02", "xrArr": "\u27f9", "xrarr": "\u27f6", "Xscr": "\ud835\udcb3", "xscr": "\ud835\udccd", "xsqcup": "\u2a06", "xuplus": "\u2a04", "xutri": "\u25b3", "xvee": "\u22c1", "xwedge": "\u22c0", "Yacute": "\u00dd", "yacute": "\u00fd", "YAcy": "\u042f", "yacy": "\u044f", "Ycirc": "\u0176", "ycirc": "\u0177", "Ycy": "\u042b", "ycy": "\u044b", "yen": "\u00a5", "Yfr": "\ud835\udd1c", "yfr": "\ud835\udd36", "YIcy": "\u0407", "yicy": "\u0457", "Yopf": "\ud835\udd50", "yopf": "\ud835\udd6a", "Yscr": "\ud835\udcb4", "yscr": "\ud835\udcce", "YUcy": "\u042e", "yucy": "\u044e", "Yuml": "\u0178", "yuml": "\u00ff", "Zacute": "\u0179", "zacute": "\u017a", "Zcaron": "\u017d", "zcaron": "\u017e", "Zcy": "\u0417", "zcy": "\u0437", "Zdot": "\u017b", "zdot": "\u017c", "zeetrf": "\u2128", "ZeroWidthSpace": "\u200b", "Zeta": "\u0396", "zeta": "\u03b6", "Zfr": "\u2128", "zfr": "\ud835\udd37", "ZHcy": "\u0416", "zhcy": "\u0436", "zigrarr": "\u21dd", "Zopf": "\u2124", "zopf": "\ud835\udd6b", "Zscr": "\ud835\udcb5", "zscr": "\ud835\udccf", "zwj": "\u200d", "zwnj": "\u200c" }));
4
+ /** The names also recognised as a prefix without their `;` (`&notit;` is `&not` + `it;`). */
5
+ export const LEGACY = ["AElig", "AMP", "Aacute", "Acirc", "Agrave", "Aring", "Atilde", "Auml", "COPY", "Ccedil", "ETH", "Eacute", "Ecirc", "Egrave", "Euml", "GT", "Iacute", "Icirc", "Igrave", "Iuml", "LT", "Ntilde", "Oacute", "Ocirc", "Ograve", "Oslash", "Otilde", "Ouml", "QUOT", "REG", "THORN", "Uacute", "Ucirc", "Ugrave", "Uuml", "Yacute", "aacute", "acirc", "acute", "aelig", "agrave", "amp", "aring", "atilde", "auml", "brvbar", "ccedil", "cedil", "cent", "copy", "curren", "deg", "divide", "eacute", "ecirc", "egrave", "eth", "euml", "frac12", "frac14", "frac34", "gt", "iacute", "icirc", "iexcl", "igrave", "iquest", "iuml", "laquo", "lt", "macr", "micro", "middot", "nbsp", "not", "ntilde", "oacute", "ocirc", "ograve", "ordf", "ordm", "oslash", "otilde", "ouml", "para", "plusmn", "pound", "quot", "raquo", "reg", "sect", "shy", "sup1", "sup2", "sup3", "szlig", "thorn", "times", "uacute", "ucirc", "ugrave", "uml", "uuml", "yacute", "yen", "yuml"];
6
+ /** Numeric references the HTML5 parser replaces (`&#150;` is Windows-1252's en dash; `&#0;` U+FFFD). */
7
+ export const INVALID_CHARREFS = new Map([[0, "\ufffd"], [13, "\r"], [128, "\u20ac"], [129, "\u0081"], [130, "\u201a"], [131, "\u0192"], [132, "\u201e"], [133, "\u2026"], [134, "\u2020"], [135, "\u2021"], [136, "\u02c6"], [137, "\u2030"], [138, "\u0160"], [139, "\u2039"], [140, "\u0152"], [141, "\u008d"], [142, "\u017d"], [143, "\u008f"], [144, "\u0090"], [145, "\u2018"], [146, "\u2019"], [147, "\u201c"], [148, "\u201d"], [149, "\u2022"], [150, "\u2013"], [151, "\u2014"], [152, "\u02dc"], [153, "\u2122"], [154, "\u0161"], [155, "\u203a"], [156, "\u0153"], [157, "\u009d"], [158, "\u017e"], [159, "\u0178"]]);
8
+ /** Code points a numeric reference decodes to nothing (controls, noncharacters), as inclusive ranges. */
9
+ export const INVALID_CODEPOINTS = [[1, 8], [11, 11], [14, 31], [127, 159], [64976, 65007], [65534, 65535], [131070, 131071], [196606, 196607], [262142, 262143], [327678, 327679], [393214, 393215], [458750, 458751], [524286, 524287], [589822, 589823], [655358, 655359], [720894, 720895], [786430, 786431], [851966, 851967], [917502, 917503], [983038, 983039], [1048574, 1048575], [1114110, 1114111]];
@@ -12,17 +12,19 @@
12
12
  * from and how many ranked versions disagree on it (`conflicts`, only when 2 or more: a rank 3 version
13
13
  * never raises one), the byline, and the versions grouped Sources / Verified / Others with the fields
14
14
  * where each differs from what is shown. A person may pick another version (`pick`): the fields then
15
- * show that version's own values. No view layer here: `useEvent` (`techne-sdk/react`) holds
16
- * the pick, and an app draws its own pill and conflict badge from `versionPill` and `fieldConflict`.
15
+ * show that version's own values. A version is named for a person (`versionName`), never by a service
16
+ * handle; the pill counts versions until one is picked, and is hidden while they agree. No view layer
17
+ * here: `useVersions` (`techne-sdk/react`) holds the selection, and an app draws its own pill and conflict badge from `versionPill` and `fieldConflict`.
17
18
  *
18
19
  * The ranking and comparison (`eventState`, `comparable`) are not written here: they are the Rust the
19
- * curator composes with (`crates/techne-sdk`), run as WebAssembly (`techne-sdk/wasm`), so the screen
20
+ * curator composes with (`techne-sdk`), run as WebAssembly (`techne-sdk/wasm`), so the screen
20
21
  * and the curator cannot disagree. What is here is presentation over that state.
21
22
  */
22
23
  import { type Claims, type Verification } from '../wasm/index.js';
23
24
  import type { OutputSchema as GetVersionsOutput, Version } from '../generated/types/pub/techne/draft/commons/getVersions.js';
24
25
  export type { GetVersionsOutput, Version };
25
26
  export type { Claims, Verification };
27
+ export { decodeTextFields } from './text.js';
26
28
  /** The method this module reads. */
27
29
  export declare const GET_VERSIONS: "pub.techne.draft.commons.getVersions";
28
30
  /** How a version is ranked in the composition. */
@@ -71,12 +73,17 @@ export interface EventState {
71
73
  /** Versions the server left out for a verdict (spam, obscene). */
72
74
  leftOut: number;
73
75
  }
74
- /** A value as compared, as a string two values share exactly when they say the same thing: strings
75
- * trimmed, a datetime as its instant, an event's places by what they say (never by which copy of a
76
- * place they point at), recursively. The one definition is Rust's (`techne_sdk::versions::shown_as`). */
76
+ /** A value as compared, as a string two values share exactly when they say the same thing: text fields
77
+ * decoded as the commons decodes them at publish (`decodeTextFields`: `Parks &amp; Open Space` is
78
+ * `Parks & Open Space`), then strings trimmed, a datetime as its instant, an event's places by what they
79
+ * say (never by which copy of a place they point at), recursively. After the decode, the definition is
80
+ * Rust's (`techne_sdk::versions::shown_as`). */
77
81
  export declare function comparable(field: string, value: unknown): string;
78
82
  /** The state of `data` with `picked` (a version's URI) shown, or the default composition. Computed by
79
- * `crates/techne-sdk` (`versions::event_state`), the rules curator's own ranking, as WebAssembly. */
83
+ * `techne-sdk` (`versions::event_state`), the rules curator's own ranking, as WebAssembly, over
84
+ * the answer's text decoded (`decodeTextFields`), so every value in it is plain text; then a description
85
+ * that contains, or is contained in, the one shown agrees on it, and the curator's conflict counts are
86
+ * recounted the same way. */
80
87
  export declare function eventState(data: GetVersionsOutput, picked?: string | null): EventState;
81
88
  /** What an app can check itself about one answer (P13.5): the record shown and each version. */
82
89
  export interface AnswerVerification {
@@ -89,23 +96,58 @@ export interface AnswerVerification {
89
96
  * (`claims`: the root, and the credentials and declarations it has read). Optional: the platform has
90
97
  * already filtered the answer; this lets an app show "verified" from its own check. */
91
98
  export declare function verifyAnswer(data: GetVersionsOutput, claims: Claims): AnswerVerification;
92
- /** The name a version is shown by. */
93
- export declare function versionName(v: Pick<VersionRef, 'name' | 'handle'>): string;
94
- /** The version pill: the byline, and how many sources there are when more than one ("from the
95
- * Backstreet Museum calendar · 2 sources"). A source is a version the versions sheet lists under
96
- * Sources (rank 1), so the pill and the sheet count the same versions; verified accounts and others are
97
- * not sources. With one source or none it is the byline alone. */
98
- export declare function versionPill(state: EventState): {
99
+ /** A handle no person chose: a commons service account's. */
100
+ export declare function isServiceHandle(handle: string | null | undefined): boolean;
101
+ /** What a version names when nothing better is known about a mirrored calendar. */
102
+ export declare const IMPORTED_CALENDAR = "Imported calendar";
103
+ /** The site a record links to first ("bouldercounty.gov"): the host of its first public web `uris` entry
104
+ * (`publicWebUrl`), without `www.`. A mirror's copy links the page it was read from: the calendar's site. */
105
+ export declare function siteOf(record: Record<string, unknown> | undefined): string | undefined;
106
+ /** Whether a version is a mirrored calendar's copy: tagged a mirror, or written by a `mirror-` account (the
107
+ * commons' mirrors are not always endorsed writers, so `mirror` alone misses them; green, 2026-11-05). */
108
+ export declare function isImported(v: Pick<VersionRef, 'handle' | 'mirror'>): boolean;
109
+ /** The version being shown, with its record: the composition's byline, or the version picked (the Rust
110
+ * marks it `showing`). `EventState.byline` is a `VersionRef`, which has no record to name a mirror by. */
111
+ export declare function shownVersion(state: Pick<EventState, 'versions'>): VersionEntry | undefined;
112
+ /** The name a version is shown by, never a handle a person did not choose: its name (a mirror's source
113
+ * credit, a collective's or a profile's name); a mirrored calendar with none is named by its own site
114
+ * ("bouldercounty.gov", from the version's record), else "Imported calendar"; then a person's handle
115
+ * (never `handle.invalid`); else "Someone". */
116
+ export declare function versionName(v: Pick<VersionRef, 'name' | 'handle'> & Partial<Pick<VersionRef, 'mirror'>> & {
117
+ record?: Record<string, unknown>;
118
+ }): string;
119
+ /** Whether any version sets a field to something other than what is shown: the versions conflict. Versions
120
+ * that agree, or only complement each other (each sets fields the others leave out; the composition
121
+ * shows them all), do not. Read on the default composition (`picked` null), where `differs` is measured
122
+ * against what the composition shows. */
123
+ export declare function versionsConflict(state: Pick<EventState, 'versions'>): boolean;
124
+ /** The version pill's props. */
125
+ export interface VersionPill {
99
126
  label: string;
127
+ /** How many versions the thing has. */
100
128
  count: number;
101
129
  accessibilityLabel: string;
102
- } | null;
130
+ accessibilityHint: string;
131
+ }
132
+ export interface VersionPillOptions {
133
+ /** Show no pill while the default composition is shown and its versions do not conflict (default
134
+ * `true`). `false` shows the count pill for any thing with two or more versions. */
135
+ hideAgreeing?: boolean;
136
+ }
137
+ /** The version pill. Before a person picks a version, the count alone, and only when the versions
138
+ * conflict ("2 versions"; no pill for one version, nor for versions that agree, see
139
+ * {@link VersionPillOptions}); no source is named until one is picked. Once a version is picked, who it
140
+ * is from ("from Boulder Almanac"), named by {@link versionName}. */
141
+ export declare function versionPill(state: Pick<EventState, 'byline' | 'versions'> & Partial<Pick<EventState, 'picked'>>, options?: VersionPillOptions): VersionPill | null;
103
142
  /** The field-conflict badge on one field: the count of distinct values among the ranked versions, only
104
143
  * when 2 or more. */
105
- export declare function fieldConflict(state: EventState, field: string | readonly string[]): {
144
+ export declare function fieldConflict(state: Pick<EventState, 'fields'>, field: string | readonly string[]): {
106
145
  count: number;
107
146
  accessibilityLabel: string;
108
147
  } | null;
148
+ /** Each field whose ranked versions disagree, and how many values they give (`conflicts` of 2 or more in
149
+ * `state.fields`, as the Rust counts them). */
150
+ export declare function conflictsOf(state: Pick<EventState, 'fields'> | null): Record<string, number>;
109
151
  /** One row of the versions sheet: a version, or several that agree with what is shown collapsed into one
110
152
  * ("Backstreet Museum calendar + 2 sources agree"). */
111
153
  export interface VersionRow {
@@ -115,7 +157,7 @@ export interface VersionRow {
115
157
  }
116
158
  /** The versions sheet: groups Sources / Verified / Others, in that order, each row a version; versions
117
159
  * that set nothing other than what is shown collapse into the showing (or first) row of their group. */
118
- export declare function versionGroups(state: EventState): {
160
+ export declare function versionGroups(state: Pick<EventState, 'versions'>): {
119
161
  group: VersionGroup;
120
162
  rows: VersionRow[];
121
163
  }[];
@@ -12,27 +12,92 @@
12
12
  * from and how many ranked versions disagree on it (`conflicts`, only when 2 or more: a rank 3 version
13
13
  * never raises one), the byline, and the versions grouped Sources / Verified / Others with the fields
14
14
  * where each differs from what is shown. A person may pick another version (`pick`): the fields then
15
- * show that version's own values. No view layer here: `useEvent` (`techne-sdk/react`) holds
16
- * the pick, and an app draws its own pill and conflict badge from `versionPill` and `fieldConflict`.
15
+ * show that version's own values. A version is named for a person (`versionName`), never by a service
16
+ * handle; the pill counts versions until one is picked, and is hidden while they agree. No view layer
17
+ * here: `useVersions` (`techne-sdk/react`) holds the selection, and an app draws its own pill and conflict badge from `versionPill` and `fieldConflict`.
17
18
  *
18
19
  * The ranking and comparison (`eventState`, `comparable`) are not written here: they are the Rust the
19
- * curator composes with (`crates/techne-sdk`), run as WebAssembly (`techne-sdk/wasm`), so the screen
20
+ * curator composes with (`techne-sdk`), run as WebAssembly (`techne-sdk/wasm`), so the screen
20
21
  * and the curator cannot disagree. What is here is presentation over that state.
21
22
  */
22
23
  import { NSID } from '../generated/nsid.js';
24
+ import { publicWebUrl, shownHandle } from '../query/index.js';
23
25
  import { call, verify } from '../wasm/index.js';
26
+ import { cleanText, decodeTextFields } from './text.js';
27
+ export { decodeTextFields } from './text.js';
24
28
  /** The method this module reads. */
25
29
  export const GET_VERSIONS = NSID.COMMONS_GET_VERSIONS;
26
- /** A value as compared, as a string two values share exactly when they say the same thing: strings
27
- * trimmed, a datetime as its instant, an event's places by what they say (never by which copy of a
28
- * place they point at), recursively. The one definition is Rust's (`techne_sdk::versions::shown_as`). */
30
+ /** A value as compared, as a string two values share exactly when they say the same thing: text fields
31
+ * decoded as the commons decodes them at publish (`decodeTextFields`: `Parks &amp; Open Space` is
32
+ * `Parks & Open Space`), then strings trimmed, a datetime as its instant, an event's places by what they
33
+ * say (never by which copy of a place they point at), recursively. After the decode, the definition is
34
+ * Rust's (`techne_sdk::versions::shown_as`). */
29
35
  export function comparable(field, value) {
36
+ return written(field, decodeTextFields({ [field]: value })[field]);
37
+ }
38
+ /** `data` as plain text: the composition and every version with their text fields decoded
39
+ * (`decodeTextFields`), so a version published before the commons decoded entities neither differs
40
+ * for it nor shows `&amp;`. The answer itself is left as it came: its records are what their CIDs name. */
41
+ function decoded(data) {
42
+ return { ...data, record: decodeTextFields(data.record), versions: data.versions.map((v) => ({ ...v, record: decodeTextFields(v.record) })) };
43
+ }
44
+ /** Whether two values of `field`, already decoded, say the same thing: equal as compared (`comparable`),
45
+ * or for a description, one containing the other once cleaned (a source with a longer write-up, or a copy
46
+ * with text the other dropped). Versions that match or complement each other do not conflict (lucian,
47
+ * 2026-11-05). */
48
+ function agree(field, a, b) {
49
+ if (field === 'description' && typeof a === 'string' && typeof b === 'string') {
50
+ const [x, y] = [cleanText(a), cleanText(b)];
51
+ if (!x || !y)
52
+ return x === y;
53
+ return x.length <= y.length ? y.includes(x) : x.includes(y);
54
+ }
55
+ return comparable(field, a) === comparable(field, b);
56
+ }
57
+ /** `v` with a description that agrees with the one shown moved from `differs` to `same` (the Rust compares
58
+ * descriptions as equal or not). */
59
+ function withAgreeingDescription(v, shown) {
60
+ if (!v.differs.includes('description') || !agree('description', v.record.description, shown))
61
+ return v;
62
+ return { ...v, differs: v.differs.filter((f) => f !== 'description'), same: [...v.same, 'description'] };
63
+ }
64
+ /** How many distinct values `values` give, values that agree (`agree`, or `same` as written) counted once. */
65
+ function distinct(values, same) {
66
+ const kept = [];
67
+ const longestFirst = [...values].sort((x, y) => (typeof y === 'string' ? y.length : 0) - (typeof x === 'string' ? x.length : 0));
68
+ for (const x of longestFirst)
69
+ if (!kept.some((k) => same(k, x)))
70
+ kept.push(x);
71
+ return kept.length;
72
+ }
73
+ /** A field's conflict count less the values the decode merged: the curator counts the ranked versions'
74
+ * distinct values as written, so `&amp;` and `&`, or a description and a longer one, were two. Counted over
75
+ * the ranked versions the answer lists, as written (`raw`) and decoded; only ever lowers the count. */
76
+ function recounted(field, f, versions, raw) {
77
+ if (f.conflicts === undefined)
78
+ return f;
79
+ const ranked = versions.filter((v) => (v.rank === 1 || v.rank === 2) && v.record[field] != null);
80
+ const asWritten = distinct(ranked.map((v) => raw.get(v.uri)?.[field]), (a, b) => written(field, a) === written(field, b));
81
+ const merged = asWritten - distinct(ranked.map((v) => v.record[field]), (a, b) => agree(field, a, b));
82
+ const conflicts = f.conflicts - merged;
83
+ return { ...f, conflicts: conflicts >= 2 ? conflicts : undefined };
84
+ }
85
+ /** A value compared as the curator compares it, with no decode. */
86
+ function written(field, value) {
30
87
  return JSON.stringify(call('comparable', { field, value }));
31
88
  }
32
89
  /** The state of `data` with `picked` (a version's URI) shown, or the default composition. Computed by
33
- * `crates/techne-sdk` (`versions::event_state`), the rules curator's own ranking, as WebAssembly. */
90
+ * `techne-sdk` (`versions::event_state`), the rules curator's own ranking, as WebAssembly, over
91
+ * the answer's text decoded (`decodeTextFields`), so every value in it is plain text; then a description
92
+ * that contains, or is contained in, the one shown agrees on it, and the curator's conflict counts are
93
+ * recounted the same way. */
34
94
  export function eventState(data, picked = null) {
35
- return call('eventState', { data, picked });
95
+ const state = call('eventState', { data: decoded(data), picked });
96
+ const shown = state.fields.description?.value;
97
+ const versions = state.versions.map((v) => withAgreeingDescription(v, shown));
98
+ const raw = new Map(data.versions.map((v) => [v.uri, v.record]));
99
+ const fields = Object.fromEntries(Object.entries(state.fields).map(([name, f]) => [name, recounted(name, f, versions, raw)]));
100
+ return { ...state, fields, versions };
36
101
  }
37
102
  /** Run the pure check on every record of a `getVersions` answer, offline, over what the app holds
38
103
  * (`claims`: the root, and the credentials and declarations it has read). Optional: the platform has
@@ -41,22 +106,82 @@ export function verifyAnswer(data, claims) {
41
106
  const versions = (data.versions ?? []).map((v) => [v.uri, verify({ uri: v.uri, cid: v.cid, value: v.record }, claims)]);
42
107
  return { record: verify({ uri: data.uri, cid: data.cid, value: data.record }, claims), versions: Object.fromEntries(versions) };
43
108
  }
44
- /** The name a version is shown by. */
109
+ /** The handle prefixes of the commons' own service accounts: `mirror-` for a mirrored calendar, `rule-` for a
110
+ * rules-runner account. The AppView reserves both for those accounts (`RESERVED_PREFIXES`,
111
+ * `crates/regenos-appview/src/identity/handles.rs`); keep the two lists the same. */
112
+ const MIRROR_PREFIX = /^mirror-/i;
113
+ const SERVICE_PREFIX = /^(mirror|rule)-/i;
114
+ /** A handle no person chose: a commons service account's. */
115
+ export function isServiceHandle(handle) {
116
+ return SERVICE_PREFIX.test(handle?.trim() ?? '');
117
+ }
118
+ /** What a version names when nothing better is known about a mirrored calendar. */
119
+ export const IMPORTED_CALENDAR = 'Imported calendar';
120
+ /** The site a record links to first ("bouldercounty.gov"): the host of its first public web `uris` entry
121
+ * (`publicWebUrl`), without `www.`. A mirror's copy links the page it was read from: the calendar's site. */
122
+ export function siteOf(record) {
123
+ const uris = record?.uris;
124
+ if (!Array.isArray(uris))
125
+ return undefined;
126
+ for (const u of uris) {
127
+ const uri = u && typeof u === 'object' && 'uri' in u ? u.uri : undefined;
128
+ if (publicWebUrl(uri))
129
+ return new URL(uri).hostname.replace(/^www\./i, '');
130
+ }
131
+ return undefined;
132
+ }
133
+ /** Whether a version is a mirrored calendar's copy: tagged a mirror, or written by a `mirror-` account (the
134
+ * commons' mirrors are not always endorsed writers, so `mirror` alone misses them; green, 2026-11-05). */
135
+ export function isImported(v) {
136
+ return v.mirror || MIRROR_PREFIX.test(v.handle?.trim() ?? '');
137
+ }
138
+ /** The version being shown, with its record: the composition's byline, or the version picked (the Rust
139
+ * marks it `showing`). `EventState.byline` is a `VersionRef`, which has no record to name a mirror by. */
140
+ export function shownVersion(state) {
141
+ return state.versions.find((v) => v.showing);
142
+ }
143
+ /** The name a version is shown by, never a handle a person did not choose: its name (a mirror's source
144
+ * credit, a collective's or a profile's name); a mirrored calendar with none is named by its own site
145
+ * ("bouldercounty.gov", from the version's record), else "Imported calendar"; then a person's handle
146
+ * (never `handle.invalid`); else "Someone". */
45
147
  export function versionName(v) {
46
- return v.name?.trim() || v.handle?.trim() || 'Someone';
47
- }
48
- /** The version pill: the byline, and how many sources there are when more than one ("from the
49
- * Backstreet Museum calendar · 2 sources"). A source is a version the versions sheet lists under
50
- * Sources (rank 1), so the pill and the sheet count the same versions; verified accounts and others are
51
- * not sources. With one source or none it is the byline alone. */
52
- export function versionPill(state) {
53
- if (!state.byline)
148
+ const name = v.name?.trim();
149
+ if (name)
150
+ return name;
151
+ const handle = shownHandle(v.handle);
152
+ if (isImported({ handle, mirror: v.mirror ?? false }))
153
+ return siteOf(v.record) ?? IMPORTED_CALENDAR;
154
+ if (handle && !isServiceHandle(handle))
155
+ return handle;
156
+ return 'Someone';
157
+ }
158
+ /** Whether any version sets a field to something other than what is shown: the versions conflict. Versions
159
+ * that agree, or only complement each other (each sets fields the others leave out; the composition
160
+ * shows them all), do not. Read on the default composition (`picked` null), where `differs` is measured
161
+ * against what the composition shows. */
162
+ export function versionsConflict(state) {
163
+ return state.versions.some((v) => v.differs.length > 0);
164
+ }
165
+ const HINT = 'Shows the versions';
166
+ /** The version pill. Before a person picks a version, the count alone, and only when the versions
167
+ * conflict ("2 versions"; no pill for one version, nor for versions that agree, see
168
+ * {@link VersionPillOptions}); no source is named until one is picked. Once a version is picked, who it
169
+ * is from ("from Boulder Almanac"), named by {@link versionName}. */
170
+ export function versionPill(state, options = {}) {
171
+ const count = state.versions.length;
172
+ if (state.picked) {
173
+ const shown = shownVersion(state) ?? state.byline;
174
+ if (!shown)
175
+ return null;
176
+ const name = versionName(shown);
177
+ const from = `from ${name === IMPORTED_CALENDAR ? 'an imported calendar' : name}`;
178
+ return { label: from, count, accessibilityLabel: `Showing the version ${from}`, accessibilityHint: HINT };
179
+ }
180
+ if (count < 2)
181
+ return null;
182
+ if ((options.hideAgreeing ?? true) && !versionsConflict(state))
54
183
  return null;
55
- const count = state.versions.filter((v) => v.group === 'sources').length;
56
- const from = `from ${versionName(state.byline)}`;
57
- const label = count > 1 ? `${from} · ${count} sources` : from;
58
- const accessibilityLabel = count > 1 ? `${from}, ${count} sources. Shows the versions.` : `${from}. Shows where this is from.`;
59
- return { label, count, accessibilityLabel };
184
+ return { label: `${count} versions`, count, accessibilityLabel: `${count} versions`, accessibilityHint: HINT };
60
185
  }
61
186
  /** The field-conflict badge on one field: the count of distinct values among the ranked versions, only
62
187
  * when 2 or more. */
@@ -67,6 +192,15 @@ export function fieldConflict(state, field) {
67
192
  return null;
68
193
  return { count, accessibilityLabel: `${count} sources differ. Shows the versions.` };
69
194
  }
195
+ /** Each field whose ranked versions disagree, and how many values they give (`conflicts` of 2 or more in
196
+ * `state.fields`, as the Rust counts them). */
197
+ export function conflictsOf(state) {
198
+ const out = {};
199
+ for (const [field, f] of Object.entries(state?.fields ?? {}))
200
+ if (f.conflicts !== undefined && f.conflicts >= 2)
201
+ out[field] = f.conflicts;
202
+ return out;
203
+ }
70
204
  /** The versions sheet: groups Sources / Verified / Others, in that order, each row a version; versions
71
205
  * that set nothing other than what is shown collapse into the showing (or first) row of their group. */
72
206
  export function versionGroups(state) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * techne-sdk/react — `useEvent(uri)` (§24 VT7): one commons event or place as its versions,
2
+ * `useEvent(uri)` (§24 VT7, answered by `techne-sdk/react`): one commons event or place as its versions,
3
3
  * with the default composition shown and a person's pick of another version.
4
4
  *
5
5
  * `useEvent(uri, { load })` reads `pub.techne.draft.commons.getVersions` through the caller's own
@@ -1,5 +1,5 @@
1
1
  /**
2
- * techne-sdk/react — `useEvent(uri)` (§24 VT7): one commons event or place as its versions,
2
+ * `useEvent(uri)` (§24 VT7, answered by `techne-sdk/react`): one commons event or place as its versions,
3
3
  * with the default composition shown and a person's pick of another version.
4
4
  *
5
5
  * `useEvent(uri, { load })` reads `pub.techne.draft.commons.getVersions` through the caller's own
@@ -0,0 +1,19 @@
1
+ /**
2
+ * A version's text as plain text: the commons' publish-time decode, ported from commons
3
+ * `sources/scraper_kit/commons.py` (`decode_entities`, `clean_text`, `decode_text_fields`, main f8334c9).
4
+ *
5
+ * Sources hand the commons HTML-escaped strings in plain-text fields (`Parks &amp; Open Space`). The
6
+ * commons decodes them when it publishes, but a record published before it did keeps the entity, and a
7
+ * record whose CID is pinned is never rewritten. Comparing and showing every version through the same
8
+ * decode makes an encoding difference what it is: no difference.
9
+ */
10
+ /** The scrapers' text clean-up: invisibles removed, every control character a space, NFC, runs of
11
+ * whitespace one space, trimmed (commons `clean_text`). */
12
+ export declare function cleanText(text: string): string;
13
+ /** `text` with its `;`-terminated HTML character references decoded, up to 3 passes (`&amp;amp;` is
14
+ * `&`), then cleaned, since a reference can decode to what the clean-up removes (`Room&#10;B`). Text with
15
+ * no reference comes back as it was (commons `decode_entities`). */
16
+ export declare function decodeEntities(text: string): string;
17
+ /** `value` (a record, a `locations` list, an entry) with every text field's string decoded
18
+ * ({@link decodeEntities}), recursively (commons `decode_text_fields`). */
19
+ export declare function decodeTextFields<T>(value: T): T;