mathjax-tex-font 1.0.0-beta.1 → 4.0.0-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/{es5/chtml → chtml}/woff/mjx-tex-b.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-bi.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-brk.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-c.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-cb.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-f.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-fb.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-i.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-lo.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-m.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-mi.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-n.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-ob.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-os.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-s3.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-s4.woff +0 -0
- package/chtml/woff/mjx-tex-so.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-ss.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-ssb.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-ssi.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-v.woff +0 -0
- package/{es5/chtml → chtml}/woff/mjx-tex-zero.woff +0 -0
- package/chtml.js +1 -0
- package/cjs/chtml/bold-italic.d.ts +2 -0
- package/{js → cjs}/chtml/bold-italic.js +2 -2
- package/cjs/chtml/bold-italic.js.map +1 -0
- package/cjs/chtml/bold.d.ts +2 -0
- package/{js → cjs}/chtml/bold.js +1 -1
- package/cjs/chtml/bold.js.map +1 -0
- package/cjs/chtml/delimiters.d.ts +2 -0
- package/{js/svg → cjs/chtml}/delimiters.js +280 -218
- package/cjs/chtml/delimiters.js.map +1 -0
- package/cjs/chtml/fraktur-bold.d.ts +2 -0
- package/cjs/chtml/fraktur.d.ts +2 -0
- package/{js → cjs}/chtml/fraktur.js +6 -6
- package/cjs/chtml/fraktur.js.map +1 -0
- package/cjs/chtml/italic.d.ts +2 -0
- package/{js → cjs}/chtml/italic.js +1 -1
- package/{js → cjs}/chtml/italic.js.map +1 -1
- package/cjs/chtml/largeop.d.ts +2 -0
- package/cjs/chtml/monospace.d.ts +2 -0
- package/cjs/chtml/normal.d.ts +2 -0
- package/cjs/chtml/normal.js +1332 -0
- package/cjs/chtml/normal.js.map +1 -0
- package/cjs/chtml/sans-serif-bold.d.ts +2 -0
- package/{js → cjs}/chtml/sans-serif-bold.js +1 -1
- package/cjs/chtml/sans-serif-bold.js.map +1 -0
- package/cjs/chtml/sans-serif-italic.d.ts +2 -0
- package/{js → cjs}/chtml/sans-serif-italic.js +2 -2
- package/cjs/chtml/sans-serif-italic.js.map +1 -0
- package/cjs/chtml/sans-serif.d.ts +2 -0
- package/{js → cjs}/chtml/sans-serif.js +1 -1
- package/cjs/chtml/sans-serif.js.map +1 -0
- package/cjs/chtml/size3.d.ts +2 -0
- package/cjs/chtml/size4.d.ts +2 -0
- package/{js → cjs}/chtml/size4.js +1 -1
- package/{js → cjs}/chtml/size4.js.map +1 -1
- package/cjs/chtml/smallop.d.ts +2 -0
- package/{js → cjs}/chtml/smallop.js +23 -1
- package/cjs/chtml/smallop.js.map +1 -0
- package/cjs/chtml/tex-calligraphic-bold.d.ts +2 -0
- package/cjs/chtml/tex-calligraphic-bold.js +34 -0
- package/cjs/chtml/tex-calligraphic-bold.js.map +1 -0
- package/cjs/chtml/tex-calligraphic.d.ts +2 -0
- package/cjs/chtml/tex-calligraphic.js +32 -0
- package/cjs/chtml/tex-calligraphic.js.map +1 -0
- package/cjs/chtml/tex-mathit.d.ts +2 -0
- package/cjs/chtml/tex-mathit.js +58 -0
- package/cjs/chtml/tex-mathit.js.map +1 -0
- package/cjs/chtml/tex-oldstyle-bold.d.ts +2 -0
- package/cjs/chtml/tex-oldstyle.d.ts +2 -0
- package/{js → cjs}/chtml/tex-oldstyle.js +14 -14
- package/cjs/chtml/tex-oldstyle.js.map +1 -0
- package/cjs/chtml/tex-variant.d.ts +2 -0
- package/{js → cjs}/chtml/tex-variant.js +1 -1
- package/cjs/chtml/tex-variant.js.map +1 -0
- package/{js → cjs}/chtml.d.ts +4 -7
- package/{js → cjs}/chtml.js +6 -7
- package/cjs/chtml.js.map +1 -0
- package/{js → cjs}/common.d.ts +1 -1
- package/{js → cjs}/common.js +12 -7
- package/cjs/common.js.map +1 -0
- package/cjs/svg/bold-italic.d.ts +2 -0
- package/{js → cjs}/svg/bold-italic.js +2 -2
- package/cjs/svg/bold-italic.js.map +1 -0
- package/cjs/svg/bold.d.ts +2 -0
- package/{js → cjs}/svg/bold.js +1 -1
- package/cjs/svg/bold.js.map +1 -0
- package/cjs/svg/delimiters.d.ts +2 -0
- package/{js/chtml → cjs/svg}/delimiters.js +280 -218
- package/cjs/svg/delimiters.js.map +1 -0
- package/cjs/svg/fraktur-bold.d.ts +2 -0
- package/cjs/svg/fraktur.d.ts +2 -0
- package/{js → cjs}/svg/fraktur.js +6 -6
- package/cjs/svg/fraktur.js.map +1 -0
- package/cjs/svg/italic.d.ts +2 -0
- package/{js → cjs}/svg/italic.js +1 -1
- package/{js → cjs}/svg/italic.js.map +1 -1
- package/cjs/svg/largeop.d.ts +2 -0
- package/cjs/svg/monospace.d.ts +2 -0
- package/cjs/svg/normal.d.ts +2 -0
- package/{js → cjs}/svg/normal.js +578 -550
- package/cjs/svg/normal.js.map +1 -0
- package/cjs/svg/sans-serif-bold.d.ts +2 -0
- package/{js → cjs}/svg/sans-serif-bold.js +1 -1
- package/{js → cjs}/svg/sans-serif-bold.js.map +1 -1
- package/cjs/svg/sans-serif-italic.d.ts +2 -0
- package/{js → cjs}/svg/sans-serif-italic.js +2 -2
- package/cjs/svg/sans-serif-italic.js.map +1 -0
- package/cjs/svg/sans-serif.d.ts +2 -0
- package/{js → cjs}/svg/sans-serif.js +1 -1
- package/cjs/svg/sans-serif.js.map +1 -0
- package/cjs/svg/size3.d.ts +2 -0
- package/cjs/svg/size4.d.ts +2 -0
- package/{js → cjs}/svg/size4.js +1 -1
- package/{js → cjs}/svg/size4.js.map +1 -1
- package/cjs/svg/smallop.d.ts +2 -0
- package/{js → cjs}/svg/smallop.js +23 -1
- package/cjs/svg/smallop.js.map +1 -0
- package/cjs/svg/tex-calligraphic-bold.d.ts +2 -0
- package/{js → cjs}/svg/tex-calligraphic-bold.js +28 -28
- package/cjs/svg/tex-calligraphic-bold.js.map +1 -0
- package/cjs/svg/tex-calligraphic.d.ts +2 -0
- package/{js → cjs}/svg/tex-calligraphic.js +26 -26
- package/cjs/svg/tex-calligraphic.js.map +1 -0
- package/cjs/svg/tex-mathit.d.ts +2 -0
- package/{js → cjs}/svg/tex-mathit.js +50 -50
- package/cjs/svg/tex-mathit.js.map +1 -0
- package/cjs/svg/tex-oldstyle-bold.d.ts +2 -0
- package/cjs/svg/tex-oldstyle.d.ts +2 -0
- package/{js → cjs}/svg/tex-oldstyle.js +14 -14
- package/cjs/svg/tex-oldstyle.js.map +1 -0
- package/cjs/svg/tex-variant.d.ts +2 -0
- package/{js → cjs}/svg/tex-variant.js +1 -1
- package/cjs/svg/tex-variant.js.map +1 -0
- package/{js → cjs}/svg.d.ts +3 -3
- package/{js → cjs}/svg.js +3 -4
- package/cjs/svg.js.map +1 -0
- package/def/mathjax-tex.d.ts +1 -0
- package/def/mathjax-tex.ts +1564 -0
- package/examples/chtml.html +116 -0
- package/examples/svg.html +117 -0
- package/mjs/chtml/bold-italic.d.ts +2 -0
- package/mjs/chtml/bold-italic.js +9 -0
- package/mjs/chtml/bold-italic.js.map +1 -0
- package/mjs/chtml/bold.d.ts +2 -0
- package/mjs/chtml/bold.js +249 -0
- package/mjs/chtml/bold.js.map +1 -0
- package/mjs/chtml/default.d.ts +4 -0
- package/mjs/chtml/default.js +6 -0
- package/mjs/chtml/default.js.map +1 -0
- package/mjs/chtml/delimiters.d.ts +2 -0
- package/mjs/chtml/delimiters.js +866 -0
- package/mjs/chtml/delimiters.js.map +1 -0
- package/mjs/chtml/fraktur-bold.d.ts +2 -0
- package/mjs/chtml/fraktur-bold.js +42 -0
- package/mjs/chtml/fraktur-bold.js.map +1 -0
- package/mjs/chtml/fraktur.d.ts +2 -0
- package/mjs/chtml/fraktur.js +43 -0
- package/mjs/chtml/fraktur.js.map +1 -0
- package/mjs/chtml/italic.d.ts +2 -0
- package/mjs/chtml/italic.js +63 -0
- package/mjs/chtml/italic.js.map +1 -0
- package/mjs/chtml/largeop.d.ts +2 -0
- package/mjs/chtml/largeop.js +53 -0
- package/mjs/chtml/largeop.js.map +1 -0
- package/mjs/chtml/monospace.d.ts +2 -0
- package/mjs/chtml/monospace.js +81 -0
- package/mjs/chtml/monospace.js.map +1 -0
- package/mjs/chtml/normal.d.ts +2 -0
- package/mjs/chtml/normal.js +1329 -0
- package/mjs/chtml/normal.js.map +1 -0
- package/mjs/chtml/sans-serif-bold.d.ts +2 -0
- package/mjs/chtml/sans-serif-bold.js +51 -0
- package/mjs/chtml/sans-serif-bold.js.map +1 -0
- package/mjs/chtml/sans-serif-italic.d.ts +2 -0
- package/mjs/chtml/sans-serif-italic.js +85 -0
- package/mjs/chtml/sans-serif-italic.js.map +1 -0
- package/mjs/chtml/sans-serif.d.ts +2 -0
- package/mjs/chtml/sans-serif.js +75 -0
- package/mjs/chtml/sans-serif.js.map +1 -0
- package/mjs/chtml/size3.d.ts +2 -0
- package/mjs/chtml/size3.js +27 -0
- package/mjs/chtml/size3.js.map +1 -0
- package/mjs/chtml/size4.d.ts +2 -0
- package/mjs/chtml/size4.js +56 -0
- package/mjs/chtml/size4.js.map +1 -0
- package/mjs/chtml/smallop.d.ts +2 -0
- package/mjs/chtml/smallop.js +75 -0
- package/mjs/chtml/smallop.js.map +1 -0
- package/mjs/chtml/tex-calligraphic-bold.d.ts +2 -0
- package/mjs/chtml/tex-calligraphic-bold.js +31 -0
- package/mjs/chtml/tex-calligraphic-bold.js.map +1 -0
- package/mjs/chtml/tex-calligraphic.d.ts +2 -0
- package/mjs/chtml/tex-calligraphic.js +29 -0
- package/mjs/chtml/tex-calligraphic.js.map +1 -0
- package/mjs/chtml/tex-mathit.d.ts +2 -0
- package/mjs/chtml/tex-mathit.js +55 -0
- package/mjs/chtml/tex-mathit.js.map +1 -0
- package/mjs/chtml/tex-oldstyle-bold.d.ts +2 -0
- package/{js/chtml/tex-calligraphic-bold.js → mjs/chtml/tex-oldstyle-bold.js} +13 -8
- package/mjs/chtml/tex-oldstyle-bold.js.map +1 -0
- package/mjs/chtml/tex-oldstyle.d.ts +2 -0
- package/mjs/chtml/tex-oldstyle.js +39 -0
- package/mjs/chtml/tex-oldstyle.js.map +1 -0
- package/mjs/chtml/tex-variant.d.ts +2 -0
- package/mjs/chtml/tex-variant.js +41 -0
- package/mjs/chtml/tex-variant.js.map +1 -0
- package/mjs/chtml.d.ts +164 -0
- package/mjs/chtml.js +186 -0
- package/mjs/chtml.js.map +1 -0
- package/mjs/common.d.ts +2 -0
- package/mjs/common.js +36 -0
- package/mjs/common.js.map +1 -0
- package/mjs/package.json +3 -0
- package/mjs/svg/bold-italic.d.ts +2 -0
- package/mjs/svg/bold-italic.js +9 -0
- package/mjs/svg/bold-italic.js.map +1 -0
- package/mjs/svg/bold.d.ts +2 -0
- package/mjs/svg/bold.js +249 -0
- package/mjs/svg/bold.js.map +1 -0
- package/mjs/svg/default.d.ts +4 -0
- package/mjs/svg/default.js +6 -0
- package/mjs/svg/default.js.map +1 -0
- package/mjs/svg/delimiters.d.ts +2 -0
- package/mjs/svg/delimiters.js +866 -0
- package/mjs/svg/delimiters.js.map +1 -0
- package/mjs/svg/fraktur-bold.d.ts +2 -0
- package/mjs/svg/fraktur-bold.js +42 -0
- package/mjs/svg/fraktur-bold.js.map +1 -0
- package/mjs/svg/fraktur.d.ts +2 -0
- package/mjs/svg/fraktur.js +43 -0
- package/mjs/svg/fraktur.js.map +1 -0
- package/mjs/svg/italic.d.ts +2 -0
- package/mjs/svg/italic.js +63 -0
- package/mjs/svg/italic.js.map +1 -0
- package/mjs/svg/largeop.d.ts +2 -0
- package/mjs/svg/largeop.js +53 -0
- package/mjs/svg/largeop.js.map +1 -0
- package/mjs/svg/monospace.d.ts +2 -0
- package/mjs/svg/monospace.js +81 -0
- package/mjs/svg/monospace.js.map +1 -0
- package/mjs/svg/normal.d.ts +2 -0
- package/mjs/svg/normal.js +1329 -0
- package/mjs/svg/normal.js.map +1 -0
- package/mjs/svg/sans-serif-bold.d.ts +2 -0
- package/mjs/svg/sans-serif-bold.js +51 -0
- package/mjs/svg/sans-serif-bold.js.map +1 -0
- package/mjs/svg/sans-serif-italic.d.ts +2 -0
- package/mjs/svg/sans-serif-italic.js +85 -0
- package/mjs/svg/sans-serif-italic.js.map +1 -0
- package/mjs/svg/sans-serif.d.ts +2 -0
- package/mjs/svg/sans-serif.js +75 -0
- package/mjs/svg/sans-serif.js.map +1 -0
- package/mjs/svg/size3.d.ts +2 -0
- package/mjs/svg/size3.js +27 -0
- package/mjs/svg/size3.js.map +1 -0
- package/mjs/svg/size4.d.ts +2 -0
- package/mjs/svg/size4.js +56 -0
- package/mjs/svg/size4.js.map +1 -0
- package/mjs/svg/smallop.d.ts +2 -0
- package/mjs/svg/smallop.js +75 -0
- package/mjs/svg/smallop.js.map +1 -0
- package/mjs/svg/tex-calligraphic-bold.d.ts +2 -0
- package/mjs/svg/tex-calligraphic-bold.js +31 -0
- package/mjs/svg/tex-calligraphic-bold.js.map +1 -0
- package/mjs/svg/tex-calligraphic.d.ts +2 -0
- package/mjs/svg/tex-calligraphic.js +29 -0
- package/mjs/svg/tex-calligraphic.js.map +1 -0
- package/mjs/svg/tex-mathit.d.ts +2 -0
- package/mjs/svg/tex-mathit.js +55 -0
- package/mjs/svg/tex-mathit.js.map +1 -0
- package/mjs/svg/tex-oldstyle-bold.d.ts +2 -0
- package/mjs/svg/tex-oldstyle-bold.js +39 -0
- package/mjs/svg/tex-oldstyle-bold.js.map +1 -0
- package/mjs/svg/tex-oldstyle.d.ts +2 -0
- package/mjs/svg/tex-oldstyle.js +39 -0
- package/mjs/svg/tex-oldstyle.js.map +1 -0
- package/mjs/svg/tex-variant.d.ts +2 -0
- package/mjs/svg/tex-variant.js +41 -0
- package/mjs/svg/tex-variant.js.map +1 -0
- package/mjs/svg.d.ts +13 -0
- package/mjs/svg.js +80 -0
- package/mjs/svg.js.map +1 -0
- package/package.json +55 -19
- package/svg.js +1 -0
- package/tex-mml-chtml-mathjax-tex.js +1 -0
- package/tex-mml-svg-mathjax-tex.js +1 -0
- package/tsconfig/cjs.json +8 -0
- package/tsconfig/common.json +13 -0
- package/tsconfig/def.json +10 -0
- package/tsconfig/mjs.json +9 -0
- package/tsconfig.json +3 -0
- package/build/chtml/build.json +0 -8
- package/build/chtml/chtml.js +0 -22
- package/build/chtml/copy.json +0 -5
- package/build/chtml/lib/chtml.js +0 -18
- package/build/chtml/webpack.config.js +0 -11
- package/build/svg/build.json +0 -8
- package/build/svg/lib/svg.js +0 -18
- package/build/svg/svg.js +0 -18
- package/build/svg/webpack.config.js +0 -11
- package/build/tex-mml-chtml-mathjax-tex/tex-mml-chtml-mathjax-tex.js +0 -1
- package/build/tex-mml-chtml-mathjax-tex/webpack.config.js +0 -18
- package/build/tex-mml-svg-mathjax-tex/tex-mml-svg-mathjax-tex.js +0 -1
- package/build/tex-mml-svg-mathjax-tex/webpack.config.js +0 -18
- package/es5/chtml/woff/mjx-tex-so.woff +0 -0
- package/es5/chtml.js +0 -1
- package/es5/svg.js +0 -1
- package/es5/tex-mml-chtml-mathjax-tex.js +0 -1
- package/es5/tex-mml-svg-mathjax-tex.js +0 -1
- package/js/chtml/bold-italic.d.ts +0 -2
- package/js/chtml/bold-italic.js.map +0 -1
- package/js/chtml/bold.d.ts +0 -2
- package/js/chtml/bold.js.map +0 -1
- package/js/chtml/delimiters.d.ts +0 -2
- package/js/chtml/delimiters.js.map +0 -1
- package/js/chtml/fraktur-bold.d.ts +0 -2
- package/js/chtml/fraktur.d.ts +0 -2
- package/js/chtml/fraktur.js.map +0 -1
- package/js/chtml/italic.d.ts +0 -2
- package/js/chtml/largeop.d.ts +0 -2
- package/js/chtml/monospace.d.ts +0 -2
- package/js/chtml/normal.d.ts +0 -2
- package/js/chtml/normal.js +0 -1304
- package/js/chtml/normal.js.map +0 -1
- package/js/chtml/sans-serif-bold.d.ts +0 -2
- package/js/chtml/sans-serif-bold.js.map +0 -1
- package/js/chtml/sans-serif-italic.d.ts +0 -2
- package/js/chtml/sans-serif-italic.js.map +0 -1
- package/js/chtml/sans-serif.d.ts +0 -2
- package/js/chtml/sans-serif.js.map +0 -1
- package/js/chtml/size3.d.ts +0 -2
- package/js/chtml/size4.d.ts +0 -2
- package/js/chtml/smallop.d.ts +0 -2
- package/js/chtml/smallop.js.map +0 -1
- package/js/chtml/tex-calligraphic-bold.d.ts +0 -2
- package/js/chtml/tex-calligraphic-bold.js.map +0 -1
- package/js/chtml/tex-calligraphic.d.ts +0 -2
- package/js/chtml/tex-calligraphic.js +0 -32
- package/js/chtml/tex-calligraphic.js.map +0 -1
- package/js/chtml/tex-mathit.d.ts +0 -2
- package/js/chtml/tex-mathit.js +0 -58
- package/js/chtml/tex-mathit.js.map +0 -1
- package/js/chtml/tex-oldstyle-bold.d.ts +0 -2
- package/js/chtml/tex-oldstyle.d.ts +0 -2
- package/js/chtml/tex-oldstyle.js.map +0 -1
- package/js/chtml/tex-variant.d.ts +0 -2
- package/js/chtml/tex-variant.js.map +0 -1
- package/js/chtml.js.map +0 -1
- package/js/common.js.map +0 -1
- package/js/svg/bold-italic.d.ts +0 -2
- package/js/svg/bold-italic.js.map +0 -1
- package/js/svg/bold.d.ts +0 -2
- package/js/svg/bold.js.map +0 -1
- package/js/svg/delimiters.d.ts +0 -2
- package/js/svg/delimiters.js.map +0 -1
- package/js/svg/fraktur-bold.d.ts +0 -2
- package/js/svg/fraktur.d.ts +0 -2
- package/js/svg/fraktur.js.map +0 -1
- package/js/svg/italic.d.ts +0 -2
- package/js/svg/largeop.d.ts +0 -2
- package/js/svg/monospace.d.ts +0 -2
- package/js/svg/normal.d.ts +0 -2
- package/js/svg/normal.js.map +0 -1
- package/js/svg/sans-serif-bold.d.ts +0 -2
- package/js/svg/sans-serif-italic.d.ts +0 -2
- package/js/svg/sans-serif-italic.js.map +0 -1
- package/js/svg/sans-serif.d.ts +0 -2
- package/js/svg/sans-serif.js.map +0 -1
- package/js/svg/size3.d.ts +0 -2
- package/js/svg/size4.d.ts +0 -2
- package/js/svg/smallop.d.ts +0 -2
- package/js/svg/smallop.js.map +0 -1
- package/js/svg/tex-calligraphic-bold.d.ts +0 -2
- package/js/svg/tex-calligraphic-bold.js.map +0 -1
- package/js/svg/tex-calligraphic.d.ts +0 -2
- package/js/svg/tex-calligraphic.js.map +0 -1
- package/js/svg/tex-mathit.d.ts +0 -2
- package/js/svg/tex-mathit.js.map +0 -1
- package/js/svg/tex-oldstyle-bold.d.ts +0 -2
- package/js/svg/tex-oldstyle.d.ts +0 -2
- package/js/svg/tex-oldstyle.js.map +0 -1
- package/js/svg/tex-variant.d.ts +0 -2
- package/js/svg/tex-variant.js.map +0 -1
- package/js/svg.js.map +0 -1
- /package/{js → cjs}/chtml/default.d.ts +0 -0
- /package/{js → cjs}/chtml/default.js +0 -0
- /package/{js → cjs}/chtml/default.js.map +0 -0
- /package/{js → cjs}/chtml/fraktur-bold.js +0 -0
- /package/{js → cjs}/chtml/fraktur-bold.js.map +0 -0
- /package/{js → cjs}/chtml/largeop.js +0 -0
- /package/{js → cjs}/chtml/largeop.js.map +0 -0
- /package/{js → cjs}/chtml/monospace.js +0 -0
- /package/{js → cjs}/chtml/monospace.js.map +0 -0
- /package/{js → cjs}/chtml/size3.js +0 -0
- /package/{js → cjs}/chtml/size3.js.map +0 -0
- /package/{js → cjs}/chtml/tex-oldstyle-bold.js +0 -0
- /package/{js → cjs}/chtml/tex-oldstyle-bold.js.map +0 -0
- /package/{js → cjs}/svg/default.d.ts +0 -0
- /package/{js → cjs}/svg/default.js +0 -0
- /package/{js → cjs}/svg/default.js.map +0 -0
- /package/{js → cjs}/svg/fraktur-bold.js +0 -0
- /package/{js → cjs}/svg/fraktur-bold.js.map +0 -0
- /package/{js → cjs}/svg/largeop.js +0 -0
- /package/{js → cjs}/svg/largeop.js.map +0 -0
- /package/{js → cjs}/svg/monospace.js +0 -0
- /package/{js → cjs}/svg/monospace.js.map +0 -0
- /package/{js → cjs}/svg/size3.js +0 -0
- /package/{js → cjs}/svg/size3.js.map +0 -0
- /package/{js → cjs}/svg/tex-oldstyle-bold.js +0 -0
- /package/{js → cjs}/svg/tex-oldstyle-bold.js.map +0 -0
package/mjs/chtml.js
ADDED
@@ -0,0 +1,186 @@
|
|
1
|
+
import { ChtmlFontData } from 'mathjax-full/mjs/output/chtml/FontData.js';
|
2
|
+
import { CommonMathJaxTexFontMixin } from './common.js';
|
3
|
+
import { normal } from './chtml/normal.js';
|
4
|
+
import { bold } from './chtml/bold.js';
|
5
|
+
import { italic } from './chtml/italic.js';
|
6
|
+
import { boldItalic } from './chtml/bold-italic.js';
|
7
|
+
import { fraktur } from './chtml/fraktur.js';
|
8
|
+
import { frakturBold } from './chtml/fraktur-bold.js';
|
9
|
+
import { sansSerif } from './chtml/sans-serif.js';
|
10
|
+
import { sansSerifBold } from './chtml/sans-serif-bold.js';
|
11
|
+
import { sansSerifItalic } from './chtml/sans-serif-italic.js';
|
12
|
+
import { monospace } from './chtml/monospace.js';
|
13
|
+
import { smallop } from './chtml/smallop.js';
|
14
|
+
import { largeop } from './chtml/largeop.js';
|
15
|
+
import { texCalligraphic } from './chtml/tex-calligraphic.js';
|
16
|
+
import { texCalligraphicBold } from './chtml/tex-calligraphic-bold.js';
|
17
|
+
import { texOldstyle } from './chtml/tex-oldstyle.js';
|
18
|
+
import { texOldstyleBold } from './chtml/tex-oldstyle-bold.js';
|
19
|
+
import { texMathit } from './chtml/tex-mathit.js';
|
20
|
+
import { texVariant } from './chtml/tex-variant.js';
|
21
|
+
import { size3 } from './chtml/size3.js';
|
22
|
+
import { size4 } from './chtml/size4.js';
|
23
|
+
import { delimiters } from './chtml/delimiters.js';
|
24
|
+
const Base = CommonMathJaxTexFontMixin(ChtmlFontData);
|
25
|
+
export class MathJaxTexFont extends Base {
|
26
|
+
constructor() {
|
27
|
+
super(...arguments);
|
28
|
+
this.cssFontPrefix = 'TEX';
|
29
|
+
}
|
30
|
+
}
|
31
|
+
MathJaxTexFont.NAME = 'MathJaxTex';
|
32
|
+
MathJaxTexFont.defaultCssFamilyPrefix = 'MJX-TEX-ZERO';
|
33
|
+
MathJaxTexFont.defaultVariantLetters = {
|
34
|
+
'normal': '',
|
35
|
+
'bold': 'B',
|
36
|
+
'italic': 'I',
|
37
|
+
'bold-italic': 'BI',
|
38
|
+
'fraktur': 'F',
|
39
|
+
'bold-fraktur': 'FB',
|
40
|
+
'sans-serif': 'SS',
|
41
|
+
'bold-sans-serif': 'SSB',
|
42
|
+
'sans-serif-italic': 'SSI',
|
43
|
+
'monospace': 'M',
|
44
|
+
'-smallop': 'SO',
|
45
|
+
'-largeop': 'LO',
|
46
|
+
'-tex-calligraphic': 'C',
|
47
|
+
'-tex-bold-calligraphic': 'CB',
|
48
|
+
'-tex-oldstyle': 'OS',
|
49
|
+
'-tex-bold-oldstyle': 'OB',
|
50
|
+
'-tex-mathit': 'MI',
|
51
|
+
'-tex-variant': 'V',
|
52
|
+
'-size3': 'S3',
|
53
|
+
'-size4': 'S4'
|
54
|
+
};
|
55
|
+
MathJaxTexFont.defaultDelimiters = delimiters;
|
56
|
+
MathJaxTexFont.defaultChars = {
|
57
|
+
'normal': normal,
|
58
|
+
'bold': bold,
|
59
|
+
'italic': italic,
|
60
|
+
'bold-italic': boldItalic,
|
61
|
+
'fraktur': fraktur,
|
62
|
+
'bold-fraktur': frakturBold,
|
63
|
+
'sans-serif': sansSerif,
|
64
|
+
'bold-sans-serif': sansSerifBold,
|
65
|
+
'sans-serif-italic': sansSerifItalic,
|
66
|
+
'monospace': monospace,
|
67
|
+
'-smallop': smallop,
|
68
|
+
'-largeop': largeop,
|
69
|
+
'-tex-calligraphic': texCalligraphic,
|
70
|
+
'-tex-bold-calligraphic': texCalligraphicBold,
|
71
|
+
'-tex-oldstyle': texOldstyle,
|
72
|
+
'-tex-bold-oldstyle': texOldstyleBold,
|
73
|
+
'-tex-mathit': texMathit,
|
74
|
+
'-tex-variant': texVariant,
|
75
|
+
'-size3': size3,
|
76
|
+
'-size4': size4
|
77
|
+
};
|
78
|
+
MathJaxTexFont.defaultStyles = Object.assign(Object.assign({}, ChtmlFontData.defaultStyles), { '.TEX-N': {
|
79
|
+
'font-family': 'MJX-TEX-ZERO, MJX-TEX-N'
|
80
|
+
}, '.TEX-B': {
|
81
|
+
'font-family': 'MJX-TEX-ZERO, MJX-TEX-B'
|
82
|
+
}, '.TEX-I': {
|
83
|
+
'font-family': 'MJX-TEX-ZERO, MJX-TEX-I'
|
84
|
+
}, '.TEX-BI': {
|
85
|
+
'font-family': 'MJX-TEX-ZERO, MJX-TEX-BI'
|
86
|
+
}, '.TEX-F': {
|
87
|
+
'font-family': 'MJX-TEX-ZERO, MJX-TEX-F'
|
88
|
+
}, '.TEX-FB': {
|
89
|
+
'font-family': 'MJX-TEX-ZERO, MJX-TEX-FB'
|
90
|
+
}, '.TEX-SS': {
|
91
|
+
'font-family': 'MJX-TEX-ZERO, MJX-TEX-SS'
|
92
|
+
}, '.TEX-SSB': {
|
93
|
+
'font-family': 'MJX-TEX-ZERO, MJX-TEX-SSB'
|
94
|
+
}, '.TEX-SSI': {
|
95
|
+
'font-family': 'MJX-TEX-ZERO, MJX-TEX-SSI'
|
96
|
+
}, '.TEX-M': {
|
97
|
+
'font-family': 'MJX-TEX-ZERO, MJX-TEX-M'
|
98
|
+
}, '.TEX-SO': {
|
99
|
+
'font-family': 'MJX-TEX-ZERO, MJX-TEX-SO'
|
100
|
+
}, '.TEX-LO': {
|
101
|
+
'font-family': 'MJX-TEX-ZERO, MJX-TEX-LO'
|
102
|
+
}, '.TEX-C': {
|
103
|
+
'font-family': 'MJX-TEX-ZERO, MJX-TEX-C'
|
104
|
+
}, '.TEX-CB': {
|
105
|
+
'font-family': 'MJX-TEX-ZERO, MJX-TEX-CB'
|
106
|
+
}, '.TEX-OS': {
|
107
|
+
'font-family': 'MJX-TEX-ZERO, MJX-TEX-OS'
|
108
|
+
}, '.TEX-OB': {
|
109
|
+
'font-family': 'MJX-TEX-ZERO, MJX-TEX-OB'
|
110
|
+
}, '.TEX-MI': {
|
111
|
+
'font-family': 'MJX-TEX-ZERO, MJX-TEX-MI'
|
112
|
+
}, '.TEX-V': {
|
113
|
+
'font-family': 'MJX-TEX-ZERO, MJX-TEX-V'
|
114
|
+
}, '.TEX-S3': {
|
115
|
+
'font-family': 'MJX-TEX-ZERO, MJX-TEX-S3'
|
116
|
+
}, '.TEX-S4': {
|
117
|
+
'font-family': 'MJX-TEX-ZERO, MJX-TEX-S4'
|
118
|
+
} });
|
119
|
+
MathJaxTexFont.defaultFonts = Object.assign(Object.assign({}, ChtmlFontData.defaultFonts), { '@font-face /* MJX-TEX-ZERO */': {
|
120
|
+
'font-family': 'MJX-TEX-ZERO',
|
121
|
+
src: 'url("%%URL%%/mjx-tex-zero.woff") format("woff")'
|
122
|
+
}, '@font-face /* MJX-BRK */': {
|
123
|
+
'font-family': 'MJX-BRK',
|
124
|
+
src: 'url("%%URL%%/mjx-tex-brk.woff") format("woff")'
|
125
|
+
}, '@font-face /* MJX-TEX-N */': {
|
126
|
+
'font-family': 'MJX-TEX-N',
|
127
|
+
src: 'url("%%URL%%/mjx-tex-n.woff") format("woff")'
|
128
|
+
}, '@font-face /* MJX-TEX-B */': {
|
129
|
+
'font-family': 'MJX-TEX-B',
|
130
|
+
src: 'url("%%URL%%/mjx-tex-b.woff") format("woff")'
|
131
|
+
}, '@font-face /* MJX-TEX-I */': {
|
132
|
+
'font-family': 'MJX-TEX-I',
|
133
|
+
src: 'url("%%URL%%/mjx-tex-i.woff") format("woff")'
|
134
|
+
}, '@font-face /* MJX-TEX-BI */': {
|
135
|
+
'font-family': 'MJX-TEX-BI',
|
136
|
+
src: 'url("%%URL%%/mjx-tex-bi.woff") format("woff")'
|
137
|
+
}, '@font-face /* MJX-TEX-F */': {
|
138
|
+
'font-family': 'MJX-TEX-F',
|
139
|
+
src: 'url("%%URL%%/mjx-tex-f.woff") format("woff")'
|
140
|
+
}, '@font-face /* MJX-TEX-FB */': {
|
141
|
+
'font-family': 'MJX-TEX-FB',
|
142
|
+
src: 'url("%%URL%%/mjx-tex-fb.woff") format("woff")'
|
143
|
+
}, '@font-face /* MJX-TEX-SS */': {
|
144
|
+
'font-family': 'MJX-TEX-SS',
|
145
|
+
src: 'url("%%URL%%/mjx-tex-ss.woff") format("woff")'
|
146
|
+
}, '@font-face /* MJX-TEX-SSB */': {
|
147
|
+
'font-family': 'MJX-TEX-SSB',
|
148
|
+
src: 'url("%%URL%%/mjx-tex-ssb.woff") format("woff")'
|
149
|
+
}, '@font-face /* MJX-TEX-SSI */': {
|
150
|
+
'font-family': 'MJX-TEX-SSI',
|
151
|
+
src: 'url("%%URL%%/mjx-tex-ssi.woff") format("woff")'
|
152
|
+
}, '@font-face /* MJX-TEX-M */': {
|
153
|
+
'font-family': 'MJX-TEX-M',
|
154
|
+
src: 'url("%%URL%%/mjx-tex-m.woff") format("woff")'
|
155
|
+
}, '@font-face /* MJX-TEX-SO */': {
|
156
|
+
'font-family': 'MJX-TEX-SO',
|
157
|
+
src: 'url("%%URL%%/mjx-tex-so.woff") format("woff")'
|
158
|
+
}, '@font-face /* MJX-TEX-LO */': {
|
159
|
+
'font-family': 'MJX-TEX-LO',
|
160
|
+
src: 'url("%%URL%%/mjx-tex-lo.woff") format("woff")'
|
161
|
+
}, '@font-face /* MJX-TEX-C */': {
|
162
|
+
'font-family': 'MJX-TEX-C',
|
163
|
+
src: 'url("%%URL%%/mjx-tex-c.woff") format("woff")'
|
164
|
+
}, '@font-face /* MJX-TEX-CB */': {
|
165
|
+
'font-family': 'MJX-TEX-CB',
|
166
|
+
src: 'url("%%URL%%/mjx-tex-cb.woff") format("woff")'
|
167
|
+
}, '@font-face /* MJX-TEX-OS */': {
|
168
|
+
'font-family': 'MJX-TEX-OS',
|
169
|
+
src: 'url("%%URL%%/mjx-tex-os.woff") format("woff")'
|
170
|
+
}, '@font-face /* MJX-TEX-OB */': {
|
171
|
+
'font-family': 'MJX-TEX-OB',
|
172
|
+
src: 'url("%%URL%%/mjx-tex-ob.woff") format("woff")'
|
173
|
+
}, '@font-face /* MJX-TEX-MI */': {
|
174
|
+
'font-family': 'MJX-TEX-MI',
|
175
|
+
src: 'url("%%URL%%/mjx-tex-mi.woff") format("woff")'
|
176
|
+
}, '@font-face /* MJX-TEX-V */': {
|
177
|
+
'font-family': 'MJX-TEX-V',
|
178
|
+
src: 'url("%%URL%%/mjx-tex-v.woff") format("woff")'
|
179
|
+
}, '@font-face /* MJX-TEX-S3 */': {
|
180
|
+
'font-family': 'MJX-TEX-S3',
|
181
|
+
src: 'url("%%URL%%/mjx-tex-s3.woff") format("woff")'
|
182
|
+
}, '@font-face /* MJX-TEX-S4 */': {
|
183
|
+
'font-family': 'MJX-TEX-S4',
|
184
|
+
src: 'url("%%URL%%/mjx-tex-s4.woff") format("woff")'
|
185
|
+
} });
|
186
|
+
//# sourceMappingURL=chtml.js.map
|
package/mjs/chtml.js.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"chtml.js","sourceRoot":"","sources":["../ts/chtml.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EACgC,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAC,yBAAyB,EAAC,MAAM,aAAa,CAAC;AAGtD,OAAO,EAAC,MAAM,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7B,aAAa,EAAE,YAAY;QAC3B,GAAG,EAAE,+CAA+C;KACrD,EACD,4BAA4B,EAAE;QAC5B,aAAa,EAAE,WAAW;QAC1B,GAAG,EAAE,8CAA8C;KACpD,EACD,6BAA6B,EAAE;QAC7B,aAAa,EAAE,YAAY;QAC3B,GAAG,EAAE,+CAA+C;KACrD,EACD,6BAA6B,EAAE;QAC7B,aAAa,EAAE,YAAY;QAC3B,GAAG,EAAE,+CAA+C;KACrD,GA1F0B,CA2F3B"}
|
package/mjs/common.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
1
|
+
import { FontDataClass, CharOptions, VariantData, DelimiterData } from 'mathjax-full/mjs/output/common/FontData.js';
|
2
|
+
export declare function CommonMathJaxTexFontMixin<C extends CharOptions, V extends VariantData<C>, D extends DelimiterData, B extends FontDataClass<C, V, D>>(Base: B): FontDataClass<C, V, D> & B;
|
package/mjs/common.js
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
import { FontData } from 'mathjax-full/mjs/output/common/FontData.js';
|
2
|
+
export function CommonMathJaxTexFontMixin(Base) {
|
3
|
+
var _a;
|
4
|
+
return _a = class extends Base {
|
5
|
+
},
|
6
|
+
_a.defaultVariants = [
|
7
|
+
...FontData.defaultVariants,
|
8
|
+
['-size3', 'normal'],
|
9
|
+
['-size4', 'normal']
|
10
|
+
],
|
11
|
+
_a.defaultCssFonts = Object.assign(Object.assign({}, FontData.defaultCssFonts), { '-size3': ['serif', false, false], '-size4': ['serif', false, false] }),
|
12
|
+
_a.defaultAccentMap = {
|
13
|
+
0x005E: '\u02C6',
|
14
|
+
0x007E: '\u02DC',
|
15
|
+
0x0300: '\u02CB',
|
16
|
+
0x0301: '\u02CA',
|
17
|
+
0x0302: '\u02C6',
|
18
|
+
0x0303: '\u02DC',
|
19
|
+
0x0304: '\u02C9',
|
20
|
+
0x0306: '\u02D8',
|
21
|
+
0x0307: '\u02D9',
|
22
|
+
0x0308: '\u00A8',
|
23
|
+
0x030A: '\u02DA',
|
24
|
+
0x030C: '\u02C7',
|
25
|
+
0x2192: '\u20D7'
|
26
|
+
},
|
27
|
+
_a.defaultParams = Object.assign(Object.assign({}, FontData.defaultParams), { x_height: .442 }),
|
28
|
+
_a.defaultSizeVariants = [
|
29
|
+
'normal', '-smallop', '-largeop', '-size3', '-size4', '-tex-variant'
|
30
|
+
],
|
31
|
+
_a.defaultStretchVariants = [
|
32
|
+
'-size4', 'normal', '-smallop'
|
33
|
+
],
|
34
|
+
_a;
|
35
|
+
}
|
36
|
+
//# sourceMappingURL=common.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../ts/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAC4C,MAAM,4CAA4C,CAAC;AAU/G,MAAM,UAAU,yBAAyB,CAKvC,IAAO;;IAEP,YAAO,KAAM,SAAQ,IAAI;SA6DxB;QAxDe,kBAAe,GAAe;YAC1C,GAAG,QAAQ,CAAC,eAAe;YAC3B,CAAC,QAAQ,EAAE,QAAQ,CAAC;YACpB,CAAC,QAAQ,EAAE,QAAQ,CAAC;SACpB;QAKY,kBAAe,mCACxB,QAAQ,CAAC,eAAe,KAC3B,QAAQ,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,KAAK,CAAC,EACjC,QAAQ,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,KAAK,CAAC,GACjC;QAKY,mBAAgB,GAAa;YACzC,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;SAChB;QAKY,gBAAa,mCACtB,QAAQ,CAAC,aAAa,KACzB,QAAQ,EAAE,IAAI,GACd;QAKe,sBAAmB,GAAa;YAC/C,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,cAAc;SACpE;QAKe,yBAAsB,GAAa;YAClD,QAAQ,EAAE,QAAQ,EAAE,UAAU;SAC9B;WAEF;AAEJ,CAAC"}
|
package/mjs/package.json
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
export const boldItalic = {
|
2
|
+
0x2F: [.711, .21, .894, { p: '189-210C197-210 205-207 211-201C215-197 721 649 730 667C733 672 733 673 733 681C733 699 720 711 704 711C693 711 683 705 679 698C675 692 166-160 162-166C160-171 160-173 160-179C160-195 172-210 189-210' }],
|
3
|
+
0x131: [.452, .008, .394, { p: '201-8C275-8 331 53 356 114C361 126 367 144 367 148C367 153 364 158 360 160C357 162 355 162 336 162L330 162C308 162 308 161 302 140C293 109 277 82 257 64C252 59 228 42 214 42C207 42 202 46 202 57C202 65 204 75 207 87C207 88 305 340 306 342C307 347 308 354 308 360C308 421 250 452 187 452C111 452 59 390 35 330C30 318 24 300 24 296C24 291 27 286 31 284C34 282 36 282 55 282L61 282C83 282 83 283 89 304C98 335 114 362 134 380C139 385 163 402 177 402C184 402 189 398 189 388C189 380 187 369 184 358C183 356 86 105 85 102C84 97 83 90 83 84C83 23 139-8 201-8', sk: -.012 }],
|
4
|
+
0x237: [.451, .201, .439, { p: '297 373C297 365 296 355 294 345C292 332 195-54 193-60C179-101 154-134 127-146C121-149 110-151 104-151L100-151C112-136 123-120 123-95C123-64 100-43 68-43C21-43-12-85-12-125C-12-136-10-146-5-155C11-185 45-201 99-201C125-201 137-200 163-194C183-188 195-184 214-175C265-150 302-112 317-69C319-65 343 28 370 138L420 339L420 354C420 366 420 370 418 376C404 425 353 451 279 451L267 451C209 440 166 411 132 369C115 347 94 309 92 298C92 292 94 287 99 284C103 282 104 282 123 282L129 282C149 282 149 283 158 302C171 328 181 343 200 363C224 386 249 399 276 401C294 401 297 393 297 373', sk: .063 }],
|
5
|
+
0x2044: [.711, .21, .894, { p: '189-210C197-210 205-207 211-201C215-197 721 649 730 667C733 672 733 673 733 681C733 699 720 711 704 711C693 711 683 705 679 698C675 692 166-160 162-166C160-171 160-173 160-179C160-195 172-210 189-210' }],
|
6
|
+
0x2206: [.711, 0, .958, { p: '65 0L479 0L894 1C899 4 904 9 904 14C904 16 709 666 700 693C699 696 697 700 694 703C687 710 684 711 656 711C643 711 631 710 629 710C623 708 613 703 608 698C603 694 64 21 61 16C60 14 59 11 59 9C59 5 63 2 65 0ZM630 342C665 228 693 134 693 133L462 133L232 134L567 551' }],
|
7
|
+
0x29F8: [.711, .21, .894, { p: '189-210C197-210 205-207 211-201C215-197 721 649 730 667C733 672 733 673 733 681C733 699 720 711 704 711C693 711 683 705 679 698C675 692 166-160 162-166C160-171 160-173 160-179C160-195 172-210 189-210' }]
|
8
|
+
};
|
9
|
+
//# sourceMappingURL=bold-italic.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"bold-italic.js","sourceRoot":"","sources":["../../ts/svg/bold-italic.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,IAAI,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,EAAC,CAAC,EAAE,yMAAyM,EAAC,CAAC;IACvO,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,EAAC,CAAC,EAAE,0iBAA0iB,EAAE,EAAE,EAAE,CAAC,IAAI,EAAC,CAAC;IACrlB,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,EAAC,CAAC,EAAE,+jBAA+jB,EAAE,EAAE,EAAE,IAAI,EAAC,CAAC;IACzmB,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,EAAC,CAAC,EAAE,yMAAyM,EAAC,CAAC;IACzO,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,EAAC,CAAC,EAAE,yQAAyQ,EAAC,CAAC;IACvS,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,EAAC,CAAC,EAAE,yMAAyM,EAAC,CAAC;CAC1O,CAAC"}
|