gotty/bindata/static/js/gotty.js

3 lines
410 KiB
JavaScript
Raw Normal View History

2022-03-28 22:05:51 +00:00
/*! For license information please see gotty.js.LICENSE.txt */
(()=>{var e={619:(e,t)=>{var r;r=function(e){e.version="1.2.1";var t=function(){for(var e=0,t=new Array(256),r=0;256!=r;++r)e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=r)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1,t[r]=e;return"undefined"!=typeof Int32Array?new Int32Array(t):t}(),r=function(e){var t=0,r=0,i=0,n="undefined"!=typeof Int32Array?new Int32Array(4096):new Array(4096);for(i=0;256!=i;++i)n[i]=e[i];for(i=0;256!=i;++i)for(r=e[i],t=256+i;t<4096;t+=256)r=n[t]=r>>>8^e[255&r];var o=[];for(i=1;16!=i;++i)o[i-1]="undefined"!=typeof Int32Array?n.subarray(256*i,256*i+256):n.slice(256*i,256*i+256);return o}(t),i=r[0],n=r[1],o=r[2],s=r[3],a=r[4],c=r[5],l=r[6],h=r[7],u=r[8],_=r[9],f=r[10],d=r[11],p=r[12],v=r[13],g=r[14];e.table=t,e.bstr=function(e,r){for(var i=-1^r,n=0,o=e.length;n<o;)i=i>>>8^t[255&(i^e.charCodeAt(n++))];return~i},e.buf=function(e,r){for(var y=-1^r,m=e.length-15,b=0;b<m;)y=g[e[b++]^255&y]^v[e[b++]^y>>8&255]^p[e[b++]^y>>16&255]^d[e[b++]^y>>>24]^f[e[b++]]^_[e[b++]]^u[e[b++]]^h[e[b++]]^l[e[b++]]^c[e[b++]]^a[e[b++]]^s[e[b++]]^o[e[b++]]^n[e[b++]]^i[e[b++]]^t[e[b++]];for(m+=15;b<m;)y=y>>>8^t[255&(y^e[b++])];return~y},e.str=function(e,r){for(var i=-1^r,n=0,o=e.length,s=0,a=0;n<o;)(s=e.charCodeAt(n++))<128?i=i>>>8^t[255&(i^s)]:s<2048?i=(i=i>>>8^t[255&(i^(192|s>>6&31))])>>>8^t[255&(i^(128|63&s))]:s>=55296&&s<57344?(s=64+(1023&s),a=1023&e.charCodeAt(n++),i=(i=(i=(i=i>>>8^t[255&(i^(240|s>>8&7))])>>>8^t[255&(i^(128|s>>2&63))])>>>8^t[255&(i^(128|a>>6&15|(3&s)<<4))])>>>8^t[255&(i^(128|63&a))]):i=(i=(i=i>>>8^t[255&(i^(224|s>>12&15))])>>>8^t[255&(i^(128|s>>6&63))])>>>8^t[255&(i^(128|63&s))];return~i}},"undefined"==typeof DO_NOT_EXPORT_CRC?r(t):r({})},881:e=>{self,e.exports=(()=>{"use strict";var e={775:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FitAddon=void 0;var r=function(){function e(){}return e.prototype.activate=function(e){this._terminal=e},e.prototype.dispose=function(){},e.prototype.fit=function(){var e=this.proposeDimensions();if(e&&this._terminal){var t=this._terminal._core;this._terminal.rows===e.rows&&this._terminal.cols===e.cols||(t._renderService.clear(),this._terminal.resize(e.cols,e.rows))}},e.prototype.proposeDimensions=function(){if(this._terminal&&this._terminal.element&&this._terminal.element.parentElement){var e=this._terminal._core;if(0!==e._renderService.dimensions.actualCellWidth&&0!==e._renderService.dimensions.actualCellHeight){var t=window.getComputedStyle(this._terminal.element.parentElement),r=parseInt(t.getPropertyValue("height")),i=Math.max(0,parseInt(t.getPropertyValue("width"))),n=window.getComputedStyle(this._terminal.element),o=r-(parseInt(n.getPropertyValue("padding-top"))+parseInt(n.getPropertyValue("padding-bottom"))),s=i-(parseInt(n.getPropertyValue("padding-right"))+parseInt(n.getPropertyValue("padding-left")))-e.viewport.scrollBarWidth;return{cols:Math.max(2,Math.floor(s/e._renderService.dimensions.actualCellWidth)),rows:Math.max(1,Math.floor(o/e._renderService.dimensions.actualCellHeight))}}}},e}();t.FitAddon=r}},t={};return function r(i){if(t[i])return t[i].exports;var n=t[i]={exports:{}};return e[i](n,n.exports,r),n.exports}(775)})()},962:e=>{window,e.exports=function(e){var t={};function r(i){if(t[i])return t[i].exports;var n=t[i]={i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(i,n,function(t){return e[t]}.bind(null,n));return i},r.n=function(e){var t=e&&e.__esModule?function(){return e
2022-03-28 22:05:51 +00:00
//# sourceMappingURL=gotty.js.map