Files
INTUIA/Programa final/_internal/share/jupyter/lab/static/6275.e99f9312900c481b467d.js
T

1 line
56 KiB
JavaScript
Raw Normal View History

2026-03-15 13:27:50 +00:00
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[6275],{24971:(t,e)=>{Object.defineProperty(e,"__esModule",{value:true});e.newState=e.STATE=e.AbstractMathItem=e.protoItem=void 0;function r(t,e,r,n,o,i,s){if(s===void 0){s=null}var a={open:t,math:e,close:r,n,start:{n:o},end:{n:i},display:s};return a}e.protoItem=r;var n=function(){function t(t,r,n,o,i){if(n===void 0){n=true}if(o===void 0){o={i:0,n:0,delim:""}}if(i===void 0){i={i:0,n:0,delim:""}}this.root=null;this.typesetRoot=null;this.metrics={};this.inputData={};this.outputData={};this._state=e.STATE.UNPROCESSED;this.math=t;this.inputJax=r;this.display=n;this.start=o;this.end=i;this.root=null;this.typesetRoot=null;this.metrics={};this.inputData={};this.outputData={}}Object.defineProperty(t.prototype,"isEscaped",{get:function(){return this.display===null},enumerable:false,configurable:true});t.prototype.render=function(t){t.renderActions.renderMath(this,t)};t.prototype.rerender=function(t,r){if(r===void 0){r=e.STATE.RERENDER}if(this.state()>=r){this.state(r-1)}t.renderActions.renderMath(this,t,r)};t.prototype.convert=function(t,r){if(r===void 0){r=e.STATE.LAST}t.renderActions.renderConvert(this,t,r)};t.prototype.compile=function(t){if(this.state()<e.STATE.COMPILED){this.root=this.inputJax.compile(this,t);this.state(e.STATE.COMPILED)}};t.prototype.typeset=function(t){if(this.state()<e.STATE.TYPESET){this.typesetRoot=t.outputJax[this.isEscaped?"escaped":"typeset"](this,t);this.state(e.STATE.TYPESET)}};t.prototype.updateDocument=function(t){};t.prototype.removeFromDocument=function(t){if(t===void 0){t=false}};t.prototype.setMetrics=function(t,e,r,n,o){this.metrics={em:t,ex:e,containerWidth:r,lineWidth:n,scale:o}};t.prototype.state=function(t,r){if(t===void 0){t=null}if(r===void 0){r=false}if(t!=null){if(t<e.STATE.INSERTED&&this._state>=e.STATE.INSERTED){this.removeFromDocument(r)}if(t<e.STATE.TYPESET&&this._state>=e.STATE.TYPESET){this.outputData={}}if(t<e.STATE.COMPILED&&this._state>=e.STATE.COMPILED){this.inputData={}}this._state=t}return this._state};t.prototype.reset=function(t){if(t===void 0){t=false}this.state(e.STATE.UNPROCESSED,t)};return t}();e.AbstractMathItem=n;e.STATE={UNPROCESSED:0,FINDMATH:10,COMPILED:20,CONVERT:100,METRICS:110,RERENDER:125,TYPESET:150,INSERTED:200,LAST:1e4};function o(t,r){if(t in e.STATE){throw Error("State "+t+" already exists")}e.STATE[t]=r}e.newState=o},54517:function(t,e,r){var n=this&&this.__extends||function(){var t=function(e,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]};return t(e,r)};return function(e,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var o=this&&this.__assign||function(){o=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o))t[o]=e[o]}return t};return o.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:true});e.TeXAtom=void 0;var i=r(80747);var s=r(38669);var a=function(t){n(e,t);function e(e,r,n){var o=t.call(this,e,r,n)||this;o.texclass=i.TEXCLASS.ORD;o.setProperty("texClass",o.texClass);return o}Object.defineProperty(e.prototype,"kind",{get:function(){return"TeXAtom"},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"arity",{get:function(){return-1},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"notParent",{get:function(){return this.childNodes[0]&&this.childNodes[0].childNodes.length===1},enumerable:false,configurable:true});e.prototype.setTeXclass=function(t){this.childNodes[0].setTeXclass(null);return this.adjustTeXclass(t)};e.prototype.adjustTeXclass=function(t){return t};e.defaults=o({},i.AbstractMmlBaseNode.defaults);return e}(i.AbstractMmlBaseNode);e.TeXAtom=a;a.prototype.a