@runmedev/renderers 3.16.6 → 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/components/console/view.d.ts.map +1 -1
- package/dist/index.cjs +36 -36
- package/dist/index.mjs +289 -288
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -111,7 +111,7 @@ function Ct(e) {
|
|
|
111
111
|
};
|
|
112
112
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function Ke(e, t) {
|
|
115
115
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
116
116
|
if (!r) return e;
|
|
117
117
|
var i = r.call(e), a, m = [], v;
|
|
@@ -133,8 +133,8 @@ function Qe(e, t, r) {
|
|
|
133
133
|
(m || !(i in t)) && (m || (m = Array.prototype.slice.call(t, 0, i)), m[i] = t[i]);
|
|
134
134
|
return e.concat(m || Array.prototype.slice.call(t));
|
|
135
135
|
}
|
|
136
|
-
function
|
|
137
|
-
return this instanceof
|
|
136
|
+
function yt(e) {
|
|
137
|
+
return this instanceof yt ? (this.v = e, this) : new yt(e);
|
|
138
138
|
}
|
|
139
139
|
function Ka(e, t, r) {
|
|
140
140
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
@@ -162,7 +162,7 @@ function Ka(e, t, r) {
|
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
function u(S) {
|
|
165
|
-
S.value instanceof
|
|
165
|
+
S.value instanceof yt ? Promise.resolve(S.value.v).then(f, h) : _(m[0][2], S);
|
|
166
166
|
}
|
|
167
167
|
function f(S) {
|
|
168
168
|
c("next", S);
|
|
@@ -270,7 +270,7 @@ const { is: Ya, defineProperty: ja, getOwnPropertyDescriptor: Xa, getOwnProperty
|
|
|
270
270
|
return r;
|
|
271
271
|
} }, Oi = (e, t) => !Ya(e, t), Ss = { attribute: !0, type: String, converter: wr, reflect: !1, useDefault: !1, hasChanged: Oi };
|
|
272
272
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), qe.litPropertyMetadata ?? (qe.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
273
|
-
let
|
|
273
|
+
let St = class extends HTMLElement {
|
|
274
274
|
static addInitializer(t) {
|
|
275
275
|
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
|
276
276
|
}
|
|
@@ -473,15 +473,15 @@ let mt = class extends HTMLElement {
|
|
|
473
473
|
firstUpdated(t) {
|
|
474
474
|
}
|
|
475
475
|
};
|
|
476
|
-
|
|
476
|
+
St.elementStyles = [], St.shadowRootOptions = { mode: "open" }, St[Ut("elementProperties")] = /* @__PURE__ */ new Map(), St[Ut("finalized")] = /* @__PURE__ */ new Map(), jr == null || jr({ ReactiveElement: St }), (qe.reactiveElementVersions ?? (qe.reactiveElementVersions = [])).push("2.1.1");
|
|
477
477
|
/**
|
|
478
478
|
* @license
|
|
479
479
|
* Copyright 2017 Google LLC
|
|
480
480
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
481
481
|
*/
|
|
482
|
-
const Vt = globalThis, Er = Vt.trustedTypes, ys = Er ? Er.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Vn = "$lit$", Je = `lit$${Math.random().toFixed(9).slice(2)}$`, Hn = "?" + Je, tc = `<${Hn}>`,
|
|
482
|
+
const Vt = globalThis, Er = Vt.trustedTypes, ys = Er ? Er.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Vn = "$lit$", Je = `lit$${Math.random().toFixed(9).slice(2)}$`, Hn = "?" + Je, tc = `<${Hn}>`, gt = document, Wt = () => gt.createComment(""), Gt = (e) => e === null || typeof e != "object" && typeof e != "function", Ni = Array.isArray, rc = (e) => Ni(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", Xr = `[
|
|
483
483
|
\f\r]`, Ot = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Cs = /-->/g, ws = />/g, it = RegExp(`>|${Xr}(?:([^\\s"'>=/]+)(${Xr}*=${Xr}*(?:[^
|
|
484
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Es = /'/g, ks = /"/g, $n = /^(?:script|style|textarea|title)$/i, ic = (e) => (t, ...r) => ({ _$litType$: e, strings: t, values: r }), Y = ic(1), wt = Symbol.for("lit-noChange"), fe = Symbol.for("lit-nothing"), Is = /* @__PURE__ */ new WeakMap(),
|
|
484
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Es = /'/g, ks = /"/g, $n = /^(?:script|style|textarea|title)$/i, ic = (e) => (t, ...r) => ({ _$litType$: e, strings: t, values: r }), Y = ic(1), wt = Symbol.for("lit-noChange"), fe = Symbol.for("lit-nothing"), Is = /* @__PURE__ */ new WeakMap(), at = gt.createTreeWalker(gt, 129);
|
|
485
485
|
function Wn(e, t) {
|
|
486
486
|
if (!Ni(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
487
487
|
return ys !== void 0 ? ys.createHTML(t) : t;
|
|
@@ -504,11 +504,11 @@ class Kt {
|
|
|
504
504
|
this.parts = [];
|
|
505
505
|
let m = 0, v = 0;
|
|
506
506
|
const s = t.length - 1, c = this.parts, [u, f] = sc(t, r);
|
|
507
|
-
if (this.el = Kt.createElement(u, i),
|
|
507
|
+
if (this.el = Kt.createElement(u, i), at.currentNode = this.el.content, r === 2 || r === 3) {
|
|
508
508
|
const h = this.el.content.firstChild;
|
|
509
509
|
h.replaceWith(...h.childNodes);
|
|
510
510
|
}
|
|
511
|
-
for (; (a =
|
|
511
|
+
for (; (a = at.nextNode()) !== null && c.length < s; ) {
|
|
512
512
|
if (a.nodeType === 1) {
|
|
513
513
|
if (a.hasAttributes()) for (const h of a.getAttributeNames()) if (h.endsWith(Vn)) {
|
|
514
514
|
const _ = f[v++], S = a.getAttribute(h).split(Je), E = /([.?@])?(.*)/.exec(_);
|
|
@@ -518,7 +518,7 @@ class Kt {
|
|
|
518
518
|
const h = a.textContent.split(Je), _ = h.length - 1;
|
|
519
519
|
if (_ > 0) {
|
|
520
520
|
a.textContent = Er ? Er.emptyScript : "";
|
|
521
|
-
for (let S = 0; S < _; S++) a.append(h[S], Wt()),
|
|
521
|
+
for (let S = 0; S < _; S++) a.append(h[S], Wt()), at.nextNode(), c.push({ type: 2, index: ++m });
|
|
522
522
|
a.append(h[_], Wt());
|
|
523
523
|
}
|
|
524
524
|
}
|
|
@@ -531,7 +531,7 @@ class Kt {
|
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
static createElement(t, r) {
|
|
534
|
-
const i =
|
|
534
|
+
const i = gt.createElement("template");
|
|
535
535
|
return i.innerHTML = t, i;
|
|
536
536
|
}
|
|
537
537
|
}
|
|
@@ -553,17 +553,17 @@ class nc {
|
|
|
553
553
|
return this._$AM._$AU;
|
|
554
554
|
}
|
|
555
555
|
u(t) {
|
|
556
|
-
const { el: { content: r }, parts: i } = this._$AD, a = ((t == null ? void 0 : t.creationScope) ??
|
|
557
|
-
|
|
558
|
-
let m =
|
|
556
|
+
const { el: { content: r }, parts: i } = this._$AD, a = ((t == null ? void 0 : t.creationScope) ?? gt).importNode(r, !0);
|
|
557
|
+
at.currentNode = a;
|
|
558
|
+
let m = at.nextNode(), v = 0, s = 0, c = i[0];
|
|
559
559
|
for (; c !== void 0; ) {
|
|
560
560
|
if (v === c.index) {
|
|
561
561
|
let u;
|
|
562
562
|
c.type === 2 ? u = new tr(m, m.nextSibling, this, t) : c.type === 1 ? u = new c.ctor(m, c.name, c.strings, this, t) : c.type === 6 && (u = new lc(m, this, t)), this._$AV.push(u), c = i[++s];
|
|
563
563
|
}
|
|
564
|
-
v !== (c == null ? void 0 : c.index) && (m =
|
|
564
|
+
v !== (c == null ? void 0 : c.index) && (m = at.nextNode(), v++);
|
|
565
565
|
}
|
|
566
|
-
return
|
|
566
|
+
return at.currentNode = gt, a;
|
|
567
567
|
}
|
|
568
568
|
p(t) {
|
|
569
569
|
let r = 0;
|
|
@@ -599,7 +599,7 @@ class tr {
|
|
|
599
599
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
600
600
|
}
|
|
601
601
|
_(t) {
|
|
602
|
-
this._$AH !== fe && Gt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(
|
|
602
|
+
this._$AH !== fe && Gt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(gt.createTextNode(t)), this._$AH = t;
|
|
603
603
|
}
|
|
604
604
|
$(t) {
|
|
605
605
|
var m;
|
|
@@ -715,8 +715,8 @@ const dc = (e, t, r) => {
|
|
|
715
715
|
* Copyright 2017 Google LLC
|
|
716
716
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
717
717
|
*/
|
|
718
|
-
const
|
|
719
|
-
class we extends
|
|
718
|
+
const ht = globalThis;
|
|
719
|
+
class we extends St {
|
|
720
720
|
constructor() {
|
|
721
721
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
722
722
|
}
|
|
@@ -742,10 +742,10 @@ class we extends mt {
|
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
744
|
var Fn;
|
|
745
|
-
we._$litElement$ = !0, we.finalized = !0, (Fn =
|
|
746
|
-
const qr =
|
|
745
|
+
we._$litElement$ = !0, we.finalized = !0, (Fn = ht.litElementHydrateSupport) == null || Fn.call(ht, { LitElement: we });
|
|
746
|
+
const qr = ht.litElementPolyfillSupport;
|
|
747
747
|
qr == null || qr({ LitElement: we });
|
|
748
|
-
(
|
|
748
|
+
(ht.litElementVersions ?? (ht.litElementVersions = [])).push("4.2.1");
|
|
749
749
|
function xe(e) {
|
|
750
750
|
return function(t) {
|
|
751
751
|
return customElements.get(e) || customElements.define(e, t), t;
|
|
@@ -2253,7 +2253,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
2253
2253
|
}, 3236: (v, s, c) => {
|
|
2254
2254
|
Object.defineProperty(s, "__esModule", { value: !0 }), s.Terminal = void 0;
|
|
2255
2255
|
const u = c(3614), f = c(3656), h = c(3551), _ = c(9042), S = c(3730), E = c(1680), g = c(3107), n = c(5744), l = c(2950), o = c(1296), d = c(428), p = c(4269), C = c(5114), y = c(8934), w = c(3230), b = c(9312), k = c(4725), R = c(6731), L = c(8055), T = c(8969), A = c(8460), F = c(844), U = c(6114), $ = c(8437), z = c(2584), W = c(7399), I = c(5941), x = c(9074), D = c(2585), O = c(5435), V = c(4567), G = c(779);
|
|
2256
|
-
class
|
|
2256
|
+
class J extends T.CoreTerminal {
|
|
2257
2257
|
get onFocus() {
|
|
2258
2258
|
return this._onFocus.event;
|
|
2259
2259
|
}
|
|
@@ -2584,7 +2584,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
2584
2584
|
if (this.options.cancelEvents || B) return N.preventDefault(), N.stopPropagation(), !1;
|
|
2585
2585
|
}
|
|
2586
2586
|
}
|
|
2587
|
-
s.Terminal =
|
|
2587
|
+
s.Terminal = J;
|
|
2588
2588
|
}, 9924: (v, s) => {
|
|
2589
2589
|
Object.defineProperty(s, "__esModule", { value: !0 }), s.TimeBasedDebouncer = void 0, s.TimeBasedDebouncer = class {
|
|
2590
2590
|
constructor(c, u = 1e3) {
|
|
@@ -3050,8 +3050,8 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
3050
3050
|
Object.defineProperty(s, "__esModule", { value: !0 }), s.DomRenderer = void 0;
|
|
3051
3051
|
const h = c(3787), _ = c(2550), S = c(2223), E = c(6171), g = c(6052), n = c(4725), l = c(8055), o = c(8460), d = c(844), p = c(2585), C = "xterm-dom-renderer-owner-", y = "xterm-rows", w = "xterm-fg-", b = "xterm-bg-", k = "xterm-focus", R = "xterm-selection";
|
|
3052
3052
|
let L = 1, T = s.DomRenderer = class extends d.Disposable {
|
|
3053
|
-
constructor(A, F, U, $, z, W, I, x, D, O, V, G,
|
|
3054
|
-
super(), this._terminal = A, this._document = F, this._element = U, this._screenElement = $, this._viewportElement = z, this._helperContainer = W, this._linkifier2 = I, this._charSizeService = D, this._optionsService = O, this._bufferService = V, this._coreBrowserService = G, this._themeService =
|
|
3053
|
+
constructor(A, F, U, $, z, W, I, x, D, O, V, G, J) {
|
|
3054
|
+
super(), this._terminal = A, this._document = F, this._element = U, this._screenElement = $, this._viewportElement = z, this._helperContainer = W, this._linkifier2 = I, this._charSizeService = D, this._optionsService = O, this._bufferService = V, this._coreBrowserService = G, this._themeService = J, this._terminalClass = L++, this._rowElements = [], this._selectionRenderModel = (0, g.createSelectionRenderModel)(), this.onRequestRedraw = this.register(new o.EventEmitter()).event, this._rowContainer = this._document.createElement("div"), this._rowContainer.classList.add(y), 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(R), 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)((() => {
|
|
3055
3055
|
this._element.classList.remove(C + this._terminalClass), this._rowContainer.remove(), this._selectionContainer.remove(), this._widthCache.dispose(), this._themeStyleElement.remove(), this._dimensionsStyleElement.remove();
|
|
3056
3056
|
}))), this._widthCache = new _.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();
|
|
3057
3057
|
}
|
|
@@ -3152,11 +3152,11 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
3152
3152
|
U < 0 && (A = 0), $ < 0 && (F = 0);
|
|
3153
3153
|
const I = this._bufferService.rows - 1;
|
|
3154
3154
|
U = Math.max(Math.min(U, I), 0), $ = Math.max(Math.min($, I), 0), z = Math.min(z, this._bufferService.cols);
|
|
3155
|
-
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,
|
|
3155
|
+
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;
|
|
3156
3156
|
for (let Q = U; Q <= $; ++Q) {
|
|
3157
3157
|
const N = Q + x.ydisp, B = this._rowElements[Q], H = x.lines.get(N);
|
|
3158
3158
|
if (!B || !H) break;
|
|
3159
|
-
B.replaceChildren(...this._rowFactory.createRow(H, N, N === D, G,
|
|
3159
|
+
B.replaceChildren(...this._rowFactory.createRow(H, N, N === D, G, J, O, V, this.dimensions.css.cell.width, this._widthCache, W ? Q === U ? A : 0 : -1, W ? (Q === $ ? F : z) - 1 : -1));
|
|
3160
3160
|
}
|
|
3161
3161
|
}
|
|
3162
3162
|
};
|
|
@@ -3185,7 +3185,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
3185
3185
|
const z = [], W = this._characterJoinerService.getJoinedCharacters(w), I = this._themeService.colors;
|
|
3186
3186
|
let x, D = y.getNoBgTrimmedLength();
|
|
3187
3187
|
b && D < L + 1 && (D = L + 1);
|
|
3188
|
-
let O = 0, V = "", G = 0,
|
|
3188
|
+
let O = 0, V = "", G = 0, J = 0, Q = 0, N = !1, B = 0, H = !1, P = 0;
|
|
3189
3189
|
const Z = [], K = U !== -1 && $ !== -1;
|
|
3190
3190
|
for (let re = 0; re < D; re++) {
|
|
3191
3191
|
y.loadCell(re, this._workCell);
|
|
@@ -3204,13 +3204,13 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
3204
3204
|
}));
|
|
3205
3205
|
let cr = ee.getChars() || _.WHITESPACE_CELL_CHAR;
|
|
3206
3206
|
if (cr === " " && (ee.isUnderline() || ee.isOverline()) && (cr = " "), P = de * A - F.get(cr, ee.isBold(), ee.isItalic()), x) {
|
|
3207
|
-
if (O && (xt && H || !xt && !H && ee.bg === G) && (xt && H && I.selectionForeground || ee.fg ===
|
|
3207
|
+
if (O && (xt && H || !xt && !H && ee.bg === G) && (xt && H && I.selectionForeground || ee.fg === J) && ee.extended.ext === Q && Zr === N && P === B && !Kr && !he && !zr) {
|
|
3208
3208
|
ee.isInvisible() ? V += _.WHITESPACE_CELL_CHAR : V += cr, O++;
|
|
3209
3209
|
continue;
|
|
3210
3210
|
}
|
|
3211
3211
|
O && (x.textContent = V), x = this._document.createElement("span"), O = 0, V = "";
|
|
3212
3212
|
} else x = this._document.createElement("span");
|
|
3213
|
-
if (G = ee.bg,
|
|
3213
|
+
if (G = ee.bg, J = ee.fg, Q = ee.extended.ext, N = Zr, B = P, H = xt, he && L >= re && L <= ke && (L = re), !this._coreService.isCursorHidden && Kr && this._coreService.isCursorInitialized) {
|
|
3214
3214
|
if (Z.push("xterm-cursor"), this._coreBrowserService.isFocused) T && Z.push("xterm-cursor-blink"), Z.push(k === "bar" ? "xterm-cursor-bar" : k === "underline" ? "xterm-cursor-underline" : "xterm-cursor-block");
|
|
3215
3215
|
else if (R) switch (R) {
|
|
3216
3216
|
case "outline":
|
|
@@ -3240,31 +3240,31 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
3240
3240
|
const Wa = Lt;
|
|
3241
3241
|
Lt = Tt, Tt = Wa;
|
|
3242
3242
|
}
|
|
3243
|
-
let
|
|
3243
|
+
let Ye, lr, je, Dt = !1;
|
|
3244
3244
|
switch (this._decorationService.forEachDecorationAtCell(re, w, void 0, ((ce) => {
|
|
3245
|
-
ce.options.layer !== "top" && Dt || (ce.backgroundColorRGB && (Tt = 50331648, Me = ce.backgroundColorRGB.rgba >> 8 & 16777215,
|
|
3246
|
-
})), !Dt && xt && (
|
|
3245
|
+
ce.options.layer !== "top" && Dt || (ce.backgroundColorRGB && (Tt = 50331648, Me = ce.backgroundColorRGB.rgba >> 8 & 16777215, Ye = ce.backgroundColorRGB), ce.foregroundColorRGB && (Lt = 50331648, Le = ce.foregroundColorRGB.rgba >> 8 & 16777215, lr = ce.foregroundColorRGB), Dt = ce.options.layer === "top");
|
|
3246
|
+
})), !Dt && xt && (Ye = this._coreBrowserService.isFocused ? I.selectionBackgroundOpaque : I.selectionInactiveBackgroundOpaque, Me = Ye.rgba >> 8 & 16777215, Tt = 50331648, Dt = !0, I.selectionForeground && (Lt = 50331648, Le = I.selectionForeground.rgba >> 8 & 16777215, lr = I.selectionForeground)), Dt && Z.push("xterm-decoration-top"), Tt) {
|
|
3247
3247
|
case 16777216:
|
|
3248
3248
|
case 33554432:
|
|
3249
|
-
|
|
3249
|
+
je = I.ansi[Me], Z.push(`xterm-bg-${Me}`);
|
|
3250
3250
|
break;
|
|
3251
3251
|
case 50331648:
|
|
3252
|
-
|
|
3252
|
+
je = g.channels.toColor(Me >> 16, Me >> 8 & 255, 255 & Me), this._addStyle(x, `background-color:#${C((Me >>> 0).toString(16), "0", 6)}`);
|
|
3253
3253
|
break;
|
|
3254
3254
|
default:
|
|
3255
|
-
Yr ? (
|
|
3255
|
+
Yr ? (je = I.foreground, Z.push(`xterm-bg-${h.INVERTED_DEFAULT_COLOR}`)) : je = I.background;
|
|
3256
3256
|
}
|
|
3257
|
-
switch (
|
|
3257
|
+
switch (Ye || ee.isDim() && (Ye = g.color.multiplyOpacity(je, 0.5)), Lt) {
|
|
3258
3258
|
case 16777216:
|
|
3259
3259
|
case 33554432:
|
|
3260
|
-
ee.isBold() && Le < 8 && this._optionsService.rawOptions.drawBoldTextInBrightColors && (Le += 8), this._applyMinimumContrast(x,
|
|
3260
|
+
ee.isBold() && Le < 8 && this._optionsService.rawOptions.drawBoldTextInBrightColors && (Le += 8), this._applyMinimumContrast(x, je, I.ansi[Le], ee, Ye, void 0) || Z.push(`xterm-fg-${Le}`);
|
|
3261
3261
|
break;
|
|
3262
3262
|
case 50331648:
|
|
3263
3263
|
const ce = g.channels.toColor(Le >> 16 & 255, Le >> 8 & 255, 255 & Le);
|
|
3264
|
-
this._applyMinimumContrast(x,
|
|
3264
|
+
this._applyMinimumContrast(x, je, ce, ee, Ye, lr) || this._addStyle(x, `color:#${C(Le.toString(16), "0", 6)}`);
|
|
3265
3265
|
break;
|
|
3266
3266
|
default:
|
|
3267
|
-
this._applyMinimumContrast(x,
|
|
3267
|
+
this._applyMinimumContrast(x, je, I.foreground, ee, Ye, lr) || Yr && Z.push(`xterm-fg-${h.INVERTED_DEFAULT_COLOR}`);
|
|
3268
3268
|
}
|
|
3269
3269
|
Z.length && (x.className = Z.join(" "), Z.length = 0), Kr || he || zr ? x.textContent = V : O++, P !== this.defaultSpacing && (x.style.letterSpacing = `${P}px`), z.push(x), re = ke;
|
|
3270
3270
|
}
|
|
@@ -4002,18 +4002,18 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
4002
4002
|
for (; U > 0 && F.charAt(U - 1) === " "; ) U--;
|
|
4003
4003
|
for (; $ < F.length && F.charAt($ + 1) === " "; ) $++;
|
|
4004
4004
|
} else {
|
|
4005
|
-
let G = b[0],
|
|
4006
|
-
A.getWidth(G) === 0 && (W++, G--), A.getWidth(
|
|
4007
|
-
const Q = A.getString(
|
|
4005
|
+
let G = b[0], J = b[0];
|
|
4006
|
+
A.getWidth(G) === 0 && (W++, G--), A.getWidth(J) === 2 && (I++, J++);
|
|
4007
|
+
const Q = A.getString(J).length;
|
|
4008
4008
|
for (Q > 1 && (D += Q - 1, $ += Q - 1); G > 0 && U > 0 && !this._isCharWordSeparator(A.loadCell(G - 1, this._workCell)); ) {
|
|
4009
4009
|
A.loadCell(G - 1, this._workCell);
|
|
4010
4010
|
const N = this._workCell.getChars().length;
|
|
4011
4011
|
this._workCell.getWidth() === 0 ? (W++, G--) : N > 1 && (x += N - 1, U -= N - 1), U--, G--;
|
|
4012
4012
|
}
|
|
4013
|
-
for (;
|
|
4014
|
-
A.loadCell(
|
|
4013
|
+
for (; J < A.length && $ + 1 < F.length && !this._isCharWordSeparator(A.loadCell(J + 1, this._workCell)); ) {
|
|
4014
|
+
A.loadCell(J + 1, this._workCell);
|
|
4015
4015
|
const N = this._workCell.getChars().length;
|
|
4016
|
-
this._workCell.getWidth() === 2 ? (I++,
|
|
4016
|
+
this._workCell.getWidth() === 2 ? (I++, J++) : N > 1 && (D += N - 1, $ += N - 1), $++, J++;
|
|
4017
4017
|
}
|
|
4018
4018
|
}
|
|
4019
4019
|
$++;
|
|
@@ -4022,9 +4022,9 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
4022
4022
|
if (R && O === 0 && A.getCodePoint(0) !== 32) {
|
|
4023
4023
|
const G = T.lines.get(b[1] - 1);
|
|
4024
4024
|
if (G && A.isWrapped && G.getCodePoint(this._bufferService.cols - 1) !== 32) {
|
|
4025
|
-
const
|
|
4026
|
-
if (
|
|
4027
|
-
const Q = this._bufferService.cols -
|
|
4025
|
+
const J = this._getWordAt([this._bufferService.cols - 1, b[1] - 1], !1, !0, !1);
|
|
4026
|
+
if (J) {
|
|
4027
|
+
const Q = this._bufferService.cols - J.start;
|
|
4028
4028
|
O -= Q, V += Q;
|
|
4029
4029
|
}
|
|
4030
4030
|
}
|
|
@@ -4032,8 +4032,8 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
4032
4032
|
if (L && O + V === this._bufferService.cols && A.getCodePoint(this._bufferService.cols - 1) !== 32) {
|
|
4033
4033
|
const G = T.lines.get(b[1] + 1);
|
|
4034
4034
|
if (G != null && G.isWrapped && G.getCodePoint(0) !== 32) {
|
|
4035
|
-
const
|
|
4036
|
-
|
|
4035
|
+
const J = this._getWordAt([0, b[1] + 1], !1, !1, !0);
|
|
4036
|
+
J && (V += J.length);
|
|
4037
4037
|
}
|
|
4038
4038
|
}
|
|
4039
4039
|
return { start: O, length: V };
|
|
@@ -4465,7 +4465,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
4465
4465
|
var u = this && this.__decorate || function(W, I, x, D) {
|
|
4466
4466
|
var O, V = arguments.length, G = V < 3 ? I : D === null ? D = Object.getOwnPropertyDescriptor(I, x) : D;
|
|
4467
4467
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") G = Reflect.decorate(W, I, x, D);
|
|
4468
|
-
else for (var
|
|
4468
|
+
else for (var J = W.length - 1; J >= 0; J--) (O = W[J]) && (G = (V < 3 ? O(G) : V > 3 ? O(I, x, G) : O(I, x)) || G);
|
|
4469
4469
|
return V > 3 && G && Object.defineProperty(I, x, G), G;
|
|
4470
4470
|
}, f = this && this.__param || function(W, I) {
|
|
4471
4471
|
return function(x, D) {
|
|
@@ -4533,8 +4533,8 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
4533
4533
|
getAttrData() {
|
|
4534
4534
|
return this._curAttrData;
|
|
4535
4535
|
}
|
|
4536
|
-
constructor(I, x, D, O, V, G,
|
|
4537
|
-
super(), this._bufferService = I, this._charsetService = x, this._coreService = D, this._logService = O, this._optionsService = V, this._oscLinkService = G, this._coreMouseService =
|
|
4536
|
+
constructor(I, x, D, O, V, G, J, Q, N = new S.EscapeSequenceParser()) {
|
|
4537
|
+
super(), this._bufferService = I, 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 g.StringToUtf32(), this._utf8Decoder = new g.Utf8ToUtf32(), this._workCell = new d.CellData(), this._windowTitle = "", this._iconName = "", this._windowTitleStack = [], this._iconNameStack = [], this._curAttrData = n.DEFAULT_ATTR_DATA.clone(), this._eraseAttrDataInternal = n.DEFAULT_ATTR_DATA.clone(), this._onRequestBell = this.register(new l.EventEmitter()), this.onRequestBell = this._onRequestBell.event, this._onRequestRefreshRows = this.register(new l.EventEmitter()), this.onRequestRefreshRows = this._onRequestRefreshRows.event, this._onRequestReset = this.register(new l.EventEmitter()), this.onRequestReset = this._onRequestReset.event, this._onRequestSendFocus = this.register(new l.EventEmitter()), this.onRequestSendFocus = this._onRequestSendFocus.event, this._onRequestSyncScrollBar = this.register(new l.EventEmitter()), this.onRequestSyncScrollBar = this._onRequestSyncScrollBar.event, this._onRequestWindowsOptionsReport = this.register(new l.EventEmitter()), this.onRequestWindowsOptionsReport = this._onRequestWindowsOptionsReport.event, this._onA11yChar = this.register(new l.EventEmitter()), this.onA11yChar = this._onA11yChar.event, this._onA11yTab = this.register(new l.EventEmitter()), this.onA11yTab = this._onA11yTab.event, this._onCursorMove = this.register(new l.EventEmitter()), this.onCursorMove = this._onCursorMove.event, this._onLineFeed = this.register(new l.EventEmitter()), this.onLineFeed = this._onLineFeed.event, this._onScroll = this.register(new l.EventEmitter()), this.onScroll = this._onScroll.event, this._onTitleChange = this.register(new l.EventEmitter()), this.onTitleChange = this._onTitleChange.event, this._onColor = this.register(new l.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 $(this._bufferService), this._activeBuffer = this._bufferService.buffer, this.register(this._bufferService.buffers.onBufferActivate(((B) => this._activeBuffer = B.activeBuffer))), this._parser.setCsiHandlerFallback(((B, H) => {
|
|
4538
4538
|
this._logService.debug("Unknown CSI code: ", { identifier: this._parser.identToString(B), params: H.toArray() });
|
|
4539
4539
|
})), this._parser.setEscHandlerFallback(((B) => {
|
|
4540
4540
|
this._logService.debug("Unknown ESC code: ", { identifier: this._parser.identToString(B) });
|
|
@@ -4562,16 +4562,16 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
4562
4562
|
}
|
|
4563
4563
|
parse(I, x) {
|
|
4564
4564
|
let D, O = this._activeBuffer.x, V = this._activeBuffer.y, G = 0;
|
|
4565
|
-
const
|
|
4566
|
-
if (
|
|
4565
|
+
const J = this._parseStack.paused;
|
|
4566
|
+
if (J) {
|
|
4567
4567
|
if (D = this._parser.parse(this._parseBuffer, this._parseStack.decodedLength, x)) return this._logSlowResolvingAsync(D), D;
|
|
4568
4568
|
O = this._parseStack.cursorStartX, V = this._parseStack.cursorStartY, this._parseStack.paused = !1, I.length > L && (G = this._parseStack.position + L);
|
|
4569
4569
|
}
|
|
4570
|
-
if (this._logService.logLevel <= C.LogLevelEnum.DEBUG && this._logService.debug("parsing data" + (typeof I == "string" ? ` "${I}"` : ` "${Array.prototype.map.call(I, ((B) => String.fromCharCode(B))).join("")}"`), typeof I == "string" ? I.split("").map(((B) => B.charCodeAt(0))) : I), this._parseBuffer.length < I.length && this._parseBuffer.length < L && (this._parseBuffer = new Uint32Array(Math.min(I.length, L))),
|
|
4570
|
+
if (this._logService.logLevel <= C.LogLevelEnum.DEBUG && this._logService.debug("parsing data" + (typeof I == "string" ? ` "${I}"` : ` "${Array.prototype.map.call(I, ((B) => String.fromCharCode(B))).join("")}"`), typeof I == "string" ? I.split("").map(((B) => B.charCodeAt(0))) : I), this._parseBuffer.length < I.length && this._parseBuffer.length < L && (this._parseBuffer = new Uint32Array(Math.min(I.length, L))), J || this._dirtyRowTracker.clearRange(), I.length > L) for (let B = G; B < I.length; B += L) {
|
|
4571
4571
|
const H = B + L < I.length ? B + L : I.length, P = typeof I == "string" ? this._stringDecoder.decode(I.substring(B, H), this._parseBuffer) : this._utf8Decoder.decode(I.subarray(B, H), this._parseBuffer);
|
|
4572
4572
|
if (D = this._parser.parse(this._parseBuffer, P)) return this._preserveStack(O, V, P, B), this._logSlowResolvingAsync(D), D;
|
|
4573
4573
|
}
|
|
4574
|
-
else if (!
|
|
4574
|
+
else if (!J) {
|
|
4575
4575
|
const B = typeof I == "string" ? this._stringDecoder.decode(I, this._parseBuffer) : this._utf8Decoder.decode(I, this._parseBuffer);
|
|
4576
4576
|
if (D = this._parser.parse(this._parseBuffer, B)) return this._preserveStack(O, V, B, 0), this._logSlowResolvingAsync(D), D;
|
|
4577
4577
|
}
|
|
@@ -4581,7 +4581,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
4581
4581
|
}
|
|
4582
4582
|
print(I, x, D) {
|
|
4583
4583
|
let O, V;
|
|
4584
|
-
const G = this._charsetService.charset,
|
|
4584
|
+
const G = this._charsetService.charset, J = this._optionsService.rawOptions.screenReaderMode, Q = this._bufferService.cols, N = this._coreService.decPrivateModes.wraparound, B = this._coreService.modes.insertMode, H = this._curAttrData;
|
|
4585
4585
|
let P = this._activeBuffer.lines.get(this._activeBuffer.ybase + this._activeBuffer.y);
|
|
4586
4586
|
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);
|
|
4587
4587
|
let Z = this._parser.precedingJoinState;
|
|
@@ -4593,7 +4593,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
4593
4593
|
const re = this._unicodeService.charProperties(O, Z);
|
|
4594
4594
|
V = y.UnicodeService.extractWidth(re);
|
|
4595
4595
|
const de = y.UnicodeService.extractShouldJoin(re), he = de ? y.UnicodeService.extractWidth(Z) : 0;
|
|
4596
|
-
if (Z = re,
|
|
4596
|
+
if (Z = re, J && this._onA11yChar.fire((0, g.stringFromCodePoint)(O)), this._getCurrentLinkId() && this._oscLinkService.addLineToLink(this._getCurrentLinkId(), this._activeBuffer.ybase + this._activeBuffer.y), this._activeBuffer.x + V - he > Q) {
|
|
4597
4597
|
if (N) {
|
|
4598
4598
|
const ke = P;
|
|
4599
4599
|
let ee = this._activeBuffer.x - he;
|
|
@@ -4844,15 +4844,15 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
4844
4844
|
repeatPrecedingCharacter(I) {
|
|
4845
4845
|
const x = this._parser.precedingJoinState;
|
|
4846
4846
|
if (!x) return !0;
|
|
4847
|
-
const D = I.params[0] || 1, O = y.UnicodeService.extractWidth(x), V = this._activeBuffer.x - O, G = this._activeBuffer.lines.get(this._activeBuffer.ybase + this._activeBuffer.y).getString(V),
|
|
4847
|
+
const D = I.params[0] || 1, O = y.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);
|
|
4848
4848
|
let Q = 0;
|
|
4849
4849
|
for (let B = 0; B < G.length; ) {
|
|
4850
4850
|
const H = G.codePointAt(B) || 0;
|
|
4851
|
-
|
|
4851
|
+
J[Q++] = H, B += H > 65535 ? 2 : 1;
|
|
4852
4852
|
}
|
|
4853
4853
|
let N = Q;
|
|
4854
|
-
for (let B = 1; B < D; ++B)
|
|
4855
|
-
return this.print(
|
|
4854
|
+
for (let B = 1; B < D; ++B) J.copyWithin(N, 0, Q), N += Q;
|
|
4855
|
+
return this.print(J, 0, N), !0;
|
|
4856
4856
|
}
|
|
4857
4857
|
sendDeviceAttributesPrimary(I) {
|
|
4858
4858
|
return I.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;
|
|
@@ -5012,7 +5012,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
5012
5012
|
return !0;
|
|
5013
5013
|
}
|
|
5014
5014
|
requestMode(I, x) {
|
|
5015
|
-
const D = this._coreService.decPrivateModes, { activeProtocol: O, activeEncoding: V } = this._coreMouseService, G = this._coreService, { buffers:
|
|
5015
|
+
const D = this._coreService.decPrivateModes, { activeProtocol: O, activeEncoding: V } = this._coreMouseService, G = this._coreService, { buffers: J, cols: Q } = this._bufferService, { active: N, alt: B } = J, H = this._optionsService.rawOptions, P = (de) => de ? 1 : 2, Z = I.params[0];
|
|
5016
5016
|
return K = 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 === B) : Z === 2004 ? P(D.bracketedPasteMode) : 0, G.triggerDataEvent(`${h.C0.ESC}[${x ? "" : "?"}${K};${re}$y`), !0;
|
|
5017
5017
|
var K, re;
|
|
5018
5018
|
}
|
|
@@ -5024,17 +5024,17 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
5024
5024
|
let V = 0, G = 0;
|
|
5025
5025
|
do {
|
|
5026
5026
|
if (O[G + V] = I.params[x + G], I.hasSubParams(x + G)) {
|
|
5027
|
-
const
|
|
5027
|
+
const J = I.getSubParams(x + G);
|
|
5028
5028
|
let Q = 0;
|
|
5029
5029
|
do
|
|
5030
|
-
O[1] === 5 && (V = 1), O[G + Q + 1 + V] =
|
|
5031
|
-
while (++Q <
|
|
5030
|
+
O[1] === 5 && (V = 1), O[G + Q + 1 + V] = J[Q];
|
|
5031
|
+
while (++Q < J.length && Q + G + 1 + V < O.length);
|
|
5032
5032
|
break;
|
|
5033
5033
|
}
|
|
5034
5034
|
if (O[1] === 5 && G + V >= 2 || O[1] === 2 && G + V >= 5) break;
|
|
5035
5035
|
O[1] && (V = 1);
|
|
5036
5036
|
} while (++G + x < I.length && G + V < O.length);
|
|
5037
|
-
for (let
|
|
5037
|
+
for (let J = 2; J < O.length; ++J) O[J] === -1 && (O[J] = 0);
|
|
5038
5038
|
switch (O[0]) {
|
|
5039
5039
|
case 38:
|
|
5040
5040
|
D.fg = this._updateAttrColor(D.fg, O[1], O[3], O[4], O[5]);
|
|
@@ -5146,8 +5146,8 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
5146
5146
|
const G = parseInt(O);
|
|
5147
5147
|
if (z(G)) if (V === "?") x.push({ type: 0, index: G });
|
|
5148
5148
|
else {
|
|
5149
|
-
const
|
|
5150
|
-
|
|
5149
|
+
const J = (0, k.parseColor)(V);
|
|
5150
|
+
J && x.push({ type: 1, index: G, color: J });
|
|
5151
5151
|
}
|
|
5152
5152
|
}
|
|
5153
5153
|
}
|
|
@@ -8007,7 +8007,7 @@ var rr = (function() {
|
|
|
8007
8007
|
try {
|
|
8008
8008
|
Ls(E);
|
|
8009
8009
|
} catch (g) {
|
|
8010
|
-
m = m ?? [], g instanceof ti ? m = Qe(Qe([],
|
|
8010
|
+
m = m ?? [], g instanceof ti ? m = Qe(Qe([], Ke(m)), Ke(g.errors)) : m.push(g);
|
|
8011
8011
|
}
|
|
8012
8012
|
}
|
|
8013
8013
|
} catch (g) {
|
|
@@ -8065,7 +8065,7 @@ var Ac = {
|
|
|
8065
8065
|
setTimeout: function(e, t) {
|
|
8066
8066
|
for (var r = [], i = 2; i < arguments.length; i++)
|
|
8067
8067
|
r[i - 2] = arguments[i];
|
|
8068
|
-
return setTimeout.apply(void 0, Qe([e, t],
|
|
8068
|
+
return setTimeout.apply(void 0, Qe([e, t], Ke(r)));
|
|
8069
8069
|
},
|
|
8070
8070
|
clearTimeout: function(e) {
|
|
8071
8071
|
return clearTimeout(e);
|
|
@@ -8422,7 +8422,7 @@ var Fc = (function(e) {
|
|
|
8422
8422
|
setInterval: function(e, t) {
|
|
8423
8423
|
for (var r = [], i = 2; i < arguments.length; i++)
|
|
8424
8424
|
r[i - 2] = arguments[i];
|
|
8425
|
-
return setInterval.apply(void 0, Qe([e, t],
|
|
8425
|
+
return setInterval.apply(void 0, Qe([e, t], Ke(r)));
|
|
8426
8426
|
},
|
|
8427
8427
|
clearInterval: function(e) {
|
|
8428
8428
|
return clearInterval(e);
|
|
@@ -8552,13 +8552,13 @@ function oo(e) {
|
|
|
8552
8552
|
case 1:
|
|
8553
8553
|
v.trys.push([1, , 9, 10]), v.label = 2;
|
|
8554
8554
|
case 2:
|
|
8555
|
-
return [4,
|
|
8555
|
+
return [4, yt(r.read())];
|
|
8556
8556
|
case 3:
|
|
8557
|
-
return i = v.sent(), a = i.value, m = i.done, m ? [4,
|
|
8557
|
+
return i = v.sent(), a = i.value, m = i.done, m ? [4, yt(void 0)] : [3, 5];
|
|
8558
8558
|
case 4:
|
|
8559
8559
|
return [2, v.sent()];
|
|
8560
8560
|
case 5:
|
|
8561
|
-
return [4,
|
|
8561
|
+
return [4, yt(a)];
|
|
8562
8562
|
case 6:
|
|
8563
8563
|
return [4, v.sent()];
|
|
8564
8564
|
case 7:
|
|
@@ -8688,7 +8688,7 @@ function qc(e, t) {
|
|
|
8688
8688
|
});
|
|
8689
8689
|
});
|
|
8690
8690
|
}
|
|
8691
|
-
function
|
|
8691
|
+
function ut(e, t, r, i, a) {
|
|
8692
8692
|
i === void 0 && (i = 0), a === void 0 && (a = !1);
|
|
8693
8693
|
var m = t.schedule(function() {
|
|
8694
8694
|
r(), a ? e.add(this.schedule(null, i)) : this.unsubscribe();
|
|
@@ -8699,15 +8699,15 @@ function ht(e, t, r, i, a) {
|
|
|
8699
8699
|
function lo(e, t) {
|
|
8700
8700
|
return t === void 0 && (t = 0), _e(function(r, i) {
|
|
8701
8701
|
r.subscribe(le(i, function(a) {
|
|
8702
|
-
return
|
|
8702
|
+
return ut(i, e, function() {
|
|
8703
8703
|
return i.next(a);
|
|
8704
8704
|
}, t);
|
|
8705
8705
|
}, function() {
|
|
8706
|
-
return
|
|
8706
|
+
return ut(i, e, function() {
|
|
8707
8707
|
return i.complete();
|
|
8708
8708
|
}, t);
|
|
8709
8709
|
}, function(a) {
|
|
8710
|
-
return
|
|
8710
|
+
return ut(i, e, function() {
|
|
8711
8711
|
return i.error(a);
|
|
8712
8712
|
}, t);
|
|
8713
8713
|
}));
|
|
@@ -8737,8 +8737,8 @@ function tl(e, t) {
|
|
|
8737
8737
|
function rl(e, t) {
|
|
8738
8738
|
return new pe(function(r) {
|
|
8739
8739
|
var i;
|
|
8740
|
-
return
|
|
8741
|
-
i = e[so](),
|
|
8740
|
+
return ut(r, t, function() {
|
|
8741
|
+
i = e[so](), ut(r, t, function() {
|
|
8742
8742
|
var a, m, v;
|
|
8743
8743
|
try {
|
|
8744
8744
|
a = i.next(), m = a.value, v = a.done;
|
|
@@ -8757,9 +8757,9 @@ function uo(e, t) {
|
|
|
8757
8757
|
if (!e)
|
|
8758
8758
|
throw new Error("Iterable cannot be null");
|
|
8759
8759
|
return new pe(function(r) {
|
|
8760
|
-
|
|
8760
|
+
ut(r, t, function() {
|
|
8761
8761
|
var i = e[Symbol.asyncIterator]();
|
|
8762
|
-
|
|
8762
|
+
ut(r, t, function() {
|
|
8763
8763
|
i.next().then(function(a) {
|
|
8764
8764
|
a.done ? r.complete() : r.next(a.value);
|
|
8765
8765
|
});
|
|
@@ -8809,7 +8809,7 @@ function Ae(e, t) {
|
|
|
8809
8809
|
}
|
|
8810
8810
|
var al = Array.isArray;
|
|
8811
8811
|
function cl(e, t) {
|
|
8812
|
-
return al(t) ? e.apply(void 0, Qe([],
|
|
8812
|
+
return al(t) ? e.apply(void 0, Qe([], Ke(t))) : e(t);
|
|
8813
8813
|
}
|
|
8814
8814
|
function ll(e) {
|
|
8815
8815
|
return Ae(function(t) {
|
|
@@ -8848,8 +8848,8 @@ function dl(e, t, r, i, a, m, v, s) {
|
|
|
8848
8848
|
})), function() {
|
|
8849
8849
|
};
|
|
8850
8850
|
}
|
|
8851
|
-
function
|
|
8852
|
-
return r === void 0 && (r = 1 / 0), ie(t) ?
|
|
8851
|
+
function ct(e, t, r) {
|
|
8852
|
+
return r === void 0 && (r = 1 / 0), ie(t) ? ct(function(i, a) {
|
|
8853
8853
|
return Ae(function(m, v) {
|
|
8854
8854
|
return t(i, m, a, v);
|
|
8855
8855
|
})(be(e(i, a)));
|
|
@@ -8858,7 +8858,7 @@ function at(e, t, r) {
|
|
|
8858
8858
|
}));
|
|
8859
8859
|
}
|
|
8860
8860
|
function hl(e) {
|
|
8861
|
-
return e === void 0 && (e = 1 / 0),
|
|
8861
|
+
return e === void 0 && (e = 1 / 0), ct(ir, e);
|
|
8862
8862
|
}
|
|
8863
8863
|
function ul(e) {
|
|
8864
8864
|
return new pe(function(t) {
|
|
@@ -8888,13 +8888,13 @@ var gl = ["addListener", "removeListener"], pl = ["addEventListener", "removeEve
|
|
|
8888
8888
|
function pi(e, t, r, i) {
|
|
8889
8889
|
if (ie(r) && (i = r, r = void 0), i)
|
|
8890
8890
|
return pi(e, t, r).pipe(ll(i));
|
|
8891
|
-
var a =
|
|
8891
|
+
var a = Ke(bl(e) ? pl.map(function(s) {
|
|
8892
8892
|
return function(c) {
|
|
8893
8893
|
return e[s](t, c, r);
|
|
8894
8894
|
};
|
|
8895
8895
|
}) : vl(e) ? gl.map(Ms(e, t)) : ml(e) ? _l.map(Ms(e, t)) : [], 2), m = a[0], v = a[1];
|
|
8896
8896
|
if (!m && Ui(e))
|
|
8897
|
-
return
|
|
8897
|
+
return ct(function(s) {
|
|
8898
8898
|
return pi(s, t, r);
|
|
8899
8899
|
})(be(e));
|
|
8900
8900
|
if (!m)
|
|
@@ -8951,7 +8951,7 @@ var Cl = Array.isArray;
|
|
|
8951
8951
|
function wl(e) {
|
|
8952
8952
|
return e.length === 1 && Cl(e[0]) ? e[0] : e;
|
|
8953
8953
|
}
|
|
8954
|
-
function
|
|
8954
|
+
function Pe(e, t) {
|
|
8955
8955
|
return _e(function(r, i) {
|
|
8956
8956
|
var a = 0;
|
|
8957
8957
|
r.subscribe(le(i, function(m) {
|
|
@@ -9118,7 +9118,7 @@ function ri(e, t) {
|
|
|
9118
9118
|
a.unsubscribe(), e();
|
|
9119
9119
|
}
|
|
9120
9120
|
});
|
|
9121
|
-
return be(t.apply(void 0, Qe([],
|
|
9121
|
+
return be(t.apply(void 0, Qe([], Ke(r)))).subscribe(a);
|
|
9122
9122
|
}
|
|
9123
9123
|
}
|
|
9124
9124
|
function Ll(e) {
|
|
@@ -9223,8 +9223,8 @@ function ii() {
|
|
|
9223
9223
|
u(f);
|
|
9224
9224
|
i.subscribe(le(a, function(h) {
|
|
9225
9225
|
if (c) {
|
|
9226
|
-
var _ = Qe([h],
|
|
9227
|
-
a.next(r ? r.apply(void 0, Qe([],
|
|
9226
|
+
var _ = Qe([h], Ke(v));
|
|
9227
|
+
a.next(r ? r.apply(void 0, Qe([], Ke(_))) : _);
|
|
9228
9228
|
}
|
|
9229
9229
|
}));
|
|
9230
9230
|
});
|
|
@@ -9355,12 +9355,12 @@ const Wl = Y`
|
|
|
9355
9355
|
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"
|
|
9356
9356
|
/>
|
|
9357
9357
|
</svg>`;
|
|
9358
|
-
var Kl = Object.defineProperty, Zl = Object.getOwnPropertyDescriptor,
|
|
9358
|
+
var Kl = Object.defineProperty, Zl = Object.getOwnPropertyDescriptor, _t = (e, t, r, i) => {
|
|
9359
9359
|
for (var a = i > 1 ? void 0 : i ? Zl(t, r) : t, m = e.length - 1, v; m >= 0; m--)
|
|
9360
9360
|
(v = e[m]) && (a = (i ? v(t, r, a) : v(a)) || a);
|
|
9361
9361
|
return i && a && Kl(t, r, a), a;
|
|
9362
9362
|
};
|
|
9363
|
-
let
|
|
9363
|
+
let Ze = class extends we {
|
|
9364
9364
|
constructor() {
|
|
9365
9365
|
super(...arguments), this.text = "Copy", this.loadingText = "Saving...", this.loading = !1, this.disabled = !1;
|
|
9366
9366
|
}
|
|
@@ -9389,7 +9389,7 @@ let Ke = class extends we {
|
|
|
9389
9389
|
`;
|
|
9390
9390
|
}
|
|
9391
9391
|
};
|
|
9392
|
-
|
|
9392
|
+
Ze.styles = Ne`
|
|
9393
9393
|
vscode-button {
|
|
9394
9394
|
color: var(--vscode-button-foreground);
|
|
9395
9395
|
background-color: var(--vscode-button-background);
|
|
@@ -9410,27 +9410,27 @@ Ke.styles = Ne`
|
|
|
9410
9410
|
padding: 0;
|
|
9411
9411
|
}
|
|
9412
9412
|
`;
|
|
9413
|
-
|
|
9413
|
+
_t([
|
|
9414
9414
|
j({ type: String })
|
|
9415
|
-
],
|
|
9416
|
-
|
|
9415
|
+
], Ze.prototype, "text", 2);
|
|
9416
|
+
_t([
|
|
9417
9417
|
j({ type: String })
|
|
9418
|
-
],
|
|
9419
|
-
|
|
9418
|
+
], Ze.prototype, "loadingText", 2);
|
|
9419
|
+
_t([
|
|
9420
9420
|
j({ type: Boolean, reflect: !0 })
|
|
9421
|
-
],
|
|
9422
|
-
|
|
9421
|
+
], Ze.prototype, "loading", 2);
|
|
9422
|
+
_t([
|
|
9423
9423
|
j({ type: Boolean, reflect: !0 })
|
|
9424
|
-
],
|
|
9425
|
-
|
|
9424
|
+
], Ze.prototype, "disabled", 2);
|
|
9425
|
+
_t([
|
|
9426
9426
|
j({ type: Boolean, reflect: !0 })
|
|
9427
|
-
],
|
|
9428
|
-
|
|
9427
|
+
], Ze.prototype, "shareIcon", 2);
|
|
9428
|
+
_t([
|
|
9429
9429
|
j({ type: Boolean, reflect: !0 })
|
|
9430
|
-
],
|
|
9431
|
-
|
|
9430
|
+
], Ze.prototype, "saveIcon", 2);
|
|
9431
|
+
Ze = _t([
|
|
9432
9432
|
xe("action-button")
|
|
9433
|
-
],
|
|
9433
|
+
], Ze);
|
|
9434
9434
|
const Vs = Y`
|
|
9435
9435
|
<svg
|
|
9436
9436
|
height="16"
|
|
@@ -10810,8 +10810,8 @@ var id = Object.defineProperty, sd = Object.getOwnPropertyDescriptor, Co = (e) =
|
|
|
10810
10810
|
for (var a = i > 1 ? void 0 : i ? sd(t, r) : t, m = e.length - 1, v; m >= 0; m--)
|
|
10811
10811
|
(v = e[m]) && (a = (i ? v(t, r, a) : v(a)) || a);
|
|
10812
10812
|
return i && a && id(t, r, a), a;
|
|
10813
|
-
}, nd = (e, t, r) => t.has(e) || Co("Cannot " + r), od = (e, t, r) => t.has(e) ? Co("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), q = (e, t, r) => (nd(e, t, "access private method"), r),
|
|
10814
|
-
const
|
|
10813
|
+
}, nd = (e, t, r) => t.has(e) || Co("Cannot " + r), od = (e, t, r) => t.has(e) ? Co("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), q = (e, t, r) => (nd(e, t, "access private method"), r), X, Be, Nr, wo, Wi, Gi, Eo, Sr, Fe, mi, ko, Io, bi, Bo, Si, Ao, Ro, xo, Lo, To, Do, Oo, No, Mo = /* @__PURE__ */ ((e) => (e.OpenLink = "Open", e.CopyToClipboard = "Copy to clipboard", e.Cancel = "Cancel", e))(Mo || {});
|
|
10814
|
+
const ft = (...e) => `--vscode-${e.join("-")}`, nt = (e) => ft("terminal", e), ad = (e) => `ansi${e.charAt(0).toUpperCase() + e.slice(1)}`, cd = [
|
|
10815
10815
|
"terminal:",
|
|
10816
10816
|
"theme:",
|
|
10817
10817
|
te.platformApiRequest,
|
|
@@ -10842,7 +10842,7 @@ const yt = (...e) => `--vscode-${e.join("-")}`, bt = (e) => yt("terminal", e), a
|
|
|
10842
10842
|
], dd = "console-view";
|
|
10843
10843
|
let se = class extends we {
|
|
10844
10844
|
constructor() {
|
|
10845
|
-
super(...arguments), od(this,
|
|
10845
|
+
super(...arguments), od(this, X), this.copyText = "Copy", this.disposables = [], this.containerSize = {
|
|
10846
10846
|
height: 0,
|
|
10847
10847
|
width: 0
|
|
10848
10848
|
}, 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;
|
|
@@ -10892,7 +10892,7 @@ let se = class extends we {
|
|
|
10892
10892
|
convertEol: !0,
|
|
10893
10893
|
allowProposedApi: !0,
|
|
10894
10894
|
drawBoldTextInBrightColors: !1
|
|
10895
|
-
}), this.initialContent && ((u = this.terminal) == null || u.write(this.initialContent)), this.fitAddon = new Ml(), this.fitAddon.activate(this.terminal), this.serializer = new Sc.SerializeAddon(), this.terminal.loadAddon(this.serializer), this.terminal.loadAddon(new wc.Unicode11Addon()), this.terminal.loadAddon(new kc.WebLinksAddon(q(this,
|
|
10895
|
+
}), this.initialContent && ((u = this.terminal) == null || u.write(this.initialContent)), this.fitAddon = new Ml(), this.fitAddon.activate(this.terminal), this.serializer = new Sc.SerializeAddon(), this.terminal.loadAddon(this.serializer), this.terminal.loadAddon(new wc.Unicode11Addon()), this.terminal.loadAddon(new kc.WebLinksAddon(q(this, X, To).bind(this))), this.terminal.attachCustomKeyEventHandler((f) => {
|
|
10896
10896
|
var h;
|
|
10897
10897
|
if (f.shiftKey && f.ctrlKey && f.code === "KeyC") {
|
|
10898
10898
|
const _ = (h = this == null ? void 0 : this.terminal) == null ? void 0 : h.getSelection();
|
|
@@ -10901,7 +10901,7 @@ let se = class extends we {
|
|
|
10901
10901
|
}
|
|
10902
10902
|
return !0;
|
|
10903
10903
|
}), this.terminal.unicode.activeVersion = "11", this.terminal.options.drawBoldTextInBrightColors;
|
|
10904
|
-
const c = q(this,
|
|
10904
|
+
const c = q(this, X, Be).call(this);
|
|
10905
10905
|
this.disposables.push(
|
|
10906
10906
|
// todo(sebastian): what's the type of e?
|
|
10907
10907
|
Fl(c, async (f) => {
|
|
@@ -10913,7 +10913,7 @@ let se = class extends we {
|
|
|
10913
10913
|
// this.featureState$ = features.loadSnapshot(e.output.snapshot)
|
|
10914
10914
|
// break
|
|
10915
10915
|
case te.activeThemeChanged:
|
|
10916
|
-
q(this,
|
|
10916
|
+
q(this, X, Sr).call(this);
|
|
10917
10917
|
break;
|
|
10918
10918
|
case te.terminalStdout:
|
|
10919
10919
|
case te.terminalStderr:
|
|
@@ -10950,7 +10950,7 @@ let se = class extends we {
|
|
|
10950
10950
|
const {
|
|
10951
10951
|
updateCellOutput: { exitCode: S, isSlackReady: E }
|
|
10952
10952
|
} = _;
|
|
10953
|
-
this.isUpdatedReady = !0, this.exitCode = S, this.isSlackReady = !!E, q(this,
|
|
10953
|
+
this.isUpdatedReady = !0, this.exitCode = S, this.isSlackReady = !!E, q(this, X, Bo).call(this);
|
|
10954
10954
|
}
|
|
10955
10955
|
_.createEscalation && (this.escalationUrl = _.createEscalation.escalationUrl);
|
|
10956
10956
|
}
|
|
@@ -11009,28 +11009,28 @@ let se = class extends we {
|
|
|
11009
11009
|
super.disconnectedCallback(), this.dispose();
|
|
11010
11010
|
}
|
|
11011
11011
|
updated(e) {
|
|
11012
|
-
super.updated(e), e.has("theme") && (this.applyThemeStyles(), q(this,
|
|
11012
|
+
super.updated(e), e.has("theme") && (this.applyThemeStyles(), q(this, X, Sr).call(this));
|
|
11013
11013
|
}
|
|
11014
11014
|
firstUpdated(e) {
|
|
11015
11015
|
var m;
|
|
11016
11016
|
super.firstUpdated(e);
|
|
11017
|
-
const t = q(this,
|
|
11017
|
+
const t = q(this, X, Wi).call(this);
|
|
11018
11018
|
this.takeFocus && window.addEventListener("focus", () => {
|
|
11019
|
-
q(this,
|
|
11019
|
+
q(this, X, bi).call(this);
|
|
11020
11020
|
}), window.addEventListener("click", () => {
|
|
11021
|
-
q(this,
|
|
11022
|
-
}), this.terminal.open(t), this.takeFocus && this.terminal.focus(), q(this,
|
|
11023
|
-
const r = q(this,
|
|
11021
|
+
q(this, X, bi).call(this, !1);
|
|
11022
|
+
}), this.terminal.open(t), this.takeFocus && this.terminal.focus(), q(this, X, Nr).call(this), q(this, X, Eo).call(this), q(this, X, Sr).call(this);
|
|
11023
|
+
const r = q(this, X, wo).call(this), i = new pe((v) => {
|
|
11024
11024
|
window.addEventListener(
|
|
11025
11025
|
"resize",
|
|
11026
|
-
() => v.next(q(this,
|
|
11026
|
+
() => v.next(q(this, X, mi).call(this, !0))
|
|
11027
11027
|
), t.addEventListener(
|
|
11028
11028
|
"mouseup",
|
|
11029
|
-
() => v.next(q(this,
|
|
11029
|
+
() => v.next(q(this, X, mi).call(this, !1))
|
|
11030
11030
|
);
|
|
11031
11031
|
}).pipe(vo());
|
|
11032
|
-
q(this,
|
|
11033
|
-
const a = q(this,
|
|
11032
|
+
q(this, X, ko).call(this, i), q(this, X, Io).call(this, i), t.appendChild(r);
|
|
11033
|
+
const a = q(this, X, Be).call(this);
|
|
11034
11034
|
a.postMessage && ye(a, te.terminalOpen, {
|
|
11035
11035
|
"runme.dev/id": this.id,
|
|
11036
11036
|
terminalDimensions: Fo(
|
|
@@ -11050,12 +11050,12 @@ let se = class extends we {
|
|
|
11050
11050
|
<div class="button-group">
|
|
11051
11051
|
<copy-button
|
|
11052
11052
|
copyText="${this.copyText}"
|
|
11053
|
-
@onCopy="${async () => q(this,
|
|
11053
|
+
@onCopy="${async () => q(this, X, No).call(this)}"
|
|
11054
11054
|
></copy-button>
|
|
11055
11055
|
${ue(
|
|
11056
11056
|
!0,
|
|
11057
11057
|
() => Y`<gist-cell
|
|
11058
|
-
@onGist="${q(this,
|
|
11058
|
+
@onGist="${q(this, X, xo)}"
|
|
11059
11059
|
></gist-cell>`,
|
|
11060
11060
|
() => {
|
|
11061
11061
|
}
|
|
@@ -11065,7 +11065,7 @@ let se = class extends we {
|
|
|
11065
11065
|
() => Y`<save-button
|
|
11066
11066
|
?loading=${this.isLoading}
|
|
11067
11067
|
?signedIn=${!1}
|
|
11068
|
-
@onClick="${q(this,
|
|
11068
|
+
@onClick="${q(this, X, Si)}"
|
|
11069
11069
|
>
|
|
11070
11070
|
</save-button>`,
|
|
11071
11071
|
() => {
|
|
@@ -11075,7 +11075,7 @@ let se = class extends we {
|
|
|
11075
11075
|
this.shouldRenderShareButton(),
|
|
11076
11076
|
() => Y`<share-button
|
|
11077
11077
|
?loading=${this.isLoading}
|
|
11078
|
-
@onClick="${q(this,
|
|
11078
|
+
@onClick="${q(this, X, Si)}"
|
|
11079
11079
|
>
|
|
11080
11080
|
</share-button>`,
|
|
11081
11081
|
() => {
|
|
@@ -11087,8 +11087,8 @@ let se = class extends we {
|
|
|
11087
11087
|
?loading=${this.isCreatingEscalation}
|
|
11088
11088
|
?saveIcon="${!0}"
|
|
11089
11089
|
text="Escalate"
|
|
11090
|
-
@onClick="${q(this,
|
|
11091
|
-
@onClickDisabled=${q(this,
|
|
11090
|
+
@onClick="${q(this, X, Ao)}"
|
|
11091
|
+
@onClickDisabled=${q(this, X, Oo)}
|
|
11092
11092
|
>
|
|
11093
11093
|
</action-button>`,
|
|
11094
11094
|
() => {
|
|
@@ -11099,7 +11099,7 @@ let se = class extends we {
|
|
|
11099
11099
|
() => Y`<action-button
|
|
11100
11100
|
?saveIcon="${!0}"
|
|
11101
11101
|
text="Open Escalation"
|
|
11102
|
-
@onClick="${q(this,
|
|
11102
|
+
@onClick="${q(this, X, Ro)}"
|
|
11103
11103
|
>
|
|
11104
11104
|
</action-button>`,
|
|
11105
11105
|
() => {
|
|
@@ -11109,7 +11109,7 @@ let se = class extends we {
|
|
|
11109
11109
|
this.platformId && !this.isLoading,
|
|
11110
11110
|
() => Y`<open-cell
|
|
11111
11111
|
?disabled=${!this.isPlatformAuthEnabled}
|
|
11112
|
-
@onOpen="${q(this,
|
|
11112
|
+
@onOpen="${q(this, X, Do)}"
|
|
11113
11113
|
></open-cell>`,
|
|
11114
11114
|
() => {
|
|
11115
11115
|
}
|
|
@@ -11131,7 +11131,7 @@ let se = class extends we {
|
|
|
11131
11131
|
return !1;
|
|
11132
11132
|
}
|
|
11133
11133
|
};
|
|
11134
|
-
|
|
11134
|
+
X = /* @__PURE__ */ new WeakSet();
|
|
11135
11135
|
Be = function() {
|
|
11136
11136
|
return this.context ?? Pl();
|
|
11137
11137
|
};
|
|
@@ -11156,7 +11156,7 @@ wo = function() {
|
|
|
11156
11156
|
if (t === void 0 || !this.fitAddon)
|
|
11157
11157
|
return;
|
|
11158
11158
|
const s = (m.clientY - t.initialClientY) / this.fitAddon.getCellSize().height, c = Math.round(t.initialRows + s);
|
|
11159
|
-
c !== this.rows && (q(this,
|
|
11159
|
+
c !== this.rows && (q(this, X, Nr).call(this, c), (u = this.terminal) == null || u.focus());
|
|
11160
11160
|
};
|
|
11161
11161
|
return e.addEventListener("mousedown", r), window.addEventListener("mouseup", i), window.addEventListener("mousemove", a), this.disposables.push({
|
|
11162
11162
|
dispose: () => {
|
|
@@ -11169,55 +11169,56 @@ Wi = function() {
|
|
|
11169
11169
|
return (e = this.shadowRoot) == null ? void 0 : e.querySelector("#terminal");
|
|
11170
11170
|
};
|
|
11171
11171
|
Gi = function() {
|
|
11172
|
-
const e = q(this,
|
|
11172
|
+
const e = q(this, X, Wi).call(this);
|
|
11173
11173
|
if (!e)
|
|
11174
11174
|
return;
|
|
11175
11175
|
const { width: t, height: r } = e.getBoundingClientRect();
|
|
11176
11176
|
return { width: t, height: r };
|
|
11177
11177
|
};
|
|
11178
11178
|
Eo = function() {
|
|
11179
|
-
const e = q(this,
|
|
11179
|
+
const e = q(this, X, Gi).call(this);
|
|
11180
11180
|
e && (this.containerSize = e);
|
|
11181
11181
|
};
|
|
11182
11182
|
Sr = function() {
|
|
11183
|
-
const e = q(this,
|
|
11183
|
+
const e = q(this, X, Fe).call(this, nt("foreground")), t = q(this, X, Fe).call(this, nt("background")), i = {
|
|
11184
|
+
background: t && t.startsWith("#") ? t : q(this, X, Fe).call(this, ft("editor", "background")),
|
|
11184
11185
|
foreground: e,
|
|
11185
|
-
cursor: q(this,
|
|
11186
|
-
cursorAccent: q(this,
|
|
11187
|
-
selectionForeground: q(this,
|
|
11188
|
-
selectionBackground: q(this,
|
|
11189
|
-
selectionInactiveBackground: q(this,
|
|
11186
|
+
cursor: q(this, X, Fe).call(this, ft("terminalCursor", "foreground")) || e,
|
|
11187
|
+
cursorAccent: q(this, X, Fe).call(this, ft("terminalCursor", "background")),
|
|
11188
|
+
selectionForeground: q(this, X, Fe).call(this, nt("selectionForeground")),
|
|
11189
|
+
selectionBackground: q(this, X, Fe).call(this, nt("selectionBackground")),
|
|
11190
|
+
selectionInactiveBackground: q(this, X, Fe).call(this, nt("inactiveSelectionBackground")),
|
|
11190
11191
|
...Object.fromEntries(
|
|
11191
11192
|
ld.map(
|
|
11192
|
-
(
|
|
11193
|
+
(a) => [a, q(this, X, Fe).call(this, nt(ad(a)))]
|
|
11193
11194
|
)
|
|
11194
11195
|
)
|
|
11195
11196
|
};
|
|
11196
|
-
this.terminal.options.theme =
|
|
11197
|
+
this.terminal.options.theme = i;
|
|
11197
11198
|
};
|
|
11198
|
-
|
|
11199
|
-
var r;
|
|
11199
|
+
Fe = function(e) {
|
|
11200
|
+
var r, i;
|
|
11200
11201
|
const t = (r = this.shadowRoot) == null ? void 0 : r.querySelector("#terminal");
|
|
11201
|
-
return getComputedStyle(t).getPropertyValue(e)
|
|
11202
|
+
return ((i = getComputedStyle(t).getPropertyValue(e)) == null ? void 0 : i.trim()) || void 0;
|
|
11202
11203
|
};
|
|
11203
11204
|
mi = function(e) {
|
|
11204
11205
|
if (!this.fitAddon)
|
|
11205
11206
|
return;
|
|
11206
|
-
const t = q(this,
|
|
11207
|
+
const t = q(this, X, Gi).call(this);
|
|
11207
11208
|
if (!t || e && Math.abs(this.containerSize.width - t.width) <= Number.EPSILON && Math.abs(this.containerSize.height - t.height) <= Number.EPSILON)
|
|
11208
11209
|
return;
|
|
11209
11210
|
this.containerSize = t;
|
|
11210
|
-
const r = q(this,
|
|
11211
|
+
const r = q(this, X, Nr).call(this);
|
|
11211
11212
|
if (r)
|
|
11212
11213
|
return Fo(r);
|
|
11213
11214
|
};
|
|
11214
11215
|
ko = async function(e) {
|
|
11215
11216
|
const r = e.pipe(
|
|
11216
|
-
|
|
11217
|
+
Pe((i) => !!i),
|
|
11217
11218
|
_o(),
|
|
11218
11219
|
po(100)
|
|
11219
11220
|
).subscribe(async (i) => {
|
|
11220
|
-
const a = q(this,
|
|
11221
|
+
const a = q(this, X, Be).call(this);
|
|
11221
11222
|
a.postMessage && await ye(a, te.terminalResize, {
|
|
11222
11223
|
"runme.dev/id": this.id,
|
|
11223
11224
|
terminalDimensions: i
|
|
@@ -11228,11 +11229,11 @@ ko = async function(e) {
|
|
|
11228
11229
|
Io = async function(e) {
|
|
11229
11230
|
const r = e.pipe(
|
|
11230
11231
|
Ae((i) => i == null ? void 0 : i.rows),
|
|
11231
|
-
|
|
11232
|
+
Pe((i) => !!i),
|
|
11232
11233
|
_o(),
|
|
11233
11234
|
po(100)
|
|
11234
11235
|
).subscribe(async (i) => {
|
|
11235
|
-
const a = q(this,
|
|
11236
|
+
const a = q(this, X, Be).call(this);
|
|
11236
11237
|
a.postMessage && a.postMessage({
|
|
11237
11238
|
type: te.mutateAnnotations,
|
|
11238
11239
|
output: {
|
|
@@ -11248,13 +11249,13 @@ Io = async function(e) {
|
|
|
11248
11249
|
bi = async function(e = !0) {
|
|
11249
11250
|
var r;
|
|
11250
11251
|
e && ((r = this.terminal) == null || r.focus());
|
|
11251
|
-
const t = q(this,
|
|
11252
|
+
const t = q(this, X, Be).call(this);
|
|
11252
11253
|
t.postMessage && await ye(t, te.terminalFocus, {
|
|
11253
11254
|
"runme.dev/id": this.id
|
|
11254
11255
|
});
|
|
11255
11256
|
};
|
|
11256
11257
|
Bo = async function() {
|
|
11257
|
-
const e = q(this,
|
|
11258
|
+
const e = q(this, X, Be).call(this);
|
|
11258
11259
|
if (!(!e.postMessage || !this.shareUrl))
|
|
11259
11260
|
return ye(e, te.optionsMessage, {
|
|
11260
11261
|
title: 'Please share link with caution. Anyone with the link has access. Click "Open" to toggle visibility.',
|
|
@@ -11264,18 +11265,18 @@ Bo = async function() {
|
|
|
11264
11265
|
});
|
|
11265
11266
|
};
|
|
11266
11267
|
Si = async function() {
|
|
11267
|
-
return q(this,
|
|
11268
|
+
return q(this, X, Lo).call(this, !0);
|
|
11268
11269
|
};
|
|
11269
11270
|
Ao = async function() {
|
|
11270
11271
|
this.isCreatingEscalation = !0;
|
|
11271
11272
|
};
|
|
11272
11273
|
Ro = async function() {
|
|
11273
|
-
const e = q(this,
|
|
11274
|
+
const e = q(this, X, Be).call(this);
|
|
11274
11275
|
if (this.escalationUrl)
|
|
11275
11276
|
return ye(e, te.openLink, this.escalationUrl);
|
|
11276
11277
|
};
|
|
11277
11278
|
xo = function() {
|
|
11278
|
-
const e = q(this,
|
|
11279
|
+
const e = q(this, X, Be).call(this);
|
|
11279
11280
|
if (e.postMessage)
|
|
11280
11281
|
return ye(e, te.gistCell, {
|
|
11281
11282
|
cellId: this.id,
|
|
@@ -11283,25 +11284,25 @@ xo = function() {
|
|
|
11283
11284
|
});
|
|
11284
11285
|
};
|
|
11285
11286
|
Lo = async function(e) {
|
|
11286
|
-
q(this,
|
|
11287
|
+
q(this, X, Be).call(this).postMessage;
|
|
11287
11288
|
};
|
|
11288
11289
|
To = function(e, t) {
|
|
11289
|
-
ye(q(this,
|
|
11290
|
+
ye(q(this, X, Be).call(this), te.openLink, t);
|
|
11290
11291
|
};
|
|
11291
11292
|
Do = function() {
|
|
11292
11293
|
ye(
|
|
11293
|
-
q(this,
|
|
11294
|
+
q(this, X, Be).call(this),
|
|
11294
11295
|
te.openLink,
|
|
11295
11296
|
this.shareUrl
|
|
11296
11297
|
);
|
|
11297
11298
|
};
|
|
11298
11299
|
Oo = function() {
|
|
11299
|
-
ye(q(this,
|
|
11300
|
+
ye(q(this, X, Be).call(this), te.errorMessage, `There is no Slack integration configured yet.
|
|
11300
11301
|
Open Dashboard to configure it`);
|
|
11301
11302
|
};
|
|
11302
11303
|
No = function() {
|
|
11303
11304
|
var r;
|
|
11304
|
-
const e = q(this,
|
|
11305
|
+
const e = q(this, X, Be).call(this);
|
|
11305
11306
|
if (!e.postMessage)
|
|
11306
11307
|
return;
|
|
11307
11308
|
const t = hd(
|
|
@@ -11376,7 +11377,7 @@ se.styles = Ne`
|
|
|
11376
11377
|
}
|
|
11377
11378
|
|
|
11378
11379
|
.xterm .xterm-viewport {
|
|
11379
|
-
background-color: var(${Mt(
|
|
11380
|
+
background-color: var(${Mt(nt("background"))}) !important;
|
|
11380
11381
|
border: solid 1px var(--vscode-terminal-border);
|
|
11381
11382
|
/* On OS X this is required in order for the scroll bar to appear fully opaque */
|
|
11382
11383
|
overflow-y: scroll;
|
|
@@ -11409,19 +11410,19 @@ se.styles = Ne`
|
|
|
11409
11410
|
|
|
11410
11411
|
.xterm:hover .xterm-viewport::-webkit-scrollbar-thumb {
|
|
11411
11412
|
background-color: var(
|
|
11412
|
-
${Mt(
|
|
11413
|
+
${Mt(ft("scrollbarSlider", "background"))}
|
|
11413
11414
|
);
|
|
11414
11415
|
}
|
|
11415
11416
|
|
|
11416
11417
|
.xterm:hover .xterm-viewport::-webkit-scrollbar-thumb:hover {
|
|
11417
11418
|
background-color: var(
|
|
11418
|
-
${Mt(
|
|
11419
|
+
${Mt(ft("scrollbarSlider", "hoverBackground"))}
|
|
11419
11420
|
);
|
|
11420
11421
|
}
|
|
11421
11422
|
|
|
11422
11423
|
.xterm:hover .xterm-viewport::-webkit-scrollbar-thumb:active {
|
|
11423
11424
|
background-color: var(
|
|
11424
|
-
${Mt(
|
|
11425
|
+
${Mt(ft("scrollbarSlider", "activeBackground"))}
|
|
11425
11426
|
);
|
|
11426
11427
|
}
|
|
11427
11428
|
|
|
@@ -11855,7 +11856,7 @@ var M;
|
|
|
11855
11856
|
(function(e) {
|
|
11856
11857
|
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";
|
|
11857
11858
|
})(M || (M = {}));
|
|
11858
|
-
function
|
|
11859
|
+
function pt(e, t) {
|
|
11859
11860
|
switch (e) {
|
|
11860
11861
|
case M.STRING:
|
|
11861
11862
|
return "";
|
|
@@ -11888,7 +11889,7 @@ function md(e, t) {
|
|
|
11888
11889
|
return t == 0;
|
|
11889
11890
|
}
|
|
11890
11891
|
}
|
|
11891
|
-
const Vo = 2,
|
|
11892
|
+
const Vo = 2, Ge = Symbol.for("reflect unsafe local");
|
|
11892
11893
|
function Ho(e, t) {
|
|
11893
11894
|
const r = e[t.localName].case;
|
|
11894
11895
|
return r === void 0 ? r : t.fields.find((i) => i.localName === r);
|
|
@@ -11946,7 +11947,7 @@ function Sd(e, t) {
|
|
|
11946
11947
|
e[r] = t.enum.values[0].number;
|
|
11947
11948
|
break;
|
|
11948
11949
|
case "scalar":
|
|
11949
|
-
e[r] =
|
|
11950
|
+
e[r] = pt(t.scalar, t.longAsString);
|
|
11950
11951
|
break;
|
|
11951
11952
|
}
|
|
11952
11953
|
}
|
|
@@ -12434,7 +12435,7 @@ function Md(e, t, r) {
|
|
|
12434
12435
|
var i, a, m, v;
|
|
12435
12436
|
let s;
|
|
12436
12437
|
e.clientStreaming && e.serverStreaming ? s = "bidi_streaming" : e.clientStreaming ? s = "client_streaming" : e.serverStreaming ? s = "server_streaming" : s = "unary";
|
|
12437
|
-
const c = r.getMessage(
|
|
12438
|
+
const c = r.getMessage($e(e.inputType)), u = r.getMessage($e(e.outputType));
|
|
12438
12439
|
Oe(c, `invalid MethodDescriptorProto: input_type ${e.inputType} not found`), Oe(u, `invalid MethodDescriptorProto: output_type ${e.inputType} not found`);
|
|
12439
12440
|
const f = e.name;
|
|
12440
12441
|
return {
|
|
@@ -12490,7 +12491,7 @@ function ki(e, t, r, i, a) {
|
|
|
12490
12491
|
if (c) {
|
|
12491
12492
|
const S = t.kind == "file" ? t : t.file, E = t.kind == "file" ? void 0 : t, g = Mr(e, E, S);
|
|
12492
12493
|
u.kind = "extension", u.file = S, u.parent = E, u.oneof = void 0, u.typeName = g, u.jsonName = `[${g}]`, u.toString = () => `extension ${g}`;
|
|
12493
|
-
const n = r.getMessage(
|
|
12494
|
+
const n = r.getMessage($e(e.extendee));
|
|
12494
12495
|
Oe(n, `invalid FieldDescriptorProto: extendee ${e.extendee} not found`), u.extendee = n;
|
|
12495
12496
|
} else {
|
|
12496
12497
|
const S = t;
|
|
@@ -12498,7 +12499,7 @@ function ki(e, t, r, i, a) {
|
|
|
12498
12499
|
}
|
|
12499
12500
|
const f = e.label, h = e.type, _ = (s = e.options) === null || s === void 0 ? void 0 : s.jstype;
|
|
12500
12501
|
if (f === zi) {
|
|
12501
|
-
const S = h == $t ? a == null ? void 0 : a.get(
|
|
12502
|
+
const S = h == $t ? a == null ? void 0 : a.get($e(e.typeName)) : void 0;
|
|
12502
12503
|
if (S) {
|
|
12503
12504
|
u.fieldKind = "map";
|
|
12504
12505
|
const { key: E, value: g } = Kd(S);
|
|
@@ -12507,10 +12508,10 @@ function ki(e, t, r, i, a) {
|
|
|
12507
12508
|
switch (u.fieldKind = "list", h) {
|
|
12508
12509
|
case $t:
|
|
12509
12510
|
case Qt:
|
|
12510
|
-
u.listKind = "message", u.message = r.getMessage(
|
|
12511
|
+
u.listKind = "message", u.message = r.getMessage($e(e.typeName)), Oe(u.message), u.delimitedEncoding = js(e, t);
|
|
12511
12512
|
break;
|
|
12512
12513
|
case Ks:
|
|
12513
|
-
u.listKind = "enum", u.enum = r.getEnum(
|
|
12514
|
+
u.listKind = "enum", u.enum = r.getEnum($e(e.typeName)), Oe(u.enum);
|
|
12514
12515
|
break;
|
|
12515
12516
|
default:
|
|
12516
12517
|
u.listKind = "scalar", u.scalar = h, u.longAsString = _ == Zs;
|
|
@@ -12521,12 +12522,12 @@ function ki(e, t, r, i, a) {
|
|
|
12521
12522
|
switch (h) {
|
|
12522
12523
|
case $t:
|
|
12523
12524
|
case Qt:
|
|
12524
|
-
u.fieldKind = "message", u.message = r.getMessage(
|
|
12525
|
+
u.fieldKind = "message", u.message = r.getMessage($e(e.typeName)), Oe(u.message, `invalid FieldDescriptorProto: type_name ${e.typeName} not found`), u.delimitedEncoding = js(e, t), u.getDefaultValue = () => {
|
|
12525
12526
|
};
|
|
12526
12527
|
break;
|
|
12527
12528
|
case Ks: {
|
|
12528
|
-
const S = r.getEnum(
|
|
12529
|
-
Oe(S !== void 0, `invalid FieldDescriptorProto: type_name ${e.typeName} not found`), u.fieldKind = "enum", u.enum = r.getEnum(
|
|
12529
|
+
const S = r.getEnum($e(e.typeName));
|
|
12530
|
+
Oe(S !== void 0, `invalid FieldDescriptorProto: type_name ${e.typeName} not found`), u.fieldKind = "enum", u.enum = r.getEnum($e(e.typeName)), u.getDefaultValue = () => qt(e, "defaultValue") ? yd(S, e.defaultValue) : void 0;
|
|
12530
12531
|
break;
|
|
12531
12532
|
}
|
|
12532
12533
|
default: {
|
|
@@ -12577,7 +12578,7 @@ function Mr(e, t, r) {
|
|
|
12577
12578
|
let i;
|
|
12578
12579
|
return t ? i = `${t.typeName}.${e.name}` : r.proto.package.length > 0 ? i = `${r.proto.package}.${e.name}` : i = `${e.name}`, i;
|
|
12579
12580
|
}
|
|
12580
|
-
function
|
|
12581
|
+
function $e(e) {
|
|
12581
12582
|
return e.startsWith(".") ? e.substring(1) : e;
|
|
12582
12583
|
}
|
|
12583
12584
|
function $d(e, t) {
|
|
@@ -12773,7 +12774,7 @@ function Jd(e, t = "std") {
|
|
|
12773
12774
|
}
|
|
12774
12775
|
return m && (a += r[s], i && (a += "=", m == 1 && (a += "="))), a;
|
|
12775
12776
|
}
|
|
12776
|
-
let ur, Xs,
|
|
12777
|
+
let ur, Xs, mt;
|
|
12777
12778
|
function Jo(e) {
|
|
12778
12779
|
return ur || (ur = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""), Xs = ur.slice(0, -2).concat("-", "_")), e == "url" ? (
|
|
12779
12780
|
// biome-ignore lint/style/noNonNullAssertion: TS fails to narrow down
|
|
@@ -12781,14 +12782,14 @@ function Jo(e) {
|
|
|
12781
12782
|
) : ur;
|
|
12782
12783
|
}
|
|
12783
12784
|
function qd() {
|
|
12784
|
-
if (!
|
|
12785
|
-
|
|
12785
|
+
if (!mt) {
|
|
12786
|
+
mt = [];
|
|
12786
12787
|
const e = Jo("std");
|
|
12787
12788
|
for (let t = 0; t < e.length; t++)
|
|
12788
|
-
|
|
12789
|
-
|
|
12789
|
+
mt[e[t].charCodeAt(0)] = t;
|
|
12790
|
+
mt[45] = e.indexOf("+"), mt[95] = e.indexOf("/");
|
|
12790
12791
|
}
|
|
12791
|
-
return
|
|
12792
|
+
return mt;
|
|
12792
12793
|
}
|
|
12793
12794
|
function Yi(e, t) {
|
|
12794
12795
|
return e !== null && typeof e == "object" && "$typeName" in e && typeof e.$typeName == "string" ? t === void 0 ? !0 : t.typeName === e.$typeName : !1;
|
|
@@ -12811,7 +12812,7 @@ function et(e) {
|
|
|
12811
12812
|
}
|
|
12812
12813
|
function ji(e, t) {
|
|
12813
12814
|
var r, i, a, m;
|
|
12814
|
-
if (et(e) &&
|
|
12815
|
+
if (et(e) && Ge in e && "add" in e && "field" in e && typeof e.field == "function") {
|
|
12815
12816
|
if (t !== void 0) {
|
|
12816
12817
|
const v = t, s = e.field();
|
|
12817
12818
|
return v.listKind == s.listKind && v.scalar === s.scalar && ((r = v.message) === null || r === void 0 ? void 0 : r.typeName) === ((i = s.message) === null || i === void 0 ? void 0 : i.typeName) && ((a = v.enum) === null || a === void 0 ? void 0 : a.typeName) === ((m = s.enum) === null || m === void 0 ? void 0 : m.typeName);
|
|
@@ -12822,7 +12823,7 @@ function ji(e, t) {
|
|
|
12822
12823
|
}
|
|
12823
12824
|
function Xi(e, t) {
|
|
12824
12825
|
var r, i, a, m;
|
|
12825
|
-
if (et(e) &&
|
|
12826
|
+
if (et(e) && Ge in e && "has" in e && "field" in e && typeof e.field == "function") {
|
|
12826
12827
|
if (t !== void 0) {
|
|
12827
12828
|
const v = t, s = e.field();
|
|
12828
12829
|
return v.mapKey === s.mapKey && v.mapKind == s.mapKind && v.scalar === s.scalar && ((r = v.message) === null || r === void 0 ? void 0 : r.typeName) === ((i = s.message) === null || i === void 0 ? void 0 : i.typeName) && ((a = v.enum) === null || a === void 0 ? void 0 : a.typeName) === ((m = s.enum) === null || m === void 0 ? void 0 : m.typeName);
|
|
@@ -12832,7 +12833,7 @@ function Xi(e, t) {
|
|
|
12832
12833
|
return !1;
|
|
12833
12834
|
}
|
|
12834
12835
|
function Ji(e, t) {
|
|
12835
|
-
return et(e) &&
|
|
12836
|
+
return et(e) && Ge in e && "desc" in e && et(e.desc) && e.desc.kind === "message" && (t === void 0 || e.desc.typeName == t.typeName);
|
|
12836
12837
|
}
|
|
12837
12838
|
const oi = Symbol.for("@bufbuild/protobuf/text-encoding");
|
|
12838
12839
|
function qi() {
|
|
@@ -13193,7 +13194,7 @@ function th(e) {
|
|
|
13193
13194
|
if (Number.isFinite(e) && (e > qo || e < Qo))
|
|
13194
13195
|
throw new Error("invalid float32: " + e);
|
|
13195
13196
|
}
|
|
13196
|
-
function
|
|
13197
|
+
function ot(e, t) {
|
|
13197
13198
|
const r = e.fieldKind == "list" ? ji(t, e) : e.fieldKind == "map" ? Xi(t, e) : es(e, t);
|
|
13198
13199
|
if (r === !0)
|
|
13199
13200
|
return;
|
|
@@ -13481,7 +13482,7 @@ function ci(e) {
|
|
|
13481
13482
|
if (e.fieldKind == "message")
|
|
13482
13483
|
return dh;
|
|
13483
13484
|
const t = e.getDefaultValue();
|
|
13484
|
-
return t !== void 0 ? e.fieldKind == "scalar" && e.longAsString ? t.toString() : t : e.fieldKind == "scalar" ?
|
|
13485
|
+
return t !== void 0 ? e.fieldKind == "scalar" && e.longAsString ? t.toString() : t : e.fieldKind == "scalar" ? pt(e.scalar, e.longAsString) : e.enum.values[0].number;
|
|
13485
13486
|
}
|
|
13486
13487
|
function De(e, t, r = !0) {
|
|
13487
13488
|
return new da(e, t, r);
|
|
@@ -13495,7 +13496,7 @@ class da {
|
|
|
13495
13496
|
);
|
|
13496
13497
|
}
|
|
13497
13498
|
constructor(t, r, i = !0) {
|
|
13498
|
-
this.lists = /* @__PURE__ */ new Map(), this.maps = /* @__PURE__ */ new Map(), this.check = i, this.desc = t, this.message = this[
|
|
13499
|
+
this.lists = /* @__PURE__ */ new Map(), this.maps = /* @__PURE__ */ new Map(), this.check = i, this.desc = t, this.message = this[Ge] = r ?? ve(t), this.fields = t.fields, this.oneofs = t.oneofs, this.members = t.members;
|
|
13499
13500
|
}
|
|
13500
13501
|
findNumber(t) {
|
|
13501
13502
|
return this._fieldsByNumber || (this._fieldsByNumber = new Map(this.desc.fields.map((r) => [r.number, r]))), this._fieldsByNumber.get(t);
|
|
@@ -13515,14 +13516,14 @@ class da {
|
|
|
13515
13516
|
switch (t.fieldKind) {
|
|
13516
13517
|
case "list":
|
|
13517
13518
|
let i = this.lists.get(t);
|
|
13518
|
-
return (!i || i[
|
|
13519
|
+
return (!i || i[Ge] !== r) && this.lists.set(
|
|
13519
13520
|
t,
|
|
13520
13521
|
// biome-ignore lint/suspicious/noAssignInExpressions: no
|
|
13521
13522
|
i = new fh(t, r, this.check)
|
|
13522
13523
|
), i;
|
|
13523
13524
|
case "map":
|
|
13524
13525
|
let a = this.maps.get(t);
|
|
13525
|
-
return (!a || a[
|
|
13526
|
+
return (!a || a[Ge] !== r) && this.maps.set(
|
|
13526
13527
|
t,
|
|
13527
13528
|
// biome-ignore lint/suspicious/noAssignInExpressions: no
|
|
13528
13529
|
a = new gh(t, r, this.check)
|
|
@@ -13530,19 +13531,19 @@ class da {
|
|
|
13530
13531
|
case "message":
|
|
13531
13532
|
return ss(t, r, this.check);
|
|
13532
13533
|
case "scalar":
|
|
13533
|
-
return r === void 0 ?
|
|
13534
|
+
return r === void 0 ? pt(t.scalar, !1) : ns(t, r);
|
|
13534
13535
|
case "enum":
|
|
13535
13536
|
return r ?? t.enum.values[0].number;
|
|
13536
13537
|
}
|
|
13537
13538
|
}
|
|
13538
13539
|
set(t, r) {
|
|
13539
13540
|
if (Nt(this.message, t), this.check) {
|
|
13540
|
-
const a =
|
|
13541
|
+
const a = ot(t, r);
|
|
13541
13542
|
if (a)
|
|
13542
13543
|
throw a;
|
|
13543
13544
|
}
|
|
13544
13545
|
let i;
|
|
13545
|
-
t.fieldKind == "message" ? i = is(t, r) : Xi(r) || ji(r) ? i = r[
|
|
13546
|
+
t.fieldKind == "message" ? i = is(t, r) : Xi(r) || ji(r) ? i = r[Ge] : i = os(t, r), Wo(this.message, t, i);
|
|
13546
13547
|
}
|
|
13547
13548
|
getUnknown() {
|
|
13548
13549
|
return this.message.$unknown;
|
|
@@ -13563,7 +13564,7 @@ class fh {
|
|
|
13563
13564
|
return this._arr.length;
|
|
13564
13565
|
}
|
|
13565
13566
|
constructor(t, r, i) {
|
|
13566
|
-
this._field = t, this._arr = this[
|
|
13567
|
+
this._field = t, this._arr = this[Ge] = r, this.check = i;
|
|
13567
13568
|
}
|
|
13568
13569
|
get(t) {
|
|
13569
13570
|
const r = this._arr[t];
|
|
@@ -13607,7 +13608,7 @@ class fh {
|
|
|
13607
13608
|
}
|
|
13608
13609
|
class gh {
|
|
13609
13610
|
constructor(t, r, i = !0) {
|
|
13610
|
-
this.obj = this[
|
|
13611
|
+
this.obj = this[Ge] = r ?? {}, this.check = i, this._field = t;
|
|
13611
13612
|
}
|
|
13612
13613
|
field() {
|
|
13613
13614
|
return this._field;
|
|
@@ -13971,7 +13972,7 @@ function yh(e) {
|
|
|
13971
13972
|
return ge.Varint;
|
|
13972
13973
|
}
|
|
13973
13974
|
}
|
|
13974
|
-
function
|
|
13975
|
+
function He(e, t, ...r) {
|
|
13975
13976
|
return r.reduce((i, a) => i.nestedMessages[a], e.messages[t]);
|
|
13976
13977
|
}
|
|
13977
13978
|
function Fr(e, t, ...r) {
|
|
@@ -13986,7 +13987,7 @@ function Pr(e) {
|
|
|
13986
13987
|
t[r.localName] = r.number, t[r.number] = r.localName;
|
|
13987
13988
|
return t;
|
|
13988
13989
|
}
|
|
13989
|
-
const Ch = /* @__PURE__ */ zd({ 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 }] }] }), wh = /* @__PURE__ */ Ve(Ch, 1);
|
|
13990
|
+
const Ch = /* @__PURE__ */ zd({ 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 }] }] }), wh = /* @__PURE__ */ He(Ch, 1);
|
|
13990
13991
|
var nn;
|
|
13991
13992
|
(function(e) {
|
|
13992
13993
|
e[e.DECLARATION = 0] = "DECLARATION", e[e.UNVERIFIED = 1] = "UNVERIFIED";
|
|
@@ -14154,10 +14155,10 @@ function Ih(e, t, r) {
|
|
|
14154
14155
|
break;
|
|
14155
14156
|
}
|
|
14156
14157
|
}
|
|
14157
|
-
if (a === void 0 && (a =
|
|
14158
|
+
if (a === void 0 && (a = pt(i.mapKey, !1)), m === void 0)
|
|
14158
14159
|
switch (i.mapKind) {
|
|
14159
14160
|
case "scalar":
|
|
14160
|
-
m =
|
|
14161
|
+
m = pt(i.scalar, !1);
|
|
14161
14162
|
break;
|
|
14162
14163
|
case "enum":
|
|
14163
14164
|
m = i.enum.values[0].number;
|
|
@@ -14222,12 +14223,12 @@ function It(e, t) {
|
|
|
14222
14223
|
return e.sint32();
|
|
14223
14224
|
}
|
|
14224
14225
|
}
|
|
14225
|
-
function
|
|
14226
|
+
function vt(e, t) {
|
|
14226
14227
|
var r;
|
|
14227
14228
|
const i = ma(wh, Xo(e));
|
|
14228
14229
|
return i.messageType.forEach(Zi), i.dependency = (r = t == null ? void 0 : t.map((m) => m.proto.name)) !== null && r !== void 0 ? r : [], Go(i, (m) => t == null ? void 0 : t.find((v) => v.proto.name === m)).getFile(i.name);
|
|
14229
14230
|
}
|
|
14230
|
-
const cs = /* @__PURE__ */
|
|
14231
|
+
const cs = /* @__PURE__ */ vt("ChxydW5tZS9ydW5uZXIvdjIvY29uZmlnLnByb3RvEg9ydW5tZS5ydW5uZXIudjIiigMKDVByb2dyYW1Db25maWcSFAoMcHJvZ3JhbV9uYW1lGAEgASgJEhEKCWFyZ3VtZW50cxgCIAMoCRIRCglkaXJlY3RvcnkYAyABKAkSEwoLbGFuZ3VhZ2VfaWQYBCABKAkSEgoKYmFja2dyb3VuZBgFIAEoCBIWCg5maWxlX2V4dGVuc2lvbhgGIAEoCRILCgNlbnYYByADKAkSPgoIY29tbWFuZHMYCCABKAsyKi5ydW5tZS5ydW5uZXIudjIuUHJvZ3JhbUNvbmZpZy5Db21tYW5kTGlzdEgAEhAKBnNjcmlwdBgJIAEoCUgAEhMKC2ludGVyYWN0aXZlGAogASgIEioKBG1vZGUYCyABKA4yHC5ydW5tZS5ydW5uZXIudjIuQ29tbWFuZE1vZGUSEAoIa25vd25faWQYDCABKAkSEgoKa25vd25fbmFtZRgNIAEoCRIOCgZydW5faWQYDiABKAkaHAoLQ29tbWFuZExpc3QSDQoFaXRlbXMYASADKAlCCAoGc291cmNlKowBCgtDb21tYW5kTW9kZRIcChhDT01NQU5EX01PREVfVU5TUEVDSUZJRUQQABIXChNDT01NQU5EX01PREVfSU5MSU5FEAESFQoRQ09NTUFORF9NT0RFX0ZJTEUQAhIZChVDT01NQU5EX01PREVfVEVSTUlOQUwQAxIUChBDT01NQU5EX01PREVfQ0xJEARCSFpGZ2l0aHViLmNvbS9ydW5tZWRldi9ydW5tZS92My9hcGkvZ2VuL3Byb3RvL2dvL3J1bm1lL3J1bm5lci92MjtydW5uZXJ2MmIGcHJvdG8z"), kn = /* @__PURE__ */ He(cs, 0, 0), Ah = /* @__PURE__ */ Fr(cs, 0), hi = /* @__PURE__ */ Pr(Ah), Rh = /* @__PURE__ */ vt("Chlnb29nbGUvcHJvdG9idWYvYW55LnByb3RvEg9nb29nbGUucHJvdG9idWYiJgoDQW55EhAKCHR5cGVfdXJsGAEgASgJEg0KBXZhbHVlGAIgASgMQnYKE2NvbS5nb29nbGUucHJvdG9idWZCCEFueVByb3RvUAFaLGdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2FueXBiogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"), xh = /* @__PURE__ */ He(Rh, 0);
|
|
14231
14232
|
function Lh(e, t, r) {
|
|
14232
14233
|
let i = !1;
|
|
14233
14234
|
return r || (r = ve(xh), i = !0), r.value = mh(e, t), r.typeUrl = Oh(t.$typeName), i ? r : void 0;
|
|
@@ -14254,12 +14255,12 @@ function ya(e) {
|
|
|
14254
14255
|
throw new Error(`invalid type url: ${e}`);
|
|
14255
14256
|
return r;
|
|
14256
14257
|
}
|
|
14257
|
-
const ls = /* @__PURE__ */
|
|
14258
|
+
const ls = /* @__PURE__ */ vt("Chxnb29nbGUvcHJvdG9idWYvc3RydWN0LnByb3RvEg9nb29nbGUucHJvdG9idWYihAEKBlN0cnVjdBIzCgZmaWVsZHMYASADKAsyIy5nb29nbGUucHJvdG9idWYuU3RydWN0LkZpZWxkc0VudHJ5GkUKC0ZpZWxkc0VudHJ5EgsKA2tleRgBIAEoCRIlCgV2YWx1ZRgCIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZToCOAEi6gEKBVZhbHVlEjAKCm51bGxfdmFsdWUYASABKA4yGi5nb29nbGUucHJvdG9idWYuTnVsbFZhbHVlSAASFgoMbnVtYmVyX3ZhbHVlGAIgASgBSAASFgoMc3RyaW5nX3ZhbHVlGAMgASgJSAASFAoKYm9vbF92YWx1ZRgEIAEoCEgAEi8KDHN0cnVjdF92YWx1ZRgFIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RIABIwCgpsaXN0X3ZhbHVlGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLkxpc3RWYWx1ZUgAQgYKBGtpbmQiMwoJTGlzdFZhbHVlEiYKBnZhbHVlcxgBIAMoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZSobCglOdWxsVmFsdWUSDgoKTlVMTF9WQUxVRRAAQn8KE2NvbS5nb29nbGUucHJvdG9idWZCC1N0cnVjdFByb3RvUAFaL2dvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3N0cnVjdHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"), Nh = /* @__PURE__ */ He(ls, 0), Ca = /* @__PURE__ */ He(ls, 1), Mh = /* @__PURE__ */ He(ls, 2);
|
|
14258
14259
|
var Ii;
|
|
14259
14260
|
(function(e) {
|
|
14260
14261
|
e[e.NULL_VALUE = 0] = "NULL_VALUE";
|
|
14261
14262
|
})(Ii || (Ii = {}));
|
|
14262
|
-
const Fh = /* @__PURE__ */
|
|
14263
|
+
const Fh = /* @__PURE__ */ vt("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"), or = /* @__PURE__ */ vt("ChxydW5tZS9ydW5uZXIvdjIvcnVubmVyLnByb3RvEg9ydW5tZS5ydW5uZXIudjIiLwoHUHJvamVjdBIMCgRyb290GAEgASgJEhYKDmVudl9sb2FkX29yZGVyGAIgAygJIo0BCgdTZXNzaW9uEgoKAmlkGAEgASgJEgsKA2VudhgCIAMoCRI4CghtZXRhZGF0YRgDIAMoCzImLnJ1bm1lLnJ1bm5lci52Mi5TZXNzaW9uLk1ldGFkYXRhRW50cnkaLwoNTWV0YWRhdGFFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIrIFChRDcmVhdGVTZXNzaW9uUmVxdWVzdBJFCghtZXRhZGF0YRgBIAMoCzIzLnJ1bm1lLnJ1bm5lci52Mi5DcmVhdGVTZXNzaW9uUmVxdWVzdC5NZXRhZGF0YUVudHJ5EgsKA2VudhgCIAMoCRIuCgdwcm9qZWN0GAMgASgLMhgucnVubWUucnVubmVyLnYyLlByb2plY3RIAIgBARJBCg5lbnZfc3RvcmVfdHlwZRgEIAEoDjIkLnJ1bm1lLnJ1bm5lci52Mi5TZXNzaW9uRW52U3RvcmVUeXBlSAGIAQESPAoGY29uZmlnGAUgASgLMiwucnVubWUucnVubmVyLnYyLkNyZWF0ZVNlc3Npb25SZXF1ZXN0LkNvbmZpZxovCg1NZXRhZGF0YUVudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEaxAIKBkNvbmZpZxJBCg5lbnZfc3RvcmVfdHlwZRgBIAEoDjIkLnJ1bm1lLnJ1bm5lci52Mi5TZXNzaW9uRW52U3RvcmVUeXBlSACIAQESYwoRZW52X3N0b3JlX3NlZWRpbmcYAiABKA4yQy5ydW5tZS5ydW5uZXIudjIuQ3JlYXRlU2Vzc2lvblJlcXVlc3QuQ29uZmlnLlNlc3Npb25FbnZTdG9yZVNlZWRpbmdIAYgBASJpChZTZXNzaW9uRW52U3RvcmVTZWVkaW5nEikKJVNFU1NJT05fRU5WX1NUT1JFX1NFRURJTkdfVU5TUEVDSUZJRUQQABIkCiBTRVNTSU9OX0VOVl9TVE9SRV9TRUVESU5HX1NZU1RFTRABQhEKD19lbnZfc3RvcmVfdHlwZUIUChJfZW52X3N0b3JlX3NlZWRpbmdCCgoIX3Byb2plY3RCEQoPX2Vudl9zdG9yZV90eXBlIkIKFUNyZWF0ZVNlc3Npb25SZXNwb25zZRIpCgdzZXNzaW9uGAEgASgLMhgucnVubWUucnVubmVyLnYyLlNlc3Npb24iHwoRR2V0U2Vzc2lvblJlcXVlc3QSCgoCaWQYASABKAkiPwoSR2V0U2Vzc2lvblJlc3BvbnNlEikKB3Nlc3Npb24YASABKAsyGC5ydW5tZS5ydW5uZXIudjIuU2Vzc2lvbiIVChNMaXN0U2Vzc2lvbnNSZXF1ZXN0IkIKFExpc3RTZXNzaW9uc1Jlc3BvbnNlEioKCHNlc3Npb25zGAEgAygLMhgucnVubWUucnVubmVyLnYyLlNlc3Npb24i4wEKFFVwZGF0ZVNlc3Npb25SZXF1ZXN0EgoKAmlkGAEgASgJEkUKCG1ldGFkYXRhGAIgAygLMjMucnVubWUucnVubmVyLnYyLlVwZGF0ZVNlc3Npb25SZXF1ZXN0Lk1ldGFkYXRhRW50cnkSCwoDZW52GAMgAygJEi4KB3Byb2plY3QYBCABKAsyGC5ydW5tZS5ydW5uZXIudjIuUHJvamVjdEgAiAEBGi8KDU1ldGFkYXRhRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AUIKCghfcHJvamVjdCJCChVVcGRhdGVTZXNzaW9uUmVzcG9uc2USKQoHc2Vzc2lvbhgBIAEoCzIYLnJ1bm1lLnJ1bm5lci52Mi5TZXNzaW9uIiIKFERlbGV0ZVNlc3Npb25SZXF1ZXN0EgoKAmlkGAEgASgJIhcKFURlbGV0ZVNlc3Npb25SZXNwb25zZSI7CgdXaW5zaXplEgwKBHJvd3MYASABKA0SDAoEY29scxgCIAEoDRIJCgF4GAMgASgNEgkKAXkYBCABKA0i5QIKDkV4ZWN1dGVSZXF1ZXN0Ei4KBmNvbmZpZxgBIAEoCzIeLnJ1bm1lLnJ1bm5lci52Mi5Qcm9ncmFtQ29uZmlnEhIKCmlucHV0X2RhdGEYCCABKAwSKgoEc3RvcBgJIAEoDjIcLnJ1bm1lLnJ1bm5lci52Mi5FeGVjdXRlU3RvcBIuCgd3aW5zaXplGAogASgLMhgucnVubWUucnVubmVyLnYyLldpbnNpemVIAIgBARISCgpzZXNzaW9uX2lkGBQgASgJEjoKEHNlc3Npb25fc3RyYXRlZ3kYFSABKA4yIC5ydW5tZS5ydW5uZXIudjIuU2Vzc2lvblN0cmF0ZWd5Ei4KB3Byb2plY3QYFiABKAsyGC5ydW5tZS5ydW5uZXIudjIuUHJvamVjdEgBiAEBEhsKE3N0b3JlX3N0ZG91dF9pbl9lbnYYFyABKAhCCgoIX3dpbnNpemVCCgoIX3Byb2plY3QihwIKD0V4ZWN1dGVSZXNwb25zZRIvCglleGl0X2NvZGUYASABKAsyHC5nb29nbGUucHJvdG9idWYuVUludDMyVmFsdWUSEwoLc3Rkb3V0X2RhdGEYAiABKAwSEwoLc3RkZXJyX2RhdGEYAyABKAwSKQoDcGlkGAQgASgLMhwuZ29vZ2xlLnByb3RvYnVmLlVJbnQzMlZhbHVlEhEKCW1pbWVfdHlwZRgFIAEoCRIxCgNwd2QYByABKAsyJC5ydW5tZS5ydW5uZXIudjIuRXhlY3V0ZVJlc3BvbnNlLlB3ZBooCgNQd2QSDwoHY3VycmVudBgBIAEoCRIQCghwcmV2aW91cxgCIAEoCSIqChlSZXNvbHZlUHJvZ3JhbUNvbW1hbmRMaXN0Eg0KBWxpbmVzGAEgAygJIsAEChVSZXNvbHZlUHJvZ3JhbVJlcXVlc3QSPgoIY29tbWFuZHMYASABKAsyKi5ydW5tZS5ydW5uZXIudjIuUmVzb2x2ZVByb2dyYW1Db21tYW5kTGlzdEgAEhAKBnNjcmlwdBgCIAEoCUgAEjkKBG1vZGUYAyABKA4yKy5ydW5tZS5ydW5uZXIudjIuUmVzb2x2ZVByb2dyYW1SZXF1ZXN0Lk1vZGUSCwoDZW52GAQgAygJEhIKCnNlc3Npb25faWQYBSABKAkSOgoQc2Vzc2lvbl9zdHJhdGVneRgGIAEoDjIgLnJ1bm1lLnJ1bm5lci52Mi5TZXNzaW9uU3RyYXRlZ3kSLgoHcHJvamVjdBgHIAEoCzIYLnJ1bm1lLnJ1bm5lci52Mi5Qcm9qZWN0SAGIAQESEwoLbGFuZ3VhZ2VfaWQYCCABKAkSQwoJcmV0ZW50aW9uGAkgASgOMjAucnVubWUucnVubmVyLnYyLlJlc29sdmVQcm9ncmFtUmVxdWVzdC5SZXRlbnRpb24iRAoETW9kZRIUChBNT0RFX1VOU1BFQ0lGSUVEEAASEwoPTU9ERV9QUk9NUFRfQUxMEAESEQoNTU9ERV9TS0lQX0FMTBACIlcKCVJldGVudGlvbhIZChVSRVRFTlRJT05fVU5TUEVDSUZJRUQQABIXChNSRVRFTlRJT05fRklSU1RfUlVOEAESFgoSUkVURU5USU9OX0xBU1RfUlVOEAJCCAoGc291cmNlQgoKCF9wcm9qZWN0ItoDChZSZXNvbHZlUHJvZ3JhbVJlc3BvbnNlEg4KBnNjcmlwdBgBIAEoCRI8Cghjb21tYW5kcxgCIAEoCzIqLnJ1bm1lLnJ1bm5lci52Mi5SZXNvbHZlUHJvZ3JhbUNvbW1hbmRMaXN0Ej8KBHZhcnMYAyADKAsyMS5ydW5tZS5ydW5uZXIudjIuUmVzb2x2ZVByb2dyYW1SZXNwb25zZS5WYXJSZXN1bHQaiQEKCVZhclJlc3VsdBI+CgZzdGF0dXMYASABKA4yLi5ydW5tZS5ydW5uZXIudjIuUmVzb2x2ZVByb2dyYW1SZXNwb25zZS5TdGF0dXMSDAoEbmFtZRgCIAEoCRIWCg5vcmlnaW5hbF92YWx1ZRgDIAEoCRIWCg5yZXNvbHZlZF92YWx1ZRgEIAEoCSKkAQoGU3RhdHVzEhYKElNUQVRVU19VTlNQRUNJRklFRBAAEhMKD1NUQVRVU19SRVNPTFZFRBABEiIKHlNUQVRVU19VTlJFU09MVkVEX1dJVEhfTUVTU0FHRRACEiYKIlNUQVRVU19VTlJFU09MVkVEX1dJVEhfUExBQ0VIT0xERVIQAxIhCh1TVEFUVVNfVU5SRVNPTFZFRF9XSVRIX1NFQ1JFVBAEIkMKFk1vbml0b3JFbnZTdG9yZVJlcXVlc3QSKQoHc2Vzc2lvbhgBIAEoCzIYLnJ1bm1lLnJ1bm5lci52Mi5TZXNzaW9uIsIECh9Nb25pdG9yRW52U3RvcmVSZXNwb25zZVNuYXBzaG90EkoKBGVudnMYASADKAsyPC5ydW5tZS5ydW5uZXIudjIuTW9uaXRvckVudlN0b3JlUmVzcG9uc2VTbmFwc2hvdC5TbmFwc2hvdEVudhrOAgoLU25hcHNob3RFbnYSRwoGc3RhdHVzGAEgASgOMjcucnVubWUucnVubmVyLnYyLk1vbml0b3JFbnZTdG9yZVJlc3BvbnNlU25hcHNob3QuU3RhdHVzEgwKBG5hbWUYAiABKAkSEwoLZGVzY3JpcHRpb24YAyABKAkSDAoEc3BlYxgEIAEoCRITCgtpc19yZXF1aXJlZBgFIAEoCBIOCgZvcmlnaW4YBiABKAkSFgoOb3JpZ2luYWxfdmFsdWUYByABKAkSFgoOcmVzb2x2ZWRfdmFsdWUYCCABKAkSEwoLY3JlYXRlX3RpbWUYCSABKAkSEwoLdXBkYXRlX3RpbWUYCiABKAkSRgoGZXJyb3JzGAsgAygLMjYucnVubWUucnVubmVyLnYyLk1vbml0b3JFbnZTdG9yZVJlc3BvbnNlU25hcHNob3QuRXJyb3IaJgoFRXJyb3ISDAoEY29kZRgBIAEoDRIPCgdtZXNzYWdlGAIgASgJIloKBlN0YXR1cxIWChJTVEFUVVNfVU5TUEVDSUZJRUQQABISCg5TVEFUVVNfTElURVJBTBABEhEKDVNUQVRVU19ISURERU4QAhIRCg1TVEFUVVNfTUFTS0VEEAMimwEKF01vbml0b3JFbnZTdG9yZVJlc3BvbnNlEjIKBHR5cGUYASABKA4yJC5ydW5tZS5ydW5uZXIudjIuTW9uaXRvckVudlN0b3JlVHlwZRJECghzbmFwc2hvdBgCIAEoCzIwLnJ1bm1lLnJ1bm5lci52Mi5Nb25pdG9yRW52U3RvcmVSZXNwb25zZVNuYXBzaG90SABCBgoEZGF0YSpdChNTZXNzaW9uRW52U3RvcmVUeXBlEiYKIlNFU1NJT05fRU5WX1NUT1JFX1RZUEVfVU5TUEVDSUZJRUQQABIeChpTRVNTSU9OX0VOVl9TVE9SRV9UWVBFX09XTBABKl4KC0V4ZWN1dGVTdG9wEhwKGEVYRUNVVEVfU1RPUF9VTlNQRUNJRklFRBAAEhoKFkVYRUNVVEVfU1RPUF9JTlRFUlJVUFQQARIVChFFWEVDVVRFX1NUT1BfS0lMTBACKlUKD1Nlc3Npb25TdHJhdGVneRIgChxTRVNTSU9OX1NUUkFURUdZX1VOU1BFQ0lGSUVEEAASIAocU0VTU0lPTl9TVFJBVEVHWV9NT1NUX1JFQ0VOVBABKmIKE01vbml0b3JFbnZTdG9yZVR5cGUSJgoiTU9OSVRPUl9FTlZfU1RPUkVfVFlQRV9VTlNQRUNJRklFRBAAEiMKH01PTklUT1JfRU5WX1NUT1JFX1RZUEVfU05BUFNIT1QQATKQBgoNUnVubmVyU2VydmljZRJgCg1DcmVhdGVTZXNzaW9uEiUucnVubWUucnVubmVyLnYyLkNyZWF0ZVNlc3Npb25SZXF1ZXN0GiYucnVubWUucnVubmVyLnYyLkNyZWF0ZVNlc3Npb25SZXNwb25zZSIAElcKCkdldFNlc3Npb24SIi5ydW5tZS5ydW5uZXIudjIuR2V0U2Vzc2lvblJlcXVlc3QaIy5ydW5tZS5ydW5uZXIudjIuR2V0U2Vzc2lvblJlc3BvbnNlIgASXQoMTGlzdFNlc3Npb25zEiQucnVubWUucnVubmVyLnYyLkxpc3RTZXNzaW9uc1JlcXVlc3QaJS5ydW5tZS5ydW5uZXIudjIuTGlzdFNlc3Npb25zUmVzcG9uc2UiABJgCg1VcGRhdGVTZXNzaW9uEiUucnVubWUucnVubmVyLnYyLlVwZGF0ZVNlc3Npb25SZXF1ZXN0GiYucnVubWUucnVubmVyLnYyLlVwZGF0ZVNlc3Npb25SZXNwb25zZSIAEmAKDURlbGV0ZVNlc3Npb24SJS5ydW5tZS5ydW5uZXIudjIuRGVsZXRlU2Vzc2lvblJlcXVlc3QaJi5ydW5tZS5ydW5uZXIudjIuRGVsZXRlU2Vzc2lvblJlc3BvbnNlIgASaAoPTW9uaXRvckVudlN0b3JlEicucnVubWUucnVubmVyLnYyLk1vbml0b3JFbnZTdG9yZVJlcXVlc3QaKC5ydW5tZS5ydW5uZXIudjIuTW9uaXRvckVudlN0b3JlUmVzcG9uc2UiADABElIKB0V4ZWN1dGUSHy5ydW5tZS5ydW5uZXIudjIuRXhlY3V0ZVJlcXVlc3QaIC5ydW5tZS5ydW5uZXIudjIuRXhlY3V0ZVJlc3BvbnNlIgAoATABEmMKDlJlc29sdmVQcm9ncmFtEiYucnVubWUucnVubmVyLnYyLlJlc29sdmVQcm9ncmFtUmVxdWVzdBonLnJ1bm1lLnJ1bm5lci52Mi5SZXNvbHZlUHJvZ3JhbVJlc3BvbnNlIgBCSFpGZ2l0aHViLmNvbS9ydW5tZWRldi9ydW5tZS92My9hcGkvZ2VuL3Byb3RvL2dvL3J1bm1lL3J1bm5lci92MjtydW5uZXJ2MmIGcHJvdG8z", [Fh, cs]), wa = /* @__PURE__ */ He(or, 12), Bi = /* @__PURE__ */ He(or, 13), Ph = /* @__PURE__ */ Fr(or, 19, 0), We = /* @__PURE__ */ Pr(Ph), Uh = /* @__PURE__ */ Fr(or, 2), Vh = /* @__PURE__ */ Pr(Uh);
|
|
14263
14264
|
function Hh(e, t) {
|
|
14264
14265
|
Ea(t, e);
|
|
14265
14266
|
const r = Wh(e.$unknown, t), [i, a, m] = Ur(t);
|
|
@@ -14301,7 +14302,7 @@ function Ur(e, t) {
|
|
|
14301
14302
|
const v = m[r];
|
|
14302
14303
|
if (v === void 0) {
|
|
14303
14304
|
const s = e.message;
|
|
14304
|
-
return nr(s) ?
|
|
14305
|
+
return nr(s) ? pt(s.fields[0].scalar, s.fields[0].longAsString) : ve(s);
|
|
14305
14306
|
}
|
|
14306
14307
|
return v;
|
|
14307
14308
|
}
|
|
@@ -14423,24 +14424,24 @@ function Vr(e, t) {
|
|
|
14423
14424
|
case M.FIXED32:
|
|
14424
14425
|
case M.UINT32:
|
|
14425
14426
|
if (typeof t != "number")
|
|
14426
|
-
throw new Error(`cannot encode ${e} to JSON: ${(r =
|
|
14427
|
+
throw new Error(`cannot encode ${e} to JSON: ${(r = ot(e, t)) === null || r === void 0 ? void 0 : r.message}`);
|
|
14427
14428
|
return t;
|
|
14428
14429
|
// float, double: JSON value will be a number or one of the special string values "NaN", "Infinity", and "-Infinity".
|
|
14429
14430
|
// Either numbers or strings are accepted. Exponent notation is also accepted.
|
|
14430
14431
|
case M.FLOAT:
|
|
14431
14432
|
case M.DOUBLE:
|
|
14432
14433
|
if (typeof t != "number")
|
|
14433
|
-
throw new Error(`cannot encode ${e} to JSON: ${(i =
|
|
14434
|
+
throw new Error(`cannot encode ${e} to JSON: ${(i = ot(e, t)) === null || i === void 0 ? void 0 : i.message}`);
|
|
14434
14435
|
return Number.isNaN(t) ? "NaN" : t === Number.POSITIVE_INFINITY ? "Infinity" : t === Number.NEGATIVE_INFINITY ? "-Infinity" : t;
|
|
14435
14436
|
// string:
|
|
14436
14437
|
case M.STRING:
|
|
14437
14438
|
if (typeof t != "string")
|
|
14438
|
-
throw new Error(`cannot encode ${e} to JSON: ${(a =
|
|
14439
|
+
throw new Error(`cannot encode ${e} to JSON: ${(a = ot(e, t)) === null || a === void 0 ? void 0 : a.message}`);
|
|
14439
14440
|
return t;
|
|
14440
14441
|
// bool:
|
|
14441
14442
|
case M.BOOL:
|
|
14442
14443
|
if (typeof t != "boolean")
|
|
14443
|
-
throw new Error(`cannot encode ${e} to JSON: ${(m =
|
|
14444
|
+
throw new Error(`cannot encode ${e} to JSON: ${(m = ot(e, t)) === null || m === void 0 ? void 0 : m.message}`);
|
|
14444
14445
|
return t;
|
|
14445
14446
|
// JSON value will be a decimal string. Either numbers or strings are accepted.
|
|
14446
14447
|
case M.UINT64:
|
|
@@ -14449,14 +14450,14 @@ function Vr(e, t) {
|
|
|
14449
14450
|
case M.SFIXED64:
|
|
14450
14451
|
case M.SINT64:
|
|
14451
14452
|
if (typeof t != "bigint" && typeof t != "string")
|
|
14452
|
-
throw new Error(`cannot encode ${e} to JSON: ${(v =
|
|
14453
|
+
throw new Error(`cannot encode ${e} to JSON: ${(v = ot(e, t)) === null || v === void 0 ? void 0 : v.message}`);
|
|
14453
14454
|
return t.toString();
|
|
14454
14455
|
// bytes: JSON value will be the data encoded as a string using standard base64 encoding with paddings.
|
|
14455
14456
|
// Either standard or URL-safe base64 encoding with/without paddings are accepted.
|
|
14456
14457
|
case M.BYTES:
|
|
14457
14458
|
if (t instanceof Uint8Array)
|
|
14458
14459
|
return Jd(t);
|
|
14459
|
-
throw new Error(`cannot encode ${e} to JSON: ${(s =
|
|
14460
|
+
throw new Error(`cannot encode ${e} to JSON: ${(s = ot(e, t)) === null || s === void 0 ? void 0 : s.message}`);
|
|
14460
14461
|
}
|
|
14461
14462
|
}
|
|
14462
14463
|
function Xh(e, t) {
|
|
@@ -14714,7 +14715,7 @@ function us(e, t, r, i) {
|
|
|
14714
14715
|
const $r = Symbol();
|
|
14715
14716
|
function Wr(e, t, r) {
|
|
14716
14717
|
if (t === null)
|
|
14717
|
-
return r ?
|
|
14718
|
+
return r ? pt(e.scalar, !1) : $r;
|
|
14718
14719
|
switch (e.scalar) {
|
|
14719
14720
|
// float, double: JSON value will be a number or one of the special string values "NaN", "Infinity", and "-Infinity".
|
|
14720
14721
|
// Either numbers or strings are accepted. Exponent notation is also accepted.
|
|
@@ -14932,11 +14933,11 @@ function Ra(e, t) {
|
|
|
14932
14933
|
fs(i, r), e.values.push(i);
|
|
14933
14934
|
}
|
|
14934
14935
|
}
|
|
14935
|
-
const xa = /* @__PURE__ */
|
|
14936
|
-
var
|
|
14936
|
+
const xa = /* @__PURE__ */ vt("ChVnb29nbGUvcnBjL2NvZGUucHJvdG8SCmdvb2dsZS5ycGMqtwIKBENvZGUSBgoCT0sQABINCglDQU5DRUxMRUQQARILCgdVTktOT1dOEAISFAoQSU5WQUxJRF9BUkdVTUVOVBADEhUKEURFQURMSU5FX0VYQ0VFREVEEAQSDQoJTk9UX0ZPVU5EEAUSEgoOQUxSRUFEWV9FWElTVFMQBhIVChFQRVJNSVNTSU9OX0RFTklFRBAHEhMKD1VOQVVUSEVOVElDQVRFRBAQEhYKElJFU09VUkNFX0VYSEFVU1RFRBAIEhcKE0ZBSUxFRF9QUkVDT05ESVRJT04QCRILCgdBQk9SVEVEEAoSEAoMT1VUX09GX1JBTkdFEAsSEQoNVU5JTVBMRU1FTlRFRBAMEgwKCElOVEVSTkFMEA0SDwoLVU5BVkFJTEFCTEUQDhINCglEQVRBX0xPU1MQD0JYCg5jb20uZ29vZ2xlLnJwY0IJQ29kZVByb3RvUAFaM2dvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvcnBjL2NvZGU7Y29kZaICA1JQQ2IGcHJvdG8z"), pu = /* @__PURE__ */ Fr(xa, 0), _u = /* @__PURE__ */ Pr(pu), La = /* @__PURE__ */ vt("CiBydW5tZS9zdHJlYW0vdjEvd2Vic29ja2V0cy5wcm90bxIPcnVubWUuc3RyZWFtLnYxIkIKD1dlYnNvY2tldFN0YXR1cxIeCgRjb2RlGAEgASgOMhAuZ29vZ2xlLnJwYy5Db2RlEg8KB21lc3NhZ2UYAiABKAkiGQoEUGluZxIRCgl0aW1lc3RhbXAYASABKAMiGQoEUG9uZxIRCgl0aW1lc3RhbXAYASABKAMiugEKEFdlYnNvY2tldFJlcXVlc3QSOgoPZXhlY3V0ZV9yZXF1ZXN0GAEgASgLMh8ucnVubWUucnVubmVyLnYyLkV4ZWN1dGVSZXF1ZXN0SAASIwoEcGluZxhkIAEoCzIVLnJ1bm1lLnN0cmVhbS52MS5QaW5nEhYKDWF1dGhvcml6YXRpb24YyAEgASgJEhEKCGtub3duX2lkGNIBIAEoCRIPCgZydW5faWQY3AEgASgJQgkKB3BheWxvYWQi2AEKEVdlYnNvY2tldFJlc3BvbnNlEjwKEGV4ZWN1dGVfcmVzcG9uc2UYASABKAsyIC5ydW5tZS5ydW5uZXIudjIuRXhlY3V0ZVJlc3BvbnNlSAASIwoEcG9uZxhkIAEoCzIVLnJ1bm1lLnN0cmVhbS52MS5Qb25nEjEKBnN0YXR1cxjIASABKAsyIC5ydW5tZS5zdHJlYW0udjEuV2Vic29ja2V0U3RhdHVzEhEKCGtub3duX2lkGNIBIAEoCRIPCgZydW5faWQY3AEgASgJQgkKB3BheWxvYWRCSFpGZ2l0aHViLmNvbS9ydW5tZWRldi9ydW5tZS92My9hcGkvZ2VuL3Byb3RvL2dvL3J1bm1lL3N0cmVhbS92MTtzdHJlYW12MWIGcHJvdG8z", [xa, or]), Ai = /* @__PURE__ */ He(La, 3), vu = /* @__PURE__ */ He(La, 4), Ta = "0123456789ABCDEFGHJKMNPQRSTVWXYZ", Lr = 32, mu = 16, Da = 10, xn = 281474976710655;
|
|
14937
|
+
var lt;
|
|
14937
14938
|
(function(e) {
|
|
14938
14939
|
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";
|
|
14939
|
-
})(
|
|
14940
|
+
})(lt || (lt = {}));
|
|
14940
14941
|
class Ft extends Error {
|
|
14941
14942
|
constructor(t, r) {
|
|
14942
14943
|
super(`${r} (${t})`), this.name = "ULIDError", this.code = t;
|
|
@@ -14955,7 +14956,7 @@ function Su(e) {
|
|
|
14955
14956
|
};
|
|
14956
14957
|
if (typeof (r == null ? void 0 : r.randomBytes) == "function")
|
|
14957
14958
|
return () => r.randomBytes(1).readUInt8() / 255;
|
|
14958
|
-
throw new Ft(
|
|
14959
|
+
throw new Ft(lt.PRNGDetectFailure, "Failed to find a reliable PRNG");
|
|
14959
14960
|
}
|
|
14960
14961
|
function yu() {
|
|
14961
14962
|
return Eu() ? self : typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : null;
|
|
@@ -14968,13 +14969,13 @@ function Cu(e, t) {
|
|
|
14968
14969
|
}
|
|
14969
14970
|
function wu(e, t = Da) {
|
|
14970
14971
|
if (isNaN(e))
|
|
14971
|
-
throw new Ft(
|
|
14972
|
+
throw new Ft(lt.EncodeTimeValueMalformed, `Time must be a number: ${e}`);
|
|
14972
14973
|
if (e > xn)
|
|
14973
|
-
throw new Ft(
|
|
14974
|
+
throw new Ft(lt.EncodeTimeSizeExceeded, `Cannot encode a time larger than ${xn}: ${e}`);
|
|
14974
14975
|
if (e < 0)
|
|
14975
|
-
throw new Ft(
|
|
14976
|
+
throw new Ft(lt.EncodeTimeNegative, `Time must be positive: ${e}`);
|
|
14976
14977
|
if (Number.isInteger(e) === !1)
|
|
14977
|
-
throw new Ft(
|
|
14978
|
+
throw new Ft(lt.EncodeTimeValueMalformed, `Time must be an integer: ${e}`);
|
|
14978
14979
|
let r, i = "";
|
|
14979
14980
|
for (let a = t; a > 0; a--)
|
|
14980
14981
|
r = e % Lr, i = Ta.charAt(r) + i, e = (e - r) / Lr;
|
|
@@ -15068,9 +15069,9 @@ class Nu {
|
|
|
15068
15069
|
}
|
|
15069
15070
|
monitor() {
|
|
15070
15071
|
return Sl(Tu).pipe(
|
|
15071
|
-
|
|
15072
|
+
Pe(() => this.autoReconnect),
|
|
15072
15073
|
ii(this.reconnect),
|
|
15073
|
-
|
|
15074
|
+
Pe(
|
|
15074
15075
|
([, r]) => r.heartbeat === "CONTINUOUS"
|
|
15075
15076
|
/* CONTINUOUS */
|
|
15076
15077
|
),
|
|
@@ -15080,7 +15081,7 @@ class Nu {
|
|
|
15080
15081
|
(i) => i.readyState === WebSocket.OPEN && i.latency >= gr
|
|
15081
15082
|
)
|
|
15082
15083
|
),
|
|
15083
|
-
|
|
15084
|
+
Pe((r) => r.length > 0),
|
|
15084
15085
|
// tap((latencies) => console.log('Monitor latencies', latencies)),
|
|
15085
15086
|
// Throttle the reconnects to avoid overwhelming the server
|
|
15086
15087
|
Us(Tn)
|
|
@@ -15095,11 +15096,11 @@ class Nu {
|
|
|
15095
15096
|
}
|
|
15096
15097
|
process() {
|
|
15097
15098
|
const t = this.client.pipe(
|
|
15098
|
-
|
|
15099
|
+
Pe((v) => (v == null ? void 0 : v.readyState) === WebSocket.OPEN),
|
|
15099
15100
|
Fs(1)
|
|
15100
15101
|
), r = this.queue.pipe(
|
|
15101
15102
|
Il(() => t),
|
|
15102
|
-
|
|
15103
|
+
Pe((v) => v.length > 0),
|
|
15103
15104
|
Ae((v) => v.sort((s, c) => {
|
|
15104
15105
|
const u = (f) => {
|
|
15105
15106
|
var h;
|
|
@@ -15112,13 +15113,13 @@ class Nu {
|
|
|
15112
15113
|
// Flatten buffered arrays
|
|
15113
15114
|
r.pipe(
|
|
15114
15115
|
// Use mergeMap to flatten
|
|
15115
|
-
|
|
15116
|
+
ct((v) => v)
|
|
15116
15117
|
),
|
|
15117
15118
|
i
|
|
15118
15119
|
).pipe(
|
|
15119
15120
|
ii(this.client),
|
|
15120
15121
|
hr(([, v]) => v.readyState === WebSocket.OPEN),
|
|
15121
|
-
|
|
15122
|
+
ct(async ([v, s]) => {
|
|
15122
15123
|
await Mn({
|
|
15123
15124
|
req: v,
|
|
15124
15125
|
interceptors: this.interceptors,
|
|
@@ -15241,7 +15242,7 @@ class Nu {
|
|
|
15241
15242
|
hr(() => t.readyState === WebSocket.OPEN),
|
|
15242
15243
|
Ae((f) => Nn(f.data)),
|
|
15243
15244
|
Ae((f) => f.pong),
|
|
15244
|
-
|
|
15245
|
+
Pe((f) => f !== void 0),
|
|
15245
15246
|
Ae((f) => ({
|
|
15246
15247
|
receivedAt: BigInt(Date.now()),
|
|
15247
15248
|
pong: f
|
|
@@ -15252,7 +15253,7 @@ class Nu {
|
|
|
15252
15253
|
const f = { timestamp: BigInt(Date.now()) };
|
|
15253
15254
|
return ve(Ai, { ping: f });
|
|
15254
15255
|
}),
|
|
15255
|
-
|
|
15256
|
+
ct(async (f) => (await Mn({
|
|
15256
15257
|
req: f,
|
|
15257
15258
|
interceptors: this.interceptors,
|
|
15258
15259
|
socket: t
|
|
@@ -15262,11 +15263,11 @@ class Nu {
|
|
|
15262
15263
|
}), f)),
|
|
15263
15264
|
Ae((f) => f.ping)
|
|
15264
15265
|
).pipe(
|
|
15265
|
-
|
|
15266
|
-
|
|
15266
|
+
Pe((f) => (f == null ? void 0 : f.timestamp) !== void 0),
|
|
15267
|
+
ct(
|
|
15267
15268
|
(f) => El(
|
|
15268
15269
|
m.pipe(
|
|
15269
|
-
|
|
15270
|
+
Pe(
|
|
15270
15271
|
(h) => h.pong.timestamp === f.timestamp
|
|
15271
15272
|
),
|
|
15272
15273
|
Fs(1),
|
|
@@ -15383,15 +15384,15 @@ function nf() {
|
|
|
15383
15384
|
}
|
|
15384
15385
|
var Fu = Object.defineProperty, Pu = Object.getOwnPropertyDescriptor, Oa = (e) => {
|
|
15385
15386
|
throw TypeError(e);
|
|
15386
|
-
},
|
|
15387
|
+
}, ze = (e, t, r, i) => {
|
|
15387
15388
|
for (var a = i > 1 ? void 0 : i ? Pu(t, r) : t, m = e.length - 1, v; m >= 0; m--)
|
|
15388
15389
|
(v = e[m]) && (a = (i ? v(t, r, a) : v(a)) || a);
|
|
15389
15390
|
return i && a && Fu(t, r, a), a;
|
|
15390
|
-
}, gs = (e, t, r) => t.has(e) || Oa("Cannot " + r), ne = (e, t, r) => (gs(e, t, "read from private field"), t.get(e)), pr = (e, t, r) => t.has(e) ? Oa("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), Tr = (e, t, r, i) => (gs(e, t, "write to private field"), t.set(e, r), r), Re = (e, t, r) => (gs(e, t, "access private method"), r), Ce,
|
|
15391
|
+
}, gs = (e, t, r) => t.has(e) || Oa("Cannot " + r), ne = (e, t, r) => (gs(e, t, "read from private field"), t.get(e)), pr = (e, t, r) => t.has(e) ? Oa("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), Tr = (e, t, r, i) => (gs(e, t, "write to private field"), t.set(e, r), r), Re = (e, t, r) => (gs(e, t, "access private method"), r), Ce, Ue, dt, Ee, Na, ps, Ma, Ri, Dr, xi, Fa, Pa;
|
|
15391
15392
|
const Uu = "runme-console";
|
|
15392
|
-
let
|
|
15393
|
+
let Ve = class extends we {
|
|
15393
15394
|
constructor() {
|
|
15394
|
-
super(), pr(this, Ee), this.disposables = [], pr(this, Ce), pr(this,
|
|
15395
|
+
super(), pr(this, Ee), this.disposables = [], pr(this, Ce), pr(this, Ue, []), pr(this, dt, { rows: 34, cols: 100, x: 0, y: 0 }), this.takeFocus = !0, this.view = {
|
|
15395
15396
|
theme: "dark",
|
|
15396
15397
|
fontFamily: "monospace",
|
|
15397
15398
|
fontSize: 12,
|
|
@@ -15429,8 +15430,8 @@ let Ue = class extends we {
|
|
|
15429
15430
|
}
|
|
15430
15431
|
};
|
|
15431
15432
|
Ce = /* @__PURE__ */ new WeakMap();
|
|
15432
|
-
|
|
15433
|
-
|
|
15433
|
+
Ue = /* @__PURE__ */ new WeakMap();
|
|
15434
|
+
dt = /* @__PURE__ */ new WeakMap();
|
|
15434
15435
|
Ee = /* @__PURE__ */ new WeakSet();
|
|
15435
15436
|
Na = function() {
|
|
15436
15437
|
this.shadowRoot && (this.consoleView = document.createElement("console-view"), Re(this, Ee, ps).call(this), this.shadowRoot.appendChild(this.consoleView), Re(this, Ee, Ma).call(this));
|
|
@@ -15477,7 +15478,7 @@ Ri = function() {
|
|
|
15477
15478
|
}
|
|
15478
15479
|
}));
|
|
15479
15480
|
const t = ne(this, Ce).connect().subscribe();
|
|
15480
|
-
ne(this,
|
|
15481
|
+
ne(this, Ue).push(() => t.unsubscribe());
|
|
15481
15482
|
const r = ne(this, Ce).stdout.subscribe((s) => {
|
|
15482
15483
|
this.dispatchEvent(new CustomEvent("stdout", { detail: s })), this.consoleView && this.consoleView.terminal && this.consoleView.terminal.write(s);
|
|
15483
15484
|
}), i = ne(this, Ce).stderr.subscribe((s) => {
|
|
@@ -15489,16 +15490,16 @@ Ri = function() {
|
|
|
15489
15490
|
}), v = ne(this, Ce).mimeType.subscribe((s) => {
|
|
15490
15491
|
this.dispatchEvent(new CustomEvent("mimetype", { detail: s }));
|
|
15491
15492
|
});
|
|
15492
|
-
ne(this,
|
|
15493
|
+
ne(this, Ue).push(() => r.unsubscribe()), ne(this, Ue).push(() => i.unsubscribe()), ne(this, Ue).push(() => a.unsubscribe()), ne(this, Ue).push(() => m.unsubscribe()), ne(this, Ue).push(() => v.unsubscribe());
|
|
15493
15494
|
};
|
|
15494
15495
|
Dr = function() {
|
|
15495
15496
|
var e;
|
|
15496
|
-
ne(this,
|
|
15497
|
+
ne(this, Ue).forEach((t) => {
|
|
15497
15498
|
try {
|
|
15498
15499
|
t();
|
|
15499
15500
|
} catch {
|
|
15500
15501
|
}
|
|
15501
|
-
}), Tr(this,
|
|
15502
|
+
}), Tr(this, Ue, []), (e = ne(this, Ce)) == null || e.close(), Tr(this, Ce, void 0);
|
|
15502
15503
|
};
|
|
15503
15504
|
xi = function() {
|
|
15504
15505
|
var t;
|
|
@@ -15541,7 +15542,7 @@ Fa = function() {
|
|
|
15541
15542
|
runId: (v = this.stream) == null ? void 0 : v.runID,
|
|
15542
15543
|
knownId: ((s = this.stream) == null ? void 0 : s.knownID) ?? this.id
|
|
15543
15544
|
},
|
|
15544
|
-
winsize: ve(wa, ne(this,
|
|
15545
|
+
winsize: ve(wa, ne(this, dt))
|
|
15545
15546
|
});
|
|
15546
15547
|
return this.commands.length === 0 ? (i.config.mode = hi.INLINE, i.config.source = {
|
|
15547
15548
|
case: "commands",
|
|
@@ -15568,16 +15569,16 @@ Pa = function() {
|
|
|
15568
15569
|
r.output.terminalDimensions.columns
|
|
15569
15570
|
), v = Number(r.output.terminalDimensions.rows);
|
|
15570
15571
|
if (Number.isFinite(m) && Number.isFinite(v)) {
|
|
15571
|
-
if (ne(this,
|
|
15572
|
+
if (ne(this, dt).cols === m && ne(this, dt).rows === v)
|
|
15572
15573
|
return;
|
|
15573
|
-
Tr(this,
|
|
15574
|
+
Tr(this, dt, ve(wa, {
|
|
15574
15575
|
cols: m,
|
|
15575
15576
|
rows: v,
|
|
15576
15577
|
x: 0,
|
|
15577
15578
|
y: 0
|
|
15578
15579
|
}));
|
|
15579
15580
|
const s = ve(Bi, {
|
|
15580
|
-
winsize: ne(this,
|
|
15581
|
+
winsize: ne(this, dt)
|
|
15581
15582
|
});
|
|
15582
15583
|
(i = ne(this, Ce)) == null || i.sendExecuteRequest(s);
|
|
15583
15584
|
}
|
|
@@ -15598,36 +15599,36 @@ Pa = function() {
|
|
|
15598
15599
|
console.error("Failed to set context bridge");
|
|
15599
15600
|
}
|
|
15600
15601
|
};
|
|
15601
|
-
|
|
15602
|
+
ze([
|
|
15602
15603
|
j({ type: String })
|
|
15603
|
-
],
|
|
15604
|
-
|
|
15604
|
+
], Ve.prototype, "id", 2);
|
|
15605
|
+
ze([
|
|
15605
15606
|
j({
|
|
15606
15607
|
type: Boolean,
|
|
15607
15608
|
converter: (e) => e !== "false"
|
|
15608
15609
|
})
|
|
15609
|
-
],
|
|
15610
|
-
|
|
15610
|
+
], Ve.prototype, "takeFocus", 2);
|
|
15611
|
+
ze([
|
|
15611
15612
|
j({ type: Object })
|
|
15612
|
-
],
|
|
15613
|
-
|
|
15613
|
+
], Ve.prototype, "view", 2);
|
|
15614
|
+
ze([
|
|
15614
15615
|
j({ type: Array })
|
|
15615
|
-
],
|
|
15616
|
-
|
|
15616
|
+
], Ve.prototype, "commands", 2);
|
|
15617
|
+
ze([
|
|
15617
15618
|
j({ type: String })
|
|
15618
|
-
],
|
|
15619
|
-
|
|
15619
|
+
], Ve.prototype, "initialContent", 2);
|
|
15620
|
+
ze([
|
|
15620
15621
|
j({ type: Number })
|
|
15621
|
-
],
|
|
15622
|
-
|
|
15622
|
+
], Ve.prototype, "initialRows", 2);
|
|
15623
|
+
ze([
|
|
15623
15624
|
j({ type: Object })
|
|
15624
|
-
],
|
|
15625
|
-
|
|
15625
|
+
], Ve.prototype, "stream", 2);
|
|
15626
|
+
ze([
|
|
15626
15627
|
j({ attribute: !1 })
|
|
15627
|
-
],
|
|
15628
|
-
|
|
15628
|
+
], Ve.prototype, "interceptors", 2);
|
|
15629
|
+
Ve = ze([
|
|
15629
15630
|
xe(Uu)
|
|
15630
|
-
],
|
|
15631
|
+
], Ve);
|
|
15631
15632
|
var Vu = Object.defineProperty, Hu = Object.getOwnPropertyDescriptor, Gr = (e, t, r, i) => {
|
|
15632
15633
|
for (var a = i > 1 ? void 0 : i ? Hu(t, r) : t, m = e.length - 1, v; m >= 0; m--)
|
|
15633
15634
|
(v = e[m]) && (a = (i ? v(t, r, a) : v(a)) || a);
|
|
@@ -15974,9 +15975,9 @@ let tt = class extends we {
|
|
|
15974
15975
|
render() {
|
|
15975
15976
|
const e = [
|
|
15976
15977
|
void 0,
|
|
15977
|
-
|
|
15978
|
-
|
|
15979
|
-
|
|
15978
|
+
We.MASKED,
|
|
15979
|
+
We.LITERAL,
|
|
15980
|
+
We.UNSPECIFIED
|
|
15980
15981
|
].includes(this.status);
|
|
15981
15982
|
return Y`
|
|
15982
15983
|
<div class="secret-container">
|
|
@@ -16015,8 +16016,8 @@ let tt = class extends we {
|
|
|
16015
16016
|
)}
|
|
16016
16017
|
${ue(
|
|
16017
16018
|
[
|
|
16018
|
-
|
|
16019
|
-
|
|
16019
|
+
We.LITERAL,
|
|
16020
|
+
We.HIDDEN
|
|
16020
16021
|
].includes(this.status),
|
|
16021
16022
|
() => Y` <vscode-button
|
|
16022
16023
|
appearance="icon"
|
|
@@ -16124,7 +16125,7 @@ var ju = Object.defineProperty, Xu = Object.getOwnPropertyDescriptor, Ua = (e) =
|
|
|
16124
16125
|
for (var a = i > 1 ? void 0 : i ? Xu(t, r) : t, m = e.length - 1, v; m >= 0; m--)
|
|
16125
16126
|
(v = e[m]) && (a = (i ? v(t, r, a) : v(a)) || a);
|
|
16126
16127
|
return i && a && ju(t, r, a), a;
|
|
16127
|
-
}, Ju = (e, t, r) => t.has(e) || Ua("Cannot " + r), qu = (e, t, r) => t.has(e) ? Ua("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r),
|
|
16128
|
+
}, Ju = (e, t, r) => t.has(e) || Ua("Cannot " + r), qu = (e, t, r) => t.has(e) ? Ua("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), bt = (e, t, r) => (Ju(e, t, "access private method"), r), Xe, Ha, $a, Pt;
|
|
16128
16129
|
const Qu = "__", ef = [
|
|
16129
16130
|
{
|
|
16130
16131
|
text: "Name"
|
|
@@ -16157,7 +16158,7 @@ let Li = class extends we {
|
|
|
16157
16158
|
}
|
|
16158
16159
|
render() {
|
|
16159
16160
|
var e;
|
|
16160
|
-
return
|
|
16161
|
+
return bt(this, Xe, $a).call(this), Y` <div>
|
|
16161
16162
|
<table-view
|
|
16162
16163
|
.columns="${ef}"
|
|
16163
16164
|
.rows="${(e = this.variables) == null ? void 0 : e.map((t) => ({
|
|
@@ -16181,25 +16182,25 @@ let Li = class extends we {
|
|
|
16181
16182
|
.renderer="${(t, r) => {
|
|
16182
16183
|
switch (r) {
|
|
16183
16184
|
case "originalValue":
|
|
16184
|
-
const i = t.status ===
|
|
16185
|
-
let a = t.status ===
|
|
16186
|
-
return t.status ===
|
|
16185
|
+
const i = t.status === We.LITERAL;
|
|
16186
|
+
let a = t.status === We.MASKED ? `${t.resolvedValue} [masked]` : t.resolvedValue;
|
|
16187
|
+
return t.status === We.UNSPECIFIED ? a = "[unset]" : t.status === We.HIDDEN && (a = "[hidden]"), a = a.replace(/\n/g, " ").replace(/\r/g, ""), Y`<env-viewer
|
|
16187
16188
|
.displaySecret="${i}"
|
|
16188
16189
|
.value="${t.originalValue}"
|
|
16189
|
-
.maskedValue="${
|
|
16190
|
+
.maskedValue="${bt(this, Xe, Pt).call(this, t, r, () => a)}"
|
|
16190
16191
|
.status="${t.status}"
|
|
16191
|
-
@onCopy="${async () =>
|
|
16192
|
+
@onCopy="${async () => bt(this, Xe, Ha).call(this, t.originalValue)}"
|
|
16192
16193
|
></env-viewer>`;
|
|
16193
16194
|
// case 'createdAt':
|
|
16194
16195
|
// return this.#renderValue(row, field, () =>
|
|
16195
16196
|
// row[field] ? formatDateWithTimeAgo(new Date(row[field])) : '',
|
|
16196
16197
|
// )
|
|
16197
16198
|
case "updatedAt":
|
|
16198
|
-
return
|
|
16199
|
+
return bt(this, Xe, Pt).call(this, t, r, () => t[r] ? $l(new Date(t[r])) : "");
|
|
16199
16200
|
case "spec":
|
|
16200
|
-
return
|
|
16201
|
+
return bt(this, Xe, Pt).call(this, t, r, () => Y`<span class="${t.specClass}">${t[r]}</span>`);
|
|
16201
16202
|
default:
|
|
16202
|
-
return
|
|
16203
|
+
return bt(this, Xe, Pt).call(this, t, r, () => t[r]);
|
|
16203
16204
|
}
|
|
16204
16205
|
}}"
|
|
16205
16206
|
></table-view>
|