1
0
mirror of https://github.com/writeas/writefreely synced 2024-12-08 14:35:44 +01:00
writefreely/static/js/mathjax/tex-svg-full.js

1 line
2.6 MiB
JavaScript
Raw Normal View History

2019-09-11 23:04:13 +02:00
!function(t){var e={};function r(Q){if(e[Q])return e[Q].exports;var T=e[Q]={i:Q,l:!1,exports:{}};return t[Q].call(T.exports,T,T.exports,r),T.l=!0,T.exports}r.m=t,r.c=e,r.d=function(Q,T,t){r.o(Q,T)||Object.defineProperty(Q,T,{enumerable:!0,get:t})},r.r=function(Q){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(Q,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(Q,"__esModule",{value:!0})},r.t=function(T,Q){if(1&Q&&(T=r(T)),8&Q)return T;if(4&Q&&"object"==typeof T&&T&&T.__esModule)return T;var t=Object.create(null);if(r.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:T}),2&Q&&"string"!=typeof T)for(var e in T)r.d(t,e,function(Q){return T[Q]}.bind(null,e));return t},r.n=function(Q){var T=Q&&Q.__esModule?function(){return Q.default}:function(){return Q};return r.d(T,"a",T),T},r.o=function(Q,T){return Object.prototype.hasOwnProperty.call(Q,T)},r.p="",r(r.s=262)}([function(Q,i,T){"use strict";var e,t=this&&this.__extends||(e=function(Q,T){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,T){Q.__proto__=T}||function(Q,T){for(var t in T)T.hasOwnProperty(t)&&(Q[t]=T[t])})(Q,T)},function(Q,T){function t(){this.constructor=Q}e(Q,T),Q.prototype=null===T?Object.create(T):(t.prototype=T.prototype,new t)}),a=this&&this.__assign||function(){return(a=Object.assign||function(Q){for(var T,t=1,e=arguments.length;t<e;t++)for(var r in T=arguments[t])Object.prototype.hasOwnProperty.call(T,r)&&(Q[r]=T[r]);return Q}).apply(this,arguments)},u=this&&this.__values||function(Q){var T="function"==typeof Symbol&&Symbol.iterator,t=T&&Q[T],e=0;if(t)return t.call(Q);if(Q&&"number"==typeof Q.length)return{next:function(){return Q&&e>=Q.length&&(Q=void 0),{value:Q&&Q[e++],done:!Q}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")},p=this&&this.__read||function(Q,T){var t="function"==typeof Symbol&&Q[Symbol.iterator];if(!t)return Q;var e,r,n=t.call(Q),o=[];try{for(;(void 0===T||0<T--)&&!(e=n.next()).done;)o.push(e.value)}catch(Q){r={error:Q}}finally{try{e&&!e.done&&(t=n.return)&&t.call(n)}finally{if(r)throw r.error}}return o};Object.defineProperty(i,"__esModule",{value:!0});var r=T(21),n=T(48);i.TEXCLASS={ORD:0,OP:1,BIN:2,REL:3,OPEN:4,CLOSE:5,PUNCT:6,INNER:7,VCENTER:8,NONE:-1},i.TEXCLASSNAMES=["ORD","OP","BIN","REL","OPEN","CLOSE","PUNCT","INNER","VCENTER"];var o=["","thinmathspace","mediummathspace","thickmathspace"],s=[[0,-1,2,3,0,0,0,1],[-1,-1,0,3,0,0,0,1],[2,2,0,0,2,0,0,2],[3,3,0,0,3,0,0,3],[0,0,0,0,0,0,0,0],[0,-1,2,3,0,0,0,1],[1,1,0,1,1,1,1,1],[1,-1,2,3,1,0,1,1]];i.indentAttributes=["indentalign","indentalignfirst","indentshift","indentshiftfirst"];var L,l=(L=n.AbstractNode,t(h,L),Object.defineProperty(h.prototype,"isToken",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"isEmbellished",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"isSpacelike",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"linebreakContainer",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"hasNewLine",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"arity",{get:function(){return 1/0},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"isInferred",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"Parent",{get:function(){for(var Q=this.parent;Q&&Q.notParent;)Q=Q.Parent;return Q},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"notParent",{get:function(){return!1},enumerable:!0,configurable:!0}),h.prototype.setChildren=function(Q){return this.arity<0?this.childNodes[0].setChildren(Q):L.prototype.setChildren.call(this,Q)},h.prototype.appendChild=function(Q){return this.arity<0?(this.childNodes[0].appendChild(Q),Q):L.prototype.appendChild.call(this,Q)},h.prototype.replaceChild=function(Q,T){return this.arity<0?(this.childNodes[0].replaceChild(Q,T),Q):L.prototype.replaceChild.call(this,Q,T)},