@runmedev/react-console 3.16.7 → 3.16.8
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/dist/react-console.cjs +42 -42
- package/dist/react-console.mjs +418 -417
- package/package.json +2 -2
package/dist/react-console.mjs
CHANGED
|
@@ -113,7 +113,7 @@ function St(e) {
|
|
|
113
113
|
};
|
|
114
114
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function je(e, t) {
|
|
117
117
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
118
118
|
if (!r) return e;
|
|
119
119
|
var s = r.call(e), l, _ = [], b;
|
|
@@ -135,8 +135,8 @@ function qe(e, t, r) {
|
|
|
135
135
|
(_ || !(s in t)) && (_ || (_ = Array.prototype.slice.call(t, 0, s)), _[s] = t[s]);
|
|
136
136
|
return e.concat(_ || Array.prototype.slice.call(t));
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
return this instanceof
|
|
138
|
+
function bt(e) {
|
|
139
|
+
return this instanceof bt ? (this.v = e, this) : new bt(e);
|
|
140
140
|
}
|
|
141
141
|
function Ya(e, t, r) {
|
|
142
142
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
@@ -164,7 +164,7 @@ function Ya(e, t, r) {
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
function u(y) {
|
|
167
|
-
y.value instanceof
|
|
167
|
+
y.value instanceof bt ? Promise.resolve(y.value.v).then(f, h) : g(_[0][2], y);
|
|
168
168
|
}
|
|
169
169
|
function f(y) {
|
|
170
170
|
a("next", y);
|
|
@@ -272,7 +272,7 @@ const { is: qa, defineProperty: Qa, getOwnPropertyDescriptor: ec, getOwnProperty
|
|
|
272
272
|
return r;
|
|
273
273
|
} }, Ri = (e, t) => !qa(e, t), gs = { attribute: !0, type: String, converter: Sr, reflect: !1, useDefault: !1, hasChanged: Ri };
|
|
274
274
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), yt.litPropertyMetadata ?? (yt.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
275
|
-
let
|
|
275
|
+
let mt = class extends HTMLElement {
|
|
276
276
|
static addInitializer(e) {
|
|
277
277
|
this._$Ei(), (this.l ?? (this.l = [])).push(e);
|
|
278
278
|
}
|
|
@@ -475,15 +475,15 @@ let gt = class extends HTMLElement {
|
|
|
475
475
|
firstUpdated(e) {
|
|
476
476
|
}
|
|
477
477
|
};
|
|
478
|
-
|
|
478
|
+
mt.elementStyles = [], mt.shadowRootOptions = { mode: "open" }, mt[Pt("elementProperties")] = /* @__PURE__ */ new Map(), mt[Pt("finalized")] = /* @__PURE__ */ new Map(), ps == null || ps({ ReactiveElement: mt }), (yt.reactiveElementVersions ?? (yt.reactiveElementVersions = [])).push("2.1.1");
|
|
479
479
|
/**
|
|
480
480
|
* @license
|
|
481
481
|
* Copyright 2017 Google LLC
|
|
482
482
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
483
483
|
*/
|
|
484
|
-
const yr = globalThis, Cr = yr.trustedTypes, _s = Cr ? Cr.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Ho = "$lit$", Je = `lit$${Math.random().toFixed(9).slice(2)}$`,
|
|
484
|
+
const yr = globalThis, Cr = yr.trustedTypes, _s = Cr ? Cr.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Ho = "$lit$", Je = `lit$${Math.random().toFixed(9).slice(2)}$`, Wo = "?" + Je, oc = `<${Wo}>`, ht = document, Ht = () => ht.createComment(""), Wt = (e) => e === null || typeof e != "object" && typeof e != "function", Ai = Array.isArray, nc = (e) => Ai(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", zr = `[
|
|
485
485
|
\f\r]`, Dt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ms = /-->/g, bs = />/g, rt = RegExp(`>|${zr}(?:([^\\s"'>=/]+)(${zr}*=${zr}*(?:[^
|
|
486
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ss = /'/g, ys = /"/g,
|
|
486
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ss = /'/g, ys = /"/g, $o = /^(?:script|style|textarea|title)$/i, ac = (e) => (t, ...r) => ({ _$litType$: e, strings: t, values: r }), K = ac(1), Ct = Symbol.for("lit-noChange"), fe = Symbol.for("lit-nothing"), Cs = /* @__PURE__ */ new WeakMap(), nt = ht.createTreeWalker(ht, 129);
|
|
487
487
|
function Go(e, t) {
|
|
488
488
|
if (!Ai(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
489
489
|
return _s !== void 0 ? _s.createHTML(t) : t;
|
|
@@ -494,37 +494,37 @@ const cc = (e, t) => {
|
|
|
494
494
|
for (let i = 0; i < r; i++) {
|
|
495
495
|
const a = e[i];
|
|
496
496
|
let u, f, h = -1, g = 0;
|
|
497
|
-
for (; g < a.length && (b.lastIndex = g, f = b.exec(a), f !== null); ) g = b.lastIndex, b === Dt ? f[1] === "!--" ? b = ms : f[1] !== void 0 ? b = bs : f[2] !== void 0 ? (
|
|
497
|
+
for (; g < a.length && (b.lastIndex = g, f = b.exec(a), f !== null); ) g = b.lastIndex, b === Dt ? f[1] === "!--" ? b = ms : f[1] !== void 0 ? b = bs : f[2] !== void 0 ? ($o.test(f[2]) && (l = RegExp("</" + f[2], "g")), b = rt) : f[3] !== void 0 && (b = rt) : b === rt ? f[0] === ">" ? (b = l ?? Dt, h = -1) : f[1] === void 0 ? h = -2 : (h = b.lastIndex - f[2].length, u = f[1], b = f[3] === void 0 ? rt : f[3] === '"' ? ys : Ss) : b === ys || b === Ss ? b = rt : b === ms || b === bs ? b = Dt : (b = rt, l = void 0);
|
|
498
498
|
const y = b === rt && e[i + 1].startsWith("/>") ? " " : "";
|
|
499
499
|
_ += b === Dt ? a + oc : h >= 0 ? (s.push(u), a.slice(0, h) + Ho + a.slice(h) + Je + y) : a + Je + (h === -2 ? i : y);
|
|
500
500
|
}
|
|
501
501
|
return [Go(e, _ + (e[r] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
|
|
502
502
|
};
|
|
503
|
-
class
|
|
503
|
+
class $t {
|
|
504
504
|
constructor({ strings: t, _$litType$: r }, s) {
|
|
505
505
|
let l;
|
|
506
506
|
this.parts = [];
|
|
507
507
|
let _ = 0, b = 0;
|
|
508
508
|
const i = t.length - 1, a = this.parts, [u, f] = cc(t, r);
|
|
509
|
-
if (this.el =
|
|
509
|
+
if (this.el = $t.createElement(u, s), nt.currentNode = this.el.content, r === 2 || r === 3) {
|
|
510
510
|
const h = this.el.content.firstChild;
|
|
511
511
|
h.replaceWith(...h.childNodes);
|
|
512
512
|
}
|
|
513
|
-
for (; (l =
|
|
513
|
+
for (; (l = nt.nextNode()) !== null && a.length < i; ) {
|
|
514
514
|
if (l.nodeType === 1) {
|
|
515
515
|
if (l.hasAttributes()) for (const h of l.getAttributeNames()) if (h.endsWith(Ho)) {
|
|
516
516
|
const g = f[b++], y = l.getAttribute(h).split(Je), E = /([.?@])?(.*)/.exec(g);
|
|
517
517
|
a.push({ type: 1, index: _, name: E[2], strings: y, ctor: E[1] === "." ? dc : E[1] === "?" ? uc : E[1] === "@" ? hc : Lr }), l.removeAttribute(h);
|
|
518
518
|
} else h.startsWith(Je) && (a.push({ type: 6, index: _ }), l.removeAttribute(h));
|
|
519
|
-
if (
|
|
519
|
+
if ($o.test(l.tagName)) {
|
|
520
520
|
const h = l.textContent.split(Je), g = h.length - 1;
|
|
521
521
|
if (g > 0) {
|
|
522
522
|
l.textContent = Cr ? Cr.emptyScript : "";
|
|
523
|
-
for (let y = 0; y < g; y++) l.append(h[y], Ht()),
|
|
523
|
+
for (let y = 0; y < g; y++) l.append(h[y], Ht()), nt.nextNode(), a.push({ type: 2, index: ++_ });
|
|
524
524
|
l.append(h[g], Ht());
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
|
-
} else if (l.nodeType === 8) if (l.data ===
|
|
527
|
+
} else if (l.nodeType === 8) if (l.data === Wo) a.push({ type: 2, index: _ });
|
|
528
528
|
else {
|
|
529
529
|
let h = -1;
|
|
530
530
|
for (; (h = l.data.indexOf(Je, h + 1)) !== -1; ) a.push({ type: 7, index: _ }), h += Je.length - 1;
|
|
@@ -533,7 +533,7 @@ class Wt {
|
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
535
|
static createElement(t, r) {
|
|
536
|
-
const s =
|
|
536
|
+
const s = ht.createElement("template");
|
|
537
537
|
return s.innerHTML = t, s;
|
|
538
538
|
}
|
|
539
539
|
}
|
|
@@ -541,7 +541,7 @@ function wt(e, t, r = e, s) {
|
|
|
541
541
|
var l, _;
|
|
542
542
|
if (t === Ct) return t;
|
|
543
543
|
let b = s !== void 0 ? (l = r._$Co) == null ? void 0 : l[s] : r._$Cl;
|
|
544
|
-
const i =
|
|
544
|
+
const i = Wt(t) ? void 0 : t._$litDirective$;
|
|
545
545
|
return (b == null ? void 0 : b.constructor) !== i && ((_ = b == null ? void 0 : b._$AO) == null || _.call(b, !1), i === void 0 ? b = void 0 : (b = new i(e), b._$AT(e, r, s)), s !== void 0 ? (r._$Co ?? (r._$Co = []))[s] = b : r._$Cl = b), b !== void 0 && (t = wt(e, b._$AS(e, t.values), b, s)), t;
|
|
546
546
|
}
|
|
547
547
|
class lc {
|
|
@@ -555,17 +555,17 @@ class lc {
|
|
|
555
555
|
return this._$AM._$AU;
|
|
556
556
|
}
|
|
557
557
|
u(t) {
|
|
558
|
-
const { el: { content: r }, parts: s } = this._$AD, l = ((t == null ? void 0 : t.creationScope) ??
|
|
559
|
-
|
|
560
|
-
let _ =
|
|
558
|
+
const { el: { content: r }, parts: s } = this._$AD, l = ((t == null ? void 0 : t.creationScope) ?? ht).importNode(r, !0);
|
|
559
|
+
nt.currentNode = l;
|
|
560
|
+
let _ = nt.nextNode(), b = 0, i = 0, a = s[0];
|
|
561
561
|
for (; a !== void 0; ) {
|
|
562
562
|
if (b === a.index) {
|
|
563
563
|
let u;
|
|
564
564
|
a.type === 2 ? u = new er(_, _.nextSibling, this, t) : a.type === 1 ? u = new a.ctor(_, a.name, a.strings, this, t) : a.type === 6 && (u = new fc(_, this, t)), this._$AV.push(u), a = s[++i];
|
|
565
565
|
}
|
|
566
|
-
b !== (a == null ? void 0 : a.index) && (_ =
|
|
566
|
+
b !== (a == null ? void 0 : a.index) && (_ = nt.nextNode(), b++);
|
|
567
567
|
}
|
|
568
|
-
return
|
|
568
|
+
return nt.currentNode = ht, l;
|
|
569
569
|
}
|
|
570
570
|
p(t) {
|
|
571
571
|
let r = 0;
|
|
@@ -592,7 +592,7 @@ class er {
|
|
|
592
592
|
return this._$AB;
|
|
593
593
|
}
|
|
594
594
|
_$AI(t, r = this) {
|
|
595
|
-
t = wt(this, t, r),
|
|
595
|
+
t = wt(this, t, r), Wt(t) ? t === fe || t == null || t === "" ? (this._$AH !== fe && this._$AR(), this._$AH = fe) : t !== this._$AH && t !== Ct && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : nc(t) ? this.k(t) : this._(t);
|
|
596
596
|
}
|
|
597
597
|
O(t) {
|
|
598
598
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -601,11 +601,11 @@ class er {
|
|
|
601
601
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
602
602
|
}
|
|
603
603
|
_(t) {
|
|
604
|
-
this._$AH !== fe &&
|
|
604
|
+
this._$AH !== fe && Wt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(ht.createTextNode(t)), this._$AH = t;
|
|
605
605
|
}
|
|
606
606
|
$(t) {
|
|
607
607
|
var r;
|
|
608
|
-
const { values: s, _$litType$: l } = t, _ = typeof l == "number" ? this._$AC(t) : (l.el === void 0 && (l.el =
|
|
608
|
+
const { values: s, _$litType$: l } = t, _ = typeof l == "number" ? this._$AC(t) : (l.el === void 0 && (l.el = $t.createElement(Go(l.h, l.h[0]), this.options)), l);
|
|
609
609
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === _) this._$AH.p(s);
|
|
610
610
|
else {
|
|
611
611
|
const b = new lc(_, this), i = b.u(this.options);
|
|
@@ -614,7 +614,7 @@ class er {
|
|
|
614
614
|
}
|
|
615
615
|
_$AC(t) {
|
|
616
616
|
let r = Cs.get(t.strings);
|
|
617
|
-
return r === void 0 && Cs.set(t.strings, r = new
|
|
617
|
+
return r === void 0 && Cs.set(t.strings, r = new $t(t)), r;
|
|
618
618
|
}
|
|
619
619
|
k(t) {
|
|
620
620
|
Ai(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -648,11 +648,11 @@ class Lr {
|
|
|
648
648
|
_$AI(t, r = this, s, l) {
|
|
649
649
|
const _ = this.strings;
|
|
650
650
|
let b = !1;
|
|
651
|
-
if (_ === void 0) t = wt(this, t, r, 0), b =
|
|
651
|
+
if (_ === void 0) t = wt(this, t, r, 0), b = !Wt(t) || t !== this._$AH && t !== Ct, b && (this._$AH = t);
|
|
652
652
|
else {
|
|
653
653
|
const i = t;
|
|
654
654
|
let a, u;
|
|
655
|
-
for (t = _[0], a = 0; a < _.length - 1; a++) u = wt(this, i[s + a], r, a), u === Ct && (u = this._$AH[a]), b || (b =
|
|
655
|
+
for (t = _[0], a = 0; a < _.length - 1; a++) u = wt(this, i[s + a], r, a), u === Ct && (u = this._$AH[a]), b || (b = !Wt(u) || u !== this._$AH[a]), u === fe ? t = fe : t !== fe && (t += (u ?? "") + _[a + 1]), this._$AH[a] = u;
|
|
656
656
|
}
|
|
657
657
|
b && !l && this.j(t);
|
|
658
658
|
}
|
|
@@ -702,7 +702,7 @@ class fc {
|
|
|
702
702
|
}
|
|
703
703
|
}
|
|
704
704
|
const ws = yr.litHtmlPolyfillSupport;
|
|
705
|
-
ws == null || ws(
|
|
705
|
+
ws == null || ws($t, er), (yr.litHtmlVersions ?? (yr.litHtmlVersions = [])).push("3.3.1");
|
|
706
706
|
const vc = (e, t, r) => {
|
|
707
707
|
const s = (r == null ? void 0 : r.renderBefore) ?? t;
|
|
708
708
|
let l = s._$litPart$;
|
|
@@ -718,7 +718,7 @@ const vc = (e, t, r) => {
|
|
|
718
718
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
719
719
|
*/
|
|
720
720
|
const Gt = globalThis;
|
|
721
|
-
class we extends
|
|
721
|
+
class we extends mt {
|
|
722
722
|
constructor() {
|
|
723
723
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
724
724
|
}
|
|
@@ -2200,11 +2200,11 @@ function Ac() {
|
|
|
2200
2200
|
R = !0;
|
|
2201
2201
|
}
|
|
2202
2202
|
R || d.push({ text: T, range: L, activate: (F, U) => v ? v.activate(F, U, L) : E(0, U), hover: (F, U) => {
|
|
2203
|
-
var
|
|
2204
|
-
return (
|
|
2203
|
+
var W;
|
|
2204
|
+
return (W = v == null ? void 0 : v.hover) == null ? void 0 : W.call(v, F, U, L);
|
|
2205
2205
|
}, leave: (F, U) => {
|
|
2206
|
-
var
|
|
2207
|
-
return (
|
|
2206
|
+
var W;
|
|
2207
|
+
return (W = v == null ? void 0 : v.leave) == null ? void 0 : W.call(v, F, U, L);
|
|
2208
2208
|
} });
|
|
2209
2209
|
}
|
|
2210
2210
|
k = !1, C.hasExtendedAttrs() && C.extended.urlId ? (m = A, w = C.extended.urlId) : (m = -1, w = -1);
|
|
@@ -2254,8 +2254,8 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
2254
2254
|
};
|
|
2255
2255
|
}, 3236: (b, i, a) => {
|
|
2256
2256
|
Object.defineProperty(i, "__esModule", { value: !0 }), i.Terminal = void 0;
|
|
2257
|
-
const u = a(3614), f = a(3656), h = a(3551), g = a(9042), y = a(3730), E = a(1680), p = a(3107), o = a(5744), c = a(2950), n = a(1296), d = a(428), v = a(4269), C = a(5114), S = a(8934), w = a(3230), m = a(9312), k = a(4725), A = a(6731), T = a(8055), L = a(8969), R = a(8460), F = a(844), U = a(6114),
|
|
2258
|
-
class
|
|
2257
|
+
const u = a(3614), f = a(3656), h = a(3551), g = a(9042), y = a(3730), E = a(1680), p = a(3107), o = a(5744), c = a(2950), n = a(1296), d = a(428), v = a(4269), C = a(5114), S = a(8934), w = a(3230), m = a(9312), k = a(4725), A = a(6731), T = a(8055), L = a(8969), R = a(8460), F = a(844), U = a(6114), W = a(8437), z = a(2584), $ = a(7399), B = a(5941), x = a(9074), D = a(2585), O = a(5435), V = a(4567), G = a(779);
|
|
2258
|
+
class J extends L.CoreTerminal {
|
|
2259
2259
|
get onFocus() {
|
|
2260
2260
|
return this._onFocus.event;
|
|
2261
2261
|
}
|
|
@@ -2506,7 +2506,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
2506
2506
|
const I = this.browser.isMac && this.options.macOptionIsMeta && N.altKey;
|
|
2507
2507
|
if (!I && !this._compositionHelper.keydown(N)) return this.options.scrollOnUserInput && this.buffer.ybase !== this.buffer.ydisp && this.scrollToBottom(), !1;
|
|
2508
2508
|
I || N.key !== "Dead" && N.key !== "AltGraph" || (this._unprocessedDeadKey = !0);
|
|
2509
|
-
const H = (0,
|
|
2509
|
+
const H = (0, $.evaluateKeyboardEvent)(N, this.coreService.decPrivateModes.applicationCursorKeys, this.browser.isMac, this.options.macOptionIsMeta);
|
|
2510
2510
|
if (this.updateCursorStyle(N), H.type === 3 || H.type === 2) {
|
|
2511
2511
|
const P = this.rows - 1;
|
|
2512
2512
|
return this.scrollLines(H.type === 2 ? -P : P), this.cancel(N, !0);
|
|
@@ -2553,7 +2553,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
2553
2553
|
var N;
|
|
2554
2554
|
if (this.buffer.ybase !== 0 || this.buffer.y !== 0) {
|
|
2555
2555
|
this.buffer.clearAllMarkers(), this.buffer.lines.set(0, this.buffer.lines.get(this.buffer.ybase + this.buffer.y)), this.buffer.lines.length = 1, this.buffer.ydisp = 0, this.buffer.ybase = 0, this.buffer.y = 0;
|
|
2556
|
-
for (let I = 1; I < this.rows; I++) this.buffer.lines.push(this.buffer.getBlankLine(
|
|
2556
|
+
for (let I = 1; I < this.rows; I++) this.buffer.lines.push(this.buffer.getBlankLine(W.DEFAULT_ATTR_DATA));
|
|
2557
2557
|
this._onScroll.fire({ position: this.buffer.ydisp, source: 0 }), (N = this.viewport) == null || N.reset(), this.refresh(0, this.rows - 1);
|
|
2558
2558
|
}
|
|
2559
2559
|
}
|
|
@@ -2586,7 +2586,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
2586
2586
|
if (this.options.cancelEvents || I) return N.preventDefault(), N.stopPropagation(), !1;
|
|
2587
2587
|
}
|
|
2588
2588
|
}
|
|
2589
|
-
i.Terminal =
|
|
2589
|
+
i.Terminal = J;
|
|
2590
2590
|
}, 9924: (b, i) => {
|
|
2591
2591
|
Object.defineProperty(i, "__esModule", { value: !0 }), i.TimeBasedDebouncer = void 0, i.TimeBasedDebouncer = class {
|
|
2592
2592
|
constructor(a, u = 1e3) {
|
|
@@ -3024,11 +3024,11 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
3024
3024
|
})(v, C, 0, c, n, d) + f(C, c, n, d) + (function(m, k, A, T, L, R) {
|
|
3025
3025
|
let F;
|
|
3026
3026
|
F = f(k, T, L, R).length > 0 ? T - h(T, L) : k;
|
|
3027
|
-
const U = T,
|
|
3027
|
+
const U = T, W = (function(z, $, B, x, D, O) {
|
|
3028
3028
|
let V;
|
|
3029
|
-
return V = f(B, x, D, O).length > 0 ? x - h(x, D) :
|
|
3029
|
+
return V = f(B, x, D, O).length > 0 ? x - h(x, D) : $, z < B && V <= x || z >= B && V < x ? "C" : "D";
|
|
3030
3030
|
})(m, k, A, T, L, R);
|
|
3031
|
-
return p(y(m, F, A, U,
|
|
3031
|
+
return p(y(m, F, A, U, W === "C", L).length, E(W, R));
|
|
3032
3032
|
})(v, C, o, c, n, d);
|
|
3033
3033
|
let S;
|
|
3034
3034
|
if (C === c) return S = v > o ? "D" : "C", p(Math.abs(v - o), E(S, d));
|
|
@@ -3039,21 +3039,21 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
3039
3039
|
})(C > c ? o : v, n) + (w - 1) * n.cols + 1 + ((C > c ? v : o) - 1), E(S, d));
|
|
3040
3040
|
};
|
|
3041
3041
|
}, 1296: function(b, i, a) {
|
|
3042
|
-
var u = this && this.__decorate || function(R, F, U,
|
|
3043
|
-
var z,
|
|
3044
|
-
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") B = Reflect.decorate(R, F, U,
|
|
3045
|
-
else for (var x = R.length - 1; x >= 0; x--) (z = R[x]) && (B = (
|
|
3046
|
-
return
|
|
3042
|
+
var u = this && this.__decorate || function(R, F, U, W) {
|
|
3043
|
+
var z, $ = arguments.length, B = $ < 3 ? F : W === null ? W = Object.getOwnPropertyDescriptor(F, U) : W;
|
|
3044
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") B = Reflect.decorate(R, F, U, W);
|
|
3045
|
+
else for (var x = R.length - 1; x >= 0; x--) (z = R[x]) && (B = ($ < 3 ? z(B) : $ > 3 ? z(F, U, B) : z(F, U)) || B);
|
|
3046
|
+
return $ > 3 && B && Object.defineProperty(F, U, B), B;
|
|
3047
3047
|
}, f = this && this.__param || function(R, F) {
|
|
3048
|
-
return function(U,
|
|
3049
|
-
F(U,
|
|
3048
|
+
return function(U, W) {
|
|
3049
|
+
F(U, W, R);
|
|
3050
3050
|
};
|
|
3051
3051
|
};
|
|
3052
3052
|
Object.defineProperty(i, "__esModule", { value: !0 }), i.DomRenderer = void 0;
|
|
3053
3053
|
const h = a(3787), g = a(2550), y = a(2223), E = a(6171), p = a(6052), o = a(4725), c = a(8055), n = a(8460), d = a(844), v = a(2585), C = "xterm-dom-renderer-owner-", S = "xterm-rows", w = "xterm-fg-", m = "xterm-bg-", k = "xterm-focus", A = "xterm-selection";
|
|
3054
3054
|
let T = 1, L = i.DomRenderer = class extends d.Disposable {
|
|
3055
|
-
constructor(R, F, U,
|
|
3056
|
-
super(), this._terminal = R, this._document = F, this._element = U, this._screenElement =
|
|
3055
|
+
constructor(R, F, U, W, z, $, B, x, D, O, V, G, J) {
|
|
3056
|
+
super(), this._terminal = R, this._document = F, this._element = U, this._screenElement = W, this._viewportElement = z, this._helperContainer = $, this._linkifier2 = B, this._charSizeService = D, this._optionsService = O, this._bufferService = V, this._coreBrowserService = G, this._themeService = J, this._terminalClass = T++, this._rowElements = [], this._selectionRenderModel = (0, p.createSelectionRenderModel)(), this.onRequestRedraw = this.register(new n.EventEmitter()).event, this._rowContainer = this._document.createElement("div"), this._rowContainer.classList.add(S), this._rowContainer.style.lineHeight = "normal", this._rowContainer.setAttribute("aria-hidden", "true"), this._refreshRowElements(this._bufferService.cols, this._bufferService.rows), this._selectionContainer = this._document.createElement("div"), this._selectionContainer.classList.add(A), this._selectionContainer.setAttribute("aria-hidden", "true"), this.dimensions = (0, E.createRenderDimensions)(), this._updateDimensions(), this.register(this._optionsService.onOptionChange((() => this._handleOptionsChanged()))), this.register(this._themeService.onChangeColors(((Q) => this._injectCss(Q)))), this._injectCss(this._themeService.colors), this._rowFactory = x.createInstance(h.DomRendererRowFactory, document), this._element.classList.add(C + this._terminalClass), this._screenElement.appendChild(this._rowContainer), this._screenElement.appendChild(this._selectionContainer), this.register(this._linkifier2.onShowLinkUnderline(((Q) => this._handleLinkHover(Q)))), this.register(this._linkifier2.onHideLinkUnderline(((Q) => this._handleLinkLeave(Q)))), this.register((0, d.toDisposable)((() => {
|
|
3057
3057
|
this._element.classList.remove(C + this._terminalClass), this._rowContainer.remove(), this._selectionContainer.remove(), this._widthCache.dispose(), this._themeStyleElement.remove(), this._dimensionsStyleElement.remove();
|
|
3058
3058
|
}))), this._widthCache = new g.WidthCache(this._document, this._helperContainer), this._widthCache.setFont(this._optionsService.rawOptions.fontFamily, this._optionsService.rawOptions.fontSize, this._optionsService.rawOptions.fontWeight, this._optionsService.rawOptions.fontWeightBold), this._setDefaultSpacing();
|
|
3059
3059
|
}
|
|
@@ -3069,9 +3069,9 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
3069
3069
|
this._themeStyleElement || (this._themeStyleElement = this._document.createElement("style"), this._screenElement.appendChild(this._themeStyleElement));
|
|
3070
3070
|
let F = `${this._terminalSelector} .${S} { color: ${R.foreground.css}; font-family: ${this._optionsService.rawOptions.fontFamily}; font-size: ${this._optionsService.rawOptions.fontSize}px; font-kerning: none; white-space: pre}`;
|
|
3071
3071
|
F += `${this._terminalSelector} .${S} .xterm-dim { color: ${c.color.multiplyOpacity(R.foreground, 0.5).css};}`, F += `${this._terminalSelector} span:not(.xterm-bold) { font-weight: ${this._optionsService.rawOptions.fontWeight};}${this._terminalSelector} span.xterm-bold { font-weight: ${this._optionsService.rawOptions.fontWeightBold};}${this._terminalSelector} span.xterm-italic { font-style: italic;}`;
|
|
3072
|
-
const U = `blink_underline_${this._terminalClass}`,
|
|
3073
|
-
F += `@keyframes ${U} { 50% { border-bottom-style: hidden; }}`, F += `@keyframes ${
|
|
3074
|
-
for (const [
|
|
3072
|
+
const U = `blink_underline_${this._terminalClass}`, W = `blink_bar_${this._terminalClass}`, z = `blink_block_${this._terminalClass}`;
|
|
3073
|
+
F += `@keyframes ${U} { 50% { border-bottom-style: hidden; }}`, F += `@keyframes ${W} { 50% { box-shadow: none; }}`, F += `@keyframes ${z} { 0% { background-color: ${R.cursor.css}; color: ${R.cursorAccent.css}; } 50% { background-color: inherit; color: ${R.cursor.css}; }}`, F += `${this._terminalSelector} .${S}.${k} .xterm-cursor.xterm-cursor-blink.xterm-cursor-underline { animation: ${U} 1s step-end infinite;}${this._terminalSelector} .${S}.${k} .xterm-cursor.xterm-cursor-blink.xterm-cursor-bar { animation: ${W} 1s step-end infinite;}${this._terminalSelector} .${S}.${k} .xterm-cursor.xterm-cursor-blink.xterm-cursor-block { animation: ${z} 1s step-end infinite;}${this._terminalSelector} .${S} .xterm-cursor.xterm-cursor-block { background-color: ${R.cursor.css}; color: ${R.cursorAccent.css};}${this._terminalSelector} .${S} .xterm-cursor.xterm-cursor-block:not(.xterm-cursor-blink) { background-color: ${R.cursor.css} !important; color: ${R.cursorAccent.css} !important;}${this._terminalSelector} .${S} .xterm-cursor.xterm-cursor-outline { outline: 1px solid ${R.cursor.css}; outline-offset: -1px;}${this._terminalSelector} .${S} .xterm-cursor.xterm-cursor-bar { box-shadow: ${this._optionsService.rawOptions.cursorWidth}px 0 0 ${R.cursor.css} inset;}${this._terminalSelector} .${S} .xterm-cursor.xterm-cursor-underline { border-bottom: 1px ${R.cursor.css}; border-bottom-style: solid; height: calc(100% - 1px);}`, F += `${this._terminalSelector} .${A} { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}${this._terminalSelector}.focus .${A} div { position: absolute; background-color: ${R.selectionBackgroundOpaque.css};}${this._terminalSelector} .${A} div { position: absolute; background-color: ${R.selectionInactiveBackgroundOpaque.css};}`;
|
|
3074
|
+
for (const [$, B] of R.ansi.entries()) F += `${this._terminalSelector} .${w}${$} { color: ${B.css}; }${this._terminalSelector} .${w}${$}.xterm-dim { color: ${c.color.multiplyOpacity(B, 0.5).css}; }${this._terminalSelector} .${m}${$} { background-color: ${B.css}; }`;
|
|
3075
3075
|
F += `${this._terminalSelector} .${w}${y.INVERTED_DEFAULT_COLOR} { color: ${c.color.opaque(R.background).css}; }${this._terminalSelector} .${w}${y.INVERTED_DEFAULT_COLOR}.xterm-dim { color: ${c.color.multiplyOpacity(c.color.opaque(R.background), 0.5).css}; }${this._terminalSelector} .${m}${y.INVERTED_DEFAULT_COLOR} { background-color: ${R.foreground.css}; }`, this._themeStyleElement.textContent = F;
|
|
3076
3076
|
}
|
|
3077
3077
|
_setDefaultSpacing() {
|
|
@@ -3083,8 +3083,8 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
3083
3083
|
}
|
|
3084
3084
|
_refreshRowElements(R, F) {
|
|
3085
3085
|
for (let U = this._rowElements.length; U <= F; U++) {
|
|
3086
|
-
const
|
|
3087
|
-
this._rowContainer.appendChild(
|
|
3086
|
+
const W = this._document.createElement("div");
|
|
3087
|
+
this._rowContainer.appendChild(W), this._rowElements.push(W);
|
|
3088
3088
|
}
|
|
3089
3089
|
for (; this._rowElements.length > F; ) this._rowContainer.removeChild(this._rowElements.pop());
|
|
3090
3090
|
}
|
|
@@ -3103,27 +3103,27 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
3103
3103
|
handleSelectionChanged(R, F, U) {
|
|
3104
3104
|
if (this._selectionContainer.replaceChildren(), this._rowFactory.handleSelectionChanged(R, F, U), this.renderRows(0, this._bufferService.rows - 1), !R || !F) return;
|
|
3105
3105
|
this._selectionRenderModel.update(this._terminal, R, F, U);
|
|
3106
|
-
const
|
|
3107
|
-
if (
|
|
3106
|
+
const W = this._selectionRenderModel.viewportStartRow, z = this._selectionRenderModel.viewportEndRow, $ = this._selectionRenderModel.viewportCappedStartRow, B = this._selectionRenderModel.viewportCappedEndRow;
|
|
3107
|
+
if ($ >= this._bufferService.rows || B < 0) return;
|
|
3108
3108
|
const x = this._document.createDocumentFragment();
|
|
3109
3109
|
if (U) {
|
|
3110
3110
|
const D = R[0] > F[0];
|
|
3111
|
-
x.appendChild(this._createSelectionElement(
|
|
3111
|
+
x.appendChild(this._createSelectionElement($, D ? F[0] : R[0], D ? R[0] : F[0], B - $ + 1));
|
|
3112
3112
|
} else {
|
|
3113
|
-
const D =
|
|
3114
|
-
x.appendChild(this._createSelectionElement(
|
|
3115
|
-
const V = B -
|
|
3116
|
-
if (x.appendChild(this._createSelectionElement(
|
|
3113
|
+
const D = W === $ ? R[0] : 0, O = $ === z ? F[0] : this._bufferService.cols;
|
|
3114
|
+
x.appendChild(this._createSelectionElement($, D, O));
|
|
3115
|
+
const V = B - $ - 1;
|
|
3116
|
+
if (x.appendChild(this._createSelectionElement($ + 1, 0, this._bufferService.cols, V)), $ !== B) {
|
|
3117
3117
|
const G = z === B ? F[0] : this._bufferService.cols;
|
|
3118
3118
|
x.appendChild(this._createSelectionElement(B, 0, G));
|
|
3119
3119
|
}
|
|
3120
3120
|
}
|
|
3121
3121
|
this._selectionContainer.appendChild(x);
|
|
3122
3122
|
}
|
|
3123
|
-
_createSelectionElement(R, F, U,
|
|
3124
|
-
const z = this._document.createElement("div"),
|
|
3123
|
+
_createSelectionElement(R, F, U, W = 1) {
|
|
3124
|
+
const z = this._document.createElement("div"), $ = F * this.dimensions.css.cell.width;
|
|
3125
3125
|
let B = this.dimensions.css.cell.width * (U - F);
|
|
3126
|
-
return
|
|
3126
|
+
return $ + B > this.dimensions.css.canvas.width && (B = this.dimensions.css.canvas.width - $), z.style.height = W * this.dimensions.css.cell.height + "px", z.style.top = R * this.dimensions.css.cell.height + "px", z.style.left = `${$}px`, z.style.width = `${B}px`, z;
|
|
3127
3127
|
}
|
|
3128
3128
|
handleCursorMove() {
|
|
3129
3129
|
}
|
|
@@ -3134,11 +3134,11 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
3134
3134
|
for (const R of this._rowElements) R.replaceChildren();
|
|
3135
3135
|
}
|
|
3136
3136
|
renderRows(R, F) {
|
|
3137
|
-
const U = this._bufferService.buffer,
|
|
3137
|
+
const U = this._bufferService.buffer, W = U.ybase + U.y, z = Math.min(U.x, this._bufferService.cols - 1), $ = this._optionsService.rawOptions.cursorBlink, B = this._optionsService.rawOptions.cursorStyle, x = this._optionsService.rawOptions.cursorInactiveStyle;
|
|
3138
3138
|
for (let D = R; D <= F; D++) {
|
|
3139
3139
|
const O = D + U.ydisp, V = this._rowElements[D], G = U.lines.get(O);
|
|
3140
3140
|
if (!V || !G) break;
|
|
3141
|
-
V.replaceChildren(...this._rowFactory.createRow(G, O, O ===
|
|
3141
|
+
V.replaceChildren(...this._rowFactory.createRow(G, O, O === W, B, x, z, $, this.dimensions.css.cell.width, this._widthCache, -1, -1));
|
|
3142
3142
|
}
|
|
3143
3143
|
}
|
|
3144
3144
|
get _terminalSelector() {
|
|
@@ -3150,15 +3150,15 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
3150
3150
|
_handleLinkLeave(R) {
|
|
3151
3151
|
this._setCellUnderline(R.x1, R.x2, R.y1, R.y2, R.cols, !1);
|
|
3152
3152
|
}
|
|
3153
|
-
_setCellUnderline(R, F, U,
|
|
3154
|
-
U < 0 && (R = 0),
|
|
3153
|
+
_setCellUnderline(R, F, U, W, z, $) {
|
|
3154
|
+
U < 0 && (R = 0), W < 0 && (F = 0);
|
|
3155
3155
|
const B = this._bufferService.rows - 1;
|
|
3156
|
-
U = Math.max(Math.min(U, B), 0),
|
|
3157
|
-
const x = this._bufferService.buffer, D = x.ybase + x.y, O = Math.min(x.x, z - 1), V = this._optionsService.rawOptions.cursorBlink, G = this._optionsService.rawOptions.cursorStyle,
|
|
3158
|
-
for (let Q = U; Q <=
|
|
3156
|
+
U = Math.max(Math.min(U, B), 0), W = Math.max(Math.min(W, B), 0), z = Math.min(z, this._bufferService.cols);
|
|
3157
|
+
const x = this._bufferService.buffer, D = x.ybase + x.y, O = Math.min(x.x, z - 1), V = this._optionsService.rawOptions.cursorBlink, G = this._optionsService.rawOptions.cursorStyle, J = this._optionsService.rawOptions.cursorInactiveStyle;
|
|
3158
|
+
for (let Q = U; Q <= W; ++Q) {
|
|
3159
3159
|
const N = Q + x.ydisp, I = this._rowElements[Q], H = x.lines.get(N);
|
|
3160
3160
|
if (!I || !H) break;
|
|
3161
|
-
I.replaceChildren(...this._rowFactory.createRow(H, N, N === D, G,
|
|
3161
|
+
I.replaceChildren(...this._rowFactory.createRow(H, N, N === D, G, J, O, V, this.dimensions.css.cell.width, this._widthCache, $ ? Q === U ? R : 0 : -1, $ ? (Q === W ? F : z) - 1 : -1));
|
|
3162
3162
|
}
|
|
3163
3163
|
}
|
|
3164
3164
|
};
|
|
@@ -3183,36 +3183,36 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
3183
3183
|
handleSelectionChanged(S, w, m) {
|
|
3184
3184
|
this._selectionStart = S, this._selectionEnd = w, this._columnSelectMode = m;
|
|
3185
3185
|
}
|
|
3186
|
-
createRow(S, w, m, k, A, T, L, R, F, U,
|
|
3187
|
-
const z = [],
|
|
3186
|
+
createRow(S, w, m, k, A, T, L, R, F, U, W) {
|
|
3187
|
+
const z = [], $ = this._characterJoinerService.getJoinedCharacters(w), B = this._themeService.colors;
|
|
3188
3188
|
let x, D = S.getNoBgTrimmedLength();
|
|
3189
3189
|
m && D < T + 1 && (D = T + 1);
|
|
3190
|
-
let O = 0, V = "", G = 0,
|
|
3191
|
-
const Z = [], j = U !== -1 &&
|
|
3190
|
+
let O = 0, V = "", G = 0, J = 0, Q = 0, N = !1, I = 0, H = !1, P = 0;
|
|
3191
|
+
const Z = [], j = U !== -1 && W !== -1;
|
|
3192
3192
|
for (let re = 0; re < D; re++) {
|
|
3193
3193
|
S.loadCell(re, this._workCell);
|
|
3194
3194
|
let de = this._workCell.getWidth();
|
|
3195
3195
|
if (de === 0) continue;
|
|
3196
3196
|
let ue = !1, ke = re, ee = this._workCell;
|
|
3197
|
-
if (
|
|
3197
|
+
if ($.length > 0 && re === $[0][0]) {
|
|
3198
3198
|
ue = !0;
|
|
3199
|
-
const ce =
|
|
3199
|
+
const ce = $.shift();
|
|
3200
3200
|
ee = new c.JoinedCellData(this._workCell, S.translateToString(!0, ce[0], ce[1]), ce[1] - ce[0]), ke = ce[1] - 1, de = ee.getWidth();
|
|
3201
3201
|
}
|
|
3202
|
-
const At = this._isCellInSelection(re, w),
|
|
3202
|
+
const At = this._isCellInSelection(re, w), $r = m && re === T, Gr = j && re >= U && re <= W;
|
|
3203
3203
|
let jr = !1;
|
|
3204
3204
|
this._decorationService.forEachDecorationAtCell(re, w, void 0, ((ce) => {
|
|
3205
3205
|
jr = !0;
|
|
3206
3206
|
}));
|
|
3207
3207
|
let ar = ee.getChars() || g.WHITESPACE_CELL_CHAR;
|
|
3208
3208
|
if (ar === " " && (ee.isUnderline() || ee.isOverline()) && (ar = " "), P = de * R - F.get(ar, ee.isBold(), ee.isItalic()), x) {
|
|
3209
|
-
if (O && (At && H || !At && !H && ee.bg === G) && (At && H && B.selectionForeground || ee.fg ===
|
|
3209
|
+
if (O && (At && H || !At && !H && ee.bg === G) && (At && H && B.selectionForeground || ee.fg === J) && ee.extended.ext === Q && Gr === N && P === I && !$r && !ue && !jr) {
|
|
3210
3210
|
ee.isInvisible() ? V += g.WHITESPACE_CELL_CHAR : V += ar, O++;
|
|
3211
3211
|
continue;
|
|
3212
3212
|
}
|
|
3213
3213
|
O && (x.textContent = V), x = this._document.createElement("span"), O = 0, V = "";
|
|
3214
3214
|
} else x = this._document.createElement("span");
|
|
3215
|
-
if (G = ee.bg,
|
|
3215
|
+
if (G = ee.bg, J = ee.fg, Q = ee.extended.ext, N = Gr, I = P, H = At, ue && T >= re && T <= ke && (T = re), !this._coreService.isCursorHidden && $r && this._coreService.isCursorInitialized) {
|
|
3216
3216
|
if (Z.push("xterm-cursor"), this._coreBrowserService.isFocused) L && Z.push("xterm-cursor-blink"), Z.push(k === "bar" ? "xterm-cursor-bar" : k === "underline" ? "xterm-cursor-underline" : "xterm-cursor-block");
|
|
3217
3217
|
else if (A) switch (A) {
|
|
3218
3218
|
case "outline":
|
|
@@ -3242,33 +3242,33 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
3242
3242
|
const Ga = xt;
|
|
3243
3243
|
xt = Tt, Tt = Ga;
|
|
3244
3244
|
}
|
|
3245
|
-
let
|
|
3245
|
+
let Ke, cr, Ye, Lt = !1;
|
|
3246
3246
|
switch (this._decorationService.forEachDecorationAtCell(re, w, void 0, ((ce) => {
|
|
3247
|
-
ce.options.layer !== "top" && Lt || (ce.backgroundColorRGB && (Tt = 50331648, Fe = ce.backgroundColorRGB.rgba >> 8 & 16777215,
|
|
3248
|
-
})), !Lt && At && (
|
|
3247
|
+
ce.options.layer !== "top" && Lt || (ce.backgroundColorRGB && (Tt = 50331648, Fe = ce.backgroundColorRGB.rgba >> 8 & 16777215, Ke = ce.backgroundColorRGB), ce.foregroundColorRGB && (xt = 50331648, Te = ce.foregroundColorRGB.rgba >> 8 & 16777215, cr = ce.foregroundColorRGB), Lt = ce.options.layer === "top");
|
|
3248
|
+
})), !Lt && At && (Ke = this._coreBrowserService.isFocused ? B.selectionBackgroundOpaque : B.selectionInactiveBackgroundOpaque, Fe = Ke.rgba >> 8 & 16777215, Tt = 50331648, Lt = !0, B.selectionForeground && (xt = 50331648, Te = B.selectionForeground.rgba >> 8 & 16777215, cr = B.selectionForeground)), Lt && Z.push("xterm-decoration-top"), Tt) {
|
|
3249
3249
|
case 16777216:
|
|
3250
3250
|
case 33554432:
|
|
3251
|
-
|
|
3251
|
+
Ye = B.ansi[Fe], Z.push(`xterm-bg-${Fe}`);
|
|
3252
3252
|
break;
|
|
3253
3253
|
case 50331648:
|
|
3254
|
-
|
|
3254
|
+
Ye = p.channels.toColor(Fe >> 16, Fe >> 8 & 255, 255 & Fe), this._addStyle(x, `background-color:#${C((Fe >>> 0).toString(16), "0", 6)}`);
|
|
3255
3255
|
break;
|
|
3256
3256
|
default:
|
|
3257
|
-
Zr ? (
|
|
3257
|
+
Zr ? (Ye = B.foreground, Z.push(`xterm-bg-${h.INVERTED_DEFAULT_COLOR}`)) : Ye = B.background;
|
|
3258
3258
|
}
|
|
3259
|
-
switch (
|
|
3259
|
+
switch (Ke || ee.isDim() && (Ke = p.color.multiplyOpacity(Ye, 0.5)), xt) {
|
|
3260
3260
|
case 16777216:
|
|
3261
3261
|
case 33554432:
|
|
3262
|
-
ee.isBold() && Te < 8 && this._optionsService.rawOptions.drawBoldTextInBrightColors && (Te += 8), this._applyMinimumContrast(x,
|
|
3262
|
+
ee.isBold() && Te < 8 && this._optionsService.rawOptions.drawBoldTextInBrightColors && (Te += 8), this._applyMinimumContrast(x, Ye, B.ansi[Te], ee, Ke, void 0) || Z.push(`xterm-fg-${Te}`);
|
|
3263
3263
|
break;
|
|
3264
3264
|
case 50331648:
|
|
3265
3265
|
const ce = p.channels.toColor(Te >> 16 & 255, Te >> 8 & 255, 255 & Te);
|
|
3266
|
-
this._applyMinimumContrast(x,
|
|
3266
|
+
this._applyMinimumContrast(x, Ye, ce, ee, Ke, cr) || this._addStyle(x, `color:#${C(Te.toString(16), "0", 6)}`);
|
|
3267
3267
|
break;
|
|
3268
3268
|
default:
|
|
3269
|
-
this._applyMinimumContrast(x,
|
|
3269
|
+
this._applyMinimumContrast(x, Ye, B.foreground, ee, Ke, cr) || Zr && Z.push(`xterm-fg-${h.INVERTED_DEFAULT_COLOR}`);
|
|
3270
3270
|
}
|
|
3271
|
-
Z.length && (x.className = Z.join(" "), Z.length = 0),
|
|
3271
|
+
Z.length && (x.className = Z.join(" "), Z.length = 0), $r || ue || jr ? x.textContent = V : O++, P !== this.defaultSpacing && (x.style.letterSpacing = `${P}px`), z.push(x), re = ke;
|
|
3272
3272
|
}
|
|
3273
3273
|
return x && O && (x.textContent = V), z;
|
|
3274
3274
|
}
|
|
@@ -3802,8 +3802,8 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
3802
3802
|
Object.defineProperty(i, "__esModule", { value: !0 }), i.SelectionService = void 0;
|
|
3803
3803
|
const h = a(9806), g = a(9504), y = a(456), E = a(4725), p = a(8460), o = a(844), c = a(6114), n = a(4841), d = a(511), v = a(2585), C = " ", S = new RegExp(C, "g");
|
|
3804
3804
|
let w = i.SelectionService = class extends o.Disposable {
|
|
3805
|
-
constructor(m, k, A, T, L, R, F, U,
|
|
3806
|
-
super(), this._element = m, this._screenElement = k, this._linkifier = A, this._bufferService = T, this._coreService = L, this._mouseService = R, this._optionsService = F, this._renderService = U, this._coreBrowserService =
|
|
3805
|
+
constructor(m, k, A, T, L, R, F, U, W) {
|
|
3806
|
+
super(), this._element = m, this._screenElement = k, this._linkifier = A, this._bufferService = T, this._coreService = L, this._mouseService = R, this._optionsService = F, this._renderService = U, this._coreBrowserService = W, this._dragScrollAmount = 0, this._enabled = !0, this._workCell = new d.CellData(), this._mouseDownTimeStamp = 0, this._oldHasSelection = !1, this._oldSelectionStart = void 0, this._oldSelectionEnd = void 0, this._onLinuxMouseSelection = this.register(new p.EventEmitter()), this.onLinuxMouseSelection = this._onLinuxMouseSelection.event, this._onRedrawRequest = this.register(new p.EventEmitter()), this.onRequestRedraw = this._onRedrawRequest.event, this._onSelectionChange = this.register(new p.EventEmitter()), this.onSelectionChange = this._onSelectionChange.event, this._onRequestScrollLines = this.register(new p.EventEmitter()), this.onRequestScrollLines = this._onRequestScrollLines.event, this._mouseMoveListener = (z) => this._handleMouseMove(z), this._mouseUpListener = (z) => this._handleMouseUp(z), this._coreService.onUserInput((() => {
|
|
3807
3807
|
this.hasSelection && this.clearSelection();
|
|
3808
3808
|
})), this._trimListener = this._bufferService.buffer.lines.onTrim(((z) => this._handleTrim(z))), this.register(this._bufferService.buffers.onBufferActivate(((z) => this._handleBufferActivate(z)))), this.enable(), this._model = new y.SelectionModel(this._bufferService), this._activeSelectionMode = 0, this.register((0, o.toDisposable)((() => {
|
|
3809
3809
|
this._removeMouseDownListeners();
|
|
@@ -3997,36 +3997,36 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
3997
3997
|
const L = this._bufferService.buffer, R = L.lines.get(m[1]);
|
|
3998
3998
|
if (!R) return;
|
|
3999
3999
|
const F = L.translateBufferLineToString(m[1], !1);
|
|
4000
|
-
let U = this._convertViewportColToCharacterIndex(R, m[0]),
|
|
4000
|
+
let U = this._convertViewportColToCharacterIndex(R, m[0]), W = U;
|
|
4001
4001
|
const z = m[0] - U;
|
|
4002
|
-
let
|
|
4002
|
+
let $ = 0, B = 0, x = 0, D = 0;
|
|
4003
4003
|
if (F.charAt(U) === " ") {
|
|
4004
4004
|
for (; U > 0 && F.charAt(U - 1) === " "; ) U--;
|
|
4005
|
-
for (;
|
|
4005
|
+
for (; W < F.length && F.charAt(W + 1) === " "; ) W++;
|
|
4006
4006
|
} else {
|
|
4007
|
-
let G = m[0],
|
|
4008
|
-
R.getWidth(G) === 0 && (
|
|
4009
|
-
const Q = R.getString(
|
|
4010
|
-
for (Q > 1 && (D += Q - 1,
|
|
4007
|
+
let G = m[0], J = m[0];
|
|
4008
|
+
R.getWidth(G) === 0 && ($++, G--), R.getWidth(J) === 2 && (B++, J++);
|
|
4009
|
+
const Q = R.getString(J).length;
|
|
4010
|
+
for (Q > 1 && (D += Q - 1, W += Q - 1); G > 0 && U > 0 && !this._isCharWordSeparator(R.loadCell(G - 1, this._workCell)); ) {
|
|
4011
4011
|
R.loadCell(G - 1, this._workCell);
|
|
4012
4012
|
const N = this._workCell.getChars().length;
|
|
4013
|
-
this._workCell.getWidth() === 0 ? (
|
|
4013
|
+
this._workCell.getWidth() === 0 ? ($++, G--) : N > 1 && (x += N - 1, U -= N - 1), U--, G--;
|
|
4014
4014
|
}
|
|
4015
|
-
for (;
|
|
4016
|
-
R.loadCell(
|
|
4015
|
+
for (; J < R.length && W + 1 < F.length && !this._isCharWordSeparator(R.loadCell(J + 1, this._workCell)); ) {
|
|
4016
|
+
R.loadCell(J + 1, this._workCell);
|
|
4017
4017
|
const N = this._workCell.getChars().length;
|
|
4018
|
-
this._workCell.getWidth() === 2 ? (B++,
|
|
4018
|
+
this._workCell.getWidth() === 2 ? (B++, J++) : N > 1 && (D += N - 1, W += N - 1), W++, J++;
|
|
4019
4019
|
}
|
|
4020
4020
|
}
|
|
4021
|
-
|
|
4022
|
-
let O = U + z -
|
|
4023
|
-
if (k || F.slice(U,
|
|
4021
|
+
W++;
|
|
4022
|
+
let O = U + z - $ + x, V = Math.min(this._bufferService.cols, W - U + $ + B - x - D);
|
|
4023
|
+
if (k || F.slice(U, W).trim() !== "") {
|
|
4024
4024
|
if (A && O === 0 && R.getCodePoint(0) !== 32) {
|
|
4025
4025
|
const G = L.lines.get(m[1] - 1);
|
|
4026
4026
|
if (G && R.isWrapped && G.getCodePoint(this._bufferService.cols - 1) !== 32) {
|
|
4027
|
-
const
|
|
4028
|
-
if (
|
|
4029
|
-
const Q = this._bufferService.cols -
|
|
4027
|
+
const J = this._getWordAt([this._bufferService.cols - 1, m[1] - 1], !1, !0, !1);
|
|
4028
|
+
if (J) {
|
|
4029
|
+
const Q = this._bufferService.cols - J.start;
|
|
4030
4030
|
O -= Q, V += Q;
|
|
4031
4031
|
}
|
|
4032
4032
|
}
|
|
@@ -4034,8 +4034,8 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
4034
4034
|
if (T && O + V === this._bufferService.cols && R.getCodePoint(this._bufferService.cols - 1) !== 32) {
|
|
4035
4035
|
const G = L.lines.get(m[1] + 1);
|
|
4036
4036
|
if (G != null && G.isWrapped && G.getCodePoint(0) !== 32) {
|
|
4037
|
-
const
|
|
4038
|
-
|
|
4037
|
+
const J = this._getWordAt([0, m[1] + 1], !1, !1, !0);
|
|
4038
|
+
J && (V += J.length);
|
|
4039
4039
|
}
|
|
4040
4040
|
}
|
|
4041
4041
|
return { start: O, length: V };
|
|
@@ -4464,21 +4464,21 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
4464
4464
|
return u(void 0), a(((f) => u(f)));
|
|
4465
4465
|
};
|
|
4466
4466
|
}, 5435: function(b, i, a) {
|
|
4467
|
-
var u = this && this.__decorate || function(
|
|
4467
|
+
var u = this && this.__decorate || function($, B, x, D) {
|
|
4468
4468
|
var O, V = arguments.length, G = V < 3 ? B : D === null ? D = Object.getOwnPropertyDescriptor(B, x) : D;
|
|
4469
|
-
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") G = Reflect.decorate(
|
|
4470
|
-
else for (var
|
|
4469
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") G = Reflect.decorate($, B, x, D);
|
|
4470
|
+
else for (var J = $.length - 1; J >= 0; J--) (O = $[J]) && (G = (V < 3 ? O(G) : V > 3 ? O(B, x, G) : O(B, x)) || G);
|
|
4471
4471
|
return V > 3 && G && Object.defineProperty(B, x, G), G;
|
|
4472
|
-
}, f = this && this.__param || function(
|
|
4472
|
+
}, f = this && this.__param || function($, B) {
|
|
4473
4473
|
return function(x, D) {
|
|
4474
|
-
B(x, D,
|
|
4474
|
+
B(x, D, $);
|
|
4475
4475
|
};
|
|
4476
4476
|
};
|
|
4477
4477
|
Object.defineProperty(i, "__esModule", { value: !0 }), i.InputHandler = i.WindowsOptionsReportType = void 0;
|
|
4478
4478
|
const h = a(2584), g = a(7116), y = a(2015), E = a(844), p = a(482), o = a(8437), c = a(8460), n = a(643), d = a(511), v = a(3734), C = a(2585), S = a(1480), w = a(6242), m = a(6351), k = a(5941), A = { "(": 0, ")": 1, "*": 2, "+": 3, "-": 1, ".": 2 }, T = 131072;
|
|
4479
|
-
function L(
|
|
4480
|
-
if (
|
|
4481
|
-
switch (
|
|
4479
|
+
function L($, B) {
|
|
4480
|
+
if ($ > 24) return B.setWinLines || !1;
|
|
4481
|
+
switch ($) {
|
|
4482
4482
|
case 1:
|
|
4483
4483
|
return !!B.restoreWin;
|
|
4484
4484
|
case 2:
|
|
@@ -4527,16 +4527,16 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
4527
4527
|
return !1;
|
|
4528
4528
|
}
|
|
4529
4529
|
var R;
|
|
4530
|
-
(function(
|
|
4531
|
-
|
|
4530
|
+
(function($) {
|
|
4531
|
+
$[$.GET_WIN_SIZE_PIXELS = 0] = "GET_WIN_SIZE_PIXELS", $[$.GET_CELL_SIZE_PIXELS = 1] = "GET_CELL_SIZE_PIXELS";
|
|
4532
4532
|
})(R || (i.WindowsOptionsReportType = R = {}));
|
|
4533
4533
|
let F = 0;
|
|
4534
4534
|
class U extends E.Disposable {
|
|
4535
4535
|
getAttrData() {
|
|
4536
4536
|
return this._curAttrData;
|
|
4537
4537
|
}
|
|
4538
|
-
constructor(B, x, D, O, V, G,
|
|
4539
|
-
super(), this._bufferService = B, this._charsetService = x, this._coreService = D, this._logService = O, this._optionsService = V, this._oscLinkService = G, this._coreMouseService =
|
|
4538
|
+
constructor(B, x, D, O, V, G, J, Q, N = new y.EscapeSequenceParser()) {
|
|
4539
|
+
super(), this._bufferService = B, this._charsetService = x, this._coreService = D, this._logService = O, this._optionsService = V, this._oscLinkService = G, this._coreMouseService = J, this._unicodeService = Q, this._parser = N, this._parseBuffer = new Uint32Array(4096), this._stringDecoder = new p.StringToUtf32(), this._utf8Decoder = new p.Utf8ToUtf32(), this._workCell = new d.CellData(), this._windowTitle = "", this._iconName = "", this._windowTitleStack = [], this._iconNameStack = [], this._curAttrData = o.DEFAULT_ATTR_DATA.clone(), this._eraseAttrDataInternal = o.DEFAULT_ATTR_DATA.clone(), this._onRequestBell = this.register(new c.EventEmitter()), this.onRequestBell = this._onRequestBell.event, this._onRequestRefreshRows = this.register(new c.EventEmitter()), this.onRequestRefreshRows = this._onRequestRefreshRows.event, this._onRequestReset = this.register(new c.EventEmitter()), this.onRequestReset = this._onRequestReset.event, this._onRequestSendFocus = this.register(new c.EventEmitter()), this.onRequestSendFocus = this._onRequestSendFocus.event, this._onRequestSyncScrollBar = this.register(new c.EventEmitter()), this.onRequestSyncScrollBar = this._onRequestSyncScrollBar.event, this._onRequestWindowsOptionsReport = this.register(new c.EventEmitter()), this.onRequestWindowsOptionsReport = this._onRequestWindowsOptionsReport.event, this._onA11yChar = this.register(new c.EventEmitter()), this.onA11yChar = this._onA11yChar.event, this._onA11yTab = this.register(new c.EventEmitter()), this.onA11yTab = this._onA11yTab.event, this._onCursorMove = this.register(new c.EventEmitter()), this.onCursorMove = this._onCursorMove.event, this._onLineFeed = this.register(new c.EventEmitter()), this.onLineFeed = this._onLineFeed.event, this._onScroll = this.register(new c.EventEmitter()), this.onScroll = this._onScroll.event, this._onTitleChange = this.register(new c.EventEmitter()), this.onTitleChange = this._onTitleChange.event, this._onColor = this.register(new c.EventEmitter()), this.onColor = this._onColor.event, this._parseStack = { paused: !1, cursorStartX: 0, cursorStartY: 0, decodedLength: 0, position: 0 }, this._specialColors = [256, 257, 258], this.register(this._parser), this._dirtyRowTracker = new W(this._bufferService), this._activeBuffer = this._bufferService.buffer, this.register(this._bufferService.buffers.onBufferActivate(((I) => this._activeBuffer = I.activeBuffer))), this._parser.setCsiHandlerFallback(((I, H) => {
|
|
4540
4540
|
this._logService.debug("Unknown CSI code: ", { identifier: this._parser.identToString(I), params: H.toArray() });
|
|
4541
4541
|
})), this._parser.setEscHandlerFallback(((I) => {
|
|
4542
4542
|
this._logService.debug("Unknown ESC code: ", { identifier: this._parser.identToString(I) });
|
|
@@ -4564,16 +4564,16 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
4564
4564
|
}
|
|
4565
4565
|
parse(B, x) {
|
|
4566
4566
|
let D, O = this._activeBuffer.x, V = this._activeBuffer.y, G = 0;
|
|
4567
|
-
const
|
|
4568
|
-
if (
|
|
4567
|
+
const J = this._parseStack.paused;
|
|
4568
|
+
if (J) {
|
|
4569
4569
|
if (D = this._parser.parse(this._parseBuffer, this._parseStack.decodedLength, x)) return this._logSlowResolvingAsync(D), D;
|
|
4570
4570
|
O = this._parseStack.cursorStartX, V = this._parseStack.cursorStartY, this._parseStack.paused = !1, B.length > T && (G = this._parseStack.position + T);
|
|
4571
4571
|
}
|
|
4572
|
-
if (this._logService.logLevel <= C.LogLevelEnum.DEBUG && this._logService.debug("parsing data" + (typeof B == "string" ? ` "${B}"` : ` "${Array.prototype.map.call(B, ((I) => String.fromCharCode(I))).join("")}"`), typeof B == "string" ? B.split("").map(((I) => I.charCodeAt(0))) : B), this._parseBuffer.length < B.length && this._parseBuffer.length < T && (this._parseBuffer = new Uint32Array(Math.min(B.length, T))),
|
|
4572
|
+
if (this._logService.logLevel <= C.LogLevelEnum.DEBUG && this._logService.debug("parsing data" + (typeof B == "string" ? ` "${B}"` : ` "${Array.prototype.map.call(B, ((I) => String.fromCharCode(I))).join("")}"`), typeof B == "string" ? B.split("").map(((I) => I.charCodeAt(0))) : B), this._parseBuffer.length < B.length && this._parseBuffer.length < T && (this._parseBuffer = new Uint32Array(Math.min(B.length, T))), J || this._dirtyRowTracker.clearRange(), B.length > T) for (let I = G; I < B.length; I += T) {
|
|
4573
4573
|
const H = I + T < B.length ? I + T : B.length, P = typeof B == "string" ? this._stringDecoder.decode(B.substring(I, H), this._parseBuffer) : this._utf8Decoder.decode(B.subarray(I, H), this._parseBuffer);
|
|
4574
4574
|
if (D = this._parser.parse(this._parseBuffer, P)) return this._preserveStack(O, V, P, I), this._logSlowResolvingAsync(D), D;
|
|
4575
4575
|
}
|
|
4576
|
-
else if (!
|
|
4576
|
+
else if (!J) {
|
|
4577
4577
|
const I = typeof B == "string" ? this._stringDecoder.decode(B, this._parseBuffer) : this._utf8Decoder.decode(B, this._parseBuffer);
|
|
4578
4578
|
if (D = this._parser.parse(this._parseBuffer, I)) return this._preserveStack(O, V, I, 0), this._logSlowResolvingAsync(D), D;
|
|
4579
4579
|
}
|
|
@@ -4583,7 +4583,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
4583
4583
|
}
|
|
4584
4584
|
print(B, x, D) {
|
|
4585
4585
|
let O, V;
|
|
4586
|
-
const G = this._charsetService.charset,
|
|
4586
|
+
const G = this._charsetService.charset, J = this._optionsService.rawOptions.screenReaderMode, Q = this._bufferService.cols, N = this._coreService.decPrivateModes.wraparound, I = this._coreService.modes.insertMode, H = this._curAttrData;
|
|
4587
4587
|
let P = this._activeBuffer.lines.get(this._activeBuffer.ybase + this._activeBuffer.y);
|
|
4588
4588
|
this._dirtyRowTracker.markDirty(this._activeBuffer.y), this._activeBuffer.x && D - x > 0 && P.getWidth(this._activeBuffer.x - 1) === 2 && P.setCellFromCodepoint(this._activeBuffer.x - 1, 0, 1, H);
|
|
4589
4589
|
let Z = this._parser.precedingJoinState;
|
|
@@ -4595,7 +4595,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
4595
4595
|
const re = this._unicodeService.charProperties(O, Z);
|
|
4596
4596
|
V = S.UnicodeService.extractWidth(re);
|
|
4597
4597
|
const de = S.UnicodeService.extractShouldJoin(re), ue = de ? S.UnicodeService.extractWidth(Z) : 0;
|
|
4598
|
-
if (Z = re,
|
|
4598
|
+
if (Z = re, J && this._onA11yChar.fire((0, p.stringFromCodePoint)(O)), this._getCurrentLinkId() && this._oscLinkService.addLineToLink(this._getCurrentLinkId(), this._activeBuffer.ybase + this._activeBuffer.y), this._activeBuffer.x + V - ue > Q) {
|
|
4599
4599
|
if (N) {
|
|
4600
4600
|
const ke = P;
|
|
4601
4601
|
let ee = this._activeBuffer.x - ue;
|
|
@@ -4846,15 +4846,15 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
4846
4846
|
repeatPrecedingCharacter(B) {
|
|
4847
4847
|
const x = this._parser.precedingJoinState;
|
|
4848
4848
|
if (!x) return !0;
|
|
4849
|
-
const D = B.params[0] || 1, O = S.UnicodeService.extractWidth(x), V = this._activeBuffer.x - O, G = this._activeBuffer.lines.get(this._activeBuffer.ybase + this._activeBuffer.y).getString(V),
|
|
4849
|
+
const D = B.params[0] || 1, O = S.UnicodeService.extractWidth(x), V = this._activeBuffer.x - O, G = this._activeBuffer.lines.get(this._activeBuffer.ybase + this._activeBuffer.y).getString(V), J = new Uint32Array(G.length * D);
|
|
4850
4850
|
let Q = 0;
|
|
4851
4851
|
for (let I = 0; I < G.length; ) {
|
|
4852
4852
|
const H = G.codePointAt(I) || 0;
|
|
4853
|
-
|
|
4853
|
+
J[Q++] = H, I += H > 65535 ? 2 : 1;
|
|
4854
4854
|
}
|
|
4855
4855
|
let N = Q;
|
|
4856
|
-
for (let I = 1; I < D; ++I)
|
|
4857
|
-
return this.print(
|
|
4856
|
+
for (let I = 1; I < D; ++I) J.copyWithin(N, 0, Q), N += Q;
|
|
4857
|
+
return this.print(J, 0, N), !0;
|
|
4858
4858
|
}
|
|
4859
4859
|
sendDeviceAttributesPrimary(B) {
|
|
4860
4860
|
return B.params[0] > 0 || (this._is("xterm") || this._is("rxvt-unicode") || this._is("screen") ? this._coreService.triggerDataEvent(h.C0.ESC + "[?1;2c") : this._is("linux") && this._coreService.triggerDataEvent(h.C0.ESC + "[?6c")), !0;
|
|
@@ -5014,7 +5014,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
5014
5014
|
return !0;
|
|
5015
5015
|
}
|
|
5016
5016
|
requestMode(B, x) {
|
|
5017
|
-
const D = this._coreService.decPrivateModes, { activeProtocol: O, activeEncoding: V } = this._coreMouseService, G = this._coreService, { buffers:
|
|
5017
|
+
const D = this._coreService.decPrivateModes, { activeProtocol: O, activeEncoding: V } = this._coreMouseService, G = this._coreService, { buffers: J, cols: Q } = this._bufferService, { active: N, alt: I } = J, H = this._optionsService.rawOptions, P = (de) => de ? 1 : 2, Z = B.params[0];
|
|
5018
5018
|
return j = Z, re = x ? Z === 2 ? 4 : Z === 4 ? P(G.modes.insertMode) : Z === 12 ? 3 : Z === 20 ? P(H.convertEol) : 0 : Z === 1 ? P(D.applicationCursorKeys) : Z === 3 ? H.windowOptions.setWinLines ? Q === 80 ? 2 : Q === 132 ? 1 : 0 : 0 : Z === 6 ? P(D.origin) : Z === 7 ? P(D.wraparound) : Z === 8 ? 3 : Z === 9 ? P(O === "X10") : Z === 12 ? P(H.cursorBlink) : Z === 25 ? P(!G.isCursorHidden) : Z === 45 ? P(D.reverseWraparound) : Z === 66 ? P(D.applicationKeypad) : Z === 67 ? 4 : Z === 1e3 ? P(O === "VT200") : Z === 1002 ? P(O === "DRAG") : Z === 1003 ? P(O === "ANY") : Z === 1004 ? P(D.sendFocus) : Z === 1005 ? 4 : Z === 1006 ? P(V === "SGR") : Z === 1015 ? 4 : Z === 1016 ? P(V === "SGR_PIXELS") : Z === 1048 ? 1 : Z === 47 || Z === 1047 || Z === 1049 ? P(N === I) : Z === 2004 ? P(D.bracketedPasteMode) : 0, G.triggerDataEvent(`${h.C0.ESC}[${x ? "" : "?"}${j};${re}$y`), !0;
|
|
5019
5019
|
var j, re;
|
|
5020
5020
|
}
|
|
@@ -5026,17 +5026,17 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
5026
5026
|
let V = 0, G = 0;
|
|
5027
5027
|
do {
|
|
5028
5028
|
if (O[G + V] = B.params[x + G], B.hasSubParams(x + G)) {
|
|
5029
|
-
const
|
|
5029
|
+
const J = B.getSubParams(x + G);
|
|
5030
5030
|
let Q = 0;
|
|
5031
5031
|
do
|
|
5032
|
-
O[1] === 5 && (V = 1), O[G + Q + 1 + V] =
|
|
5033
|
-
while (++Q <
|
|
5032
|
+
O[1] === 5 && (V = 1), O[G + Q + 1 + V] = J[Q];
|
|
5033
|
+
while (++Q < J.length && Q + G + 1 + V < O.length);
|
|
5034
5034
|
break;
|
|
5035
5035
|
}
|
|
5036
5036
|
if (O[1] === 5 && G + V >= 2 || O[1] === 2 && G + V >= 5) break;
|
|
5037
5037
|
O[1] && (V = 1);
|
|
5038
5038
|
} while (++G + x < B.length && G + V < O.length);
|
|
5039
|
-
for (let
|
|
5039
|
+
for (let J = 2; J < O.length; ++J) O[J] === -1 && (O[J] = 0);
|
|
5040
5040
|
switch (O[0]) {
|
|
5041
5041
|
case 38:
|
|
5042
5042
|
D.fg = this._updateAttrColor(D.fg, O[1], O[3], O[4], O[5]);
|
|
@@ -5148,8 +5148,8 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
5148
5148
|
const G = parseInt(O);
|
|
5149
5149
|
if (z(G)) if (V === "?") x.push({ type: 0, index: G });
|
|
5150
5150
|
else {
|
|
5151
|
-
const
|
|
5152
|
-
|
|
5151
|
+
const J = (0, k.parseColor)(V);
|
|
5152
|
+
J && x.push({ type: 1, index: G, color: J });
|
|
5153
5153
|
}
|
|
5154
5154
|
}
|
|
5155
5155
|
}
|
|
@@ -5263,27 +5263,27 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
5263
5263
|
}
|
|
5264
5264
|
}
|
|
5265
5265
|
i.InputHandler = U;
|
|
5266
|
-
let
|
|
5267
|
-
constructor(
|
|
5268
|
-
this._bufferService =
|
|
5266
|
+
let W = class {
|
|
5267
|
+
constructor($) {
|
|
5268
|
+
this._bufferService = $, this.clearRange();
|
|
5269
5269
|
}
|
|
5270
5270
|
clearRange() {
|
|
5271
5271
|
this.start = this._bufferService.buffer.y, this.end = this._bufferService.buffer.y;
|
|
5272
5272
|
}
|
|
5273
|
-
markDirty(
|
|
5274
|
-
|
|
5273
|
+
markDirty($) {
|
|
5274
|
+
$ < this.start ? this.start = $ : $ > this.end && (this.end = $);
|
|
5275
5275
|
}
|
|
5276
|
-
markRangeDirty(
|
|
5277
|
-
|
|
5276
|
+
markRangeDirty($, B) {
|
|
5277
|
+
$ > B && (F = $, $ = B, B = F), $ < this.start && (this.start = $), B > this.end && (this.end = B);
|
|
5278
5278
|
}
|
|
5279
5279
|
markAllDirty() {
|
|
5280
5280
|
this.markRangeDirty(0, this._bufferService.rows - 1);
|
|
5281
5281
|
}
|
|
5282
5282
|
};
|
|
5283
|
-
function z(
|
|
5284
|
-
return 0 <=
|
|
5283
|
+
function z($) {
|
|
5284
|
+
return 0 <= $ && $ < 256;
|
|
5285
5285
|
}
|
|
5286
|
-
|
|
5286
|
+
W = u([f(0, C.IBufferService)], W);
|
|
5287
5287
|
}, 844: (b, i) => {
|
|
5288
5288
|
function a(u) {
|
|
5289
5289
|
for (const f of u) f.dispose();
|
|
@@ -5764,15 +5764,15 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
5764
5764
|
U.push(O);
|
|
5765
5765
|
}
|
|
5766
5766
|
U.length > 0 && (C.push({ start: w + k.length + S, newLines: U }), S += U.length), k.push(...U);
|
|
5767
|
-
let
|
|
5768
|
-
z === 0 && (
|
|
5769
|
-
let
|
|
5770
|
-
for (;
|
|
5767
|
+
let W = L.length - 1, z = L[W];
|
|
5768
|
+
z === 0 && (W--, z = L[W]);
|
|
5769
|
+
let $ = k.length - R - 1, B = T;
|
|
5770
|
+
for (; $ >= 0; ) {
|
|
5771
5771
|
const D = Math.min(B, z);
|
|
5772
|
-
if (k[
|
|
5773
|
-
if (k[
|
|
5774
|
-
|
|
5775
|
-
const O = Math.max(
|
|
5772
|
+
if (k[W] === void 0) break;
|
|
5773
|
+
if (k[W].copyCellsFrom(k[$], B - D, z - D, D, !0), z -= D, z === 0 && (W--, z = L[W]), B -= D, B === 0) {
|
|
5774
|
+
$--;
|
|
5775
|
+
const O = Math.max($, 0);
|
|
5776
5776
|
B = (0, y.getWrappedLineTrimmedLength)(k, O, this._cols);
|
|
5777
5777
|
}
|
|
5778
5778
|
}
|
|
@@ -5783,17 +5783,17 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
5783
5783
|
}
|
|
5784
5784
|
if (C.length > 0) {
|
|
5785
5785
|
const w = [], m = [];
|
|
5786
|
-
for (let
|
|
5786
|
+
for (let W = 0; W < this.lines.length; W++) m.push(this.lines.get(W));
|
|
5787
5787
|
const k = this.lines.length;
|
|
5788
5788
|
let A = k - 1, T = 0, L = C[T];
|
|
5789
5789
|
this.lines.length = Math.min(this.lines.maxLength, this.lines.length + S);
|
|
5790
5790
|
let R = 0;
|
|
5791
|
-
for (let
|
|
5792
|
-
for (let z = L.newLines.length - 1; z >= 0; z--) this.lines.set(
|
|
5793
|
-
|
|
5794
|
-
} else this.lines.set(
|
|
5791
|
+
for (let W = Math.min(this.lines.maxLength - 1, k + S - 1); W >= 0; W--) if (L && L.start > A + R) {
|
|
5792
|
+
for (let z = L.newLines.length - 1; z >= 0; z--) this.lines.set(W--, L.newLines[z]);
|
|
5793
|
+
W++, w.push({ index: A + 1, amount: L.newLines.length }), R += L.newLines.length, L = C[++T];
|
|
5794
|
+
} else this.lines.set(W, m[A--]);
|
|
5795
5795
|
let F = 0;
|
|
5796
|
-
for (let
|
|
5796
|
+
for (let W = w.length - 1; W >= 0; W--) w[W].index += F, this.lines.onInsertEmitter.fire(w[W]), F += w[W].amount;
|
|
5797
5797
|
const U = Math.max(0, k + S - this.lines.maxLength);
|
|
5798
5798
|
U > 0 && this.lines.onTrimEmitter.fire(U);
|
|
5799
5799
|
}
|
|
@@ -8009,7 +8009,7 @@ var tr = (function() {
|
|
|
8009
8009
|
try {
|
|
8010
8010
|
Ls(E);
|
|
8011
8011
|
} catch (p) {
|
|
8012
|
-
_ = _ ?? [], p instanceof Kr ? _ = qe(qe([],
|
|
8012
|
+
_ = _ ?? [], p instanceof Kr ? _ = qe(qe([], je(_)), je(p.errors)) : _.push(p);
|
|
8013
8013
|
}
|
|
8014
8014
|
}
|
|
8015
8015
|
} catch (p) {
|
|
@@ -8067,7 +8067,7 @@ var Tc = {
|
|
|
8067
8067
|
setTimeout: function(e, t) {
|
|
8068
8068
|
for (var r = [], s = 2; s < arguments.length; s++)
|
|
8069
8069
|
r[s - 2] = arguments[s];
|
|
8070
|
-
return setTimeout.apply(void 0, qe([e, t],
|
|
8070
|
+
return setTimeout.apply(void 0, qe([e, t], je(r)));
|
|
8071
8071
|
},
|
|
8072
8072
|
clearTimeout: function(e) {
|
|
8073
8073
|
return clearTimeout(e);
|
|
@@ -8408,11 +8408,11 @@ var Vc = (function(e) {
|
|
|
8408
8408
|
var s, l;
|
|
8409
8409
|
return (l = (s = this.source) === null || s === void 0 ? void 0 : s.subscribe(r)) !== null && l !== void 0 ? l : Yo;
|
|
8410
8410
|
}, t;
|
|
8411
|
-
})(Le),
|
|
8411
|
+
})(Le), Wc = {
|
|
8412
8412
|
now: function() {
|
|
8413
8413
|
return Date.now();
|
|
8414
8414
|
}
|
|
8415
|
-
},
|
|
8415
|
+
}, $c = (function(e) {
|
|
8416
8416
|
tt(t, e);
|
|
8417
8417
|
function t(r, s) {
|
|
8418
8418
|
return e.call(this) || this;
|
|
@@ -8424,7 +8424,7 @@ var Vc = (function(e) {
|
|
|
8424
8424
|
setInterval: function(e, t) {
|
|
8425
8425
|
for (var r = [], s = 2; s < arguments.length; s++)
|
|
8426
8426
|
r[s - 2] = arguments[s];
|
|
8427
|
-
return setInterval.apply(void 0, qe([e, t],
|
|
8427
|
+
return setInterval.apply(void 0, qe([e, t], je(r)));
|
|
8428
8428
|
},
|
|
8429
8429
|
clearInterval: function(e) {
|
|
8430
8430
|
return clearInterval(e);
|
|
@@ -8472,13 +8472,13 @@ var Vc = (function(e) {
|
|
|
8472
8472
|
this.work = this.state = this.scheduler = null, this.pending = !1, Er(_, this), s != null && (this.id = this.recycleAsyncId(l, s, null)), this.delay = null, e.prototype.unsubscribe.call(this);
|
|
8473
8473
|
}
|
|
8474
8474
|
}, t;
|
|
8475
|
-
})(
|
|
8475
|
+
})($c), Fs = (function() {
|
|
8476
8476
|
function e(t, r) {
|
|
8477
8477
|
r === void 0 && (r = e.now), this.schedulerActionCtor = t, this.now = r;
|
|
8478
8478
|
}
|
|
8479
8479
|
return e.prototype.schedule = function(t, r, s) {
|
|
8480
8480
|
return r === void 0 && (r = 0), new this.schedulerActionCtor(this, t).schedule(s, r);
|
|
8481
|
-
}, e.now =
|
|
8481
|
+
}, e.now = Wc.now, e;
|
|
8482
8482
|
})(), jc = (function(e) {
|
|
8483
8483
|
tt(t, e);
|
|
8484
8484
|
function t(r, s) {
|
|
@@ -8554,13 +8554,13 @@ function cn(e) {
|
|
|
8554
8554
|
case 1:
|
|
8555
8555
|
_.trys.push([1, , 9, 10]), _.label = 2;
|
|
8556
8556
|
case 2:
|
|
8557
|
-
return [4,
|
|
8557
|
+
return [4, bt(t.read())];
|
|
8558
8558
|
case 3:
|
|
8559
|
-
return r = _.sent(), s = r.value, l = r.done, l ? [4,
|
|
8559
|
+
return r = _.sent(), s = r.value, l = r.done, l ? [4, bt(void 0)] : [3, 5];
|
|
8560
8560
|
case 4:
|
|
8561
8561
|
return [2, _.sent()];
|
|
8562
8562
|
case 5:
|
|
8563
|
-
return [4,
|
|
8563
|
+
return [4, bt(s)];
|
|
8564
8564
|
case 6:
|
|
8565
8565
|
return [4, _.sent()];
|
|
8566
8566
|
case 7:
|
|
@@ -8690,7 +8690,7 @@ function tl(e, t) {
|
|
|
8690
8690
|
});
|
|
8691
8691
|
});
|
|
8692
8692
|
}
|
|
8693
|
-
function
|
|
8693
|
+
function dt(e, t, r, s, l) {
|
|
8694
8694
|
s === void 0 && (s = 0), l === void 0 && (l = !1);
|
|
8695
8695
|
var _ = t.schedule(function() {
|
|
8696
8696
|
r(), l ? e.add(this.schedule(null, s)) : this.unsubscribe();
|
|
@@ -8701,15 +8701,15 @@ function lt(e, t, r, s, l) {
|
|
|
8701
8701
|
function un(e, t) {
|
|
8702
8702
|
return t === void 0 && (t = 0), ge(function(r, s) {
|
|
8703
8703
|
r.subscribe(le(s, function(l) {
|
|
8704
|
-
return
|
|
8704
|
+
return dt(s, e, function() {
|
|
8705
8705
|
return s.next(l);
|
|
8706
8706
|
}, t);
|
|
8707
8707
|
}, function() {
|
|
8708
|
-
return
|
|
8708
|
+
return dt(s, e, function() {
|
|
8709
8709
|
return s.complete();
|
|
8710
8710
|
}, t);
|
|
8711
8711
|
}, function(l) {
|
|
8712
|
-
return
|
|
8712
|
+
return dt(s, e, function() {
|
|
8713
8713
|
return s.error(l);
|
|
8714
8714
|
}, t);
|
|
8715
8715
|
}));
|
|
@@ -8739,8 +8739,8 @@ function sl(e, t) {
|
|
|
8739
8739
|
function ol(e, t) {
|
|
8740
8740
|
return new pe(function(r) {
|
|
8741
8741
|
var s;
|
|
8742
|
-
return
|
|
8743
|
-
s = e[nn](),
|
|
8742
|
+
return dt(r, t, function() {
|
|
8743
|
+
s = e[nn](), dt(r, t, function() {
|
|
8744
8744
|
var l, _, b;
|
|
8745
8745
|
try {
|
|
8746
8746
|
l = s.next(), _ = l.value, b = l.done;
|
|
@@ -8759,9 +8759,9 @@ function fn(e, t) {
|
|
|
8759
8759
|
if (!e)
|
|
8760
8760
|
throw new Error("Iterable cannot be null");
|
|
8761
8761
|
return new pe(function(r) {
|
|
8762
|
-
|
|
8762
|
+
dt(r, t, function() {
|
|
8763
8763
|
var s = e[Symbol.asyncIterator]();
|
|
8764
|
-
|
|
8764
|
+
dt(r, t, function() {
|
|
8765
8765
|
s.next().then(function(l) {
|
|
8766
8766
|
l.done ? r.complete() : r.next(l.value);
|
|
8767
8767
|
});
|
|
@@ -8811,7 +8811,7 @@ function Re(e, t) {
|
|
|
8811
8811
|
}
|
|
8812
8812
|
var dl = Array.isArray;
|
|
8813
8813
|
function ul(e, t) {
|
|
8814
|
-
return dl(t) ? e.apply(void 0, qe([],
|
|
8814
|
+
return dl(t) ? e.apply(void 0, qe([], je(t))) : e(t);
|
|
8815
8815
|
}
|
|
8816
8816
|
function hl(e) {
|
|
8817
8817
|
return Re(function(t) {
|
|
@@ -8850,8 +8850,8 @@ function fl(e, t, r, s, l, _, b, i) {
|
|
|
8850
8850
|
})), function() {
|
|
8851
8851
|
};
|
|
8852
8852
|
}
|
|
8853
|
-
function
|
|
8854
|
-
return r === void 0 && (r = 1 / 0), ie(t) ?
|
|
8853
|
+
function at(e, t, r) {
|
|
8854
|
+
return r === void 0 && (r = 1 / 0), ie(t) ? at(function(s, l) {
|
|
8855
8855
|
return Re(function(_, b) {
|
|
8856
8856
|
return t(s, _, l, b);
|
|
8857
8857
|
})(be(e(s, l)));
|
|
@@ -8860,7 +8860,7 @@ function nt(e, t, r) {
|
|
|
8860
8860
|
}));
|
|
8861
8861
|
}
|
|
8862
8862
|
function vl(e) {
|
|
8863
|
-
return e === void 0 && (e = 1 / 0),
|
|
8863
|
+
return e === void 0 && (e = 1 / 0), at(rr, e);
|
|
8864
8864
|
}
|
|
8865
8865
|
function pl(e) {
|
|
8866
8866
|
return new pe(function(t) {
|
|
@@ -8890,13 +8890,13 @@ var _l = ["addListener", "removeListener"], ml = ["addEventListener", "removeEve
|
|
|
8890
8890
|
function li(e, t, r, s) {
|
|
8891
8891
|
if (ie(r) && (s = r, r = void 0), s)
|
|
8892
8892
|
return li(e, t, r).pipe(hl(s));
|
|
8893
|
-
var l =
|
|
8893
|
+
var l = je(Cl(e) ? ml.map(function(i) {
|
|
8894
8894
|
return function(a) {
|
|
8895
8895
|
return e[i](t, a, r);
|
|
8896
8896
|
};
|
|
8897
8897
|
}) : Sl(e) ? _l.map(Ms(e, t)) : yl(e) ? bl.map(Ms(e, t)) : [], 2), _ = l[0], b = l[1];
|
|
8898
8898
|
if (!_ && Di(e))
|
|
8899
|
-
return
|
|
8899
|
+
return at(function(i) {
|
|
8900
8900
|
return li(i, t, r);
|
|
8901
8901
|
})(be(e));
|
|
8902
8902
|
if (!_)
|
|
@@ -8953,7 +8953,7 @@ var kl = Array.isArray;
|
|
|
8953
8953
|
function Bl(e) {
|
|
8954
8954
|
return e.length === 1 && kl(e[0]) ? e[0] : e;
|
|
8955
8955
|
}
|
|
8956
|
-
function
|
|
8956
|
+
function Pe(e, t) {
|
|
8957
8957
|
return ge(function(r, s) {
|
|
8958
8958
|
var l = 0;
|
|
8959
8959
|
r.subscribe(le(s, function(_) {
|
|
@@ -9120,7 +9120,7 @@ function Yr(e, t) {
|
|
|
9120
9120
|
l.unsubscribe(), e();
|
|
9121
9121
|
}
|
|
9122
9122
|
});
|
|
9123
|
-
return be(t.apply(void 0, qe([],
|
|
9123
|
+
return be(t.apply(void 0, qe([], je(r)))).subscribe(l);
|
|
9124
9124
|
}
|
|
9125
9125
|
}
|
|
9126
9126
|
function Ol(e) {
|
|
@@ -9225,8 +9225,8 @@ function Xr() {
|
|
|
9225
9225
|
u(f);
|
|
9226
9226
|
s.subscribe(le(l, function(h) {
|
|
9227
9227
|
if (a) {
|
|
9228
|
-
var g = qe([h],
|
|
9229
|
-
l.next(r ? r.apply(void 0, qe([],
|
|
9228
|
+
var g = qe([h], je(b));
|
|
9229
|
+
l.next(r ? r.apply(void 0, qe([], je(g))) : g);
|
|
9230
9230
|
}
|
|
9231
9231
|
}));
|
|
9232
9232
|
});
|
|
@@ -9307,11 +9307,11 @@ function Hl() {
|
|
|
9307
9307
|
throw new Error("Renderer context not defined");
|
|
9308
9308
|
return di;
|
|
9309
9309
|
}
|
|
9310
|
-
function
|
|
9310
|
+
function Wl(e) {
|
|
9311
9311
|
di = e;
|
|
9312
9312
|
}
|
|
9313
9313
|
var te = /* @__PURE__ */ ((e) => (e.infoMessage = "common:infoMessage", e.errorMessage = "common:errorMessage", e.closeCellOutput = "common:closeCellOutput", e.displayPrompt = "common:displayPrompt", e.onPrompt = "common:onPrompt", e.setState = "common:setState", e.getState = "common:getState", e.onGetState = "common:onGetState", e.onCategoryChange = "common:onCategoryChange", e.platformApiRequest = "common:platformApiRequest", e.platformApiResponse = "common:platformApiResponse", e.optionsMessage = "common:optionsMessage", e.optionsModal = "common:optionsModal", e.openExternalLink = "common:openExternalLink", e.onOptionsMessage = "common:onOptionsMessage", e.copyTextToClipboard = "common:copyTextToClipboard", e.onCopyTextToClipboard = "common:onCopyTextToClipboard", e.onProgramClose = "common:onProgramClose", e.denoUpdate = "deno:deploymentUpdate", e.denoPromote = "deno:promoteDeployment", e.vercelProd = "vercel:promotePreview", e.mutateAnnotations = "annotations:mutate", e.terminalStdout = "terminal:stdout", e.terminalStderr = "terminal:stderr", e.terminalStdin = "terminal:stdin", e.terminalResize = "terminal:resize", e.terminalFocus = "terminal:focus", e.terminalOpen = "terminal:open", e.openLink = "terminal:openLink", e.activeThemeChanged = "theme:changed", e.githubWorkflowDispatch = "github:workflowDispatch", e.githubWorkflowDeploy = "github:workflowDeploy", e.githubWorkflowStatusUpdate = "github:workflowStatusUpdate", e.tangleEvent = "tangle:event", e.gcpResourceStatusChanged = "gcp:resourceStatusChanged", e.gcpClusterCheckStatus = "gcp:clusterCheckStatus", e.gcpClusterDetails = "gcp:clusterDetails", e.gcpClusterDetailsNewCell = "gcp:clusterDetailsNewCell", e.gcpClusterDetailsResponse = "gcp:clusterDetailsResponse", e.gcpVMInstanceAction = "gcp:gceVMInstanceAction", e.awsEC2Instances = "aws:ec2Instances", e.awsEC2InstanceAction = "aws:ec2InstanceAction", e.awsEKSClusterAction = "aws:eksClusterAction", e.onAuthorModeChange = "common:onAuthorModeChange", e.gistCell = "gist:cell", e.gcpCloudRunAction = "gcp:cloudRunAction", e.gcpLoadServices = "gcp:loadServices", e.gcpServicesLoaded = "gcp:servicesLoaded", e.daggerSyncState = "dagger:syncState", e.daggerCliAction = "dagger:cliAction", e.featuresUpdateAction = "features:updateAction", e.featuresRequest = "features:request", e.featuresResponse = "features:response", e))(te || {}), bn = /* @__PURE__ */ ((e) => (e.vercel = "stateful.runme/vercel-stdout", e.deno = "stateful.runme/deno-stdout", e.outputItems = "stateful.runme/output-items", e.annotations = "stateful.runme/annotations", e.terminal = "stateful.runme/terminal", e.error = "stateful.runme/error", e.github = "stateful.runme/github-stdout", e.stdout = "application/vnd.code.notebook.stdout", e.gcp = "stateful.runme/gcp", e.aws = "stateful.runme/aws", e.daggerCall = "stateful.runme/dagger", e.daggerShell = "stateful.runme/dagger", e))(bn || {}), Sn = /* @__PURE__ */ ((e) => (e.RunmeCloud = "runme.cloud", e.RunmeChat = "runme.chat", e.RunmeSearch = "runme.search", e.NotebookEnvStore = "runme.notebook.envStore", e))(Sn || {});
|
|
9314
|
-
function
|
|
9314
|
+
function $l({}) {
|
|
9315
9315
|
}
|
|
9316
9316
|
function Gl(e) {
|
|
9317
9317
|
return e.toLocaleDateString("en-US", {
|
|
@@ -9357,12 +9357,12 @@ const Zl = K`
|
|
|
9357
9357
|
d="M11.9564 6H12.0063C12.8003 6 13.5617 6.31607 14.1231 6.87868C14.6845 7.44129 14.9999 8.20435 14.9999 9C14.9999 9.79565 14.6845 10.5587 14.1231 11.1213C13.5617 11.6839 12.8003 12 12.0063 12H10.0106V11H12.0063C12.5356 11 13.0432 10.7893 13.4175 10.4142C13.7918 10.0391 14.002 9.53044 14.002 9C14.002 8.46957 13.7918 7.96086 13.4175 7.58579C13.0432 7.21072 12.5356 7 12.0063 7H11.0923L10.9686 6.143C10.8937 5.60541 10.6455 5.10711 10.2617 4.72407C9.87792 4.34103 9.37968 4.09427 8.84295 4.02143C8.30621 3.94859 7.76044 4.05365 7.28883 4.3206C6.81723 4.58754 6.44567 5.00173 6.23082 5.5L5.89754 6.262L5.08929 6.073C4.90378 6.02699 4.71361 6.0025 4.52251 6C3.8609 6 3.22639 6.2634 2.75856 6.73224C2.29073 7.20108 2.02791 7.83696 2.02791 8.5C2.02791 9.16304 2.29073 9.79893 2.75856 10.2678C3.22639 10.7366 3.8609 11 4.52251 11H7.01712V12H4.52251C4.02742 12.0043 3.53708 11.903 3.08401 11.7029C2.63095 11.5028 2.22551 11.2084 1.8946 10.8394C1.56369 10.4703 1.31487 10.0349 1.16465 9.56211C1.01442 9.08932 0.966218 8.58992 1.02324 8.09704C1.08026 7.60416 1.24121 7.12906 1.49539 6.70326C1.74958 6.27745 2.0912 5.91068 2.4976 5.62727C2.904 5.34385 3.36588 5.15027 3.85261 5.05937C4.33935 4.96847 4.8398 4.98232 5.32079 5.1C5.62405 4.40501 6.14506 3.82799 6.8049 3.45635C7.46474 3.08472 8.22745 2.9387 8.97752 3.04044C9.72759 3.14217 10.4241 3.4861 10.9617 4.02014C11.4992 4.55418 11.8484 5.24923 11.9564 6ZM10.2928 9.85348L8.97879 8.53944L8.97879 13.9749H7.98492L7.98493 8.57568L6.7071 9.85347L5.99999 9.14636L8.14643 6.99998H8.85354L10.9999 9.14637L10.2928 9.85348Z"
|
|
9358
9358
|
/>
|
|
9359
9359
|
</svg>`;
|
|
9360
|
-
var Kl = Object.defineProperty, Yl = Object.getOwnPropertyDescriptor,
|
|
9360
|
+
var Kl = Object.defineProperty, Yl = Object.getOwnPropertyDescriptor, vt = (e, t, r, s) => {
|
|
9361
9361
|
for (var l = s > 1 ? void 0 : s ? Yl(t, r) : t, _ = e.length - 1, b; _ >= 0; _--)
|
|
9362
9362
|
(b = e[_]) && (l = (s ? b(t, r, l) : b(l)) || l);
|
|
9363
9363
|
return s && l && Kl(t, r, l), l;
|
|
9364
9364
|
};
|
|
9365
|
-
let
|
|
9365
|
+
let Ze = class extends we {
|
|
9366
9366
|
constructor() {
|
|
9367
9367
|
super(...arguments), this.text = "Copy", this.loadingText = "Saving...", this.loading = !1, this.disabled = !1;
|
|
9368
9368
|
}
|
|
@@ -9391,7 +9391,7 @@ let je = class extends we {
|
|
|
9391
9391
|
`;
|
|
9392
9392
|
}
|
|
9393
9393
|
};
|
|
9394
|
-
|
|
9394
|
+
Ze.styles = Ne`
|
|
9395
9395
|
vscode-button {
|
|
9396
9396
|
color: var(--vscode-button-foreground);
|
|
9397
9397
|
background-color: var(--vscode-button-background);
|
|
@@ -9412,27 +9412,27 @@ je.styles = Ne`
|
|
|
9412
9412
|
padding: 0;
|
|
9413
9413
|
}
|
|
9414
9414
|
`;
|
|
9415
|
-
|
|
9415
|
+
vt([
|
|
9416
9416
|
Y({ type: String })
|
|
9417
|
-
],
|
|
9418
|
-
|
|
9417
|
+
], Ze.prototype, "text", 2);
|
|
9418
|
+
vt([
|
|
9419
9419
|
Y({ type: String })
|
|
9420
|
-
],
|
|
9421
|
-
|
|
9420
|
+
], Ze.prototype, "loadingText", 2);
|
|
9421
|
+
vt([
|
|
9422
9422
|
Y({ type: Boolean, reflect: !0 })
|
|
9423
|
-
],
|
|
9424
|
-
|
|
9423
|
+
], Ze.prototype, "loading", 2);
|
|
9424
|
+
vt([
|
|
9425
9425
|
Y({ type: Boolean, reflect: !0 })
|
|
9426
|
-
],
|
|
9427
|
-
|
|
9426
|
+
], Ze.prototype, "disabled", 2);
|
|
9427
|
+
vt([
|
|
9428
9428
|
Y({ type: Boolean, reflect: !0 })
|
|
9429
|
-
],
|
|
9430
|
-
|
|
9429
|
+
], Ze.prototype, "shareIcon", 2);
|
|
9430
|
+
vt([
|
|
9431
9431
|
Y({ type: Boolean, reflect: !0 })
|
|
9432
|
-
],
|
|
9433
|
-
|
|
9432
|
+
], Ze.prototype, "saveIcon", 2);
|
|
9433
|
+
Ze = vt([
|
|
9434
9434
|
xe("action-button")
|
|
9435
|
-
],
|
|
9435
|
+
], Ze);
|
|
9436
9436
|
const Hs = K`
|
|
9437
9437
|
<svg
|
|
9438
9438
|
height="16"
|
|
@@ -10812,8 +10812,8 @@ var nd = Object.defineProperty, ad = Object.getOwnPropertyDescriptor, wn = (e) =
|
|
|
10812
10812
|
for (var l = s > 1 ? void 0 : s ? ad(t, r) : t, _ = e.length - 1, b; _ >= 0; _--)
|
|
10813
10813
|
(b = e[_]) && (l = (s ? b(t, r, l) : b(l)) || l);
|
|
10814
10814
|
return s && l && nd(t, r, l), l;
|
|
10815
|
-
}, cd = (e, t, r) => t.has(e) || wn("Cannot " + r), ld = (e, t, r) => t.has(e) ? wn("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), q = (e, t, r) => (cd(e, t, "access private method"), r),
|
|
10816
|
-
const
|
|
10815
|
+
}, cd = (e, t, r) => t.has(e) || wn("Cannot " + r), ld = (e, t, r) => t.has(e) ? wn("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), q = (e, t, r) => (cd(e, t, "access private method"), r), X, Ie, Dr, En, Mi, Pi, kn, _r, Me, hi, Bn, In, fi, Rn, vi, An, xn, Tn, Ln, Dn, On, Nn, Fn, Mn = /* @__PURE__ */ ((e) => (e.OpenLink = "Open", e.CopyToClipboard = "Copy to clipboard", e.Cancel = "Cancel", e))(Mn || {});
|
|
10816
|
+
const ut = (...e) => `--vscode-${e.join("-")}`, st = (e) => ut("terminal", e), dd = (e) => `ansi${e.charAt(0).toUpperCase() + e.slice(1)}`, ud = [
|
|
10817
10817
|
"terminal:",
|
|
10818
10818
|
"theme:",
|
|
10819
10819
|
te.platformApiRequest,
|
|
@@ -10844,7 +10844,7 @@ const bt = (...e) => `--vscode-${e.join("-")}`, _t = (e) => bt("terminal", e), d
|
|
|
10844
10844
|
], fd = "console-view";
|
|
10845
10845
|
let se = class extends we {
|
|
10846
10846
|
constructor() {
|
|
10847
|
-
super(...arguments), ld(this,
|
|
10847
|
+
super(...arguments), ld(this, X), this.copyText = "Copy", this.disposables = [], this.containerSize = {
|
|
10848
10848
|
height: 0,
|
|
10849
10849
|
width: 0
|
|
10850
10850
|
}, this.rows = 10, this.isShareReady = !1, this.buttons = !0, this.takeFocus = !0, this.theme = "dark", this.isLoading = !1, this.isCreatingEscalation = !1, this.isUpdatedReady = !1, this.isAutoSaveEnabled = !1, this.isPlatformAuthEnabled = !1, this.isDaggerOutput = !1;
|
|
@@ -10894,7 +10894,7 @@ let se = class extends we {
|
|
|
10894
10894
|
convertEol: !0,
|
|
10895
10895
|
allowProposedApi: !0,
|
|
10896
10896
|
drawBoldTextInBrightColors: !1
|
|
10897
|
-
}), this.initialContent && ((e = this.terminal) == null || e.write(this.initialContent)), this.fitAddon = new Ul(), this.fitAddon.activate(this.terminal), this.serializer = new wc.SerializeAddon(), this.terminal.loadAddon(this.serializer), this.terminal.loadAddon(new Bc.Unicode11Addon()), this.terminal.loadAddon(new Rc.WebLinksAddon(q(this,
|
|
10897
|
+
}), this.initialContent && ((e = this.terminal) == null || e.write(this.initialContent)), this.fitAddon = new Ul(), this.fitAddon.activate(this.terminal), this.serializer = new wc.SerializeAddon(), this.terminal.loadAddon(this.serializer), this.terminal.loadAddon(new Bc.Unicode11Addon()), this.terminal.loadAddon(new Rc.WebLinksAddon(q(this, X, Dn).bind(this))), this.terminal.attachCustomKeyEventHandler((f) => {
|
|
10898
10898
|
var h;
|
|
10899
10899
|
if (f.shiftKey && f.ctrlKey && f.code === "KeyC") {
|
|
10900
10900
|
const g = (h = this == null ? void 0 : this.terminal) == null ? void 0 : h.getSelection();
|
|
@@ -10903,7 +10903,7 @@ let se = class extends we {
|
|
|
10903
10903
|
}
|
|
10904
10904
|
return !0;
|
|
10905
10905
|
}), this.terminal.unicode.activeVersion = "11", this.terminal.options.drawBoldTextInBrightColors;
|
|
10906
|
-
const u = q(this,
|
|
10906
|
+
const u = q(this, X, Ie).call(this);
|
|
10907
10907
|
this.disposables.push(
|
|
10908
10908
|
// todo(sebastian): what's the type of e?
|
|
10909
10909
|
Vl(u, async (f) => {
|
|
@@ -10915,7 +10915,7 @@ let se = class extends we {
|
|
|
10915
10915
|
// this.featureState$ = features.loadSnapshot(e.output.snapshot)
|
|
10916
10916
|
// break
|
|
10917
10917
|
case te.activeThemeChanged:
|
|
10918
|
-
q(this,
|
|
10918
|
+
q(this, X, _r).call(this);
|
|
10919
10919
|
break;
|
|
10920
10920
|
case te.terminalStdout:
|
|
10921
10921
|
case te.terminalStderr:
|
|
@@ -10952,7 +10952,7 @@ let se = class extends we {
|
|
|
10952
10952
|
const {
|
|
10953
10953
|
updateCellOutput: { exitCode: y, isSlackReady: E }
|
|
10954
10954
|
} = g;
|
|
10955
|
-
this.isUpdatedReady = !0, this.exitCode = y, this.isSlackReady = !!E, q(this,
|
|
10955
|
+
this.isUpdatedReady = !0, this.exitCode = y, this.isSlackReady = !!E, q(this, X, Rn).call(this);
|
|
10956
10956
|
}
|
|
10957
10957
|
g.createEscalation && (this.escalationUrl = g.createEscalation.escalationUrl);
|
|
10958
10958
|
}
|
|
@@ -11011,28 +11011,28 @@ let se = class extends we {
|
|
|
11011
11011
|
super.disconnectedCallback(), this.dispose();
|
|
11012
11012
|
}
|
|
11013
11013
|
updated(e) {
|
|
11014
|
-
super.updated(e), e.has("theme") && (this.applyThemeStyles(), q(this,
|
|
11014
|
+
super.updated(e), e.has("theme") && (this.applyThemeStyles(), q(this, X, _r).call(this));
|
|
11015
11015
|
}
|
|
11016
11016
|
firstUpdated(e) {
|
|
11017
11017
|
var t;
|
|
11018
11018
|
super.firstUpdated(e);
|
|
11019
|
-
const r = q(this,
|
|
11019
|
+
const r = q(this, X, Mi).call(this);
|
|
11020
11020
|
this.takeFocus && window.addEventListener("focus", () => {
|
|
11021
|
-
q(this,
|
|
11021
|
+
q(this, X, fi).call(this);
|
|
11022
11022
|
}), window.addEventListener("click", () => {
|
|
11023
|
-
q(this,
|
|
11024
|
-
}), this.terminal.open(r), this.takeFocus && this.terminal.focus(), q(this,
|
|
11025
|
-
const s = q(this,
|
|
11023
|
+
q(this, X, fi).call(this, !1);
|
|
11024
|
+
}), this.terminal.open(r), this.takeFocus && this.terminal.focus(), q(this, X, Dr).call(this), q(this, X, kn).call(this), q(this, X, _r).call(this);
|
|
11025
|
+
const s = q(this, X, En).call(this), l = new pe((b) => {
|
|
11026
11026
|
window.addEventListener(
|
|
11027
11027
|
"resize",
|
|
11028
|
-
() => b.next(q(this,
|
|
11028
|
+
() => b.next(q(this, X, hi).call(this, !0))
|
|
11029
11029
|
), r.addEventListener(
|
|
11030
11030
|
"mouseup",
|
|
11031
|
-
() => b.next(q(this,
|
|
11031
|
+
() => b.next(q(this, X, hi).call(this, !1))
|
|
11032
11032
|
);
|
|
11033
11033
|
}).pipe(mn());
|
|
11034
|
-
q(this,
|
|
11035
|
-
const _ = q(this,
|
|
11034
|
+
q(this, X, Bn).call(this, l), q(this, X, In).call(this, l), r.appendChild(s);
|
|
11035
|
+
const _ = q(this, X, Ie).call(this);
|
|
11036
11036
|
_.postMessage && ye(_, te.terminalOpen, {
|
|
11037
11037
|
"runme.dev/id": this.id,
|
|
11038
11038
|
terminalDimensions: Pn(
|
|
@@ -11044,7 +11044,7 @@ let se = class extends we {
|
|
|
11044
11044
|
render() {
|
|
11045
11045
|
const e = K`
|
|
11046
11046
|
<close-cell-button
|
|
11047
|
-
@closed="${() =>
|
|
11047
|
+
@closed="${() => $l({
|
|
11048
11048
|
id: this.id,
|
|
11049
11049
|
outputType: bn.terminal
|
|
11050
11050
|
})}"
|
|
@@ -11052,12 +11052,12 @@ let se = class extends we {
|
|
|
11052
11052
|
<div class="button-group">
|
|
11053
11053
|
<copy-button
|
|
11054
11054
|
copyText="${this.copyText}"
|
|
11055
|
-
@onCopy="${async () => q(this,
|
|
11055
|
+
@onCopy="${async () => q(this, X, Fn).call(this)}"
|
|
11056
11056
|
></copy-button>
|
|
11057
11057
|
${he(
|
|
11058
11058
|
!0,
|
|
11059
11059
|
() => K`<gist-cell
|
|
11060
|
-
@onGist="${q(this,
|
|
11060
|
+
@onGist="${q(this, X, Tn)}"
|
|
11061
11061
|
></gist-cell>`,
|
|
11062
11062
|
() => {
|
|
11063
11063
|
}
|
|
@@ -11067,7 +11067,7 @@ let se = class extends we {
|
|
|
11067
11067
|
() => K`<save-button
|
|
11068
11068
|
?loading=${this.isLoading}
|
|
11069
11069
|
?signedIn=${!1}
|
|
11070
|
-
@onClick="${q(this,
|
|
11070
|
+
@onClick="${q(this, X, vi)}"
|
|
11071
11071
|
>
|
|
11072
11072
|
</save-button>`,
|
|
11073
11073
|
() => {
|
|
@@ -11077,7 +11077,7 @@ let se = class extends we {
|
|
|
11077
11077
|
this.shouldRenderShareButton(),
|
|
11078
11078
|
() => K`<share-button
|
|
11079
11079
|
?loading=${this.isLoading}
|
|
11080
|
-
@onClick="${q(this,
|
|
11080
|
+
@onClick="${q(this, X, vi)}"
|
|
11081
11081
|
>
|
|
11082
11082
|
</share-button>`,
|
|
11083
11083
|
() => {
|
|
@@ -11089,8 +11089,8 @@ let se = class extends we {
|
|
|
11089
11089
|
?loading=${this.isCreatingEscalation}
|
|
11090
11090
|
?saveIcon="${!0}"
|
|
11091
11091
|
text="Escalate"
|
|
11092
|
-
@onClick="${q(this,
|
|
11093
|
-
@onClickDisabled=${q(this,
|
|
11092
|
+
@onClick="${q(this, X, An)}"
|
|
11093
|
+
@onClickDisabled=${q(this, X, Nn)}
|
|
11094
11094
|
>
|
|
11095
11095
|
</action-button>`,
|
|
11096
11096
|
() => {
|
|
@@ -11101,7 +11101,7 @@ let se = class extends we {
|
|
|
11101
11101
|
() => K`<action-button
|
|
11102
11102
|
?saveIcon="${!0}"
|
|
11103
11103
|
text="Open Escalation"
|
|
11104
|
-
@onClick="${q(this,
|
|
11104
|
+
@onClick="${q(this, X, xn)}"
|
|
11105
11105
|
>
|
|
11106
11106
|
</action-button>`,
|
|
11107
11107
|
() => {
|
|
@@ -11111,7 +11111,7 @@ let se = class extends we {
|
|
|
11111
11111
|
this.platformId && !this.isLoading,
|
|
11112
11112
|
() => K`<open-cell
|
|
11113
11113
|
?disabled=${!this.isPlatformAuthEnabled}
|
|
11114
|
-
@onOpen="${q(this,
|
|
11114
|
+
@onOpen="${q(this, X, On)}"
|
|
11115
11115
|
></open-cell>`,
|
|
11116
11116
|
() => {
|
|
11117
11117
|
}
|
|
@@ -11133,7 +11133,7 @@ let se = class extends we {
|
|
|
11133
11133
|
return !1;
|
|
11134
11134
|
}
|
|
11135
11135
|
};
|
|
11136
|
-
|
|
11136
|
+
X = /* @__PURE__ */ new WeakSet();
|
|
11137
11137
|
Ie = function() {
|
|
11138
11138
|
return this.context ?? Hl();
|
|
11139
11139
|
};
|
|
@@ -11158,7 +11158,7 @@ En = function() {
|
|
|
11158
11158
|
if (t === void 0 || !this.fitAddon)
|
|
11159
11159
|
return;
|
|
11160
11160
|
const i = (_.clientY - t.initialClientY) / this.fitAddon.getCellSize().height, a = Math.round(t.initialRows + i);
|
|
11161
|
-
a !== this.rows && (q(this,
|
|
11161
|
+
a !== this.rows && (q(this, X, Dr).call(this, a), (b = this.terminal) == null || b.focus());
|
|
11162
11162
|
};
|
|
11163
11163
|
return e.addEventListener("mousedown", r), window.addEventListener("mouseup", s), window.addEventListener("mousemove", l), this.disposables.push({
|
|
11164
11164
|
dispose: () => {
|
|
@@ -11171,55 +11171,56 @@ Mi = function() {
|
|
|
11171
11171
|
return (e = this.shadowRoot) == null ? void 0 : e.querySelector("#terminal");
|
|
11172
11172
|
};
|
|
11173
11173
|
Pi = function() {
|
|
11174
|
-
const e = q(this,
|
|
11174
|
+
const e = q(this, X, Mi).call(this);
|
|
11175
11175
|
if (!e)
|
|
11176
11176
|
return;
|
|
11177
11177
|
const { width: t, height: r } = e.getBoundingClientRect();
|
|
11178
11178
|
return { width: t, height: r };
|
|
11179
11179
|
};
|
|
11180
11180
|
kn = function() {
|
|
11181
|
-
const e = q(this,
|
|
11181
|
+
const e = q(this, X, Pi).call(this);
|
|
11182
11182
|
e && (this.containerSize = e);
|
|
11183
11183
|
};
|
|
11184
11184
|
_r = function() {
|
|
11185
|
-
const e = q(this,
|
|
11185
|
+
const e = q(this, X, Me).call(this, st("foreground")), t = q(this, X, Me).call(this, st("background")), r = {
|
|
11186
|
+
background: t && t.startsWith("#") ? t : q(this, X, Me).call(this, ut("editor", "background")),
|
|
11186
11187
|
foreground: e,
|
|
11187
|
-
cursor: q(this,
|
|
11188
|
-
cursorAccent: q(this,
|
|
11189
|
-
selectionForeground: q(this,
|
|
11190
|
-
selectionBackground: q(this,
|
|
11191
|
-
selectionInactiveBackground: q(this,
|
|
11188
|
+
cursor: q(this, X, Me).call(this, ut("terminalCursor", "foreground")) || e,
|
|
11189
|
+
cursorAccent: q(this, X, Me).call(this, ut("terminalCursor", "background")),
|
|
11190
|
+
selectionForeground: q(this, X, Me).call(this, st("selectionForeground")),
|
|
11191
|
+
selectionBackground: q(this, X, Me).call(this, st("selectionBackground")),
|
|
11192
|
+
selectionInactiveBackground: q(this, X, Me).call(this, st("inactiveSelectionBackground")),
|
|
11192
11193
|
...Object.fromEntries(
|
|
11193
11194
|
hd.map(
|
|
11194
|
-
(
|
|
11195
|
+
(s) => [s, q(this, X, Me).call(this, st(dd(s)))]
|
|
11195
11196
|
)
|
|
11196
11197
|
)
|
|
11197
11198
|
};
|
|
11198
|
-
this.terminal.options.theme =
|
|
11199
|
+
this.terminal.options.theme = r;
|
|
11199
11200
|
};
|
|
11200
|
-
|
|
11201
|
-
var t;
|
|
11202
|
-
const
|
|
11203
|
-
return getComputedStyle(
|
|
11201
|
+
Me = function(e) {
|
|
11202
|
+
var t, r;
|
|
11203
|
+
const s = (t = this.shadowRoot) == null ? void 0 : t.querySelector("#terminal");
|
|
11204
|
+
return ((r = getComputedStyle(s).getPropertyValue(e)) == null ? void 0 : r.trim()) || void 0;
|
|
11204
11205
|
};
|
|
11205
11206
|
hi = function(e) {
|
|
11206
11207
|
if (!this.fitAddon)
|
|
11207
11208
|
return;
|
|
11208
|
-
const t = q(this,
|
|
11209
|
+
const t = q(this, X, Pi).call(this);
|
|
11209
11210
|
if (!t || e && Math.abs(this.containerSize.width - t.width) <= Number.EPSILON && Math.abs(this.containerSize.height - t.height) <= Number.EPSILON)
|
|
11210
11211
|
return;
|
|
11211
11212
|
this.containerSize = t;
|
|
11212
|
-
const r = q(this,
|
|
11213
|
+
const r = q(this, X, Dr).call(this);
|
|
11213
11214
|
if (r)
|
|
11214
11215
|
return Pn(r);
|
|
11215
11216
|
};
|
|
11216
11217
|
Bn = async function(e) {
|
|
11217
11218
|
const t = e.pipe(
|
|
11218
|
-
|
|
11219
|
+
Pe((r) => !!r),
|
|
11219
11220
|
_n(),
|
|
11220
11221
|
gn(100)
|
|
11221
11222
|
).subscribe(async (r) => {
|
|
11222
|
-
const s = q(this,
|
|
11223
|
+
const s = q(this, X, Ie).call(this);
|
|
11223
11224
|
s.postMessage && await ye(s, te.terminalResize, {
|
|
11224
11225
|
"runme.dev/id": this.id,
|
|
11225
11226
|
terminalDimensions: r
|
|
@@ -11230,11 +11231,11 @@ Bn = async function(e) {
|
|
|
11230
11231
|
In = async function(e) {
|
|
11231
11232
|
const t = e.pipe(
|
|
11232
11233
|
Re((r) => r == null ? void 0 : r.rows),
|
|
11233
|
-
|
|
11234
|
+
Pe((r) => !!r),
|
|
11234
11235
|
_n(),
|
|
11235
11236
|
gn(100)
|
|
11236
11237
|
).subscribe(async (r) => {
|
|
11237
|
-
const s = q(this,
|
|
11238
|
+
const s = q(this, X, Ie).call(this);
|
|
11238
11239
|
s.postMessage && s.postMessage({
|
|
11239
11240
|
type: te.mutateAnnotations,
|
|
11240
11241
|
output: {
|
|
@@ -11250,13 +11251,13 @@ In = async function(e) {
|
|
|
11250
11251
|
fi = async function(e = !0) {
|
|
11251
11252
|
var t;
|
|
11252
11253
|
e && ((t = this.terminal) == null || t.focus());
|
|
11253
|
-
const r = q(this,
|
|
11254
|
+
const r = q(this, X, Ie).call(this);
|
|
11254
11255
|
r.postMessage && await ye(r, te.terminalFocus, {
|
|
11255
11256
|
"runme.dev/id": this.id
|
|
11256
11257
|
});
|
|
11257
11258
|
};
|
|
11258
11259
|
Rn = async function() {
|
|
11259
|
-
const e = q(this,
|
|
11260
|
+
const e = q(this, X, Ie).call(this);
|
|
11260
11261
|
if (!(!e.postMessage || !this.shareUrl))
|
|
11261
11262
|
return ye(e, te.optionsMessage, {
|
|
11262
11263
|
title: 'Please share link with caution. Anyone with the link has access. Click "Open" to toggle visibility.',
|
|
@@ -11266,18 +11267,18 @@ Rn = async function() {
|
|
|
11266
11267
|
});
|
|
11267
11268
|
};
|
|
11268
11269
|
vi = async function() {
|
|
11269
|
-
return q(this,
|
|
11270
|
+
return q(this, X, Ln).call(this, !0);
|
|
11270
11271
|
};
|
|
11271
11272
|
An = async function() {
|
|
11272
11273
|
this.isCreatingEscalation = !0;
|
|
11273
11274
|
};
|
|
11274
11275
|
xn = async function() {
|
|
11275
|
-
const e = q(this,
|
|
11276
|
+
const e = q(this, X, Ie).call(this);
|
|
11276
11277
|
if (this.escalationUrl)
|
|
11277
11278
|
return ye(e, te.openLink, this.escalationUrl);
|
|
11278
11279
|
};
|
|
11279
11280
|
Tn = function() {
|
|
11280
|
-
const e = q(this,
|
|
11281
|
+
const e = q(this, X, Ie).call(this);
|
|
11281
11282
|
if (e.postMessage)
|
|
11282
11283
|
return ye(e, te.gistCell, {
|
|
11283
11284
|
cellId: this.id,
|
|
@@ -11285,25 +11286,25 @@ Tn = function() {
|
|
|
11285
11286
|
});
|
|
11286
11287
|
};
|
|
11287
11288
|
Ln = async function(e) {
|
|
11288
|
-
q(this,
|
|
11289
|
+
q(this, X, Ie).call(this).postMessage;
|
|
11289
11290
|
};
|
|
11290
11291
|
Dn = function(e, t) {
|
|
11291
|
-
ye(q(this,
|
|
11292
|
+
ye(q(this, X, Ie).call(this), te.openLink, t);
|
|
11292
11293
|
};
|
|
11293
11294
|
On = function() {
|
|
11294
11295
|
ye(
|
|
11295
|
-
q(this,
|
|
11296
|
+
q(this, X, Ie).call(this),
|
|
11296
11297
|
te.openLink,
|
|
11297
11298
|
this.shareUrl
|
|
11298
11299
|
);
|
|
11299
11300
|
};
|
|
11300
11301
|
Nn = function() {
|
|
11301
|
-
ye(q(this,
|
|
11302
|
+
ye(q(this, X, Ie).call(this), te.errorMessage, `There is no Slack integration configured yet.
|
|
11302
11303
|
Open Dashboard to configure it`);
|
|
11303
11304
|
};
|
|
11304
11305
|
Fn = function() {
|
|
11305
11306
|
var e;
|
|
11306
|
-
const t = q(this,
|
|
11307
|
+
const t = q(this, X, Ie).call(this);
|
|
11307
11308
|
if (!t.postMessage)
|
|
11308
11309
|
return;
|
|
11309
11310
|
const r = vd(
|
|
@@ -11378,7 +11379,7 @@ se.styles = Ne`
|
|
|
11378
11379
|
}
|
|
11379
11380
|
|
|
11380
11381
|
.xterm .xterm-viewport {
|
|
11381
|
-
background-color: var(${Nt(
|
|
11382
|
+
background-color: var(${Nt(st("background"))}) !important;
|
|
11382
11383
|
border: solid 1px var(--vscode-terminal-border);
|
|
11383
11384
|
/* On OS X this is required in order for the scroll bar to appear fully opaque */
|
|
11384
11385
|
overflow-y: scroll;
|
|
@@ -11411,19 +11412,19 @@ se.styles = Ne`
|
|
|
11411
11412
|
|
|
11412
11413
|
.xterm:hover .xterm-viewport::-webkit-scrollbar-thumb {
|
|
11413
11414
|
background-color: var(
|
|
11414
|
-
${Nt(
|
|
11415
|
+
${Nt(ut("scrollbarSlider", "background"))}
|
|
11415
11416
|
);
|
|
11416
11417
|
}
|
|
11417
11418
|
|
|
11418
11419
|
.xterm:hover .xterm-viewport::-webkit-scrollbar-thumb:hover {
|
|
11419
11420
|
background-color: var(
|
|
11420
|
-
${Nt(
|
|
11421
|
+
${Nt(ut("scrollbarSlider", "hoverBackground"))}
|
|
11421
11422
|
);
|
|
11422
11423
|
}
|
|
11423
11424
|
|
|
11424
11425
|
.xterm:hover .xterm-viewport::-webkit-scrollbar-thumb:active {
|
|
11425
11426
|
background-color: var(
|
|
11426
|
-
${Nt(
|
|
11427
|
+
${Nt(ut("scrollbarSlider", "activeBackground"))}
|
|
11427
11428
|
);
|
|
11428
11429
|
}
|
|
11429
11430
|
|
|
@@ -11715,7 +11716,7 @@ function Jr(e, t, r) {
|
|
|
11715
11716
|
}
|
|
11716
11717
|
}
|
|
11717
11718
|
const mr = 4294967296;
|
|
11718
|
-
function
|
|
11719
|
+
function Ws(e) {
|
|
11719
11720
|
const t = e[0] === "-";
|
|
11720
11721
|
t && (e = e.slice(1));
|
|
11721
11722
|
const r = 1e6;
|
|
@@ -11739,7 +11740,7 @@ function Un(e, t) {
|
|
|
11739
11740
|
const r = e & 16777215, s = (e >>> 24 | t << 8) & 16777215, l = t >> 16 & 65535;
|
|
11740
11741
|
let _ = r + s * 6777216 + l * 6710656, b = s + l * 8147497, i = l * 2;
|
|
11741
11742
|
const a = 1e7;
|
|
11742
|
-
return _ >= a && (b += Math.floor(_ / a), _ %= a), b >= a && (i += Math.floor(b / a), b %= a), i.toString() +
|
|
11743
|
+
return _ >= a && (b += Math.floor(_ / a), _ %= a), b >= a && (i += Math.floor(b / a), b %= a), i.toString() + $s(b) + $s(_);
|
|
11743
11744
|
}
|
|
11744
11745
|
function md(e, t) {
|
|
11745
11746
|
return { lo: e >>> 0, hi: t >>> 0 };
|
|
@@ -11750,7 +11751,7 @@ function Ui(e, t) {
|
|
|
11750
11751
|
function Vn(e, t) {
|
|
11751
11752
|
return t = ~t, e ? e = ~e + 1 : t += 1, Ui(e, t);
|
|
11752
11753
|
}
|
|
11753
|
-
const
|
|
11754
|
+
const $s = (e) => {
|
|
11754
11755
|
const t = String(e);
|
|
11755
11756
|
return "0000000".slice(t.length) + t;
|
|
11756
11757
|
};
|
|
@@ -11832,10 +11833,10 @@ function Sd() {
|
|
|
11832
11833
|
return typeof t != "string" && (t = t.toString()), js(t), t;
|
|
11833
11834
|
},
|
|
11834
11835
|
enc(t) {
|
|
11835
|
-
return typeof t != "string" && (t = t.toString()), Gs(t),
|
|
11836
|
+
return typeof t != "string" && (t = t.toString()), Gs(t), Ws(t);
|
|
11836
11837
|
},
|
|
11837
11838
|
uEnc(t) {
|
|
11838
|
-
return typeof t != "string" && (t = t.toString()), js(t),
|
|
11839
|
+
return typeof t != "string" && (t = t.toString()), js(t), Ws(t);
|
|
11839
11840
|
},
|
|
11840
11841
|
dec(t, r) {
|
|
11841
11842
|
return _d(t, r);
|
|
@@ -11857,7 +11858,7 @@ var M;
|
|
|
11857
11858
|
(function(e) {
|
|
11858
11859
|
e[e.DOUBLE = 1] = "DOUBLE", e[e.FLOAT = 2] = "FLOAT", e[e.INT64 = 3] = "INT64", e[e.UINT64 = 4] = "UINT64", e[e.INT32 = 5] = "INT32", e[e.FIXED64 = 6] = "FIXED64", e[e.FIXED32 = 7] = "FIXED32", e[e.BOOL = 8] = "BOOL", e[e.STRING = 9] = "STRING", e[e.BYTES = 12] = "BYTES", e[e.UINT32 = 13] = "UINT32", e[e.SFIXED32 = 15] = "SFIXED32", e[e.SFIXED64 = 16] = "SFIXED64", e[e.SINT32 = 17] = "SINT32", e[e.SINT64 = 18] = "SINT64";
|
|
11859
11860
|
})(M || (M = {}));
|
|
11860
|
-
function
|
|
11861
|
+
function ft(e, t) {
|
|
11861
11862
|
switch (e) {
|
|
11862
11863
|
case M.STRING:
|
|
11863
11864
|
return "";
|
|
@@ -11890,8 +11891,8 @@ function yd(e, t) {
|
|
|
11890
11891
|
return t == 0;
|
|
11891
11892
|
}
|
|
11892
11893
|
}
|
|
11893
|
-
const Hn = 2,
|
|
11894
|
-
function
|
|
11894
|
+
const Hn = 2, Ge = Symbol.for("reflect unsafe local");
|
|
11895
|
+
function Wn(e, t) {
|
|
11895
11896
|
const r = e[t.localName].case;
|
|
11896
11897
|
return r === void 0 ? r : t.fields.find((s) => s.localName === r);
|
|
11897
11898
|
}
|
|
@@ -11916,7 +11917,7 @@ function Cd(e, t) {
|
|
|
11916
11917
|
function Jt(e, t) {
|
|
11917
11918
|
return Object.prototype.hasOwnProperty.call(e, t) && e[t] !== void 0;
|
|
11918
11919
|
}
|
|
11919
|
-
function
|
|
11920
|
+
function $n(e, t) {
|
|
11920
11921
|
if (t.oneof) {
|
|
11921
11922
|
const r = e[t.oneof.localName];
|
|
11922
11923
|
return r.case === t.localName ? r.value : void 0;
|
|
@@ -11948,7 +11949,7 @@ function wd(e, t) {
|
|
|
11948
11949
|
e[r] = t.enum.values[0].number;
|
|
11949
11950
|
break;
|
|
11950
11951
|
case "scalar":
|
|
11951
|
-
e[r] =
|
|
11952
|
+
e[r] = ft(t.scalar, t.longAsString);
|
|
11952
11953
|
break;
|
|
11953
11954
|
}
|
|
11954
11955
|
}
|
|
@@ -12286,7 +12287,7 @@ function Xs(e, t) {
|
|
|
12286
12287
|
deprecated: (s = (r = e.options) === null || r === void 0 ? void 0 : r.deprecated) !== null && s !== void 0 ? s : !1,
|
|
12287
12288
|
edition: Hd(e),
|
|
12288
12289
|
name: e.name.replace(/\.proto$/, ""),
|
|
12289
|
-
dependencies:
|
|
12290
|
+
dependencies: Wd(e, t),
|
|
12290
12291
|
enums: [],
|
|
12291
12292
|
messages: [],
|
|
12292
12293
|
extensions: [],
|
|
@@ -12347,7 +12348,7 @@ function mi(e, t, r) {
|
|
|
12347
12348
|
}
|
|
12348
12349
|
function zn(e, t, r, s) {
|
|
12349
12350
|
var l, _, b, i, a;
|
|
12350
|
-
const u =
|
|
12351
|
+
const u = $d(e.name, e.value), f = {
|
|
12351
12352
|
kind: "enum",
|
|
12352
12353
|
proto: e,
|
|
12353
12354
|
deprecated: (_ = (l = e.options) === null || l === void 0 ? void 0 : l.deprecated) !== null && _ !== void 0 ? _ : !1,
|
|
@@ -12436,7 +12437,7 @@ function Ud(e, t, r) {
|
|
|
12436
12437
|
var s, l, _, b;
|
|
12437
12438
|
let i;
|
|
12438
12439
|
e.clientStreaming && e.serverStreaming ? i = "bidi_streaming" : e.clientStreaming ? i = "client_streaming" : e.serverStreaming ? i = "server_streaming" : i = "unary";
|
|
12439
|
-
const a = r.getMessage(
|
|
12440
|
+
const a = r.getMessage(We(e.inputType)), u = r.getMessage(We(e.outputType));
|
|
12440
12441
|
Oe(a, `invalid MethodDescriptorProto: input_type ${e.inputType} not found`), Oe(u, `invalid MethodDescriptorProto: output_type ${e.inputType} not found`);
|
|
12441
12442
|
const f = e.name;
|
|
12442
12443
|
return {
|
|
@@ -12492,7 +12493,7 @@ function bi(e, t, r, s, l) {
|
|
|
12492
12493
|
if (a) {
|
|
12493
12494
|
const y = t.kind == "file" ? t : t.file, E = t.kind == "file" ? void 0 : t, p = Or(e, E, y);
|
|
12494
12495
|
u.kind = "extension", u.file = y, u.parent = E, u.oneof = void 0, u.typeName = p, u.jsonName = `[${p}]`, u.toString = () => `extension ${p}`;
|
|
12495
|
-
const o = r.getMessage(
|
|
12496
|
+
const o = r.getMessage(We(e.extendee));
|
|
12496
12497
|
Oe(o, `invalid FieldDescriptorProto: extendee ${e.extendee} not found`), u.extendee = o;
|
|
12497
12498
|
} else {
|
|
12498
12499
|
const y = t;
|
|
@@ -12500,7 +12501,7 @@ function bi(e, t, r, s, l) {
|
|
|
12500
12501
|
}
|
|
12501
12502
|
const f = e.label, h = e.type, g = (i = e.options) === null || i === void 0 ? void 0 : i.jstype;
|
|
12502
12503
|
if (f === Hi) {
|
|
12503
|
-
const y = h == Vt ? l == null ? void 0 : l.get(
|
|
12504
|
+
const y = h == Vt ? l == null ? void 0 : l.get(We(e.typeName)) : void 0;
|
|
12504
12505
|
if (y) {
|
|
12505
12506
|
u.fieldKind = "map";
|
|
12506
12507
|
const { key: E, value: p } = Kd(y);
|
|
@@ -12509,10 +12510,10 @@ function bi(e, t, r, s, l) {
|
|
|
12509
12510
|
switch (u.fieldKind = "list", h) {
|
|
12510
12511
|
case Vt:
|
|
12511
12512
|
case qt:
|
|
12512
|
-
u.listKind = "message", u.message = r.getMessage(
|
|
12513
|
+
u.listKind = "message", u.message = r.getMessage(We(e.typeName)), Oe(u.message), u.delimitedEncoding = Js(e, t);
|
|
12513
12514
|
break;
|
|
12514
12515
|
case Zs:
|
|
12515
|
-
u.listKind = "enum", u.enum = r.getEnum(
|
|
12516
|
+
u.listKind = "enum", u.enum = r.getEnum(We(e.typeName)), Oe(u.enum);
|
|
12516
12517
|
break;
|
|
12517
12518
|
default:
|
|
12518
12519
|
u.listKind = "scalar", u.scalar = h, u.longAsString = g == zs;
|
|
@@ -12523,12 +12524,12 @@ function bi(e, t, r, s, l) {
|
|
|
12523
12524
|
switch (h) {
|
|
12524
12525
|
case Vt:
|
|
12525
12526
|
case qt:
|
|
12526
|
-
u.fieldKind = "message", u.message = r.getMessage(
|
|
12527
|
+
u.fieldKind = "message", u.message = r.getMessage(We(e.typeName)), Oe(u.message, `invalid FieldDescriptorProto: type_name ${e.typeName} not found`), u.delimitedEncoding = Js(e, t), u.getDefaultValue = () => {
|
|
12527
12528
|
};
|
|
12528
12529
|
break;
|
|
12529
12530
|
case Zs: {
|
|
12530
|
-
const y = r.getEnum(
|
|
12531
|
-
Oe(y !== void 0, `invalid FieldDescriptorProto: type_name ${e.typeName} not found`), u.fieldKind = "enum", u.enum = r.getEnum(
|
|
12531
|
+
const y = r.getEnum(We(e.typeName));
|
|
12532
|
+
Oe(y !== void 0, `invalid FieldDescriptorProto: type_name ${e.typeName} not found`), u.fieldKind = "enum", u.enum = r.getEnum(We(e.typeName)), u.getDefaultValue = () => Jt(e, "defaultValue") ? Ed(y, e.defaultValue) : void 0;
|
|
12532
12533
|
break;
|
|
12533
12534
|
}
|
|
12534
12535
|
default: {
|
|
@@ -12553,7 +12554,7 @@ function Hd(e) {
|
|
|
12553
12554
|
throw new Error(`${e.name}: unsupported syntax "${e.syntax}"`);
|
|
12554
12555
|
}
|
|
12555
12556
|
}
|
|
12556
|
-
function
|
|
12557
|
+
function Wd(e, t) {
|
|
12557
12558
|
return e.dependency.map((r) => {
|
|
12558
12559
|
const s = t.getFile(r);
|
|
12559
12560
|
if (!s)
|
|
@@ -12561,7 +12562,7 @@ function $d(e, t) {
|
|
|
12561
12562
|
return s;
|
|
12562
12563
|
});
|
|
12563
12564
|
}
|
|
12564
|
-
function
|
|
12565
|
+
function $d(e, t) {
|
|
12565
12566
|
const r = Gd(e) + "_";
|
|
12566
12567
|
for (const s of t) {
|
|
12567
12568
|
if (!s.name.toLowerCase().startsWith(r))
|
|
@@ -12579,7 +12580,7 @@ function Or(e, t, r) {
|
|
|
12579
12580
|
let s;
|
|
12580
12581
|
return t ? s = `${t.typeName}.${e.name}` : r.proto.package.length > 0 ? s = `${r.proto.package}.${e.name}` : s = `${e.name}`, s;
|
|
12581
12582
|
}
|
|
12582
|
-
function
|
|
12583
|
+
function We(e) {
|
|
12583
12584
|
return e.startsWith(".") ? e.substring(1) : e;
|
|
12584
12585
|
}
|
|
12585
12586
|
function jd(e, t) {
|
|
@@ -12775,7 +12776,7 @@ function eu(e, t = "std") {
|
|
|
12775
12776
|
}
|
|
12776
12777
|
return _ && (l += r[i], s && (l += "=", _ == 1 && (l += "="))), l;
|
|
12777
12778
|
}
|
|
12778
|
-
let ur, qs,
|
|
12779
|
+
let ur, qs, gt;
|
|
12779
12780
|
function qn(e) {
|
|
12780
12781
|
return ur || (ur = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""), qs = ur.slice(0, -2).concat("-", "_")), e == "url" ? (
|
|
12781
12782
|
// biome-ignore lint/style/noNonNullAssertion: TS fails to narrow down
|
|
@@ -12783,16 +12784,16 @@ function qn(e) {
|
|
|
12783
12784
|
) : ur;
|
|
12784
12785
|
}
|
|
12785
12786
|
function tu() {
|
|
12786
|
-
if (!
|
|
12787
|
-
|
|
12787
|
+
if (!gt) {
|
|
12788
|
+
gt = [];
|
|
12788
12789
|
const e = qn("std");
|
|
12789
12790
|
for (let t = 0; t < e.length; t++)
|
|
12790
|
-
|
|
12791
|
-
|
|
12791
|
+
gt[e[t].charCodeAt(0)] = t;
|
|
12792
|
+
gt[45] = e.indexOf("+"), gt[95] = e.indexOf("/");
|
|
12792
12793
|
}
|
|
12793
|
-
return
|
|
12794
|
+
return gt;
|
|
12794
12795
|
}
|
|
12795
|
-
function
|
|
12796
|
+
function Wi(e, t) {
|
|
12796
12797
|
return e !== null && typeof e == "object" && "$typeName" in e && typeof e.$typeName == "string" ? t === void 0 ? !0 : t.typeName === e.$typeName : !1;
|
|
12797
12798
|
}
|
|
12798
12799
|
const ru = [
|
|
@@ -12811,9 +12812,9 @@ function iu(e) {
|
|
|
12811
12812
|
function Qe(e) {
|
|
12812
12813
|
return e !== null && typeof e == "object" && !Array.isArray(e);
|
|
12813
12814
|
}
|
|
12814
|
-
function
|
|
12815
|
+
function $i(e, t) {
|
|
12815
12816
|
var r, s, l, _;
|
|
12816
|
-
if (Qe(e) &&
|
|
12817
|
+
if (Qe(e) && Ge in e && "add" in e && "field" in e && typeof e.field == "function") {
|
|
12817
12818
|
if (t !== void 0) {
|
|
12818
12819
|
const b = t, i = e.field();
|
|
12819
12820
|
return b.listKind == i.listKind && b.scalar === i.scalar && ((r = b.message) === null || r === void 0 ? void 0 : r.typeName) === ((s = i.message) === null || s === void 0 ? void 0 : s.typeName) && ((l = b.enum) === null || l === void 0 ? void 0 : l.typeName) === ((_ = i.enum) === null || _ === void 0 ? void 0 : _.typeName);
|
|
@@ -12824,7 +12825,7 @@ function Wi(e, t) {
|
|
|
12824
12825
|
}
|
|
12825
12826
|
function Gi(e, t) {
|
|
12826
12827
|
var r, s, l, _;
|
|
12827
|
-
if (Qe(e) &&
|
|
12828
|
+
if (Qe(e) && Ge in e && "has" in e && "field" in e && typeof e.field == "function") {
|
|
12828
12829
|
if (t !== void 0) {
|
|
12829
12830
|
const b = t, i = e.field();
|
|
12830
12831
|
return b.mapKey === i.mapKey && b.mapKind == i.mapKind && b.scalar === i.scalar && ((r = b.message) === null || r === void 0 ? void 0 : r.typeName) === ((s = i.message) === null || s === void 0 ? void 0 : s.typeName) && ((l = b.enum) === null || l === void 0 ? void 0 : l.typeName) === ((_ = i.enum) === null || _ === void 0 ? void 0 : _.typeName);
|
|
@@ -12834,7 +12835,7 @@ function Gi(e, t) {
|
|
|
12834
12835
|
return !1;
|
|
12835
12836
|
}
|
|
12836
12837
|
function ji(e, t) {
|
|
12837
|
-
return Qe(e) &&
|
|
12838
|
+
return Qe(e) && Ge in e && "desc" in e && Qe(e.desc) && e.desc.kind === "message" && (t === void 0 || e.desc.typeName == t.typeName);
|
|
12838
12839
|
}
|
|
12839
12840
|
const qr = Symbol.for("@bufbuild/protobuf/text-encoding");
|
|
12840
12841
|
function Zi() {
|
|
@@ -13195,8 +13196,8 @@ function su(e) {
|
|
|
13195
13196
|
if (Number.isFinite(e) && (e > Qn || e < ea))
|
|
13196
13197
|
throw new Error("invalid float32: " + e);
|
|
13197
13198
|
}
|
|
13198
|
-
function
|
|
13199
|
-
const r = e.fieldKind == "list" ?
|
|
13199
|
+
function ot(e, t) {
|
|
13200
|
+
const r = e.fieldKind == "list" ? $i(t, e) : e.fieldKind == "map" ? Gi(t, e) : Ki(e, t);
|
|
13200
13201
|
if (r === !0)
|
|
13201
13202
|
return;
|
|
13202
13203
|
let s;
|
|
@@ -13274,7 +13275,7 @@ function Br(e, t, r) {
|
|
|
13274
13275
|
function me(e) {
|
|
13275
13276
|
switch (typeof e) {
|
|
13276
13277
|
case "object":
|
|
13277
|
-
return e === null ? "null" : e instanceof Uint8Array ? `Uint8Array(${e.length})` : Array.isArray(e) ? `Array(${e.length})` :
|
|
13278
|
+
return e === null ? "null" : e instanceof Uint8Array ? `Uint8Array(${e.length})` : Array.isArray(e) ? `Array(${e.length})` : $i(e) ? aa(e.field()) : Gi(e) ? ca(e.field()) : ji(e) ? na(e.desc) : Wi(e) ? `message ${e.$typeName}` : "object";
|
|
13278
13279
|
case "string":
|
|
13279
13280
|
return e.length > 30 ? "string" : `"${e.split('"').join('\\"')}"`;
|
|
13280
13281
|
case "boolean":
|
|
@@ -13360,7 +13361,7 @@ function la(e) {
|
|
|
13360
13361
|
}
|
|
13361
13362
|
const cu = 999, lu = 998, br = 2;
|
|
13362
13363
|
function _e(e, t) {
|
|
13363
|
-
if (
|
|
13364
|
+
if (Wi(t, e))
|
|
13364
13365
|
return t;
|
|
13365
13366
|
const r = vu(e);
|
|
13366
13367
|
return t !== void 0 && du(e, r, t), r;
|
|
@@ -13372,10 +13373,10 @@ function du(e, t, r) {
|
|
|
13372
13373
|
continue;
|
|
13373
13374
|
let _;
|
|
13374
13375
|
if (s.kind == "oneof") {
|
|
13375
|
-
const b =
|
|
13376
|
+
const b = Wn(r, s);
|
|
13376
13377
|
if (!b)
|
|
13377
13378
|
continue;
|
|
13378
|
-
_ = b, l =
|
|
13379
|
+
_ = b, l = $n(r, b);
|
|
13379
13380
|
} else
|
|
13380
13381
|
_ = s;
|
|
13381
13382
|
switch (_.fieldKind) {
|
|
@@ -13423,7 +13424,7 @@ function Yi(e, t) {
|
|
|
13423
13424
|
if (Qe(t)) {
|
|
13424
13425
|
if (e.message.typeName == "google.protobuf.Struct" && e.parent.typeName !== "google.protobuf.Value")
|
|
13425
13426
|
return t;
|
|
13426
|
-
if (
|
|
13427
|
+
if (!Wi(t, e.message))
|
|
13427
13428
|
return _e(e.message, t);
|
|
13428
13429
|
}
|
|
13429
13430
|
return t;
|
|
@@ -13483,7 +13484,7 @@ function ei(e) {
|
|
|
13483
13484
|
if (e.fieldKind == "message")
|
|
13484
13485
|
return fu;
|
|
13485
13486
|
const t = e.getDefaultValue();
|
|
13486
|
-
return t !== void 0 ? e.fieldKind == "scalar" && e.longAsString ? t.toString() : t : e.fieldKind == "scalar" ?
|
|
13487
|
+
return t !== void 0 ? e.fieldKind == "scalar" && e.longAsString ? t.toString() : t : e.fieldKind == "scalar" ? ft(e.scalar, e.longAsString) : e.enum.values[0].number;
|
|
13487
13488
|
}
|
|
13488
13489
|
function De(e, t, r = !0) {
|
|
13489
13490
|
return new ua(e, t, r);
|
|
@@ -13497,13 +13498,13 @@ class ua {
|
|
|
13497
13498
|
);
|
|
13498
13499
|
}
|
|
13499
13500
|
constructor(t, r, s = !0) {
|
|
13500
|
-
this.lists = /* @__PURE__ */ new Map(), this.maps = /* @__PURE__ */ new Map(), this.check = s, this.desc = t, this.message = this[
|
|
13501
|
+
this.lists = /* @__PURE__ */ new Map(), this.maps = /* @__PURE__ */ new Map(), this.check = s, this.desc = t, this.message = this[Ge] = r ?? _e(t), this.fields = t.fields, this.oneofs = t.oneofs, this.members = t.members;
|
|
13501
13502
|
}
|
|
13502
13503
|
findNumber(t) {
|
|
13503
13504
|
return this._fieldsByNumber || (this._fieldsByNumber = new Map(this.desc.fields.map((r) => [r.number, r]))), this._fieldsByNumber.get(t);
|
|
13504
13505
|
}
|
|
13505
13506
|
oneofCase(t) {
|
|
13506
|
-
return Ot(this.message, t),
|
|
13507
|
+
return Ot(this.message, t), Wn(this.message, t);
|
|
13507
13508
|
}
|
|
13508
13509
|
isSet(t) {
|
|
13509
13510
|
return Ot(this.message, t), Cd(this.message, t);
|
|
@@ -13513,18 +13514,18 @@ class ua {
|
|
|
13513
13514
|
}
|
|
13514
13515
|
get(t) {
|
|
13515
13516
|
Ot(this.message, t);
|
|
13516
|
-
const r =
|
|
13517
|
+
const r = $n(this.message, t);
|
|
13517
13518
|
switch (t.fieldKind) {
|
|
13518
13519
|
case "list":
|
|
13519
13520
|
let s = this.lists.get(t);
|
|
13520
|
-
return (!s || s[
|
|
13521
|
+
return (!s || s[Ge] !== r) && this.lists.set(
|
|
13521
13522
|
t,
|
|
13522
13523
|
// biome-ignore lint/suspicious/noAssignInExpressions: no
|
|
13523
13524
|
s = new gu(t, r, this.check)
|
|
13524
13525
|
), s;
|
|
13525
13526
|
case "map":
|
|
13526
13527
|
let l = this.maps.get(t);
|
|
13527
|
-
return (!l || l[
|
|
13528
|
+
return (!l || l[Ge] !== r) && this.maps.set(
|
|
13528
13529
|
t,
|
|
13529
13530
|
// biome-ignore lint/suspicious/noAssignInExpressions: no
|
|
13530
13531
|
l = new _u(t, r, this.check)
|
|
@@ -13532,19 +13533,19 @@ class ua {
|
|
|
13532
13533
|
case "message":
|
|
13533
13534
|
return qi(t, r, this.check);
|
|
13534
13535
|
case "scalar":
|
|
13535
|
-
return r === void 0 ?
|
|
13536
|
+
return r === void 0 ? ft(t.scalar, !1) : Qi(t, r);
|
|
13536
13537
|
case "enum":
|
|
13537
13538
|
return r ?? t.enum.values[0].number;
|
|
13538
13539
|
}
|
|
13539
13540
|
}
|
|
13540
13541
|
set(t, r) {
|
|
13541
13542
|
if (Ot(this.message, t), this.check) {
|
|
13542
|
-
const l =
|
|
13543
|
+
const l = ot(t, r);
|
|
13543
13544
|
if (l)
|
|
13544
13545
|
throw l;
|
|
13545
13546
|
}
|
|
13546
13547
|
let s;
|
|
13547
|
-
t.fieldKind == "message" ? s = Ji(t, r) : Gi(r) ||
|
|
13548
|
+
t.fieldKind == "message" ? s = Ji(t, r) : Gi(r) || $i(r) ? s = r[Ge] : s = es(t, r), Gn(this.message, t, s);
|
|
13548
13549
|
}
|
|
13549
13550
|
getUnknown() {
|
|
13550
13551
|
return this.message.$unknown;
|
|
@@ -13565,7 +13566,7 @@ class gu {
|
|
|
13565
13566
|
return this._arr.length;
|
|
13566
13567
|
}
|
|
13567
13568
|
constructor(t, r, s) {
|
|
13568
|
-
this._field = t, this._arr = this[
|
|
13569
|
+
this._field = t, this._arr = this[Ge] = r, this.check = s;
|
|
13569
13570
|
}
|
|
13570
13571
|
get(t) {
|
|
13571
13572
|
const r = this._arr[t];
|
|
@@ -13609,7 +13610,7 @@ class gu {
|
|
|
13609
13610
|
}
|
|
13610
13611
|
class _u {
|
|
13611
13612
|
constructor(t, r, s = !0) {
|
|
13612
|
-
this.obj = this[
|
|
13613
|
+
this.obj = this[Ge] = r ?? {}, this.check = s, this._field = t;
|
|
13613
13614
|
}
|
|
13614
13615
|
field() {
|
|
13615
13616
|
return this._field;
|
|
@@ -13973,7 +13974,7 @@ function Eu(e) {
|
|
|
13973
13974
|
return ve.Varint;
|
|
13974
13975
|
}
|
|
13975
13976
|
}
|
|
13976
|
-
function
|
|
13977
|
+
function He(e, t, ...r) {
|
|
13977
13978
|
return r.reduce((s, l) => s.nestedMessages[l], e.messages[t]);
|
|
13978
13979
|
}
|
|
13979
13980
|
function Nr(e, t, ...r) {
|
|
@@ -13988,7 +13989,7 @@ function Fr(e) {
|
|
|
13988
13989
|
t[r.localName] = r.number, t[r.number] = r.localName;
|
|
13989
13990
|
return t;
|
|
13990
13991
|
}
|
|
13991
|
-
const ku = /* @__PURE__ */ Xd({ name: "google/protobuf/descriptor.proto", package: "google.protobuf", messageType: [{ name: "FileDescriptorSet", field: [{ name: "file", number: 1, type: 11, label: 3, typeName: ".google.protobuf.FileDescriptorProto" }], extensionRange: [{ start: 536e6, end: 536000001 }] }, { name: "FileDescriptorProto", field: [{ name: "name", number: 1, type: 9, label: 1 }, { name: "package", number: 2, type: 9, label: 1 }, { name: "dependency", number: 3, type: 9, label: 3 }, { name: "public_dependency", number: 10, type: 5, label: 3 }, { name: "weak_dependency", number: 11, type: 5, label: 3 }, { name: "option_dependency", number: 15, type: 9, label: 3 }, { name: "message_type", number: 4, type: 11, label: 3, typeName: ".google.protobuf.DescriptorProto" }, { name: "enum_type", number: 5, type: 11, label: 3, typeName: ".google.protobuf.EnumDescriptorProto" }, { name: "service", number: 6, type: 11, label: 3, typeName: ".google.protobuf.ServiceDescriptorProto" }, { name: "extension", number: 7, type: 11, label: 3, typeName: ".google.protobuf.FieldDescriptorProto" }, { name: "options", number: 8, type: 11, label: 1, typeName: ".google.protobuf.FileOptions" }, { name: "source_code_info", number: 9, type: 11, label: 1, typeName: ".google.protobuf.SourceCodeInfo" }, { name: "syntax", number: 12, type: 9, label: 1 }, { name: "edition", number: 14, type: 14, label: 1, typeName: ".google.protobuf.Edition" }] }, { name: "DescriptorProto", field: [{ name: "name", number: 1, type: 9, label: 1 }, { name: "field", number: 2, type: 11, label: 3, typeName: ".google.protobuf.FieldDescriptorProto" }, { name: "extension", number: 6, type: 11, label: 3, typeName: ".google.protobuf.FieldDescriptorProto" }, { name: "nested_type", number: 3, type: 11, label: 3, typeName: ".google.protobuf.DescriptorProto" }, { name: "enum_type", number: 4, type: 11, label: 3, typeName: ".google.protobuf.EnumDescriptorProto" }, { name: "extension_range", number: 5, type: 11, label: 3, typeName: ".google.protobuf.DescriptorProto.ExtensionRange" }, { name: "oneof_decl", number: 8, type: 11, label: 3, typeName: ".google.protobuf.OneofDescriptorProto" }, { name: "options", number: 7, type: 11, label: 1, typeName: ".google.protobuf.MessageOptions" }, { name: "reserved_range", number: 9, type: 11, label: 3, typeName: ".google.protobuf.DescriptorProto.ReservedRange" }, { name: "reserved_name", number: 10, type: 9, label: 3 }, { name: "visibility", number: 11, type: 14, label: 1, typeName: ".google.protobuf.SymbolVisibility" }], nestedType: [{ name: "ExtensionRange", field: [{ name: "start", number: 1, type: 5, label: 1 }, { name: "end", number: 2, type: 5, label: 1 }, { name: "options", number: 3, type: 11, label: 1, typeName: ".google.protobuf.ExtensionRangeOptions" }] }, { name: "ReservedRange", field: [{ name: "start", number: 1, type: 5, label: 1 }, { name: "end", number: 2, type: 5, label: 1 }] }] }, { name: "ExtensionRangeOptions", field: [{ name: "uninterpreted_option", number: 999, type: 11, label: 3, typeName: ".google.protobuf.UninterpretedOption" }, { name: "declaration", number: 2, type: 11, label: 3, typeName: ".google.protobuf.ExtensionRangeOptions.Declaration", options: { retention: 2 } }, { name: "features", number: 50, type: 11, label: 1, typeName: ".google.protobuf.FeatureSet" }, { name: "verification", number: 3, type: 14, label: 1, typeName: ".google.protobuf.ExtensionRangeOptions.VerificationState", defaultValue: "UNVERIFIED", options: { retention: 2 } }], nestedType: [{ name: "Declaration", field: [{ name: "number", number: 1, type: 5, label: 1 }, { name: "full_name", number: 2, type: 9, label: 1 }, { name: "type", number: 3, type: 9, label: 1 }, { name: "reserved", number: 5, type: 8, label: 1 }, { name: "repeated", number: 6, type: 8, label: 1 }] }], enumType: [{ name: "VerificationState", value: [{ name: "DECLARATION", number: 0 }, { name: "UNVERIFIED", number: 1 }] }], extensionRange: [{ start: 1e3, end: 536870912 }] }, { name: "FieldDescriptorProto", field: [{ name: "name", number: 1, type: 9, label: 1 }, { name: "number", number: 3, type: 5, label: 1 }, { name: "label", number: 4, type: 14, label: 1, typeName: ".google.protobuf.FieldDescriptorProto.Label" }, { name: "type", number: 5, type: 14, label: 1, typeName: ".google.protobuf.FieldDescriptorProto.Type" }, { name: "type_name", number: 6, type: 9, label: 1 }, { name: "extendee", number: 2, type: 9, label: 1 }, { name: "default_value", number: 7, type: 9, label: 1 }, { name: "oneof_index", number: 9, type: 5, label: 1 }, { name: "json_name", number: 10, type: 9, label: 1 }, { name: "options", number: 8, type: 11, label: 1, typeName: ".google.protobuf.FieldOptions" }, { name: "proto3_optional", number: 17, type: 8, label: 1 }], enumType: [{ name: "Type", value: [{ name: "TYPE_DOUBLE", number: 1 }, { name: "TYPE_FLOAT", number: 2 }, { name: "TYPE_INT64", number: 3 }, { name: "TYPE_UINT64", number: 4 }, { name: "TYPE_INT32", number: 5 }, { name: "TYPE_FIXED64", number: 6 }, { name: "TYPE_FIXED32", number: 7 }, { name: "TYPE_BOOL", number: 8 }, { name: "TYPE_STRING", number: 9 }, { name: "TYPE_GROUP", number: 10 }, { name: "TYPE_MESSAGE", number: 11 }, { name: "TYPE_BYTES", number: 12 }, { name: "TYPE_UINT32", number: 13 }, { name: "TYPE_ENUM", number: 14 }, { name: "TYPE_SFIXED32", number: 15 }, { name: "TYPE_SFIXED64", number: 16 }, { name: "TYPE_SINT32", number: 17 }, { name: "TYPE_SINT64", number: 18 }] }, { name: "Label", value: [{ name: "LABEL_OPTIONAL", number: 1 }, { name: "LABEL_REPEATED", number: 3 }, { name: "LABEL_REQUIRED", number: 2 }] }] }, { name: "OneofDescriptorProto", field: [{ name: "name", number: 1, type: 9, label: 1 }, { name: "options", number: 2, type: 11, label: 1, typeName: ".google.protobuf.OneofOptions" }] }, { name: "EnumDescriptorProto", field: [{ name: "name", number: 1, type: 9, label: 1 }, { name: "value", number: 2, type: 11, label: 3, typeName: ".google.protobuf.EnumValueDescriptorProto" }, { name: "options", number: 3, type: 11, label: 1, typeName: ".google.protobuf.EnumOptions" }, { name: "reserved_range", number: 4, type: 11, label: 3, typeName: ".google.protobuf.EnumDescriptorProto.EnumReservedRange" }, { name: "reserved_name", number: 5, type: 9, label: 3 }, { name: "visibility", number: 6, type: 14, label: 1, typeName: ".google.protobuf.SymbolVisibility" }], nestedType: [{ name: "EnumReservedRange", field: [{ name: "start", number: 1, type: 5, label: 1 }, { name: "end", number: 2, type: 5, label: 1 }] }] }, { name: "EnumValueDescriptorProto", field: [{ name: "name", number: 1, type: 9, label: 1 }, { name: "number", number: 2, type: 5, label: 1 }, { name: "options", number: 3, type: 11, label: 1, typeName: ".google.protobuf.EnumValueOptions" }] }, { name: "ServiceDescriptorProto", field: [{ name: "name", number: 1, type: 9, label: 1 }, { name: "method", number: 2, type: 11, label: 3, typeName: ".google.protobuf.MethodDescriptorProto" }, { name: "options", number: 3, type: 11, label: 1, typeName: ".google.protobuf.ServiceOptions" }] }, { name: "MethodDescriptorProto", field: [{ name: "name", number: 1, type: 9, label: 1 }, { name: "input_type", number: 2, type: 9, label: 1 }, { name: "output_type", number: 3, type: 9, label: 1 }, { name: "options", number: 4, type: 11, label: 1, typeName: ".google.protobuf.MethodOptions" }, { name: "client_streaming", number: 5, type: 8, label: 1, defaultValue: "false" }, { name: "server_streaming", number: 6, type: 8, label: 1, defaultValue: "false" }] }, { name: "FileOptions", field: [{ name: "java_package", number: 1, type: 9, label: 1 }, { name: "java_outer_classname", number: 8, type: 9, label: 1 }, { name: "java_multiple_files", number: 10, type: 8, label: 1, defaultValue: "false" }, { name: "java_generate_equals_and_hash", number: 20, type: 8, label: 1, options: { deprecated: !0 } }, { name: "java_string_check_utf8", number: 27, type: 8, label: 1, defaultValue: "false" }, { name: "optimize_for", number: 9, type: 14, label: 1, typeName: ".google.protobuf.FileOptions.OptimizeMode", defaultValue: "SPEED" }, { name: "go_package", number: 11, type: 9, label: 1 }, { name: "cc_generic_services", number: 16, type: 8, label: 1, defaultValue: "false" }, { name: "java_generic_services", number: 17, type: 8, label: 1, defaultValue: "false" }, { name: "py_generic_services", number: 18, type: 8, label: 1, defaultValue: "false" }, { name: "deprecated", number: 23, type: 8, label: 1, defaultValue: "false" }, { name: "cc_enable_arenas", number: 31, type: 8, label: 1, defaultValue: "true" }, { name: "objc_class_prefix", number: 36, type: 9, label: 1 }, { name: "csharp_namespace", number: 37, type: 9, label: 1 }, { name: "swift_prefix", number: 39, type: 9, label: 1 }, { name: "php_class_prefix", number: 40, type: 9, label: 1 }, { name: "php_namespace", number: 41, type: 9, label: 1 }, { name: "php_metadata_namespace", number: 44, type: 9, label: 1 }, { name: "ruby_package", number: 45, type: 9, label: 1 }, { name: "features", number: 50, type: 11, label: 1, typeName: ".google.protobuf.FeatureSet" }, { name: "uninterpreted_option", number: 999, type: 11, label: 3, typeName: ".google.protobuf.UninterpretedOption" }], enumType: [{ name: "OptimizeMode", value: [{ name: "SPEED", number: 1 }, { name: "CODE_SIZE", number: 2 }, { name: "LITE_RUNTIME", number: 3 }] }], extensionRange: [{ start: 1e3, end: 536870912 }] }, { name: "MessageOptions", field: [{ name: "message_set_wire_format", number: 1, type: 8, label: 1, defaultValue: "false" }, { name: "no_standard_descriptor_accessor", number: 2, type: 8, label: 1, defaultValue: "false" }, { name: "deprecated", number: 3, type: 8, label: 1, defaultValue: "false" }, { name: "map_entry", number: 7, type: 8, label: 1 }, { name: "deprecated_legacy_json_field_conflicts", number: 11, type: 8, label: 1, options: { deprecated: !0 } }, { name: "features", number: 12, type: 11, label: 1, typeName: ".google.protobuf.FeatureSet" }, { name: "uninterpreted_option", number: 999, type: 11, label: 3, typeName: ".google.protobuf.UninterpretedOption" }], extensionRange: [{ start: 1e3, end: 536870912 }] }, { name: "FieldOptions", field: [{ name: "ctype", number: 1, type: 14, label: 1, typeName: ".google.protobuf.FieldOptions.CType", defaultValue: "STRING" }, { name: "packed", number: 2, type: 8, label: 1 }, { name: "jstype", number: 6, type: 14, label: 1, typeName: ".google.protobuf.FieldOptions.JSType", defaultValue: "JS_NORMAL" }, { name: "lazy", number: 5, type: 8, label: 1, defaultValue: "false" }, { name: "unverified_lazy", number: 15, type: 8, label: 1, defaultValue: "false" }, { name: "deprecated", number: 3, type: 8, label: 1, defaultValue: "false" }, { name: "weak", number: 10, type: 8, label: 1, defaultValue: "false", options: { deprecated: !0 } }, { name: "debug_redact", number: 16, type: 8, label: 1, defaultValue: "false" }, { name: "retention", number: 17, type: 14, label: 1, typeName: ".google.protobuf.FieldOptions.OptionRetention" }, { name: "targets", number: 19, type: 14, label: 3, typeName: ".google.protobuf.FieldOptions.OptionTargetType" }, { name: "edition_defaults", number: 20, type: 11, label: 3, typeName: ".google.protobuf.FieldOptions.EditionDefault" }, { name: "features", number: 21, type: 11, label: 1, typeName: ".google.protobuf.FeatureSet" }, { name: "feature_support", number: 22, type: 11, label: 1, typeName: ".google.protobuf.FieldOptions.FeatureSupport" }, { name: "uninterpreted_option", number: 999, type: 11, label: 3, typeName: ".google.protobuf.UninterpretedOption" }], nestedType: [{ name: "EditionDefault", field: [{ name: "edition", number: 3, type: 14, label: 1, typeName: ".google.protobuf.Edition" }, { name: "value", number: 2, type: 9, label: 1 }] }, { name: "FeatureSupport", field: [{ name: "edition_introduced", number: 1, type: 14, label: 1, typeName: ".google.protobuf.Edition" }, { name: "edition_deprecated", number: 2, type: 14, label: 1, typeName: ".google.protobuf.Edition" }, { name: "deprecation_warning", number: 3, type: 9, label: 1 }, { name: "edition_removed", number: 4, type: 14, label: 1, typeName: ".google.protobuf.Edition" }] }], enumType: [{ name: "CType", value: [{ name: "STRING", number: 0 }, { name: "CORD", number: 1 }, { name: "STRING_PIECE", number: 2 }] }, { name: "JSType", value: [{ name: "JS_NORMAL", number: 0 }, { name: "JS_STRING", number: 1 }, { name: "JS_NUMBER", number: 2 }] }, { name: "OptionRetention", value: [{ name: "RETENTION_UNKNOWN", number: 0 }, { name: "RETENTION_RUNTIME", number: 1 }, { name: "RETENTION_SOURCE", number: 2 }] }, { name: "OptionTargetType", value: [{ name: "TARGET_TYPE_UNKNOWN", number: 0 }, { name: "TARGET_TYPE_FILE", number: 1 }, { name: "TARGET_TYPE_EXTENSION_RANGE", number: 2 }, { name: "TARGET_TYPE_MESSAGE", number: 3 }, { name: "TARGET_TYPE_FIELD", number: 4 }, { name: "TARGET_TYPE_ONEOF", number: 5 }, { name: "TARGET_TYPE_ENUM", number: 6 }, { name: "TARGET_TYPE_ENUM_ENTRY", number: 7 }, { name: "TARGET_TYPE_SERVICE", number: 8 }, { name: "TARGET_TYPE_METHOD", number: 9 }] }], extensionRange: [{ start: 1e3, end: 536870912 }] }, { name: "OneofOptions", field: [{ name: "features", number: 1, type: 11, label: 1, typeName: ".google.protobuf.FeatureSet" }, { name: "uninterpreted_option", number: 999, type: 11, label: 3, typeName: ".google.protobuf.UninterpretedOption" }], extensionRange: [{ start: 1e3, end: 536870912 }] }, { name: "EnumOptions", field: [{ name: "allow_alias", number: 2, type: 8, label: 1 }, { name: "deprecated", number: 3, type: 8, label: 1, defaultValue: "false" }, { name: "deprecated_legacy_json_field_conflicts", number: 6, type: 8, label: 1, options: { deprecated: !0 } }, { name: "features", number: 7, type: 11, label: 1, typeName: ".google.protobuf.FeatureSet" }, { name: "uninterpreted_option", number: 999, type: 11, label: 3, typeName: ".google.protobuf.UninterpretedOption" }], extensionRange: [{ start: 1e3, end: 536870912 }] }, { name: "EnumValueOptions", field: [{ name: "deprecated", number: 1, type: 8, label: 1, defaultValue: "false" }, { name: "features", number: 2, type: 11, label: 1, typeName: ".google.protobuf.FeatureSet" }, { name: "debug_redact", number: 3, type: 8, label: 1, defaultValue: "false" }, { name: "feature_support", number: 4, type: 11, label: 1, typeName: ".google.protobuf.FieldOptions.FeatureSupport" }, { name: "uninterpreted_option", number: 999, type: 11, label: 3, typeName: ".google.protobuf.UninterpretedOption" }], extensionRange: [{ start: 1e3, end: 536870912 }] }, { name: "ServiceOptions", field: [{ name: "features", number: 34, type: 11, label: 1, typeName: ".google.protobuf.FeatureSet" }, { name: "deprecated", number: 33, type: 8, label: 1, defaultValue: "false" }, { name: "uninterpreted_option", number: 999, type: 11, label: 3, typeName: ".google.protobuf.UninterpretedOption" }], extensionRange: [{ start: 1e3, end: 536870912 }] }, { name: "MethodOptions", field: [{ name: "deprecated", number: 33, type: 8, label: 1, defaultValue: "false" }, { name: "idempotency_level", number: 34, type: 14, label: 1, typeName: ".google.protobuf.MethodOptions.IdempotencyLevel", defaultValue: "IDEMPOTENCY_UNKNOWN" }, { name: "features", number: 35, type: 11, label: 1, typeName: ".google.protobuf.FeatureSet" }, { name: "uninterpreted_option", number: 999, type: 11, label: 3, typeName: ".google.protobuf.UninterpretedOption" }], enumType: [{ name: "IdempotencyLevel", value: [{ name: "IDEMPOTENCY_UNKNOWN", number: 0 }, { name: "NO_SIDE_EFFECTS", number: 1 }, { name: "IDEMPOTENT", number: 2 }] }], extensionRange: [{ start: 1e3, end: 536870912 }] }, { name: "UninterpretedOption", field: [{ name: "name", number: 2, type: 11, label: 3, typeName: ".google.protobuf.UninterpretedOption.NamePart" }, { name: "identifier_value", number: 3, type: 9, label: 1 }, { name: "positive_int_value", number: 4, type: 4, label: 1 }, { name: "negative_int_value", number: 5, type: 3, label: 1 }, { name: "double_value", number: 6, type: 1, label: 1 }, { name: "string_value", number: 7, type: 12, label: 1 }, { name: "aggregate_value", number: 8, type: 9, label: 1 }], nestedType: [{ name: "NamePart", field: [{ name: "name_part", number: 1, type: 9, label: 2 }, { name: "is_extension", number: 2, type: 8, label: 2 }] }] }, { name: "FeatureSet", field: [{ name: "field_presence", number: 1, type: 14, label: 1, typeName: ".google.protobuf.FeatureSet.FieldPresence", options: { retention: 1, targets: [4, 1], editionDefaults: [{ value: "EXPLICIT", edition: 900 }, { value: "IMPLICIT", edition: 999 }, { value: "EXPLICIT", edition: 1e3 }] } }, { name: "enum_type", number: 2, type: 14, label: 1, typeName: ".google.protobuf.FeatureSet.EnumType", options: { retention: 1, targets: [6, 1], editionDefaults: [{ value: "CLOSED", edition: 900 }, { value: "OPEN", edition: 999 }] } }, { name: "repeated_field_encoding", number: 3, type: 14, label: 1, typeName: ".google.protobuf.FeatureSet.RepeatedFieldEncoding", options: { retention: 1, targets: [4, 1], editionDefaults: [{ value: "EXPANDED", edition: 900 }, { value: "PACKED", edition: 999 }] } }, { name: "utf8_validation", number: 4, type: 14, label: 1, typeName: ".google.protobuf.FeatureSet.Utf8Validation", options: { retention: 1, targets: [4, 1], editionDefaults: [{ value: "NONE", edition: 900 }, { value: "VERIFY", edition: 999 }] } }, { name: "message_encoding", number: 5, type: 14, label: 1, typeName: ".google.protobuf.FeatureSet.MessageEncoding", options: { retention: 1, targets: [4, 1], editionDefaults: [{ value: "LENGTH_PREFIXED", edition: 900 }] } }, { name: "json_format", number: 6, type: 14, label: 1, typeName: ".google.protobuf.FeatureSet.JsonFormat", options: { retention: 1, targets: [3, 6, 1], editionDefaults: [{ value: "LEGACY_BEST_EFFORT", edition: 900 }, { value: "ALLOW", edition: 999 }] } }, { name: "enforce_naming_style", number: 7, type: 14, label: 1, typeName: ".google.protobuf.FeatureSet.EnforceNamingStyle", options: { retention: 2, targets: [1, 2, 3, 4, 5, 6, 7, 8, 9], editionDefaults: [{ value: "STYLE_LEGACY", edition: 900 }, { value: "STYLE2024", edition: 1001 }] } }, { name: "default_symbol_visibility", number: 8, type: 14, label: 1, typeName: ".google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility", options: { retention: 2, targets: [1], editionDefaults: [{ value: "EXPORT_ALL", edition: 900 }, { value: "EXPORT_TOP_LEVEL", edition: 1001 }] } }], nestedType: [{ name: "VisibilityFeature", enumType: [{ name: "DefaultSymbolVisibility", value: [{ name: "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN", number: 0 }, { name: "EXPORT_ALL", number: 1 }, { name: "EXPORT_TOP_LEVEL", number: 2 }, { name: "LOCAL_ALL", number: 3 }, { name: "STRICT", number: 4 }] }] }], enumType: [{ name: "FieldPresence", value: [{ name: "FIELD_PRESENCE_UNKNOWN", number: 0 }, { name: "EXPLICIT", number: 1 }, { name: "IMPLICIT", number: 2 }, { name: "LEGACY_REQUIRED", number: 3 }] }, { name: "EnumType", value: [{ name: "ENUM_TYPE_UNKNOWN", number: 0 }, { name: "OPEN", number: 1 }, { name: "CLOSED", number: 2 }] }, { name: "RepeatedFieldEncoding", value: [{ name: "REPEATED_FIELD_ENCODING_UNKNOWN", number: 0 }, { name: "PACKED", number: 1 }, { name: "EXPANDED", number: 2 }] }, { name: "Utf8Validation", value: [{ name: "UTF8_VALIDATION_UNKNOWN", number: 0 }, { name: "VERIFY", number: 2 }, { name: "NONE", number: 3 }] }, { name: "MessageEncoding", value: [{ name: "MESSAGE_ENCODING_UNKNOWN", number: 0 }, { name: "LENGTH_PREFIXED", number: 1 }, { name: "DELIMITED", number: 2 }] }, { name: "JsonFormat", value: [{ name: "JSON_FORMAT_UNKNOWN", number: 0 }, { name: "ALLOW", number: 1 }, { name: "LEGACY_BEST_EFFORT", number: 2 }] }, { name: "EnforceNamingStyle", value: [{ name: "ENFORCE_NAMING_STYLE_UNKNOWN", number: 0 }, { name: "STYLE2024", number: 1 }, { name: "STYLE_LEGACY", number: 2 }] }], extensionRange: [{ start: 1e3, end: 9995 }, { start: 9995, end: 1e4 }, { start: 1e4, end: 10001 }] }, { name: "FeatureSetDefaults", field: [{ name: "defaults", number: 1, type: 11, label: 3, typeName: ".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault" }, { name: "minimum_edition", number: 4, type: 14, label: 1, typeName: ".google.protobuf.Edition" }, { name: "maximum_edition", number: 5, type: 14, label: 1, typeName: ".google.protobuf.Edition" }], nestedType: [{ name: "FeatureSetEditionDefault", field: [{ name: "edition", number: 3, type: 14, label: 1, typeName: ".google.protobuf.Edition" }, { name: "overridable_features", number: 4, type: 11, label: 1, typeName: ".google.protobuf.FeatureSet" }, { name: "fixed_features", number: 5, type: 11, label: 1, typeName: ".google.protobuf.FeatureSet" }] }] }, { name: "SourceCodeInfo", field: [{ name: "location", number: 1, type: 11, label: 3, typeName: ".google.protobuf.SourceCodeInfo.Location" }], nestedType: [{ name: "Location", field: [{ name: "path", number: 1, type: 5, label: 3, options: { packed: !0 } }, { name: "span", number: 2, type: 5, label: 3, options: { packed: !0 } }, { name: "leading_comments", number: 3, type: 9, label: 1 }, { name: "trailing_comments", number: 4, type: 9, label: 1 }, { name: "leading_detached_comments", number: 6, type: 9, label: 3 }] }], extensionRange: [{ start: 536e6, end: 536000001 }] }, { name: "GeneratedCodeInfo", field: [{ name: "annotation", number: 1, type: 11, label: 3, typeName: ".google.protobuf.GeneratedCodeInfo.Annotation" }], nestedType: [{ name: "Annotation", field: [{ name: "path", number: 1, type: 5, label: 3, options: { packed: !0 } }, { name: "source_file", number: 2, type: 9, label: 1 }, { name: "begin", number: 3, type: 5, label: 1 }, { name: "end", number: 4, type: 5, label: 1 }, { name: "semantic", number: 5, type: 14, label: 1, typeName: ".google.protobuf.GeneratedCodeInfo.Annotation.Semantic" }], enumType: [{ name: "Semantic", value: [{ name: "NONE", number: 0 }, { name: "SET", number: 1 }, { name: "ALIAS", number: 2 }] }] }] }], enumType: [{ name: "Edition", value: [{ name: "EDITION_UNKNOWN", number: 0 }, { name: "EDITION_LEGACY", number: 900 }, { name: "EDITION_PROTO2", number: 998 }, { name: "EDITION_PROTO3", number: 999 }, { name: "EDITION_2023", number: 1e3 }, { name: "EDITION_2024", number: 1001 }, { name: "EDITION_1_TEST_ONLY", number: 1 }, { name: "EDITION_2_TEST_ONLY", number: 2 }, { name: "EDITION_99997_TEST_ONLY", number: 99997 }, { name: "EDITION_99998_TEST_ONLY", number: 99998 }, { name: "EDITION_99999_TEST_ONLY", number: 99999 }, { name: "EDITION_MAX", number: 2147483647 }] }, { name: "SymbolVisibility", value: [{ name: "VISIBILITY_UNSET", number: 0 }, { name: "VISIBILITY_LOCAL", number: 1 }, { name: "VISIBILITY_EXPORT", number: 2 }] }] }), Bu = /* @__PURE__ */ Ve(ku, 1);
|
|
13992
|
+
const ku = /* @__PURE__ */ Xd({ name: "google/protobuf/descriptor.proto", package: "google.protobuf", messageType: [{ name: "FileDescriptorSet", field: [{ name: "file", number: 1, type: 11, label: 3, typeName: ".google.protobuf.FileDescriptorProto" }], extensionRange: [{ start: 536e6, end: 536000001 }] }, { name: "FileDescriptorProto", field: [{ name: "name", number: 1, type: 9, label: 1 }, { name: "package", number: 2, type: 9, label: 1 }, { name: "dependency", number: 3, type: 9, label: 3 }, { name: "public_dependency", number: 10, type: 5, label: 3 }, { name: "weak_dependency", number: 11, type: 5, label: 3 }, { name: "option_dependency", number: 15, type: 9, label: 3 }, { name: "message_type", number: 4, type: 11, label: 3, typeName: ".google.protobuf.DescriptorProto" }, { name: "enum_type", number: 5, type: 11, label: 3, typeName: ".google.protobuf.EnumDescriptorProto" }, { name: "service", number: 6, type: 11, label: 3, typeName: ".google.protobuf.ServiceDescriptorProto" }, { name: "extension", number: 7, type: 11, label: 3, typeName: ".google.protobuf.FieldDescriptorProto" }, { name: "options", number: 8, type: 11, label: 1, typeName: ".google.protobuf.FileOptions" }, { name: "source_code_info", number: 9, type: 11, label: 1, typeName: ".google.protobuf.SourceCodeInfo" }, { name: "syntax", number: 12, type: 9, label: 1 }, { name: "edition", number: 14, type: 14, label: 1, typeName: ".google.protobuf.Edition" }] }, { name: "DescriptorProto", field: [{ name: "name", number: 1, type: 9, label: 1 }, { name: "field", number: 2, type: 11, label: 3, typeName: ".google.protobuf.FieldDescriptorProto" }, { name: "extension", number: 6, type: 11, label: 3, typeName: ".google.protobuf.FieldDescriptorProto" }, { name: "nested_type", number: 3, type: 11, label: 3, typeName: ".google.protobuf.DescriptorProto" }, { name: "enum_type", number: 4, type: 11, label: 3, typeName: ".google.protobuf.EnumDescriptorProto" }, { name: "extension_range", number: 5, type: 11, label: 3, typeName: ".google.protobuf.DescriptorProto.ExtensionRange" }, { name: "oneof_decl", number: 8, type: 11, label: 3, typeName: ".google.protobuf.OneofDescriptorProto" }, { name: "options", number: 7, type: 11, label: 1, typeName: ".google.protobuf.MessageOptions" }, { name: "reserved_range", number: 9, type: 11, label: 3, typeName: ".google.protobuf.DescriptorProto.ReservedRange" }, { name: "reserved_name", number: 10, type: 9, label: 3 }, { name: "visibility", number: 11, type: 14, label: 1, typeName: ".google.protobuf.SymbolVisibility" }], nestedType: [{ name: "ExtensionRange", field: [{ name: "start", number: 1, type: 5, label: 1 }, { name: "end", number: 2, type: 5, label: 1 }, { name: "options", number: 3, type: 11, label: 1, typeName: ".google.protobuf.ExtensionRangeOptions" }] }, { name: "ReservedRange", field: [{ name: "start", number: 1, type: 5, label: 1 }, { name: "end", number: 2, type: 5, label: 1 }] }] }, { name: "ExtensionRangeOptions", field: [{ name: "uninterpreted_option", number: 999, type: 11, label: 3, typeName: ".google.protobuf.UninterpretedOption" }, { name: "declaration", number: 2, type: 11, label: 3, typeName: ".google.protobuf.ExtensionRangeOptions.Declaration", options: { retention: 2 } }, { name: "features", number: 50, type: 11, label: 1, typeName: ".google.protobuf.FeatureSet" }, { name: "verification", number: 3, type: 14, label: 1, typeName: ".google.protobuf.ExtensionRangeOptions.VerificationState", defaultValue: "UNVERIFIED", options: { retention: 2 } }], nestedType: [{ name: "Declaration", field: [{ name: "number", number: 1, type: 5, label: 1 }, { name: "full_name", number: 2, type: 9, label: 1 }, { name: "type", number: 3, type: 9, label: 1 }, { name: "reserved", number: 5, type: 8, label: 1 }, { name: "repeated", number: 6, type: 8, label: 1 }] }], enumType: [{ name: "VerificationState", value: [{ name: "DECLARATION", number: 0 }, { name: "UNVERIFIED", number: 1 }] }], extensionRange: [{ start: 1e3, end: 536870912 }] }, { name: "FieldDescriptorProto", field: [{ name: "name", number: 1, type: 9, label: 1 }, { name: "number", number: 3, type: 5, label: 1 }, { name: "label", number: 4, type: 14, label: 1, typeName: ".google.protobuf.FieldDescriptorProto.Label" }, { name: "type", number: 5, type: 14, label: 1, typeName: ".google.protobuf.FieldDescriptorProto.Type" }, { name: "type_name", number: 6, type: 9, label: 1 }, { name: "extendee", number: 2, type: 9, label: 1 }, { name: "default_value", number: 7, type: 9, label: 1 }, { name: "oneof_index", number: 9, type: 5, label: 1 }, { name: "json_name", number: 10, type: 9, label: 1 }, { name: "options", number: 8, type: 11, label: 1, typeName: ".google.protobuf.FieldOptions" }, { name: "proto3_optional", number: 17, type: 8, label: 1 }], enumType: [{ name: "Type", value: [{ name: "TYPE_DOUBLE", number: 1 }, { name: "TYPE_FLOAT", number: 2 }, { name: "TYPE_INT64", number: 3 }, { name: "TYPE_UINT64", number: 4 }, { name: "TYPE_INT32", number: 5 }, { name: "TYPE_FIXED64", number: 6 }, { name: "TYPE_FIXED32", number: 7 }, { name: "TYPE_BOOL", number: 8 }, { name: "TYPE_STRING", number: 9 }, { name: "TYPE_GROUP", number: 10 }, { name: "TYPE_MESSAGE", number: 11 }, { name: "TYPE_BYTES", number: 12 }, { name: "TYPE_UINT32", number: 13 }, { name: "TYPE_ENUM", number: 14 }, { name: "TYPE_SFIXED32", number: 15 }, { name: "TYPE_SFIXED64", number: 16 }, { name: "TYPE_SINT32", number: 17 }, { name: "TYPE_SINT64", number: 18 }] }, { name: "Label", value: [{ name: "LABEL_OPTIONAL", number: 1 }, { name: "LABEL_REPEATED", number: 3 }, { name: "LABEL_REQUIRED", number: 2 }] }] }, { name: "OneofDescriptorProto", field: [{ name: "name", number: 1, type: 9, label: 1 }, { name: "options", number: 2, type: 11, label: 1, typeName: ".google.protobuf.OneofOptions" }] }, { name: "EnumDescriptorProto", field: [{ name: "name", number: 1, type: 9, label: 1 }, { name: "value", number: 2, type: 11, label: 3, typeName: ".google.protobuf.EnumValueDescriptorProto" }, { name: "options", number: 3, type: 11, label: 1, typeName: ".google.protobuf.EnumOptions" }, { name: "reserved_range", number: 4, type: 11, label: 3, typeName: ".google.protobuf.EnumDescriptorProto.EnumReservedRange" }, { name: "reserved_name", number: 5, type: 9, label: 3 }, { name: "visibility", number: 6, type: 14, label: 1, typeName: ".google.protobuf.SymbolVisibility" }], nestedType: [{ name: "EnumReservedRange", field: [{ name: "start", number: 1, type: 5, label: 1 }, { name: "end", number: 2, type: 5, label: 1 }] }] }, { name: "EnumValueDescriptorProto", field: [{ name: "name", number: 1, type: 9, label: 1 }, { name: "number", number: 2, type: 5, label: 1 }, { name: "options", number: 3, type: 11, label: 1, typeName: ".google.protobuf.EnumValueOptions" }] }, { name: "ServiceDescriptorProto", field: [{ name: "name", number: 1, type: 9, label: 1 }, { name: "method", number: 2, type: 11, label: 3, typeName: ".google.protobuf.MethodDescriptorProto" }, { name: "options", number: 3, type: 11, label: 1, typeName: ".google.protobuf.ServiceOptions" }] }, { name: "MethodDescriptorProto", field: [{ name: "name", number: 1, type: 9, label: 1 }, { name: "input_type", number: 2, type: 9, label: 1 }, { name: "output_type", number: 3, type: 9, label: 1 }, { name: "options", number: 4, type: 11, label: 1, typeName: ".google.protobuf.MethodOptions" }, { name: "client_streaming", number: 5, type: 8, label: 1, defaultValue: "false" }, { name: "server_streaming", number: 6, type: 8, label: 1, defaultValue: "false" }] }, { name: "FileOptions", field: [{ name: "java_package", number: 1, type: 9, label: 1 }, { name: "java_outer_classname", number: 8, type: 9, label: 1 }, { name: "java_multiple_files", number: 10, type: 8, label: 1, defaultValue: "false" }, { name: "java_generate_equals_and_hash", number: 20, type: 8, label: 1, options: { deprecated: !0 } }, { name: "java_string_check_utf8", number: 27, type: 8, label: 1, defaultValue: "false" }, { name: "optimize_for", number: 9, type: 14, label: 1, typeName: ".google.protobuf.FileOptions.OptimizeMode", defaultValue: "SPEED" }, { name: "go_package", number: 11, type: 9, label: 1 }, { name: "cc_generic_services", number: 16, type: 8, label: 1, defaultValue: "false" }, { name: "java_generic_services", number: 17, type: 8, label: 1, defaultValue: "false" }, { name: "py_generic_services", number: 18, type: 8, label: 1, defaultValue: "false" }, { name: "deprecated", number: 23, type: 8, label: 1, defaultValue: "false" }, { name: "cc_enable_arenas", number: 31, type: 8, label: 1, defaultValue: "true" }, { name: "objc_class_prefix", number: 36, type: 9, label: 1 }, { name: "csharp_namespace", number: 37, type: 9, label: 1 }, { name: "swift_prefix", number: 39, type: 9, label: 1 }, { name: "php_class_prefix", number: 40, type: 9, label: 1 }, { name: "php_namespace", number: 41, type: 9, label: 1 }, { name: "php_metadata_namespace", number: 44, type: 9, label: 1 }, { name: "ruby_package", number: 45, type: 9, label: 1 }, { name: "features", number: 50, type: 11, label: 1, typeName: ".google.protobuf.FeatureSet" }, { name: "uninterpreted_option", number: 999, type: 11, label: 3, typeName: ".google.protobuf.UninterpretedOption" }], enumType: [{ name: "OptimizeMode", value: [{ name: "SPEED", number: 1 }, { name: "CODE_SIZE", number: 2 }, { name: "LITE_RUNTIME", number: 3 }] }], extensionRange: [{ start: 1e3, end: 536870912 }] }, { name: "MessageOptions", field: [{ name: "message_set_wire_format", number: 1, type: 8, label: 1, defaultValue: "false" }, { name: "no_standard_descriptor_accessor", number: 2, type: 8, label: 1, defaultValue: "false" }, { name: "deprecated", number: 3, type: 8, label: 1, defaultValue: "false" }, { name: "map_entry", number: 7, type: 8, label: 1 }, { name: "deprecated_legacy_json_field_conflicts", number: 11, type: 8, label: 1, options: { deprecated: !0 } }, { name: "features", number: 12, type: 11, label: 1, typeName: ".google.protobuf.FeatureSet" }, { name: "uninterpreted_option", number: 999, type: 11, label: 3, typeName: ".google.protobuf.UninterpretedOption" }], extensionRange: [{ start: 1e3, end: 536870912 }] }, { name: "FieldOptions", field: [{ name: "ctype", number: 1, type: 14, label: 1, typeName: ".google.protobuf.FieldOptions.CType", defaultValue: "STRING" }, { name: "packed", number: 2, type: 8, label: 1 }, { name: "jstype", number: 6, type: 14, label: 1, typeName: ".google.protobuf.FieldOptions.JSType", defaultValue: "JS_NORMAL" }, { name: "lazy", number: 5, type: 8, label: 1, defaultValue: "false" }, { name: "unverified_lazy", number: 15, type: 8, label: 1, defaultValue: "false" }, { name: "deprecated", number: 3, type: 8, label: 1, defaultValue: "false" }, { name: "weak", number: 10, type: 8, label: 1, defaultValue: "false", options: { deprecated: !0 } }, { name: "debug_redact", number: 16, type: 8, label: 1, defaultValue: "false" }, { name: "retention", number: 17, type: 14, label: 1, typeName: ".google.protobuf.FieldOptions.OptionRetention" }, { name: "targets", number: 19, type: 14, label: 3, typeName: ".google.protobuf.FieldOptions.OptionTargetType" }, { name: "edition_defaults", number: 20, type: 11, label: 3, typeName: ".google.protobuf.FieldOptions.EditionDefault" }, { name: "features", number: 21, type: 11, label: 1, typeName: ".google.protobuf.FeatureSet" }, { name: "feature_support", number: 22, type: 11, label: 1, typeName: ".google.protobuf.FieldOptions.FeatureSupport" }, { name: "uninterpreted_option", number: 999, type: 11, label: 3, typeName: ".google.protobuf.UninterpretedOption" }], nestedType: [{ name: "EditionDefault", field: [{ name: "edition", number: 3, type: 14, label: 1, typeName: ".google.protobuf.Edition" }, { name: "value", number: 2, type: 9, label: 1 }] }, { name: "FeatureSupport", field: [{ name: "edition_introduced", number: 1, type: 14, label: 1, typeName: ".google.protobuf.Edition" }, { name: "edition_deprecated", number: 2, type: 14, label: 1, typeName: ".google.protobuf.Edition" }, { name: "deprecation_warning", number: 3, type: 9, label: 1 }, { name: "edition_removed", number: 4, type: 14, label: 1, typeName: ".google.protobuf.Edition" }] }], enumType: [{ name: "CType", value: [{ name: "STRING", number: 0 }, { name: "CORD", number: 1 }, { name: "STRING_PIECE", number: 2 }] }, { name: "JSType", value: [{ name: "JS_NORMAL", number: 0 }, { name: "JS_STRING", number: 1 }, { name: "JS_NUMBER", number: 2 }] }, { name: "OptionRetention", value: [{ name: "RETENTION_UNKNOWN", number: 0 }, { name: "RETENTION_RUNTIME", number: 1 }, { name: "RETENTION_SOURCE", number: 2 }] }, { name: "OptionTargetType", value: [{ name: "TARGET_TYPE_UNKNOWN", number: 0 }, { name: "TARGET_TYPE_FILE", number: 1 }, { name: "TARGET_TYPE_EXTENSION_RANGE", number: 2 }, { name: "TARGET_TYPE_MESSAGE", number: 3 }, { name: "TARGET_TYPE_FIELD", number: 4 }, { name: "TARGET_TYPE_ONEOF", number: 5 }, { name: "TARGET_TYPE_ENUM", number: 6 }, { name: "TARGET_TYPE_ENUM_ENTRY", number: 7 }, { name: "TARGET_TYPE_SERVICE", number: 8 }, { name: "TARGET_TYPE_METHOD", number: 9 }] }], extensionRange: [{ start: 1e3, end: 536870912 }] }, { name: "OneofOptions", field: [{ name: "features", number: 1, type: 11, label: 1, typeName: ".google.protobuf.FeatureSet" }, { name: "uninterpreted_option", number: 999, type: 11, label: 3, typeName: ".google.protobuf.UninterpretedOption" }], extensionRange: [{ start: 1e3, end: 536870912 }] }, { name: "EnumOptions", field: [{ name: "allow_alias", number: 2, type: 8, label: 1 }, { name: "deprecated", number: 3, type: 8, label: 1, defaultValue: "false" }, { name: "deprecated_legacy_json_field_conflicts", number: 6, type: 8, label: 1, options: { deprecated: !0 } }, { name: "features", number: 7, type: 11, label: 1, typeName: ".google.protobuf.FeatureSet" }, { name: "uninterpreted_option", number: 999, type: 11, label: 3, typeName: ".google.protobuf.UninterpretedOption" }], extensionRange: [{ start: 1e3, end: 536870912 }] }, { name: "EnumValueOptions", field: [{ name: "deprecated", number: 1, type: 8, label: 1, defaultValue: "false" }, { name: "features", number: 2, type: 11, label: 1, typeName: ".google.protobuf.FeatureSet" }, { name: "debug_redact", number: 3, type: 8, label: 1, defaultValue: "false" }, { name: "feature_support", number: 4, type: 11, label: 1, typeName: ".google.protobuf.FieldOptions.FeatureSupport" }, { name: "uninterpreted_option", number: 999, type: 11, label: 3, typeName: ".google.protobuf.UninterpretedOption" }], extensionRange: [{ start: 1e3, end: 536870912 }] }, { name: "ServiceOptions", field: [{ name: "features", number: 34, type: 11, label: 1, typeName: ".google.protobuf.FeatureSet" }, { name: "deprecated", number: 33, type: 8, label: 1, defaultValue: "false" }, { name: "uninterpreted_option", number: 999, type: 11, label: 3, typeName: ".google.protobuf.UninterpretedOption" }], extensionRange: [{ start: 1e3, end: 536870912 }] }, { name: "MethodOptions", field: [{ name: "deprecated", number: 33, type: 8, label: 1, defaultValue: "false" }, { name: "idempotency_level", number: 34, type: 14, label: 1, typeName: ".google.protobuf.MethodOptions.IdempotencyLevel", defaultValue: "IDEMPOTENCY_UNKNOWN" }, { name: "features", number: 35, type: 11, label: 1, typeName: ".google.protobuf.FeatureSet" }, { name: "uninterpreted_option", number: 999, type: 11, label: 3, typeName: ".google.protobuf.UninterpretedOption" }], enumType: [{ name: "IdempotencyLevel", value: [{ name: "IDEMPOTENCY_UNKNOWN", number: 0 }, { name: "NO_SIDE_EFFECTS", number: 1 }, { name: "IDEMPOTENT", number: 2 }] }], extensionRange: [{ start: 1e3, end: 536870912 }] }, { name: "UninterpretedOption", field: [{ name: "name", number: 2, type: 11, label: 3, typeName: ".google.protobuf.UninterpretedOption.NamePart" }, { name: "identifier_value", number: 3, type: 9, label: 1 }, { name: "positive_int_value", number: 4, type: 4, label: 1 }, { name: "negative_int_value", number: 5, type: 3, label: 1 }, { name: "double_value", number: 6, type: 1, label: 1 }, { name: "string_value", number: 7, type: 12, label: 1 }, { name: "aggregate_value", number: 8, type: 9, label: 1 }], nestedType: [{ name: "NamePart", field: [{ name: "name_part", number: 1, type: 9, label: 2 }, { name: "is_extension", number: 2, type: 8, label: 2 }] }] }, { name: "FeatureSet", field: [{ name: "field_presence", number: 1, type: 14, label: 1, typeName: ".google.protobuf.FeatureSet.FieldPresence", options: { retention: 1, targets: [4, 1], editionDefaults: [{ value: "EXPLICIT", edition: 900 }, { value: "IMPLICIT", edition: 999 }, { value: "EXPLICIT", edition: 1e3 }] } }, { name: "enum_type", number: 2, type: 14, label: 1, typeName: ".google.protobuf.FeatureSet.EnumType", options: { retention: 1, targets: [6, 1], editionDefaults: [{ value: "CLOSED", edition: 900 }, { value: "OPEN", edition: 999 }] } }, { name: "repeated_field_encoding", number: 3, type: 14, label: 1, typeName: ".google.protobuf.FeatureSet.RepeatedFieldEncoding", options: { retention: 1, targets: [4, 1], editionDefaults: [{ value: "EXPANDED", edition: 900 }, { value: "PACKED", edition: 999 }] } }, { name: "utf8_validation", number: 4, type: 14, label: 1, typeName: ".google.protobuf.FeatureSet.Utf8Validation", options: { retention: 1, targets: [4, 1], editionDefaults: [{ value: "NONE", edition: 900 }, { value: "VERIFY", edition: 999 }] } }, { name: "message_encoding", number: 5, type: 14, label: 1, typeName: ".google.protobuf.FeatureSet.MessageEncoding", options: { retention: 1, targets: [4, 1], editionDefaults: [{ value: "LENGTH_PREFIXED", edition: 900 }] } }, { name: "json_format", number: 6, type: 14, label: 1, typeName: ".google.protobuf.FeatureSet.JsonFormat", options: { retention: 1, targets: [3, 6, 1], editionDefaults: [{ value: "LEGACY_BEST_EFFORT", edition: 900 }, { value: "ALLOW", edition: 999 }] } }, { name: "enforce_naming_style", number: 7, type: 14, label: 1, typeName: ".google.protobuf.FeatureSet.EnforceNamingStyle", options: { retention: 2, targets: [1, 2, 3, 4, 5, 6, 7, 8, 9], editionDefaults: [{ value: "STYLE_LEGACY", edition: 900 }, { value: "STYLE2024", edition: 1001 }] } }, { name: "default_symbol_visibility", number: 8, type: 14, label: 1, typeName: ".google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility", options: { retention: 2, targets: [1], editionDefaults: [{ value: "EXPORT_ALL", edition: 900 }, { value: "EXPORT_TOP_LEVEL", edition: 1001 }] } }], nestedType: [{ name: "VisibilityFeature", enumType: [{ name: "DefaultSymbolVisibility", value: [{ name: "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN", number: 0 }, { name: "EXPORT_ALL", number: 1 }, { name: "EXPORT_TOP_LEVEL", number: 2 }, { name: "LOCAL_ALL", number: 3 }, { name: "STRICT", number: 4 }] }] }], enumType: [{ name: "FieldPresence", value: [{ name: "FIELD_PRESENCE_UNKNOWN", number: 0 }, { name: "EXPLICIT", number: 1 }, { name: "IMPLICIT", number: 2 }, { name: "LEGACY_REQUIRED", number: 3 }] }, { name: "EnumType", value: [{ name: "ENUM_TYPE_UNKNOWN", number: 0 }, { name: "OPEN", number: 1 }, { name: "CLOSED", number: 2 }] }, { name: "RepeatedFieldEncoding", value: [{ name: "REPEATED_FIELD_ENCODING_UNKNOWN", number: 0 }, { name: "PACKED", number: 1 }, { name: "EXPANDED", number: 2 }] }, { name: "Utf8Validation", value: [{ name: "UTF8_VALIDATION_UNKNOWN", number: 0 }, { name: "VERIFY", number: 2 }, { name: "NONE", number: 3 }] }, { name: "MessageEncoding", value: [{ name: "MESSAGE_ENCODING_UNKNOWN", number: 0 }, { name: "LENGTH_PREFIXED", number: 1 }, { name: "DELIMITED", number: 2 }] }, { name: "JsonFormat", value: [{ name: "JSON_FORMAT_UNKNOWN", number: 0 }, { name: "ALLOW", number: 1 }, { name: "LEGACY_BEST_EFFORT", number: 2 }] }, { name: "EnforceNamingStyle", value: [{ name: "ENFORCE_NAMING_STYLE_UNKNOWN", number: 0 }, { name: "STYLE2024", number: 1 }, { name: "STYLE_LEGACY", number: 2 }] }], extensionRange: [{ start: 1e3, end: 9995 }, { start: 9995, end: 1e4 }, { start: 1e4, end: 10001 }] }, { name: "FeatureSetDefaults", field: [{ name: "defaults", number: 1, type: 11, label: 3, typeName: ".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault" }, { name: "minimum_edition", number: 4, type: 14, label: 1, typeName: ".google.protobuf.Edition" }, { name: "maximum_edition", number: 5, type: 14, label: 1, typeName: ".google.protobuf.Edition" }], nestedType: [{ name: "FeatureSetEditionDefault", field: [{ name: "edition", number: 3, type: 14, label: 1, typeName: ".google.protobuf.Edition" }, { name: "overridable_features", number: 4, type: 11, label: 1, typeName: ".google.protobuf.FeatureSet" }, { name: "fixed_features", number: 5, type: 11, label: 1, typeName: ".google.protobuf.FeatureSet" }] }] }, { name: "SourceCodeInfo", field: [{ name: "location", number: 1, type: 11, label: 3, typeName: ".google.protobuf.SourceCodeInfo.Location" }], nestedType: [{ name: "Location", field: [{ name: "path", number: 1, type: 5, label: 3, options: { packed: !0 } }, { name: "span", number: 2, type: 5, label: 3, options: { packed: !0 } }, { name: "leading_comments", number: 3, type: 9, label: 1 }, { name: "trailing_comments", number: 4, type: 9, label: 1 }, { name: "leading_detached_comments", number: 6, type: 9, label: 3 }] }], extensionRange: [{ start: 536e6, end: 536000001 }] }, { name: "GeneratedCodeInfo", field: [{ name: "annotation", number: 1, type: 11, label: 3, typeName: ".google.protobuf.GeneratedCodeInfo.Annotation" }], nestedType: [{ name: "Annotation", field: [{ name: "path", number: 1, type: 5, label: 3, options: { packed: !0 } }, { name: "source_file", number: 2, type: 9, label: 1 }, { name: "begin", number: 3, type: 5, label: 1 }, { name: "end", number: 4, type: 5, label: 1 }, { name: "semantic", number: 5, type: 14, label: 1, typeName: ".google.protobuf.GeneratedCodeInfo.Annotation.Semantic" }], enumType: [{ name: "Semantic", value: [{ name: "NONE", number: 0 }, { name: "SET", number: 1 }, { name: "ALIAS", number: 2 }] }] }] }], enumType: [{ name: "Edition", value: [{ name: "EDITION_UNKNOWN", number: 0 }, { name: "EDITION_LEGACY", number: 900 }, { name: "EDITION_PROTO2", number: 998 }, { name: "EDITION_PROTO3", number: 999 }, { name: "EDITION_2023", number: 1e3 }, { name: "EDITION_2024", number: 1001 }, { name: "EDITION_1_TEST_ONLY", number: 1 }, { name: "EDITION_2_TEST_ONLY", number: 2 }, { name: "EDITION_99997_TEST_ONLY", number: 99997 }, { name: "EDITION_99998_TEST_ONLY", number: 99998 }, { name: "EDITION_99999_TEST_ONLY", number: 99999 }, { name: "EDITION_MAX", number: 2147483647 }] }, { name: "SymbolVisibility", value: [{ name: "VISIBILITY_UNSET", number: 0 }, { name: "VISIBILITY_LOCAL", number: 1 }, { name: "VISIBILITY_EXPORT", number: 2 }] }] }), Bu = /* @__PURE__ */ He(ku, 1);
|
|
13992
13993
|
var no;
|
|
13993
13994
|
(function(e) {
|
|
13994
13995
|
e[e.DECLARATION = 0] = "DECLARATION", e[e.UNVERIFIED = 1] = "UNVERIFIED";
|
|
@@ -14156,10 +14157,10 @@ function Au(e, t, r) {
|
|
|
14156
14157
|
break;
|
|
14157
14158
|
}
|
|
14158
14159
|
}
|
|
14159
|
-
if (l === void 0 && (l =
|
|
14160
|
+
if (l === void 0 && (l = ft(s.mapKey, !1)), _ === void 0)
|
|
14160
14161
|
switch (s.mapKind) {
|
|
14161
14162
|
case "scalar":
|
|
14162
|
-
_ =
|
|
14163
|
+
_ = ft(s.scalar, !1);
|
|
14163
14164
|
break;
|
|
14164
14165
|
case "enum":
|
|
14165
14166
|
_ = s.enum.values[0].number;
|
|
@@ -14224,12 +14225,12 @@ function kt(e, t) {
|
|
|
14224
14225
|
return e.sint32();
|
|
14225
14226
|
}
|
|
14226
14227
|
}
|
|
14227
|
-
function
|
|
14228
|
+
function pt(e, t) {
|
|
14228
14229
|
var r;
|
|
14229
14230
|
const s = ba(Bu, Jn(e));
|
|
14230
14231
|
return s.messageType.forEach(Vi), s.dependency = (r = t == null ? void 0 : t.map((l) => l.proto.name)) !== null && r !== void 0 ? r : [], jn(s, (l) => t == null ? void 0 : t.find((_) => _.proto.name === l)).getFile(s.name);
|
|
14231
14232
|
}
|
|
14232
|
-
const rs = /* @__PURE__ */
|
|
14233
|
+
const rs = /* @__PURE__ */ pt("ChxydW5tZS9ydW5uZXIvdjIvY29uZmlnLnByb3RvEg9ydW5tZS5ydW5uZXIudjIiigMKDVByb2dyYW1Db25maWcSFAoMcHJvZ3JhbV9uYW1lGAEgASgJEhEKCWFyZ3VtZW50cxgCIAMoCRIRCglkaXJlY3RvcnkYAyABKAkSEwoLbGFuZ3VhZ2VfaWQYBCABKAkSEgoKYmFja2dyb3VuZBgFIAEoCBIWCg5maWxlX2V4dGVuc2lvbhgGIAEoCRILCgNlbnYYByADKAkSPgoIY29tbWFuZHMYCCABKAsyKi5ydW5tZS5ydW5uZXIudjIuUHJvZ3JhbUNvbmZpZy5Db21tYW5kTGlzdEgAEhAKBnNjcmlwdBgJIAEoCUgAEhMKC2ludGVyYWN0aXZlGAogASgIEioKBG1vZGUYCyABKA4yHC5ydW5tZS5ydW5uZXIudjIuQ29tbWFuZE1vZGUSEAoIa25vd25faWQYDCABKAkSEgoKa25vd25fbmFtZRgNIAEoCRIOCgZydW5faWQYDiABKAkaHAoLQ29tbWFuZExpc3QSDQoFaXRlbXMYASADKAlCCAoGc291cmNlKowBCgtDb21tYW5kTW9kZRIcChhDT01NQU5EX01PREVfVU5TUEVDSUZJRUQQABIXChNDT01NQU5EX01PREVfSU5MSU5FEAESFQoRQ09NTUFORF9NT0RFX0ZJTEUQAhIZChVDT01NQU5EX01PREVfVEVSTUlOQUwQAxIUChBDT01NQU5EX01PREVfQ0xJEARCSFpGZ2l0aHViLmNvbS9ydW5tZWRldi9ydW5tZS92My9hcGkvZ2VuL3Byb3RvL2dvL3J1bm1lL3J1bm5lci92MjtydW5uZXJ2MmIGcHJvdG8z"), Io = /* @__PURE__ */ He(rs, 0, 0), Tu = /* @__PURE__ */ Nr(rs, 0), ii = /* @__PURE__ */ Fr(Tu), Lu = /* @__PURE__ */ pt("Chlnb29nbGUvcHJvdG9idWYvYW55LnByb3RvEg9nb29nbGUucHJvdG9idWYiJgoDQW55EhAKCHR5cGVfdXJsGAEgASgJEg0KBXZhbHVlGAIgASgMQnYKE2NvbS5nb29nbGUucHJvdG9idWZCCEFueVByb3RvUAFaLGdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2FueXBiogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"), Du = /* @__PURE__ */ He(Lu, 0);
|
|
14233
14234
|
function Ou(e, t, r) {
|
|
14234
14235
|
let s = !1;
|
|
14235
14236
|
return r || (r = _e(Du), s = !0), r.value = yu(e, t), r.typeUrl = Mu(t.$typeName), s ? r : void 0;
|
|
@@ -14256,12 +14257,12 @@ function Ca(e) {
|
|
|
14256
14257
|
throw new Error(`invalid type url: ${e}`);
|
|
14257
14258
|
return r;
|
|
14258
14259
|
}
|
|
14259
|
-
const is = /* @__PURE__ */
|
|
14260
|
+
const is = /* @__PURE__ */ pt("Chxnb29nbGUvcHJvdG9idWYvc3RydWN0LnByb3RvEg9nb29nbGUucHJvdG9idWYihAEKBlN0cnVjdBIzCgZmaWVsZHMYASADKAsyIy5nb29nbGUucHJvdG9idWYuU3RydWN0LkZpZWxkc0VudHJ5GkUKC0ZpZWxkc0VudHJ5EgsKA2tleRgBIAEoCRIlCgV2YWx1ZRgCIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZToCOAEi6gEKBVZhbHVlEjAKCm51bGxfdmFsdWUYASABKA4yGi5nb29nbGUucHJvdG9idWYuTnVsbFZhbHVlSAASFgoMbnVtYmVyX3ZhbHVlGAIgASgBSAASFgoMc3RyaW5nX3ZhbHVlGAMgASgJSAASFAoKYm9vbF92YWx1ZRgEIAEoCEgAEi8KDHN0cnVjdF92YWx1ZRgFIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RIABIwCgpsaXN0X3ZhbHVlGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLkxpc3RWYWx1ZUgAQgYKBGtpbmQiMwoJTGlzdFZhbHVlEiYKBnZhbHVlcxgBIAMoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZSobCglOdWxsVmFsdWUSDgoKTlVMTF9WQUxVRRAAQn8KE2NvbS5nb29nbGUucHJvdG9idWZCC1N0cnVjdFByb3RvUAFaL2dvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3N0cnVjdHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"), Pu = /* @__PURE__ */ He(is, 0), wa = /* @__PURE__ */ He(is, 1), Uu = /* @__PURE__ */ He(is, 2);
|
|
14260
14261
|
var Si;
|
|
14261
14262
|
(function(e) {
|
|
14262
14263
|
e[e.NULL_VALUE = 0] = "NULL_VALUE";
|
|
14263
14264
|
})(Si || (Si = {}));
|
|
14264
|
-
const Vu = /* @__PURE__ */
|
|
14265
|
+
const Vu = /* @__PURE__ */ pt("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"), or = /* @__PURE__ */ pt("ChxydW5tZS9ydW5uZXIvdjIvcnVubmVyLnByb3RvEg9ydW5tZS5ydW5uZXIudjIiLwoHUHJvamVjdBIMCgRyb290GAEgASgJEhYKDmVudl9sb2FkX29yZGVyGAIgAygJIo0BCgdTZXNzaW9uEgoKAmlkGAEgASgJEgsKA2VudhgCIAMoCRI4CghtZXRhZGF0YRgDIAMoCzImLnJ1bm1lLnJ1bm5lci52Mi5TZXNzaW9uLk1ldGFkYXRhRW50cnkaLwoNTWV0YWRhdGFFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIrIFChRDcmVhdGVTZXNzaW9uUmVxdWVzdBJFCghtZXRhZGF0YRgBIAMoCzIzLnJ1bm1lLnJ1bm5lci52Mi5DcmVhdGVTZXNzaW9uUmVxdWVzdC5NZXRhZGF0YUVudHJ5EgsKA2VudhgCIAMoCRIuCgdwcm9qZWN0GAMgASgLMhgucnVubWUucnVubmVyLnYyLlByb2plY3RIAIgBARJBCg5lbnZfc3RvcmVfdHlwZRgEIAEoDjIkLnJ1bm1lLnJ1bm5lci52Mi5TZXNzaW9uRW52U3RvcmVUeXBlSAGIAQESPAoGY29uZmlnGAUgASgLMiwucnVubWUucnVubmVyLnYyLkNyZWF0ZVNlc3Npb25SZXF1ZXN0LkNvbmZpZxovCg1NZXRhZGF0YUVudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEaxAIKBkNvbmZpZxJBCg5lbnZfc3RvcmVfdHlwZRgBIAEoDjIkLnJ1bm1lLnJ1bm5lci52Mi5TZXNzaW9uRW52U3RvcmVUeXBlSACIAQESYwoRZW52X3N0b3JlX3NlZWRpbmcYAiABKA4yQy5ydW5tZS5ydW5uZXIudjIuQ3JlYXRlU2Vzc2lvblJlcXVlc3QuQ29uZmlnLlNlc3Npb25FbnZTdG9yZVNlZWRpbmdIAYgBASJpChZTZXNzaW9uRW52U3RvcmVTZWVkaW5nEikKJVNFU1NJT05fRU5WX1NUT1JFX1NFRURJTkdfVU5TUEVDSUZJRUQQABIkCiBTRVNTSU9OX0VOVl9TVE9SRV9TRUVESU5HX1NZU1RFTRABQhEKD19lbnZfc3RvcmVfdHlwZUIUChJfZW52X3N0b3JlX3NlZWRpbmdCCgoIX3Byb2plY3RCEQoPX2Vudl9zdG9yZV90eXBlIkIKFUNyZWF0ZVNlc3Npb25SZXNwb25zZRIpCgdzZXNzaW9uGAEgASgLMhgucnVubWUucnVubmVyLnYyLlNlc3Npb24iHwoRR2V0U2Vzc2lvblJlcXVlc3QSCgoCaWQYASABKAkiPwoSR2V0U2Vzc2lvblJlc3BvbnNlEikKB3Nlc3Npb24YASABKAsyGC5ydW5tZS5ydW5uZXIudjIuU2Vzc2lvbiIVChNMaXN0U2Vzc2lvbnNSZXF1ZXN0IkIKFExpc3RTZXNzaW9uc1Jlc3BvbnNlEioKCHNlc3Npb25zGAEgAygLMhgucnVubWUucnVubmVyLnYyLlNlc3Npb24i4wEKFFVwZGF0ZVNlc3Npb25SZXF1ZXN0EgoKAmlkGAEgASgJEkUKCG1ldGFkYXRhGAIgAygLMjMucnVubWUucnVubmVyLnYyLlVwZGF0ZVNlc3Npb25SZXF1ZXN0Lk1ldGFkYXRhRW50cnkSCwoDZW52GAMgAygJEi4KB3Byb2plY3QYBCABKAsyGC5ydW5tZS5ydW5uZXIudjIuUHJvamVjdEgAiAEBGi8KDU1ldGFkYXRhRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AUIKCghfcHJvamVjdCJCChVVcGRhdGVTZXNzaW9uUmVzcG9uc2USKQoHc2Vzc2lvbhgBIAEoCzIYLnJ1bm1lLnJ1bm5lci52Mi5TZXNzaW9uIiIKFERlbGV0ZVNlc3Npb25SZXF1ZXN0EgoKAmlkGAEgASgJIhcKFURlbGV0ZVNlc3Npb25SZXNwb25zZSI7CgdXaW5zaXplEgwKBHJvd3MYASABKA0SDAoEY29scxgCIAEoDRIJCgF4GAMgASgNEgkKAXkYBCABKA0i5QIKDkV4ZWN1dGVSZXF1ZXN0Ei4KBmNvbmZpZxgBIAEoCzIeLnJ1bm1lLnJ1bm5lci52Mi5Qcm9ncmFtQ29uZmlnEhIKCmlucHV0X2RhdGEYCCABKAwSKgoEc3RvcBgJIAEoDjIcLnJ1bm1lLnJ1bm5lci52Mi5FeGVjdXRlU3RvcBIuCgd3aW5zaXplGAogASgLMhgucnVubWUucnVubmVyLnYyLldpbnNpemVIAIgBARISCgpzZXNzaW9uX2lkGBQgASgJEjoKEHNlc3Npb25fc3RyYXRlZ3kYFSABKA4yIC5ydW5tZS5ydW5uZXIudjIuU2Vzc2lvblN0cmF0ZWd5Ei4KB3Byb2plY3QYFiABKAsyGC5ydW5tZS5ydW5uZXIudjIuUHJvamVjdEgBiAEBEhsKE3N0b3JlX3N0ZG91dF9pbl9lbnYYFyABKAhCCgoIX3dpbnNpemVCCgoIX3Byb2plY3QihwIKD0V4ZWN1dGVSZXNwb25zZRIvCglleGl0X2NvZGUYASABKAsyHC5nb29nbGUucHJvdG9idWYuVUludDMyVmFsdWUSEwoLc3Rkb3V0X2RhdGEYAiABKAwSEwoLc3RkZXJyX2RhdGEYAyABKAwSKQoDcGlkGAQgASgLMhwuZ29vZ2xlLnByb3RvYnVmLlVJbnQzMlZhbHVlEhEKCW1pbWVfdHlwZRgFIAEoCRIxCgNwd2QYByABKAsyJC5ydW5tZS5ydW5uZXIudjIuRXhlY3V0ZVJlc3BvbnNlLlB3ZBooCgNQd2QSDwoHY3VycmVudBgBIAEoCRIQCghwcmV2aW91cxgCIAEoCSIqChlSZXNvbHZlUHJvZ3JhbUNvbW1hbmRMaXN0Eg0KBWxpbmVzGAEgAygJIsAEChVSZXNvbHZlUHJvZ3JhbVJlcXVlc3QSPgoIY29tbWFuZHMYASABKAsyKi5ydW5tZS5ydW5uZXIudjIuUmVzb2x2ZVByb2dyYW1Db21tYW5kTGlzdEgAEhAKBnNjcmlwdBgCIAEoCUgAEjkKBG1vZGUYAyABKA4yKy5ydW5tZS5ydW5uZXIudjIuUmVzb2x2ZVByb2dyYW1SZXF1ZXN0Lk1vZGUSCwoDZW52GAQgAygJEhIKCnNlc3Npb25faWQYBSABKAkSOgoQc2Vzc2lvbl9zdHJhdGVneRgGIAEoDjIgLnJ1bm1lLnJ1bm5lci52Mi5TZXNzaW9uU3RyYXRlZ3kSLgoHcHJvamVjdBgHIAEoCzIYLnJ1bm1lLnJ1bm5lci52Mi5Qcm9qZWN0SAGIAQESEwoLbGFuZ3VhZ2VfaWQYCCABKAkSQwoJcmV0ZW50aW9uGAkgASgOMjAucnVubWUucnVubmVyLnYyLlJlc29sdmVQcm9ncmFtUmVxdWVzdC5SZXRlbnRpb24iRAoETW9kZRIUChBNT0RFX1VOU1BFQ0lGSUVEEAASEwoPTU9ERV9QUk9NUFRfQUxMEAESEQoNTU9ERV9TS0lQX0FMTBACIlcKCVJldGVudGlvbhIZChVSRVRFTlRJT05fVU5TUEVDSUZJRUQQABIXChNSRVRFTlRJT05fRklSU1RfUlVOEAESFgoSUkVURU5USU9OX0xBU1RfUlVOEAJCCAoGc291cmNlQgoKCF9wcm9qZWN0ItoDChZSZXNvbHZlUHJvZ3JhbVJlc3BvbnNlEg4KBnNjcmlwdBgBIAEoCRI8Cghjb21tYW5kcxgCIAEoCzIqLnJ1bm1lLnJ1bm5lci52Mi5SZXNvbHZlUHJvZ3JhbUNvbW1hbmRMaXN0Ej8KBHZhcnMYAyADKAsyMS5ydW5tZS5ydW5uZXIudjIuUmVzb2x2ZVByb2dyYW1SZXNwb25zZS5WYXJSZXN1bHQaiQEKCVZhclJlc3VsdBI+CgZzdGF0dXMYASABKA4yLi5ydW5tZS5ydW5uZXIudjIuUmVzb2x2ZVByb2dyYW1SZXNwb25zZS5TdGF0dXMSDAoEbmFtZRgCIAEoCRIWCg5vcmlnaW5hbF92YWx1ZRgDIAEoCRIWCg5yZXNvbHZlZF92YWx1ZRgEIAEoCSKkAQoGU3RhdHVzEhYKElNUQVRVU19VTlNQRUNJRklFRBAAEhMKD1NUQVRVU19SRVNPTFZFRBABEiIKHlNUQVRVU19VTlJFU09MVkVEX1dJVEhfTUVTU0FHRRACEiYKIlNUQVRVU19VTlJFU09MVkVEX1dJVEhfUExBQ0VIT0xERVIQAxIhCh1TVEFUVVNfVU5SRVNPTFZFRF9XSVRIX1NFQ1JFVBAEIkMKFk1vbml0b3JFbnZTdG9yZVJlcXVlc3QSKQoHc2Vzc2lvbhgBIAEoCzIYLnJ1bm1lLnJ1bm5lci52Mi5TZXNzaW9uIsIECh9Nb25pdG9yRW52U3RvcmVSZXNwb25zZVNuYXBzaG90EkoKBGVudnMYASADKAsyPC5ydW5tZS5ydW5uZXIudjIuTW9uaXRvckVudlN0b3JlUmVzcG9uc2VTbmFwc2hvdC5TbmFwc2hvdEVudhrOAgoLU25hcHNob3RFbnYSRwoGc3RhdHVzGAEgASgOMjcucnVubWUucnVubmVyLnYyLk1vbml0b3JFbnZTdG9yZVJlc3BvbnNlU25hcHNob3QuU3RhdHVzEgwKBG5hbWUYAiABKAkSEwoLZGVzY3JpcHRpb24YAyABKAkSDAoEc3BlYxgEIAEoCRITCgtpc19yZXF1aXJlZBgFIAEoCBIOCgZvcmlnaW4YBiABKAkSFgoOb3JpZ2luYWxfdmFsdWUYByABKAkSFgoOcmVzb2x2ZWRfdmFsdWUYCCABKAkSEwoLY3JlYXRlX3RpbWUYCSABKAkSEwoLdXBkYXRlX3RpbWUYCiABKAkSRgoGZXJyb3JzGAsgAygLMjYucnVubWUucnVubmVyLnYyLk1vbml0b3JFbnZTdG9yZVJlc3BvbnNlU25hcHNob3QuRXJyb3IaJgoFRXJyb3ISDAoEY29kZRgBIAEoDRIPCgdtZXNzYWdlGAIgASgJIloKBlN0YXR1cxIWChJTVEFUVVNfVU5TUEVDSUZJRUQQABISCg5TVEFUVVNfTElURVJBTBABEhEKDVNUQVRVU19ISURERU4QAhIRCg1TVEFUVVNfTUFTS0VEEAMimwEKF01vbml0b3JFbnZTdG9yZVJlc3BvbnNlEjIKBHR5cGUYASABKA4yJC5ydW5tZS5ydW5uZXIudjIuTW9uaXRvckVudlN0b3JlVHlwZRJECghzbmFwc2hvdBgCIAEoCzIwLnJ1bm1lLnJ1bm5lci52Mi5Nb25pdG9yRW52U3RvcmVSZXNwb25zZVNuYXBzaG90SABCBgoEZGF0YSpdChNTZXNzaW9uRW52U3RvcmVUeXBlEiYKIlNFU1NJT05fRU5WX1NUT1JFX1RZUEVfVU5TUEVDSUZJRUQQABIeChpTRVNTSU9OX0VOVl9TVE9SRV9UWVBFX09XTBABKl4KC0V4ZWN1dGVTdG9wEhwKGEVYRUNVVEVfU1RPUF9VTlNQRUNJRklFRBAAEhoKFkVYRUNVVEVfU1RPUF9JTlRFUlJVUFQQARIVChFFWEVDVVRFX1NUT1BfS0lMTBACKlUKD1Nlc3Npb25TdHJhdGVneRIgChxTRVNTSU9OX1NUUkFURUdZX1VOU1BFQ0lGSUVEEAASIAocU0VTU0lPTl9TVFJBVEVHWV9NT1NUX1JFQ0VOVBABKmIKE01vbml0b3JFbnZTdG9yZVR5cGUSJgoiTU9OSVRPUl9FTlZfU1RPUkVfVFlQRV9VTlNQRUNJRklFRBAAEiMKH01PTklUT1JfRU5WX1NUT1JFX1RZUEVfU05BUFNIT1QQATKQBgoNUnVubmVyU2VydmljZRJgCg1DcmVhdGVTZXNzaW9uEiUucnVubWUucnVubmVyLnYyLkNyZWF0ZVNlc3Npb25SZXF1ZXN0GiYucnVubWUucnVubmVyLnYyLkNyZWF0ZVNlc3Npb25SZXNwb25zZSIAElcKCkdldFNlc3Npb24SIi5ydW5tZS5ydW5uZXIudjIuR2V0U2Vzc2lvblJlcXVlc3QaIy5ydW5tZS5ydW5uZXIudjIuR2V0U2Vzc2lvblJlc3BvbnNlIgASXQoMTGlzdFNlc3Npb25zEiQucnVubWUucnVubmVyLnYyLkxpc3RTZXNzaW9uc1JlcXVlc3QaJS5ydW5tZS5ydW5uZXIudjIuTGlzdFNlc3Npb25zUmVzcG9uc2UiABJgCg1VcGRhdGVTZXNzaW9uEiUucnVubWUucnVubmVyLnYyLlVwZGF0ZVNlc3Npb25SZXF1ZXN0GiYucnVubWUucnVubmVyLnYyLlVwZGF0ZVNlc3Npb25SZXNwb25zZSIAEmAKDURlbGV0ZVNlc3Npb24SJS5ydW5tZS5ydW5uZXIudjIuRGVsZXRlU2Vzc2lvblJlcXVlc3QaJi5ydW5tZS5ydW5uZXIudjIuRGVsZXRlU2Vzc2lvblJlc3BvbnNlIgASaAoPTW9uaXRvckVudlN0b3JlEicucnVubWUucnVubmVyLnYyLk1vbml0b3JFbnZTdG9yZVJlcXVlc3QaKC5ydW5tZS5ydW5uZXIudjIuTW9uaXRvckVudlN0b3JlUmVzcG9uc2UiADABElIKB0V4ZWN1dGUSHy5ydW5tZS5ydW5uZXIudjIuRXhlY3V0ZVJlcXVlc3QaIC5ydW5tZS5ydW5uZXIudjIuRXhlY3V0ZVJlc3BvbnNlIgAoATABEmMKDlJlc29sdmVQcm9ncmFtEiYucnVubWUucnVubmVyLnYyLlJlc29sdmVQcm9ncmFtUmVxdWVzdBonLnJ1bm1lLnJ1bm5lci52Mi5SZXNvbHZlUHJvZ3JhbVJlc3BvbnNlIgBCSFpGZ2l0aHViLmNvbS9ydW5tZWRldi9ydW5tZS92My9hcGkvZ2VuL3Byb3RvL2dvL3J1bm1lL3J1bm5lci92MjtydW5uZXJ2MmIGcHJvdG8z", [Vu, rs]), Ea = /* @__PURE__ */ He(or, 12), yi = /* @__PURE__ */ He(or, 13), Hu = /* @__PURE__ */ Nr(or, 19, 0), $e = /* @__PURE__ */ Fr(Hu), Wu = /* @__PURE__ */ Nr(or, 2), $u = /* @__PURE__ */ Fr(Wu);
|
|
14265
14266
|
function Gu(e, t) {
|
|
14266
14267
|
ka(t, e);
|
|
14267
14268
|
const r = Zu(e.$unknown, t), [s, l, _] = Mr(t);
|
|
@@ -14303,7 +14304,7 @@ function Mr(e, t) {
|
|
|
14303
14304
|
const b = _[r];
|
|
14304
14305
|
if (b === void 0) {
|
|
14305
14306
|
const i = e.message;
|
|
14306
|
-
return sr(i) ?
|
|
14307
|
+
return sr(i) ? ft(i.fields[0].scalar, i.fields[0].longAsString) : _e(i);
|
|
14307
14308
|
}
|
|
14308
14309
|
return b;
|
|
14309
14310
|
}
|
|
@@ -14425,24 +14426,24 @@ function Pr(e, t) {
|
|
|
14425
14426
|
case M.FIXED32:
|
|
14426
14427
|
case M.UINT32:
|
|
14427
14428
|
if (typeof t != "number")
|
|
14428
|
-
throw new Error(`cannot encode ${e} to JSON: ${(r =
|
|
14429
|
+
throw new Error(`cannot encode ${e} to JSON: ${(r = ot(e, t)) === null || r === void 0 ? void 0 : r.message}`);
|
|
14429
14430
|
return t;
|
|
14430
14431
|
// float, double: JSON value will be a number or one of the special string values "NaN", "Infinity", and "-Infinity".
|
|
14431
14432
|
// Either numbers or strings are accepted. Exponent notation is also accepted.
|
|
14432
14433
|
case M.FLOAT:
|
|
14433
14434
|
case M.DOUBLE:
|
|
14434
14435
|
if (typeof t != "number")
|
|
14435
|
-
throw new Error(`cannot encode ${e} to JSON: ${(s =
|
|
14436
|
+
throw new Error(`cannot encode ${e} to JSON: ${(s = ot(e, t)) === null || s === void 0 ? void 0 : s.message}`);
|
|
14436
14437
|
return Number.isNaN(t) ? "NaN" : t === Number.POSITIVE_INFINITY ? "Infinity" : t === Number.NEGATIVE_INFINITY ? "-Infinity" : t;
|
|
14437
14438
|
// string:
|
|
14438
14439
|
case M.STRING:
|
|
14439
14440
|
if (typeof t != "string")
|
|
14440
|
-
throw new Error(`cannot encode ${e} to JSON: ${(l =
|
|
14441
|
+
throw new Error(`cannot encode ${e} to JSON: ${(l = ot(e, t)) === null || l === void 0 ? void 0 : l.message}`);
|
|
14441
14442
|
return t;
|
|
14442
14443
|
// bool:
|
|
14443
14444
|
case M.BOOL:
|
|
14444
14445
|
if (typeof t != "boolean")
|
|
14445
|
-
throw new Error(`cannot encode ${e} to JSON: ${(_ =
|
|
14446
|
+
throw new Error(`cannot encode ${e} to JSON: ${(_ = ot(e, t)) === null || _ === void 0 ? void 0 : _.message}`);
|
|
14446
14447
|
return t;
|
|
14447
14448
|
// JSON value will be a decimal string. Either numbers or strings are accepted.
|
|
14448
14449
|
case M.UINT64:
|
|
@@ -14451,14 +14452,14 @@ function Pr(e, t) {
|
|
|
14451
14452
|
case M.SFIXED64:
|
|
14452
14453
|
case M.SINT64:
|
|
14453
14454
|
if (typeof t != "bigint" && typeof t != "string")
|
|
14454
|
-
throw new Error(`cannot encode ${e} to JSON: ${(b =
|
|
14455
|
+
throw new Error(`cannot encode ${e} to JSON: ${(b = ot(e, t)) === null || b === void 0 ? void 0 : b.message}`);
|
|
14455
14456
|
return t.toString();
|
|
14456
14457
|
// bytes: JSON value will be the data encoded as a string using standard base64 encoding with paddings.
|
|
14457
14458
|
// Either standard or URL-safe base64 encoding with/without paddings are accepted.
|
|
14458
14459
|
case M.BYTES:
|
|
14459
14460
|
if (t instanceof Uint8Array)
|
|
14460
14461
|
return eu(t);
|
|
14461
|
-
throw new Error(`cannot encode ${e} to JSON: ${(i =
|
|
14462
|
+
throw new Error(`cannot encode ${e} to JSON: ${(i = ot(e, t)) === null || i === void 0 ? void 0 : i.message}`);
|
|
14462
14463
|
}
|
|
14463
14464
|
}
|
|
14464
14465
|
function Qu(e, t) {
|
|
@@ -14716,7 +14717,7 @@ function ns(e, t, r, s) {
|
|
|
14716
14717
|
const Vr = Symbol();
|
|
14717
14718
|
function Hr(e, t, r) {
|
|
14718
14719
|
if (t === null)
|
|
14719
|
-
return r ?
|
|
14720
|
+
return r ? ft(e.scalar, !1) : Vr;
|
|
14720
14721
|
switch (e.scalar) {
|
|
14721
14722
|
// float, double: JSON value will be a number or one of the special string values "NaN", "Infinity", and "-Infinity".
|
|
14722
14723
|
// Either numbers or strings are accepted. Exponent notation is also accepted.
|
|
@@ -14934,11 +14935,11 @@ function xa(e, t) {
|
|
|
14934
14935
|
as(s, r), e.values.push(s);
|
|
14935
14936
|
}
|
|
14936
14937
|
}
|
|
14937
|
-
const Ta = /* @__PURE__ */
|
|
14938
|
-
var
|
|
14938
|
+
const Ta = /* @__PURE__ */ pt("ChVnb29nbGUvcnBjL2NvZGUucHJvdG8SCmdvb2dsZS5ycGMqtwIKBENvZGUSBgoCT0sQABINCglDQU5DRUxMRUQQARILCgdVTktOT1dOEAISFAoQSU5WQUxJRF9BUkdVTUVOVBADEhUKEURFQURMSU5FX0VYQ0VFREVEEAQSDQoJTk9UX0ZPVU5EEAUSEgoOQUxSRUFEWV9FWElTVFMQBhIVChFQRVJNSVNTSU9OX0RFTklFRBAHEhMKD1VOQVVUSEVOVElDQVRFRBAQEhYKElJFU09VUkNFX0VYSEFVU1RFRBAIEhcKE0ZBSUxFRF9QUkVDT05ESVRJT04QCRILCgdBQk9SVEVEEAoSEAoMT1VUX09GX1JBTkdFEAsSEQoNVU5JTVBMRU1FTlRFRBAMEgwKCElOVEVSTkFMEA0SDwoLVU5BVkFJTEFCTEUQDhINCglEQVRBX0xPU1MQD0JYCg5jb20uZ29vZ2xlLnJwY0IJQ29kZVByb3RvUAFaM2dvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvcnBjL2NvZGU7Y29kZaICA1JQQ2IGcHJvdG8z"), mh = /* @__PURE__ */ Nr(Ta, 0), bh = /* @__PURE__ */ Fr(mh), La = /* @__PURE__ */ pt("CiBydW5tZS9zdHJlYW0vdjEvd2Vic29ja2V0cy5wcm90bxIPcnVubWUuc3RyZWFtLnYxIkIKD1dlYnNvY2tldFN0YXR1cxIeCgRjb2RlGAEgASgOMhAuZ29vZ2xlLnJwYy5Db2RlEg8KB21lc3NhZ2UYAiABKAkiGQoEUGluZxIRCgl0aW1lc3RhbXAYASABKAMiGQoEUG9uZxIRCgl0aW1lc3RhbXAYASABKAMiugEKEFdlYnNvY2tldFJlcXVlc3QSOgoPZXhlY3V0ZV9yZXF1ZXN0GAEgASgLMh8ucnVubWUucnVubmVyLnYyLkV4ZWN1dGVSZXF1ZXN0SAASIwoEcGluZxhkIAEoCzIVLnJ1bm1lLnN0cmVhbS52MS5QaW5nEhYKDWF1dGhvcml6YXRpb24YyAEgASgJEhEKCGtub3duX2lkGNIBIAEoCRIPCgZydW5faWQY3AEgASgJQgkKB3BheWxvYWQi2AEKEVdlYnNvY2tldFJlc3BvbnNlEjwKEGV4ZWN1dGVfcmVzcG9uc2UYASABKAsyIC5ydW5tZS5ydW5uZXIudjIuRXhlY3V0ZVJlc3BvbnNlSAASIwoEcG9uZxhkIAEoCzIVLnJ1bm1lLnN0cmVhbS52MS5Qb25nEjEKBnN0YXR1cxjIASABKAsyIC5ydW5tZS5zdHJlYW0udjEuV2Vic29ja2V0U3RhdHVzEhEKCGtub3duX2lkGNIBIAEoCRIPCgZydW5faWQY3AEgASgJQgkKB3BheWxvYWRCSFpGZ2l0aHViLmNvbS9ydW5tZWRldi9ydW5tZS92My9hcGkvZ2VuL3Byb3RvL2dvL3J1bm1lL3N0cmVhbS92MTtzdHJlYW12MWIGcHJvdG8z", [Ta, or]), Ci = /* @__PURE__ */ He(La, 3), Sh = /* @__PURE__ */ He(La, 4), Da = "0123456789ABCDEFGHJKMNPQRSTVWXYZ", Ar = 32, yh = 16, Oa = 10, Lo = 281474976710655;
|
|
14939
|
+
var ct;
|
|
14939
14940
|
(function(e) {
|
|
14940
14941
|
e.Base32IncorrectEncoding = "B32_ENC_INVALID", e.DecodeTimeInvalidCharacter = "DEC_TIME_CHAR", e.DecodeTimeValueMalformed = "DEC_TIME_MALFORMED", e.EncodeTimeNegative = "ENC_TIME_NEG", e.EncodeTimeSizeExceeded = "ENC_TIME_SIZE_EXCEED", e.EncodeTimeValueMalformed = "ENC_TIME_MALFORMED", e.PRNGDetectFailure = "PRNG_DETECT", e.ULIDInvalid = "ULID_INVALID", e.Unexpected = "UNEXPECTED", e.UUIDInvalid = "UUID_INVALID";
|
|
14941
|
-
})(
|
|
14942
|
+
})(ct || (ct = {}));
|
|
14942
14943
|
class Ft extends Error {
|
|
14943
14944
|
constructor(t, r) {
|
|
14944
14945
|
super(`${r} (${t})`), this.name = "ULIDError", this.code = t;
|
|
@@ -14957,7 +14958,7 @@ function wh(e) {
|
|
|
14957
14958
|
};
|
|
14958
14959
|
if (typeof (r == null ? void 0 : r.randomBytes) == "function")
|
|
14959
14960
|
return () => r.randomBytes(1).readUInt8() / 255;
|
|
14960
|
-
throw new Ft(
|
|
14961
|
+
throw new Ft(ct.PRNGDetectFailure, "Failed to find a reliable PRNG");
|
|
14961
14962
|
}
|
|
14962
14963
|
function Eh() {
|
|
14963
14964
|
return Ih() ? self : typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : null;
|
|
@@ -14970,13 +14971,13 @@ function kh(e, t) {
|
|
|
14970
14971
|
}
|
|
14971
14972
|
function Bh(e, t = Oa) {
|
|
14972
14973
|
if (isNaN(e))
|
|
14973
|
-
throw new Ft(
|
|
14974
|
+
throw new Ft(ct.EncodeTimeValueMalformed, `Time must be a number: ${e}`);
|
|
14974
14975
|
if (e > Lo)
|
|
14975
|
-
throw new Ft(
|
|
14976
|
+
throw new Ft(ct.EncodeTimeSizeExceeded, `Cannot encode a time larger than ${Lo}: ${e}`);
|
|
14976
14977
|
if (e < 0)
|
|
14977
|
-
throw new Ft(
|
|
14978
|
+
throw new Ft(ct.EncodeTimeNegative, `Time must be positive: ${e}`);
|
|
14978
14979
|
if (Number.isInteger(e) === !1)
|
|
14979
|
-
throw new Ft(
|
|
14980
|
+
throw new Ft(ct.EncodeTimeValueMalformed, `Time must be an integer: ${e}`);
|
|
14980
14981
|
let r, s = "";
|
|
14981
14982
|
for (let l = t; l > 0; l--)
|
|
14982
14983
|
r = e % Ar, s = Da.charAt(r) + s, e = (e - r) / Ar;
|
|
@@ -15070,9 +15071,9 @@ class Ph {
|
|
|
15070
15071
|
}
|
|
15071
15072
|
monitor() {
|
|
15072
15073
|
return wl(Nh).pipe(
|
|
15073
|
-
|
|
15074
|
+
Pe(() => this.autoReconnect),
|
|
15074
15075
|
Xr(this.reconnect),
|
|
15075
|
-
|
|
15076
|
+
Pe(
|
|
15076
15077
|
([, t]) => t.heartbeat === "CONTINUOUS"
|
|
15077
15078
|
/* CONTINUOUS */
|
|
15078
15079
|
),
|
|
@@ -15082,7 +15083,7 @@ class Ph {
|
|
|
15082
15083
|
(r) => r.readyState === WebSocket.OPEN && r.latency >= fr
|
|
15083
15084
|
)
|
|
15084
15085
|
),
|
|
15085
|
-
|
|
15086
|
+
Pe((t) => t.length > 0),
|
|
15086
15087
|
// tap((latencies) => console.log('Monitor latencies', latencies)),
|
|
15087
15088
|
// Throttle the reconnects to avoid overwhelming the server
|
|
15088
15089
|
Vs(Oo)
|
|
@@ -15097,11 +15098,11 @@ class Ph {
|
|
|
15097
15098
|
}
|
|
15098
15099
|
process() {
|
|
15099
15100
|
const t = this.client.pipe(
|
|
15100
|
-
|
|
15101
|
+
Pe((l) => (l == null ? void 0 : l.readyState) === WebSocket.OPEN),
|
|
15101
15102
|
Ps(1)
|
|
15102
15103
|
), r = this.queue.pipe(
|
|
15103
15104
|
Al(() => t),
|
|
15104
|
-
|
|
15105
|
+
Pe((l) => l.length > 0),
|
|
15105
15106
|
Re((l) => l.sort((_, b) => {
|
|
15106
15107
|
const i = (a) => {
|
|
15107
15108
|
var u;
|
|
@@ -15114,13 +15115,13 @@ class Ph {
|
|
|
15114
15115
|
// Flatten buffered arrays
|
|
15115
15116
|
r.pipe(
|
|
15116
15117
|
// Use mergeMap to flatten
|
|
15117
|
-
|
|
15118
|
+
at((l) => l)
|
|
15118
15119
|
),
|
|
15119
15120
|
s
|
|
15120
15121
|
).pipe(
|
|
15121
15122
|
Xr(this.client),
|
|
15122
15123
|
dr(([, l]) => l.readyState === WebSocket.OPEN),
|
|
15123
|
-
|
|
15124
|
+
at(async ([l, _]) => {
|
|
15124
15125
|
await Po({
|
|
15125
15126
|
req: l,
|
|
15126
15127
|
interceptors: this.interceptors,
|
|
@@ -15243,7 +15244,7 @@ class Ph {
|
|
|
15243
15244
|
dr(() => t.readyState === WebSocket.OPEN),
|
|
15244
15245
|
Re((a) => Mo(a.data)),
|
|
15245
15246
|
Re((a) => a.pong),
|
|
15246
|
-
|
|
15247
|
+
Pe((a) => a !== void 0),
|
|
15247
15248
|
Re((a) => ({
|
|
15248
15249
|
receivedAt: BigInt(Date.now()),
|
|
15249
15250
|
pong: a
|
|
@@ -15254,7 +15255,7 @@ class Ph {
|
|
|
15254
15255
|
const a = { timestamp: BigInt(Date.now()) };
|
|
15255
15256
|
return _e(Ci, { ping: a });
|
|
15256
15257
|
}),
|
|
15257
|
-
|
|
15258
|
+
at(async (a) => (await Po({
|
|
15258
15259
|
req: a,
|
|
15259
15260
|
interceptors: this.interceptors,
|
|
15260
15261
|
socket: t
|
|
@@ -15264,11 +15265,11 @@ class Ph {
|
|
|
15264
15265
|
}), a)),
|
|
15265
15266
|
Re((a) => a.ping)
|
|
15266
15267
|
).pipe(
|
|
15267
|
-
|
|
15268
|
-
|
|
15268
|
+
Pe((a) => (a == null ? void 0 : a.timestamp) !== void 0),
|
|
15269
|
+
at(
|
|
15269
15270
|
(a) => Il(
|
|
15270
15271
|
_.pipe(
|
|
15271
|
-
|
|
15272
|
+
Pe(
|
|
15272
15273
|
(u) => u.pong.timestamp === a.timestamp
|
|
15273
15274
|
),
|
|
15274
15275
|
Ps(1),
|
|
@@ -15385,15 +15386,15 @@ function lf() {
|
|
|
15385
15386
|
}
|
|
15386
15387
|
var Vh = Object.defineProperty, Hh = Object.getOwnPropertyDescriptor, Na = (e) => {
|
|
15387
15388
|
throw TypeError(e);
|
|
15388
|
-
},
|
|
15389
|
+
}, ze = (e, t, r, s) => {
|
|
15389
15390
|
for (var l = s > 1 ? void 0 : s ? Hh(t, r) : t, _ = e.length - 1, b; _ >= 0; _--)
|
|
15390
15391
|
(b = e[_]) && (l = (s ? b(t, r, l) : b(l)) || l);
|
|
15391
15392
|
return s && l && Vh(t, r, l), l;
|
|
15392
|
-
}, cs = (e, t, r) => t.has(e) || Na("Cannot " + r), oe = (e, t, r) => (cs(e, t, "read from private field"), t.get(e)), vr = (e, t, r) => t.has(e) ? Na("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), xr = (e, t, r, s) => (cs(e, t, "write to private field"), t.set(e, r), r), Ae = (e, t, r) => (cs(e, t, "access private method"), r), Ce,
|
|
15393
|
-
const
|
|
15394
|
-
let
|
|
15393
|
+
}, cs = (e, t, r) => t.has(e) || Na("Cannot " + r), oe = (e, t, r) => (cs(e, t, "read from private field"), t.get(e)), vr = (e, t, r) => t.has(e) ? Na("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), xr = (e, t, r, s) => (cs(e, t, "write to private field"), t.set(e, r), r), Ae = (e, t, r) => (cs(e, t, "access private method"), r), Ce, Ue, lt, Ee, Fa, ls, Ma, wi, Tr, Ei, Pa, Ua;
|
|
15394
|
+
const Wh = "runme-console";
|
|
15395
|
+
let Ve = class extends we {
|
|
15395
15396
|
constructor() {
|
|
15396
|
-
super(), vr(this, Ee), this.disposables = [], vr(this, Ce), vr(this,
|
|
15397
|
+
super(), vr(this, Ee), this.disposables = [], vr(this, Ce), vr(this, Ue, []), vr(this, lt, { rows: 34, cols: 100, x: 0, y: 0 }), this.takeFocus = !0, this.view = {
|
|
15397
15398
|
theme: "dark",
|
|
15398
15399
|
fontFamily: "monospace",
|
|
15399
15400
|
fontSize: 12,
|
|
@@ -15431,8 +15432,8 @@ let Ue = class extends we {
|
|
|
15431
15432
|
}
|
|
15432
15433
|
};
|
|
15433
15434
|
Ce = /* @__PURE__ */ new WeakMap();
|
|
15434
|
-
|
|
15435
|
-
|
|
15435
|
+
Ue = /* @__PURE__ */ new WeakMap();
|
|
15436
|
+
lt = /* @__PURE__ */ new WeakMap();
|
|
15436
15437
|
Ee = /* @__PURE__ */ new WeakSet();
|
|
15437
15438
|
Fa = function() {
|
|
15438
15439
|
this.shadowRoot && (this.consoleView = document.createElement("console-view"), Ae(this, Ee, ls).call(this), this.shadowRoot.appendChild(this.consoleView), Ae(this, Ee, Ma).call(this));
|
|
@@ -15479,7 +15480,7 @@ wi = function() {
|
|
|
15479
15480
|
}
|
|
15480
15481
|
}));
|
|
15481
15482
|
const t = oe(this, Ce).connect().subscribe();
|
|
15482
|
-
oe(this,
|
|
15483
|
+
oe(this, Ue).push(() => t.unsubscribe());
|
|
15483
15484
|
const r = oe(this, Ce).stdout.subscribe((i) => {
|
|
15484
15485
|
this.dispatchEvent(new CustomEvent("stdout", { detail: i })), this.consoleView && this.consoleView.terminal && this.consoleView.terminal.write(i);
|
|
15485
15486
|
}), s = oe(this, Ce).stderr.subscribe((i) => {
|
|
@@ -15491,16 +15492,16 @@ wi = function() {
|
|
|
15491
15492
|
}), b = oe(this, Ce).mimeType.subscribe((i) => {
|
|
15492
15493
|
this.dispatchEvent(new CustomEvent("mimetype", { detail: i }));
|
|
15493
15494
|
});
|
|
15494
|
-
oe(this,
|
|
15495
|
+
oe(this, Ue).push(() => r.unsubscribe()), oe(this, Ue).push(() => s.unsubscribe()), oe(this, Ue).push(() => l.unsubscribe()), oe(this, Ue).push(() => _.unsubscribe()), oe(this, Ue).push(() => b.unsubscribe());
|
|
15495
15496
|
};
|
|
15496
15497
|
Tr = function() {
|
|
15497
15498
|
var e;
|
|
15498
|
-
oe(this,
|
|
15499
|
+
oe(this, Ue).forEach((t) => {
|
|
15499
15500
|
try {
|
|
15500
15501
|
t();
|
|
15501
15502
|
} catch {
|
|
15502
15503
|
}
|
|
15503
|
-
}), xr(this,
|
|
15504
|
+
}), xr(this, Ue, []), (e = oe(this, Ce)) == null || e.close(), xr(this, Ce, void 0);
|
|
15504
15505
|
};
|
|
15505
15506
|
Ei = function() {
|
|
15506
15507
|
var e;
|
|
@@ -15528,7 +15529,7 @@ Pa = function() {
|
|
|
15528
15529
|
"elvish",
|
|
15529
15530
|
"xonsh"
|
|
15530
15531
|
])).has(_), i = _e(yi, {
|
|
15531
|
-
sessionStrategy:
|
|
15532
|
+
sessionStrategy: $u.MOST_RECENT,
|
|
15532
15533
|
storeStdoutInEnv: !0,
|
|
15533
15534
|
config: {
|
|
15534
15535
|
languageId: _,
|
|
@@ -15543,7 +15544,7 @@ Pa = function() {
|
|
|
15543
15544
|
runId: (r = this.stream) == null ? void 0 : r.runID,
|
|
15544
15545
|
knownId: ((s = this.stream) == null ? void 0 : s.knownID) ?? this.id
|
|
15545
15546
|
},
|
|
15546
|
-
winsize: _e(Ea, oe(this,
|
|
15547
|
+
winsize: _e(Ea, oe(this, lt))
|
|
15547
15548
|
});
|
|
15548
15549
|
return this.commands.length === 0 ? (i.config.mode = ii.INLINE, i.config.source = {
|
|
15549
15550
|
case: "commands",
|
|
@@ -15570,16 +15571,16 @@ Ua = function() {
|
|
|
15570
15571
|
r.output.terminalDimensions.columns
|
|
15571
15572
|
), b = Number(r.output.terminalDimensions.rows);
|
|
15572
15573
|
if (Number.isFinite(_) && Number.isFinite(b)) {
|
|
15573
|
-
if (oe(this,
|
|
15574
|
+
if (oe(this, lt).cols === _ && oe(this, lt).rows === b)
|
|
15574
15575
|
return;
|
|
15575
|
-
xr(this,
|
|
15576
|
+
xr(this, lt, _e(Ea, {
|
|
15576
15577
|
cols: _,
|
|
15577
15578
|
rows: b,
|
|
15578
15579
|
x: 0,
|
|
15579
15580
|
y: 0
|
|
15580
15581
|
}));
|
|
15581
15582
|
const i = _e(yi, {
|
|
15582
|
-
winsize: oe(this,
|
|
15583
|
+
winsize: oe(this, lt)
|
|
15583
15584
|
});
|
|
15584
15585
|
(s = oe(this, Ce)) == null || s.sendExecuteRequest(i);
|
|
15585
15586
|
}
|
|
@@ -15595,45 +15596,45 @@ Ua = function() {
|
|
|
15595
15596
|
}
|
|
15596
15597
|
};
|
|
15597
15598
|
try {
|
|
15598
|
-
|
|
15599
|
+
Wl(t);
|
|
15599
15600
|
} catch {
|
|
15600
15601
|
console.error("Failed to set context bridge");
|
|
15601
15602
|
}
|
|
15602
15603
|
};
|
|
15603
|
-
|
|
15604
|
+
ze([
|
|
15604
15605
|
Y({ type: String })
|
|
15605
|
-
],
|
|
15606
|
-
|
|
15606
|
+
], Ve.prototype, "id", 2);
|
|
15607
|
+
ze([
|
|
15607
15608
|
Y({
|
|
15608
15609
|
type: Boolean,
|
|
15609
15610
|
converter: (e) => e !== "false"
|
|
15610
15611
|
})
|
|
15611
|
-
],
|
|
15612
|
-
|
|
15612
|
+
], Ve.prototype, "takeFocus", 2);
|
|
15613
|
+
ze([
|
|
15613
15614
|
Y({ type: Object })
|
|
15614
|
-
],
|
|
15615
|
-
|
|
15615
|
+
], Ve.prototype, "view", 2);
|
|
15616
|
+
ze([
|
|
15616
15617
|
Y({ type: Array })
|
|
15617
|
-
],
|
|
15618
|
-
|
|
15618
|
+
], Ve.prototype, "commands", 2);
|
|
15619
|
+
ze([
|
|
15619
15620
|
Y({ type: String })
|
|
15620
|
-
],
|
|
15621
|
-
|
|
15621
|
+
], Ve.prototype, "initialContent", 2);
|
|
15622
|
+
ze([
|
|
15622
15623
|
Y({ type: Number })
|
|
15623
|
-
],
|
|
15624
|
-
|
|
15624
|
+
], Ve.prototype, "initialRows", 2);
|
|
15625
|
+
ze([
|
|
15625
15626
|
Y({ type: Object })
|
|
15626
|
-
],
|
|
15627
|
-
|
|
15627
|
+
], Ve.prototype, "stream", 2);
|
|
15628
|
+
ze([
|
|
15628
15629
|
Y({ attribute: !1 })
|
|
15629
|
-
],
|
|
15630
|
-
|
|
15631
|
-
xe(
|
|
15632
|
-
],
|
|
15633
|
-
var
|
|
15630
|
+
], Ve.prototype, "interceptors", 2);
|
|
15631
|
+
Ve = ze([
|
|
15632
|
+
xe(Wh)
|
|
15633
|
+
], Ve);
|
|
15634
|
+
var $h = Object.defineProperty, Gh = Object.getOwnPropertyDescriptor, Wr = (e, t, r, s) => {
|
|
15634
15635
|
for (var l = s > 1 ? void 0 : s ? Gh(t, r) : t, _ = e.length - 1, b; _ >= 0; _--)
|
|
15635
15636
|
(b = e[_]) && (l = (s ? b(t, r, l) : b(l)) || l);
|
|
15636
|
-
return s && l &&
|
|
15637
|
+
return s && l && $h(t, r, l), l;
|
|
15637
15638
|
};
|
|
15638
15639
|
let It = class extends we {
|
|
15639
15640
|
constructor() {
|
|
@@ -15830,16 +15831,16 @@ It.styles = Ne`
|
|
|
15830
15831
|
align-items: center;
|
|
15831
15832
|
}
|
|
15832
15833
|
`;
|
|
15833
|
-
|
|
15834
|
+
Wr([
|
|
15834
15835
|
Y({ type: Array })
|
|
15835
15836
|
], It.prototype, "columns", 2);
|
|
15836
|
-
|
|
15837
|
+
Wr([
|
|
15837
15838
|
Y({ type: Array })
|
|
15838
15839
|
], It.prototype, "rows", 2);
|
|
15839
|
-
|
|
15840
|
+
Wr([
|
|
15840
15841
|
Y({ type: Object })
|
|
15841
15842
|
], It.prototype, "renderer", 2);
|
|
15842
|
-
It =
|
|
15843
|
+
It = Wr([
|
|
15843
15844
|
xe("table-view")
|
|
15844
15845
|
], It);
|
|
15845
15846
|
const jh = K`
|
|
@@ -16126,7 +16127,7 @@ var qh = Object.defineProperty, Qh = Object.getOwnPropertyDescriptor, Va = (e) =
|
|
|
16126
16127
|
for (var l = s > 1 ? void 0 : s ? Qh(t, r) : t, _ = e.length - 1, b; _ >= 0; _--)
|
|
16127
16128
|
(b = e[_]) && (l = (s ? b(t, r, l) : b(l)) || l);
|
|
16128
16129
|
return s && l && qh(t, r, l), l;
|
|
16129
|
-
}, ef = (e, t, r) => t.has(e) || Va("Cannot " + r), tf = (e, t, r) => t.has(e) ? Va("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r),
|
|
16130
|
+
}, ef = (e, t, r) => t.has(e) || Va("Cannot " + r), tf = (e, t, r) => t.has(e) ? Va("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), _t = (e, t, r) => (ef(e, t, "access private method"), r), Xe, Wa, $a, Mt;
|
|
16130
16131
|
const rf = "__", sf = [
|
|
16131
16132
|
{
|
|
16132
16133
|
text: "Name"
|
|
@@ -16159,7 +16160,7 @@ let ki = class extends we {
|
|
|
16159
16160
|
}
|
|
16160
16161
|
render() {
|
|
16161
16162
|
var e;
|
|
16162
|
-
return
|
|
16163
|
+
return _t(this, Xe, $a).call(this), K` <div>
|
|
16163
16164
|
<table-view
|
|
16164
16165
|
.columns="${sf}"
|
|
16165
16166
|
.rows="${(e = this.variables) == null ? void 0 : e.map((t) => ({
|
|
@@ -16188,20 +16189,20 @@ let ki = class extends we {
|
|
|
16188
16189
|
return t.status === $e.UNSPECIFIED ? l = "[unset]" : t.status === $e.HIDDEN && (l = "[hidden]"), l = l.replace(/\n/g, " ").replace(/\r/g, ""), K`<env-viewer
|
|
16189
16190
|
.displaySecret="${s}"
|
|
16190
16191
|
.value="${t.originalValue}"
|
|
16191
|
-
.maskedValue="${
|
|
16192
|
+
.maskedValue="${_t(this, Xe, Mt).call(this, t, r, () => l)}"
|
|
16192
16193
|
.status="${t.status}"
|
|
16193
|
-
@onCopy="${async () =>
|
|
16194
|
+
@onCopy="${async () => _t(this, Xe, Wa).call(this, t.originalValue)}"
|
|
16194
16195
|
></env-viewer>`;
|
|
16195
16196
|
// case 'createdAt':
|
|
16196
16197
|
// return this.#renderValue(row, field, () =>
|
|
16197
16198
|
// row[field] ? formatDateWithTimeAgo(new Date(row[field])) : '',
|
|
16198
16199
|
// )
|
|
16199
16200
|
case "updatedAt":
|
|
16200
|
-
return
|
|
16201
|
+
return _t(this, Xe, Mt).call(this, t, r, () => t[r] ? jl(new Date(t[r])) : "");
|
|
16201
16202
|
case "spec":
|
|
16202
|
-
return
|
|
16203
|
+
return _t(this, Xe, Mt).call(this, t, r, () => K`<span class="${t.specClass}">${t[r]}</span>`);
|
|
16203
16204
|
default:
|
|
16204
|
-
return
|
|
16205
|
+
return _t(this, Xe, Mt).call(this, t, r, () => t[r]);
|
|
16205
16206
|
}
|
|
16206
16207
|
}}"
|
|
16207
16208
|
></table-view>
|
|
@@ -16209,10 +16210,10 @@ let ki = class extends we {
|
|
|
16209
16210
|
}
|
|
16210
16211
|
};
|
|
16211
16212
|
Xe = /* @__PURE__ */ new WeakSet();
|
|
16212
|
-
|
|
16213
|
+
Wa = function(e) {
|
|
16213
16214
|
return navigator.clipboard.writeText(e);
|
|
16214
16215
|
};
|
|
16215
|
-
|
|
16216
|
+
$a = function() {
|
|
16216
16217
|
var e;
|
|
16217
16218
|
(e = this.variables) == null || e.sort((t, r) => t.errors.length > 0 ? -1 : r.errors.length > 0 ? 1 : 0);
|
|
16218
16219
|
};
|
|
@@ -16341,5 +16342,5 @@ export {
|
|
|
16341
16342
|
Ph as Streams,
|
|
16342
16343
|
lf as genRunID,
|
|
16343
16344
|
Hl as getContext,
|
|
16344
|
-
|
|
16345
|
+
Wl as setContext
|
|
16345
16346
|
};
|