Files
INTUIA/Programa final/_internal/jupyterlab/static/4855.29e8dc6982ba4873487d.js
T

1 line
12 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([[4855],{34855:function(t,e,r){var i=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 i(){this.constructor=e}e.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}}();var o=this&&this.__assign||function(){o=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;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)};var n=this&&this.__read||function(t,e){var r=typeof Symbol==="function"&&t[Symbol.iterator];if(!r)return t;var i=r.call(t),o,n=[],a;try{while((e===void 0||e-- >0)&&!(o=i.next()).done)n.push(o.value)}catch(s){a={error:s}}finally{try{if(o&&!o.done&&(r=i["return"]))r.call(i)}finally{if(a)throw a.error}}return n};var a=this&&this.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var i=0,o=e.length,n;i<o;i++){if(n||!(i in e)){if(!n)n=Array.prototype.slice.call(e,0,i);n[i]=e[i]}}return t.concat(n||Array.prototype.slice.call(e))};var s=this&&this.__values||function(t){var e=typeof Symbol==="function"&&Symbol.iterator,r=e&&t[e],i=0;if(r)return r.call(t);if(t&&typeof t.length==="number")return{next:function(){if(t&&i>=t.length)t=void 0;return{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(e,"__esModule",{value:true});e.AssistiveMmlHandler=e.AssistiveMmlMathDocumentMixin=e.AssistiveMmlMathItemMixin=e.LimitedMmlVisitor=void 0;var l=r(24971);var u=r(14347);var c=r(34981);var p=function(t){i(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}e.prototype.getAttributes=function(e){return t.prototype.getAttributes.call(this,e).replace(/ ?id=".*?"/,"")};return e}(u.SerializedMmlVisitor);e.LimitedMmlVisitor=p;(0,l.newState)("ASSISTIVEMML",153);function f(t){return function(t){i(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}e.prototype.assistiveMml=function(t,e){if(e===void 0){e=false}if(this.state()>=l.STATE.ASSISTIVEMML)return;if(!this.isEscaped&&(t.options.enableAssistiveMml||e)){var r=t.adaptor;var i=t.toMML(this.root).replace(/\n */g,"").replace(/<!--.*?-->/g,"");var o=r.firstChild(r.body(r.parse(i,"text/html")));var n=r.node("mjx-assistive-mml",{unselectable:"on",display:this.display?"block":"inline"},[o]);r.setAttribute(r.firstChild(this.typesetRoot),"aria-hidden","true");r.setStyle(this.typesetRoot,"position","relative");r.append(this.typesetRoot,n)}this.state(l.STATE.ASSISTIVEMML)};return e}(t)}e.AssistiveMmlMathItemMixin=f;function v(t){var e;return e=function(t){i(e,t);function e(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var i=t.apply(this,a([],n(e),false))||this;var o=i.constructor;var s=o.ProcessBits;if(!s.has("assistive-mml")){s.allocate("assistive-mml")}i.visitor=new p(i.mmlFactory);i.options.MathItem=f(i.options.MathItem);if("addStyles"in i){i.addStyles(o.assistiveStyles)}return i}e.prototype.toMML=function(t){return this.visitor.visitTree(t)};e.prototype.assistiveMml=function(){var t,e;if(!this.processed.isSet("assistive-mml")){try{for(var r=s(this.math),i=r.next();!i.done;i=r.next()){var o=i.value;o.assistiveMml(this)}}catch(n){t={error:n}}finally{try{if(i&&!i.done&&(e=r.return))e.call(r)}finally{if(t)throw t.error}}this.processed.set("assistive-mml")}return this};e.prototype.state=function(e,r){if(r===void 0){r=false}t.prototype.state.call(this,e,r);if(e<l.STATE.ASSISTIVEMML){this.processed.clear("assistive-mml")}return this};return e}(t),e.OPTIONS=o(o({},t.OPTIONS),{enableAssistiveMml:true,renderActions:(0,c.expandable)(o(o({},t.OPTIONS.renderActions),{assistiveMml:[l.STATE.ASSISTIVEMML]}))}),e.as