@platformatic/watt-admin 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +68 -0
- package/cli.js +155 -0
- package/lib/start.js +19 -0
- package/package.json +59 -0
- package/watt.json +13 -0
- package/web/backend/dist/plugins/metrics.js +13 -0
- package/web/backend/dist/plugins/metrics.js.map +1 -0
- package/web/backend/dist/routes/root.js +84 -0
- package/web/backend/dist/routes/root.js.map +1 -0
- package/web/backend/dist/utils/calc.js +200 -0
- package/web/backend/dist/utils/calc.js.map +1 -0
- package/web/backend/dist/utils/log.js +29 -0
- package/web/backend/dist/utils/log.js.map +1 -0
- package/web/backend/platformatic.json +17 -0
- package/web/composer/platformatic.json +22 -0
- package/web/frontend/dist/.platformatic-build.json +1 -0
- package/web/frontend/dist/assets/index-BfyK1jrk.js +267 -0
- package/web/frontend/dist/assets/index-BfyK1jrk.js.map +1 -0
- package/web/frontend/dist/assets/index-D-ld0Cou.css +1 -0
- package/web/frontend/dist/browser-source-map-support.js +434 -0
- package/web/frontend/dist/favicon.svg +10 -0
- package/web/frontend/dist/fonts/Inter/Inter-VariableFont_wght.ttf +0 -0
- package/web/frontend/dist/fonts/Inter/OFL.txt +93 -0
- package/web/frontend/dist/fonts/Roboto_Mono/LICENSE.txt +202 -0
- package/web/frontend/dist/fonts/Roboto_Mono/RobotoMono-VariableFont_wght.ttf +0 -0
- package/web/frontend/dist/index.html +18 -0
- package/web/frontend/index.html +17 -0
- package/web/frontend/postcss.config.cjs +11 -0
- package/web/frontend/public/browser-source-map-support.js +434 -0
- package/web/frontend/public/favicon.svg +10 -0
- package/web/frontend/public/fonts/Inter/Inter-VariableFont_wght.ttf +0 -0
- package/web/frontend/public/fonts/Inter/OFL.txt +93 -0
- package/web/frontend/public/fonts/Roboto_Mono/LICENSE.txt +202 -0
- package/web/frontend/public/fonts/Roboto_Mono/RobotoMono-VariableFont_wght.ttf +0 -0
- package/web/frontend/watt.json +7 -0
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Support for source maps in V8 stack traces
|
|
3
|
+
* https://github.com/evanw/node-source-map-support
|
|
4
|
+
*/
|
|
5
|
+
/*
|
|
6
|
+
The buffer module from node.js, for the browser.
|
|
7
|
+
|
|
8
|
+
@author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|
9
|
+
license MIT
|
|
10
|
+
*/
|
|
11
|
+
(this.define || function (R, U) { this.sourceMapSupport = U() })('browser-source-map-support', function (R) {
|
|
12
|
+
(function e (C, J, A) { function p (f, c) { if (!J[f]) { if (!C[f]) { var l = 'function'===typeof require && require; if (!c && l) return l(f, !0); if (t) return t(f, !0); throw Error("Cannot find module '" + f + "'")}l = J[f] = { exports: {} }; C[f][0].call(l.exports, function (q) { let r = C[f][1][q]; return p(r || q) }, l, l.exports, e, C, J, A) } return J[f].exports }for (var t = 'function'===typeof require && require, m = 0; m < A.length; m++)p(A[m]); return p })({
|
|
13
|
+
1: [function (C,
|
|
14
|
+
J, A) { R = C('./source-map-support') }, { './source-map-support': 21 }],
|
|
15
|
+
2: [function (C, J, A) {
|
|
16
|
+
(function (e) {
|
|
17
|
+
function p (m) { m = m.charCodeAt(0); if (m===43) return 62; if (m===47) return 63; if (m<48)return -1; if (m<58) return m - 48 + 52; if (m<91) return m - 65; if (m<123) return m - 97 + 26 } let t = 'undefined' !== typeof Uint8Array ? Uint8Array : Array; e.toByteArray = function (m) {
|
|
18
|
+
function f (d) { q[k++] = d }if (m.length%4>0) throw Error('Invalid string. Length must be a multiple of 4'); let c = m.length; let l = '=' === m.charAt(c - 2) ? 2 : '=' === m.charAt(c - 1) ? 1 : 0; var q =
|
|
19
|
+
new t(3 * m.length / 4 - l); let r = l>0 ? m.length - 4 : m.length; var k = 0; for (c = 0; c < r; c += 4) { var u = p(m.charAt(c)) << 18 | p(m.charAt(c + 1)) << 12 | p(m.charAt(c + 2)) << 6 | p(m.charAt(c + 3)); f((u & 16711680) >> 16); f((u & 65280) >> 8); f(u & 255) }l===2 ? (u = p(m.charAt(c)) << 2 | p(m.charAt(c + 1)) >> 4, f(u & 255)) : l===1 && (u = p(m.charAt(c)) << 10 | p(m.charAt(c + 1)) << 4 | p(m.charAt(c + 2)) >> 2, f(u >> 8 & 255), f(u & 255)); return q
|
|
20
|
+
}; e.fromByteArray = function (m) {
|
|
21
|
+
let f = m.length % 3; var c=""; var l; let q = 0; for (l = m.length - f; q < l; q += 3) {
|
|
22
|
+
var r = (m[q] << 16) + (m[q + 1] << 8) + m[q + 2]; r = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.charAt(r >>
|
|
23
|
+
18 & 63) + 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.charAt(r >> 12 & 63) + 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.charAt(r >> 6 & 63) + 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.charAt(r & 63); c += r
|
|
24
|
+
}switch (f) {
|
|
25
|
+
case 1:r = m[m.length - 1]; c += 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.charAt(r >> 2); c += 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.charAt(r << 4 & 63); c += '=='; break; case 2:r = (m[m.length - 2] << 8) +
|
|
26
|
+
m[m.length - 1], c += 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.charAt(r >> 10), c += 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.charAt(r >> 4 & 63), c += 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.charAt(r << 2 & 63), c += '='
|
|
27
|
+
} return c
|
|
28
|
+
}
|
|
29
|
+
})('undefined' === typeof A ? this.base64js = {} : A)
|
|
30
|
+
}, {}],
|
|
31
|
+
3: [function (C, J, A) {}, {}],
|
|
32
|
+
4: [function (C, J, A) {
|
|
33
|
+
(function (e) {
|
|
34
|
+
let p = Object.prototype.toString; var t = 'function' === typeof e.alloc && 'function' === typeof e.allocUnsafe && 'function' ===
|
|
35
|
+
typeof e.from; J.exports = function (m, f, c) {
|
|
36
|
+
if ('number' === typeof m) throw new TypeError('"value" argument must not be a number'); if ('ArrayBuffer' === p.call(m).slice(8, -1)) { f >>>= 0; let l = m.byteLength - f; if (l<0) throw new RangeError("'offset' is out of bounds"); if (void 0 === c)c = l; else if (c >>>= 0, c > l) throw new RangeError("'length' is out of bounds"); return t ? e.from(m.slice(f, f + c)) : new e(new Uint8Array(m.slice(f, f + c))) }if ('string' === typeof m) {
|
|
37
|
+
c = f; if ('string' !== typeof c || '' === c)c = 'utf8'; if (!e.isEncoding(c)) throw new TypeError('"encoding" must be a valid string encoding')
|
|
38
|
+
return t ? e.from(m, c) : new e(m, c)
|
|
39
|
+
} return t ? e.from(m) : new e(m)
|
|
40
|
+
}
|
|
41
|
+
}).call(this, C('buffer').Buffer)
|
|
42
|
+
}, { buffer: 5 }],
|
|
43
|
+
5: [function (C, J, A) {
|
|
44
|
+
function e (a, b, h) {
|
|
45
|
+
if (!(this instanceof e)) return new e(a, b, h); let w = typeof a; if ('number' === w) var y = a>0 ? a >>> 0 : 0; else if ('string' === w) { if ('base64' === b)for (a = (a.trim ? a.trim() : a.replace(/^\s+|\s+$/g, '')).replace(L, ''); a.length%4!==0;)a += '='; y = e.byteLength(a, b) } else if ('object' === w && a!==null)'Buffer' === a.type && z(a.data) && (a = a.data), y = +a.length>0 ? Math.floor(+a.length) : 0; else throw new TypeError('must start with number, buffer, array or string')
|
|
46
|
+
if (this.length > G) throw new RangeError('Attempt to allocate Buffer larger than maximum size: 0x' + G.toString(16) + ' bytes'); if (e.TYPED_ARRAY_SUPPORT) var I = e._augment(new Uint8Array(y)); else I = this, I.length = y, I._isBuffer = !0; if (e.TYPED_ARRAY_SUPPORT && 'number' === typeof a.byteLength)I._set(a); else {
|
|
47
|
+
let K = a; if (z(K) || e.isBuffer(K) || K && 'object' === typeof K && 'number' === typeof K.length)if (e.isBuffer(a))for (b = 0; b < y; b++)I[b] = a.readUInt8(b); else for (b = 0; b < y; b++)I[b] = (a[b] % 256 + 256) % 256; else if ('string' === w){I.write(a,
|
|
48
|
+
0,b);} else if ('number' === w && !e.TYPED_ARRAY_SUPPORT && !h)for (b = 0; b < y; b++)I[b] = 0
|
|
49
|
+
} return I
|
|
50
|
+
} function p (a, b, h) { let w = ''; for (h = Math.min(a.length, h); b < h; b++)w += String.fromCharCode(a[b]); return w } function t (a, b, h) { if (a%1!==0 || a<0) throw new RangeError('offset is not uint'); if (a + b > h) throw new RangeError('Trying to access beyond buffer length')} function m (a, b, h, w, y, I) {
|
|
51
|
+
if (!e.isBuffer(a)) throw new TypeError('buffer must be a Buffer instance'); if (b > y || b < I) throw new TypeError('value is out of bounds'); if (h + w > a.length) throw new TypeError('index out of range')
|
|
52
|
+
} function f (a, b, h, w) { b<0 && (b = 65535 + b + 1); for (let y = 0, I = Math.min(a.length - h, 2); y < I; y++)a[h + y] = (b & 255 << 8 * (w ? y : 1 - y)) >>> 8 * (w ? y : 1 - y) } function c (a, b, h, w) { b<0 && (b = 4294967295 + b + 1); for (let y = 0, I = Math.min(a.length - h, 4); y < I; y++)a[h + y] = b >>> 8 * (w ? y : 3 - y) & 255 } function l (a, b, h, w, y, I) { if (b > y || b < I) throw new TypeError('value is out of bounds'); if (h + w > a.length) throw new TypeError('index out of range')} function q (a, b, h, w, y) { y || l(a, b, h, 4, 3.4028234663852886E38, -3.4028234663852886E38); v.write(a, b, h, w, 23, 4); return h + 4 } function r (a,
|
|
53
|
+
b, h, w, y) { y || l(a, b, h, 8, 1.7976931348623157E308, -1.7976931348623157E308); v.write(a, b, h, w, 52, 8); return h + 8 } function k (a) { for (var b = [], h = 0; h < a.length; h++) { let w = a.charCodeAt(h); if (w<=127)b.push(w); else { let y = h; w>=55296 && w<=57343 && h++; w = encodeURIComponent(a.slice(y, h + 1)).substr(1).split('%'); for (y = 0; y < w.length; y++)b.push(parseInt(w[y], 16)) } } return b } function u (a) { for (var b = [], h = 0; h < a.length; h++)b.push(a.charCodeAt(h) & 255); return b } function d (a, b, h, w, y) {
|
|
54
|
+
y && (w -= w % y); for (y = 0; y < w && !(y + h >= b.length || y >= a.length); y++){b[y+
|
|
55
|
+
h]=a[y];} return y
|
|
56
|
+
} function g (a) { try { return decodeURIComponent(a) }catch (b) { return String.fromCharCode(65533) } } var n = C('base64-js'); var v=C("ieee754"); var z = C('is-array'); A.Buffer = e; A.SlowBuffer = e; A.INSPECT_MAX_BYTES = 50; e.poolSize = 8192; var G = 1073741823; e.TYPED_ARRAY_SUPPORT = (function(){try{var a=new ArrayBuffer(0),b=new Uint8Array(a);b.foo=function(){return 42};return 42===b.foo()&&"function"===typeof b.subarray&&0===(new Uint8Array(1)).subarray(1,1).byteLength}catch(h){return!1}}()); e.isBuffer = function (a) {
|
|
57
|
+
return !(a==
|
|
58
|
+
null || !a._isBuffer)
|
|
59
|
+
}; e.compare = function (a, b) { if (!e.isBuffer(a) || !e.isBuffer(b)) throw new TypeError('Arguments must be Buffers'); for (var h = a.length, w = b.length, y = 0, I = Math.min(h, w); y < I && a[y] === b[y]; y++);y !== I && (h = a[y], w = b[y]); return h < w ? -1 : w < h ? 1 : 0 }; e.isEncoding = function (a) { switch (String(a).toLowerCase()) { case 'hex':case 'utf8':case 'utf-8':case 'ascii':case 'binary':case 'base64':case 'raw':case 'ucs2':case 'ucs-2':case 'utf16le':case 'utf-16le':return !0; default:return !1 } }; e.concat = function (a, b) {
|
|
60
|
+
if (!z(a)) throw new TypeError('Usage: Buffer.concat(list[, length])')
|
|
61
|
+
if (a.length===0) return new e(0); if (a.length===1) return a[0]; let h; if (void 0 === b)for (h = b = 0; h < a.length; h++)b += a[h].length; let w = new e(b); var y = 0; for (h = 0; h < a.length; h++) { let I = a[h]; I.copy(w, y); y += I.length } return w
|
|
62
|
+
}; e.byteLength = function (a, b) {
|
|
63
|
+
a += ''; switch (b || 'utf8') {
|
|
64
|
+
case 'ascii':case 'binary':case 'raw':var h = a.length; break; case 'ucs2':case 'ucs-2':case 'utf16le':case 'utf-16le':h = 2 * a.length; break; case 'hex':h = a.length >>> 1; break; case 'utf8':case 'utf-8':h = k(a).length; break; case 'base64':h = n.toByteArray(a).length
|
|
65
|
+
break; default:h = a.length
|
|
66
|
+
} return h
|
|
67
|
+
}; e.prototype.length = void 0; e.prototype.parent = void 0; e.prototype.toString = function (a, b, h) {
|
|
68
|
+
let w = !1; b >>>= 0; h = void 0 === h || Infinity === h ? this.length : h >>> 0; a || (a = 'utf8'); b<0 && (b = 0); h > this.length && (h = this.length); if (h <= b)return ''; for (;;){switch(a){case "hex":a=b;b=h;h=this.length;if(!a||0>a)a=0;if(!b||0>b||b>h)b=h;w="";for(h=a;h<b;h++)a=w,w=this[h],w=16>w?"0"+w.toString(16):w.toString(16),w=a+w;return w;case "utf8":case "utf-8":w=a="";for(h=Math.min(this.length,h);b<h;b++)127>=
|
|
69
|
+
this[b]?(a+=g(w)+String.fromCharCode(this[b]),w=""):w+="%"+this[b].toString(16);return a+g(w);case "ascii":return p(this,b,h);case "binary":return p(this,b,h);case "base64":return b=0===b&&h===this.length?n.fromByteArray(this):n.fromByteArray(this.slice(b,h)),b;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":b=this.slice(b,h);h="";for(a=0;a<b.length;a+=2)h+=String.fromCharCode(b[a]+256*b[a+1]);return h;default:if(w)throw new TypeError("Unknown encoding: "+a);a=(a+"").toLowerCase();w=!0}}
|
|
70
|
+
}
|
|
71
|
+
e.prototype.equals = function (a) { if (!e.isBuffer(a)) throw new TypeError('Argument must be a Buffer'); return e.compare(this,a)===0 }; e.prototype.inspect = function () { let a = ''; var b = A.INSPECT_MAX_BYTES; this.length>0 && (a = this.toString('hex', 0, b).match(/.{2}/g).join(' '), this.length > b && (a += ' ... ')); return '<Buffer ' + a + '>' }; e.prototype.compare = function (a) { if (!e.isBuffer(a)) throw new TypeError('Argument must be a Buffer'); return e.compare(this, a) }; e.prototype.get = function (a) {
|
|
72
|
+
console.log('.get() is deprecated. Access using array indexes instead.')
|
|
73
|
+
return this.readUInt8(a)
|
|
74
|
+
}; e.prototype.set = function (a, b) { console.log('.set() is deprecated. Access using array indexes instead.'); return this.writeUInt8(a, b) }; e.prototype.write = function (a, b, h, w) {
|
|
75
|
+
if (isFinite(b))isFinite(h) || (w = h, h = void 0); else { var y = w; w = b; b = h; h = y }b = Number(b) || 0; y = this.length - b; h ? (h = Number(h), h > y && (h = y)) : h = y; w = String(w || 'utf8').toLowerCase(); switch (w) {
|
|
76
|
+
case 'hex':b = Number(b) || 0; w = this.length - b; h ? (h = Number(h), h > w && (h = w)) : h = w; w = a.length; if (w%2!==0) throw Error('Invalid hex string'); h > w /
|
|
77
|
+
2 && (h = w / 2); for (w = 0; w < h; w++) { y = parseInt(a.substr(2 * w, 2), 16); if (isNaN(y)) throw Error('Invalid hex string'); this[b + w] = y }a = w; break; case 'utf8':case 'utf-8':a = d(k(a), this, b, h); break; case 'ascii':a = d(u(a), this, b, h); break; case 'binary':a = d(u(a), this, b, h); break; case 'base64':a = d(n.toByteArray(a), this, b, h); break; case 'ucs2':case 'ucs-2':case 'utf16le':case 'utf-16le':y = []; for (let I = 0; I < a.length; I++) { let K = a.charCodeAt(I); w = K >> 8; K %= 256; y.push(K); y.push(w) }a = d(y, this, b, h, 2); break; default:throw new TypeError('Unknown encoding: ' +
|
|
78
|
+
w)} return a
|
|
79
|
+
}; e.prototype.toJSON = function () { return { type: 'Buffer', data: Array.prototype.slice.call(this._arr || this, 0) } }; e.prototype.slice = function (a, b) { let h = this.length; a = ~~a; b = void 0 === b ? h : ~~b; a<0 ? (a += h, a<0 && (a = 0)) : a > h && (a = h); b<0 ? (b += h, b<0 && (b = 0)) : b > h && (b = h); b < a && (b = a); if (e.TYPED_ARRAY_SUPPORT) return e._augment(this.subarray(a, b)); h = b - a; for (var w = new e(h, void 0, !0), y = 0; y < h; y++)w[y] = this[y + a]; return w }; e.prototype.readUInt8 = function (a, b) { b || t(a, 1, this.length); return this[a] }; e.prototype.readUInt16LE =
|
|
80
|
+
function (a, b) { b || t(a, 2, this.length); return this[a] | this[a + 1] << 8 }; e.prototype.readUInt16BE = function (a, b) { b || t(a, 2, this.length); return this[a] << 8 | this[a + 1] }; e.prototype.readUInt32LE = function (a, b) { b || t(a, 4, this.length); return (this[a] | this[a + 1] << 8 | this[a + 2] << 16) + 16777216 * this[a + 3] }; e.prototype.readUInt32BE = function (a, b) { b || t(a, 4, this.length); return 16777216 * this[a] + (this[a + 1] << 16 | this[a + 2] << 8 | this[a + 3]) }; e.prototype.readInt8 = function (a, b) { b || t(a, 1, this.length); return this[a] & 128 ? -1 * (255 - this[a] + 1) : this[a] }
|
|
81
|
+
e.prototype.readInt16LE = function (a, b) { b || t(a, 2, this.length); let h = this[a] | this[a + 1] << 8; return h & 32768 ? h | 4294901760 : h }; e.prototype.readInt16BE = function (a, b) { b || t(a, 2, this.length); let h = this[a + 1] | this[a] << 8; return h & 32768 ? h | 4294901760 : h }; e.prototype.readInt32LE = function (a, b) { b || t(a, 4, this.length); return this[a] | this[a + 1] << 8 | this[a + 2] << 16 | this[a + 3] << 24 }; e.prototype.readInt32BE = function (a, b) { b || t(a, 4, this.length); return this[a] << 24 | this[a + 1] << 16 | this[a + 2] << 8 | this[a + 3] }; e.prototype.readFloatLE = function (a,
|
|
82
|
+
b) { b || t(a, 4, this.length); return v.read(this, a, !0, 23, 4) }; e.prototype.readFloatBE = function (a, b) { b || t(a, 4, this.length); return v.read(this, a, !1, 23, 4) }; e.prototype.readDoubleLE = function (a, b) { b || t(a, 8, this.length); return v.read(this, a, !0, 52, 8) }; e.prototype.readDoubleBE = function (a, b) { b || t(a, 8, this.length); return v.read(this, a, !1, 52, 8) }; e.prototype.writeUInt8 = function (a, b, h) { a = +a; b >>>= 0; h || m(this, a, b, 1, 255, 0); e.TYPED_ARRAY_SUPPORT || (a = Math.floor(a)); this[b] = a; return b + 1 }; e.prototype.writeUInt16LE = function (a,
|
|
83
|
+
b, h) { a = +a; b >>>= 0; h || m(this, a, b, 2, 65535, 0); e.TYPED_ARRAY_SUPPORT ? (this[b] = a, this[b + 1] = a >>> 8) : f(this, a, b, !0); return b + 2 }; e.prototype.writeUInt16BE = function (a, b, h) { a = +a; b >>>= 0; h || m(this, a, b, 2, 65535, 0); e.TYPED_ARRAY_SUPPORT ? (this[b] = a >>> 8, this[b + 1] = a) : f(this, a, b, !1); return b + 2 }; e.prototype.writeUInt32LE = function (a, b, h) { a = +a; b >>>= 0; h || m(this, a, b, 4, 4294967295, 0); e.TYPED_ARRAY_SUPPORT ? (this[b + 3] = a >>> 24, this[b + 2] = a >>> 16, this[b + 1] = a >>> 8, this[b] = a) : c(this, a, b, !0); return b + 4 }; e.prototype.writeUInt32BE = function (a,
|
|
84
|
+
b, h) { a = +a; b >>>= 0; h || m(this, a, b, 4, 4294967295, 0); e.TYPED_ARRAY_SUPPORT ? (this[b] = a >>> 24, this[b + 1] = a >>> 16, this[b + 2] = a >>> 8, this[b + 3] = a) : c(this, a, b, !1); return b + 4 }; e.prototype.writeInt8 = function (a, b, h) { a = +a; b >>>= 0; h || m(this, a, b, 1, 127, -128); e.TYPED_ARRAY_SUPPORT || (a = Math.floor(a)); a<0 && (a = 255 + a + 1); this[b] = a; return b + 1 }; e.prototype.writeInt16LE = function (a, b, h) { a = +a; b >>>= 0; h || m(this, a, b, 2, 32767, -32768); e.TYPED_ARRAY_SUPPORT ? (this[b] = a, this[b + 1] = a >>> 8) : f(this, a, b, !0); return b + 2 }; e.prototype.writeInt16BE = function (a,
|
|
85
|
+
b, h) { a = +a; b >>>= 0; h || m(this, a, b, 2, 32767, -32768); e.TYPED_ARRAY_SUPPORT ? (this[b] = a >>> 8, this[b + 1] = a) : f(this, a, b, !1); return b + 2 }; e.prototype.writeInt32LE = function (a, b, h) { a = +a; b >>>= 0; h || m(this, a, b, 4, 2147483647, -2147483648); e.TYPED_ARRAY_SUPPORT ? (this[b] = a, this[b + 1] = a >>> 8, this[b + 2] = a >>> 16, this[b + 3] = a >>> 24) : c(this, a, b, !0); return b + 4 }; e.prototype.writeInt32BE = function (a, b, h) {
|
|
86
|
+
a = +a; b >>>= 0; h || m(this, a, b, 4, 2147483647, -2147483648); a<0 && (a = 4294967295 + a + 1); e.TYPED_ARRAY_SUPPORT
|
|
87
|
+
? (this[b] = a >>> 24, this[b + 1] = a >>> 16, this[b +
|
|
88
|
+
2] = a >>> 8, this[b + 3] = a)
|
|
89
|
+
: c(this, a, b, !1); return b + 4
|
|
90
|
+
}; e.prototype.writeFloatLE = function (a, b, h) { return q(this, a, b, !0, h) }; e.prototype.writeFloatBE = function (a, b, h) { return q(this, a, b, !1, h) }; e.prototype.writeDoubleLE = function (a, b, h) { return r(this, a, b, !0, h) }; e.prototype.writeDoubleBE = function (a, b, h) { return r(this, a, b, !1, h) }; e.prototype.copy = function (a, b, h, w) {
|
|
91
|
+
h || (h = 0); w || w===0 || (w = this.length); b || (b = 0); if (w !== h && a.length!==0 && this.length!==0) {
|
|
92
|
+
if (w < h) throw new TypeError('sourceEnd < sourceStart'); if (b<0 || b >= a.length) throw new TypeError('targetStart out of bounds')
|
|
93
|
+
if (h<0 || h >= this.length) throw new TypeError('sourceStart out of bounds'); if (w<0 || w > this.length) throw new TypeError('sourceEnd out of bounds'); w > this.length && (w = this.length); a.length - b < w - h && (w = a.length - b + h); w -= h; if (w<1E3 || !e.TYPED_ARRAY_SUPPORT)for (let y = 0; y < w; y++)a[y + b] = this[y + h]; else a._set(this.subarray(h, h + w), b)
|
|
94
|
+
}
|
|
95
|
+
}; e.prototype.fill = function (a, b, h) {
|
|
96
|
+
a || (a = 0); b || (b = 0); h || (h = this.length); if (h < b) throw new TypeError('end < start'); if (h !== b && this.length!==0) {
|
|
97
|
+
if (b<0 || b >= this.length) throw new TypeError('start out of bounds')
|
|
98
|
+
if (h<0 || h > this.length) throw new TypeError('end out of bounds'); if ('number' === typeof a)for (;b < h; b++) this[b] = a; else { a = k(a.toString()); for (let w = a.length; b < h; b++) this[b] = a[b % w] } return this
|
|
99
|
+
}
|
|
100
|
+
}; e.prototype.toArrayBuffer = function () { if ('undefined' !== typeof Uint8Array) { if (e.TYPED_ARRAY_SUPPORT)return (new e(this)).buffer; for (var a = new Uint8Array(this.length), b = 0, h = a.length; b < h; b += 1)a[b] = this[b]; return a.buffer } throw new TypeError('Buffer.toArrayBuffer not supported in this browser')}; let D = e.prototype; e._augment =
|
|
101
|
+
function (a) {
|
|
102
|
+
a.constructor = e; a._isBuffer = !0; a._get = a.get; a._set = a.set; a.get = D.get; a.set = D.set; a.write = D.write; a.toString = D.toString; a.toLocaleString = D.toString; a.toJSON = D.toJSON; a.equals = D.equals; a.compare = D.compare; a.copy = D.copy; a.slice = D.slice; a.readUInt8 = D.readUInt8; a.readUInt16LE = D.readUInt16LE; a.readUInt16BE = D.readUInt16BE; a.readUInt32LE = D.readUInt32LE; a.readUInt32BE = D.readUInt32BE; a.readInt8 = D.readInt8; a.readInt16LE = D.readInt16LE; a.readInt16BE = D.readInt16BE; a.readInt32LE = D.readInt32LE; a.readInt32BE =
|
|
103
|
+
D.readInt32BE; a.readFloatLE = D.readFloatLE; a.readFloatBE = D.readFloatBE; a.readDoubleLE = D.readDoubleLE; a.readDoubleBE = D.readDoubleBE; a.writeUInt8 = D.writeUInt8; a.writeUInt16LE = D.writeUInt16LE; a.writeUInt16BE = D.writeUInt16BE; a.writeUInt32LE = D.writeUInt32LE; a.writeUInt32BE = D.writeUInt32BE; a.writeInt8 = D.writeInt8; a.writeInt16LE = D.writeInt16LE; a.writeInt16BE = D.writeInt16BE; a.writeInt32LE = D.writeInt32LE; a.writeInt32BE = D.writeInt32BE; a.writeFloatLE = D.writeFloatLE; a.writeFloatBE = D.writeFloatBE; a.writeDoubleLE =
|
|
104
|
+
D.writeDoubleLE; a.writeDoubleBE = D.writeDoubleBE; a.fill = D.fill; a.inspect = D.inspect; a.toArrayBuffer = D.toArrayBuffer; return a
|
|
105
|
+
}; var L = /[^+\/0-9A-z]/g
|
|
106
|
+
}, { 'base64-js': 2, ieee754: 6, 'is-array': 7 }],
|
|
107
|
+
6: [function (C, J, A) {
|
|
108
|
+
A.read = function (e, p, t, m, f) {
|
|
109
|
+
let c = 8 * f - m - 1; let l = (1 << c) - 1; var q=l>>1; var r = -7; f = t ? f - 1 : 0; let k = t ? -1 : 1; var u = e[p + f]; f += k; t = u & (1 << -r) - 1; u >>= -r; for (r += c; r>0; t = 256 * t + e[p + f], f += k, r -= 8);c = t & (1 << -r) - 1; t >>= -r; for (r += m; r>0; c = 256 * c + e[p + f], f += k, r -= 8);if (t===0)t = 1 - q; else {
|
|
110
|
+
if (t === l) return c ? NaN : Infinity * (u ? -1 : 1); c += Math.pow(2,
|
|
111
|
+
m); t -= q
|
|
112
|
+
}return (u ? -1 : 1) * c * Math.pow(2, t - m)
|
|
113
|
+
}; A.write = function (e, p, t, m, f, c) {
|
|
114
|
+
let l; var q=8*c-f-1; var r=(1<<q)-1; var k=r>>1; var u = f===23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0; c = m ? 0 : c - 1; let d = m ? 1 : -1; var g = p<0 || p===0 && 1/p<0 ? 1 : 0; p = Math.abs(p); isNaN(p) || Infinity === p ? (p = isNaN(p) ? 1 : 0, m = r) : (m = Math.floor(Math.log(p) / Math.LN2), p*(l=Math.pow(2,-m))<1 && (m--, l *= 2), p = m+k>=1 ? p + u / l : p + u * Math.pow(2, 1 - k), p*l>=2 && (m++, l /= 2), m + k >= r ? (p = 0, m = r) : m+k>=1 ? (p = (p * l - 1) * Math.pow(2, f), m += k) : (p = p * Math.pow(2, k - 1) * Math.pow(2, f), m = 0)); for (;f>=8; e[t + c] = p & 255, c +=
|
|
115
|
+
d, p /= 256, f -= 8);m = m << f | p; for (q += f; q>0; e[t + c] = m & 255, c += d, m /= 256, q -= 8);e[t + c - d] |= 128 * g
|
|
116
|
+
}
|
|
117
|
+
}, {}],
|
|
118
|
+
7: [function (C, J, A) { let e = Object.prototype.toString; J.exports = Array.isArray || function (p) { return !!p && '[object Array]' == e.call(p) } }, {}],
|
|
119
|
+
8: [function (C, J, A) {
|
|
120
|
+
(function (e) {
|
|
121
|
+
function p (c, l) { for (var q = 0, r = c.length - 1; r>=0; r--) { let k = c[r]; '.' === k ? c.splice(r, 1) : '..' === k ? (c.splice(r, 1), q++) : q && (c.splice(r, 1), q--) }if (l)for (;q--; q)c.unshift('..'); return c } function t (c, l) {
|
|
122
|
+
if (c.filter) return c.filter(l); for (var q = [], r = 0; r < c.length; r++){l(c[r],
|
|
123
|
+
r,c)&&q.push(c[r]);} return q
|
|
124
|
+
} let m = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/; A.resolve = function () { for (var c = '', l = !1, q = arguments.length - 1; q>=-1 && !l; q--) { let r = q>=0 ? arguments[q] : e.cwd(); if ('string' !== typeof r) throw new TypeError('Arguments to path.resolve must be strings'); r && (c = r + '/' + c, l = '/' === r.charAt(0)) }c = p(t(c.split('/'), function (k) { return !!k }), !l).join('/'); return (l ? '/' : '') + c || '.' }; A.normalize = function (c) {
|
|
125
|
+
let l = A.isAbsolute(c); var q = '/' === f(c, -1); (c = p(t(c.split('/'), function (r) { return !!r }),
|
|
126
|
+
!l).join('/')) || l || (c = '.'); c && q && (c += '/'); return (l ? '/' : '') + c
|
|
127
|
+
}; A.isAbsolute = function (c) { return '/' === c.charAt(0) }; A.join = function () { let c = Array.prototype.slice.call(arguments, 0); return A.normalize(t(c, function (l, q) { if ('string' !== typeof l) throw new TypeError('Arguments to path.join must be strings'); return l }).join('/')) }; A.relative = function (c, l) {
|
|
128
|
+
function q (n) { for (var v = 0; v < n.length && '' === n[v]; v++);for (var z = n.length - 1; z>=0 && '' === n[z]; z--);return v > z ? [] : n.slice(v, z - v + 1) }c = A.resolve(c).substr(1); l = A.resolve(l).substr(1)
|
|
129
|
+
for (var r = q(c.split('/')), k = q(l.split('/')), u = Math.min(r.length, k.length), d = u, g = 0; g < u; g++)if (r[g] !== k[g]) { d = g; break }u = []; for (g = d; g < r.length; g++)u.push('..'); u = u.concat(k.slice(d)); return u.join('/')
|
|
130
|
+
}; A.sep = '/'; A.delimiter = ':'; A.dirname = function (c) { let l = m.exec(c).slice(1); c = l[0]; l = l[1]; if (!c && !l)return '.'; l && (l = l.substr(0, l.length - 1)); return c + l }; A.basename = function (c, l) { let q = m.exec(c).slice(1)[2]; l && q.substr(-1 * l.length) === l && (q = q.substr(0, q.length - l.length)); return q }; A.extname = function (c) { return m.exec(c).slice(1)[3] }
|
|
131
|
+
var f = 'b' === 'ab'.substr(-1) ? function (c, l, q) { return c.substr(l, q) } : function (c, l, q) { l<0 && (l = c.length + l); return c.substr(l, q) }
|
|
132
|
+
}).call(this, C('g5I+bs'))
|
|
133
|
+
}, { 'g5I+bs': 9 }],
|
|
134
|
+
9: [function (C, J, A) {
|
|
135
|
+
function e () {}C = J.exports = {}; C.nextTick = (function(){if("undefined"!==typeof window&&window.setImmediate)return function(t){return window.setImmediate(t)};if("undefined"!==typeof window&&window.postMessage&&window.addEventListener){var p=[];window.addEventListener("message",function(t){var m=t.source;m!==window&&null!==
|
|
136
|
+
m||"process-tick"!==t.data||(t.stopPropagation(),0<p.length&&p.shift()())},!0);return function(t){p.push(t);window.postMessage("process-tick","*")}}return function(t){setTimeout(t,0)}}()); C.title = 'browser'; C.browser = !0; C.env = {}; C.argv = []; C.on = e; C.addListener = e; C.once = e; C.off = e; C.removeListener = e; C.removeAllListeners = e; C.emit = e; C.binding = function (p) { throw Error('process.binding is not supported')}; C.cwd = function () { return '/' }; C.chdir = function (p) { throw Error('process.chdir is not supported')}
|
|
137
|
+
}, {}],
|
|
138
|
+
10: [function (C, J, A) {
|
|
139
|
+
function e () { this._array = []; this._set = m ? new Map() : Object.create(null) } var p = C('./util'); var t=Object.prototype.hasOwnProperty; var m = 'undefined' !== typeof Map; e.fromArray = function (f, c) { for (var l = new e(), q = 0, r = f.length; q < r; q++)l.add(f[q], c); return l }; e.prototype.size = function () { return m ? this._set.size : Object.getOwnPropertyNames(this._set).length }; e.prototype.add = function (f, c) {
|
|
140
|
+
let l = m ? f : p.toSetString(f); var q=m?this.has(f):t.call(this._set,l); var r = this._array.length; q && !c || this._array.push(f); q || (m ?
|
|
141
|
+
this._set.set(f, r)
|
|
142
|
+
: this._set[l] = r)
|
|
143
|
+
}; e.prototype.has = function (f) { if (m) return this._set.has(f); f = p.toSetString(f); return t.call(this._set, f) }; e.prototype.indexOf = function (f) { if (m) { var c = this._set.get(f); if (c>=0) return c } else if (c = p.toSetString(f), t.call(this._set, c)) return this._set[c]; throw Error('"' + f + '" is not in the set.')}; e.prototype.at = function (f) { if (f>=0 && f < this._array.length) return this._array[f]; throw Error('No element indexed by ' + f)}; e.prototype.toArray = function () { return this._array.slice() }
|
|
144
|
+
A.ArraySet = e
|
|
145
|
+
}, { './util': 19 }],
|
|
146
|
+
11: [function (C, J, A) { let e = C('./base64'); A.encode = function (p) { let t = ''; var m = p<0 ? (-p << 1) + 1 : p << 1; do p = m & 31, m >>>= 5, m>0 && (p |= 32), t += e.encode(p); while (m>0); return t }; A.decode = function (p, t, m) { let f = p.length; var c=0; var l = 0; do { if (t >= f) throw Error('Expected more digits in base 64 VLQ value.'); let q = e.decode(p.charCodeAt(t++)); if (q===-1) throw Error('Invalid base64 digit: ' + p.charAt(t - 1)); var r = !!(q & 32); q &= 31; c += q << l; l += 5 }while (r); p = c >> 1; m.value = (c&1)===1 ? -p : p; m.rest = t } }, { './base64': 12 }],
|
|
147
|
+
12: [function (C,
|
|
148
|
+
J, A) { let e = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split(''); A.encode = function (p) { if (p>=0 && p < e.length) return e[p]; throw new TypeError('Must be between 0 and 63: ' + p)}; A.decode = function (p) { return p>=65 && p<=90 ? p - 65 : p>=97 && p<=122 ? p - 97 + 26 : p>=48 && p<=57 ? p - 48 + 52 : p==43 ? 62 : p==47 ? 63 : -1 } }, {}],
|
|
149
|
+
13: [function (C, J, A) {
|
|
150
|
+
function e (p, t, m, f, c, l) {
|
|
151
|
+
let q = Math.floor((t - p) / 2) + p; var r = c(m, f[q], !0); return r===0
|
|
152
|
+
? q
|
|
153
|
+
: r>0
|
|
154
|
+
? t-q>1 ? e(q, t, m, f, c, l) : l == A.LEAST_UPPER_BOUND ? t < f.length ? t : -1 : q
|
|
155
|
+
: q-p>1
|
|
156
|
+
? e(p, q, m, f, c, l)
|
|
157
|
+
: l ==
|
|
158
|
+
A.LEAST_UPPER_BOUND
|
|
159
|
+
? q
|
|
160
|
+
: p<0 ? -1 : p
|
|
161
|
+
}A.GREATEST_LOWER_BOUND = 1; A.LEAST_UPPER_BOUND = 2; A.search = function (p, t, m, f) { if (t.length===0)return -1; p = e(-1, t.length, p, t, m, f || A.GREATEST_LOWER_BOUND); if (p<0)return -1; for (;p-1>=0 && m(t[p],t[p-1],!0)===0;)--p; return p }
|
|
162
|
+
}, {}],
|
|
163
|
+
14: [function (C, J, A) {
|
|
164
|
+
function e () { this._array = []; this._sorted = !0; this._last = { generatedLine: -1, generatedColumn: 0 } } let p = C('./util'); e.prototype.unsortedForEach = function (t, m) { this._array.forEach(t, m) }; e.prototype.add = function (t) {
|
|
165
|
+
let m = this._last; var f=m.generatedLine;
|
|
166
|
+
var c=t.generatedLine; var l=m.generatedColumn; var q = t.generatedColumn; c > f || c == f && q >= l || p.compareByGeneratedPositionsInflated(m,t)<=0 ? this._last = t : this._sorted = !1; this._array.push(t)
|
|
167
|
+
}; e.prototype.toArray = function () { this._sorted || (this._array.sort(p.compareByGeneratedPositionsInflated), this._sorted = !0); return this._array }; A.MappingList = e
|
|
168
|
+
}, { './util': 19 }],
|
|
169
|
+
15: [function (C, J, A) {
|
|
170
|
+
function e (t, m, f) { let c = t[m]; t[m] = t[f]; t[f] = c } function p (t, m, f, c) {
|
|
171
|
+
if (f < c) {
|
|
172
|
+
let l = f - 1; e(t, Math.round(f + Math.random() * (c - f)), c); for (var q = t[c],
|
|
173
|
+
r = f; r < c; r++)m(t[r],q)<=0 && (l += 1, e(t, l, r)); e(t, l + 1, r); l += 1; p(t, m, f, l - 1); p(t, m, l + 1, c)
|
|
174
|
+
}
|
|
175
|
+
}A.quickSort = function (t, m) { p(t, m, 0, t.length - 1) }
|
|
176
|
+
}, {}],
|
|
177
|
+
16: [function (C, J, A) {
|
|
178
|
+
function e (k, u) { let d = k; 'string' === typeof k && (d = f.parseSourceMapInput(k)); return d.sections!=null ? new m(d, u) : new p(d, u) } function p (k, u) {
|
|
179
|
+
let d = k; 'string' === typeof k && (d = f.parseSourceMapInput(k)); let g = f.getArg(d, 'version'); var n=f.getArg(d,"sources"); var v=f.getArg(d,"names",[]); var z=f.getArg(d,"sourceRoot",null); var G=f.getArg(d,"sourcesContent",null); var D = f.getArg(d,
|
|
180
|
+
'mappings'); d = f.getArg(d, 'file', null); if (g != this._version) throw Error('Unsupported version: ' + g); z && (z = f.normalize(z)); n = n.map(String).map(f.normalize).map(function (L) { return z && f.isAbsolute(z) && f.isAbsolute(L) ? f.relative(z, L) : L }); this._names = l.fromArray(v.map(String), !0); this._sources = l.fromArray(n, !0); this.sourceRoot = z; this.sourcesContent = G; this._mappings = D; this._sourceMapURL = u; this.file = d
|
|
181
|
+
} function t () {
|
|
182
|
+
this.generatedColumn = this.generatedLine = 0; this.name = this.originalColumn = this.originalLine = this.source =
|
|
183
|
+
null
|
|
184
|
+
} function m (k, u) {
|
|
185
|
+
let d = k; 'string' === typeof k && (d = f.parseSourceMapInput(k)); let g = f.getArg(d, 'version'); d = f.getArg(d, 'sections'); if (g != this._version) throw Error('Unsupported version: ' + g); this._sources = new l(); this._names = new l(); let n = { line: -1, column: 0 }; this._sections = d.map(function (v) {
|
|
186
|
+
if (v.url) throw Error('Support for url field in sections not implemented.'); let z = f.getArg(v, 'offset'); var G=f.getArg(z,"line"); var D = f.getArg(z, 'column'); if (G < n.line || G === n.line && D < n.column) throw Error('Section offsets must be ordered and non-overlapping.')
|
|
187
|
+
n = z; return { generatedOffset: { generatedLine: G + 1, generatedColumn: D + 1 }, consumer: new e(f.getArg(v, 'map'), u) }
|
|
188
|
+
})
|
|
189
|
+
} var f = C('./util'); var c=C("./binary-search"); var l=C("./array-set").ArraySet; var q=C("./base64-vlq"); var r = C('./quick-sort').quickSort; e.fromSourceMap = function (k) { return p.fromSourceMap(k) }; e.prototype._version = 3; e.prototype.__generatedMappings = null; Object.defineProperty(e.prototype, '_generatedMappings', {
|
|
190
|
+
configurable: !0,
|
|
191
|
+
enumerable: !0,
|
|
192
|
+
get: function () {
|
|
193
|
+
this.__generatedMappings || this._parseMappings(this._mappings,
|
|
194
|
+
this.sourceRoot); return this.__generatedMappings
|
|
195
|
+
}
|
|
196
|
+
}); e.prototype.__originalMappings = null; Object.defineProperty(e.prototype, '_originalMappings', { configurable: !0, enumerable: !0, get: function () { this.__originalMappings || this._parseMappings(this._mappings, this.sourceRoot); return this.__originalMappings } }); e.prototype._charIsMappingSeparator = function (k, u) { let d = k.charAt(u); return ';' === d || ',' === d }; e.prototype._parseMappings = function (k, u) { throw Error('Subclasses must implement _parseMappings')}; e.GENERATED_ORDER =
|
|
197
|
+
1; e.ORIGINAL_ORDER = 2; e.GREATEST_LOWER_BOUND = 1; e.LEAST_UPPER_BOUND = 2; e.prototype.eachMapping = function (k, u, d) {
|
|
198
|
+
u = u || null; switch (d || e.GENERATED_ORDER) { case e.GENERATED_ORDER:d = this._generatedMappings; break; case e.ORIGINAL_ORDER:d = this._originalMappings; break; default:throw Error('Unknown order of iteration.')} let g = this.sourceRoot; d.map(function (n) {
|
|
199
|
+
let v = n.source===null ? null : this._sources.at(n.source); v = f.computeSourceURL(g, v, this._sourceMapURL); return {
|
|
200
|
+
source: v,
|
|
201
|
+
generatedLine: n.generatedLine,
|
|
202
|
+
generatedColumn: n.generatedColumn,
|
|
203
|
+
originalLine: n.originalLine,
|
|
204
|
+
originalColumn: n.originalColumn,
|
|
205
|
+
name: n.name===null ? null : this._names.at(n.name)
|
|
206
|
+
}
|
|
207
|
+
}, this).forEach(k, u)
|
|
208
|
+
}; e.prototype.allGeneratedPositionsFor = function (k) {
|
|
209
|
+
let u = f.getArg(k, 'line'); var d = { source: f.getArg(k, 'source'), originalLine: u, originalColumn: f.getArg(k, 'column', 0) }; this.sourceRoot!=null && (d.source = f.relative(this.sourceRoot, d.source)); if (!this._sources.has(d.source))return []; d.source = this._sources.indexOf(d.source); let g = []; d = this._findMapping(d, this._originalMappings, 'originalLine',
|
|
210
|
+
'originalColumn', f.compareByOriginalPositions, c.LEAST_UPPER_BOUND); if (d>=0) {
|
|
211
|
+
let n = this._originalMappings[d]; if (void 0 === k.column)for (u = n.originalLine; n && n.originalLine === u;)g.push({ line: f.getArg(n, 'generatedLine', null), column: f.getArg(n, 'generatedColumn', null), lastColumn: f.getArg(n, 'lastGeneratedColumn', null) }), n = this._originalMappings[++d]; else {for(k=n.originalColumn;n&&n.originalLine===u&&n.originalColumn==k;)g.push({line:f.getArg(n,"generatedLine",null),column:f.getArg(n,"generatedColumn",null),
|
|
212
|
+
lastColumn:f.getArg(n,"lastGeneratedColumn",null)}),n=this._originalMappings[++d]}
|
|
213
|
+
} return g
|
|
214
|
+
}; A.SourceMapConsumer = e; p.prototype = Object.create(e.prototype); p.prototype.consumer = e; p.fromSourceMap = function (k, u) {
|
|
215
|
+
let d = Object.create(p.prototype); var g=d._names=l.fromArray(k._names.toArray(),!0); var n = d._sources = l.fromArray(k._sources.toArray(), !0); d.sourceRoot = k._sourceRoot; d.sourcesContent = k._generateSourcesContent(d._sources.toArray(), d.sourceRoot); d.file = k._file; d._sourceMapURL = u; for (let v = k._mappings.toArray().slice(),
|
|
216
|
+
z = d.__generatedMappings = [], G = d.__originalMappings = [], D = 0, L = v.length; D < L; D++) { let a = v[D]; var b = new t(); b.generatedLine = a.generatedLine; b.generatedColumn = a.generatedColumn; a.source && (b.source = n.indexOf(a.source), b.originalLine = a.originalLine, b.originalColumn = a.originalColumn, a.name && (b.name = g.indexOf(a.name)), G.push(b)); z.push(b) }r(d.__originalMappings, f.compareByOriginalPositions); return d
|
|
217
|
+
}; p.prototype._version = 3; Object.defineProperty(p.prototype, 'sources', {
|
|
218
|
+
get: function () {
|
|
219
|
+
return this._sources.toArray().map(function (k) {
|
|
220
|
+
return f.computeSourceURL(this.sourceRoot,
|
|
221
|
+
k, this._sourceMapURL)
|
|
222
|
+
}, this)
|
|
223
|
+
}
|
|
224
|
+
}); p.prototype._parseMappings = function (k, u) {
|
|
225
|
+
for (var d = 1, g = 0, n = 0, v = 0, z = 0, G = 0, D = k.length, L = 0, a = {}, b = {}, h = [], w = [], y, I, K, N, P; L < D;){if(";"===k.charAt(L))d++,L++,g=0;else if(","===k.charAt(L))L++;else{y=new t;y.generatedLine=d;for(N=L;N<D&&!this._charIsMappingSeparator(k,N);N++);I=k.slice(L,N);if(K=a[I])L+=I.length;else{for(K=[];L<N;)q.decode(k,L,b),P=b.value,L=b.rest,K.push(P);if(2===K.length)throw Error("Found a source, but no line and column");if(3===K.length)throw Error("Found a source and line, but no column");
|
|
226
|
+
a[I]=K}y.generatedColumn=g+K[0];g=y.generatedColumn;1<K.length&&(y.source=z+K[1],z+=K[1],y.originalLine=n+K[2],n=y.originalLine,y.originalLine+=1,y.originalColumn=v+K[3],v=y.originalColumn,4<K.length&&(y.name=G+K[4],G+=K[4]));w.push(y);"number"===typeof y.originalLine&&h.push(y)}}r(w, f.compareByGeneratedPositionsDeflated); this.__generatedMappings = w; r(h, f.compareByOriginalPositions); this.__originalMappings = h
|
|
227
|
+
}; p.prototype._findMapping = function (k, u, d, g, n, v) {
|
|
228
|
+
if (k[d]<=0) {throw new TypeError("Line must be greater than or equal to 1, got "+
|
|
229
|
+
k[d]);} if (k[g]<0) throw new TypeError('Column must be greater than or equal to 0, got ' + k[g]); return c.search(k, u, n, v)
|
|
230
|
+
}; p.prototype.computeColumnSpans = function () { for (let k = 0; k < this._generatedMappings.length; ++k) { let u = this._generatedMappings[k]; if (k + 1 < this._generatedMappings.length) { let d = this._generatedMappings[k + 1]; if (u.generatedLine === d.generatedLine) { u.lastGeneratedColumn = d.generatedColumn - 1; continue } }u.lastGeneratedColumn = Infinity } }; p.prototype.originalPositionFor = function (k) {
|
|
231
|
+
let u = {
|
|
232
|
+
generatedLine: f.getArg(k,
|
|
233
|
+
'line'),
|
|
234
|
+
generatedColumn: f.getArg(k, 'column')
|
|
235
|
+
}; k = this._findMapping(u, this._generatedMappings, 'generatedLine', 'generatedColumn', f.compareByGeneratedPositionsDeflated, f.getArg(k, 'bias', e.GREATEST_LOWER_BOUND)); if (k>=0 && (k = this._generatedMappings[k], k.generatedLine === u.generatedLine)) {
|
|
236
|
+
u = f.getArg(k, 'source', null); u!==null && (u = this._sources.at(u), u = f.computeSourceURL(this.sourceRoot, u, this._sourceMapURL)); let d = f.getArg(k, 'name', null); d!==null && (d = this._names.at(d)); return {
|
|
237
|
+
source: u,
|
|
238
|
+
line: f.getArg(k, 'originalLine',
|
|
239
|
+
null),
|
|
240
|
+
column: f.getArg(k, 'originalColumn', null),
|
|
241
|
+
name: d
|
|
242
|
+
}
|
|
243
|
+
}return { source: null, line: null, column: null, name: null }
|
|
244
|
+
}; p.prototype.hasContentsOfAllSources = function () { return this.sourcesContent ? this.sourcesContent.length >= this._sources.size() && !this.sourcesContent.some(function (k) { return k==null }) : !1 }; p.prototype.sourceContentFor = function (k, u) {
|
|
245
|
+
if (!this.sourcesContent) return null; let d = k; this.sourceRoot!=null && (d = f.relative(this.sourceRoot, d)); if (this._sources.has(d)) return this.sourcesContent[this._sources.indexOf(d)]
|
|
246
|
+
var g = this.sources; var n; for (n = 0; n < g.length; ++n)if (g[n] == k) return this.sourcesContent[n]; let v; if (this.sourceRoot!=null && (v = f.urlParse(this.sourceRoot))) { g = d.replace(/^file:\/\//, ''); if ('file' == v.scheme && this._sources.has(g)) return this.sourcesContent[this._sources.indexOf(g)]; if ((!v.path || '/' == v.path) && this._sources.has('/' + d)) return this.sourcesContent[this._sources.indexOf('/' + d)] }if (u) return null; throw Error('"' + d + '" is not in the SourceMap.')}; p.prototype.generatedPositionFor = function (k) {
|
|
247
|
+
let u =
|
|
248
|
+
f.getArg(k, 'source'); this.sourceRoot!=null && (u = f.relative(this.sourceRoot, u)); if (!this._sources.has(u))return { line: null, column: null, lastColumn: null }; u = this._sources.indexOf(u); u = { source: u, originalLine: f.getArg(k, 'line'), originalColumn: f.getArg(k, 'column') }; k = this._findMapping(u, this._originalMappings, 'originalLine', 'originalColumn', f.compareByOriginalPositions, f.getArg(k, 'bias', e.GREATEST_LOWER_BOUND)); return k>=0 && (k = this._originalMappings[k], k.source === u.source)
|
|
249
|
+
? {
|
|
250
|
+
line: f.getArg(k, 'generatedLine',
|
|
251
|
+
null),
|
|
252
|
+
column: f.getArg(k, 'generatedColumn', null),
|
|
253
|
+
lastColumn: f.getArg(k, 'lastGeneratedColumn', null)
|
|
254
|
+
}
|
|
255
|
+
: { line: null, column: null, lastColumn: null }
|
|
256
|
+
}; A.BasicSourceMapConsumer = p; m.prototype = Object.create(e.prototype); m.prototype.constructor = e; m.prototype._version = 3; Object.defineProperty(m.prototype, 'sources', { get: function () { for (var k = [], u = 0; u < this._sections.length; u++)for (let d = 0; d < this._sections[u].consumer.sources.length; d++)k.push(this._sections[u].consumer.sources[d]); return k } }); m.prototype.originalPositionFor =
|
|
257
|
+
function (k) {
|
|
258
|
+
let u = { generatedLine: f.getArg(k, 'line'), generatedColumn: f.getArg(k, 'column') }; var d = c.search(u, this._sections, function (g, n) { let v = g.generatedLine - n.generatedOffset.generatedLine; return v || g.generatedColumn-n.generatedOffset.generatedColumn }); return (d = this._sections[d])
|
|
259
|
+
? d.consumer.originalPositionFor({ line: u.generatedLine - (d.generatedOffset.generatedLine - 1), column: u.generatedColumn - (d.generatedOffset.generatedLine === u.generatedLine ? d.generatedOffset.generatedColumn - 1 : 0), bias: k.bias })
|
|
260
|
+
: {
|
|
261
|
+
source: null,
|
|
262
|
+
line: null,
|
|
263
|
+
column: null,
|
|
264
|
+
name: null
|
|
265
|
+
}
|
|
266
|
+
}; m.prototype.hasContentsOfAllSources = function () { return this._sections.every(function (k) { return k.consumer.hasContentsOfAllSources() }) }; m.prototype.sourceContentFor = function (k, u) { for (let d = 0; d < this._sections.length; d++) { let g = this._sections[d].consumer.sourceContentFor(k, !0); if (g) return g }if (u) return null; throw Error('"' + k + '" is not in the SourceMap.')}; m.prototype.generatedPositionFor = function (k) {
|
|
267
|
+
for (let u = 0; u < this._sections.length; u++) {
|
|
268
|
+
let d = this._sections[u]; if (d.consumer.sources.indexOf(f.getArg(k,"source"))!==
|
|
269
|
+
-1) { let g = d.consumer.generatedPositionFor(k); if (g)return { line: g.line + (d.generatedOffset.generatedLine - 1), column: g.column + (d.generatedOffset.generatedLine === g.line ? d.generatedOffset.generatedColumn - 1 : 0) } }
|
|
270
|
+
}return { line: null, column: null }
|
|
271
|
+
}; m.prototype._parseMappings = function (k, u) {
|
|
272
|
+
this.__generatedMappings = []; this.__originalMappings = []; for (let d = 0; d < this._sections.length; d++){for(var g=this._sections[d],n=g.consumer._generatedMappings,v=0;v<n.length;v++){var z=
|
|
273
|
+
n[v],G=g.consumer._sources.at(z.source);G=f.computeSourceURL(g.consumer.sourceRoot,G,this._sourceMapURL);this._sources.add(G);G=this._sources.indexOf(G);var D=null;z.name&&(D=g.consumer._names.at(z.name),this._names.add(D),D=this._names.indexOf(D));z={source:G,generatedLine:z.generatedLine+(g.generatedOffset.generatedLine-1),generatedColumn:z.generatedColumn+(g.generatedOffset.generatedLine===z.generatedLine?g.generatedOffset.generatedColumn-1:0),originalLine:z.originalLine,originalColumn:z.originalColumn,
|
|
274
|
+
name:D};this.__generatedMappings.push(z);"number"===typeof z.originalLine&&this.__originalMappings.push(z)}}r(this.__generatedMappings, f.compareByGeneratedPositionsDeflated); r(this.__originalMappings, f.compareByOriginalPositions)
|
|
275
|
+
}; A.IndexedSourceMapConsumer = m
|
|
276
|
+
}, { './array-set': 10, './base64-vlq': 11, './binary-search': 13, './quick-sort': 15, './util': 19 }],
|
|
277
|
+
17: [function (C, J, A) {
|
|
278
|
+
function e (c) {
|
|
279
|
+
c || (c = {}); this._file = t.getArg(c, 'file', null); this._sourceRoot = t.getArg(c, 'sourceRoot', null); this._skipValidation = t.getArg(c,
|
|
280
|
+
'skipValidation', !1); this._sources = new m(); this._names = new m(); this._mappings = new f(); this._sourcesContents = null
|
|
281
|
+
} var p = C('./base64-vlq'); var t=C("./util"); var m=C("./array-set").ArraySet; var f = C('./mapping-list').MappingList; e.prototype._version = 3; e.fromSourceMap = function (c) {
|
|
282
|
+
let l = c.sourceRoot; var q = new e({ file: c.file, sourceRoot: l }); c.eachMapping(function (r) {
|
|
283
|
+
let k = { generated: { line: r.generatedLine, column: r.generatedColumn } }; r.source!=null && (k.source = r.source, l!=null && (k.source = t.relative(l, k.source)), k.original = {
|
|
284
|
+
line: r.originalLine,
|
|
285
|
+
column: r.originalColumn
|
|
286
|
+
}, r.name!=null && (k.name = r.name)); q.addMapping(k)
|
|
287
|
+
}); c.sources.forEach(function (r) { let k = r; l!==null && (k = t.relative(l, r)); q._sources.has(k) || q._sources.add(k); k = c.sourceContentFor(r); k!=null && q.setSourceContent(r, k) }); return q
|
|
288
|
+
}; e.prototype.addMapping = function (c) {
|
|
289
|
+
let l = t.getArg(c, 'generated'); var q=t.getArg(c,"original",null); var r = t.getArg(c, 'source', null); c = t.getArg(c, 'name', null); this._skipValidation || this._validateMapping(l, q, r, c); r!=null && (r = String(r), this._sources.has(r) || this._sources.add(r))
|
|
290
|
+
null != c && (c = String(c), this._names.has(c) || this._names.add(c)); this._mappings.add({ generatedLine: l.line, generatedColumn: l.column, originalLine: q!=null && q.line, originalColumn: q!=null && q.column, source: r, name: c })
|
|
291
|
+
}; e.prototype.setSourceContent = function (c, l) {
|
|
292
|
+
let q = c; this._sourceRoot!=null && (q = t.relative(this._sourceRoot, q)); l!=null
|
|
293
|
+
? (this._sourcesContents || (this._sourcesContents = Object.create(null)), this._sourcesContents[t.toSetString(q)] = l)
|
|
294
|
+
: this._sourcesContents && (delete this._sourcesContents[t.toSetString(q)],
|
|
295
|
+
Object.keys(this._sourcesContents).length===0 && (this._sourcesContents = null))
|
|
296
|
+
}; e.prototype.applySourceMap = function (c, l, q) {
|
|
297
|
+
let r = l; if (l==null) { if (c.file==null) throw Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.'); r = c.file } let k = this._sourceRoot; k!=null && (r = t.relative(k, r)); let u = new m(); var d = new m(); this._mappings.unsortedForEach(function (g) {
|
|
298
|
+
if (g.source === r && g.originalLine!=null) {
|
|
299
|
+
var n = c.originalPositionFor({
|
|
300
|
+
line: g.originalLine,
|
|
301
|
+
column: g.originalColumn
|
|
302
|
+
}); n.source!=null && (g.source = n.source, q!=null && (g.source = t.join(q, g.source)), k!=null && (g.source = t.relative(k, g.source)), g.originalLine = n.line, g.originalColumn = n.column, n.name!=null && (g.name = n.name))
|
|
303
|
+
}n = g.source; n==null || u.has(n) || u.add(n); g = g.name; g==null || d.has(g) || d.add(g)
|
|
304
|
+
}, this); this._sources = u; this._names = d; c.sources.forEach(function (g) { let n = c.sourceContentFor(g); n!=null && (q!=null && (g = t.join(q, g)), k!=null && (g = t.relative(k, g)), this.setSourceContent(g, n)) }, this)
|
|
305
|
+
}; e.prototype._validateMapping =
|
|
306
|
+
function (c, l, q, r) {
|
|
307
|
+
if (l && 'number' !== typeof l.line && 'number' !== typeof l.column) throw Error('original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.'); if (!(c && 'line' in c && 'column' in c && c.line>0 && c.column>=0 && !l && !q && !r || c && 'line' in c && 'column' in c && l && 'line' in l && 'column' in l && c.line>0 && c.column>=0 && l.line>0 && l.column>=0 &&
|
|
308
|
+
q)) throw Error('Invalid mapping: ' + JSON.stringify({ generated: c, source: q, original: l, name: r }))}; e.prototype._serializeMappings = function () {
|
|
309
|
+
for (var c = 0, l = 1, q = 0, r = 0, k = 0, u = 0, d = '', g, n, v, z = this._mappings.toArray(), G = 0, D = z.length; G < D; G++) {
|
|
310
|
+
n = z[G]; g = ''; if (n.generatedLine !== l)for (c = 0; n.generatedLine !== l;)g += ';', l++; else if (G>0) { if (!t.compareByGeneratedPositionsInflated(n, z[G - 1])) continue; g += ',' }g += p.encode(n.generatedColumn - c); c = n.generatedColumn; n.source!=null && (v = this._sources.indexOf(n.source), g += p.encode(v -
|
|
311
|
+
u), u = v, g += p.encode(n.originalLine - 1 - r), r = n.originalLine - 1, g += p.encode(n.originalColumn - q), q = n.originalColumn, n.name!=null && (n = this._names.indexOf(n.name), g += p.encode(n - k), k = n)); d += g
|
|
312
|
+
} return d
|
|
313
|
+
}; e.prototype._generateSourcesContent = function (c, l) { return c.map(function (q) { if (!this._sourcesContents) return null; l!=null && (q = t.relative(l, q)); q = t.toSetString(q); return Object.prototype.hasOwnProperty.call(this._sourcesContents, q) ? this._sourcesContents[q] : null }, this) }; e.prototype.toJSON = function () {
|
|
314
|
+
let c = {
|
|
315
|
+
version: this._version,
|
|
316
|
+
sources: this._sources.toArray(),
|
|
317
|
+
names: this._names.toArray(),
|
|
318
|
+
mappings: this._serializeMappings()
|
|
319
|
+
}; this._file!=null && (c.file = this._file); this._sourceRoot!=null && (c.sourceRoot = this._sourceRoot); this._sourcesContents && (c.sourcesContent = this._generateSourcesContent(c.sources, c.sourceRoot)); return c
|
|
320
|
+
}; e.prototype.toString = function () { return JSON.stringify(this.toJSON()) }; A.SourceMapGenerator = e
|
|
321
|
+
}, { './array-set': 10, './base64-vlq': 11, './mapping-list': 14, './util': 19 }],
|
|
322
|
+
18: [function (C, J, A) {
|
|
323
|
+
function e (f, c, l, q, r) {
|
|
324
|
+
this.children =
|
|
325
|
+
[]; this.sourceContents = {}; this.line = f==null ? null : f; this.column = c==null ? null : c; this.source = l==null ? null : l; this.name = r==null ? null : r; this.$$$isSourceNode$$$ = !0; q!=null && this.add(q)
|
|
326
|
+
} let p = C('./source-map-generator').SourceMapGenerator; var t=C("./util"); var m = /(\r?\n)/; e.fromStringWithSourceMap = function (f, c, l) {
|
|
327
|
+
function q (z, G) { if (z===null || void 0 === z.source)r.add(G); else { let D = l ? t.join(l, z.source) : z.source; r.add(new e(z.originalLine, z.originalColumn, D, G, z.name)) } } var r = new e(); var k=f.split(m); var u=0; var d=function(){var z=
|
|
328
|
+
u<k.length?k[u++]:void 0,G=(u<k.length?k[u++]:void 0)||"";return z+G}; var g=1; var n=0; var v = null; c.eachMapping(function (z) { if (v!==null)if (g < z.generatedLine)q(v, d()), g++, n = 0; else { var G = k[u] || ''; var D = G.substr(0, z.generatedColumn - n); k[u] = G.substr(z.generatedColumn - n); n = z.generatedColumn; q(v, D); v = z; return }for (;g < z.generatedLine;)r.add(d()), g++; n < z.generatedColumn && (G = k[u] || '', r.add(G.substr(0, z.generatedColumn)), k[u] = G.substr(z.generatedColumn), n = z.generatedColumn); v = z }, this); u < k.length && (v && q(v, d()), r.add(k.splice(u).join('')))
|
|
329
|
+
c.sources.forEach(function (z) { let G = c.sourceContentFor(z); G!=null && (l!=null && (z = t.join(l, z)), r.setSourceContent(z, G)) }); return r
|
|
330
|
+
}; e.prototype.add = function (f) { if (Array.isArray(f))f.forEach(function (c) { this.add(c) }, this); else if (f.$$$isSourceNode$$$ || 'string' === typeof f)f && this.children.push(f); else throw new TypeError('Expected a SourceNode, string, or an array of SourceNodes and strings. Got ' + f); return this }; e.prototype.prepend = function (f) {
|
|
331
|
+
if (Array.isArray(f))for (let c = f.length - 1; c>=0; c--) this.prepend(f[c])
|
|
332
|
+
else if (f.$$$isSourceNode$$$ || 'string' === typeof f) this.children.unshift(f); else throw new TypeError('Expected a SourceNode, string, or an array of SourceNodes and strings. Got ' + f); return this
|
|
333
|
+
}; e.prototype.walk = function (f) { for (var c, l = 0, q = this.children.length; l < q; l++)c = this.children[l], c.$$$isSourceNode$$$ ? c.walk(f) : '' !== c && f(c, { source: this.source, line: this.line, column: this.column, name: this.name }) }; e.prototype.join = function (f) {
|
|
334
|
+
let c; var l = this.children.length; if (l>0) {
|
|
335
|
+
let q = []; for (c = 0; c < l - 1; c++){q.push(this.children[c]),
|
|
336
|
+
q.push(f);} q.push(this.children[c]); this.children = q
|
|
337
|
+
} return this
|
|
338
|
+
}; e.prototype.replaceRight = function (f, c) { let l = this.children[this.children.length - 1]; l.$$$isSourceNode$$$ ? l.replaceRight(f, c) : 'string' === typeof l ? this.children[this.children.length - 1] = l.replace(f, c) : this.children.push(''.replace(f, c)); return this }; e.prototype.setSourceContent = function (f, c) { this.sourceContents[t.toSetString(f)] = c }; e.prototype.walkSourceContents = function (f) {
|
|
339
|
+
for (var c = 0, l = this.children.length; c < l; c++) {this.children[c].$$$isSourceNode$$$&&
|
|
340
|
+
this.children[c].walkSourceContents(f);} let q = Object.keys(this.sourceContents); c = 0; for (l = q.length; c < l; c++)f(t.fromSetString(q[c]), this.sourceContents[q[c]])
|
|
341
|
+
}; e.prototype.toString = function () { let f = ''; this.walk(function (c) { f += c }); return f }; e.prototype.toStringWithSourceMap = function (f) {
|
|
342
|
+
let c = ''; var l=1; var q=0; var r=new p(f); var k=!1; var u=null; var d=null; var g=null; var n = null; this.walk(function (v, z) {
|
|
343
|
+
c += v; z.source!==null && z.line!==null && z.column!==null
|
|
344
|
+
? (u === z.source && d === z.line && g === z.column && n === z.name || r.addMapping({
|
|
345
|
+
source: z.source,
|
|
346
|
+
original: { line: z.line, column: z.column },
|
|
347
|
+
generated: { line: l, column: q },
|
|
348
|
+
name: z.name
|
|
349
|
+
}), u = z.source, d = z.line, g = z.column, n = z.name, k = !0)
|
|
350
|
+
: k && (r.addMapping({ generated: { line: l, column: q } }), u = null, k = !1); for (let G = 0, D = v.length; G < D; G++)v.charCodeAt(G)===10 ? (l++, q = 0, G + 1 === D ? (u = null, k = !1) : k && r.addMapping({ source: z.source, original: { line: z.line, column: z.column }, generated: { line: l, column: q }, name: z.name })) : q++
|
|
351
|
+
}); this.walkSourceContents(function (v, z) { r.setSourceContent(v, z) }); return { code: c, map: r }
|
|
352
|
+
}; A.SourceNode = e
|
|
353
|
+
}, {
|
|
354
|
+
'./source-map-generator': 17,
|
|
355
|
+
'./util': 19
|
|
356
|
+
}],
|
|
357
|
+
19: [function (C, J, A) {
|
|
358
|
+
function e (d) { return (d = d.match(k)) ? { scheme: d[1], auth: d[2], host: d[3], port: d[4], path: d[5] } : null } function p (d) { let g = ''; d.scheme && (g += d.scheme + ':'); g += '//'; d.auth && (g += d.auth + '@'); d.host && (g += d.host); d.port && (g += ':' + d.port); d.path && (g += d.path); return g } function t (d) {
|
|
359
|
+
let g = d; var n = e(d); if (n) { if (!n.path) return d; g = n.path }d = A.isAbsolute(g); g = g.split(/\/+/); for (var v, z = 0, G = g.length - 1; G>=0; G--){v=g[G],"."===v?g.splice(G,1):".."===v?z++:0<z&&(""===v?(g.splice(G+1,z),z=0):(g.splice(G,
|
|
360
|
+
2),z--));} g = g.join('/'); '' === g && (g = d ? '/' : '.'); return n ? (n.path = g, p(n)) : g
|
|
361
|
+
} function m (d, g) { '' === d && (d = '.'); '' === g && (g = '.'); let n = e(g); var v = e(d); v && (d = v.path || '/'); if (n && !n.scheme) return v && (n.scheme = v.scheme), p(n); if (n || g.match(u)) return g; if (v && !v.host && !v.path) return v.host = g, p(v); n = '/' === g.charAt(0) ? g : t(d.replace(/\/+$/, '') + '/' + g); return v ? (v.path = n, p(v)) : n } function f (d) { return d } function c (d) { return q(d) ? '$' + d : d } function l (d) { return q(d) ? d.slice(1) : d } function q (d) {
|
|
362
|
+
if (!d)return !1; let g = d.length; if (g<
|
|
363
|
+
9 || d.charCodeAt(g-1)!==95 || d.charCodeAt(g-2)!==95 || d.charCodeAt(g-3)!==111 || d.charCodeAt(g-4)!==116 || d.charCodeAt(g-5)!==111 || d.charCodeAt(g-6)!==114 || d.charCodeAt(g-7)!==112 || d.charCodeAt(g-8)!==95 || d.charCodeAt(g-9)!==95)return !1; for (g -= 10; g>=0; g--)if (d.charCodeAt(g)!==36)return !1; return !0
|
|
364
|
+
} function r (d, g) { return d === g ? 0 : d===null ? 1 : g===null ? -1 : d > g ? 1 : -1 }A.getArg = function (d, g, n) { if (g in d) return d[g]; if (arguments.length===3) return n; throw Error('"' + g + '" is a required argument.')}; var k = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;
|
|
365
|
+
var u = /^data:.+,.+$/; A.urlParse = e; A.urlGenerate = p; A.normalize = t; A.join = m; A.isAbsolute = function (d) { return '/' === d.charAt(0) || k.test(d) }; A.relative = function (d, g) { '' === d && (d = '.'); d = d.replace(/\/$/, ''); for (var n = 0; g.indexOf(d+"/")!==0;) { let v = d.lastIndexOf('/'); if (v<0) return g; d = d.slice(0, v); if (d.match(/^([^\/]+:\/)?\/*$/)) return g; ++n } return Array(n + 1).join('../') + g.substr(d.length + 1) }; C = !('__proto__' in Object.create(null)); A.toSetString = C ? f : c; A.fromSetString = C ? f : l; A.compareByOriginalPositions = function (d,
|
|
366
|
+
g, n) { let v = r(d.source, g.source); if (v!==0) return v; v = d.originalLine - g.originalLine; if (v!==0) return v; v = d.originalColumn - g.originalColumn; if (v!==0 || n) return v; v = d.generatedColumn - g.generatedColumn; if (v!==0) return v; v = d.generatedLine - g.generatedLine; return v!==0 ? v : r(d.name, g.name) }; A.compareByGeneratedPositionsDeflated = function (d, g, n) {
|
|
367
|
+
let v = d.generatedLine - g.generatedLine; if (v!==0) return v; v = d.generatedColumn - g.generatedColumn; if (v!==0 || n) return v; v = r(d.source, g.source); if (v!==0) return v; v = d.originalLine -
|
|
368
|
+
g.originalLine; if (v!==0) return v; v = d.originalColumn - g.originalColumn; return v!==0 ? v : r(d.name, g.name)
|
|
369
|
+
}; A.compareByGeneratedPositionsInflated = function (d, g) { let n = d.generatedLine - g.generatedLine; if (n!==0) return n; n = d.generatedColumn - g.generatedColumn; if (n!==0) return n; n = r(d.source, g.source); if (n!==0) return n; n = d.originalLine - g.originalLine; if (n!==0) return n; n = d.originalColumn - g.originalColumn; return n!==0 ? n : r(d.name, g.name) }; A.parseSourceMapInput = function (d) {
|
|
370
|
+
return JSON.parse(d.replace(/^\)]}'[^\n]*\n/,
|
|
371
|
+
''))
|
|
372
|
+
}; A.computeSourceURL = function (d, g, n) { g = g || ''; d && ('/' !== d[d.length - 1] && '/' !== g[0] && (d += '/'), g = d + g); if (n) { d = e(n); if (!d) throw Error('sourceMapURL could not be parsed'); d.path && (n = d.path.lastIndexOf('/'), n>=0 && (d.path = d.path.substring(0, n + 1))); g = m(p(d), g) } return t(g) }
|
|
373
|
+
}, {}],
|
|
374
|
+
20: [function (C, J, A) { A.SourceMapGenerator = C('./lib/source-map-generator').SourceMapGenerator; A.SourceMapConsumer = C('./lib/source-map-consumer').SourceMapConsumer; A.SourceNode = C('./lib/source-node').SourceNode }, {
|
|
375
|
+
'./lib/source-map-consumer': 16,
|
|
376
|
+
'./lib/source-map-generator': 17,
|
|
377
|
+
'./lib/source-node': 18
|
|
378
|
+
}],
|
|
379
|
+
21: [function (C, J, A) {
|
|
380
|
+
(function (e) {
|
|
381
|
+
function p () { return 'browser' === a ? !0 : 'node' === a ? !1 : 'undefined' !== typeof window && 'function' === typeof XMLHttpRequest && !(window.require && window.module && window.process && 'renderer' === window.process.type) } function t (x) { return function (B) { for (let F = 0; F < x.length; F++) { let E = x[F](B); if (E) return E } return null } } function m (x, B) {
|
|
382
|
+
if (!x) return B; let F = n.dirname(x); var E = /^\w+:\/\/[^\/]*/.exec(F); E = E ? E[0] : ''; let H = F.slice(E.length)
|
|
383
|
+
return E && /^\/\w:/.test(H) ? (E += '/', E + n.resolve(F.slice(E.length), B).replace(/\\/g, '/')) : E + n.resolve(F.slice(E.length), B)
|
|
384
|
+
} function f (x) {
|
|
385
|
+
let B = h[x.source]; if (!B) { var F = N(x.source); F ? (B = h[x.source] = { url: F.url, map: new g(F.map) }, B.map.sourcesContent && B.map.sources.forEach(function (E, H) { let M = B.map.sourcesContent[H]; if (M) { let S = m(B.url, E); b[S] = M } })) : B = h[x.source] = { url: null, map: null } } return B && B.map && 'function' === typeof B.map.originalPositionFor && (F = B.map.originalPositionFor(x), F.source!==null)
|
|
386
|
+
? (F.source =
|
|
387
|
+
m(B.url, F.source), F)
|
|
388
|
+
: x
|
|
389
|
+
} function c (x) { let B = /^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(x); return B ? (x = f({ source: B[2], line: +B[3], column: B[4] - 1 }), 'eval at ' + B[1] + ' (' + x.source + ':' + x.line + ':' + (x.column + 1) + ')') : (B = /^eval at ([^(]+) \((.+)\)$/.exec(x)) ? 'eval at ' + B[1] + ' (' + c(B[2]) + ')' : x } function l () {
|
|
390
|
+
let x = ''; if (this.isNative())x = 'native'; else {
|
|
391
|
+
var B = this.getScriptNameOrSourceURL(); !B && this.isEval() && (x = this.getEvalOrigin(), x += ', '); x = B ? x + B : x + '<anonymous>'; B = this.getLineNumber(); B!=null && (x += ':' + B, (B =
|
|
392
|
+
this.getColumnNumber()) && (x += ':' + B))
|
|
393
|
+
}B = ''; let F = this.getFunctionName(); var E=!0; var H = this.isConstructor(); if (this.isToplevel() || H)H ? B += 'new ' + (F || '<anonymous>') : F ? B += F : (B += x, E = !1); else { H = this.getTypeName(); '[object Object]' === H && (H = 'null'); let M = this.getMethodName(); F ? (H && F.indexOf(H)!=0 && (B += H + '.'), B += F, M && F.indexOf('.' + M) != F.length - M.length - 1 && (B += ' [as ' + M + ']')) : B += H + '.' + (M || '<anonymous>') }E && (B += ' (' + x + ')'); return B
|
|
394
|
+
} function q (x) {
|
|
395
|
+
let B = {}; Object.getOwnPropertyNames(Object.getPrototypeOf(x)).forEach(function (F) {
|
|
396
|
+
B[F] =
|
|
397
|
+
/^(?:is|get)/.test(F) ? function () { return x[F].call(x) } : x[F]
|
|
398
|
+
}); B.toString = l; return B
|
|
399
|
+
} function r (x, B) {
|
|
400
|
+
void 0 === B && (B = { nextPosition: null, curPosition: null }); if (x.isNative()) return B.curPosition = null, x; let F = x.getFileName() || x.getScriptNameOrSourceURL(); if (F) {
|
|
401
|
+
let E = x.getLineNumber(); var H=x.getColumnNumber()-1; var M=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/; var S = M.test; let V = 'object' === typeof e && e!==null ? e.version : ''; M = S.call(M, V) ? 0 : 62; E===1 && H > M && !p() && !x.isEval() && (H -= M); let O =
|
|
402
|
+
f({ source: F, line: E, column: H }); B.curPosition = O; x = q(x); let T = x.getFunctionName; x.getFunctionName = function () { return B.nextPosition==null ? T() : B.nextPosition.name || T() }; x.getFileName = function () { return O.source }; x.getLineNumber = function () { return O.line }; x.getColumnNumber = function () { return O.column + 1 }; x.getScriptNameOrSourceURL = function () { return O.source }; return x
|
|
403
|
+
} let Q = x.isEval() && x.getEvalOrigin(); Q && (Q = c(Q), x = q(x), x.getEvalOrigin = function () { return Q }); return x
|
|
404
|
+
} function k (x, B) {
|
|
405
|
+
L && (b = {}, h = {}); for (var F =
|
|
406
|
+
(x.name || 'Error') + ': ' + (x.message || ''), E = { nextPosition: null, curPosition: null }, H = [], M = B.length - 1; M>=0; M--)H.push('\n at ' + r(B[M], E)), E.nextPosition = E.curPosition; E.curPosition = E.nextPosition = null; return F + H.reverse().join('')
|
|
407
|
+
} function u (x) {
|
|
408
|
+
let B = /\n {4}at [^(]+ \((.*):(\d+):(\d+)\)/.exec(x.stack); if (B) {
|
|
409
|
+
x = B[1]; let F = +B[2]; B = +B[3]; let E = b[x]; if (!E && v && v.existsSync(x))try { E = v.readFileSync(x, 'utf8') }catch (H) { E = '' }if (E && (E = E.split(/(?:\r\n|\r|\n)/)[F - 1])) {return x+":"+F+"\n"+E+"\n"+Array(B).join(" ")+
|
|
410
|
+
"^"}
|
|
411
|
+
} return null
|
|
412
|
+
} function d () { let x = e.emit; e.emit = function (B) { if ('uncaughtException' === B) { let F = arguments[1] && arguments[1].stack; var E = this.listeners(B).length>0; if (F && !E) { F = arguments[1]; E = u(F); let H = 'object' === typeof e && e!==null ? e.stderr : void 0; H && H._handle && H._handle.setBlocking && H._handle.setBlocking(!0); E && (console.error(), console.error(E)); console.error(F.stack); 'object' === typeof e && e!==null && 'function' === typeof e.exit && e.exit(1); return } } return x.apply(this, arguments) } } var g = C('source-map').SourceMapConsumer;
|
|
413
|
+
var n = C('path'); try { var v = C('fs'); v.existsSync && v.readFileSync || (v = null) }catch (x) {} var z = C('buffer-from'); var G=!1; var D=!1; var L=!1; var a="auto"; var b={}; var h={}; var w=/^data:application\/json[^,]+base64,/; var y=[]; var I=[]; var K = t(y); y.push(function (x) {
|
|
414
|
+
x = x.trim(); /^file:/.test(x) && (x = x.replace(/file:\/\/\/(\w:)?/, function (E, H) { return H ? '' : '/' })); if (x in b) return b[x]; let B = ''; try { if (v)v.existsSync(x) && (B = v.readFileSync(x, 'utf8')); else { let F = new XMLHttpRequest(); F.open('GET', x, !1); F.send(null); F.readyState===4 && F.status===200 && (B = F.responseText) } }catch (E) {} return b[x] =
|
|
415
|
+
B
|
|
416
|
+
}); var N = t(I); I.push(function (x) {
|
|
417
|
+
a: { if (p())try { var B = new XMLHttpRequest(); B.open('GET', x, !1); B.send(null); var F = B.getResponseHeader('SourceMap') || B.getResponseHeader('X-SourceMap'); if (F) { var E = F; break a } }catch (M) {}E = K(x); B = /(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/mg; for (var H; F = B.exec(E);)H = F; E = H ? H[1] : null }if (!E) return null; w.test(E) ? (H = E.slice(E.indexOf(',') + 1), H = z(H, 'base64').toString(), E = x) : (E = m(x, E), H = K(E)); return H
|
|
418
|
+
? {
|
|
419
|
+
url: E,
|
|
420
|
+
map: H
|
|
421
|
+
}
|
|
422
|
+
: null
|
|
423
|
+
}); let P = y.slice(0); var W = I.slice(0); A.wrapCallSite = r; A.getErrorSource = u; A.mapSourcePosition = f; A.retrieveSourceMap = N; A.install = function (x) {
|
|
424
|
+
x = x || {}; if (x.environment && (a = x.environment, ["node","browser","auto"].indexOf(a)===-1)) throw Error('environment ' + a + ' was unknown. Available options are {auto, browser, node}'); x.retrieveFile && (x.overrideRetrieveFile && (y.length = 0), y.unshift(x.retrieveFile)); x.retrieveSourceMap && (x.overrideRetrieveSourceMap && (I.length = 0), I.unshift(x.retrieveSourceMap)); if (x.hookRequire &&
|
|
425
|
+
!p()) { let B = J.require('module'); var F = B.prototype._compile; F.__sourceMapSupport || (B.prototype._compile = function (E, H) { b[H] = E; h[H] = void 0; return F.call(this, E, H) }, B.prototype._compile.__sourceMapSupport = !0) }L || (L = 'emptyCacheBetweenOperations' in x ? x.emptyCacheBetweenOperations : !1); G || (G = !0, Error.prepareStackTrace = k); if (!D) {
|
|
426
|
+
x = 'handleUncaughtExceptions' in x ? x.handleUncaughtExceptions : !0; try { !1 === J.require('worker_threads').isMainThread && (x = !1) }catch (E) {}x && 'object' === typeof e && e!==null && 'function' === typeof e.on &&
|
|
427
|
+
(D = !0, d())
|
|
428
|
+
}
|
|
429
|
+
}; A.resetRetrieveHandlers = function () { y.length = 0; I.length = 0; y = P.slice(0); I = W.slice(0); N = t(I); K = t(y) }
|
|
430
|
+
}).call(this, C('g5I+bs'))
|
|
431
|
+
}, { 'buffer-from': 4, fs: 3, 'g5I+bs': 9, path: 8, 'source-map': 20 }]
|
|
432
|
+
}, {}, [1]); return R
|
|
433
|
+
})
|
|
434
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect width="48" height="48" fill="#00050B"/>
|
|
3
|
+
<path d="M11.4863 26.6774V33.3735" stroke="#21FA90" stroke-width="1.5081" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<path d="M14.1122 25.3567L19.4488 28.4484L27.4103 23.836V14.6124L19.4488 10L11.4863 14.6124V22.6182" stroke="#21FA90" stroke-width="1.5081" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
<path d="M14.1121 28.2855V25.3578L16.7281 23.7606" stroke="#21FA90" stroke-width="1.5081" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
+
<path d="M40.7717 21.3423L44.0001 23.2576V25.1719L40.7717 27.0862" stroke="white" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7
|
+
<path d="M7.61517 16.7977L4 18.8913V28.2407L7.5389 30.2905" stroke="white" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
8
|
+
<path d="M14.1123 32.1698V34.2448L19.4163 37.1845L23.488 34.8001L23.4553 30.4622" stroke="white" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
9
|
+
<path d="M27.4614 28.0264V30.3091L31.2738 32.548L36.848 29.2115V20.107L31.3621 16.9519" stroke="white" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/>
|
|
10
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|