/* * /MathJax/config/MMLorHTML.js * * Copyright (c) 2009-2013 The MathJax Consortium * * Part of the MathJax library. * See http://www.mathjax.org for details. * * Licensed under the Apache License, Version 2.0; * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 */(function(b,a){var c=MathJax.Hub.CombineConfig("MMLorHTML",{prefer:{MSIE:"MML",Firefox:"HTML",Opera:"HTML",Chrome:"HTML",Safari:"HTML",other:"HTML"}}),f={Firefox:3,Opera:9.52,MSIE:6,Chrome:.3,Safari:2,Konqueror:4},d="0.0"===a.version||a.versionAtLeast(f[a]||0),e=a.isFirefox&&a.versionAtLeast("1.5")||a.isMSIE&&a.hasMathPlayer||a.isSafari&&a.versionAtLeast("5.0")||a.isOpera&&a.versionAtLeast("9.52");b.Register.StartupHook("End Config",function(){var a=c.prefer&&"object"===typeof c.prefer?c.prefer[MathJax.Hub.Browser]||c.prefer.other||"HTML":c.prefer;d||e?!e||"MML"!==a&&d?(MathJax.OutputJax["HTML-CSS"]?MathJax.OutputJax["HTML-CSS"].Register("jax/mml"):b.config.jax.unshift("output/HTML-CSS"),b.Startup.signal.Post("HTML-CSS output selected")):(MathJax.OutputJax.NativeMML?MathJax.OutputJax.NativeMML.Register("jax/mml"):b.config.jax.unshift("output/NativeMML"),b.Startup.signal.Post("NativeMML output selected")):(b.PreProcess.disabled=!0,b.prepareScripts.disabled=!0,MathJax.Message.Set(["MathJaxNotSupported","Your browser does not support MathJax"],null,4E3),b.Startup.signal.Post("MathJax not supported"))})})(MathJax.Hub,MathJax.Hub.Browser);MathJax.Ajax.loadComplete("[MathJax]/config/MMLorHTML.js");