/************************************************************* * * MathJax.js * * The main code for the MathJax math-typesetting library. See * http://www.mathjax.org/ for details. * * --------------------------------------------------------------------- * * Copyright (c) 2009-2010 Design Science, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ if (!window.MathJax) {window.MathJax = {}} MathJax.Unpack = function (data) { var k, d, n, m, i; for (k = 0, m = data.length; k < m; k++) { d = data[k]; for (i = 0, n = d.length; i < n; i++) {if (typeof(d[i]) == 'number') {d[i] = d[d[i]]}} data[k] = d.join(''); } eval(data.join('')); }; MathJax.isPacked = true; MathJax.Unpack([ ['if(','document.','getElementById','&&',1,'childNodes&&',1,'createElement','){','if(!','window.MathJax','){',10,'={}}',9,'MathJax.Hub','){MathJax.version="1.0.7";(','function(','d){','var b=','window[d];if(!','b){b','=window[d]={}}var ','f','=[];','var c=',17,'g','){var h=','g.','constructor',';if(!','h){h=','new Function','("")}','for(var ','i in g){if(i!=="',30,'"&&g','.hasOwnProperty','(i)){h[i]=g[i]}}','return ','h};var a=','function(){',41,33,'("',41,'arguments','.callee','.Init','.call(this,',48,')")};var e=a();e','.prototype','={bug_test:1};',9,'e',54,'.bug_test){a=',43,41,43,41,48,49,50,51,48,')}}}b.','Object','=c({',30,':a(),Subclass:',17,'g,i',28,'a();h.SUPER=this;h',50,'=this',50,';h','.Subclass','=this',82,';h.Augment=this.Augment;h.','protoFunction','=this.',86,';h.can=this.can;h.has=this.has;h.isa=this.isa;h',54,'=new this(f);h',54,'.',30,'=h;h.Augment(g,i);',41,'h},Init:',17,'g',28,'this;if(g','.length===','1&&g[0]===f','){return ','h}if(!(h ','instanceof ','g',49,')){h=new g',49,'(f)}',41,'h',50,'.apply(','h,g)||h},Augment:',17,'g,h){var i;if(g','!=null){for(i in ','g){if(g',39,'(i)){this','.',86,'(i,g[i','])}}if(g.toString!==this.prototype.toString&&g.toString!=={}.toString){this.protoFunction("toString",g.toString)}}','if(h',119,'h){if(','h',39,122,'[i]=h[i]}}}',41,'this},',86,':',17,'h,g){this',54,'[h]=g;','if(typeof',' g','==="function"){','g.SUPER=this.SUPER',54,'}},prototype:{Init',':function(){},','SUPER:',17,'g',104,'g',49,'.SUPER},can:',17,'g',104,'typeof(this[g','])==="function"},has:',17,'g',104,159,'])!=="undefined','"},isa:',17,'g){return(g ',106,70,')&&(this ',106,'g)}},can:',17,'g',104,'this',54,'.can',51,'g)},has:',17,'g',104,'this',54,'.has',51,'g)},isa:',17,'h){var g=this;while(',120,'===h',104,'true}else{g=g.SUPER}}',41,'false},SimpleSUPER:c({',30,':',17,'g',104,'this.SimpleSUPER.define(g)},define:',17,'g){var i={};if(g!=null){',35,'h in ',120,39,'(h)){this.',86,'(h,g[h',126,41,'i},wrap:',17,'i,h){',142,'(h',')==="function"&&','h','.toString','().match(/\\.\\s*SUPER\\s*\\(/)){var g=',33,'(this.wrapper);g.label=i;g','.original','=h;h=g;g',222,'=this.stringify}',41,'h},wrapper:',43,'var h=',48,49,';this.SUPER=h.SUPER[h.label];try{var g=h',226,'.apply(this',',',48,')}catch(i){','delete this.','SUPER;','throw i}',242,243,41,'g}.','toString().replace','(/^\\s*function \\(\\)\\s*\\{\\s*/i,"").replace(/\\s*\\}\\s*$/i,""),toString:',43,41,'this',226,222,238,226,',',48,')}})})})("MathJax");(',17,'BASENAME){var ','BASE=window[BASENAME','];',9,'BASE){',263,']={}}var ','CALLBACK','=',17,'data){var cb=',33,'("',41,48,49,'.execute',115,48,49,',',48,')");',35,'id in ','CALLBACK.prototype','){if(',287,39,'(id)){',142,'(data[id',165,'"){cb[id]=data[id]}else{cb[id]=',287,'[id]}}}cb',222,'=',287,222,';',41,'cb};',287,'={isCallback:true,hook',148,'data:[],object:window,execute:',43,9,'this.called||this.autoReset){this.called=!this.autoReset;',41,'this.hook',238,'.object,this','.data.concat([].slice.call(',48,',0)))}},reset:',43,242,'called},toString:',43,41,313,222,238,'.hook,',48,')}};var ISCALLBACK=',17,'f){return(typeof(f',220,'f.isCallback)};var EVAL=',17,'code',104,'eval.call(window,code)};EVAL("var __TeSt_VaR__ = 1','");if(','window.__TeSt_VaR__','){try{delete ',339,'}catch(error){',339,'=null}}else{if(','window.execScript','){EVAL=',17,'code){BASE.__code=code;code="try {"+BASENAME+".__result = eval("+BASENAME+".__code)} catch(err) {"+BASENAME+".__result = err}";',345,'(code',');var result=BASE.__result;delete BASE.__result;delete BASE.__code;if(result instanceof Error){throw result}return result','}}else{EVAL=',17,348,'var head=(',1,'getElementsByTagName("head"))[0];if(!','head){head=',1,'body}var script=',1,7,'("script");','script','.appendChild(',1,'createTextNode','(code));head',365,'script);','head.removeChild(','script',351,'}}}var USING=',17,'args,i','){if(',48,'.length','>1){if(',48,102,'2&&!(typeof ',48,'[0]==="function")&&',48,'[0] ',106,'Object&&typeof ',48,'[1]==="number"){','args=[].slice.call(',376,')}else{',392,48,',0)}}if(args ',106,'Array&&args',102,'1){args=args[0]}',142,' args',144,'if(args',278,'===',287,278,104,'args}',41,269,'({hook:args})}else{if(args ',106,'Array){',142,'(args[0])==="string"&&args[1] ',106,389,'args[1][args[0]]==="','function"){return CALLBACK({hook:args[','1][args[0]],object:args[1','],data:args.slice(','2)})}else{',142,' args[0]==="',422,'0',424,'1)})}else{',142,' args[1]==="',422,'1],object:args[0',424,'2)})}}}}else{',142,'(args)==="','string"){',41,269,'({hook:EVAL,data:[args]})}else{if(args ',106,70,104,269,'(args',394,142,439,'undefined"){',41,269,'({})}}}}}','throw Error("Can\'t ','make ','callback',' from given data")};var DELAY=',17,'time,',458,'){callback=USING(callback);',458,'.timeout=','setTimeout(',458,',time);','return callback','};var WAITFOR=',17,458,',signal',463,9,458,'.called){','WAITSIGNAL(',458,473,');signal.pending++}};var WAITEXECUTE=',43,'var signals=this','.signal',';',242,'signal;this',278,'=this.','oldExecute;',242,490,'var result=','this',278,238,',',48,');','if(ISCALLBACK(result)&&!result.called){',478,'result,signals',394,'for(var i=0,m=','signals','.length;if){f=',1,909,379,'}',9,'h){h=(',1,357,32,1,'body}}',41,'h};var e',24,19,43,35,'j=0,h=e',379,';j=this.timeout){h(','this.STATUS.ERROR',');',41,'1}',41,'0},file:',17,'i,',129,'h<0){',935,1010,'(i',394,935,'loadComplete','(i)}},execute:',43,313,717,315,',this.data[0],this.data[1])},',1069,':',17,'h,i,j){if(h.time(j)){return}if(',1,909,379,'>i&&',1,909,'[i].cssRules','&&',1,909,1125,379,'){j(h.STATUS.OK',394,466,'h,h.delay',')}},checkLength:',17,'h,k,m){if(h.time(m)){return}var l=0;var i=(k.sheet||k.styleSheet);try{if((i.cssRules||i.rules||[]).length>0){l=1}}catch(j){','if(j.message.match(/','protected variable|restricted URI/)){l=1}else{',1138,'Security error/)){l=1}}}if(l){',466,1008,'([m,h.STATUS.OK]),0',394,466,1134,')}}},',1108,':',17,32,985,'h);var i=',1012,'[h];if(i){a.Message.Clear(i.',754,'clearTimeout(','i.timeout);if(i.script){if(e',102,'0){',466,'b,0)}e.push(i.script)}',948,'h]=i.status;delete ',1012,'[h];',9,961,'h]){',961,'h]=[]}',961,'h].push(i.',458,394,948,'h]=',1020,';i={status:',1020,'}}',1008,'.',841,'(',961,'h],i.status)},',1010,':',17,129,1012,'[h].timeout','){',1158,1012,1194,')}',1012,'[h].status=',1093,';this.loadError(h);this.',1108,'(h)},loadError:',17,'h){a.Message.Set("File failed to load: "+h,null,2000)},Styles:',17,'j,k',28,'this.StyleString(',986,'h===""){k',944,'k);k()}else{var i=',1,7,'("style");',1030,968,1022,365,1053,'i',1056,'i',1058,'.styleSheet.cssText=h}else{i',365,1,367,'(h))}k=',1043,'.create',51,'k,i)}',41,'k},StyleString:',17,'m){',142,'(m)==="',440,41,'m}var j="",n,l;for(n in m){if(m',39,'(n)){',142,' m[n]==="',440,'j+=n+" {"+','m[n]+"}\\n"}else{if(m[n] ',106,416,35,'k=0;k1?d[1]:""));g=null}if(f&&(!b.',159,'||d)){c',32,'=c',32,517,498,',(f.length>1?f[1]:""))}if(g&&!g',32,'.match(/\\S/)){','g=g',480,'}}if(b.',164,'&&g&&g.className==b.',164,'){try{g.',422,'=""}catch(e){}g.style.display="none"}',283,'a.',22,477,'=1}},',400,46,'h,b,d){if(',356,'){',44,323,'q,o=',22,301,';var p=',195,176,',c=',195,178,';try{if(!b){b=','new Date().getTime','()}var j=0,l,f;while(jthis.',184,'&&j=0;o--){if(b[o].src.match(d)){q.script=b[o].',422,11,'RegExp.$2){q.params={};var r=RegExp.$2.substr(1).split(/\\&/);',140,'n=0,h=r.length;n=parseInt(x[y])}}',44,'true},Select',46,999,'j[','c.Browser','];if(i){',44,'i(',1359,')}',44,'null}};var g=',1329,'replace(/^Mozilla\\/(\\d+\\.)+\\d+ /,"").replace(/[a-z][-a-z0-9._: ]+\\/\\d+[^ ]*-[^ ]*\\.([a-z][a-z])?\\d+ /i,"").replace(/Gentoo |Ubuntu\\/(\\d+\\.)*\\d+ (\\([^)]*\\) )?/,"");',1359,'=c',192,'c',192,1348,'("Unknown"),{version:"0.0"}),a);',140,'t in a){if(a',712,'(t)){if(a[t]&&t',134,'2)==="is"){t=t.slice(2);if(t==="Mac"||t==="PC"){',563,1359,'=c',192,1348,'(t),a);var p',491,'(".*(Version',')/((?:\\\\d+\\\\.)+\\\\d','+)|.*("+t+")"+(t=="MSIE"?" ":"/")+"((?:\\\\d+\\\\.)*\\\\d+)|(?:^|\\\\(| )([a-z][-a-z0-9._: ]+|WebKit',1390,'+)");var s=p.exec(g)||["","","","unknown","0.0"];',1359,'.name=(s[1]=="Version"?t:(s[3]||s[5]));',1359,'.version=','s[2]||s[4]||s[6];break}}}',1359,'.Select({Safari',46,999,'parseInt((String(j',1346,'("."))[0]);if(i>=526){','j.version="','4.0','"}else{if(i','>=525){',1406,'3.1',1408,'>500){',1406,'3.0',1408,'>400){',1406,'2.0',1408,'>85){',1406,'1.0"}}}}}},Firefox',46,'j){if(j.version==="0.0"&&navigator.product==="Gecko"&&','navigator.productSub','){var i=',1426,134,'8);if(i>="20090630"){',1406,'3.5',1408,'>="20080617"){',1406,'3.0',1408,'>="20061024"){',1406,'2.0"}}}}},Opera',46,'i){i',1397,1338,'()}});',1359,'.Select(',22,655,'browsers);c.queue=f.',40,1065,'c.queue.Push(["','Post",q.signal,"','Begin"],["Config",q],["Cookie",q],["Styles",q],["Jax",q],["',893,'",q],q.onLoad(),',120,22,'isReady=true},["',317,'",q],["',1454,'End"])})("MathJax")}};'] ]);