text: /**
   * almond 0.2.6 Copyright (c) 2011-2012, The Dojo Foundation All Rights Reserved.
   * Available via the MIT or new BSD license.
   * see: http://github.com/jrburke/almond for details
   */
  
  /**
   * @license
   * Lo-Dash 2.1.0 (Custom Build) lodash.com/license | Underscore.js 1.5.2 underscorejs.org/LICENSE
   * Build: `lodash exports="amd" include="defer,each,isObject,isArray" -m -o lodash.custom.js`
   */
  
  /*
  !
  mathjax-lazyload v1.0.1
  https://github.com/Dashed/mathjax-lazyload
  
  Alberto Leal (c) 2013 MIT License
  */
  
  !function(){var n,t,e;!function(r){function o(n,t){return x.call(n,t)}function i(n,t){var e,r,o,i,u,c,a,l,f,s,p=t&&t.split("/"),h=v.map,y=h&&h["*"]||{};if(n&&"."===n.charAt(0))if(t){for(p=p.slice(0,p.length-1),n=p.concat(n.split("/")),l=0;l<n.length;l+=1)if(s=n[l],"."===s)n.splice(l,1),l-=1;else if(".."===s){if(1===l&&(".."===n[2]||".."===n[0]))break;l>0&&(n.splice(l-1,2),l-=2)}n=n.join("/")}else 0===n.indexOf("./")&&(n=n.substring(2));if((p||y)&&h){for(e=n.split("/"),l=e.length;l>0;l-=1){if(r=e.slice(0,l).join("/"),p)for(f=p.length;f>0;f-=1)if(o=h[p.slice(0,f).join("/")],o&&(o=o[r])){i=o,u=l;break}if(i)break;!c&&y&&y[r]&&(c=y[r],a=l)}!i&&c&&(i=c,u=a),i&&(e.splice(0,u,i),n=e.join("/"))}return n}function u(n,t){return function(){return h.apply(r,w.call(arguments,0).concat([n,t]))}}function c(n){return function(t){return i(t,n)}}function a(n){return function(t){d[n]=t}}function l(n){if(o(g,n)){var t=g[n];delete g[n],b[n]=!0,p.apply(r,t)}if(!o(d,n)&&!o(b,n))throw new Error("No "+n);return d[n]}function f(n){var t,e=n?n.indexOf("!"):-1;return e>-1&&(t=n.substring(0,e),n=n.substring(e+1,n.length)),[t,n]}function s(n){return function(){return v&&v.config&&v.config[n]||{}}}var p,h,y,m,d={},g={},v={},b={},x=Object.prototype.hasOwnProperty,w=[].slice;y=function(n,t){var e,r=f(n),o=r[0];return n=r[1],o&&(o=i(o,t),e=l(o)),o?n=e&&e.normalize?e.normalize(n,c(t)):i(n,t):(n=i(n,t),r=f(n),o=r[0],n=r[1],o&&(e=l(o))),{f:o?o+"!"+n:n,n:n,pr:o,p:e}},m={require:function(n){return u(n)},exports:function(n){var t=d[n];return"undefined"!=typeof t?t:d[n]={}},module:function(n){return{id:n,uri:"",exports:d[n],config:s(n)}}},p=function(n,t,e,i){var c,f,s,p,h,v,x=[];if(i=i||n,"function"==typeof e){for(t=!t.length&&e.length?["require","exports","module"]:t,h=0;h<t.length;h+=1)if(p=y(t[h],i),f=p.f,"require"===f)x[h]=m.require(n);else if("exports"===f)x[h]=m.exports(n),v=!0;else if("module"===f)c=x[h]=m.module(n);else if(o(d,f)||o(g,f)||o(b,f))x[h]=l(f);else{if(!p.p)throw new Error(n+" missing "+f);p.p.load(p.n,u(i,!0),a(f),{}),x[h]=d[f]}s=e.apply(d[n],x),n&&(c&&c.exports!==r&&c.exports!==d[n]?d[n]=c.exports:s===r&&v||(d[n]=s))}else n&&(d[n]=e)},n=t=h=function(n,t,e,o,i){return"string"==typeof n?m[n]?m[n](t):l(y(n,t).f):(n.splice||(v=n,t.splice?(n=t,t=e,e=null):n=r),t=t||function(){},"function"==typeof e&&(e=o,o=i),o?p(r,n,t,e):setTimeout(function(){p(r,n,t,e)},4),h)},h.config=function(n){return v=n,v.deps&&h(v.deps,v.callback),h},n._defined=d,e=function(n,t,e){t.splice||(e=t,t=[]),o(d,n)||o(g,n)||(g[n]=[n,t,e])},e.amd={jQuery:!0}}(),e("almond",function(){}),function(){function n(){return v.pop()||{a:"",b:null,c:"",k:null,configurable:!1,enumerable:!1,"false":!1,d:"",e:"",v:null,g:"","null":!1,number:null,z:null,push:null,h:null,string:null,i:"","true":!1,undefined:!1,j:!1,writable:!1}}function t(){}function r(n){var t=n.k;t&&r(t),n.b=n.k=n.object=n.number=n.string=null,v.length<x&&v.push(n)}function o(){}function i(n,t,e){if("function"!=typeof n)return d;if("undefined"==typeof t)return n;var r=n.__bindData__||X.funcNames&&!n.name;if("undefined"==typeof r){var o=j&&$.call(n);X.funcNames||!o||w.test(o)||(r=!0),(X.funcNames||!r)&&(r=!X.funcDecomp||j.test(o),Y(n,r))}if(!0!==r&&r&&1&r[1])return n;switch(e){case 1:return function(e){return n.call(t,e)};case 2:return function(e,r){return n.call(t,e,r)};case 3:return function(e,r,o){return n.call(t,e,r,o)};case 4:return function(e,r,o,i){return n.call(t,e,r,o,i)}}return y(n,t)}function u(n,t,e,r,o,i){var c=1&t,l=2&t,p=4&t,h=8&t,y=16&t,m=32&t,d=n;if(!l&&!f(n))throw new TypeError;y&&!e.length&&(t&=-17,y=e=!1),m&&!r.length&&(t&=-33,m=r=!1);var g=n&&n.__bindData__;if(g)return!c||1&g[1]||(g[4]=o),!c&&1&g[1]&&(t|=8),!p||4&g[1]||(g[5]=i),y&&M.apply(g[2]||(g[2]=[]),e),m&&M.apply(g[3]||(g[3]=[]),r),g[1]|=t,u.apply(null,g);if(!c||l||p||m||!(X.fastBind||V&&y))b=function(){var f=arguments,g=c?o:this;return(p||y||m)&&(f=K.call(f),y&&B.apply(f,e),m&&M.apply(f,r),p&&f.length<i)?(t|=16,u(n,h?t:-4&t,f,null,o,i)):(l&&(n=g[d]),this instanceof b?(g=a(n.prototype),f=n.apply(g,f),s(f)?f:g):n.apply(g,f))};else{if(y){var v=[o];M.apply(v,e)}var b=y?V.apply(n,v):V.call(n,o)}return Y(b,K.call(arguments)),b}function c(){var t=n();t.h=E,t.b=t.c=t.g=t.i="",t.e="t",t.j=!0;for(var e,o=0;e=arguments[o];o++)for(var u in e)t[u]=e[u];o=t.a,t.d=/^[^,]+/.exec(o)[0],e=Function,o="return function("+o+"){",u="var n,t="+t.d+",E="+t.e+";if(!t)return E;"+t.i+";",t.b?(u+="var u=t.length;n=-1;if("+t.b+"){",X.unindexedChars&&(u+="if(s(t)){t=t.split('')}"),u+="while(++n<u){"+t.g+";}}else{"):X.nonEnumArgs&&(u+="var u=t.length;n=-1;if(u&&p(t)){while(++n<u){n+='';"+t.g+";}}else{"),X.enumPrototypes&&(u+="var G=typeof t=='function';"),X.enumErrorProps&&(u+="var F=t===k||t instanceof Error;");var c=[];if(X.enumPrototypes&&c.push('!(G&&n=="prototype")'),X.enumErrorProps&&c.push('!(F&&(n=="message"||n=="name"))'),t.j&&t.f)u+="var C=-1,D=B[typeof t]&&v(t),u=D?D.length:0;while(++C<u){n=D[C];",c.length&&(u+="if("+c.join("&&")+"){"),u+=t.g+";",c.length&&(u+="}"),u+="}";else if(u+="for(n in t){",t.j&&c.push("m.call(t, n)"),c.length&&(u+="if("+c.join("&&")+"){"),u+=t.g+";",c.length&&(u+="}"),u+="}",X.nonEnumShadows){for(u+="if(t!==A){var i=t.constructor,r=t===(i&&i.prototype),f=t===J?I:t===k?j:L.call(t),x=y[f];",k=0;7>k;k++)u+="n='"+t.h[k]+"';if((!(r&&x[n])&&m.call(t,n))",t.j||(u+="||(!x[n]&&t[n]!==A[n])"),u+="){"+t.g+"}";u+="}"}return(t.b||X.nonEnumArgs)&&(u+="}"),u+=t.c+";return E",e=e("d,j,k,m,o,p,q,s,v,A,B,y,I,J,L",o+u+"}"),r(t),e(i,O,R,L,b,l,Z,p,t.f,q,_,U,S,D,F)}function a(n){return s(n)?Q(n):{}}function l(n){return n&&"object"==typeof n&&"number"==typeof n.length&&F.call(n)==A||!1}function f(n){return"function"==typeof n}function s(n){return!(!n||!_[typeof n])}function p(n){return"string"==typeof n||F.call(n)==S}function h(n,t,e){if(t&&"undefined"==typeof e&&Z(n)){e=-1;for(var r=n.length;++e<r&&!1!==t(n[e],e,n););}else tt(n,t,e);return n}function y(n,t){return 2<arguments.length?u(n,17,K.call(arguments,2),null,t):u(n,1,null,null,t)}function m(n){if(!f(n))throw new TypeError;var t=K.call(arguments,1);return setTimeout(function(){n.apply(g,t)},1)}function d(n){return n}var g,v=[],b={},x=40,w=/^function[ \n\r\t]+\w/,j=/\bthis\b/,E="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),A="[object Arguments]",O="[object Error]",S="[object String]",_={"boolean":!1,"function":!0,object:!0,number:!1,string:!1,undefined:!1},T=_[typeof window]&&window||this,I=_[typeof exports]&&exports&&!exports.nodeType&&exports,P=_[typeof module]&&module&&!module.nodeType&&module,I=P&&P.exports===I&&I,z=[],R=Error.prototype,q=Object.prototype,D=String.prototype,J=RegExp("^"+(q.valueOf+"").replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/valueOf|for [^\]]+/g,".+?")+"$"),$=Function.prototype.toString,L=q.hasOwnProperty,M=z.push,C=q.propertyIsEnumerable,F=q.toString,B=z.unshift,N=function(){try{var n={},t=J.test(t=Object.defineProperty)&&t,e=t(n,n,n)&&t}catch(r){}return e}(),V=J.test(V=F.bind)&&V,Q=J.test(Q=Object.create)&&Q,W=J.test(W=Array.isArray)&&W,H=J.test(H=Object.keys)&&H,K=z.slice,P=J.test(T.attachEvent),G=V&&!/\n|true/.test(V+P),U={};U["[object Array]"]=U["[object Date]"]=U["[object Number]"]={constructor:!0,toLocaleString:!0,toString:!0,valueOf:!0},U["[object Boolean]"]=U[S]={constructor:!0,toString:!0,valueOf:!0},U[O]=U["[object Function]"]=U["[object RegExp]"]={constructor:!0,toString:!0},U["[object Object]"]={constructor:!0},function(){for(var n=E.length;n--;){var t,e=E[n];for(t in U)L.call(U,t)&&!L.call(U[t],e)&&(U[t][e]=!1)}}();var X=o.support={};!function(){function n(){this.x=1}var t={0:1,length:1},e=[];n.prototype={valueOf:1};for(var r in new n)e.push(r);for(r in arguments);X.argsClass=F.call(arguments)==A,X.argsObject=arguments.constructor==Object&&!(arguments instanceof Array),X.enumErrorProps=C.call(R,"message")||C.call(R,"name"),X.enumPrototypes=C.call(n,"prototype"),X.fastBind=V&&!G,X.funcDecomp=!J.test(T.l)&&j.test(function(){return this}),X.funcNames="string"==typeof Function.name,X.nonEnumArgs=0!=r,X.nonEnumShadows=!/valueOf/.test(e),X.spliceObjects=(z.splice.call(t,0,1),!t[0]),X.unindexedChars="xx"!="x"[0]+Object("x")[0]}(1),Q||(a=function(n){if(s(n)){t.prototype=n;var e=new t;t.prototype=null}return e||{}});var Y=N?function(t,e){var o=n();o.value=e,N(t,"__bindData__",o),r(o)}:t;X.argsClass||(l=function(n){return n&&"object"==typeof n&&"number"==typeof n.length&&L.call(n,"callee")||!1});var Z=W||function(n){return n&&"object"==typeof n&&"number"==typeof n.length&&"[object Array]"==F.call(n)||!1},nt=c({a:"z",e:"[]",i:"if(!(B[typeof z]))return E",g:"E.push(n)"}),W=H?function(n){return s(n)?X.enumPrototypes&&"function"==typeof n||X.nonEnumArgs&&n.length&&l(n)?nt(n):H(n):[]}:nt,tt=c({a:"g,e,K",i:"e=e&&typeof K=='undefined'?e:d(e,K,3)",b:"typeof u=='number'",v:W,g:"if(e(t[n],n,g)===false)return E"});f(/x/)&&(f=function(n){return"function"==typeof n&&"[object Function]"==F.call(n)}),G&&I&&"function"==typeof setImmediate&&(m=function(n){if(!f(n))throw new TypeError;return setImmediate.apply(T,arguments)}),o.bind=y,o.defer=m,o.forEach=h,o.keys=W,o.each=h,o.identity=d,o.isArguments=l,o.isArray=Z,o.isFunction=f,o.isObject=s,o.isString=p,o.VERSION="2.1.0","function"==typeof e&&"object"==typeof e.amd&&e.amd&&e("lodash",[],function(){return o})}.call(this),function(){function n(n){var e=!1;return function(){if(e)throw new Error("Callback was already called.");e=!0,n.apply(t,arguments)}}var t,r,o={};t=this,null!=t&&(r=t.async),o.noConflict=function(){return t.async=r,o};var i=function(n,t){if(n.forEach)return n.forEach(t);for(var e=0;e<n.length;e+=1)t(n[e],e,n)},u=function(n,t){if(n.map)return n.map(t);var e=[];return i(n,function(n,r,o){e.push(t(n,r,o))}),e},c=function(n,t,e){return n.reduce?n.reduce(t,e):(i(n,function(n,r,o){e=t(e,n,r,o)}),e)},a=function(n){if(Object.keys)return Object.keys(n);var t=[];for(var e in n)n.hasOwnProperty(e)&&t.push(e);return t};"undefined"!=typeof process&&process.nextTick?(o.nextTick=process.nextTick,o.setImmediate="undefined"!=typeof setImmediate?setImmediate:o.nextTick):"function"==typeof setImmediate?(o.nextTick=function(n){setImmediate(n)},o.setImmediate=o.nextTick):(o.nextTick=function(n){setTimeout(n,0)},o.setImmediate=o.nextTick),o.each=function(t,e,r){if(r=r||function(){},!t.length)return r();var o=0;i(t,function(i){e(i,n(function(n){n?(r(n),r=function(){}):(o+=1,o>=t.length&&r(null))}))})},o.forEach=o.each,o.eachSeries=function(n,t,e){if(e=e||function(){},!n.length)return e();var r=0,o=function(){t(n[r],function(t){t?(e(t),e=function(){}):(r+=1,r>=n.length?e(null):o())})};o()},o.forEachSeries=o.eachSeries,o.eachLimit=function(n,t,e,r){var o=l(t);o.apply(null,[n,e,r])},o.forEachLimit=o.eachLimit;var l=function(n){return function(t,e,r){if(r=r||function(){},!t.length||0>=n)return r();var o=0,i=0,u=0;!function c(){if(o>=t.length)return r();for(;n>u&&i<t.length;)i+=1,u+=1,e(t[i-1],function(n){n?(r(n),r=function(){}):(o+=1,u-=1,o>=t.length?r():c())})}()}},f=function(n){return function(){var t=Array.prototype.slice.call(arguments);return n.apply(null,[o.each].concat(t))}},s=function(n,t){return function(){var e=Array.prototype.slice.call(arguments);return t.apply(null,[l(n)].concat(e))}},p=function(n){return function(){var t=Array.prototype.slice.call(arguments);return n.apply(null,[o.eachSeries].concat(t))}},h=function(n,t,e,r){var o=[];t=u(t,function(n,t){return{index:t,value:n}}),n(t,function(n,t){e(n.value,function(e,r){o[n.index]=r,t(e)})},function(n){r(n,o)})};o.map=f(h),o.mapSeries=p(h),o.mapLimit=function(n,t,e,r){return y(t)(n,e,r)};var y=function(n){return s(n,h)};o.reduce=function(n,t,e,r){o.eachSeries(n,function(n,r){e(t,n,function(n,e){t=e,r(n)})},function(n){r(n,t)})},o.inject=o.reduce,o.foldl=o.reduce,o.reduceRight=function(n,t,e,r){var i=u(n,function(n){return n}).reverse();o.reduce(i,t,e,r)},o.foldr=o.reduceRight;var m=function(n,t,e,r){var o=[];t=u(t,function(n,t){return{index:t,value:n}}),n(t,function(n,t){e(n.value,function(e){e&&o.push(n),t()})},function(){r(u(o.sort(function(n,t){return n.index-t.index}),function(n){return n.value}))})};o.filter=f(m),o.filterSeries=p(m),o.select=o.filter,o.selectSeries=o.filterSeries;var d=function(n,t,e,r){var o=[];t=u(t,function(n,t){return{index:t,value:n}}),n(t,function(n,t){e(n.value,function(e){e||o.push(n),t()})},function(){r(u(o.sort(function(n,t){return n.index-t.index}),function(n){return n.value}))})};o.reject=f(d),o.rejectSeries=p(d);var g=function(n,t,e,r){n(t,function(n,t){e(n,function(e){e?(r(n),r=function(){}):t()})},function(){r()})};o.detect=f(g),o.detectSeries=p(g),o.some=function(n,t,e){o.each(n,function(n,r){t(n,function(n){n&&(e(!0),e=function(){}),r()})},function(){e(!1)})},o.any=o.some,o.every=function(n,t,e){o.each(n,function(n,r){t(n,function(n){n||(e(!1),e=function(){}),r()})},function(){e(!0)})},o.all=o.every,o.sortBy=function(n,t,e){o.map(n,function(n,e){t(n,function(t,r){t?e(t):e(null,{value:n,criteria:r})})},function(n,t){if(n)return e(n);var r=function(n,t){var e=n.criteria,r=t.criteria;return r>e?-1:e>r?1:0};e(null,u(t.sort(r),function(n){return n.value}))})},o.auto=function(n,t){t=t||function(){};var e=a(n);if(!e.length)return t(null);var r={},u=[],l=function(n){u.unshift(n)},f=function(n){for(var t=0;t<u.length;t+=1)if(u[t]===n)return u.splice(t,1),void 0},s=function(){i(u.slice(0),function(n){n()})};l(function(){a(r).length===e.length&&(t(null,r),t=function(){})}),i(e,function(e){var u=n[e]instanceof Function?[n[e]]:n[e],p=function(n){var u=Array.prototype.slice.call(arguments,1);if(u.length<=1&&(u=u[0]),n){var c={};i(a(r),function(n){c[n]=r[n]}),c[e]=u,t(n,c),t=function(){}}else r[e]=u,o.setImmediate(s)},h=u.slice(0,Math.abs(u.length-1))||[],y=function(){return c(h,function(n,t){return n&&r.hasOwnProperty(t)},!0)&&!r.hasOwnProperty(e)};if(y())u[u.length-1](p,r);else{var m=function(){y()&&(f(m),u[u.length-1](p,r))};l(m)}})},o.waterfall=function(n,t){if(t=t||function(){},n.constructor!==Array){var e=new Error("First argument to waterfall must be an array of functions");return t(e)}if(!n.length)return t();var r=function(n){return function(e){if(e)t.apply(null,arguments),t=function(){};else{var i=Array.prototype.slice.call(arguments,1),u=n.next();u?i.push(r(u)):i.push(t),o.setImmediate(function(){n.apply(null,i)})}}};r(o.iterator(n))()};var v=function(n,t,e){if(e=e||function(){},t.constructor===Array)n.map(t,function(n,t){n&&n(function(n){var e=Array.prototype.slice.call(arguments,1);e.length<=1&&(e=e[0]),t.call(null,n,e)})},e);else{var r={};n.each(a(t),function(n,e){t[n](function(t){var o=Array.prototype.slice.call(arguments,1);o.length<=1&&(o=o[0]),r[n]=o,e(t)})},function(n){e(n,r)})}};o.parallel=function(n,t){v({map:o.map,each:o.each},n,t)},o.parallelLimit=function(n,t,e){v({map:y(t),each:l(t)},n,e)},o.series=function(n,t){if(t=t||function(){},n.constructor===Array)o.mapSeries(n,function(n,t){n&&n(function(n){var e=Array.prototype.slice.call(arguments,1);e.length<=1&&(e=e[0]),t.call(null,n,e)})},t);else{var e={};o.eachSeries(a(n),function(t,r){n[t](function(n){var o=Array.prototype.slice.call(arguments,1);o.length<=1&&(o=o[0]),e[t]=o,r(n)})},function(n){t(n,e)})}},o.iterator=function(n){var t=function(e){var r=function(){return n.length&&n[e].apply(null,arguments),r.next()};return r.next=function(){return e<n.length-1?t(e+1):null},r};return t(0)},o.apply=function(n){var t=Array.prototype.slice.call(arguments,1);return function(){return n.apply(null,t.concat(Array.prototype.slice.call(arguments)))}};var b=function(n,t,e,r){var o=[];n(t,function(n,t){e(n,function(n,e){o=o.concat(e||[]),t(n)})},function(n){r(n,o)})};o.concat=f(b),o.concatSeries=p(b),o.whilst=function(n,t,e){n()?t(function(r){return r?e(r):(o.whilst(n,t,e),void 0)}):e()},o.doWhilst=function(n,t,e){n(function(r){return r?e(r):(t()?o.doWhilst(n,t,e):e(),void 0)})},o.until=function(n,t,e){n()?e():t(function(r){return r?e(r):(o.until(n,t,e),void 0)})},o.doUntil=function(n,t,e){n(function(r){return r?e(r):(t()?e():o.doUntil(n,t,e),void 0)})},o.queue=function(t,e){function r(n,t,r,u){t.constructor!==Array&&(t=[t]),i(t,function(t){var i={data:t,callback:"function"==typeof u?u:null};r?n.tasks.unshift(i):n.tasks.push(i),n.saturated&&n.tasks.length===e&&n.saturated(),o.setImmediate(n.process)})}void 0===e&&(e=1);var u=0,c={tasks:[],concurrency:e,saturated:null,empty:null,drain:null,push:function(n,t){r(c,n,!1,t)},unshift:function(n,t){r(c,n,!0,t)},process:function(){if(u<c.concurrency&&c.tasks.length){var e=c.tasks.shift();c.empty&&0===c.tasks.length&&c.empty(),u+=1;var r=function(){u-=1,e.callback&&e.callback.apply(e,arguments),c.drain&&0===c.tasks.length+u&&c.drain(),c.process()},o=n(r);t(e.data,o)}},length:function(){return c.tasks.length},running:function(){return u}};return c},o.cargo=function(n,t){var e=!1,r=[],c={tasks:r,payload:t,saturated:null,empty:null,drain:null,push:function(n,e){n.constructor!==Array&&(n=[n]),i(n,function(n){r.push({data:n,callback:"function"==typeof e?e:null}),c.saturated&&r.length===t&&c.saturated()}),o.setImmediate(c.process)},process:function a(){if(!e){if(0===r.length)return c.drain&&c.drain(),void 0;var o="number"==typeof t?r.splice(0,t):r.splice(0),l=u(o,function(n){return n.data});c.empty&&c.empty(),e=!0,n(l,function(){e=!1;var n=arguments;i(o,function(t){t.callback&&t.callback.apply(null,n)}),a()})}},length:function(){return r.length},running:function(){return e}};return c};var x=function(n){return function(t){var e=Array.prototype.slice.call(arguments,1);t.apply(null,e.concat([function(t){var e=Array.prototype.slice.call(arguments,1);"undefined"!=typeof console&&(t?console.error&&console.error(t):console[n]&&i(e,function(t){console[n](t)}))}]))}};o.log=x("log"),o.dir=x("dir"),o.memoize=function(n,t){var e={},r={};t=t||function(n){return n};var o=function(){var o=Array.prototype.slice.call(arguments),i=o.pop(),u=t.apply(null,o);u in e?i.apply(null,e[u]):u in r?r[u].push(i):(r[u]=[i],n.apply(null,o.concat([function(){e[u]=arguments;var n=r[u];delete r[u];for(var t=0,o=n.length;o>t;t++)n[t].apply(null,arguments)}])))};return o.memo=e,o.unmemoized=n,o},o.unmemoize=function(n){return function(){return(n.unmemoized||n).apply(null,arguments)}},o.times=function(n,t,e){for(var r=[],i=0;n>i;i++)r.push(i);return o.map(r,t,e)},o.timesSeries=function(n,t,e){for(var r=[],i=0;n>i;i++)r.push(i);return o.mapSeries(r,t,e)},o.compose=function(){var n=Array.prototype.reverse.call(arguments);return function(){var t=this,e=Array.prototype.slice.call(arguments),r=e.pop();o.reduce(n,e,function(n,e,r){e.apply(t,n.concat([function(){var n=arguments[0],t=Array.prototype.slice.call(arguments,1);r(n,t)}]))},function(n,e){r.apply(t,[n].concat(e))})}};var w=function(n,t){var e=function(){var e=this,r=Array.prototype.slice.call(arguments),o=r.pop();return n(t,function(n,t){n.apply(e,r.concat([t]))},o)};if(arguments.length>2){var r=Array.prototype.slice.call(arguments,2);return e.apply(this,r)}return e};o.applyEach=f(w),o.applyEachSeries=p(w),o.forever=function(n,t){function e(r){if(r){if(t)return t(r);throw r}n(e)}e()},"undefined"!=typeof e&&e.amd?e("async",[],function(){return o}):"undefined"!=typeof module&&module.exports?module.exports=o:t.async=o}(),e("app",["require","lodash","lodash","async","lodash","async","lodash"],function(n){var t,e;return e=function(){function t(t){var e,r,o;this.init_object_watch(),this.window=t,this.$=void 0,this.lmjxeventTimer=void 0,r=this,o=r.watchproperty,o(t,"$",function(e){return r.$=e,o(t,"MathJax",function(t){return o(t,"Hub",function(t){return o(t,"config",function(t){return o(t,"lazytex2jax",function(e){return o(t,"skipStartupTypeset",function(t){var o;o=n("lodash"),t===!0&&o.isObject(e)&&(r.lazytex2jax=e,o=n("lodash"),o.defer(function(n,t){return n.call(t)},r.bootstrap,r))})})})})})}),e=n("async")}return t.prototype.VERSION="1.0.2",t.prototype.bootstrap=function(){var t,e,r,o;r=n("lodash"),t=this.$,e=this,this.stopRender=!1,o=this.stopRender,t(function(){var n,i,u,c,a;return n=function(n){return t(n).find(":not(script,noscript,img,image,pre,code,audio,input,textarea,button,style,iframe,canvas)").addBack().contents().filter(function(){return 3===this.nodeType})},u=e.escapeRegExp,i={},r.each(e.lazytex2jax,function(e,o){r.isArray(e)&&r.each(e,function(e,c){var a,l,f,s;r.isArray(e)&&(s=u(e[0]),a=u(e[1]),f=s+"([\\s\\S]*?)"+a,l=new RegExp(f,"gi"),t(n("body")).each(function(){var n,r,u,a,f,s,p;r=t(this),n=r.text(),l.test(n)&&(p="lazymathjax-stamp-"+a,u={},u.start_delimiter=e[0],u.end_delimiter=e[1],a=""+o+"-"+c,p="lazymathjax-stamp-"+a,u.selector=p,i[a]=u,s="<"+p+">$1</"+p+">",l.lastIndex=0,f=n.replace(l,s),r.replaceWith(f))}))})}),e.init_renderMathJax(),a=e.lmjxeventTimer,c=e.isElementInViewport,t(e.window).on("scroll.lmjx resize.lmjx",function(){return o=!0,a&&(clearTimeout(a),a=void 0),a=setTimeout(function(){return o=!1,r.each(i,function(n){var r,i;return r=t(n.selector),r.size()>0?(i=e.renderMathJax,r.each(function(){var r;return o===!1&&c(t(this).get(0))===!0?(r={elem:t(this).get(0),start_delimiter:n.start_delimiter,end_delimiter:n.end_delimiter},i.call(e,r)):void 0})):void 0})},1e3)}),t(e.window).trigger("scroll.lmjx")})},t.prototype.init_renderMathJax=function(){var t,e,r;t=n("async"),r=n("lodash"),null==this.queue&&(e=function(n,t){var e,o,i;return o=n.f,i=n._this,e=n._args||[],e.push(t),r.defer(function(n,t,e){return n.apply(t,e)},o,i,e)},this.queue=t.queue(e,2)),null==this.MathJaxQueue&&(this.MathJaxQueue=this.window.MathJax.Hub.queue)},t.prototype.renderMathJax=function(n){var t,e,r,o;o=this.queue,t=this.$,e=function(n,e){var r,o,i,u,c,a;return this.isElementInViewport(n.elem)===!1?e(!0):this.stopRender===!0?e(!0):(r=t(n.elem),a=n.start_delimiter,u=n.end_delimiter,o=t("<mathjax>").html(a+r.text()+u),r.replaceWith(o.get(0)),i=this.MathJaxQueue,c=function(){return e()},i.Push(["Typeset",MathJax.Hub,o.get(0),e]),void 0)},r={f:e,_this:this,_args:[n]},o.push(r,function(){})},t.prototype.watchproperty=function(n,t,e){null!=(null!=n?n[t]:void 0)?e(n[t]):n.watch(t,function(n,t,r){return e(r),r})},t.prototype.isElementInViewport=function(n){var t,e;return t=this.$,e=n.getBoundingClientRect(),e.top>=0&&e.left>=0&&e.bottom<=t(this.window).height()&&e.right<=t(this.window).width()},t.prototype.escapeRegExp=function(n){return n.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},t.prototype.init_object_watch=function(){Object.prototype.watch||Object.defineProperty(Object.prototype,"watch",{enumerable:!1,configurable:!0,writable:!1,value:function(n,t){var e,r,o,i;return o=this[n],r=o,e=function(){return r},i=function(e){return o=r,r=t.call(this,n,o,e)},delete this[n]?Object.defineProperty(this,n,{get:e,set:i,enumerable:!0,configurable:!0}):void 0}}),Object.prototype.unwatch||Object.defineProperty(Object.prototype,"unwatch",{enumerable:!1,configurable:!0,writable:!1,value:function(n){var t;return t=this[n],delete this[n],this[n]=t}})},t}(),t=function(){function n(){}var t;return t=null,n.get=function(n){null==t&&(t=new e(n))},n}()}),function(e){n.config({enforceDefine:!0,urlArgs:"bust="+(new Date).getTime(),paths:{lodash:"libs/lodash.custom",async:"libs/async"},shim:{lodash:{exports:"_"},app:{deps:["lodash","async"],exports:"_LazyLoad"}}}),t(["app"],function(n){n.get(e)})}(window||(1,eval)("this")),e("main",function(){}),t(["main"])}();