@runmedev/react-components 3.14.1 → 3.14.2
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/App.d.ts +1 -1
- package/dist/App.d.ts.map +1 -1
- package/dist/app/index.js +3 -3
- package/dist/components/Actions/Actions.d.ts.map +1 -1
- package/dist/contexts/AgentContext.d.ts +1 -1
- package/dist/contexts/AgentContext.d.ts.map +1 -1
- package/dist/contexts/BlockContext.d.ts +1 -1
- package/dist/contexts/BlockContext.d.ts.map +1 -1
- package/dist/contexts/SettingsContext.d.ts +1 -1
- package/dist/contexts/SettingsContext.d.ts.map +1 -1
- package/dist/react-components.cjs +23 -23
- package/dist/react-components.mjs +434 -429
- package/dist/token.d.ts +1 -1
- package/dist/token.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as oe, jsxs as Re, Fragment as ms } from "react/jsx-runtime";
|
|
2
2
|
import * as Fe from "react";
|
|
3
|
-
import { useMemo as yt, useEffect as ze, createContext as _i, useContext as yi, useState as Ze, useCallback as zl, memo as wi, useRef as
|
|
3
|
+
import { useMemo as yt, useEffect as ze, createContext as _i, useContext as yi, useState as Ze, useCallback as zl, memo as wi, useRef as At } from "react";
|
|
4
4
|
import { Text as lt, Button as Ar, ScrollArea as Si, Box as Mt, Card as uh, Flex as jt, TextArea as ri, Callout as Rr, Link as Kl, Container as hh, Heading as fh, Switch as ph, Theme as mh } from "@radix-ui/themes";
|
|
5
5
|
import vh from "@monaco-editor/react";
|
|
6
6
|
import bh from "react-markdown";
|
|
@@ -90,16 +90,16 @@ function So(r) {
|
|
|
90
90
|
const d = Number(r.slice(o, a));
|
|
91
91
|
c *= t, s = s * t + d, s >= Gs && (c = c + (s / Gs | 0), s = s % Gs);
|
|
92
92
|
}
|
|
93
|
-
return u(-24, -18), u(-18, -12), u(-12, -6), u(-6), e ?
|
|
93
|
+
return u(-24, -18), u(-18, -12), u(-12, -6), u(-6), e ? Xl(s, c) : Ci(s, c);
|
|
94
94
|
}
|
|
95
95
|
function Eh(r, e) {
|
|
96
96
|
let t = Ci(r, e);
|
|
97
97
|
const s = t.hi & 2147483648;
|
|
98
|
-
s && (t =
|
|
99
|
-
const c =
|
|
98
|
+
s && (t = Xl(t.lo, t.hi));
|
|
99
|
+
const c = Jl(t.lo, t.hi);
|
|
100
100
|
return s ? "-" + c : c;
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function Jl(r, e) {
|
|
103
103
|
if ({ lo: r, hi: e } = kh(r, e), e <= 2097151)
|
|
104
104
|
return String(Gs * e + r);
|
|
105
105
|
const t = r & 16777215, s = (r >>> 24 | e << 8) & 16777215, c = e >> 16 & 65535;
|
|
@@ -113,7 +113,7 @@ function kh(r, e) {
|
|
|
113
113
|
function Ci(r, e) {
|
|
114
114
|
return { lo: r | 0, hi: e | 0 };
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function Xl(r, e) {
|
|
117
117
|
return e = ~e, r ? r = ~r + 1 : e += 1, Ci(r, e);
|
|
118
118
|
}
|
|
119
119
|
const Co = (r) => {
|
|
@@ -207,7 +207,7 @@ function Th() {
|
|
|
207
207
|
return Eh(e, t);
|
|
208
208
|
},
|
|
209
209
|
uDec(e, t) {
|
|
210
|
-
return
|
|
210
|
+
return Jl(e, t);
|
|
211
211
|
}
|
|
212
212
|
};
|
|
213
213
|
}
|
|
@@ -625,9 +625,9 @@ function Ao(r, e) {
|
|
|
625
625
|
kind: "file",
|
|
626
626
|
proto: r,
|
|
627
627
|
deprecated: (s = (t = r.options) === null || t === void 0 ? void 0 : t.deprecated) !== null && s !== void 0 ? s : !1,
|
|
628
|
-
edition:
|
|
628
|
+
edition: Jh(r),
|
|
629
629
|
name: r.name.replace(/\.proto$/, ""),
|
|
630
|
-
dependencies:
|
|
630
|
+
dependencies: Xh(r, e),
|
|
631
631
|
enums: [],
|
|
632
632
|
messages: [],
|
|
633
633
|
extensions: [],
|
|
@@ -879,7 +879,7 @@ function ai(r, e, t, s, c) {
|
|
|
879
879
|
}
|
|
880
880
|
return i;
|
|
881
881
|
}
|
|
882
|
-
function
|
|
882
|
+
function Jh(r) {
|
|
883
883
|
switch (r.syntax) {
|
|
884
884
|
case "":
|
|
885
885
|
case "proto2":
|
|
@@ -894,7 +894,7 @@ function Xh(r) {
|
|
|
894
894
|
throw new Error(`${r.name}: unsupported syntax "${r.syntax}"`);
|
|
895
895
|
}
|
|
896
896
|
}
|
|
897
|
-
function
|
|
897
|
+
function Xh(r, e) {
|
|
898
898
|
return r.dependency.map((t) => {
|
|
899
899
|
const s = e.getFile(t);
|
|
900
900
|
if (!s)
|
|
@@ -1545,22 +1545,22 @@ function Er(r, e) {
|
|
|
1545
1545
|
s = `expected ${_c(r)}, got ${ut(e)}`;
|
|
1546
1546
|
break;
|
|
1547
1547
|
default:
|
|
1548
|
-
s =
|
|
1548
|
+
s = Js(r, e, t);
|
|
1549
1549
|
}
|
|
1550
1550
|
return new wt(r, s);
|
|
1551
1551
|
}
|
|
1552
1552
|
function Po(r, e, t) {
|
|
1553
1553
|
const s = Ri(r, t);
|
|
1554
1554
|
if (s !== !0)
|
|
1555
|
-
return new wt(r, `list item #${e + 1}: ${
|
|
1555
|
+
return new wt(r, `list item #${e + 1}: ${Js(r, t, s)}`);
|
|
1556
1556
|
}
|
|
1557
1557
|
function mf(r, e, t) {
|
|
1558
1558
|
const s = vc(e, r.mapKey);
|
|
1559
1559
|
if (s !== !0)
|
|
1560
|
-
return new wt(r, `invalid map key: ${
|
|
1560
|
+
return new wt(r, `invalid map key: ${Js({ scalar: r.mapKey }, e, s)}`);
|
|
1561
1561
|
const c = Ri(r, t);
|
|
1562
1562
|
if (c !== !0)
|
|
1563
|
-
return new wt(r, `map entry ${ut(e)}: ${
|
|
1563
|
+
return new wt(r, `map entry ${ut(e)}: ${Js(r, t, c)}`);
|
|
1564
1564
|
}
|
|
1565
1565
|
function Ri(r, e) {
|
|
1566
1566
|
return r.scalar !== void 0 ? vc(e, r.scalar) : r.enum !== void 0 ? r.enum.open ? Number.isInteger(e) : r.enum.values.some((t) => t.number === e) : Ti(e, r.message);
|
|
@@ -1605,7 +1605,7 @@ function vc(r, e) {
|
|
|
1605
1605
|
return !1;
|
|
1606
1606
|
}
|
|
1607
1607
|
}
|
|
1608
|
-
function
|
|
1608
|
+
function Js(r, e, t) {
|
|
1609
1609
|
return t = typeof t == "string" ? `: ${t}` : `, got ${ut(e)}`, r.scalar !== void 0 ? `expected ${vf(r.scalar)}` + t : r.enum !== void 0 ? `expected ${r.enum.toString()}` + t : `expected ${bc(r.message)}` + t;
|
|
1610
1610
|
}
|
|
1611
1611
|
function ut(r) {
|
|
@@ -2165,9 +2165,9 @@ function Of(r) {
|
|
|
2165
2165
|
return r ? Object.assign(Object.assign({}, Fo), r) : Fo;
|
|
2166
2166
|
}
|
|
2167
2167
|
function Af(r, e, t) {
|
|
2168
|
-
return
|
|
2168
|
+
return Xs(new mc(), Of(t), It(r, e)).finish();
|
|
2169
2169
|
}
|
|
2170
|
-
function
|
|
2170
|
+
function Xs(r, e, t) {
|
|
2171
2171
|
var s;
|
|
2172
2172
|
for (const c of t.sortedFields) {
|
|
2173
2173
|
if (!t.isSet(c)) {
|
|
@@ -2205,7 +2205,7 @@ function qs(r, e, t, s, c, u) {
|
|
|
2205
2205
|
Tc(r.tag(c, Lf(s)), e, t, s, u);
|
|
2206
2206
|
}
|
|
2207
2207
|
function Ic(r, e, t, s) {
|
|
2208
|
-
t.delimitedEncoding ?
|
|
2208
|
+
t.delimitedEncoding ? Xs(r.tag(t.number, rt.StartGroup), e, s).tag(t.number, rt.EndGroup) : Xs(r.tag(t.number, rt.LengthDelimited).fork(), e, s).join();
|
|
2209
2209
|
}
|
|
2210
2210
|
function Rf(r, e, t, s) {
|
|
2211
2211
|
var c;
|
|
@@ -2235,7 +2235,7 @@ function Nf(r, e, t, s, c) {
|
|
|
2235
2235
|
qs(r, t.parent.typeName, t.name, (u = t.scalar) !== null && u !== void 0 ? u : ie.INT32, 2, c);
|
|
2236
2236
|
break;
|
|
2237
2237
|
case "message":
|
|
2238
|
-
|
|
2238
|
+
Xs(r.tag(2, rt.LengthDelimited).fork(), e, c).join();
|
|
2239
2239
|
break;
|
|
2240
2240
|
}
|
|
2241
2241
|
r.join();
|
|
@@ -2362,14 +2362,14 @@ var Yo;
|
|
|
2362
2362
|
(function(r) {
|
|
2363
2363
|
r[r.IDEMPOTENCY_UNKNOWN = 0] = "IDEMPOTENCY_UNKNOWN", r[r.NO_SIDE_EFFECTS = 1] = "NO_SIDE_EFFECTS", r[r.IDEMPOTENT = 2] = "IDEMPOTENT";
|
|
2364
2364
|
})(Yo || (Yo = {}));
|
|
2365
|
-
var
|
|
2365
|
+
var Jo;
|
|
2366
2366
|
(function(r) {
|
|
2367
2367
|
r[r.FIELD_PRESENCE_UNKNOWN = 0] = "FIELD_PRESENCE_UNKNOWN", r[r.EXPLICIT = 1] = "EXPLICIT", r[r.IMPLICIT = 2] = "IMPLICIT", r[r.LEGACY_REQUIRED = 3] = "LEGACY_REQUIRED";
|
|
2368
|
-
})(
|
|
2369
|
-
var
|
|
2368
|
+
})(Jo || (Jo = {}));
|
|
2369
|
+
var Xo;
|
|
2370
2370
|
(function(r) {
|
|
2371
2371
|
r[r.ENUM_TYPE_UNKNOWN = 0] = "ENUM_TYPE_UNKNOWN", r[r.OPEN = 1] = "OPEN", r[r.CLOSED = 2] = "CLOSED";
|
|
2372
|
-
})(
|
|
2372
|
+
})(Xo || (Xo = {}));
|
|
2373
2373
|
var qo;
|
|
2374
2374
|
(function(r) {
|
|
2375
2375
|
r[r.REPEATED_FIELD_ENCODING_UNKNOWN = 0] = "REPEATED_FIELD_ENCODING_UNKNOWN", r[r.PACKED = 1] = "PACKED", r[r.EXPANDED = 2] = "EXPANDED";
|
|
@@ -2579,12 +2579,12 @@ function Pc(r) {
|
|
|
2579
2579
|
throw new Error(`invalid type url: ${r}`);
|
|
2580
2580
|
return t;
|
|
2581
2581
|
}
|
|
2582
|
-
const Ui = /* @__PURE__ */ Kt("Chxnb29nbGUvcHJvdG9idWYvc3RydWN0LnByb3RvEg9nb29nbGUucHJvdG9idWYihAEKBlN0cnVjdBIzCgZmaWVsZHMYASADKAsyIy5nb29nbGUucHJvdG9idWYuU3RydWN0LkZpZWxkc0VudHJ5GkUKC0ZpZWxkc0VudHJ5EgsKA2tleRgBIAEoCRIlCgV2YWx1ZRgCIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZToCOAEi6gEKBVZhbHVlEjAKCm51bGxfdmFsdWUYASABKA4yGi5nb29nbGUucHJvdG9idWYuTnVsbFZhbHVlSAASFgoMbnVtYmVyX3ZhbHVlGAIgASgBSAASFgoMc3RyaW5nX3ZhbHVlGAMgASgJSAASFAoKYm9vbF92YWx1ZRgEIAEoCEgAEi8KDHN0cnVjdF92YWx1ZRgFIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RIABIwCgpsaXN0X3ZhbHVlGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLkxpc3RWYWx1ZUgAQgYKBGtpbmQiMwoJTGlzdFZhbHVlEiYKBnZhbHVlcxgBIAMoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZSobCglOdWxsVmFsdWUSDgoKTlVMTF9WQUxVRRAAQn8KE2NvbS5nb29nbGUucHJvdG9idWZCC1N0cnVjdFByb3RvUAFaL2dvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3N0cnVjdHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"), Yf = /* @__PURE__ */ Ts(Ui, 0), Dc = /* @__PURE__ */ Ts(Ui, 1),
|
|
2582
|
+
const Ui = /* @__PURE__ */ Kt("Chxnb29nbGUvcHJvdG9idWYvc3RydWN0LnByb3RvEg9nb29nbGUucHJvdG9idWYihAEKBlN0cnVjdBIzCgZmaWVsZHMYASADKAsyIy5nb29nbGUucHJvdG9idWYuU3RydWN0LkZpZWxkc0VudHJ5GkUKC0ZpZWxkc0VudHJ5EgsKA2tleRgBIAEoCRIlCgV2YWx1ZRgCIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZToCOAEi6gEKBVZhbHVlEjAKCm51bGxfdmFsdWUYASABKA4yGi5nb29nbGUucHJvdG9idWYuTnVsbFZhbHVlSAASFgoMbnVtYmVyX3ZhbHVlGAIgASgBSAASFgoMc3RyaW5nX3ZhbHVlGAMgASgJSAASFAoKYm9vbF92YWx1ZRgEIAEoCEgAEi8KDHN0cnVjdF92YWx1ZRgFIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RIABIwCgpsaXN0X3ZhbHVlGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLkxpc3RWYWx1ZUgAQgYKBGtpbmQiMwoJTGlzdFZhbHVlEiYKBnZhbHVlcxgBIAMoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZSobCglOdWxsVmFsdWUSDgoKTlVMTF9WQUxVRRAAQn8KE2NvbS5nb29nbGUucHJvdG9idWZCC1N0cnVjdFByb3RvUAFaL2dvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3N0cnVjdHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"), Yf = /* @__PURE__ */ Ts(Ui, 0), Dc = /* @__PURE__ */ Ts(Ui, 1), Jf = /* @__PURE__ */ Ts(Ui, 2);
|
|
2583
2583
|
var li;
|
|
2584
2584
|
(function(r) {
|
|
2585
2585
|
r[r.NULL_VALUE = 0] = "NULL_VALUE";
|
|
2586
2586
|
})(li || (li = {}));
|
|
2587
|
-
const
|
|
2587
|
+
const Xf = /* @__PURE__ */ Kt("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"), ln = /* @__PURE__ */ Kt("ChxydW5tZS9ydW5uZXIvdjIvcnVubmVyLnByb3RvEg9ydW5tZS5ydW5uZXIudjIiLwoHUHJvamVjdBIMCgRyb290GAEgASgJEhYKDmVudl9sb2FkX29yZGVyGAIgAygJIo0BCgdTZXNzaW9uEgoKAmlkGAEgASgJEgsKA2VudhgCIAMoCRI4CghtZXRhZGF0YRgDIAMoCzImLnJ1bm1lLnJ1bm5lci52Mi5TZXNzaW9uLk1ldGFkYXRhRW50cnkaLwoNTWV0YWRhdGFFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIrIFChRDcmVhdGVTZXNzaW9uUmVxdWVzdBJFCghtZXRhZGF0YRgBIAMoCzIzLnJ1bm1lLnJ1bm5lci52Mi5DcmVhdGVTZXNzaW9uUmVxdWVzdC5NZXRhZGF0YUVudHJ5EgsKA2VudhgCIAMoCRIuCgdwcm9qZWN0GAMgASgLMhgucnVubWUucnVubmVyLnYyLlByb2plY3RIAIgBARJBCg5lbnZfc3RvcmVfdHlwZRgEIAEoDjIkLnJ1bm1lLnJ1bm5lci52Mi5TZXNzaW9uRW52U3RvcmVUeXBlSAGIAQESPAoGY29uZmlnGAUgASgLMiwucnVubWUucnVubmVyLnYyLkNyZWF0ZVNlc3Npb25SZXF1ZXN0LkNvbmZpZxovCg1NZXRhZGF0YUVudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEaxAIKBkNvbmZpZxJBCg5lbnZfc3RvcmVfdHlwZRgBIAEoDjIkLnJ1bm1lLnJ1bm5lci52Mi5TZXNzaW9uRW52U3RvcmVUeXBlSACIAQESYwoRZW52X3N0b3JlX3NlZWRpbmcYAiABKA4yQy5ydW5tZS5ydW5uZXIudjIuQ3JlYXRlU2Vzc2lvblJlcXVlc3QuQ29uZmlnLlNlc3Npb25FbnZTdG9yZVNlZWRpbmdIAYgBASJpChZTZXNzaW9uRW52U3RvcmVTZWVkaW5nEikKJVNFU1NJT05fRU5WX1NUT1JFX1NFRURJTkdfVU5TUEVDSUZJRUQQABIkCiBTRVNTSU9OX0VOVl9TVE9SRV9TRUVESU5HX1NZU1RFTRABQhEKD19lbnZfc3RvcmVfdHlwZUIUChJfZW52X3N0b3JlX3NlZWRpbmdCCgoIX3Byb2plY3RCEQoPX2Vudl9zdG9yZV90eXBlIkIKFUNyZWF0ZVNlc3Npb25SZXNwb25zZRIpCgdzZXNzaW9uGAEgASgLMhgucnVubWUucnVubmVyLnYyLlNlc3Npb24iHwoRR2V0U2Vzc2lvblJlcXVlc3QSCgoCaWQYASABKAkiPwoSR2V0U2Vzc2lvblJlc3BvbnNlEikKB3Nlc3Npb24YASABKAsyGC5ydW5tZS5ydW5uZXIudjIuU2Vzc2lvbiIVChNMaXN0U2Vzc2lvbnNSZXF1ZXN0IkIKFExpc3RTZXNzaW9uc1Jlc3BvbnNlEioKCHNlc3Npb25zGAEgAygLMhgucnVubWUucnVubmVyLnYyLlNlc3Npb24i4wEKFFVwZGF0ZVNlc3Npb25SZXF1ZXN0EgoKAmlkGAEgASgJEkUKCG1ldGFkYXRhGAIgAygLMjMucnVubWUucnVubmVyLnYyLlVwZGF0ZVNlc3Npb25SZXF1ZXN0Lk1ldGFkYXRhRW50cnkSCwoDZW52GAMgAygJEi4KB3Byb2plY3QYBCABKAsyGC5ydW5tZS5ydW5uZXIudjIuUHJvamVjdEgAiAEBGi8KDU1ldGFkYXRhRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AUIKCghfcHJvamVjdCJCChVVcGRhdGVTZXNzaW9uUmVzcG9uc2USKQoHc2Vzc2lvbhgBIAEoCzIYLnJ1bm1lLnJ1bm5lci52Mi5TZXNzaW9uIiIKFERlbGV0ZVNlc3Npb25SZXF1ZXN0EgoKAmlkGAEgASgJIhcKFURlbGV0ZVNlc3Npb25SZXNwb25zZSI7CgdXaW5zaXplEgwKBHJvd3MYASABKA0SDAoEY29scxgCIAEoDRIJCgF4GAMgASgNEgkKAXkYBCABKA0i5QIKDkV4ZWN1dGVSZXF1ZXN0Ei4KBmNvbmZpZxgBIAEoCzIeLnJ1bm1lLnJ1bm5lci52Mi5Qcm9ncmFtQ29uZmlnEhIKCmlucHV0X2RhdGEYCCABKAwSKgoEc3RvcBgJIAEoDjIcLnJ1bm1lLnJ1bm5lci52Mi5FeGVjdXRlU3RvcBIuCgd3aW5zaXplGAogASgLMhgucnVubWUucnVubmVyLnYyLldpbnNpemVIAIgBARISCgpzZXNzaW9uX2lkGBQgASgJEjoKEHNlc3Npb25fc3RyYXRlZ3kYFSABKA4yIC5ydW5tZS5ydW5uZXIudjIuU2Vzc2lvblN0cmF0ZWd5Ei4KB3Byb2plY3QYFiABKAsyGC5ydW5tZS5ydW5uZXIudjIuUHJvamVjdEgBiAEBEhsKE3N0b3JlX3N0ZG91dF9pbl9lbnYYFyABKAhCCgoIX3dpbnNpemVCCgoIX3Byb2plY3QiqgEKD0V4ZWN1dGVSZXNwb25zZRIvCglleGl0X2NvZGUYASABKAsyHC5nb29nbGUucHJvdG9idWYuVUludDMyVmFsdWUSEwoLc3Rkb3V0X2RhdGEYAiABKAwSEwoLc3RkZXJyX2RhdGEYAyABKAwSKQoDcGlkGAQgASgLMhwuZ29vZ2xlLnByb3RvYnVmLlVJbnQzMlZhbHVlEhEKCW1pbWVfdHlwZRgFIAEoCSIqChlSZXNvbHZlUHJvZ3JhbUNvbW1hbmRMaXN0Eg0KBWxpbmVzGAEgAygJIsAEChVSZXNvbHZlUHJvZ3JhbVJlcXVlc3QSPgoIY29tbWFuZHMYASABKAsyKi5ydW5tZS5ydW5uZXIudjIuUmVzb2x2ZVByb2dyYW1Db21tYW5kTGlzdEgAEhAKBnNjcmlwdBgCIAEoCUgAEjkKBG1vZGUYAyABKA4yKy5ydW5tZS5ydW5uZXIudjIuUmVzb2x2ZVByb2dyYW1SZXF1ZXN0Lk1vZGUSCwoDZW52GAQgAygJEhIKCnNlc3Npb25faWQYBSABKAkSOgoQc2Vzc2lvbl9zdHJhdGVneRgGIAEoDjIgLnJ1bm1lLnJ1bm5lci52Mi5TZXNzaW9uU3RyYXRlZ3kSLgoHcHJvamVjdBgHIAEoCzIYLnJ1bm1lLnJ1bm5lci52Mi5Qcm9qZWN0SAGIAQESEwoLbGFuZ3VhZ2VfaWQYCCABKAkSQwoJcmV0ZW50aW9uGAkgASgOMjAucnVubWUucnVubmVyLnYyLlJlc29sdmVQcm9ncmFtUmVxdWVzdC5SZXRlbnRpb24iRAoETW9kZRIUChBNT0RFX1VOU1BFQ0lGSUVEEAASEwoPTU9ERV9QUk9NUFRfQUxMEAESEQoNTU9ERV9TS0lQX0FMTBACIlcKCVJldGVudGlvbhIZChVSRVRFTlRJT05fVU5TUEVDSUZJRUQQABIXChNSRVRFTlRJT05fRklSU1RfUlVOEAESFgoSUkVURU5USU9OX0xBU1RfUlVOEAJCCAoGc291cmNlQgoKCF9wcm9qZWN0ItoDChZSZXNvbHZlUHJvZ3JhbVJlc3BvbnNlEg4KBnNjcmlwdBgBIAEoCRI8Cghjb21tYW5kcxgCIAEoCzIqLnJ1bm1lLnJ1bm5lci52Mi5SZXNvbHZlUHJvZ3JhbUNvbW1hbmRMaXN0Ej8KBHZhcnMYAyADKAsyMS5ydW5tZS5ydW5uZXIudjIuUmVzb2x2ZVByb2dyYW1SZXNwb25zZS5WYXJSZXN1bHQaiQEKCVZhclJlc3VsdBI+CgZzdGF0dXMYASABKA4yLi5ydW5tZS5ydW5uZXIudjIuUmVzb2x2ZVByb2dyYW1SZXNwb25zZS5TdGF0dXMSDAoEbmFtZRgCIAEoCRIWCg5vcmlnaW5hbF92YWx1ZRgDIAEoCRIWCg5yZXNvbHZlZF92YWx1ZRgEIAEoCSKkAQoGU3RhdHVzEhYKElNUQVRVU19VTlNQRUNJRklFRBAAEhMKD1NUQVRVU19SRVNPTFZFRBABEiIKHlNUQVRVU19VTlJFU09MVkVEX1dJVEhfTUVTU0FHRRACEiYKIlNUQVRVU19VTlJFU09MVkVEX1dJVEhfUExBQ0VIT0xERVIQAxIhCh1TVEFUVVNfVU5SRVNPTFZFRF9XSVRIX1NFQ1JFVBAEIkMKFk1vbml0b3JFbnZTdG9yZVJlcXVlc3QSKQoHc2Vzc2lvbhgBIAEoCzIYLnJ1bm1lLnJ1bm5lci52Mi5TZXNzaW9uIsIECh9Nb25pdG9yRW52U3RvcmVSZXNwb25zZVNuYXBzaG90EkoKBGVudnMYASADKAsyPC5ydW5tZS5ydW5uZXIudjIuTW9uaXRvckVudlN0b3JlUmVzcG9uc2VTbmFwc2hvdC5TbmFwc2hvdEVudhrOAgoLU25hcHNob3RFbnYSRwoGc3RhdHVzGAEgASgOMjcucnVubWUucnVubmVyLnYyLk1vbml0b3JFbnZTdG9yZVJlc3BvbnNlU25hcHNob3QuU3RhdHVzEgwKBG5hbWUYAiABKAkSEwoLZGVzY3JpcHRpb24YAyABKAkSDAoEc3BlYxgEIAEoCRITCgtpc19yZXF1aXJlZBgFIAEoCBIOCgZvcmlnaW4YBiABKAkSFgoOb3JpZ2luYWxfdmFsdWUYByABKAkSFgoOcmVzb2x2ZWRfdmFsdWUYCCABKAkSEwoLY3JlYXRlX3RpbWUYCSABKAkSEwoLdXBkYXRlX3RpbWUYCiABKAkSRgoGZXJyb3JzGAsgAygLMjYucnVubWUucnVubmVyLnYyLk1vbml0b3JFbnZTdG9yZVJlc3BvbnNlU25hcHNob3QuRXJyb3IaJgoFRXJyb3ISDAoEY29kZRgBIAEoDRIPCgdtZXNzYWdlGAIgASgJIloKBlN0YXR1cxIWChJTVEFUVVNfVU5TUEVDSUZJRUQQABISCg5TVEFUVVNfTElURVJBTBABEhEKDVNUQVRVU19ISURERU4QAhIRCg1TVEFUVVNfTUFTS0VEEAMimwEKF01vbml0b3JFbnZTdG9yZVJlc3BvbnNlEjIKBHR5cGUYASABKA4yJC5ydW5tZS5ydW5uZXIudjIuTW9uaXRvckVudlN0b3JlVHlwZRJECghzbmFwc2hvdBgCIAEoCzIwLnJ1bm1lLnJ1bm5lci52Mi5Nb25pdG9yRW52U3RvcmVSZXNwb25zZVNuYXBzaG90SABCBgoEZGF0YSpdChNTZXNzaW9uRW52U3RvcmVUeXBlEiYKIlNFU1NJT05fRU5WX1NUT1JFX1RZUEVfVU5TUEVDSUZJRUQQABIeChpTRVNTSU9OX0VOVl9TVE9SRV9UWVBFX09XTBABKl4KC0V4ZWN1dGVTdG9wEhwKGEVYRUNVVEVfU1RPUF9VTlNQRUNJRklFRBAAEhoKFkVYRUNVVEVfU1RPUF9JTlRFUlJVUFQQARIVChFFWEVDVVRFX1NUT1BfS0lMTBACKlUKD1Nlc3Npb25TdHJhdGVneRIgChxTRVNTSU9OX1NUUkFURUdZX1VOU1BFQ0lGSUVEEAASIAocU0VTU0lPTl9TVFJBVEVHWV9NT1NUX1JFQ0VOVBABKmIKE01vbml0b3JFbnZTdG9yZVR5cGUSJgoiTU9OSVRPUl9FTlZfU1RPUkVfVFlQRV9VTlNQRUNJRklFRBAAEiMKH01PTklUT1JfRU5WX1NUT1JFX1RZUEVfU05BUFNIT1QQATKQBgoNUnVubmVyU2VydmljZRJgCg1DcmVhdGVTZXNzaW9uEiUucnVubWUucnVubmVyLnYyLkNyZWF0ZVNlc3Npb25SZXF1ZXN0GiYucnVubWUucnVubmVyLnYyLkNyZWF0ZVNlc3Npb25SZXNwb25zZSIAElcKCkdldFNlc3Npb24SIi5ydW5tZS5ydW5uZXIudjIuR2V0U2Vzc2lvblJlcXVlc3QaIy5ydW5tZS5ydW5uZXIudjIuR2V0U2Vzc2lvblJlc3BvbnNlIgASXQoMTGlzdFNlc3Npb25zEiQucnVubWUucnVubmVyLnYyLkxpc3RTZXNzaW9uc1JlcXVlc3QaJS5ydW5tZS5ydW5uZXIudjIuTGlzdFNlc3Npb25zUmVzcG9uc2UiABJgCg1VcGRhdGVTZXNzaW9uEiUucnVubWUucnVubmVyLnYyLlVwZGF0ZVNlc3Npb25SZXF1ZXN0GiYucnVubWUucnVubmVyLnYyLlVwZGF0ZVNlc3Npb25SZXNwb25zZSIAEmAKDURlbGV0ZVNlc3Npb24SJS5ydW5tZS5ydW5uZXIudjIuRGVsZXRlU2Vzc2lvblJlcXVlc3QaJi5ydW5tZS5ydW5uZXIudjIuRGVsZXRlU2Vzc2lvblJlc3BvbnNlIgASaAoPTW9uaXRvckVudlN0b3JlEicucnVubWUucnVubmVyLnYyLk1vbml0b3JFbnZTdG9yZVJlcXVlc3QaKC5ydW5tZS5ydW5uZXIudjIuTW9uaXRvckVudlN0b3JlUmVzcG9uc2UiADABElIKB0V4ZWN1dGUSHy5ydW5tZS5ydW5uZXIudjIuRXhlY3V0ZVJlcXVlc3QaIC5ydW5tZS5ydW5uZXIudjIuRXhlY3V0ZVJlc3BvbnNlIgAoATABEmMKDlJlc29sdmVQcm9ncmFtEiYucnVubWUucnVubmVyLnYyLlJlc29sdmVQcm9ncmFtUmVxdWVzdBonLnJ1bm1lLnJ1bm5lci52Mi5SZXNvbHZlUHJvZ3JhbVJlc3BvbnNlIgBCSFpGZ2l0aHViLmNvbS9ydW5tZWRldi9ydW5tZS92My9hcGkvZ2VuL3Byb3RvL2dvL3J1bm1lL3J1bm5lci92MjtydW5uZXJ2MmIGcHJvdG8z", [Xf, Lc]), oa = /* @__PURE__ */ an(ln, 12), Dn = /* @__PURE__ */ an(ln, 13), qf = /* @__PURE__ */ Oc(ln, 2), Qf = /* @__PURE__ */ Bi(qf);
|
|
2588
2588
|
function ep(r, e) {
|
|
2589
2589
|
Mc(e, r);
|
|
2590
2590
|
const t = rp(r.$unknown, e), [s, c, u] = cn(e);
|
|
@@ -3237,7 +3237,7 @@ function Gi(r, e) {
|
|
|
3237
3237
|
if (e === null)
|
|
3238
3238
|
r.kind = { case: "nullValue", value: li.NULL_VALUE };
|
|
3239
3239
|
else if (Array.isArray(e)) {
|
|
3240
|
-
const t = gt(
|
|
3240
|
+
const t = gt(Jf);
|
|
3241
3241
|
Vc(t, e), r.kind = { case: "listValue", value: t };
|
|
3242
3242
|
} else {
|
|
3243
3243
|
const t = gt(Yf);
|
|
@@ -3677,7 +3677,7 @@ var Ip = {
|
|
|
3677
3677
|
/* harmony export */
|
|
3678
3678
|
ResolveProgramCommandList: () => (
|
|
3679
3679
|
/* binding */
|
|
3680
|
-
|
|
3680
|
+
X
|
|
3681
3681
|
),
|
|
3682
3682
|
/* harmony export */
|
|
3683
3683
|
ResolveProgramRequest: () => (
|
|
@@ -3892,12 +3892,12 @@ var Ip = {
|
|
|
3892
3892
|
}
|
|
3893
3893
|
}
|
|
3894
3894
|
const V = new $();
|
|
3895
|
-
class
|
|
3895
|
+
class J extends c.MessageType {
|
|
3896
3896
|
constructor() {
|
|
3897
3897
|
super("runme.runner.v1.DeleteSessionResponse", []);
|
|
3898
3898
|
}
|
|
3899
3899
|
}
|
|
3900
|
-
const z = new
|
|
3900
|
+
const z = new J();
|
|
3901
3901
|
class O extends c.MessageType {
|
|
3902
3902
|
constructor() {
|
|
3903
3903
|
super("runme.runner.v1.Project", [
|
|
@@ -4134,11 +4134,11 @@ var Ip = {
|
|
|
4134
4134
|
]);
|
|
4135
4135
|
}
|
|
4136
4136
|
}
|
|
4137
|
-
const
|
|
4137
|
+
const X = new Q();
|
|
4138
4138
|
class ue extends c.MessageType {
|
|
4139
4139
|
constructor() {
|
|
4140
4140
|
super("runme.runner.v1.ResolveProgramRequest", [
|
|
4141
|
-
{ no: 1, name: "commands", kind: "message", oneof: "source", T: () =>
|
|
4141
|
+
{ no: 1, name: "commands", kind: "message", oneof: "source", T: () => X },
|
|
4142
4142
|
{
|
|
4143
4143
|
no: 2,
|
|
4144
4144
|
name: "script",
|
|
@@ -4187,7 +4187,7 @@ var Ip = {
|
|
|
4187
4187
|
T: 9
|
|
4188
4188
|
/*ScalarType.STRING*/
|
|
4189
4189
|
},
|
|
4190
|
-
{ no: 2, name: "commands", kind: "message", T: () =>
|
|
4190
|
+
{ no: 2, name: "commands", kind: "message", T: () => X },
|
|
4191
4191
|
{ no: 3, name: "vars", kind: "message", repeat: 1, T: () => ae }
|
|
4192
4192
|
]);
|
|
4193
4193
|
}
|
|
@@ -6449,20 +6449,20 @@ var Ip = {
|
|
|
6449
6449
|
} else if (S === x)
|
|
6450
6450
|
return [c(w, [], y - w)];
|
|
6451
6451
|
const T = n(i(_, w, y, C, S, x)), L = [];
|
|
6452
|
-
let $, V = w,
|
|
6452
|
+
let $, V = w, J = S;
|
|
6453
6453
|
for (let z = 0; z < T.length; ++z)
|
|
6454
6454
|
switch (T[z]) {
|
|
6455
6455
|
case u:
|
|
6456
|
-
$ !== void 0 && (L.push($), $ = void 0), V++,
|
|
6456
|
+
$ !== void 0 && (L.push($), $ = void 0), V++, J++;
|
|
6457
6457
|
break;
|
|
6458
6458
|
case o:
|
|
6459
|
-
$ === void 0 && ($ = c(V, [], 0)), $.addedCount++, V++, $.removed.push(C[
|
|
6459
|
+
$ === void 0 && ($ = c(V, [], 0)), $.addedCount++, V++, $.removed.push(C[J]), J++;
|
|
6460
6460
|
break;
|
|
6461
6461
|
case a:
|
|
6462
6462
|
$ === void 0 && ($ = c(V, [], 0)), $.addedCount++, V++;
|
|
6463
6463
|
break;
|
|
6464
6464
|
case d:
|
|
6465
|
-
$ === void 0 && ($ = c(V, [], 0)), $.removed.push(C[
|
|
6465
|
+
$ === void 0 && ($ = c(V, [], 0)), $.removed.push(C[J]), J++;
|
|
6466
6466
|
break;
|
|
6467
6467
|
}
|
|
6468
6468
|
return $ !== void 0 && L.push($), L;
|
|
@@ -8020,8 +8020,8 @@ var Ip = {
|
|
|
8020
8020
|
for (let I = 0, j = v.length; I < j; ++I) {
|
|
8021
8021
|
const T = v[I], L = T.removed;
|
|
8022
8022
|
let $ = 0, V = T.index;
|
|
8023
|
-
const
|
|
8024
|
-
for (; V <
|
|
8023
|
+
const J = V + T.addedCount, z = g.splice(T.index, L.length), O = k = S.length + z.length;
|
|
8024
|
+
for (; V < J; ++V) {
|
|
8025
8025
|
const P = g[V], N = P ? P.firstChild : this.location;
|
|
8026
8026
|
let U;
|
|
8027
8027
|
C && k > 0 ? ($ <= O && z.length > 0 ? (U = z[$], $++) : (U = S[x], x++), k--) : U = y.create(), g.splice(V, 0, U), _(U, w, V, b), U.insertBefore(N);
|
|
@@ -9977,9 +9977,9 @@ var Ip = {
|
|
|
9977
9977
|
elementPrefix: this.prefix,
|
|
9978
9978
|
tryDefineElement(x, k, I) {
|
|
9979
9979
|
const j = p(x, k, I), { name: T, callback: L, baseClass: $ } = j;
|
|
9980
|
-
let { type: V } = j,
|
|
9980
|
+
let { type: V } = j, J = T, z = i.get(J), O = !0;
|
|
9981
9981
|
for (; z; ) {
|
|
9982
|
-
const P = y(
|
|
9982
|
+
const P = y(J, V, z);
|
|
9983
9983
|
switch (P) {
|
|
9984
9984
|
case d.ignoreDuplicate:
|
|
9985
9985
|
return;
|
|
@@ -9987,12 +9987,12 @@ var Ip = {
|
|
|
9987
9987
|
O = !1, z = void 0;
|
|
9988
9988
|
break;
|
|
9989
9989
|
default:
|
|
9990
|
-
|
|
9990
|
+
J = P, z = i.get(J);
|
|
9991
9991
|
break;
|
|
9992
9992
|
}
|
|
9993
9993
|
}
|
|
9994
9994
|
O && ((n.has(V) || V === c.FoundationElement) && (V = class extends V {
|
|
9995
|
-
}), i.set(
|
|
9995
|
+
}), i.set(J, V), n.set(V, J), $ && n.set($, J)), w.push(new v(_, J, V, C, L, O));
|
|
9996
9996
|
}
|
|
9997
9997
|
};
|
|
9998
9998
|
this.designTokensInitialized || (this.designTokensInitialized = !0, this.designTokenRoot !== null && o.DesignToken.registerRoot(this.designTokenRoot)), _.registerWithContext(S, ...g);
|
|
@@ -10678,7 +10678,7 @@ var Ip = {
|
|
|
10678
10678
|
/* harmony export */
|
|
10679
10679
|
Registration: () => (
|
|
10680
10680
|
/* binding */
|
|
10681
|
-
|
|
10681
|
+
X
|
|
10682
10682
|
),
|
|
10683
10683
|
/* harmony export */
|
|
10684
10684
|
ResolverBuilder: () => (
|
|
@@ -11103,7 +11103,7 @@ var Ip = {
|
|
|
11103
11103
|
*/
|
|
11104
11104
|
transient(G) {
|
|
11105
11105
|
return G.register = function(H) {
|
|
11106
|
-
return
|
|
11106
|
+
return X.transient(G, G).register(H);
|
|
11107
11107
|
}, G.registerInRequestor = !1, G;
|
|
11108
11108
|
},
|
|
11109
11109
|
/**
|
|
@@ -11131,7 +11131,7 @@ var Ip = {
|
|
|
11131
11131
|
*/
|
|
11132
11132
|
singleton(G, H = w) {
|
|
11133
11133
|
return G.register = function(q) {
|
|
11134
|
-
return
|
|
11134
|
+
return X.singleton(G, G).register(q);
|
|
11135
11135
|
}, G.registerInRequestor = H.scoped, G;
|
|
11136
11136
|
}
|
|
11137
11137
|
}), p = m.createInterface("Container"), f = p;
|
|
@@ -11236,7 +11236,7 @@ var Ip = {
|
|
|
11236
11236
|
function V(G) {
|
|
11237
11237
|
return this.get(G);
|
|
11238
11238
|
}
|
|
11239
|
-
function
|
|
11239
|
+
function J(G, H) {
|
|
11240
11240
|
return H(G);
|
|
11241
11241
|
}
|
|
11242
11242
|
class z {
|
|
@@ -11245,7 +11245,7 @@ var Ip = {
|
|
|
11245
11245
|
}
|
|
11246
11246
|
construct(H, q) {
|
|
11247
11247
|
let se;
|
|
11248
|
-
return q === void 0 ? se = new this.Type(...this.dependencies.map(V, H)) : se = new this.Type(...this.dependencies.map(V, H), ...q), this.transformers == null ? se : this.transformers.reduce(
|
|
11248
|
+
return q === void 0 ? se = new this.Type(...this.dependencies.map(V, H)) : se = new this.Type(...this.dependencies.map(V, H), ...q), this.transformers == null ? se : this.transformers.reduce(J, se);
|
|
11249
11249
|
}
|
|
11250
11250
|
registerTransformer(H) {
|
|
11251
11251
|
(this.transformers || (this.transformers = [])).push(H);
|
|
@@ -11331,7 +11331,7 @@ var Ip = {
|
|
|
11331
11331
|
if (P(q))
|
|
11332
11332
|
q.register(this, Ie);
|
|
11333
11333
|
else if (M(q))
|
|
11334
|
-
|
|
11334
|
+
X.singleton(q, q).register(this);
|
|
11335
11335
|
else
|
|
11336
11336
|
for (se = Object.keys(q), he = 0, ke = se.length; he < ke; ++he)
|
|
11337
11337
|
le = q[se[he]], ve(le) && (P(le) ? le.register(this, Ie) : this.register(le));
|
|
@@ -11454,7 +11454,7 @@ var Ip = {
|
|
|
11454
11454
|
return R.set(se, le), le;
|
|
11455
11455
|
};
|
|
11456
11456
|
}
|
|
11457
|
-
const
|
|
11457
|
+
const X = Object.freeze({
|
|
11458
11458
|
/**
|
|
11459
11459
|
* Allows you to pass an instance.
|
|
11460
11460
|
* Every time you request this {@link Key} you will get this instance back.
|
|
@@ -15668,10 +15668,10 @@ var Ip = {
|
|
|
15668
15668
|
return L;
|
|
15669
15669
|
}
|
|
15670
15670
|
function a(j, T, L, $) {
|
|
15671
|
-
var V = arguments.length,
|
|
15672
|
-
if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
|
|
15673
|
-
else for (var O = j.length - 1; O >= 0; O--) (z = j[O]) && (
|
|
15674
|
-
return V > 3 &&
|
|
15671
|
+
var V = arguments.length, J = V < 3 ? T : $ === null ? $ = Object.getOwnPropertyDescriptor(T, L) : $, z;
|
|
15672
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") J = Reflect.decorate(j, T, L, $);
|
|
15673
|
+
else for (var O = j.length - 1; O >= 0; O--) (z = j[O]) && (J = (V < 3 ? z(J) : V > 3 ? z(T, L, J) : z(T, L)) || J);
|
|
15674
|
+
return V > 3 && J && Object.defineProperty(T, L, J), J;
|
|
15675
15675
|
}
|
|
15676
15676
|
function d(j, T) {
|
|
15677
15677
|
return function(L, $) {
|
|
@@ -15682,12 +15682,12 @@ var Ip = {
|
|
|
15682
15682
|
if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(j, T);
|
|
15683
15683
|
}
|
|
15684
15684
|
function n(j, T, L, $) {
|
|
15685
|
-
function V(
|
|
15686
|
-
return
|
|
15687
|
-
z(
|
|
15685
|
+
function V(J) {
|
|
15686
|
+
return J instanceof L ? J : new L(function(z) {
|
|
15687
|
+
z(J);
|
|
15688
15688
|
});
|
|
15689
15689
|
}
|
|
15690
|
-
return new (L || (L = Promise))(function(
|
|
15690
|
+
return new (L || (L = Promise))(function(J, z) {
|
|
15691
15691
|
function O(U) {
|
|
15692
15692
|
try {
|
|
15693
15693
|
N($.next(U));
|
|
@@ -15703,16 +15703,16 @@ var Ip = {
|
|
|
15703
15703
|
}
|
|
15704
15704
|
}
|
|
15705
15705
|
function N(U) {
|
|
15706
|
-
U.done ?
|
|
15706
|
+
U.done ? J(U.value) : V(U.value).then(O, P);
|
|
15707
15707
|
}
|
|
15708
15708
|
N(($ = $.apply(j, T || [])).next());
|
|
15709
15709
|
});
|
|
15710
15710
|
}
|
|
15711
15711
|
function l(j, T) {
|
|
15712
15712
|
var L = { label: 0, sent: function() {
|
|
15713
|
-
if (
|
|
15714
|
-
return
|
|
15715
|
-
}, trys: [], ops: [] }, $, V,
|
|
15713
|
+
if (J[0] & 1) throw J[1];
|
|
15714
|
+
return J[1];
|
|
15715
|
+
}, trys: [], ops: [] }, $, V, J, z;
|
|
15716
15716
|
return z = { next: O(0), throw: O(1), return: O(2) }, typeof Symbol == "function" && (z[Symbol.iterator] = function() {
|
|
15717
15717
|
return this;
|
|
15718
15718
|
}), z;
|
|
@@ -15724,11 +15724,11 @@ var Ip = {
|
|
|
15724
15724
|
function P(N) {
|
|
15725
15725
|
if ($) throw new TypeError("Generator is already executing.");
|
|
15726
15726
|
for (; L; ) try {
|
|
15727
|
-
if ($ = 1, V && (
|
|
15728
|
-
switch (V = 0,
|
|
15727
|
+
if ($ = 1, V && (J = N[0] & 2 ? V.return : N[0] ? V.throw || ((J = V.return) && J.call(V), 0) : V.next) && !(J = J.call(V, N[1])).done) return J;
|
|
15728
|
+
switch (V = 0, J && (N = [N[0] & 2, J.value]), N[0]) {
|
|
15729
15729
|
case 0:
|
|
15730
15730
|
case 1:
|
|
15731
|
-
|
|
15731
|
+
J = N;
|
|
15732
15732
|
break;
|
|
15733
15733
|
case 4:
|
|
15734
15734
|
return L.label++, { value: N[1], done: !1 };
|
|
@@ -15739,30 +15739,30 @@ var Ip = {
|
|
|
15739
15739
|
N = L.ops.pop(), L.trys.pop();
|
|
15740
15740
|
continue;
|
|
15741
15741
|
default:
|
|
15742
|
-
if (
|
|
15742
|
+
if (J = L.trys, !(J = J.length > 0 && J[J.length - 1]) && (N[0] === 6 || N[0] === 2)) {
|
|
15743
15743
|
L = 0;
|
|
15744
15744
|
continue;
|
|
15745
15745
|
}
|
|
15746
|
-
if (N[0] === 3 && (!
|
|
15746
|
+
if (N[0] === 3 && (!J || N[1] > J[0] && N[1] < J[3])) {
|
|
15747
15747
|
L.label = N[1];
|
|
15748
15748
|
break;
|
|
15749
15749
|
}
|
|
15750
|
-
if (N[0] === 6 && L.label <
|
|
15751
|
-
L.label =
|
|
15750
|
+
if (N[0] === 6 && L.label < J[1]) {
|
|
15751
|
+
L.label = J[1], J = N;
|
|
15752
15752
|
break;
|
|
15753
15753
|
}
|
|
15754
|
-
if (
|
|
15755
|
-
L.label =
|
|
15754
|
+
if (J && L.label < J[2]) {
|
|
15755
|
+
L.label = J[2], L.ops.push(N);
|
|
15756
15756
|
break;
|
|
15757
15757
|
}
|
|
15758
|
-
|
|
15758
|
+
J[2] && L.ops.pop(), L.trys.pop();
|
|
15759
15759
|
continue;
|
|
15760
15760
|
}
|
|
15761
15761
|
N = T.call(j, L);
|
|
15762
15762
|
} catch (U) {
|
|
15763
15763
|
N = [6, U], V = 0;
|
|
15764
15764
|
} finally {
|
|
15765
|
-
$ =
|
|
15765
|
+
$ = J = 0;
|
|
15766
15766
|
}
|
|
15767
15767
|
if (N[0] & 5) throw N[1];
|
|
15768
15768
|
return { value: N[0] ? N[1] : void 0, done: !0 };
|
|
@@ -15787,9 +15787,9 @@ var Ip = {
|
|
|
15787
15787
|
function f(j, T) {
|
|
15788
15788
|
var L = typeof Symbol == "function" && j[Symbol.iterator];
|
|
15789
15789
|
if (!L) return j;
|
|
15790
|
-
var $ = L.call(j), V,
|
|
15790
|
+
var $ = L.call(j), V, J = [], z;
|
|
15791
15791
|
try {
|
|
15792
|
-
for (; (T === void 0 || T-- > 0) && !(V = $.next()).done; )
|
|
15792
|
+
for (; (T === void 0 || T-- > 0) && !(V = $.next()).done; ) J.push(V.value);
|
|
15793
15793
|
} catch (O) {
|
|
15794
15794
|
z = { error: O };
|
|
15795
15795
|
} finally {
|
|
@@ -15799,7 +15799,7 @@ var Ip = {
|
|
|
15799
15799
|
if (z) throw z.error;
|
|
15800
15800
|
}
|
|
15801
15801
|
}
|
|
15802
|
-
return
|
|
15802
|
+
return J;
|
|
15803
15803
|
}
|
|
15804
15804
|
function v() {
|
|
15805
15805
|
for (var j = [], T = 0; T < arguments.length; T++)
|
|
@@ -15809,8 +15809,8 @@ var Ip = {
|
|
|
15809
15809
|
function b() {
|
|
15810
15810
|
for (var j = 0, T = 0, L = arguments.length; T < L; T++) j += arguments[T].length;
|
|
15811
15811
|
for (var $ = Array(j), V = 0, T = 0; T < L; T++)
|
|
15812
|
-
for (var
|
|
15813
|
-
$[V] =
|
|
15812
|
+
for (var J = arguments[T], z = 0, O = J.length; z < O; z++, V++)
|
|
15813
|
+
$[V] = J[z];
|
|
15814
15814
|
return $;
|
|
15815
15815
|
}
|
|
15816
15816
|
function g(j) {
|
|
@@ -15818,14 +15818,14 @@ var Ip = {
|
|
|
15818
15818
|
}
|
|
15819
15819
|
function _(j, T, L) {
|
|
15820
15820
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
15821
|
-
var $ = L.apply(j, T || []), V,
|
|
15821
|
+
var $ = L.apply(j, T || []), V, J = [];
|
|
15822
15822
|
return V = {}, z("next"), z("throw"), z("return"), V[Symbol.asyncIterator] = function() {
|
|
15823
15823
|
return this;
|
|
15824
15824
|
}, V;
|
|
15825
15825
|
function z(W) {
|
|
15826
15826
|
$[W] && (V[W] = function(K) {
|
|
15827
15827
|
return new Promise(function(Y, B) {
|
|
15828
|
-
|
|
15828
|
+
J.push([W, K, Y, B]) > 1 || O(W, K);
|
|
15829
15829
|
});
|
|
15830
15830
|
});
|
|
15831
15831
|
}
|
|
@@ -15833,11 +15833,11 @@ var Ip = {
|
|
|
15833
15833
|
try {
|
|
15834
15834
|
P($[W](K));
|
|
15835
15835
|
} catch (Y) {
|
|
15836
|
-
M(
|
|
15836
|
+
M(J[0][3], Y);
|
|
15837
15837
|
}
|
|
15838
15838
|
}
|
|
15839
15839
|
function P(W) {
|
|
15840
|
-
W.value instanceof g ? Promise.resolve(W.value.v).then(N, U) : M(
|
|
15840
|
+
W.value instanceof g ? Promise.resolve(W.value.v).then(N, U) : M(J[0][2], W);
|
|
15841
15841
|
}
|
|
15842
15842
|
function N(W) {
|
|
15843
15843
|
O("next", W);
|
|
@@ -15846,7 +15846,7 @@ var Ip = {
|
|
|
15846
15846
|
O("throw", W);
|
|
15847
15847
|
}
|
|
15848
15848
|
function M(W, K) {
|
|
15849
|
-
W(K),
|
|
15849
|
+
W(K), J.shift(), J.length && O(J[0][0], J[0][1]);
|
|
15850
15850
|
}
|
|
15851
15851
|
}
|
|
15852
15852
|
function w(j) {
|
|
@@ -15856,10 +15856,10 @@ var Ip = {
|
|
|
15856
15856
|
}), $("return"), T[Symbol.iterator] = function() {
|
|
15857
15857
|
return this;
|
|
15858
15858
|
}, T;
|
|
15859
|
-
function $(V,
|
|
15859
|
+
function $(V, J) {
|
|
15860
15860
|
T[V] = j[V] ? function(z) {
|
|
15861
|
-
return (L = !L) ? { value: g(j[V](z)), done: V === "return" } :
|
|
15862
|
-
} :
|
|
15861
|
+
return (L = !L) ? { value: g(j[V](z)), done: V === "return" } : J ? J(z) : z;
|
|
15862
|
+
} : J;
|
|
15863
15863
|
}
|
|
15864
15864
|
}
|
|
15865
15865
|
function y(j) {
|
|
@@ -15868,16 +15868,16 @@ var Ip = {
|
|
|
15868
15868
|
return T ? T.call(j) : (j = typeof p == "function" ? p(j) : j[Symbol.iterator](), L = {}, $("next"), $("throw"), $("return"), L[Symbol.asyncIterator] = function() {
|
|
15869
15869
|
return this;
|
|
15870
15870
|
}, L);
|
|
15871
|
-
function $(
|
|
15872
|
-
L[
|
|
15871
|
+
function $(J) {
|
|
15872
|
+
L[J] = j[J] && function(z) {
|
|
15873
15873
|
return new Promise(function(O, P) {
|
|
15874
|
-
z = j[
|
|
15874
|
+
z = j[J](z), V(O, P, z.done, z.value);
|
|
15875
15875
|
});
|
|
15876
15876
|
};
|
|
15877
15877
|
}
|
|
15878
|
-
function V(
|
|
15878
|
+
function V(J, z, O, P) {
|
|
15879
15879
|
Promise.resolve(P).then(function(N) {
|
|
15880
|
-
|
|
15880
|
+
J({ value: N, done: O });
|
|
15881
15881
|
}, z);
|
|
15882
15882
|
}
|
|
15883
15883
|
}
|
|
@@ -16210,7 +16210,7 @@ var Ip = {
|
|
|
16210
16210
|
/* harmony export */
|
|
16211
16211
|
eventDeviceOrientation: () => (
|
|
16212
16212
|
/* binding */
|
|
16213
|
-
|
|
16213
|
+
J
|
|
16214
16214
|
),
|
|
16215
16215
|
/* harmony export */
|
|
16216
16216
|
eventDischargingTimeChange: () => (
|
|
@@ -16275,7 +16275,7 @@ var Ip = {
|
|
|
16275
16275
|
/* harmony export */
|
|
16276
16276
|
eventError: () => (
|
|
16277
16277
|
/* binding */
|
|
16278
|
-
|
|
16278
|
+
X
|
|
16279
16279
|
),
|
|
16280
16280
|
/* harmony export */
|
|
16281
16281
|
eventFocus: () => (
|
|
@@ -16390,7 +16390,7 @@ var Ip = {
|
|
|
16390
16390
|
/* harmony export */
|
|
16391
16391
|
eventMouseDown: () => (
|
|
16392
16392
|
/* binding */
|
|
16393
|
-
|
|
16393
|
+
Je
|
|
16394
16394
|
),
|
|
16395
16395
|
/* harmony export */
|
|
16396
16396
|
eventMouseEnter: () => (
|
|
@@ -16410,7 +16410,7 @@ var Ip = {
|
|
|
16410
16410
|
/* harmony export */
|
|
16411
16411
|
eventMouseOut: () => (
|
|
16412
16412
|
/* binding */
|
|
16413
|
-
|
|
16413
|
+
Xe
|
|
16414
16414
|
),
|
|
16415
16415
|
/* harmony export */
|
|
16416
16416
|
eventMouseOver: () => (
|
|
@@ -16665,7 +16665,7 @@ var Ip = {
|
|
|
16665
16665
|
/* harmony export */
|
|
16666
16666
|
eventSuccess: () => (
|
|
16667
16667
|
/* binding */
|
|
16668
|
-
|
|
16668
|
+
Xr
|
|
16669
16669
|
),
|
|
16670
16670
|
/* harmony export */
|
|
16671
16671
|
eventSuspend: () => (
|
|
@@ -16749,7 +16749,7 @@ var Ip = {
|
|
|
16749
16749
|
)
|
|
16750
16750
|
/* harmony export */
|
|
16751
16751
|
});
|
|
16752
|
-
const s = "abort", c = "afterprint", u = "animationcancel", o = "animationend", a = "animationiteration", d = "animationstart", i = "appinstalled", n = "beforeprint", l = "beforeunload", h = "beginEvent", m = "blocked", p = "blur", f = "canplay", v = "canplaythrough", b = "change", g = "chargingchange", _ = "chargingtimechange", w = "click", y = "close", C = "complete", S = "compositionend", x = "compositionstart", k = "compositionupdate", I = "contextmenu", j = "copy", T = "cut", L = "dblclick", $ = "devicechange", V = "devicemotion",
|
|
16752
|
+
const s = "abort", c = "afterprint", u = "animationcancel", o = "animationend", a = "animationiteration", d = "animationstart", i = "appinstalled", n = "beforeprint", l = "beforeunload", h = "beginEvent", m = "blocked", p = "blur", f = "canplay", v = "canplaythrough", b = "change", g = "chargingchange", _ = "chargingtimechange", w = "click", y = "close", C = "complete", S = "compositionend", x = "compositionstart", k = "compositionupdate", I = "contextmenu", j = "copy", T = "cut", L = "dblclick", $ = "devicechange", V = "devicemotion", J = "deviceorientation", z = "dischargingtimechange", O = "drag", P = "dragend", N = "dragenter", U = "dragleave", M = "dragover", W = "dragstart", K = "drop", Y = "durationchange", B = "emptied", R = "ended", Q = "endevent", X = "error", ue = "focus", te = "focusin", _e = "focusout", ve = "fullscreenchange", Ee = "fullscreenerror", ae = "gamepadconnected", de = "gamepaddisconnected", G = "gotpointercapture", H = "hashchange", q = "lostpointercapture", se = "input", le = "invalid", he = "keydown", ke = "keyup", Ie = "levelchange", xe = "load", Ne = "loadeddata", ce = "loadedmetadata", De = "loadend", Pe = "loadstart", We = "message", Ae = "messageerror", Je = "mousedown", et = "mouseenter", dt = "mouseleave", pt = "mousemove", Xe = "mouseout", tt = "mouseover", it = "mouseup", at = "notificationclick", je = "offline", ee = "online", pe = "open", ge = "orientationchange", ye = "pagehide", Te = "pageshow", we = "paste", Se = "pause", Le = "pointercancel", Be = "pointerdown", qe = "pointerenter", Me = "pointerleave", Qe = "pointerlockchange", re = "pointerlockerror", _t = "pointermove", Qt = "pointerout", er = "pointerover", tr = "pointerup", rr = "play", sr = "playing", nr = "popstate", ir = "progress", or = "push", ar = "pushsubscriptionchange", lr = "ratechange", cr = "readystatechange", dr = "repeatevent", ur = "reset", hr = "resize", fr = "resourcetimingbufferfull", pr = "scroll", mr = "seeked", vr = "seeking", br = "select", gr = "show", _r = "slotchange", yr = "stalled", wr = "start", Wt = "storage", Sr = "submit", Xr = "success", qr = "suspend", Qr = "SVGAbort", es = "SVGError", ts = "SVGLoad", rs = "SVGResize", Z = "SVGScroll", E = "SVGUnload", A = "SVGZoom", D = "timeout", F = "timeupdate", me = "touchcancel", be = "touchend", fe = "touchmove", Ce = "touchstart", Oe = "transitionend", Ue = "unload", Et = "upgradeneeded", Cr = "userproximity", jn = "versionchange", En = "visibilitychange", kn = "volumechange", In = "waiting", Tn = "wheel";
|
|
16753
16753
|
}
|
|
16754
16754
|
),
|
|
16755
16755
|
/***/
|
|
@@ -16938,7 +16938,7 @@ var Ip = {
|
|
|
16938
16938
|
/* harmony export */
|
|
16939
16939
|
keyCodeFunction4: () => (
|
|
16940
16940
|
/* binding */
|
|
16941
|
-
|
|
16941
|
+
J
|
|
16942
16942
|
),
|
|
16943
16943
|
/* harmony export */
|
|
16944
16944
|
keyCodeFunction5: () => (
|
|
@@ -17003,7 +17003,7 @@ var Ip = {
|
|
|
17003
17003
|
/* harmony export */
|
|
17004
17004
|
keyCodeNumPad1: () => (
|
|
17005
17005
|
/* binding */
|
|
17006
|
-
|
|
17006
|
+
X
|
|
17007
17007
|
),
|
|
17008
17008
|
/* harmony export */
|
|
17009
17009
|
keyCodeNumPad2: () => (
|
|
@@ -17118,7 +17118,7 @@ var Ip = {
|
|
|
17118
17118
|
/* harmony export */
|
|
17119
17119
|
keyCodeTab: () => (
|
|
17120
17120
|
/* binding */
|
|
17121
|
-
|
|
17121
|
+
Je
|
|
17122
17122
|
),
|
|
17123
17123
|
/* harmony export */
|
|
17124
17124
|
keyCodeTilde: () => (
|
|
@@ -17138,7 +17138,7 @@ var Ip = {
|
|
|
17138
17138
|
/* harmony export */
|
|
17139
17139
|
keyCodeWindowsRight: () => (
|
|
17140
17140
|
/* binding */
|
|
17141
|
-
|
|
17141
|
+
Xe
|
|
17142
17142
|
),
|
|
17143
17143
|
/* harmony export */
|
|
17144
17144
|
keyDelete: () => (
|
|
@@ -17196,7 +17196,7 @@ var Ip = {
|
|
|
17196
17196
|
(function(re) {
|
|
17197
17197
|
re[re.alt = 18] = "alt", re[re.arrowDown = 40] = "arrowDown", re[re.arrowLeft = 37] = "arrowLeft", re[re.arrowRight = 39] = "arrowRight", re[re.arrowUp = 38] = "arrowUp", re[re.back = 8] = "back", re[re.backSlash = 220] = "backSlash", re[re.break = 19] = "break", re[re.capsLock = 20] = "capsLock", re[re.closeBracket = 221] = "closeBracket", re[re.colon = 186] = "colon", re[re.colon2 = 59] = "colon2", re[re.comma = 188] = "comma", re[re.ctrl = 17] = "ctrl", re[re.delete = 46] = "delete", re[re.end = 35] = "end", re[re.enter = 13] = "enter", re[re.equals = 187] = "equals", re[re.equals2 = 61] = "equals2", re[re.equals3 = 107] = "equals3", re[re.escape = 27] = "escape", re[re.forwardSlash = 191] = "forwardSlash", re[re.function1 = 112] = "function1", re[re.function10 = 121] = "function10", re[re.function11 = 122] = "function11", re[re.function12 = 123] = "function12", re[re.function2 = 113] = "function2", re[re.function3 = 114] = "function3", re[re.function4 = 115] = "function4", re[re.function5 = 116] = "function5", re[re.function6 = 117] = "function6", re[re.function7 = 118] = "function7", re[re.function8 = 119] = "function8", re[re.function9 = 120] = "function9", re[re.home = 36] = "home", re[re.insert = 45] = "insert", re[re.menu = 93] = "menu", re[re.minus = 189] = "minus", re[re.minus2 = 109] = "minus2", re[re.numLock = 144] = "numLock", re[re.numPad0 = 96] = "numPad0", re[re.numPad1 = 97] = "numPad1", re[re.numPad2 = 98] = "numPad2", re[re.numPad3 = 99] = "numPad3", re[re.numPad4 = 100] = "numPad4", re[re.numPad5 = 101] = "numPad5", re[re.numPad6 = 102] = "numPad6", re[re.numPad7 = 103] = "numPad7", re[re.numPad8 = 104] = "numPad8", re[re.numPad9 = 105] = "numPad9", re[re.numPadDivide = 111] = "numPadDivide", re[re.numPadDot = 110] = "numPadDot", re[re.numPadMinus = 109] = "numPadMinus", re[re.numPadMultiply = 106] = "numPadMultiply", re[re.numPadPlus = 107] = "numPadPlus", re[re.openBracket = 219] = "openBracket", re[re.pageDown = 34] = "pageDown", re[re.pageUp = 33] = "pageUp", re[re.period = 190] = "period", re[re.print = 44] = "print", re[re.quote = 222] = "quote", re[re.scrollLock = 145] = "scrollLock", re[re.shift = 16] = "shift", re[re.space = 32] = "space", re[re.tab = 9] = "tab", re[re.tilde = 192] = "tilde", re[re.windowsLeft = 91] = "windowsLeft", re[re.windowsOpera = 219] = "windowsOpera", re[re.windowsRight = 92] = "windowsRight";
|
|
17198
17198
|
})(s || (s = {}));
|
|
17199
|
-
const c = 18, u = 40, o = 37, a = 39, d = 38, i = 8, n = 220, l = 19, h = 20, m = 221, p = 186, f = 59, v = 188, b = 17, g = 46, _ = 35, w = 13, y = 187, C = 61, S = 107, x = 27, k = 191, I = 112, j = 121, T = 122, L = 123, $ = 113, V = 114,
|
|
17199
|
+
const c = 18, u = 40, o = 37, a = 39, d = 38, i = 8, n = 220, l = 19, h = 20, m = 221, p = 186, f = 59, v = 188, b = 17, g = 46, _ = 35, w = 13, y = 187, C = 61, S = 107, x = 27, k = 191, I = 112, j = 121, T = 122, L = 123, $ = 113, V = 114, J = 115, z = 116, O = 117, P = 118, N = 119, U = 120, M = 36, W = 45, K = 93, Y = 189, B = 109, R = 144, Q = 96, X = 97, ue = 98, te = 99, _e = 100, ve = 101, Ee = 102, ae = 103, de = 104, G = 105, H = 111, q = 110, se = 109, le = 106, he = 107, ke = 219, Ie = 34, xe = 33, Ne = 190, ce = 44, De = 222, Pe = 145, We = 16, Ae = 32, Je = 9, et = 192, dt = 91, pt = 219, Xe = 92, tt = "ArrowDown", it = "ArrowLeft", at = "ArrowRight", je = "ArrowUp", ee = "Enter", pe = "Escape", ge = "Home", ye = "End", Te = "F2", we = "PageDown", Se = "PageUp", Le = " ", Be = "Tab", qe = "Backspace", Me = "Delete", Qe = {
|
|
17200
17200
|
ArrowDown: tt,
|
|
17201
17201
|
ArrowLeft: it,
|
|
17202
17202
|
ArrowRight: at,
|
|
@@ -21108,7 +21108,7 @@ var Ip = {
|
|
|
21108
21108
|
/* harmony export */
|
|
21109
21109
|
badgeForeground: () => (
|
|
21110
21110
|
/* binding */
|
|
21111
|
-
|
|
21111
|
+
J
|
|
21112
21112
|
),
|
|
21113
21113
|
/* harmony export */
|
|
21114
21114
|
borderWidth: () => (
|
|
@@ -21148,7 +21148,7 @@ var Ip = {
|
|
|
21148
21148
|
/* harmony export */
|
|
21149
21149
|
buttonPaddingHorizontal: () => (
|
|
21150
21150
|
/* binding */
|
|
21151
|
-
|
|
21151
|
+
X
|
|
21152
21152
|
),
|
|
21153
21153
|
/* harmony export */
|
|
21154
21154
|
buttonPaddingVertical: () => (
|
|
@@ -21348,7 +21348,7 @@ var Ip = {
|
|
|
21348
21348
|
/* harmony export */
|
|
21349
21349
|
panelViewBackground: () => (
|
|
21350
21350
|
/* binding */
|
|
21351
|
-
|
|
21351
|
+
Je
|
|
21352
21352
|
),
|
|
21353
21353
|
/* harmony export */
|
|
21354
21354
|
panelViewBorder: () => (
|
|
@@ -21436,7 +21436,7 @@ var Ip = {
|
|
|
21436
21436
|
/*! ./utilities/design-tokens/create.js */
|
|
21437
21437
|
"./node_modules/@vscode/webview-ui-toolkit/dist/utilities/design-tokens/create.js"
|
|
21438
21438
|
);
|
|
21439
|
-
const c = (0, s.create)("background", "--vscode-editor-background").withDefault("#1e1e1e"), u = (0, s.create)("border-width").withDefault(1), o = (0, s.create)("contrast-active-border", "--vscode-contrastActiveBorder").withDefault("#f38518"), a = (0, s.create)("contrast-border", "--vscode-contrastBorder").withDefault("#6fc3df"), d = (0, s.create)("corner-radius").withDefault(0), i = (0, s.create)("corner-radius-round").withDefault(2), n = (0, s.create)("design-unit").withDefault(4), l = (0, s.create)("disabled-opacity").withDefault(0.4), h = (0, s.create)("focus-border", "--vscode-focusBorder").withDefault("#007fd4"), m = (0, s.create)("font-family", "--vscode-font-family").withDefault("-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"), p = (0, s.create)("font-weight", "--vscode-font-weight").withDefault("400"), f = (0, s.create)("foreground", "--vscode-foreground").withDefault("#cccccc"), v = (0, s.create)("input-height").withDefault("26"), b = (0, s.create)("input-min-width").withDefault("100px"), g = (0, s.create)("type-ramp-base-font-size", "--vscode-font-size").withDefault("13px"), _ = (0, s.create)("type-ramp-base-line-height").withDefault("normal"), w = (0, s.create)("type-ramp-minus1-font-size").withDefault("11px"), y = (0, s.create)("type-ramp-minus1-line-height").withDefault("16px"), C = (0, s.create)("type-ramp-minus2-font-size").withDefault("9px"), S = (0, s.create)("type-ramp-minus2-line-height").withDefault("16px"), x = (0, s.create)("type-ramp-plus1-font-size").withDefault("16px"), k = (0, s.create)("type-ramp-plus1-line-height").withDefault("24px"), I = (0, s.create)("scrollbarWidth").withDefault("10px"), j = (0, s.create)("scrollbarHeight").withDefault("10px"), T = (0, s.create)("scrollbar-slider-background", "--vscode-scrollbarSlider-background").withDefault("#79797966"), L = (0, s.create)("scrollbar-slider-hover-background", "--vscode-scrollbarSlider-hoverBackground").withDefault("#646464b3"), $ = (0, s.create)("scrollbar-slider-active-background", "--vscode-scrollbarSlider-activeBackground").withDefault("#bfbfbf66"), V = (0, s.create)("badge-background", "--vscode-badge-background").withDefault("#4d4d4d"),
|
|
21439
|
+
const c = (0, s.create)("background", "--vscode-editor-background").withDefault("#1e1e1e"), u = (0, s.create)("border-width").withDefault(1), o = (0, s.create)("contrast-active-border", "--vscode-contrastActiveBorder").withDefault("#f38518"), a = (0, s.create)("contrast-border", "--vscode-contrastBorder").withDefault("#6fc3df"), d = (0, s.create)("corner-radius").withDefault(0), i = (0, s.create)("corner-radius-round").withDefault(2), n = (0, s.create)("design-unit").withDefault(4), l = (0, s.create)("disabled-opacity").withDefault(0.4), h = (0, s.create)("focus-border", "--vscode-focusBorder").withDefault("#007fd4"), m = (0, s.create)("font-family", "--vscode-font-family").withDefault("-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol"), p = (0, s.create)("font-weight", "--vscode-font-weight").withDefault("400"), f = (0, s.create)("foreground", "--vscode-foreground").withDefault("#cccccc"), v = (0, s.create)("input-height").withDefault("26"), b = (0, s.create)("input-min-width").withDefault("100px"), g = (0, s.create)("type-ramp-base-font-size", "--vscode-font-size").withDefault("13px"), _ = (0, s.create)("type-ramp-base-line-height").withDefault("normal"), w = (0, s.create)("type-ramp-minus1-font-size").withDefault("11px"), y = (0, s.create)("type-ramp-minus1-line-height").withDefault("16px"), C = (0, s.create)("type-ramp-minus2-font-size").withDefault("9px"), S = (0, s.create)("type-ramp-minus2-line-height").withDefault("16px"), x = (0, s.create)("type-ramp-plus1-font-size").withDefault("16px"), k = (0, s.create)("type-ramp-plus1-line-height").withDefault("24px"), I = (0, s.create)("scrollbarWidth").withDefault("10px"), j = (0, s.create)("scrollbarHeight").withDefault("10px"), T = (0, s.create)("scrollbar-slider-background", "--vscode-scrollbarSlider-background").withDefault("#79797966"), L = (0, s.create)("scrollbar-slider-hover-background", "--vscode-scrollbarSlider-hoverBackground").withDefault("#646464b3"), $ = (0, s.create)("scrollbar-slider-active-background", "--vscode-scrollbarSlider-activeBackground").withDefault("#bfbfbf66"), V = (0, s.create)("badge-background", "--vscode-badge-background").withDefault("#4d4d4d"), J = (0, s.create)("badge-foreground", "--vscode-badge-foreground").withDefault("#ffffff"), z = (0, s.create)("button-border", "--vscode-button-border").withDefault("transparent"), O = (0, s.create)("button-icon-background").withDefault("transparent"), P = (0, s.create)("button-icon-corner-radius").withDefault("5px"), N = (0, s.create)("button-icon-outline-offset").withDefault(0), U = (0, s.create)("button-icon-hover-background", "--fake-vscode-token").withDefault("rgba(90, 93, 94, 0.31)"), M = (0, s.create)("button-icon-padding").withDefault("3px"), W = (0, s.create)("button-primary-background", "--vscode-button-background").withDefault("#0e639c"), K = (0, s.create)("button-primary-foreground", "--vscode-button-foreground").withDefault("#ffffff"), Y = (0, s.create)("button-primary-hover-background", "--vscode-button-hoverBackground").withDefault("#1177bb"), B = (0, s.create)("button-secondary-background", "--vscode-button-secondaryBackground").withDefault("#3a3d41"), R = (0, s.create)("button-secondary-foreground", "--vscode-button-secondaryForeground").withDefault("#ffffff"), Q = (0, s.create)("button-secondary-hover-background", "--vscode-button-secondaryHoverBackground").withDefault("#45494e"), X = (0, s.create)("button-padding-horizontal").withDefault("11px"), ue = (0, s.create)("button-padding-vertical").withDefault("4px"), te = (0, s.create)("checkbox-background", "--vscode-checkbox-background").withDefault("#3c3c3c"), _e = (0, s.create)("checkbox-border", "--vscode-checkbox-border").withDefault("#3c3c3c"), ve = (0, s.create)("checkbox-corner-radius").withDefault(3), Ee = (0, s.create)("checkbox-foreground", "--vscode-checkbox-foreground").withDefault("#f0f0f0"), ae = (0, s.create)("list-active-selection-background", "--vscode-list-activeSelectionBackground").withDefault("#094771"), de = (0, s.create)("list-active-selection-foreground", "--vscode-list-activeSelectionForeground").withDefault("#ffffff"), G = (0, s.create)("list-hover-background", "--vscode-list-hoverBackground").withDefault("#2a2d2e"), H = (0, s.create)("divider-background", "--vscode-settings-dropdownListBorder").withDefault("#454545"), q = (0, s.create)("dropdown-background", "--vscode-dropdown-background").withDefault("#3c3c3c"), se = (0, s.create)("dropdown-border", "--vscode-dropdown-border").withDefault("#3c3c3c"), le = (0, s.create)("dropdown-foreground", "--vscode-dropdown-foreground").withDefault("#f0f0f0"), he = (0, s.create)("dropdown-list-max-height").withDefault("200px"), ke = (0, s.create)("input-background", "--vscode-input-background").withDefault("#3c3c3c"), Ie = (0, s.create)("input-foreground", "--vscode-input-foreground").withDefault("#cccccc"), xe = (0, s.create)("input-placeholder-foreground", "--vscode-input-placeholderForeground").withDefault("#cccccc"), Ne = (0, s.create)("link-active-foreground", "--vscode-textLink-activeForeground").withDefault("#3794ff"), ce = (0, s.create)("link-foreground", "--vscode-textLink-foreground").withDefault("#3794ff"), De = (0, s.create)("progress-background", "--vscode-progressBar-background").withDefault("#0e70c0"), Pe = (0, s.create)("panel-tab-active-border", "--vscode-panelTitle-activeBorder").withDefault("#e7e7e7"), We = (0, s.create)("panel-tab-active-foreground", "--vscode-panelTitle-activeForeground").withDefault("#e7e7e7"), Ae = (0, s.create)("panel-tab-foreground", "--vscode-panelTitle-inactiveForeground").withDefault("#e7e7e799"), Je = (0, s.create)("panel-view-background", "--vscode-panel-background").withDefault("#1e1e1e"), et = (0, s.create)("panel-view-border", "--vscode-panel-border").withDefault("#80808059"), dt = (0, s.create)("tag-corner-radius").withDefault("2px");
|
|
21440
21440
|
}
|
|
21441
21441
|
),
|
|
21442
21442
|
/***/
|
|
@@ -25191,7 +25191,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
25191
25191
|
};
|
|
25192
25192
|
}, 3236: (u, o, a) => {
|
|
25193
25193
|
Object.defineProperty(o, "__esModule", { value: !0 }), o.Terminal = void 0;
|
|
25194
|
-
const d = a(3614), i = a(3656), n = a(3551), l = a(9042), h = a(3730), m = a(1680), p = a(3107), f = a(5744), v = a(2950), b = a(1296), g = a(428), _ = a(4269), w = a(5114), y = a(8934), C = a(3230), S = a(9312), x = a(4725), k = a(6731), I = a(8055), j = a(8969), T = a(8460), L = a(844), $ = a(6114), V = a(8437),
|
|
25194
|
+
const d = a(3614), i = a(3656), n = a(3551), l = a(9042), h = a(3730), m = a(1680), p = a(3107), f = a(5744), v = a(2950), b = a(1296), g = a(428), _ = a(4269), w = a(5114), y = a(8934), C = a(3230), S = a(9312), x = a(4725), k = a(6731), I = a(8055), j = a(8969), T = a(8460), L = a(844), $ = a(6114), V = a(8437), J = a(2584), z = a(7399), O = a(5941), P = a(9074), N = a(2585), U = a(5435), M = a(4567), W = a(779);
|
|
25195
25195
|
class K extends j.CoreTerminal {
|
|
25196
25196
|
get onFocus() {
|
|
25197
25197
|
return this._onFocus.event;
|
|
@@ -25216,24 +25216,24 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
25216
25216
|
}
|
|
25217
25217
|
_handleColorEvent(B) {
|
|
25218
25218
|
if (this._themeService) for (const R of B) {
|
|
25219
|
-
let Q,
|
|
25219
|
+
let Q, X = "";
|
|
25220
25220
|
switch (R.index) {
|
|
25221
25221
|
case 256:
|
|
25222
|
-
Q = "foreground",
|
|
25222
|
+
Q = "foreground", X = "10";
|
|
25223
25223
|
break;
|
|
25224
25224
|
case 257:
|
|
25225
|
-
Q = "background",
|
|
25225
|
+
Q = "background", X = "11";
|
|
25226
25226
|
break;
|
|
25227
25227
|
case 258:
|
|
25228
|
-
Q = "cursor",
|
|
25228
|
+
Q = "cursor", X = "12";
|
|
25229
25229
|
break;
|
|
25230
25230
|
default:
|
|
25231
|
-
Q = "ansi",
|
|
25231
|
+
Q = "ansi", X = "4;" + R.index;
|
|
25232
25232
|
}
|
|
25233
25233
|
switch (R.type) {
|
|
25234
25234
|
case 0:
|
|
25235
25235
|
const ue = I.color.toColorRGB(Q === "ansi" ? this._themeService.colors.ansi[R.index] : this._themeService.colors[Q]);
|
|
25236
|
-
this.coreService.triggerDataEvent(`${
|
|
25236
|
+
this.coreService.triggerDataEvent(`${J.C0.ESC}]${X};${(0, O.toRgbString)(ue)}${J.C1_ESCAPED.ST}`);
|
|
25237
25237
|
break;
|
|
25238
25238
|
case 1:
|
|
25239
25239
|
if (Q === "ansi") this._themeService.modifyColors((te) => te.ansi[R.index] = I.channels.toColor(...R.color));
|
|
@@ -25260,21 +25260,21 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
25260
25260
|
B ? !this._accessibilityManager.value && this._renderService && (this._accessibilityManager.value = this._instantiationService.createInstance(M.AccessibilityManager, this)) : this._accessibilityManager.clear();
|
|
25261
25261
|
}
|
|
25262
25262
|
_handleTextAreaFocus(B) {
|
|
25263
|
-
this.coreService.decPrivateModes.sendFocus && this.coreService.triggerDataEvent(
|
|
25263
|
+
this.coreService.decPrivateModes.sendFocus && this.coreService.triggerDataEvent(J.C0.ESC + "[I"), this.element.classList.add("focus"), this._showCursor(), this._onFocus.fire();
|
|
25264
25264
|
}
|
|
25265
25265
|
blur() {
|
|
25266
25266
|
var B;
|
|
25267
25267
|
return (B = this.textarea) == null ? void 0 : B.blur();
|
|
25268
25268
|
}
|
|
25269
25269
|
_handleTextAreaBlur() {
|
|
25270
|
-
this.textarea.value = "", this.refresh(this.buffer.y, this.buffer.y), this.coreService.decPrivateModes.sendFocus && this.coreService.triggerDataEvent(
|
|
25270
|
+
this.textarea.value = "", this.refresh(this.buffer.y, this.buffer.y), this.coreService.decPrivateModes.sendFocus && this.coreService.triggerDataEvent(J.C0.ESC + "[O"), this.element.classList.remove("focus"), this._onBlur.fire();
|
|
25271
25271
|
}
|
|
25272
25272
|
_syncTextArea() {
|
|
25273
25273
|
if (!this.textarea || !this.buffer.isCursorInViewport || this._compositionHelper.isComposing || !this._renderService) return;
|
|
25274
25274
|
const B = this.buffer.ybase + this.buffer.y, R = this.buffer.lines.get(B);
|
|
25275
25275
|
if (!R) return;
|
|
25276
|
-
const Q = Math.min(this.buffer.x, this.cols - 1),
|
|
25277
|
-
this.textarea.style.left = ve + "px", this.textarea.style.top = _e + "px", this.textarea.style.width = te + "px", this.textarea.style.height =
|
|
25276
|
+
const Q = Math.min(this.buffer.x, this.cols - 1), X = this._renderService.dimensions.css.cell.height, ue = R.getWidth(Q), te = this._renderService.dimensions.css.cell.width * ue, _e = this.buffer.y * this._renderService.dimensions.css.cell.height, ve = Q * this._renderService.dimensions.css.cell.width;
|
|
25277
|
+
this.textarea.style.left = ve + "px", this.textarea.style.top = _e + "px", this.textarea.style.width = te + "px", this.textarea.style.height = X + "px", this.textarea.style.lineHeight = X + "px", this.textarea.style.zIndex = "-5";
|
|
25278
25278
|
}
|
|
25279
25279
|
_initGlobal() {
|
|
25280
25280
|
this._bindKeys(), this.register((0, i.addDisposableDomListener)(this.element, "copy", (R) => {
|
|
@@ -25298,19 +25298,19 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
25298
25298
|
if (B.isConnected || this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"), ((R = this.element) == null ? void 0 : R.ownerDocument.defaultView) && this._coreBrowserService) return void (this.element.ownerDocument.defaultView !== this._coreBrowserService.window && (this._coreBrowserService.window = this.element.ownerDocument.defaultView));
|
|
25299
25299
|
this._document = B.ownerDocument, this.options.documentOverride && this.options.documentOverride instanceof Document && (this._document = this.optionsService.rawOptions.documentOverride), this.element = this._document.createElement("div"), this.element.dir = "ltr", this.element.classList.add("terminal"), this.element.classList.add("xterm"), B.appendChild(this.element);
|
|
25300
25300
|
const Q = this._document.createDocumentFragment();
|
|
25301
|
-
this._viewportElement = this._document.createElement("div"), this._viewportElement.classList.add("xterm-viewport"), Q.appendChild(this._viewportElement), this._viewportScrollArea = this._document.createElement("div"), this._viewportScrollArea.classList.add("xterm-scroll-area"), this._viewportElement.appendChild(this._viewportScrollArea), this.screenElement = this._document.createElement("div"), this.screenElement.classList.add("xterm-screen"), this.register((0, i.addDisposableDomListener)(this.screenElement, "mousemove", (
|
|
25301
|
+
this._viewportElement = this._document.createElement("div"), this._viewportElement.classList.add("xterm-viewport"), Q.appendChild(this._viewportElement), this._viewportScrollArea = this._document.createElement("div"), this._viewportScrollArea.classList.add("xterm-scroll-area"), this._viewportElement.appendChild(this._viewportScrollArea), this.screenElement = this._document.createElement("div"), this.screenElement.classList.add("xterm-screen"), this.register((0, i.addDisposableDomListener)(this.screenElement, "mousemove", (X) => this.updateCursorStyle(X))), this._helperContainer = this._document.createElement("div"), this._helperContainer.classList.add("xterm-helpers"), this.screenElement.appendChild(this._helperContainer), Q.appendChild(this.screenElement), this.textarea = this._document.createElement("textarea"), this.textarea.classList.add("xterm-helper-textarea"), this.textarea.setAttribute("aria-label", l.promptLabel), $.isChromeOS || this.textarea.setAttribute("aria-multiline", "false"), this.textarea.setAttribute("autocorrect", "off"), this.textarea.setAttribute("autocapitalize", "off"), this.textarea.setAttribute("spellcheck", "false"), this.textarea.tabIndex = 0, this._coreBrowserService = this.register(this._instantiationService.createInstance(w.CoreBrowserService, this.textarea, B.ownerDocument.defaultView ?? window, this._document ?? typeof window < "u" ? window.document : null)), this._instantiationService.setService(x.ICoreBrowserService, this._coreBrowserService), this.register((0, i.addDisposableDomListener)(this.textarea, "focus", (X) => this._handleTextAreaFocus(X))), this.register((0, i.addDisposableDomListener)(this.textarea, "blur", () => this._handleTextAreaBlur())), this._helperContainer.appendChild(this.textarea), this._charSizeService = this._instantiationService.createInstance(g.CharSizeService, this._document, this._helperContainer), this._instantiationService.setService(x.ICharSizeService, this._charSizeService), this._themeService = this._instantiationService.createInstance(k.ThemeService), this._instantiationService.setService(x.IThemeService, this._themeService), this._characterJoinerService = this._instantiationService.createInstance(_.CharacterJoinerService), this._instantiationService.setService(x.ICharacterJoinerService, this._characterJoinerService), this._renderService = this.register(this._instantiationService.createInstance(C.RenderService, this.rows, this.screenElement)), this._instantiationService.setService(x.IRenderService, this._renderService), this.register(this._renderService.onRenderedViewportChange((X) => this._onRender.fire(X))), this.onResize((X) => this._renderService.resize(X.cols, X.rows)), this._compositionView = this._document.createElement("div"), this._compositionView.classList.add("composition-view"), this._compositionHelper = this._instantiationService.createInstance(v.CompositionHelper, this.textarea, this._compositionView), this._helperContainer.appendChild(this._compositionView), this._mouseService = this._instantiationService.createInstance(y.MouseService), this._instantiationService.setService(x.IMouseService, this._mouseService), this.linkifier = this.register(this._instantiationService.createInstance(n.Linkifier, this.screenElement)), this.element.appendChild(Q);
|
|
25302
25302
|
try {
|
|
25303
25303
|
this._onWillOpen.fire(this.element);
|
|
25304
25304
|
} catch {
|
|
25305
25305
|
}
|
|
25306
|
-
this._renderService.hasRenderer() || this._renderService.setRenderer(this._createRenderer()), this.viewport = this._instantiationService.createInstance(m.Viewport, this._viewportElement, this._viewportScrollArea), this.viewport.onRequestScrollLines((
|
|
25306
|
+
this._renderService.hasRenderer() || this._renderService.setRenderer(this._createRenderer()), this.viewport = this._instantiationService.createInstance(m.Viewport, this._viewportElement, this._viewportScrollArea), this.viewport.onRequestScrollLines((X) => this.scrollLines(X.amount, X.suppressScrollEvent, 1)), this.register(this._inputHandler.onRequestSyncScrollBar(() => this.viewport.syncScrollArea())), this.register(this.viewport), this.register(this.onCursorMove(() => {
|
|
25307
25307
|
this._renderService.handleCursorMove(), this._syncTextArea();
|
|
25308
|
-
})), this.register(this.onResize(() => this._renderService.handleResize(this.cols, this.rows))), this.register(this.onBlur(() => this._renderService.handleBlur())), this.register(this.onFocus(() => this._renderService.handleFocus())), this.register(this._renderService.onDimensionsChange(() => this.viewport.syncScrollArea())), this._selectionService = this.register(this._instantiationService.createInstance(S.SelectionService, this.element, this.screenElement, this.linkifier)), this._instantiationService.setService(x.ISelectionService, this._selectionService), this.register(this._selectionService.onRequestScrollLines((
|
|
25309
|
-
this.textarea.value =
|
|
25310
|
-
})), this.register(this._onScroll.event((
|
|
25308
|
+
})), this.register(this.onResize(() => this._renderService.handleResize(this.cols, this.rows))), this.register(this.onBlur(() => this._renderService.handleBlur())), this.register(this.onFocus(() => this._renderService.handleFocus())), this.register(this._renderService.onDimensionsChange(() => this.viewport.syncScrollArea())), this._selectionService = this.register(this._instantiationService.createInstance(S.SelectionService, this.element, this.screenElement, this.linkifier)), this._instantiationService.setService(x.ISelectionService, this._selectionService), this.register(this._selectionService.onRequestScrollLines((X) => this.scrollLines(X.amount, X.suppressScrollEvent))), this.register(this._selectionService.onSelectionChange(() => this._onSelectionChange.fire())), this.register(this._selectionService.onRequestRedraw((X) => this._renderService.handleSelectionChanged(X.start, X.end, X.columnSelectMode))), this.register(this._selectionService.onLinuxMouseSelection((X) => {
|
|
25309
|
+
this.textarea.value = X, this.textarea.focus(), this.textarea.select();
|
|
25310
|
+
})), this.register(this._onScroll.event((X) => {
|
|
25311
25311
|
this.viewport.syncScrollArea(), this._selectionService.refresh();
|
|
25312
|
-
})), this.register((0, i.addDisposableDomListener)(this._viewportElement, "scroll", () => this._selectionService.refresh())), this.register(this._instantiationService.createInstance(p.BufferDecorationRenderer, this.screenElement)), this.register((0, i.addDisposableDomListener)(this.element, "mousedown", (
|
|
25313
|
-
!this._overviewRulerRenderer &&
|
|
25312
|
+
})), this.register((0, i.addDisposableDomListener)(this._viewportElement, "scroll", () => this._selectionService.refresh())), this.register(this._instantiationService.createInstance(p.BufferDecorationRenderer, this.screenElement)), this.register((0, i.addDisposableDomListener)(this.element, "mousedown", (X) => this._selectionService.handleMouseDown(X))), this.coreMouseService.areMouseEventsActive ? (this._selectionService.disable(), this.element.classList.add("enable-mouse-events")) : this._selectionService.enable(), this.options.screenReaderMode && (this._accessibilityManager.value = this._instantiationService.createInstance(M.AccessibilityManager, this)), this.register(this.optionsService.onSpecificOptionChange("screenReaderMode", (X) => this._handleScreenReaderModeOptionChange(X))), this.options.overviewRulerWidth && (this._overviewRulerRenderer = this.register(this._instantiationService.createInstance(f.OverviewRulerRenderer, this._viewportElement, this.screenElement))), this.optionsService.onSpecificOptionChange("overviewRulerWidth", (X) => {
|
|
25313
|
+
!this._overviewRulerRenderer && X && this._viewportElement && this.screenElement && (this._overviewRulerRenderer = this.register(this._instantiationService.createInstance(f.OverviewRulerRenderer, this._viewportElement, this.screenElement)));
|
|
25314
25314
|
}), this._charSizeService.measure(), this.refresh(0, this.rows - 1), this._initGlobal(), this.bindMouse();
|
|
25315
25315
|
}
|
|
25316
25316
|
_createRenderer() {
|
|
@@ -25341,22 +25341,22 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
25341
25341
|
}
|
|
25342
25342
|
return !(Ee === void 0 || ve === void 0 || ve > 4) && B.coreMouseService.triggerMouseEvent({ col: _e.col, row: _e.row, x: _e.x, y: _e.y, button: ve, action: Ee, ctrl: te.ctrlKey, alt: te.altKey, shift: te.shiftKey });
|
|
25343
25343
|
}
|
|
25344
|
-
const
|
|
25344
|
+
const X = { mouseup: null, wheel: null, mousedrag: null, mousemove: null }, ue = { mouseup: (te) => (Q(te), te.buttons || (this._document.removeEventListener("mouseup", X.mouseup), X.mousedrag && this._document.removeEventListener("mousemove", X.mousedrag)), this.cancel(te)), wheel: (te) => (Q(te), this.cancel(te, !0)), mousedrag: (te) => {
|
|
25345
25345
|
te.buttons && Q(te);
|
|
25346
25346
|
}, mousemove: (te) => {
|
|
25347
25347
|
te.buttons || Q(te);
|
|
25348
25348
|
} };
|
|
25349
25349
|
this.register(this.coreMouseService.onProtocolChange((te) => {
|
|
25350
|
-
te ? (this.optionsService.rawOptions.logLevel === "debug" && this._logService.debug("Binding to mouse events:", this.coreMouseService.explainEvents(te)), this.element.classList.add("enable-mouse-events"), this._selectionService.disable()) : (this._logService.debug("Unbinding from mouse events."), this.element.classList.remove("enable-mouse-events"), this._selectionService.enable()), 8 & te ?
|
|
25350
|
+
te ? (this.optionsService.rawOptions.logLevel === "debug" && this._logService.debug("Binding to mouse events:", this.coreMouseService.explainEvents(te)), this.element.classList.add("enable-mouse-events"), this._selectionService.disable()) : (this._logService.debug("Unbinding from mouse events."), this.element.classList.remove("enable-mouse-events"), this._selectionService.enable()), 8 & te ? X.mousemove || (R.addEventListener("mousemove", ue.mousemove), X.mousemove = ue.mousemove) : (R.removeEventListener("mousemove", X.mousemove), X.mousemove = null), 16 & te ? X.wheel || (R.addEventListener("wheel", ue.wheel, { passive: !1 }), X.wheel = ue.wheel) : (R.removeEventListener("wheel", X.wheel), X.wheel = null), 2 & te ? X.mouseup || (X.mouseup = ue.mouseup) : (this._document.removeEventListener("mouseup", X.mouseup), X.mouseup = null), 4 & te ? X.mousedrag || (X.mousedrag = ue.mousedrag) : (this._document.removeEventListener("mousemove", X.mousedrag), X.mousedrag = null);
|
|
25351
25351
|
})), this.coreMouseService.activeProtocol = this.coreMouseService.activeProtocol, this.register((0, i.addDisposableDomListener)(R, "mousedown", (te) => {
|
|
25352
|
-
if (te.preventDefault(), this.focus(), this.coreMouseService.areMouseEventsActive && !this._selectionService.shouldForceSelection(te)) return Q(te),
|
|
25352
|
+
if (te.preventDefault(), this.focus(), this.coreMouseService.areMouseEventsActive && !this._selectionService.shouldForceSelection(te)) return Q(te), X.mouseup && this._document.addEventListener("mouseup", X.mouseup), X.mousedrag && this._document.addEventListener("mousemove", X.mousedrag), this.cancel(te);
|
|
25353
25353
|
})), this.register((0, i.addDisposableDomListener)(R, "wheel", (te) => {
|
|
25354
|
-
if (!
|
|
25354
|
+
if (!X.wheel) {
|
|
25355
25355
|
if (this._customWheelEventHandler && this._customWheelEventHandler(te) === !1) return !1;
|
|
25356
25356
|
if (!this.buffer.hasScrollback) {
|
|
25357
25357
|
const _e = this.viewport.getLinesScrolled(te);
|
|
25358
25358
|
if (_e === 0) return;
|
|
25359
|
-
const ve =
|
|
25359
|
+
const ve = J.C0.ESC + (this.coreService.decPrivateModes.applicationCursorKeys ? "O" : "[") + (te.deltaY < 0 ? "A" : "B");
|
|
25360
25360
|
let Ee = "";
|
|
25361
25361
|
for (let ae = 0; ae < Math.abs(_e); ae++) Ee += ve;
|
|
25362
25362
|
return this.coreService.triggerDataEvent(Ee, !0), this.cancel(te, !0);
|
|
@@ -25381,8 +25381,8 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
25381
25381
|
this.coreService.isCursorInitialized || (this.coreService.isCursorInitialized = !0, this.refresh(this.buffer.y, this.buffer.y));
|
|
25382
25382
|
}
|
|
25383
25383
|
scrollLines(B, R, Q = 0) {
|
|
25384
|
-
var
|
|
25385
|
-
Q === 1 ? (super.scrollLines(B, R, Q), this.refresh(0, this.rows - 1)) : (
|
|
25384
|
+
var X;
|
|
25385
|
+
Q === 1 ? (super.scrollLines(B, R, Q), this.refresh(0, this.rows - 1)) : (X = this.viewport) == null || X.scrollLines(B);
|
|
25386
25386
|
}
|
|
25387
25387
|
paste(B) {
|
|
25388
25388
|
(0, d.paste)(B, this.textarea, this.coreService, this.optionsService);
|
|
@@ -25445,10 +25445,10 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
25445
25445
|
R || B.key !== "Dead" && B.key !== "AltGraph" || (this._unprocessedDeadKey = !0);
|
|
25446
25446
|
const Q = (0, z.evaluateKeyboardEvent)(B, this.coreService.decPrivateModes.applicationCursorKeys, this.browser.isMac, this.options.macOptionIsMeta);
|
|
25447
25447
|
if (this.updateCursorStyle(B), Q.type === 3 || Q.type === 2) {
|
|
25448
|
-
const
|
|
25449
|
-
return this.scrollLines(Q.type === 2 ? -
|
|
25448
|
+
const X = this.rows - 1;
|
|
25449
|
+
return this.scrollLines(Q.type === 2 ? -X : X), this.cancel(B, !0);
|
|
25450
25450
|
}
|
|
25451
|
-
return Q.type === 1 && this.selectAll(), !!this._isThirdLevelShift(this.browser, B) || (Q.cancel && this.cancel(B, !0), !Q.key || !!(B.key && !B.ctrlKey && !B.altKey && !B.metaKey && B.key.length === 1 && B.key.charCodeAt(0) >= 65 && B.key.charCodeAt(0) <= 90) || (this._unprocessedDeadKey ? (this._unprocessedDeadKey = !1, !0) : (Q.key !==
|
|
25451
|
+
return Q.type === 1 && this.selectAll(), !!this._isThirdLevelShift(this.browser, B) || (Q.cancel && this.cancel(B, !0), !Q.key || !!(B.key && !B.ctrlKey && !B.altKey && !B.metaKey && B.key.length === 1 && B.key.charCodeAt(0) >= 65 && B.key.charCodeAt(0) <= 90) || (this._unprocessedDeadKey ? (this._unprocessedDeadKey = !1, !0) : (Q.key !== J.C0.ETX && Q.key !== J.C0.CR || (this.textarea.value = ""), this._onKey.fire({ key: Q.key, domEvent: B }), this._showCursor(), this.coreService.triggerDataEvent(Q.key, !0), !this.optionsService.rawOptions.screenReaderMode || B.altKey || B.ctrlKey ? this.cancel(B, !0) : void (this._keyDownHandled = !0))));
|
|
25452
25452
|
}
|
|
25453
25453
|
_isThirdLevelShift(B, R) {
|
|
25454
25454
|
const Q = B.isMac && !this.options.macOptionIsMeta && R.altKey && !R.ctrlKey && !R.metaKey || B.isWindows && R.altKey && R.ctrlKey && !R.metaKey || B.isWindows && R.getModifierState("AltGraph");
|
|
@@ -25483,8 +25483,8 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
25483
25483
|
B !== this.cols || R !== this.rows ? super.resize(B, R) : this._charSizeService && !this._charSizeService.hasValidSize && this._charSizeService.measure();
|
|
25484
25484
|
}
|
|
25485
25485
|
_afterResize(B, R) {
|
|
25486
|
-
var Q,
|
|
25487
|
-
(Q = this._charSizeService) == null || Q.measure(), (
|
|
25486
|
+
var Q, X;
|
|
25487
|
+
(Q = this._charSizeService) == null || Q.measure(), (X = this.viewport) == null || X.syncScrollArea(!0);
|
|
25488
25488
|
}
|
|
25489
25489
|
clear() {
|
|
25490
25490
|
var B;
|
|
@@ -25506,17 +25506,17 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
25506
25506
|
}
|
|
25507
25507
|
_reportFocus() {
|
|
25508
25508
|
var B;
|
|
25509
|
-
(B = this.element) != null && B.classList.contains("focus") ? this.coreService.triggerDataEvent(
|
|
25509
|
+
(B = this.element) != null && B.classList.contains("focus") ? this.coreService.triggerDataEvent(J.C0.ESC + "[I") : this.coreService.triggerDataEvent(J.C0.ESC + "[O");
|
|
25510
25510
|
}
|
|
25511
25511
|
_reportWindowsOptions(B) {
|
|
25512
25512
|
if (this._renderService) switch (B) {
|
|
25513
25513
|
case U.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:
|
|
25514
25514
|
const R = this._renderService.dimensions.css.canvas.width.toFixed(0), Q = this._renderService.dimensions.css.canvas.height.toFixed(0);
|
|
25515
|
-
this.coreService.triggerDataEvent(`${
|
|
25515
|
+
this.coreService.triggerDataEvent(`${J.C0.ESC}[4;${Q};${R}t`);
|
|
25516
25516
|
break;
|
|
25517
25517
|
case U.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:
|
|
25518
|
-
const
|
|
25519
|
-
this.coreService.triggerDataEvent(`${
|
|
25518
|
+
const X = this._renderService.dimensions.css.cell.width.toFixed(0), ue = this._renderService.dimensions.css.cell.height.toFixed(0);
|
|
25519
|
+
this.coreService.triggerDataEvent(`${J.C0.ESC}[6;${ue};${X}t`);
|
|
25520
25520
|
}
|
|
25521
25521
|
}
|
|
25522
25522
|
cancel(B, R) {
|
|
@@ -25961,9 +25961,9 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
25961
25961
|
}(_, w, 0, v, b, g) + i(w, v, b, g) + function(S, x, k, I, j, T) {
|
|
25962
25962
|
let L;
|
|
25963
25963
|
L = i(x, I, j, T).length > 0 ? I - n(I, j) : x;
|
|
25964
|
-
const $ = I, V = function(
|
|
25964
|
+
const $ = I, V = function(J, z, O, P, N, U) {
|
|
25965
25965
|
let M;
|
|
25966
|
-
return M = i(O, P, N, U).length > 0 ? P - n(P, N) : z,
|
|
25966
|
+
return M = i(O, P, N, U).length > 0 ? P - n(P, N) : z, J < O && M <= P || J >= O && M < P ? "C" : "D";
|
|
25967
25967
|
}(S, x, k, I, j, T);
|
|
25968
25968
|
return p(h(S, L, k, $, V === "C", j).length, m(V, T));
|
|
25969
25969
|
}(_, w, f, v, b, g);
|
|
@@ -25977,9 +25977,9 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
25977
25977
|
};
|
|
25978
25978
|
}, 1296: function(u, o, a) {
|
|
25979
25979
|
var d = this && this.__decorate || function(T, L, $, V) {
|
|
25980
|
-
var
|
|
25980
|
+
var J, z = arguments.length, O = z < 3 ? L : V === null ? V = Object.getOwnPropertyDescriptor(L, $) : V;
|
|
25981
25981
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") O = Reflect.decorate(T, L, $, V);
|
|
25982
|
-
else for (var P = T.length - 1; P >= 0; P--) (
|
|
25982
|
+
else for (var P = T.length - 1; P >= 0; P--) (J = T[P]) && (O = (z < 3 ? J(O) : z > 3 ? J(L, $, O) : J(L, $)) || O);
|
|
25983
25983
|
return z > 3 && O && Object.defineProperty(L, $, O), O;
|
|
25984
25984
|
}, i = this && this.__param || function(T, L) {
|
|
25985
25985
|
return function($, V) {
|
|
@@ -25989,8 +25989,8 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
25989
25989
|
Object.defineProperty(o, "__esModule", { value: !0 }), o.DomRenderer = void 0;
|
|
25990
25990
|
const n = a(3787), l = a(2550), h = a(2223), m = a(6171), p = a(6052), f = a(4725), v = a(8055), b = a(8460), g = a(844), _ = a(2585), w = "xterm-dom-renderer-owner-", y = "xterm-rows", C = "xterm-fg-", S = "xterm-bg-", x = "xterm-focus", k = "xterm-selection";
|
|
25991
25991
|
let I = 1, j = o.DomRenderer = class extends g.Disposable {
|
|
25992
|
-
constructor(T, L, $, V,
|
|
25993
|
-
super(), this._terminal = T, this._document = L, this._element = $, this._screenElement = V, this._viewportElement =
|
|
25992
|
+
constructor(T, L, $, V, J, z, O, P, N, U, M, W, K) {
|
|
25993
|
+
super(), this._terminal = T, this._document = L, this._element = $, this._screenElement = V, this._viewportElement = J, this._helperContainer = z, this._linkifier2 = O, this._charSizeService = N, this._optionsService = U, this._bufferService = M, this._coreBrowserService = W, this._themeService = K, this._terminalClass = I++, this._rowElements = [], this._selectionRenderModel = (0, p.createSelectionRenderModel)(), this.onRequestRedraw = this.register(new b.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(k), this._selectionContainer.setAttribute("aria-hidden", "true"), this.dimensions = (0, m.createRenderDimensions)(), this._updateDimensions(), this.register(this._optionsService.onOptionChange(() => this._handleOptionsChanged())), this.register(this._themeService.onChangeColors((Y) => this._injectCss(Y))), this._injectCss(this._themeService.colors), this._rowFactory = P.createInstance(n.DomRendererRowFactory, document), this._element.classList.add(w + this._terminalClass), this._screenElement.appendChild(this._rowContainer), this._screenElement.appendChild(this._selectionContainer), this.register(this._linkifier2.onShowLinkUnderline((Y) => this._handleLinkHover(Y))), this.register(this._linkifier2.onHideLinkUnderline((Y) => this._handleLinkLeave(Y))), this.register((0, g.toDisposable)(() => {
|
|
25994
25994
|
this._element.classList.remove(w + this._terminalClass), this._rowContainer.remove(), this._selectionContainer.remove(), this._widthCache.dispose(), this._themeStyleElement.remove(), this._dimensionsStyleElement.remove();
|
|
25995
25995
|
})), this._widthCache = new l.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();
|
|
25996
25996
|
}
|
|
@@ -26006,8 +26006,8 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
26006
26006
|
this._themeStyleElement || (this._themeStyleElement = this._document.createElement("style"), this._screenElement.appendChild(this._themeStyleElement));
|
|
26007
26007
|
let L = `${this._terminalSelector} .${y} { color: ${T.foreground.css}; font-family: ${this._optionsService.rawOptions.fontFamily}; font-size: ${this._optionsService.rawOptions.fontSize}px; font-kerning: none; white-space: pre}`;
|
|
26008
26008
|
L += `${this._terminalSelector} .${y} .xterm-dim { color: ${v.color.multiplyOpacity(T.foreground, 0.5).css};}`, L += `${this._terminalSelector} span:not(.xterm-bold) { font-weight: ${this._optionsService.rawOptions.fontWeight};}${this._terminalSelector} span.xterm-bold { font-weight: ${this._optionsService.rawOptions.fontWeightBold};}${this._terminalSelector} span.xterm-italic { font-style: italic;}`;
|
|
26009
|
-
const $ = `blink_underline_${this._terminalClass}`, V = `blink_bar_${this._terminalClass}`,
|
|
26010
|
-
L += `@keyframes ${$} { 50% { border-bottom-style: hidden; }}`, L += `@keyframes ${V} { 50% { box-shadow: none; }}`, L += `@keyframes ${
|
|
26009
|
+
const $ = `blink_underline_${this._terminalClass}`, V = `blink_bar_${this._terminalClass}`, J = `blink_block_${this._terminalClass}`;
|
|
26010
|
+
L += `@keyframes ${$} { 50% { border-bottom-style: hidden; }}`, L += `@keyframes ${V} { 50% { box-shadow: none; }}`, L += `@keyframes ${J} { 0% { background-color: ${T.cursor.css}; color: ${T.cursorAccent.css}; } 50% { background-color: inherit; color: ${T.cursor.css}; }}`, L += `${this._terminalSelector} .${y}.${x} .xterm-cursor.xterm-cursor-blink.xterm-cursor-underline { animation: ${$} 1s step-end infinite;}${this._terminalSelector} .${y}.${x} .xterm-cursor.xterm-cursor-blink.xterm-cursor-bar { animation: ${V} 1s step-end infinite;}${this._terminalSelector} .${y}.${x} .xterm-cursor.xterm-cursor-blink.xterm-cursor-block { animation: ${J} 1s step-end infinite;}${this._terminalSelector} .${y} .xterm-cursor.xterm-cursor-block { background-color: ${T.cursor.css}; color: ${T.cursorAccent.css};}${this._terminalSelector} .${y} .xterm-cursor.xterm-cursor-block:not(.xterm-cursor-blink) { background-color: ${T.cursor.css} !important; color: ${T.cursorAccent.css} !important;}${this._terminalSelector} .${y} .xterm-cursor.xterm-cursor-outline { outline: 1px solid ${T.cursor.css}; outline-offset: -1px;}${this._terminalSelector} .${y} .xterm-cursor.xterm-cursor-bar { box-shadow: ${this._optionsService.rawOptions.cursorWidth}px 0 0 ${T.cursor.css} inset;}${this._terminalSelector} .${y} .xterm-cursor.xterm-cursor-underline { border-bottom: 1px ${T.cursor.css}; border-bottom-style: solid; height: calc(100% - 1px);}`, L += `${this._terminalSelector} .${k} { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}${this._terminalSelector}.focus .${k} div { position: absolute; background-color: ${T.selectionBackgroundOpaque.css};}${this._terminalSelector} .${k} div { position: absolute; background-color: ${T.selectionInactiveBackgroundOpaque.css};}`;
|
|
26011
26011
|
for (const [z, O] of T.ansi.entries()) L += `${this._terminalSelector} .${C}${z} { color: ${O.css}; }${this._terminalSelector} .${C}${z}.xterm-dim { color: ${v.color.multiplyOpacity(O, 0.5).css}; }${this._terminalSelector} .${S}${z} { background-color: ${O.css}; }`;
|
|
26012
26012
|
L += `${this._terminalSelector} .${C}${h.INVERTED_DEFAULT_COLOR} { color: ${v.color.opaque(T.background).css}; }${this._terminalSelector} .${C}${h.INVERTED_DEFAULT_COLOR}.xterm-dim { color: ${v.color.multiplyOpacity(v.color.opaque(T.background), 0.5).css}; }${this._terminalSelector} .${S}${h.INVERTED_DEFAULT_COLOR} { background-color: ${T.foreground.css}; }`, this._themeStyleElement.textContent = L;
|
|
26013
26013
|
}
|
|
@@ -26040,27 +26040,27 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
26040
26040
|
handleSelectionChanged(T, L, $) {
|
|
26041
26041
|
if (this._selectionContainer.replaceChildren(), this._rowFactory.handleSelectionChanged(T, L, $), this.renderRows(0, this._bufferService.rows - 1), !T || !L) return;
|
|
26042
26042
|
this._selectionRenderModel.update(this._terminal, T, L, $);
|
|
26043
|
-
const V = this._selectionRenderModel.viewportStartRow,
|
|
26043
|
+
const V = this._selectionRenderModel.viewportStartRow, J = this._selectionRenderModel.viewportEndRow, z = this._selectionRenderModel.viewportCappedStartRow, O = this._selectionRenderModel.viewportCappedEndRow;
|
|
26044
26044
|
if (z >= this._bufferService.rows || O < 0) return;
|
|
26045
26045
|
const P = this._document.createDocumentFragment();
|
|
26046
26046
|
if ($) {
|
|
26047
26047
|
const N = T[0] > L[0];
|
|
26048
26048
|
P.appendChild(this._createSelectionElement(z, N ? L[0] : T[0], N ? T[0] : L[0], O - z + 1));
|
|
26049
26049
|
} else {
|
|
26050
|
-
const N = V === z ? T[0] : 0, U = z ===
|
|
26050
|
+
const N = V === z ? T[0] : 0, U = z === J ? L[0] : this._bufferService.cols;
|
|
26051
26051
|
P.appendChild(this._createSelectionElement(z, N, U));
|
|
26052
26052
|
const M = O - z - 1;
|
|
26053
26053
|
if (P.appendChild(this._createSelectionElement(z + 1, 0, this._bufferService.cols, M)), z !== O) {
|
|
26054
|
-
const W =
|
|
26054
|
+
const W = J === O ? L[0] : this._bufferService.cols;
|
|
26055
26055
|
P.appendChild(this._createSelectionElement(O, 0, W));
|
|
26056
26056
|
}
|
|
26057
26057
|
}
|
|
26058
26058
|
this._selectionContainer.appendChild(P);
|
|
26059
26059
|
}
|
|
26060
26060
|
_createSelectionElement(T, L, $, V = 1) {
|
|
26061
|
-
const
|
|
26061
|
+
const J = this._document.createElement("div"), z = L * this.dimensions.css.cell.width;
|
|
26062
26062
|
let O = this.dimensions.css.cell.width * ($ - L);
|
|
26063
|
-
return z + O > this.dimensions.css.canvas.width && (O = this.dimensions.css.canvas.width - z),
|
|
26063
|
+
return z + O > this.dimensions.css.canvas.width && (O = this.dimensions.css.canvas.width - z), J.style.height = V * this.dimensions.css.cell.height + "px", J.style.top = T * this.dimensions.css.cell.height + "px", J.style.left = `${z}px`, J.style.width = `${O}px`, J;
|
|
26064
26064
|
}
|
|
26065
26065
|
handleCursorMove() {
|
|
26066
26066
|
}
|
|
@@ -26071,11 +26071,11 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
26071
26071
|
for (const T of this._rowElements) T.replaceChildren();
|
|
26072
26072
|
}
|
|
26073
26073
|
renderRows(T, L) {
|
|
26074
|
-
const $ = this._bufferService.buffer, V = $.ybase + $.y,
|
|
26074
|
+
const $ = this._bufferService.buffer, V = $.ybase + $.y, J = Math.min($.x, this._bufferService.cols - 1), z = this._optionsService.rawOptions.cursorBlink, O = this._optionsService.rawOptions.cursorStyle, P = this._optionsService.rawOptions.cursorInactiveStyle;
|
|
26075
26075
|
for (let N = T; N <= L; N++) {
|
|
26076
26076
|
const U = N + $.ydisp, M = this._rowElements[N], W = $.lines.get(U);
|
|
26077
26077
|
if (!M || !W) break;
|
|
26078
|
-
M.replaceChildren(...this._rowFactory.createRow(W, U, U === V, O, P,
|
|
26078
|
+
M.replaceChildren(...this._rowFactory.createRow(W, U, U === V, O, P, J, z, this.dimensions.css.cell.width, this._widthCache, -1, -1));
|
|
26079
26079
|
}
|
|
26080
26080
|
}
|
|
26081
26081
|
get _terminalSelector() {
|
|
@@ -26087,15 +26087,15 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
26087
26087
|
_handleLinkLeave(T) {
|
|
26088
26088
|
this._setCellUnderline(T.x1, T.x2, T.y1, T.y2, T.cols, !1);
|
|
26089
26089
|
}
|
|
26090
|
-
_setCellUnderline(T, L, $, V,
|
|
26090
|
+
_setCellUnderline(T, L, $, V, J, z) {
|
|
26091
26091
|
$ < 0 && (T = 0), V < 0 && (L = 0);
|
|
26092
26092
|
const O = this._bufferService.rows - 1;
|
|
26093
|
-
$ = Math.max(Math.min($, O), 0), V = Math.max(Math.min(V, O), 0),
|
|
26094
|
-
const P = this._bufferService.buffer, N = P.ybase + P.y, U = Math.min(P.x,
|
|
26093
|
+
$ = Math.max(Math.min($, O), 0), V = Math.max(Math.min(V, O), 0), J = Math.min(J, this._bufferService.cols);
|
|
26094
|
+
const P = this._bufferService.buffer, N = P.ybase + P.y, U = Math.min(P.x, J - 1), M = this._optionsService.rawOptions.cursorBlink, W = this._optionsService.rawOptions.cursorStyle, K = this._optionsService.rawOptions.cursorInactiveStyle;
|
|
26095
26095
|
for (let Y = $; Y <= V; ++Y) {
|
|
26096
26096
|
const B = Y + P.ydisp, R = this._rowElements[Y], Q = P.lines.get(B);
|
|
26097
26097
|
if (!R || !Q) break;
|
|
26098
|
-
R.replaceChildren(...this._rowFactory.createRow(Q, B, B === N, W, K, U, M, this.dimensions.css.cell.width, this._widthCache, z ? Y === $ ? T : 0 : -1, z ? (Y === V ? L :
|
|
26098
|
+
R.replaceChildren(...this._rowFactory.createRow(Q, B, B === N, W, K, U, M, this.dimensions.css.cell.width, this._widthCache, z ? Y === $ ? T : 0 : -1, z ? (Y === V ? L : J) - 1 : -1));
|
|
26099
26099
|
}
|
|
26100
26100
|
}
|
|
26101
26101
|
};
|
|
@@ -26121,10 +26121,10 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
26121
26121
|
this._selectionStart = y, this._selectionEnd = C, this._columnSelectMode = S;
|
|
26122
26122
|
}
|
|
26123
26123
|
createRow(y, C, S, x, k, I, j, T, L, $, V) {
|
|
26124
|
-
const
|
|
26124
|
+
const J = [], z = this._characterJoinerService.getJoinedCharacters(C), O = this._themeService.colors;
|
|
26125
26125
|
let P, N = y.getNoBgTrimmedLength();
|
|
26126
26126
|
S && N < I + 1 && (N = I + 1);
|
|
26127
|
-
let U = 0, M = "", W = 0, K = 0, Y = 0, B = !1, R = 0, Q = !1,
|
|
26127
|
+
let U = 0, M = "", W = 0, K = 0, Y = 0, B = !1, R = 0, Q = !1, X = 0;
|
|
26128
26128
|
const ue = [], te = $ !== -1 && V !== -1;
|
|
26129
26129
|
for (let _e = 0; _e < N; _e++) {
|
|
26130
26130
|
y.loadCell(_e, this._workCell);
|
|
@@ -26142,14 +26142,14 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
26142
26142
|
se = !0;
|
|
26143
26143
|
});
|
|
26144
26144
|
let le = de.getChars() || l.WHITESPACE_CELL_CHAR;
|
|
26145
|
-
if (le === " " && (de.isUnderline() || de.isOverline()) && (le = " "),
|
|
26146
|
-
if (U && (G && Q || !G && !Q && de.bg === W) && (G && Q && O.selectionForeground || de.fg === K) && de.extended.ext === Y && q === B &&
|
|
26145
|
+
if (le === " " && (de.isUnderline() || de.isOverline()) && (le = " "), X = ve * T - L.get(le, de.isBold(), de.isItalic()), P) {
|
|
26146
|
+
if (U && (G && Q || !G && !Q && de.bg === W) && (G && Q && O.selectionForeground || de.fg === K) && de.extended.ext === Y && q === B && X === R && !H && !Ee && !se) {
|
|
26147
26147
|
de.isInvisible() ? M += l.WHITESPACE_CELL_CHAR : M += le, U++;
|
|
26148
26148
|
continue;
|
|
26149
26149
|
}
|
|
26150
26150
|
U && (P.textContent = M), P = this._document.createElement("span"), U = 0, M = "";
|
|
26151
26151
|
} else P = this._document.createElement("span");
|
|
26152
|
-
if (W = de.bg, K = de.fg, Y = de.extended.ext, B = q, R =
|
|
26152
|
+
if (W = de.bg, K = de.fg, Y = de.extended.ext, B = q, R = X, Q = G, Ee && I >= _e && I <= ae && (I = _e), !this._coreService.isCursorHidden && H && this._coreService.isCursorInitialized) {
|
|
26153
26153
|
if (ue.push("xterm-cursor"), this._coreBrowserService.isFocused) j && ue.push("xterm-cursor-blink"), ue.push(x === "bar" ? "xterm-cursor-bar" : x === "underline" ? "xterm-cursor-underline" : "xterm-cursor-block");
|
|
26154
26154
|
else if (k) switch (k) {
|
|
26155
26155
|
case "outline":
|
|
@@ -26176,8 +26176,8 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
26176
26176
|
if (Ne) {
|
|
26177
26177
|
const Ae = he;
|
|
26178
26178
|
he = Ie, Ie = Ae;
|
|
26179
|
-
const
|
|
26180
|
-
ke = xe, xe =
|
|
26179
|
+
const Je = ke;
|
|
26180
|
+
ke = xe, xe = Je;
|
|
26181
26181
|
}
|
|
26182
26182
|
let ce, De, Pe, We = !1;
|
|
26183
26183
|
switch (this._decorationService.forEachDecorationAtCell(_e, C, void 0, (Ae) => {
|
|
@@ -26205,9 +26205,9 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
26205
26205
|
default:
|
|
26206
26206
|
this._applyMinimumContrast(P, Pe, O.foreground, de, ce, De) || Ne && ue.push(`xterm-fg-${n.INVERTED_DEFAULT_COLOR}`);
|
|
26207
26207
|
}
|
|
26208
|
-
ue.length && (P.className = ue.join(" "), ue.length = 0), H || Ee || se ? P.textContent = M : U++,
|
|
26208
|
+
ue.length && (P.className = ue.join(" "), ue.length = 0), H || Ee || se ? P.textContent = M : U++, X !== this.defaultSpacing && (P.style.letterSpacing = `${X}px`), J.push(P), _e = ae;
|
|
26209
26209
|
}
|
|
26210
|
-
return P && U && (P.textContent = M),
|
|
26210
|
+
return P && U && (P.textContent = M), J;
|
|
26211
26211
|
}
|
|
26212
26212
|
_applyMinimumContrast(y, C, S, x, k, I) {
|
|
26213
26213
|
if (this._optionsService.rawOptions.minimumContrastRatio === 1 || (0, b.treatGlyphAsBackgroundColor)(x.getCode())) return !1;
|
|
@@ -26740,9 +26740,9 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
26740
26740
|
const n = a(9806), l = a(9504), h = a(456), m = a(4725), p = a(8460), f = a(844), v = a(6114), b = a(4841), g = a(511), _ = a(2585), w = " ", y = new RegExp(w, "g");
|
|
26741
26741
|
let C = o.SelectionService = class extends f.Disposable {
|
|
26742
26742
|
constructor(S, x, k, I, j, T, L, $, V) {
|
|
26743
|
-
super(), this._element = S, this._screenElement = x, this._linkifier = k, this._bufferService = I, this._coreService = j, this._mouseService = T, this._optionsService = L, this._renderService = $, this._coreBrowserService = V, this._dragScrollAmount = 0, this._enabled = !0, this._workCell = new g.CellData(), this._mouseDownTimeStamp = 0, this._oldHasSelection = !1, this._oldSelectionStart = void 0, this._oldSelectionEnd = void 0, this._onLinuxMouseSelection = this.register(new p.EventEmitter()), this.onLinuxMouseSelection = this._onLinuxMouseSelection.event, this._onRedrawRequest = this.register(new p.EventEmitter()), this.onRequestRedraw = this._onRedrawRequest.event, this._onSelectionChange = this.register(new p.EventEmitter()), this.onSelectionChange = this._onSelectionChange.event, this._onRequestScrollLines = this.register(new p.EventEmitter()), this.onRequestScrollLines = this._onRequestScrollLines.event, this._mouseMoveListener = (
|
|
26743
|
+
super(), this._element = S, this._screenElement = x, this._linkifier = k, this._bufferService = I, this._coreService = j, this._mouseService = T, this._optionsService = L, this._renderService = $, this._coreBrowserService = V, this._dragScrollAmount = 0, this._enabled = !0, this._workCell = new g.CellData(), this._mouseDownTimeStamp = 0, this._oldHasSelection = !1, this._oldSelectionStart = void 0, this._oldSelectionEnd = void 0, this._onLinuxMouseSelection = this.register(new p.EventEmitter()), this.onLinuxMouseSelection = this._onLinuxMouseSelection.event, this._onRedrawRequest = this.register(new p.EventEmitter()), this.onRequestRedraw = this._onRedrawRequest.event, this._onSelectionChange = this.register(new p.EventEmitter()), this.onSelectionChange = this._onSelectionChange.event, this._onRequestScrollLines = this.register(new p.EventEmitter()), this.onRequestScrollLines = this._onRequestScrollLines.event, this._mouseMoveListener = (J) => this._handleMouseMove(J), this._mouseUpListener = (J) => this._handleMouseUp(J), this._coreService.onUserInput(() => {
|
|
26744
26744
|
this.hasSelection && this.clearSelection();
|
|
26745
|
-
}), this._trimListener = this._bufferService.buffer.lines.onTrim((
|
|
26745
|
+
}), this._trimListener = this._bufferService.buffer.lines.onTrim((J) => this._handleTrim(J)), this.register(this._bufferService.buffers.onBufferActivate((J) => this._handleBufferActivate(J))), this.enable(), this._model = new h.SelectionModel(this._bufferService), this._activeSelectionMode = 0, this.register((0, f.toDisposable)(() => {
|
|
26746
26746
|
this._removeMouseDownListeners();
|
|
26747
26747
|
}));
|
|
26748
26748
|
}
|
|
@@ -26935,7 +26935,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
26935
26935
|
if (!T) return;
|
|
26936
26936
|
const L = j.translateBufferLineToString(S[1], !1);
|
|
26937
26937
|
let $ = this._convertViewportColToCharacterIndex(T, S[0]), V = $;
|
|
26938
|
-
const
|
|
26938
|
+
const J = S[0] - $;
|
|
26939
26939
|
let z = 0, O = 0, P = 0, N = 0;
|
|
26940
26940
|
if (L.charAt($) === " ") {
|
|
26941
26941
|
for (; $ > 0 && L.charAt($ - 1) === " "; ) $--;
|
|
@@ -26956,7 +26956,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
26956
26956
|
}
|
|
26957
26957
|
}
|
|
26958
26958
|
V++;
|
|
26959
|
-
let U = $ +
|
|
26959
|
+
let U = $ + J - z + P, M = Math.min(this._bufferService.cols, V - $ + z + O - P - N);
|
|
26960
26960
|
if (x || L.slice($, V).trim() !== "") {
|
|
26961
26961
|
if (k && U === 0 && T.getCodePoint(0) !== 32) {
|
|
26962
26962
|
const W = j.lines.get(S[1] - 1);
|
|
@@ -27479,11 +27479,11 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
27479
27479
|
this._logService.debug("Unknown ESC code: ", { identifier: this._parser.identToString(R) });
|
|
27480
27480
|
}), this._parser.setExecuteHandlerFallback((R) => {
|
|
27481
27481
|
this._logService.debug("Unknown EXECUTE code: ", { code: R });
|
|
27482
|
-
}), this._parser.setOscHandlerFallback((R, Q,
|
|
27483
|
-
this._logService.debug("Unknown OSC code: ", { identifier: R, action: Q, data:
|
|
27484
|
-
}), this._parser.setDcsHandlerFallback((R, Q,
|
|
27485
|
-
Q === "HOOK" && (
|
|
27486
|
-
}), this._parser.setPrintHandler((R, Q,
|
|
27482
|
+
}), this._parser.setOscHandlerFallback((R, Q, X) => {
|
|
27483
|
+
this._logService.debug("Unknown OSC code: ", { identifier: R, action: Q, data: X });
|
|
27484
|
+
}), this._parser.setDcsHandlerFallback((R, Q, X) => {
|
|
27485
|
+
Q === "HOOK" && (X = X.toArray()), this._logService.debug("Unknown DCS code: ", { identifier: this._parser.identToString(R), action: Q, payload: X });
|
|
27486
|
+
}), this._parser.setPrintHandler((R, Q, X) => this.print(R, Q, X)), this._parser.registerCsiHandler({ final: "@" }, (R) => this.insertChars(R)), this._parser.registerCsiHandler({ intermediates: " ", final: "@" }, (R) => this.scrollLeft(R)), this._parser.registerCsiHandler({ final: "A" }, (R) => this.cursorUp(R)), this._parser.registerCsiHandler({ intermediates: " ", final: "A" }, (R) => this.scrollRight(R)), this._parser.registerCsiHandler({ final: "B" }, (R) => this.cursorDown(R)), this._parser.registerCsiHandler({ final: "C" }, (R) => this.cursorForward(R)), this._parser.registerCsiHandler({ final: "D" }, (R) => this.cursorBackward(R)), this._parser.registerCsiHandler({ final: "E" }, (R) => this.cursorNextLine(R)), this._parser.registerCsiHandler({ final: "F" }, (R) => this.cursorPrecedingLine(R)), this._parser.registerCsiHandler({ final: "G" }, (R) => this.cursorCharAbsolute(R)), this._parser.registerCsiHandler({ final: "H" }, (R) => this.cursorPosition(R)), this._parser.registerCsiHandler({ final: "I" }, (R) => this.cursorForwardTab(R)), this._parser.registerCsiHandler({ final: "J" }, (R) => this.eraseInDisplay(R, !1)), this._parser.registerCsiHandler({ prefix: "?", final: "J" }, (R) => this.eraseInDisplay(R, !0)), this._parser.registerCsiHandler({ final: "K" }, (R) => this.eraseInLine(R, !1)), this._parser.registerCsiHandler({ prefix: "?", final: "K" }, (R) => this.eraseInLine(R, !0)), this._parser.registerCsiHandler({ final: "L" }, (R) => this.insertLines(R)), this._parser.registerCsiHandler({ final: "M" }, (R) => this.deleteLines(R)), this._parser.registerCsiHandler({ final: "P" }, (R) => this.deleteChars(R)), this._parser.registerCsiHandler({ final: "S" }, (R) => this.scrollUp(R)), this._parser.registerCsiHandler({ final: "T" }, (R) => this.scrollDown(R)), this._parser.registerCsiHandler({ final: "X" }, (R) => this.eraseChars(R)), this._parser.registerCsiHandler({ final: "Z" }, (R) => this.cursorBackwardTab(R)), this._parser.registerCsiHandler({ final: "`" }, (R) => this.charPosAbsolute(R)), this._parser.registerCsiHandler({ final: "a" }, (R) => this.hPositionRelative(R)), this._parser.registerCsiHandler({ final: "b" }, (R) => this.repeatPrecedingCharacter(R)), this._parser.registerCsiHandler({ final: "c" }, (R) => this.sendDeviceAttributesPrimary(R)), this._parser.registerCsiHandler({ prefix: ">", final: "c" }, (R) => this.sendDeviceAttributesSecondary(R)), this._parser.registerCsiHandler({ final: "d" }, (R) => this.linePosAbsolute(R)), this._parser.registerCsiHandler({ final: "e" }, (R) => this.vPositionRelative(R)), this._parser.registerCsiHandler({ final: "f" }, (R) => this.hVPosition(R)), this._parser.registerCsiHandler({ final: "g" }, (R) => this.tabClear(R)), this._parser.registerCsiHandler({ final: "h" }, (R) => this.setMode(R)), this._parser.registerCsiHandler({ prefix: "?", final: "h" }, (R) => this.setModePrivate(R)), this._parser.registerCsiHandler({ final: "l" }, (R) => this.resetMode(R)), this._parser.registerCsiHandler({ prefix: "?", final: "l" }, (R) => this.resetModePrivate(R)), this._parser.registerCsiHandler({ final: "m" }, (R) => this.charAttributes(R)), this._parser.registerCsiHandler({ final: "n" }, (R) => this.deviceStatus(R)), this._parser.registerCsiHandler({ prefix: "?", final: "n" }, (R) => this.deviceStatusPrivate(R)), this._parser.registerCsiHandler({ intermediates: "!", final: "p" }, (R) => this.softReset(R)), this._parser.registerCsiHandler({ intermediates: " ", final: "q" }, (R) => this.setCursorStyle(R)), this._parser.registerCsiHandler({ final: "r" }, (R) => this.setScrollRegion(R)), this._parser.registerCsiHandler({ final: "s" }, (R) => this.saveCursor(R)), this._parser.registerCsiHandler({ final: "t" }, (R) => this.windowOptions(R)), this._parser.registerCsiHandler({ final: "u" }, (R) => this.restoreCursor(R)), this._parser.registerCsiHandler({ intermediates: "'", final: "}" }, (R) => this.insertColumns(R)), this._parser.registerCsiHandler({ intermediates: "'", final: "~" }, (R) => this.deleteColumns(R)), this._parser.registerCsiHandler({ intermediates: '"', final: "q" }, (R) => this.selectProtected(R)), this._parser.registerCsiHandler({ intermediates: "$", final: "p" }, (R) => this.requestMode(R, !0)), this._parser.registerCsiHandler({ prefix: "?", intermediates: "$", final: "p" }, (R) => this.requestMode(R, !1)), this._parser.setExecuteHandler(n.C0.BEL, () => this.bell()), this._parser.setExecuteHandler(n.C0.LF, () => this.lineFeed()), this._parser.setExecuteHandler(n.C0.VT, () => this.lineFeed()), this._parser.setExecuteHandler(n.C0.FF, () => this.lineFeed()), this._parser.setExecuteHandler(n.C0.CR, () => this.carriageReturn()), this._parser.setExecuteHandler(n.C0.BS, () => this.backspace()), this._parser.setExecuteHandler(n.C0.HT, () => this.tab()), this._parser.setExecuteHandler(n.C0.SO, () => this.shiftOut()), this._parser.setExecuteHandler(n.C0.SI, () => this.shiftIn()), this._parser.setExecuteHandler(n.C1.IND, () => this.index()), this._parser.setExecuteHandler(n.C1.NEL, () => this.nextLine()), this._parser.setExecuteHandler(n.C1.HTS, () => this.tabSet()), this._parser.registerOscHandler(0, new C.OscHandler((R) => (this.setTitle(R), this.setIconName(R), !0))), this._parser.registerOscHandler(1, new C.OscHandler((R) => this.setIconName(R))), this._parser.registerOscHandler(2, new C.OscHandler((R) => this.setTitle(R))), this._parser.registerOscHandler(4, new C.OscHandler((R) => this.setOrReportIndexedColor(R))), this._parser.registerOscHandler(8, new C.OscHandler((R) => this.setHyperlink(R))), this._parser.registerOscHandler(10, new C.OscHandler((R) => this.setOrReportFgColor(R))), this._parser.registerOscHandler(11, new C.OscHandler((R) => this.setOrReportBgColor(R))), this._parser.registerOscHandler(12, new C.OscHandler((R) => this.setOrReportCursorColor(R))), this._parser.registerOscHandler(104, new C.OscHandler((R) => this.restoreIndexedColor(R))), this._parser.registerOscHandler(110, new C.OscHandler((R) => this.restoreFgColor(R))), this._parser.registerOscHandler(111, new C.OscHandler((R) => this.restoreBgColor(R))), this._parser.registerOscHandler(112, new C.OscHandler((R) => this.restoreCursorColor(R))), this._parser.registerEscHandler({ final: "7" }, () => this.saveCursor()), this._parser.registerEscHandler({ final: "8" }, () => this.restoreCursor()), this._parser.registerEscHandler({ final: "D" }, () => this.index()), this._parser.registerEscHandler({ final: "E" }, () => this.nextLine()), this._parser.registerEscHandler({ final: "H" }, () => this.tabSet()), this._parser.registerEscHandler({ final: "M" }, () => this.reverseIndex()), this._parser.registerEscHandler({ final: "=" }, () => this.keypadApplicationMode()), this._parser.registerEscHandler({ final: ">" }, () => this.keypadNumericMode()), this._parser.registerEscHandler({ final: "c" }, () => this.fullReset()), this._parser.registerEscHandler({ final: "n" }, () => this.setgLevel(2)), this._parser.registerEscHandler({ final: "o" }, () => this.setgLevel(3)), this._parser.registerEscHandler({ final: "|" }, () => this.setgLevel(3)), this._parser.registerEscHandler({ final: "}" }, () => this.setgLevel(2)), this._parser.registerEscHandler({ final: "~" }, () => this.setgLevel(1)), this._parser.registerEscHandler({ intermediates: "%", final: "@" }, () => this.selectDefaultCharset()), this._parser.registerEscHandler({ intermediates: "%", final: "G" }, () => this.selectDefaultCharset());
|
|
27487
27487
|
for (const R in l.CHARSETS) this._parser.registerEscHandler({ intermediates: "(", final: R }, () => this.selectCharset("(" + R)), this._parser.registerEscHandler({ intermediates: ")", final: R }, () => this.selectCharset(")" + R)), this._parser.registerEscHandler({ intermediates: "*", final: R }, () => this.selectCharset("*" + R)), this._parser.registerEscHandler({ intermediates: "+", final: R }, () => this.selectCharset("+" + R)), this._parser.registerEscHandler({ intermediates: "-", final: R }, () => this.selectCharset("-" + R)), this._parser.registerEscHandler({ intermediates: ".", final: R }, () => this.selectCharset("." + R)), this._parser.registerEscHandler({ intermediates: "/", final: R }, () => this.selectCharset("/" + R));
|
|
27488
27488
|
this._parser.registerEscHandler({ intermediates: "#", final: "8" }, () => this.screenAlignmentPattern()), this._parser.setErrorHandler((R) => (this._logService.error("Parsing error: ", R), R)), this._parser.registerDcsHandler({ intermediates: "$", final: "q" }, new S.DcsHandler((R, Q) => this.requestStatusString(R, Q)));
|
|
27489
27489
|
}
|
|
@@ -27507,8 +27507,8 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
27507
27507
|
U = this._parseStack.cursorStartX, M = this._parseStack.cursorStartY, this._parseStack.paused = !1, O.length > I && (W = this._parseStack.position + I);
|
|
27508
27508
|
}
|
|
27509
27509
|
if (this._logService.logLevel <= w.LogLevelEnum.DEBUG && this._logService.debug("parsing data" + (typeof O == "string" ? ` "${O}"` : ` "${Array.prototype.map.call(O, (R) => String.fromCharCode(R)).join("")}"`), typeof O == "string" ? O.split("").map((R) => R.charCodeAt(0)) : O), this._parseBuffer.length < O.length && this._parseBuffer.length < I && (this._parseBuffer = new Uint32Array(Math.min(O.length, I))), K || this._dirtyRowTracker.clearRange(), O.length > I) for (let R = W; R < O.length; R += I) {
|
|
27510
|
-
const Q = R + I < O.length ? R + I : O.length,
|
|
27511
|
-
if (N = this._parser.parse(this._parseBuffer,
|
|
27510
|
+
const Q = R + I < O.length ? R + I : O.length, X = typeof O == "string" ? this._stringDecoder.decode(O.substring(R, Q), this._parseBuffer) : this._utf8Decoder.decode(O.subarray(R, Q), this._parseBuffer);
|
|
27511
|
+
if (N = this._parser.parse(this._parseBuffer, X)) return this._preserveStack(U, M, X, R), this._logSlowResolvingAsync(N), N;
|
|
27512
27512
|
}
|
|
27513
27513
|
else if (!K) {
|
|
27514
27514
|
const R = typeof O == "string" ? this._stringDecoder.decode(O, this._parseBuffer) : this._utf8Decoder.decode(O, this._parseBuffer);
|
|
@@ -27521,8 +27521,8 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
27521
27521
|
print(O, P, N) {
|
|
27522
27522
|
let U, M;
|
|
27523
27523
|
const W = this._charsetService.charset, K = this._optionsService.rawOptions.screenReaderMode, Y = this._bufferService.cols, B = this._coreService.decPrivateModes.wraparound, R = this._coreService.modes.insertMode, Q = this._curAttrData;
|
|
27524
|
-
let
|
|
27525
|
-
this._dirtyRowTracker.markDirty(this._activeBuffer.y), this._activeBuffer.x && N - P > 0 &&
|
|
27524
|
+
let X = this._activeBuffer.lines.get(this._activeBuffer.ybase + this._activeBuffer.y);
|
|
27525
|
+
this._dirtyRowTracker.markDirty(this._activeBuffer.y), this._activeBuffer.x && N - P > 0 && X.getWidth(this._activeBuffer.x - 1) === 2 && X.setCellFromCodepoint(this._activeBuffer.x - 1, 0, 1, Q);
|
|
27526
27526
|
let ue = this._parser.precedingJoinState;
|
|
27527
27527
|
for (let te = P; te < N; ++te) {
|
|
27528
27528
|
if (U = O[te], U < 127 && W) {
|
|
@@ -27534,18 +27534,18 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
27534
27534
|
const ve = y.UnicodeService.extractShouldJoin(_e), Ee = ve ? y.UnicodeService.extractWidth(ue) : 0;
|
|
27535
27535
|
if (ue = _e, K && this._onA11yChar.fire((0, p.stringFromCodePoint)(U)), this._getCurrentLinkId() && this._oscLinkService.addLineToLink(this._getCurrentLinkId(), this._activeBuffer.ybase + this._activeBuffer.y), this._activeBuffer.x + M - Ee > Y) {
|
|
27536
27536
|
if (B) {
|
|
27537
|
-
const ae =
|
|
27537
|
+
const ae = X;
|
|
27538
27538
|
let de = this._activeBuffer.x - Ee;
|
|
27539
|
-
for (this._activeBuffer.x = Ee, this._activeBuffer.y++, this._activeBuffer.y === this._activeBuffer.scrollBottom + 1 ? (this._activeBuffer.y--, this._bufferService.scroll(this._eraseAttrData(), !0)) : (this._activeBuffer.y >= this._bufferService.rows && (this._activeBuffer.y = this._bufferService.rows - 1), this._activeBuffer.lines.get(this._activeBuffer.ybase + this._activeBuffer.y).isWrapped = !0),
|
|
27539
|
+
for (this._activeBuffer.x = Ee, this._activeBuffer.y++, this._activeBuffer.y === this._activeBuffer.scrollBottom + 1 ? (this._activeBuffer.y--, this._bufferService.scroll(this._eraseAttrData(), !0)) : (this._activeBuffer.y >= this._bufferService.rows && (this._activeBuffer.y = this._bufferService.rows - 1), this._activeBuffer.lines.get(this._activeBuffer.ybase + this._activeBuffer.y).isWrapped = !0), X = this._activeBuffer.lines.get(this._activeBuffer.ybase + this._activeBuffer.y), Ee > 0 && X instanceof f.BufferLine && X.copyCellsFrom(ae, de, 0, Ee, !1); de < Y; ) ae.setCellFromCodepoint(de++, 0, 1, Q);
|
|
27540
27540
|
} else if (this._activeBuffer.x = Y - 1, M === 2) continue;
|
|
27541
27541
|
}
|
|
27542
27542
|
if (ve && this._activeBuffer.x) {
|
|
27543
|
-
const ae =
|
|
27544
|
-
|
|
27545
|
-
for (let de = M - Ee; --de >= 0; )
|
|
27546
|
-
} else if (R && (
|
|
27543
|
+
const ae = X.getWidth(this._activeBuffer.x - 1) ? 1 : 2;
|
|
27544
|
+
X.addCodepointToCell(this._activeBuffer.x - ae, U, M);
|
|
27545
|
+
for (let de = M - Ee; --de >= 0; ) X.setCellFromCodepoint(this._activeBuffer.x++, 0, 0, Q);
|
|
27546
|
+
} else if (R && (X.insertCells(this._activeBuffer.x, M - Ee, this._activeBuffer.getNullCell(Q)), X.getWidth(Y - 1) === 2 && X.setCellFromCodepoint(Y - 1, b.NULL_CELL_CODE, b.NULL_CELL_WIDTH, Q)), X.setCellFromCodepoint(this._activeBuffer.x++, U, M, Q), M > 0) for (; --M; ) X.setCellFromCodepoint(this._activeBuffer.x++, 0, 0, Q);
|
|
27547
27547
|
}
|
|
27548
|
-
this._parser.precedingJoinState = ue, this._activeBuffer.x < Y && N - P > 0 &&
|
|
27548
|
+
this._parser.precedingJoinState = ue, this._activeBuffer.x < Y && N - P > 0 && X.getWidth(this._activeBuffer.x) === 0 && !X.hasContent(this._activeBuffer.x) && X.setCellFromCodepoint(this._activeBuffer.x, 0, 1, Q), this._dirtyRowTracker.markDirty(this._activeBuffer.y);
|
|
27549
27549
|
}
|
|
27550
27550
|
registerCsiHandler(O, P) {
|
|
27551
27551
|
return O.final !== "t" || O.prefix || O.intermediates ? this._parser.registerCsiHandler(O, P) : this._parser.registerCsiHandler(O, (N) => !j(N.params[0], this._optionsService.rawOptions.windowOptions) || P(N));
|
|
@@ -27951,8 +27951,8 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
27951
27951
|
return !0;
|
|
27952
27952
|
}
|
|
27953
27953
|
requestMode(O, P) {
|
|
27954
|
-
const N = this._coreService.decPrivateModes, { activeProtocol: U, activeEncoding: M } = this._coreMouseService, W = this._coreService, { buffers: K, cols: Y } = this._bufferService, { active: B, alt: R } = K, Q = this._optionsService.rawOptions,
|
|
27955
|
-
return te = ue, _e = P ? ue === 2 ? 4 : ue === 4 ?
|
|
27954
|
+
const N = this._coreService.decPrivateModes, { activeProtocol: U, activeEncoding: M } = this._coreMouseService, W = this._coreService, { buffers: K, cols: Y } = this._bufferService, { active: B, alt: R } = K, Q = this._optionsService.rawOptions, X = (ve) => ve ? 1 : 2, ue = O.params[0];
|
|
27955
|
+
return te = ue, _e = P ? ue === 2 ? 4 : ue === 4 ? X(W.modes.insertMode) : ue === 12 ? 3 : ue === 20 ? X(Q.convertEol) : 0 : ue === 1 ? X(N.applicationCursorKeys) : ue === 3 ? Q.windowOptions.setWinLines ? Y === 80 ? 2 : Y === 132 ? 1 : 0 : 0 : ue === 6 ? X(N.origin) : ue === 7 ? X(N.wraparound) : ue === 8 ? 3 : ue === 9 ? X(U === "X10") : ue === 12 ? X(Q.cursorBlink) : ue === 25 ? X(!W.isCursorHidden) : ue === 45 ? X(N.reverseWraparound) : ue === 66 ? X(N.applicationKeypad) : ue === 67 ? 4 : ue === 1e3 ? X(U === "VT200") : ue === 1002 ? X(U === "DRAG") : ue === 1003 ? X(U === "ANY") : ue === 1004 ? X(N.sendFocus) : ue === 1005 ? 4 : ue === 1006 ? X(M === "SGR") : ue === 1015 ? 4 : ue === 1016 ? X(M === "SGR_PIXELS") : ue === 1048 ? 1 : ue === 47 || ue === 1047 || ue === 1049 ? X(B === R) : ue === 2004 ? X(N.bracketedPasteMode) : 0, W.triggerDataEvent(`${n.C0.ESC}[${P ? "" : "?"}${te};${_e}$y`), !0;
|
|
27956
27956
|
var te, _e;
|
|
27957
27957
|
}
|
|
27958
27958
|
_updateAttrColor(O, P, N, U, M) {
|
|
@@ -28083,7 +28083,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
28083
28083
|
const U = N.shift(), M = N.shift();
|
|
28084
28084
|
if (/^\d+$/.exec(U)) {
|
|
28085
28085
|
const W = parseInt(U);
|
|
28086
|
-
if (
|
|
28086
|
+
if (J(W)) if (M === "?") P.push({ type: 0, index: W });
|
|
28087
28087
|
else {
|
|
28088
28088
|
const K = (0, x.parseColor)(M);
|
|
28089
28089
|
K && P.push({ type: 1, index: W, color: K });
|
|
@@ -28129,7 +28129,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
28129
28129
|
const P = [], N = O.split(";");
|
|
28130
28130
|
for (let U = 0; U < N.length; ++U) if (/^\d+$/.exec(N[U])) {
|
|
28131
28131
|
const M = parseInt(N[U]);
|
|
28132
|
-
|
|
28132
|
+
J(M) && P.push({ type: 2, index: M });
|
|
28133
28133
|
}
|
|
28134
28134
|
return P.length && this._onColor.fire(P), !0;
|
|
28135
28135
|
}
|
|
@@ -28217,7 +28217,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
28217
28217
|
this.markRangeDirty(0, this._bufferService.rows - 1);
|
|
28218
28218
|
}
|
|
28219
28219
|
};
|
|
28220
|
-
function
|
|
28220
|
+
function J(z) {
|
|
28221
28221
|
return 0 <= z && z < 256;
|
|
28222
28222
|
}
|
|
28223
28223
|
V = d([i(0, w.IBufferService)], V);
|
|
@@ -28701,13 +28701,13 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
28701
28701
|
$.push(U);
|
|
28702
28702
|
}
|
|
28703
28703
|
$.length > 0 && (w.push({ start: C + x.length + y, newLines: $ }), y += $.length), x.push(...$);
|
|
28704
|
-
let V = j.length - 1,
|
|
28705
|
-
|
|
28704
|
+
let V = j.length - 1, J = j[V];
|
|
28705
|
+
J === 0 && (V--, J = j[V]);
|
|
28706
28706
|
let z = x.length - T - 1, O = I;
|
|
28707
28707
|
for (; z >= 0; ) {
|
|
28708
|
-
const N = Math.min(O,
|
|
28708
|
+
const N = Math.min(O, J);
|
|
28709
28709
|
if (x[V] === void 0) break;
|
|
28710
|
-
if (x[V].copyCellsFrom(x[z], O - N,
|
|
28710
|
+
if (x[V].copyCellsFrom(x[z], O - N, J - N, N, !0), J -= N, J === 0 && (V--, J = j[V]), O -= N, O === 0) {
|
|
28711
28711
|
z--;
|
|
28712
28712
|
const U = Math.max(z, 0);
|
|
28713
28713
|
O = (0, h.getWrappedLineTrimmedLength)(x, U, this._cols);
|
|
@@ -28726,7 +28726,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
28726
28726
|
this.lines.length = Math.min(this.lines.maxLength, this.lines.length + y);
|
|
28727
28727
|
let T = 0;
|
|
28728
28728
|
for (let V = Math.min(this.lines.maxLength - 1, x + y - 1); V >= 0; V--) if (j && j.start > k + T) {
|
|
28729
|
-
for (let
|
|
28729
|
+
for (let J = j.newLines.length - 1; J >= 0; J--) this.lines.set(V--, j.newLines[J]);
|
|
28730
28730
|
V++, C.push({ index: k + 1, amount: j.newLines.length }), T += j.newLines.length, j = w[++I];
|
|
28731
28731
|
} else this.lines.set(V, S[k--]);
|
|
28732
28732
|
let L = 0;
|
|
@@ -30937,7 +30937,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
30937
30937
|
bits: L = !1,
|
|
30938
30938
|
pad: $ = !1,
|
|
30939
30939
|
base: V = -1,
|
|
30940
|
-
round:
|
|
30940
|
+
round: J = 2,
|
|
30941
30941
|
locale: z = d,
|
|
30942
30942
|
localeOptions: O = {},
|
|
30943
30943
|
separator: P = d,
|
|
@@ -30951,30 +30951,30 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
30951
30951
|
roundingMethod: R = b,
|
|
30952
30952
|
precision: Q = 0
|
|
30953
30953
|
} = {}) {
|
|
30954
|
-
let
|
|
30954
|
+
let X = B, ue = Number(T), te = [], _e = 0, ve = d;
|
|
30955
30955
|
M === _ ? (V = 10, M = p) : M === l || M === p ? V = 2 : V === 2 ? M = l : (V = 10, M = p);
|
|
30956
30956
|
const Ee = V === 10 ? 1e3 : 1024, ae = K === !0, de = ue < 0, G = Math[R];
|
|
30957
30957
|
if (typeof T != "bigint" && isNaN(T))
|
|
30958
30958
|
throw new TypeError(h);
|
|
30959
30959
|
if (typeof G !== n)
|
|
30960
30960
|
throw new TypeError(m);
|
|
30961
|
-
if (de && (ue = -ue), (
|
|
30962
|
-
return
|
|
30961
|
+
if (de && (ue = -ue), (X === -1 || isNaN(X)) && (X = Math.floor(Math.log(ue) / Math.log(Ee)), X < 0 && (X = 0)), X > 8 && (Q > 0 && (Q += 8 - X), X = 8), W === i)
|
|
30962
|
+
return X;
|
|
30963
30963
|
if (ue === 0)
|
|
30964
|
-
te[0] = 0, ve = te[1] = k.symbol[M][L ? u : a][
|
|
30964
|
+
te[0] = 0, ve = te[1] = k.symbol[M][L ? u : a][X];
|
|
30965
30965
|
else {
|
|
30966
|
-
_e = ue / (V === 2 ? Math.pow(2,
|
|
30967
|
-
const H = Math.pow(10,
|
|
30968
|
-
te[0] = G(_e * H) / H, te[0] === Ee &&
|
|
30966
|
+
_e = ue / (V === 2 ? Math.pow(2, X * 10) : Math.pow(1e3, X)), L && (_e = _e * 8, _e >= Ee && X < 8 && (_e = _e / Ee, X++));
|
|
30967
|
+
const H = Math.pow(10, X > 0 ? J : 0);
|
|
30968
|
+
te[0] = G(_e * H) / H, te[0] === Ee && X < 8 && B === -1 && (te[0] = 1, X++), ve = te[1] = V === 10 && X === 1 ? L ? w : y : k.symbol[M][L ? u : a][X];
|
|
30969
30969
|
}
|
|
30970
|
-
if (de && (te[0] = -te[0]), Q > 0 && (te[0] = te[0].toPrecision(Q)), te[1] = U[te[1]] || te[1], z === !0 ? te[0] = te[0].toLocaleString() : z.length > 0 ? te[0] = te[0].toLocaleString(z, O) : P.length > 0 && (te[0] = te[0].toString().replace(v, P)), $ &&
|
|
30971
|
-
const H = te[0].toString(), q = P || (H.match(/(\D)/g) || []).pop() || v, se = H.toString().split(q), le = se[1] || d, he = le.length, ke =
|
|
30970
|
+
if (de && (te[0] = -te[0]), Q > 0 && (te[0] = te[0].toPrecision(Q)), te[1] = U[te[1]] || te[1], z === !0 ? te[0] = te[0].toLocaleString() : z.length > 0 ? te[0] = te[0].toLocaleString(z, O) : P.length > 0 && (te[0] = te[0].toString().replace(v, P)), $ && J > 0) {
|
|
30971
|
+
const H = te[0].toString(), q = P || (H.match(/(\D)/g) || []).pop() || v, se = H.toString().split(q), le = se[1] || d, he = le.length, ke = J - he;
|
|
30972
30972
|
te[0] = `${se[0]}${q}${le.padEnd(he + ke, x)}`;
|
|
30973
30973
|
}
|
|
30974
|
-
return ae && (te[1] = Y[
|
|
30974
|
+
return ae && (te[1] = Y[X] ? Y[X] : k.fullform[M][X] + (L ? c : o) + (te[0] === 1 ? d : g)), W === s ? te : W === f ? {
|
|
30975
30975
|
value: te[0],
|
|
30976
30976
|
symbol: te[1],
|
|
30977
|
-
exponent:
|
|
30977
|
+
exponent: X,
|
|
30978
30978
|
unit: ve
|
|
30979
30979
|
} : te.join(N);
|
|
30980
30980
|
}
|
|
@@ -30983,7 +30983,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
30983
30983
|
pad: L = !1,
|
|
30984
30984
|
base: $ = -1,
|
|
30985
30985
|
round: V = 2,
|
|
30986
|
-
locale:
|
|
30986
|
+
locale: J = d,
|
|
30987
30987
|
localeOptions: z = {},
|
|
30988
30988
|
separator: O = d,
|
|
30989
30989
|
spacer: P = C,
|
|
@@ -31001,7 +31001,7 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
31001
31001
|
pad: L,
|
|
31002
31002
|
base: $,
|
|
31003
31003
|
round: V,
|
|
31004
|
-
locale:
|
|
31004
|
+
locale: J,
|
|
31005
31005
|
localeOptions: z,
|
|
31006
31006
|
separator: O,
|
|
31007
31007
|
spacer: P,
|
|
@@ -31346,14 +31346,14 @@ WARNING: This link could potentially be dangerous`)) {
|
|
|
31346
31346
|
}, v = (je, ee, pe) => xe(je, ee, pe), b = "$lit$", g = `lit$${Math.random().toFixed(9).slice(2)}$`, _ = "?" + g, w = `<${_}>`, y = document, C = () => y.createComment(""), S = (je) => je === null || typeof je != "object" && typeof je != "function", x = Array.isArray, k = (je) => x(je) || // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
31347
31347
|
typeof (je == null ? void 0 : je[Symbol.iterator]) == "function", I = `[
|
|
31348
31348
|
\f\r]`, j = `[^
|
|
31349
|
-
\f\r"'\`<>=]`, T = `[^\\s"'>=/]`, L = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, $ = 1, V = 2,
|
|
31349
|
+
\f\r"'\`<>=]`, T = `[^\\s"'>=/]`, L = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, $ = 1, V = 2, J = 3, z = /-->/g, O = />/g, P = new RegExp(`>|${I}(?:(${T}+)(${I}*=${I}*(?:${j}|("|')|))|$)`, "g"), N = 0, U = 1, M = 2, W = 3, K = /'/g, Y = /"/g, B = /^(?:script|style|textarea|title)$/i, R = 1, Q = 2, X = 3, ue = 1, te = 2, _e = 3, ve = 4, Ee = 5, ae = 6, de = 7, G = (je) => (ee, ...pe) => (ee.some((ge) => ge === void 0) && console.warn(`Some template strings are undefined.
|
|
31350
31350
|
This is probably caused by illegal octal escape sequences.`), pe.some((ge) => ge == null ? void 0 : ge._$litStatic$) && d("", `Static values 'literal' or 'unsafeStatic' cannot be used as values to non-static templates.
|
|
31351
31351
|
Please use the static 'html' tag function. See https://lit.dev/docs/templates/expressions/#static-expressions`), {
|
|
31352
31352
|
// This property needs to remain unminified.
|
|
31353
31353
|
_$litType$: je,
|
|
31354
31354
|
strings: ee,
|
|
31355
31355
|
values: pe
|
|
31356
|
-
}), H = G(R), q = G(Q), se = G(
|
|
31356
|
+
}), H = G(R), q = G(Q), se = G(X), le = Symbol.for("lit-noChange"), he = Symbol.for("lit-nothing"), ke = /* @__PURE__ */ new WeakMap(), Ie = y.createTreeWalker(
|
|
31357
31357
|
y,
|
|
31358
31358
|
129
|
|
31359
31359
|
/* NodeFilter.SHOW_{ELEMENT|COMMENT} */
|
|
@@ -31379,7 +31379,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
31379
31379
|
}
|
|
31380
31380
|
const ce = (je, ee) => {
|
|
31381
31381
|
const pe = je.length - 1, ge = [];
|
|
31382
|
-
let ye = ee === Q ? "<svg>" : ee ===
|
|
31382
|
+
let ye = ee === Q ? "<svg>" : ee === X ? "<math>" : "", Te, we = L;
|
|
31383
31383
|
for (let Le = 0; Le < pe; Le++) {
|
|
31384
31384
|
const Be = je[Le];
|
|
31385
31385
|
let qe = -1, Me, Qe = 0, re;
|
|
@@ -31391,14 +31391,14 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
31391
31391
|
we = O;
|
|
31392
31392
|
else if (re[V] !== void 0)
|
|
31393
31393
|
B.test(re[V]) && (Te = new RegExp(`</${re[V]}`, "g")), we = P;
|
|
31394
|
-
else if (re[
|
|
31394
|
+
else if (re[J] !== void 0)
|
|
31395
31395
|
throw new Error("Bindings in tag names are not supported. Please use static templates instead. See https://lit.dev/docs/templates/expressions/#static-expressions");
|
|
31396
31396
|
} else we === P ? re[N] === ">" ? (we = Te ?? L, qe = -1) : re[U] === void 0 ? qe = -2 : (qe = we.lastIndex - re[M].length, Me = re[U], we = re[W] === void 0 ? P : re[W] === '"' ? Y : K) : we === Y || we === K ? we = P : we === z || we === O ? we = L : (we = P, Te = void 0);
|
|
31397
31397
|
console.assert(qe === -1 || we === P || we === K || we === Y, "unexpected parse state B");
|
|
31398
31398
|
const _t = we === P && je[Le + 1].startsWith("/>") ? " " : "";
|
|
31399
31399
|
ye += we === L ? Be + w : qe >= 0 ? (ge.push(Me), Be.slice(0, qe) + b + Be.slice(qe) + g + _t) : Be + g + (qe === -2 ? Le : _t);
|
|
31400
31400
|
}
|
|
31401
|
-
const Se = ye + (je[pe] || "<?>") + (ee === Q ? "</svg>" : ee ===
|
|
31401
|
+
const Se = ye + (je[pe] || "<?>") + (ee === Q ? "</svg>" : ee === X ? "</math>" : "");
|
|
31402
31402
|
return [Ne(je, Se), ge];
|
|
31403
31403
|
};
|
|
31404
31404
|
class De {
|
|
@@ -31406,7 +31406,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
31406
31406
|
this.parts = [];
|
|
31407
31407
|
let ye, Te = 0, we = 0;
|
|
31408
31408
|
const Se = ee.length - 1, Le = this.parts, [Be, qe] = ce(ee, pe);
|
|
31409
|
-
if (this.el = De.createElement(Be, ge), Ie.currentNode = this.el.content, pe === Q || pe ===
|
|
31409
|
+
if (this.el = De.createElement(Be, ge), Ie.currentNode = this.el.content, pe === Q || pe === X) {
|
|
31410
31410
|
const Me = this.el.content.firstChild;
|
|
31411
31411
|
Me.replaceWith(...Me.childNodes);
|
|
31412
31412
|
}
|
|
@@ -31430,7 +31430,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
31430
31430
|
index: Te,
|
|
31431
31431
|
name: _t[2],
|
|
31432
31432
|
strings: re,
|
|
31433
|
-
ctor: _t[1] === "." ? et : _t[1] === "?" ? dt : _t[1] === "@" ? pt :
|
|
31433
|
+
ctor: _t[1] === "." ? et : _t[1] === "?" ? dt : _t[1] === "@" ? pt : Je
|
|
31434
31434
|
}), ye.removeAttribute(Me);
|
|
31435
31435
|
} else Me.startsWith(g) && (Le.push({
|
|
31436
31436
|
type: ae,
|
|
@@ -31504,7 +31504,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
31504
31504
|
for (; Le !== void 0; ) {
|
|
31505
31505
|
if (we === Le.index) {
|
|
31506
31506
|
let Be;
|
|
31507
|
-
Le.type === te ? Be = new Ae(Te, Te.nextSibling, this, ee) : Le.type === ue ? Be = new Le.ctor(Te, Le.name, Le.strings, this, ee) : Le.type === ae && (Be = new
|
|
31507
|
+
Le.type === te ? Be = new Ae(Te, Te.nextSibling, this, ee) : Le.type === ue ? Be = new Le.ctor(Te, Le.name, Le.strings, this, ee) : Le.type === ae && (Be = new Xe(Te, this, ee)), this._$parts.push(Be), Le = ge[++Se];
|
|
31508
31508
|
}
|
|
31509
31509
|
we !== (Le == null ? void 0 : Le.index) && (Te = Ie.nextNode(), we++);
|
|
31510
31510
|
}
|
|
@@ -31713,7 +31713,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
31713
31713
|
throw new Error("part.setConnected() may only be called on a RootPart returned from render().");
|
|
31714
31714
|
}
|
|
31715
31715
|
}
|
|
31716
|
-
class
|
|
31716
|
+
class Je {
|
|
31717
31717
|
get tagName() {
|
|
31718
31718
|
return this.element.tagName;
|
|
31719
31719
|
}
|
|
@@ -31771,7 +31771,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
31771
31771
|
}), i(this.element).setAttribute(this.name, ee ?? ""));
|
|
31772
31772
|
}
|
|
31773
31773
|
}
|
|
31774
|
-
class et extends
|
|
31774
|
+
class et extends Je {
|
|
31775
31775
|
constructor() {
|
|
31776
31776
|
super(...arguments), this.type = _e;
|
|
31777
31777
|
}
|
|
@@ -31786,7 +31786,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
31786
31786
|
}), this.element[this.name] = ee === he ? void 0 : ee;
|
|
31787
31787
|
}
|
|
31788
31788
|
}
|
|
31789
|
-
class dt extends
|
|
31789
|
+
class dt extends Je {
|
|
31790
31790
|
constructor() {
|
|
31791
31791
|
super(...arguments), this.type = ve;
|
|
31792
31792
|
}
|
|
@@ -31801,7 +31801,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
31801
31801
|
}), i(this.element).toggleAttribute(this.name, !!ee && ee !== he);
|
|
31802
31802
|
}
|
|
31803
31803
|
}
|
|
31804
|
-
class pt extends
|
|
31804
|
+
class pt extends Je {
|
|
31805
31805
|
constructor(ee, pe, ge, ye, Te) {
|
|
31806
31806
|
if (super(ee, pe, ge, ye, Te), this.type = Ee, this.strings !== void 0)
|
|
31807
31807
|
throw new Error(`A \`<${ee.localName}>\` has a \`@${pe}=...\` listener with invalid content. Event listeners in templates must have exactly one expression and no surrounding text.`);
|
|
@@ -31829,7 +31829,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
31829
31829
|
typeof this._$committedValue == "function" ? this._$committedValue.call(((pe = this.options) == null ? void 0 : pe.host) ?? this.element, ee) : this._$committedValue.handleEvent(ee);
|
|
31830
31830
|
}
|
|
31831
31831
|
}
|
|
31832
|
-
class
|
|
31832
|
+
class Xe {
|
|
31833
31833
|
constructor(ee, pe, ge) {
|
|
31834
31834
|
this.element = ee, this.type = ae, this._$disconnectableChildren = void 0, this._$parent = pe, this.options = ge;
|
|
31835
31835
|
}
|
|
@@ -31858,11 +31858,11 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
31858
31858
|
_isIterable: k,
|
|
31859
31859
|
_resolveDirective: Pe,
|
|
31860
31860
|
_ChildPart: Ae,
|
|
31861
|
-
_AttributePart:
|
|
31861
|
+
_AttributePart: Je,
|
|
31862
31862
|
_BooleanAttributePart: dt,
|
|
31863
31863
|
_EventPart: pt,
|
|
31864
31864
|
_PropertyPart: et,
|
|
31865
|
-
_ElementPart:
|
|
31865
|
+
_ElementPart: Xe
|
|
31866
31866
|
}, it = u.litHtmlPolyfillSupportDevMode;
|
|
31867
31867
|
it == null || it(De, Ae), (u.litHtmlVersions ?? (u.litHtmlVersions = [])).push("3.2.0"), u.litHtmlVersions.length > 1 && d("multiple-versions", "Multiple versions of Lit loaded. Loading multiple versions is not recommended.");
|
|
31868
31868
|
const at = (je, ee, pe) => {
|
|
@@ -32342,12 +32342,12 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
32342
32342
|
Object.defineProperty(e, "ObjectUnsubscribedError", { enumerable: !0, get: function() {
|
|
32343
32343
|
return V.ObjectUnsubscribedError;
|
|
32344
32344
|
} });
|
|
32345
|
-
var
|
|
32345
|
+
var J = t(
|
|
32346
32346
|
/*! ./internal/util/SequenceError */
|
|
32347
32347
|
"./node_modules/rxjs/dist/cjs/internal/util/SequenceError.js"
|
|
32348
32348
|
);
|
|
32349
32349
|
Object.defineProperty(e, "SequenceError", { enumerable: !0, get: function() {
|
|
32350
|
-
return
|
|
32350
|
+
return J.SequenceError;
|
|
32351
32351
|
} });
|
|
32352
32352
|
var z = t(
|
|
32353
32353
|
/*! ./internal/operators/timeout */
|
|
@@ -32433,12 +32433,12 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
32433
32433
|
Object.defineProperty(e, "fromEvent", { enumerable: !0, get: function() {
|
|
32434
32434
|
return Q.fromEvent;
|
|
32435
32435
|
} });
|
|
32436
|
-
var
|
|
32436
|
+
var X = t(
|
|
32437
32437
|
/*! ./internal/observable/fromEventPattern */
|
|
32438
32438
|
"./node_modules/rxjs/dist/cjs/internal/observable/fromEventPattern.js"
|
|
32439
32439
|
);
|
|
32440
32440
|
Object.defineProperty(e, "fromEventPattern", { enumerable: !0, get: function() {
|
|
32441
|
-
return
|
|
32441
|
+
return X.fromEventPattern;
|
|
32442
32442
|
} });
|
|
32443
32443
|
var ue = t(
|
|
32444
32444
|
/*! ./internal/observable/generate */
|
|
@@ -32597,12 +32597,12 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
32597
32597
|
Object.defineProperty(e, "buffer", { enumerable: !0, get: function() {
|
|
32598
32598
|
return Ae.buffer;
|
|
32599
32599
|
} });
|
|
32600
|
-
var
|
|
32600
|
+
var Je = t(
|
|
32601
32601
|
/*! ./internal/operators/bufferCount */
|
|
32602
32602
|
"./node_modules/rxjs/dist/cjs/internal/operators/bufferCount.js"
|
|
32603
32603
|
);
|
|
32604
32604
|
Object.defineProperty(e, "bufferCount", { enumerable: !0, get: function() {
|
|
32605
|
-
return
|
|
32605
|
+
return Je.bufferCount;
|
|
32606
32606
|
} });
|
|
32607
32607
|
var et = t(
|
|
32608
32608
|
/*! ./internal/operators/bufferTime */
|
|
@@ -32625,12 +32625,12 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
32625
32625
|
Object.defineProperty(e, "bufferWhen", { enumerable: !0, get: function() {
|
|
32626
32626
|
return pt.bufferWhen;
|
|
32627
32627
|
} });
|
|
32628
|
-
var
|
|
32628
|
+
var Xe = t(
|
|
32629
32629
|
/*! ./internal/operators/catchError */
|
|
32630
32630
|
"./node_modules/rxjs/dist/cjs/internal/operators/catchError.js"
|
|
32631
32631
|
);
|
|
32632
32632
|
Object.defineProperty(e, "catchError", { enumerable: !0, get: function() {
|
|
32633
|
-
return
|
|
32633
|
+
return Xe.catchError;
|
|
32634
32634
|
} });
|
|
32635
32635
|
var tt = t(
|
|
32636
32636
|
/*! ./internal/operators/combineAll */
|
|
@@ -32933,12 +32933,12 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
32933
32933
|
Object.defineProperty(e, "mergeScan", { enumerable: !0, get: function() {
|
|
32934
32934
|
return Sr.mergeScan;
|
|
32935
32935
|
} });
|
|
32936
|
-
var
|
|
32936
|
+
var Xr = t(
|
|
32937
32937
|
/*! ./internal/operators/mergeWith */
|
|
32938
32938
|
"./node_modules/rxjs/dist/cjs/internal/operators/mergeWith.js"
|
|
32939
32939
|
);
|
|
32940
32940
|
Object.defineProperty(e, "mergeWith", { enumerable: !0, get: function() {
|
|
32941
|
-
return
|
|
32941
|
+
return Xr.mergeWith;
|
|
32942
32942
|
} });
|
|
32943
32943
|
var qr = t(
|
|
32944
32944
|
/*! ./internal/operators/min */
|
|
@@ -33220,19 +33220,19 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
33220
33220
|
Object.defineProperty(e, "throttle", { enumerable: !0, get: function() {
|
|
33221
33221
|
return Yu.throttle;
|
|
33222
33222
|
} });
|
|
33223
|
-
var
|
|
33223
|
+
var Ju = t(
|
|
33224
33224
|
/*! ./internal/operators/throttleTime */
|
|
33225
33225
|
"./node_modules/rxjs/dist/cjs/internal/operators/throttleTime.js"
|
|
33226
33226
|
);
|
|
33227
33227
|
Object.defineProperty(e, "throttleTime", { enumerable: !0, get: function() {
|
|
33228
|
-
return
|
|
33228
|
+
return Ju.throttleTime;
|
|
33229
33229
|
} });
|
|
33230
|
-
var
|
|
33230
|
+
var Xu = t(
|
|
33231
33231
|
/*! ./internal/operators/throwIfEmpty */
|
|
33232
33232
|
"./node_modules/rxjs/dist/cjs/internal/operators/throwIfEmpty.js"
|
|
33233
33233
|
);
|
|
33234
33234
|
Object.defineProperty(e, "throwIfEmpty", { enumerable: !0, get: function() {
|
|
33235
|
-
return
|
|
33235
|
+
return Xu.throwIfEmpty;
|
|
33236
33236
|
} });
|
|
33237
33237
|
var qu = t(
|
|
33238
33238
|
/*! ./internal/operators/timeInterval */
|
|
@@ -35035,23 +35035,23 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
35035
35035
|
function(r, e, t) {
|
|
35036
35036
|
var s = this && this.__awaiter || function(I, j, T, L) {
|
|
35037
35037
|
function $(V) {
|
|
35038
|
-
return V instanceof T ? V : new T(function(
|
|
35039
|
-
|
|
35038
|
+
return V instanceof T ? V : new T(function(J) {
|
|
35039
|
+
J(V);
|
|
35040
35040
|
});
|
|
35041
35041
|
}
|
|
35042
|
-
return new (T || (T = Promise))(function(V,
|
|
35042
|
+
return new (T || (T = Promise))(function(V, J) {
|
|
35043
35043
|
function z(N) {
|
|
35044
35044
|
try {
|
|
35045
35045
|
P(L.next(N));
|
|
35046
35046
|
} catch (U) {
|
|
35047
|
-
|
|
35047
|
+
J(U);
|
|
35048
35048
|
}
|
|
35049
35049
|
}
|
|
35050
35050
|
function O(N) {
|
|
35051
35051
|
try {
|
|
35052
35052
|
P(L.throw(N));
|
|
35053
35053
|
} catch (U) {
|
|
35054
|
-
|
|
35054
|
+
J(U);
|
|
35055
35055
|
}
|
|
35056
35056
|
}
|
|
35057
35057
|
function P(N) {
|
|
@@ -35063,10 +35063,10 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
35063
35063
|
var T = { label: 0, sent: function() {
|
|
35064
35064
|
if (V[0] & 1) throw V[1];
|
|
35065
35065
|
return V[1];
|
|
35066
|
-
}, trys: [], ops: [] }, L, $, V,
|
|
35067
|
-
return
|
|
35066
|
+
}, trys: [], ops: [] }, L, $, V, J;
|
|
35067
|
+
return J = { next: z(0), throw: z(1), return: z(2) }, typeof Symbol == "function" && (J[Symbol.iterator] = function() {
|
|
35068
35068
|
return this;
|
|
35069
|
-
}),
|
|
35069
|
+
}), J;
|
|
35070
35070
|
function z(P) {
|
|
35071
35071
|
return function(N) {
|
|
35072
35072
|
return O([P, N]);
|
|
@@ -35125,16 +35125,16 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
35125
35125
|
return this;
|
|
35126
35126
|
}, T);
|
|
35127
35127
|
function L(V) {
|
|
35128
|
-
T[V] = I[V] && function(
|
|
35128
|
+
T[V] = I[V] && function(J) {
|
|
35129
35129
|
return new Promise(function(z, O) {
|
|
35130
|
-
|
|
35130
|
+
J = I[V](J), $(z, O, J.done, J.value);
|
|
35131
35131
|
});
|
|
35132
35132
|
};
|
|
35133
35133
|
}
|
|
35134
|
-
function $(V,
|
|
35134
|
+
function $(V, J, z, O) {
|
|
35135
35135
|
Promise.resolve(O).then(function(P) {
|
|
35136
35136
|
V({ value: P, done: z });
|
|
35137
|
-
},
|
|
35137
|
+
}, J);
|
|
35138
35138
|
}
|
|
35139
35139
|
}, o = this && this.__values || function(I) {
|
|
35140
35140
|
var j = typeof Symbol == "function" && Symbol.iterator, T = j && I[j], L = 0;
|
|
@@ -35233,8 +35233,8 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
35233
35233
|
var T, L;
|
|
35234
35234
|
try {
|
|
35235
35235
|
for (var $ = o(I), V = $.next(); !V.done; V = $.next()) {
|
|
35236
|
-
var
|
|
35237
|
-
if (j.next(
|
|
35236
|
+
var J = V.value;
|
|
35237
|
+
if (j.next(J), j.closed)
|
|
35238
35238
|
return;
|
|
35239
35239
|
}
|
|
35240
35240
|
} catch (z) {
|
|
@@ -35265,7 +35265,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
35265
35265
|
function k(I, j) {
|
|
35266
35266
|
var T, L, $, V;
|
|
35267
35267
|
return s(this, void 0, void 0, function() {
|
|
35268
|
-
var
|
|
35268
|
+
var J, z;
|
|
35269
35269
|
return c(this, function(O) {
|
|
35270
35270
|
switch (O.label) {
|
|
35271
35271
|
case 0:
|
|
@@ -35274,7 +35274,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
35274
35274
|
return [4, T.next()];
|
|
35275
35275
|
case 2:
|
|
35276
35276
|
if (L = O.sent(), !!L.done) return [3, 4];
|
|
35277
|
-
if (
|
|
35277
|
+
if (J = L.value, j.next(J), j.closed)
|
|
35278
35278
|
return [2];
|
|
35279
35279
|
O.label = 3;
|
|
35280
35280
|
case 3:
|
|
@@ -36081,15 +36081,15 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
36081
36081
|
var I = o.createOperatorSubscriber(y, function(j) {
|
|
36082
36082
|
var T, L, $ = C.slice();
|
|
36083
36083
|
try {
|
|
36084
|
-
for (var V = s($),
|
|
36085
|
-
var z =
|
|
36084
|
+
for (var V = s($), J = V.next(); !J.done; J = V.next()) {
|
|
36085
|
+
var z = J.value, O = z.buffer;
|
|
36086
36086
|
O.push(j), _ <= O.length && x(z);
|
|
36087
36087
|
}
|
|
36088
36088
|
} catch (P) {
|
|
36089
36089
|
T = { error: P };
|
|
36090
36090
|
} finally {
|
|
36091
36091
|
try {
|
|
36092
|
-
|
|
36092
|
+
J && !J.done && (L = V.return) && L.call(V);
|
|
36093
36093
|
} finally {
|
|
36094
36094
|
if (T) throw T.error;
|
|
36095
36095
|
}
|
|
@@ -38721,18 +38721,18 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
38721
38721
|
};
|
|
38722
38722
|
return d.operate(function($, V) {
|
|
38723
38723
|
x++, !I && !k && j();
|
|
38724
|
-
var
|
|
38724
|
+
var J = S = S ?? m();
|
|
38725
38725
|
V.add(function() {
|
|
38726
38726
|
x--, x === 0 && !I && !k && (C = n(L, _));
|
|
38727
|
-
}),
|
|
38727
|
+
}), J.subscribe(V), !y && x > 0 && (y = new a.SafeSubscriber({
|
|
38728
38728
|
next: function(z) {
|
|
38729
|
-
return
|
|
38729
|
+
return J.next(z);
|
|
38730
38730
|
},
|
|
38731
38731
|
error: function(z) {
|
|
38732
|
-
I = !0, j(), C = n(T, f, z),
|
|
38732
|
+
I = !0, j(), C = n(T, f, z), J.error(z);
|
|
38733
38733
|
},
|
|
38734
38734
|
complete: function() {
|
|
38735
|
-
k = !0, j(), C = n(T, b),
|
|
38735
|
+
k = !0, j(), C = n(T, b), J.complete();
|
|
38736
38736
|
}
|
|
38737
38737
|
}), u.innerFrom($).subscribe(y));
|
|
38738
38738
|
})(w);
|
|
@@ -42265,12 +42265,12 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
42265
42265
|
Object.defineProperty(e, "elementAt", { enumerable: !0, get: function() {
|
|
42266
42266
|
return V.elementAt;
|
|
42267
42267
|
} });
|
|
42268
|
-
var
|
|
42268
|
+
var J = t(
|
|
42269
42269
|
/*! ../internal/operators/endWith */
|
|
42270
42270
|
"./node_modules/rxjs/dist/cjs/internal/operators/endWith.js"
|
|
42271
42271
|
);
|
|
42272
42272
|
Object.defineProperty(e, "endWith", { enumerable: !0, get: function() {
|
|
42273
|
-
return
|
|
42273
|
+
return J.endWith;
|
|
42274
42274
|
} });
|
|
42275
42275
|
var z = t(
|
|
42276
42276
|
/*! ../internal/operators/every */
|
|
@@ -42356,12 +42356,12 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
42356
42356
|
Object.defineProperty(e, "ignoreElements", { enumerable: !0, get: function() {
|
|
42357
42357
|
return Q.ignoreElements;
|
|
42358
42358
|
} });
|
|
42359
|
-
var
|
|
42359
|
+
var X = t(
|
|
42360
42360
|
/*! ../internal/operators/isEmpty */
|
|
42361
42361
|
"./node_modules/rxjs/dist/cjs/internal/operators/isEmpty.js"
|
|
42362
42362
|
);
|
|
42363
42363
|
Object.defineProperty(e, "isEmpty", { enumerable: !0, get: function() {
|
|
42364
|
-
return
|
|
42364
|
+
return X.isEmpty;
|
|
42365
42365
|
} });
|
|
42366
42366
|
var ue = t(
|
|
42367
42367
|
/*! ../internal/operators/last */
|
|
@@ -42517,12 +42517,12 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
42517
42517
|
Object.defineProperty(e, "publishLast", { enumerable: !0, get: function() {
|
|
42518
42518
|
return Ae.publishLast;
|
|
42519
42519
|
} });
|
|
42520
|
-
var
|
|
42520
|
+
var Je = t(
|
|
42521
42521
|
/*! ../internal/operators/publishReplay */
|
|
42522
42522
|
"./node_modules/rxjs/dist/cjs/internal/operators/publishReplay.js"
|
|
42523
42523
|
);
|
|
42524
42524
|
Object.defineProperty(e, "publishReplay", { enumerable: !0, get: function() {
|
|
42525
|
-
return
|
|
42525
|
+
return Je.publishReplay;
|
|
42526
42526
|
} });
|
|
42527
42527
|
var et = t(
|
|
42528
42528
|
/*! ../internal/operators/race */
|
|
@@ -42545,12 +42545,12 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
42545
42545
|
Object.defineProperty(e, "reduce", { enumerable: !0, get: function() {
|
|
42546
42546
|
return pt.reduce;
|
|
42547
42547
|
} });
|
|
42548
|
-
var
|
|
42548
|
+
var Xe = t(
|
|
42549
42549
|
/*! ../internal/operators/repeat */
|
|
42550
42550
|
"./node_modules/rxjs/dist/cjs/internal/operators/repeat.js"
|
|
42551
42551
|
);
|
|
42552
42552
|
Object.defineProperty(e, "repeat", { enumerable: !0, get: function() {
|
|
42553
|
-
return
|
|
42553
|
+
return Xe.repeat;
|
|
42554
42554
|
} });
|
|
42555
42555
|
var tt = t(
|
|
42556
42556
|
/*! ../internal/operators/repeatWhen */
|
|
@@ -43005,7 +43005,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
43005
43005
|
return !1;
|
|
43006
43006
|
}
|
|
43007
43007
|
for (let P = 0; P < this.set.length; P++)
|
|
43008
|
-
if (
|
|
43008
|
+
if (J(this.set[P], O, this.options))
|
|
43009
43009
|
return !0;
|
|
43010
43010
|
return !1;
|
|
43011
43011
|
}
|
|
@@ -43065,10 +43065,10 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
43065
43065
|
const P = O.loose ? l[h.XRANGELOOSE] : l[h.XRANGE];
|
|
43066
43066
|
return z.replace(P, (N, U, M, W, K, Y) => {
|
|
43067
43067
|
i("xRange", z, N, U, M, W, K, Y);
|
|
43068
|
-
const B = C(M), R = B || C(W), Q = R || C(K),
|
|
43069
|
-
return U === "=" &&
|
|
43068
|
+
const B = C(M), R = B || C(W), Q = R || C(K), X = Q;
|
|
43069
|
+
return U === "=" && X && (U = ""), Y = O.includePrerelease ? "-0" : "", B ? U === ">" || U === "<" ? N = "<0.0.0-0" : N = "*" : U && X ? (R && (W = 0), K = 0, U === ">" ? (U = ">=", R ? (M = +M + 1, W = 0, K = 0) : (W = +W + 1, K = 0)) : U === "<=" && (U = "<", R ? M = +M + 1 : W = +W + 1), U === "<" && (Y = "-0"), N = `${U + M}.${W}.${K}${Y}`) : R ? N = `>=${M}.0.0${Y} <${+M + 1}.0.0-0` : Q && (N = `>=${M}.${W}.0${Y} <${M}.${+W + 1}.0-0`), i("xRange return", N), N;
|
|
43070
43070
|
});
|
|
43071
|
-
}, L = (z, O) => (i("replaceStars", z, O), z.trim().replace(l[h.STAR], "")), $ = (z, O) => (i("replaceGTE0", z, O), z.trim().replace(l[O.includePrerelease ? h.GTE0PRE : h.GTE0], "")), V = (z) => (O, P, N, U, M, W, K, Y, B, R, Q,
|
|
43071
|
+
}, L = (z, O) => (i("replaceStars", z, O), z.trim().replace(l[h.STAR], "")), $ = (z, O) => (i("replaceGTE0", z, O), z.trim().replace(l[O.includePrerelease ? h.GTE0PRE : h.GTE0], "")), V = (z) => (O, P, N, U, M, W, K, Y, B, R, Q, X) => (C(N) ? P = "" : C(U) ? P = `>=${N}.0.0${z ? "-0" : ""}` : C(M) ? P = `>=${N}.${U}.0${z ? "-0" : ""}` : W ? P = `>=${P}` : P = `>=${P}${z ? "-0" : ""}`, C(B) ? Y = "" : C(R) ? Y = `<${+B + 1}.0.0-0` : C(Q) ? Y = `<${B}.${+R + 1}.0-0` : X ? Y = `<=${B}.${R}.${Q}-${X}` : z ? Y = `<${B}.${R}.${+Q + 1}-0` : Y = `<=${Y}`, `${P} ${Y}`.trim()), J = (z, O, P) => {
|
|
43072
43072
|
for (let N = 0; N < z.length; N++)
|
|
43073
43073
|
if (!z[N].test(O))
|
|
43074
43074
|
return !1;
|
|
@@ -43809,7 +43809,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
43809
43809
|
), V = t(
|
|
43810
43810
|
/*! ./classes/range */
|
|
43811
43811
|
"./node_modules/semver/classes/range.js"
|
|
43812
|
-
),
|
|
43812
|
+
), J = t(
|
|
43813
43813
|
/*! ./functions/satisfies */
|
|
43814
43814
|
"./node_modules/semver/functions/satisfies.js"
|
|
43815
43815
|
), z = t(
|
|
@@ -43872,7 +43872,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
43872
43872
|
coerce: L,
|
|
43873
43873
|
Comparator: $,
|
|
43874
43874
|
Range: V,
|
|
43875
|
-
satisfies:
|
|
43875
|
+
satisfies: J,
|
|
43876
43876
|
toComparators: z,
|
|
43877
43877
|
maxSatisfying: O,
|
|
43878
43878
|
minSatisfying: P,
|
|
@@ -44455,7 +44455,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
44455
44455
|
/* harmony export */
|
|
44456
44456
|
__classPrivateFieldSet: () => (
|
|
44457
44457
|
/* binding */
|
|
44458
|
-
|
|
44458
|
+
J
|
|
44459
44459
|
),
|
|
44460
44460
|
/* harmony export */
|
|
44461
44461
|
__createBinding: () => (
|
|
@@ -44602,7 +44602,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
44602
44602
|
function a(M, W, K, Y) {
|
|
44603
44603
|
var B = arguments.length, R = B < 3 ? W : Y === null ? Y = Object.getOwnPropertyDescriptor(W, K) : Y, Q;
|
|
44604
44604
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") R = Reflect.decorate(M, W, K, Y);
|
|
44605
|
-
else for (var
|
|
44605
|
+
else for (var X = M.length - 1; X >= 0; X--) (Q = M[X]) && (R = (B < 3 ? Q(R) : B > 3 ? Q(W, K, R) : Q(W, K)) || R);
|
|
44606
44606
|
return B > 3 && R && Object.defineProperty(W, K, R), R;
|
|
44607
44607
|
}
|
|
44608
44608
|
function d(M, W) {
|
|
@@ -44615,7 +44615,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
44615
44615
|
if (q !== void 0 && typeof q != "function") throw new TypeError("Function expected");
|
|
44616
44616
|
return q;
|
|
44617
44617
|
}
|
|
44618
|
-
for (var
|
|
44618
|
+
for (var X = Y.kind, ue = X === "getter" ? "get" : X === "setter" ? "set" : "value", te = !W && M ? Y.static ? M : M.prototype : null, _e = W || (te ? Object.getOwnPropertyDescriptor(te, Y.name) : {}), ve, Ee = !1, ae = K.length - 1; ae >= 0; ae--) {
|
|
44619
44619
|
var de = {};
|
|
44620
44620
|
for (var G in Y) de[G] = G === "access" ? {} : Y[G];
|
|
44621
44621
|
for (var G in Y.access) de.access[G] = Y.access[G];
|
|
@@ -44623,12 +44623,12 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
44623
44623
|
if (Ee) throw new TypeError("Cannot add initializers after decoration has completed");
|
|
44624
44624
|
R.push(Q(q || null));
|
|
44625
44625
|
};
|
|
44626
|
-
var H = (0, K[ae])(
|
|
44627
|
-
if (
|
|
44626
|
+
var H = (0, K[ae])(X === "accessor" ? { get: _e.get, set: _e.set } : _e[ue], de);
|
|
44627
|
+
if (X === "accessor") {
|
|
44628
44628
|
if (H === void 0) continue;
|
|
44629
44629
|
if (H === null || typeof H != "object") throw new TypeError("Object expected");
|
|
44630
44630
|
(ve = Q(H.get)) && (_e.get = ve), (ve = Q(H.set)) && (_e.set = ve), (ve = Q(H.init)) && B.unshift(ve);
|
|
44631
|
-
} else (ve = Q(H)) && (
|
|
44631
|
+
} else (ve = Q(H)) && (X === "field" ? B.unshift(ve) : _e[ue] = ve);
|
|
44632
44632
|
}
|
|
44633
44633
|
te && Object.defineProperty(te, Y.name, _e), Ee = !0;
|
|
44634
44634
|
}
|
|
@@ -44653,7 +44653,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
44653
44653
|
});
|
|
44654
44654
|
}
|
|
44655
44655
|
return new (K || (K = Promise))(function(R, Q) {
|
|
44656
|
-
function
|
|
44656
|
+
function X(_e) {
|
|
44657
44657
|
try {
|
|
44658
44658
|
te(Y.next(_e));
|
|
44659
44659
|
} catch (ve) {
|
|
@@ -44668,7 +44668,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
44668
44668
|
}
|
|
44669
44669
|
}
|
|
44670
44670
|
function te(_e) {
|
|
44671
|
-
_e.done ? R(_e.value) : B(_e.value).then(
|
|
44671
|
+
_e.done ? R(_e.value) : B(_e.value).then(X, ue);
|
|
44672
44672
|
}
|
|
44673
44673
|
te((Y = Y.apply(M, W || [])).next());
|
|
44674
44674
|
});
|
|
@@ -44678,10 +44678,10 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
44678
44678
|
if (R[0] & 1) throw R[1];
|
|
44679
44679
|
return R[1];
|
|
44680
44680
|
}, trys: [], ops: [] }, Y, B, R, Q;
|
|
44681
|
-
return Q = { next:
|
|
44681
|
+
return Q = { next: X(0), throw: X(1), return: X(2) }, typeof Symbol == "function" && (Q[Symbol.iterator] = function() {
|
|
44682
44682
|
return this;
|
|
44683
44683
|
}), Q;
|
|
44684
|
-
function
|
|
44684
|
+
function X(te) {
|
|
44685
44685
|
return function(_e) {
|
|
44686
44686
|
return ue([te, _e]);
|
|
44687
44687
|
};
|
|
@@ -44761,8 +44761,8 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
44761
44761
|
var Y = K.call(M), B, R = [], Q;
|
|
44762
44762
|
try {
|
|
44763
44763
|
for (; (W === void 0 || W-- > 0) && !(B = Y.next()).done; ) R.push(B.value);
|
|
44764
|
-
} catch (
|
|
44765
|
-
Q = { error:
|
|
44764
|
+
} catch (X) {
|
|
44765
|
+
Q = { error: X };
|
|
44766
44766
|
} finally {
|
|
44767
44767
|
try {
|
|
44768
44768
|
B && !B.done && (K = Y.return) && K.call(Y);
|
|
@@ -44780,7 +44780,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
44780
44780
|
function y() {
|
|
44781
44781
|
for (var M = 0, W = 0, K = arguments.length; W < K; W++) M += arguments[W].length;
|
|
44782
44782
|
for (var Y = Array(M), B = 0, W = 0; W < K; W++)
|
|
44783
|
-
for (var R = arguments[W], Q = 0,
|
|
44783
|
+
for (var R = arguments[W], Q = 0, X = R.length; Q < X; Q++, B++)
|
|
44784
44784
|
Y[B] = R[Q];
|
|
44785
44785
|
return Y;
|
|
44786
44786
|
}
|
|
@@ -44795,7 +44795,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
44795
44795
|
function x(M, W, K) {
|
|
44796
44796
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
44797
44797
|
var Y = K.apply(M, W || []), B, R = [];
|
|
44798
|
-
return B = {},
|
|
44798
|
+
return B = {}, X("next"), X("throw"), X("return", Q), B[Symbol.asyncIterator] = function() {
|
|
44799
44799
|
return this;
|
|
44800
44800
|
}, B;
|
|
44801
44801
|
function Q(ae) {
|
|
@@ -44803,7 +44803,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
44803
44803
|
return Promise.resolve(de).then(ae, ve);
|
|
44804
44804
|
};
|
|
44805
44805
|
}
|
|
44806
|
-
function
|
|
44806
|
+
function X(ae, de) {
|
|
44807
44807
|
Y[ae] && (B[ae] = function(G) {
|
|
44808
44808
|
return new Promise(function(H, q) {
|
|
44809
44809
|
R.push([ae, G, H, q]) > 1 || ue(ae, G);
|
|
@@ -44851,14 +44851,14 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
44851
44851
|
}, K);
|
|
44852
44852
|
function Y(R) {
|
|
44853
44853
|
K[R] = M[R] && function(Q) {
|
|
44854
|
-
return new Promise(function(
|
|
44855
|
-
Q = M[R](Q), B(
|
|
44854
|
+
return new Promise(function(X, ue) {
|
|
44855
|
+
Q = M[R](Q), B(X, ue, Q.done, Q.value);
|
|
44856
44856
|
});
|
|
44857
44857
|
};
|
|
44858
44858
|
}
|
|
44859
|
-
function B(R, Q,
|
|
44859
|
+
function B(R, Q, X, ue) {
|
|
44860
44860
|
Promise.resolve(ue).then(function(te) {
|
|
44861
|
-
R({ value: te, done:
|
|
44861
|
+
R({ value: te, done: X });
|
|
44862
44862
|
}, Q);
|
|
44863
44863
|
}
|
|
44864
44864
|
}
|
|
@@ -44884,7 +44884,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
44884
44884
|
if (typeof W == "function" ? M !== W || !Y : !W.has(M)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
44885
44885
|
return K === "m" ? Y : K === "a" ? Y.call(M) : Y ? Y.value : W.get(M);
|
|
44886
44886
|
}
|
|
44887
|
-
function
|
|
44887
|
+
function J(M, W, K, Y, B) {
|
|
44888
44888
|
if (Y === "m") throw new TypeError("Private method is not writable");
|
|
44889
44889
|
if (Y === "a" && !B) throw new TypeError("Private accessor was defined without a setter");
|
|
44890
44890
|
if (typeof W == "function" ? M !== W || !B : !W.has(M)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
@@ -44965,7 +44965,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
44965
44965
|
__importStar: L,
|
|
44966
44966
|
__importDefault: $,
|
|
44967
44967
|
__classPrivateFieldGet: V,
|
|
44968
|
-
__classPrivateFieldSet:
|
|
44968
|
+
__classPrivateFieldSet: J,
|
|
44969
44969
|
__classPrivateFieldIn: z,
|
|
44970
44970
|
__addDisposableResource: O,
|
|
44971
44971
|
__disposeResources: N
|
|
@@ -45707,7 +45707,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
45707
45707
|
return this._refinement((D, F) => E(D) ? !0 : (F.addIssue(typeof A == "function" ? A(D, F) : A), !1));
|
|
45708
45708
|
}
|
|
45709
45709
|
_refinement(E) {
|
|
45710
|
-
return new
|
|
45710
|
+
return new Xe({
|
|
45711
45711
|
schema: this,
|
|
45712
45712
|
typeName: Se.ZodEffects,
|
|
45713
45713
|
effect: { type: "refinement", refinement: E }
|
|
@@ -45745,7 +45745,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
45745
45745
|
return Ie.create(this, E, this._def);
|
|
45746
45746
|
}
|
|
45747
45747
|
transform(E) {
|
|
45748
|
-
return new
|
|
45748
|
+
return new Xe({
|
|
45749
45749
|
...p(this._def),
|
|
45750
45750
|
schema: this,
|
|
45751
45751
|
typeName: Se.ZodEffects,
|
|
@@ -45800,7 +45800,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
45800
45800
|
e.ZodType = f, e.Schema = f, e.ZodSchema = f;
|
|
45801
45801
|
const v = /^c[^\s-]{8,}$/i, b = /^[0-9a-z]+$/, g = /^[0-9A-HJKMNP-TV-Z]{26}$/i, _ = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i, w = /^[a-z0-9_-]{21}$/i, y = /^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/, C = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/, S = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, x = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
|
|
45802
45802
|
let k;
|
|
45803
|
-
const I = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, j = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/, T = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/, L = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, $ = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/, V = /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,
|
|
45803
|
+
const I = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, j = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/, T = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/, L = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, $ = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/, V = /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/, J = "((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))", z = new RegExp(`^${J}$`);
|
|
45804
45804
|
function O(Z) {
|
|
45805
45805
|
let E = "[0-5]\\d";
|
|
45806
45806
|
Z.precision ? E = `${E}\\.\\d{${Z.precision}}` : Z.precision == null && (E = `${E}(\\.\\d+)?`);
|
|
@@ -45811,7 +45811,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
45811
45811
|
return new RegExp(`^${O(Z)}$`);
|
|
45812
45812
|
}
|
|
45813
45813
|
function N(Z) {
|
|
45814
|
-
let E = `${
|
|
45814
|
+
let E = `${J}T${O(Z)}`;
|
|
45815
45815
|
const A = [];
|
|
45816
45816
|
return A.push(Z.local ? "Z?" : "Z"), Z.offset && A.push("([+-]\\d{2}:?\\d{2})"), E = `${E}(${A.join("|")})`, new RegExp(`^${E}$`);
|
|
45817
45817
|
}
|
|
@@ -46541,7 +46541,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
46541
46541
|
coerce: (Z == null ? void 0 : Z.coerce) || !1,
|
|
46542
46542
|
...p(Z)
|
|
46543
46543
|
});
|
|
46544
|
-
class
|
|
46544
|
+
class X extends f {
|
|
46545
46545
|
_parse(E) {
|
|
46546
46546
|
if (this._def.coerce && (E.data = new Date(E.data)), this._getType(E) !== l.ZodParsedType.date) {
|
|
46547
46547
|
const F = this._getOrReturnCtx(E);
|
|
@@ -46581,7 +46581,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
46581
46581
|
};
|
|
46582
46582
|
}
|
|
46583
46583
|
_addCheck(E) {
|
|
46584
|
-
return new
|
|
46584
|
+
return new X({
|
|
46585
46585
|
...this._def,
|
|
46586
46586
|
checks: [...this._def.checks, E]
|
|
46587
46587
|
});
|
|
@@ -46613,7 +46613,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
46613
46613
|
return E != null ? new Date(E) : null;
|
|
46614
46614
|
}
|
|
46615
46615
|
}
|
|
46616
|
-
e.ZodDate =
|
|
46616
|
+
e.ZodDate = X, X.create = (Z) => new X({
|
|
46617
46617
|
checks: [],
|
|
46618
46618
|
coerce: (Z == null ? void 0 : Z.coerce) || !1,
|
|
46619
46619
|
typeName: Se.ZodDate,
|
|
@@ -47078,7 +47078,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
47078
47078
|
});
|
|
47079
47079
|
}
|
|
47080
47080
|
keyof() {
|
|
47081
|
-
return
|
|
47081
|
+
return Je(l.util.objectKeys(this.shape));
|
|
47082
47082
|
}
|
|
47083
47083
|
}
|
|
47084
47084
|
e.ZodObject = q, q.create = (Z, E) => new q({
|
|
@@ -47173,7 +47173,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
47173
47173
|
typeName: Se.ZodUnion,
|
|
47174
47174
|
...p(E)
|
|
47175
47175
|
});
|
|
47176
|
-
const le = (Z) => Z instanceof We ? le(Z.schema) : Z instanceof
|
|
47176
|
+
const le = (Z) => Z instanceof We ? le(Z.schema) : Z instanceof Xe ? le(Z.innerType()) : Z instanceof Ae ? [Z.value] : Z instanceof et ? Z.options : Z instanceof dt ? l.util.objectValues(Z.enum) : Z instanceof at ? le(Z._def.innerType) : Z instanceof te ? [void 0] : Z instanceof _e ? [null] : Z instanceof tt ? [void 0, ...le(Z.unwrap())] : Z instanceof it ? [null, ...le(Z.unwrap())] : Z instanceof pe || Z instanceof ye ? le(Z.unwrap()) : Z instanceof je ? le(Z._def.innerType) : [];
|
|
47177
47177
|
class he extends f {
|
|
47178
47178
|
_parse(E) {
|
|
47179
47179
|
const { ctx: A } = this._processInputParams(E);
|
|
@@ -47632,7 +47632,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
47632
47632
|
typeName: Se.ZodLiteral,
|
|
47633
47633
|
...p(E)
|
|
47634
47634
|
});
|
|
47635
|
-
function
|
|
47635
|
+
function Je(Z, E) {
|
|
47636
47636
|
return new et({
|
|
47637
47637
|
values: Z,
|
|
47638
47638
|
typeName: Se.ZodEnum,
|
|
@@ -47696,7 +47696,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
47696
47696
|
});
|
|
47697
47697
|
}
|
|
47698
47698
|
}
|
|
47699
|
-
e.ZodEnum = et, u = /* @__PURE__ */ new WeakMap(), et.create =
|
|
47699
|
+
e.ZodEnum = et, u = /* @__PURE__ */ new WeakMap(), et.create = Je;
|
|
47700
47700
|
class dt extends f {
|
|
47701
47701
|
constructor() {
|
|
47702
47702
|
super(...arguments), o.set(this, void 0);
|
|
@@ -47754,7 +47754,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
47754
47754
|
typeName: Se.ZodPromise,
|
|
47755
47755
|
...p(E)
|
|
47756
47756
|
});
|
|
47757
|
-
class
|
|
47757
|
+
class Xe extends f {
|
|
47758
47758
|
innerType() {
|
|
47759
47759
|
return this._def.schema;
|
|
47760
47760
|
}
|
|
@@ -47834,12 +47834,12 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
47834
47834
|
l.util.assertNever(F);
|
|
47835
47835
|
}
|
|
47836
47836
|
}
|
|
47837
|
-
e.ZodEffects =
|
|
47837
|
+
e.ZodEffects = Xe, e.ZodTransformer = Xe, Xe.create = (Z, E, A) => new Xe({
|
|
47838
47838
|
schema: Z,
|
|
47839
47839
|
typeName: Se.ZodEffects,
|
|
47840
47840
|
effect: E,
|
|
47841
47841
|
...p(A)
|
|
47842
|
-
}),
|
|
47842
|
+
}), Xe.createWithPreprocess = (Z, E, A) => new Xe({
|
|
47843
47843
|
schema: E,
|
|
47844
47844
|
effect: { type: "preprocess", transform: Z },
|
|
47845
47845
|
typeName: Se.ZodEffects,
|
|
@@ -48061,7 +48061,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
48061
48061
|
e.bigint = Qe;
|
|
48062
48062
|
const re = Q.create;
|
|
48063
48063
|
e.boolean = re;
|
|
48064
|
-
const _t =
|
|
48064
|
+
const _t = X.create;
|
|
48065
48065
|
e.date = _t;
|
|
48066
48066
|
const Qt = ue.create;
|
|
48067
48067
|
e.symbol = Qt;
|
|
@@ -48109,13 +48109,13 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
48109
48109
|
e.nativeEnum = yr;
|
|
48110
48110
|
const wr = pt.create;
|
|
48111
48111
|
e.promise = wr;
|
|
48112
|
-
const Wt =
|
|
48112
|
+
const Wt = Xe.create;
|
|
48113
48113
|
e.effect = Wt, e.transformer = Wt;
|
|
48114
48114
|
const Sr = tt.create;
|
|
48115
48115
|
e.optional = Sr;
|
|
48116
|
-
const
|
|
48117
|
-
e.nullable =
|
|
48118
|
-
const qr =
|
|
48116
|
+
const Xr = it.create;
|
|
48117
|
+
e.nullable = Xr;
|
|
48118
|
+
const qr = Xe.createWithPreprocess;
|
|
48119
48119
|
e.preprocess = qr;
|
|
48120
48120
|
const Qr = ge.create;
|
|
48121
48121
|
e.pipeline = Qr;
|
|
@@ -48132,7 +48132,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
48132
48132
|
coerce: !0
|
|
48133
48133
|
}),
|
|
48134
48134
|
bigint: (Z) => R.create({ ...Z, coerce: !0 }),
|
|
48135
|
-
date: (Z) =>
|
|
48135
|
+
date: (Z) => X.create({ ...Z, coerce: !0 })
|
|
48136
48136
|
}, e.NEVER = n.INVALID;
|
|
48137
48137
|
}
|
|
48138
48138
|
),
|
|
@@ -54427,9 +54427,9 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
54427
54427
|
<h3>Containers</h3>
|
|
54428
54428
|
</div>
|
|
54429
54429
|
${(0, c.html)`${(j = (I = this.revision) == null ? void 0 : I.containers) == null ? void 0 : j.map((V) => {
|
|
54430
|
-
var
|
|
54430
|
+
var J;
|
|
54431
54431
|
return (0, c.html)`${this.renderContainerDetails(V)}
|
|
54432
|
-
${(0, o.when)((
|
|
54432
|
+
${(0, o.when)((J = V.env) == null ? void 0 : J.length, () => {
|
|
54433
54433
|
var z;
|
|
54434
54434
|
return (0, c.html)`<div class="container-section">
|
|
54435
54435
|
<h3>Environment variables (${(z = V.env) == null ? void 0 : z.length})</h3>
|
|
@@ -57959,7 +57959,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
57959
57959
|
), V = t(
|
|
57960
57960
|
/*! @xterm/addon-unicode11 */
|
|
57961
57961
|
"./node_modules/@xterm/addon-unicode11/lib/addon-unicode11.js"
|
|
57962
|
-
),
|
|
57962
|
+
), J = t(
|
|
57963
57963
|
/*! @xterm/addon-web-links */
|
|
57964
57964
|
"./node_modules/@xterm/addon-web-links/lib/addon-web-links.js"
|
|
57965
57965
|
), z = t(
|
|
@@ -58020,7 +58020,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
58020
58020
|
(function(ae) {
|
|
58021
58021
|
ae.OpenLink = "Open", ae.CopyToClipboard = "Copy to clipboard", ae.Cancel = "Cancel";
|
|
58022
58022
|
})(R || (R = {}));
|
|
58023
|
-
const Q = (...ae) => `--vscode-${ae.join("-")}`,
|
|
58023
|
+
const Q = (...ae) => `--vscode-${ae.join("-")}`, X = (ae) => Q("terminal", ae), ue = (ae) => `ansi${ae.charAt(0).toUpperCase() + ae.slice(1)}`, te = [
|
|
58024
58024
|
"terminal:",
|
|
58025
58025
|
"theme:",
|
|
58026
58026
|
N.ClientMessages.platformApiRequest,
|
|
@@ -58075,7 +58075,7 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
58075
58075
|
convertEol: !0,
|
|
58076
58076
|
allowProposedApi: !0,
|
|
58077
58077
|
drawBoldTextInBrightColors: !1
|
|
58078
|
-
}), this.initialContent && ((ae = this.terminal) == null || ae.write(this.initialContent)), this.fitAddon = new P.FitAddon(), this.fitAddon.activate(this.terminal), this.serializer = new $.SerializeAddon(), this.terminal.loadAddon(this.serializer), this.terminal.loadAddon(new V.Unicode11Addon()), this.terminal.loadAddon(new
|
|
58078
|
+
}), this.initialContent && ((ae = this.terminal) == null || ae.write(this.initialContent)), this.fitAddon = new P.FitAddon(), this.fitAddon.activate(this.terminal), this.serializer = new $.SerializeAddon(), this.terminal.loadAddon(this.serializer), this.terminal.loadAddon(new V.Unicode11Addon()), this.terminal.loadAddon(new J.WebLinksAddon(c(this, o, "m", C).bind(this))), this.terminal.attachCustomKeyEventHandler((xe) => {
|
|
58079
58079
|
var Ne;
|
|
58080
58080
|
if (!Y.default.isOn(K.FeatureName.CopySelectionToClipboard, this.featureState$))
|
|
58081
58081
|
return !0;
|
|
@@ -58117,8 +58117,8 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
58117
58117
|
return;
|
|
58118
58118
|
const ce = ((Ne = xe.output.data) == null ? void 0 : Ne.data) || {};
|
|
58119
58119
|
if (ce.createExtensionCellOutput || ce.createCellExecution) {
|
|
58120
|
-
const De = ce.createCellExecution || ce.createExtensionCellOutput || {}, { exitCode: Pe, id: We, htmlUrl: Ae, isSlackReady:
|
|
58121
|
-
return this.platformId = We, this.shareUrl = Ae || "", this.exitCode = Pe, this.isSlackReady = !!
|
|
58120
|
+
const De = ce.createCellExecution || ce.createExtensionCellOutput || {}, { exitCode: Pe, id: We, htmlUrl: Ae, isSlackReady: Je } = De;
|
|
58121
|
+
return this.platformId = We, this.shareUrl = Ae || "", this.exitCode = Pe, this.isSlackReady = !!Je, this.isShareReady = !0, (0, M.postClientMessage)(Ie, N.ClientMessages.tangleEvent, {
|
|
58122
58122
|
webviewId: N.WebViews.RunmeCloud,
|
|
58123
58123
|
data: {
|
|
58124
58124
|
cellId: We
|
|
@@ -58285,14 +58285,14 @@ Please use the static 'html' tag function. See https://lit.dev/docs/templates/ex
|
|
|
58285
58285
|
var ae;
|
|
58286
58286
|
return (ae = this.shadowRoot) == null ? void 0 : ae.querySelector("#terminal");
|
|
58287
58287
|
}, n = function() {
|
|
58288
|
-
const ae = c(this, o, "m", l).call(this,
|
|
58288
|
+
const ae = c(this, o, "m", l).call(this, X("foreground")), de = {
|
|
58289
58289
|
foreground: ae,
|
|
58290
58290
|
cursor: c(this, o, "m", l).call(this, Q("terminalCursor", "foreground")) || ae,
|
|
58291
58291
|
cursorAccent: c(this, o, "m", l).call(this, Q("terminalCursor", "background")),
|
|
58292
|
-
selectionForeground: c(this, o, "m", l).call(this,
|
|
58293
|
-
selectionBackground: c(this, o, "m", l).call(this,
|
|
58294
|
-
selectionInactiveBackground: c(this, o, "m", l).call(this,
|
|
58295
|
-
...Object.fromEntries(_e.map((G) => [G, c(this, o, "m", l).call(this,
|
|
58292
|
+
selectionForeground: c(this, o, "m", l).call(this, X("selectionForeground")),
|
|
58293
|
+
selectionBackground: c(this, o, "m", l).call(this, X("selectionBackground")),
|
|
58294
|
+
selectionInactiveBackground: c(this, o, "m", l).call(this, X("inactiveSelectionBackground")),
|
|
58295
|
+
...Object.fromEntries(_e.map((G) => [G, c(this, o, "m", l).call(this, X(ue(G)))]))
|
|
58296
58296
|
};
|
|
58297
58297
|
this.terminal.options.theme = de;
|
|
58298
58298
|
}, l = function(ae) {
|
|
@@ -58492,7 +58492,7 @@ Open Dashboard to configure it`);
|
|
|
58492
58492
|
}
|
|
58493
58493
|
|
|
58494
58494
|
.xterm .xterm-viewport {
|
|
58495
|
-
background-color: var(${(0, I.unsafeCSS)(
|
|
58495
|
+
background-color: var(${(0, I.unsafeCSS)(X("background"))}) !important;
|
|
58496
58496
|
border: solid 1px var(--vscode-terminal-border);
|
|
58497
58497
|
/* On OS X this is required in order for the scroll bar to appear fully opaque */
|
|
58498
58498
|
overflow-y: scroll;
|
|
@@ -61564,7 +61564,7 @@ var zp = function(r) {
|
|
|
61564
61564
|
now: function() {
|
|
61565
61565
|
return Date.now();
|
|
61566
61566
|
}
|
|
61567
|
-
},
|
|
61567
|
+
}, Jp = function(r) {
|
|
61568
61568
|
Yt(e, r);
|
|
61569
61569
|
function e(t, s) {
|
|
61570
61570
|
return r.call(this) || this;
|
|
@@ -61582,7 +61582,7 @@ var zp = function(r) {
|
|
|
61582
61582
|
return clearInterval(r);
|
|
61583
61583
|
},
|
|
61584
61584
|
delegate: void 0
|
|
61585
|
-
},
|
|
61585
|
+
}, Xp = function(r) {
|
|
61586
61586
|
Yt(e, r);
|
|
61587
61587
|
function e(t, s) {
|
|
61588
61588
|
var c = r.call(this, t, s) || this;
|
|
@@ -61624,7 +61624,7 @@ var zp = function(r) {
|
|
|
61624
61624
|
this.work = this.state = this.scheduler = null, this.pending = !1, Qs(u, this), s != null && (this.id = this.recycleAsyncId(c, s, null)), this.delay = null, r.prototype.unsubscribe.call(this);
|
|
61625
61625
|
}
|
|
61626
61626
|
}, e;
|
|
61627
|
-
}(
|
|
61627
|
+
}(Jp), va = function() {
|
|
61628
61628
|
function r(e, t) {
|
|
61629
61629
|
t === void 0 && (t = r.now), this.schedulerActionCtor = e, this.now = t;
|
|
61630
61630
|
}
|
|
@@ -61656,10 +61656,10 @@ var zp = function(r) {
|
|
|
61656
61656
|
throw c;
|
|
61657
61657
|
}
|
|
61658
61658
|
}, e;
|
|
61659
|
-
}(va), mn = new qp(
|
|
61659
|
+
}(va), mn = new qp(Xp), Qp = mn, Jc = new ot(function(r) {
|
|
61660
61660
|
return r.complete();
|
|
61661
61661
|
});
|
|
61662
|
-
function
|
|
61662
|
+
function Xc(r) {
|
|
61663
61663
|
return r && Ve(r.schedule);
|
|
61664
61664
|
}
|
|
61665
61665
|
function Ki(r) {
|
|
@@ -61669,7 +61669,7 @@ function em(r) {
|
|
|
61669
61669
|
return Ve(Ki(r)) ? r.pop() : void 0;
|
|
61670
61670
|
}
|
|
61671
61671
|
function qc(r) {
|
|
61672
|
-
return
|
|
61672
|
+
return Xc(Ki(r)) ? r.pop() : void 0;
|
|
61673
61673
|
}
|
|
61674
61674
|
function tm(r, e) {
|
|
61675
61675
|
return typeof Ki(r) == "number" ? r.pop() : e;
|
|
@@ -62083,7 +62083,7 @@ function Tm(r) {
|
|
|
62083
62083
|
function hs(r, e, t) {
|
|
62084
62084
|
r === void 0 && (r = 0), t === void 0 && (t = Qp);
|
|
62085
62085
|
var s = -1;
|
|
62086
|
-
return e != null && (
|
|
62086
|
+
return e != null && (Xc(e) ? t = e : s = e), new ot(function(c) {
|
|
62087
62087
|
var u = vm(r) ? +r - t.now() : r;
|
|
62088
62088
|
u < 0 && (u = 0);
|
|
62089
62089
|
var o = 0;
|
|
@@ -62099,7 +62099,7 @@ function Am() {
|
|
|
62099
62099
|
for (var r = [], e = 0; e < arguments.length; e++)
|
|
62100
62100
|
r[e] = arguments[e];
|
|
62101
62101
|
var t = qc(r), s = tm(r, 1 / 0), c = r;
|
|
62102
|
-
return c.length ? c.length === 1 ? ft(c[0]) : wm(s)(ud(c, t)) :
|
|
62102
|
+
return c.length ? c.length === 1 ? ft(c[0]) : wm(s)(ud(c, t)) : Jc;
|
|
62103
62103
|
}
|
|
62104
62104
|
var Rm = Array.isArray;
|
|
62105
62105
|
function Nm(r) {
|
|
@@ -62168,7 +62168,7 @@ function Mm(r, e, t, s, c) {
|
|
|
62168
62168
|
}
|
|
62169
62169
|
function ga(r) {
|
|
62170
62170
|
return r <= 0 ? function() {
|
|
62171
|
-
return
|
|
62171
|
+
return Jc;
|
|
62172
62172
|
} : bt(function(e, t) {
|
|
62173
62173
|
var s = 0;
|
|
62174
62174
|
e.subscribe(nt(t, function(c) {
|
|
@@ -62396,14 +62396,14 @@ function Km(r, e = pd) {
|
|
|
62396
62396
|
function Ym() {
|
|
62397
62397
|
return typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope;
|
|
62398
62398
|
}
|
|
62399
|
-
function
|
|
62399
|
+
function Jm(r, e) {
|
|
62400
62400
|
const t = Gm(), s = Date.now();
|
|
62401
62401
|
return Km(s, pd) + zm(Wm, t);
|
|
62402
62402
|
}
|
|
62403
62403
|
const mt = [];
|
|
62404
62404
|
for (let r = 0; r < 256; ++r)
|
|
62405
62405
|
mt.push((r + 256).toString(16).slice(1));
|
|
62406
|
-
function
|
|
62406
|
+
function Xm(r, e = 0) {
|
|
62407
62407
|
return (mt[r[e + 0]] + mt[r[e + 1]] + mt[r[e + 2]] + mt[r[e + 3]] + "-" + mt[r[e + 4]] + mt[r[e + 5]] + "-" + mt[r[e + 6]] + mt[r[e + 7]] + "-" + mt[r[e + 8]] + mt[r[e + 9]] + "-" + mt[r[e + 10]] + mt[r[e + 11]] + mt[r[e + 12]] + mt[r[e + 13]] + mt[r[e + 14]] + mt[r[e + 15]]).toLowerCase();
|
|
62408
62408
|
}
|
|
62409
62409
|
let Fn;
|
|
@@ -62425,7 +62425,7 @@ function tv(r, e, t) {
|
|
|
62425
62425
|
const c = r.random ?? ((s = r.rng) == null ? void 0 : s.call(r)) ?? Qm();
|
|
62426
62426
|
if (c.length < 16)
|
|
62427
62427
|
throw new Error("Random bytes length must be >= 16");
|
|
62428
|
-
return c[6] = c[6] & 15 | 64, c[8] = c[8] & 63 | 128,
|
|
62428
|
+
return c[6] = c[6] & 15 | 64, c[8] = c[8] & 63 | 128, Xm(c);
|
|
62429
62429
|
}
|
|
62430
62430
|
const rv = 5e3, sv = 1e3, Vs = 4e3, xa = 1e3;
|
|
62431
62431
|
var md = /* @__PURE__ */ ((r) => (r.CONTINUOUS = "CONTINUOUS", r.INITIAL = "INITIAL", r))(md || {});
|
|
@@ -62763,7 +62763,7 @@ function nv() {
|
|
|
62763
62763
|
return tv().replace(/-/g, "");
|
|
62764
62764
|
}
|
|
62765
62765
|
function bd() {
|
|
62766
|
-
return `run_${
|
|
62766
|
+
return `run_${Jm()}`;
|
|
62767
62767
|
}
|
|
62768
62768
|
function iv({
|
|
62769
62769
|
blockID: r,
|
|
@@ -63064,10 +63064,10 @@ function ka(r) {
|
|
|
63064
63064
|
const d = Number(r.slice(o, a));
|
|
63065
63065
|
c *= t, s = s * t + d, s >= Ks && (c = c + (s / Ks | 0), s = s % Ks);
|
|
63066
63066
|
}
|
|
63067
|
-
return u(-24, -18), u(-18, -12), u(-12, -6), u(-6), e ? _d(s, c) :
|
|
63067
|
+
return u(-24, -18), u(-18, -12), u(-12, -6), u(-6), e ? _d(s, c) : Ji(s, c);
|
|
63068
63068
|
}
|
|
63069
63069
|
function cv(r, e) {
|
|
63070
|
-
let t =
|
|
63070
|
+
let t = Ji(r, e);
|
|
63071
63071
|
const s = t.hi & 2147483648;
|
|
63072
63072
|
s && (t = _d(t.lo, t.hi));
|
|
63073
63073
|
const c = gd(t.lo, t.hi);
|
|
@@ -63084,11 +63084,11 @@ function gd(r, e) {
|
|
|
63084
63084
|
function dv(r, e) {
|
|
63085
63085
|
return { lo: r >>> 0, hi: e >>> 0 };
|
|
63086
63086
|
}
|
|
63087
|
-
function
|
|
63087
|
+
function Ji(r, e) {
|
|
63088
63088
|
return { lo: r | 0, hi: e | 0 };
|
|
63089
63089
|
}
|
|
63090
63090
|
function _d(r, e) {
|
|
63091
|
-
return e = ~e, r ? r = ~r + 1 : e += 1,
|
|
63091
|
+
return e = ~e, r ? r = ~r + 1 : e += 1, Ji(r, e);
|
|
63092
63092
|
}
|
|
63093
63093
|
const Ia = (r) => {
|
|
63094
63094
|
const e = String(r);
|
|
@@ -63292,10 +63292,10 @@ function mv(r, e) {
|
|
|
63292
63292
|
break;
|
|
63293
63293
|
}
|
|
63294
63294
|
}
|
|
63295
|
-
function
|
|
63295
|
+
function Xi(r) {
|
|
63296
63296
|
for (const e of r.field)
|
|
63297
63297
|
js(e, "jsonName") || (e.jsonName = Cs(e.name));
|
|
63298
|
-
r.nestedType.forEach(
|
|
63298
|
+
r.nestedType.forEach(Xi);
|
|
63299
63299
|
}
|
|
63300
63300
|
function vv(r, e) {
|
|
63301
63301
|
const t = r.values.find((s) => s.name === e);
|
|
@@ -63970,7 +63970,7 @@ function Ot(r, e) {
|
|
|
63970
63970
|
}
|
|
63971
63971
|
function Vv(r) {
|
|
63972
63972
|
const e = Wv(r);
|
|
63973
|
-
return e.messageType.forEach(
|
|
63973
|
+
return e.messageType.forEach(Xi), xd(e, () => {
|
|
63974
63974
|
}).getFile(e.name);
|
|
63975
63975
|
}
|
|
63976
63976
|
function Wv(r) {
|
|
@@ -64263,7 +64263,7 @@ class Dd {
|
|
|
64263
64263
|
* Write a `float` value, 32-bit floating point number.
|
|
64264
64264
|
*/
|
|
64265
64265
|
float(e) {
|
|
64266
|
-
|
|
64266
|
+
Jv(e);
|
|
64267
64267
|
let t = new Uint8Array(4);
|
|
64268
64268
|
return new DataView(t.buffer).setFloat32(0, e, !0), this.raw(t);
|
|
64269
64269
|
}
|
|
@@ -64496,7 +64496,7 @@ function $a(r) {
|
|
|
64496
64496
|
if (!Number.isInteger(r) || r > Nd || r < 0)
|
|
64497
64497
|
throw new Error("invalid uint32: " + r);
|
|
64498
64498
|
}
|
|
64499
|
-
function
|
|
64499
|
+
function Jv(r) {
|
|
64500
64500
|
if (typeof r == "string") {
|
|
64501
64501
|
const e = r;
|
|
64502
64502
|
if (r = Number(r), Number.isNaN(r) && e !== "NaN")
|
|
@@ -64528,7 +64528,7 @@ function Ba(r, e, t) {
|
|
|
64528
64528
|
if (s !== !0)
|
|
64529
64529
|
return new St(r, `list item #${e + 1}: ${tn(r, t, s)}`);
|
|
64530
64530
|
}
|
|
64531
|
-
function
|
|
64531
|
+
function Xv(r, e, t) {
|
|
64532
64532
|
const s = Md(e, r.mapKey);
|
|
64533
64533
|
if (s !== !0)
|
|
64534
64534
|
return new St(r, `invalid map key: ${tn({ scalar: r.mapKey }, e, s)}`);
|
|
@@ -64927,7 +64927,7 @@ class c0 {
|
|
|
64927
64927
|
}
|
|
64928
64928
|
set(e, t) {
|
|
64929
64929
|
if (this.check) {
|
|
64930
|
-
const s =
|
|
64930
|
+
const s = Xv(this._field, e, t);
|
|
64931
64931
|
if (s)
|
|
64932
64932
|
throw s;
|
|
64933
64933
|
}
|
|
@@ -65167,7 +65167,7 @@ function Yd(r, e, t, s) {
|
|
|
65167
65167
|
f0(r, e, s, t.get(s));
|
|
65168
65168
|
break;
|
|
65169
65169
|
case "message":
|
|
65170
|
-
|
|
65170
|
+
Jd(r, e, s, t.get(s));
|
|
65171
65171
|
break;
|
|
65172
65172
|
case "map":
|
|
65173
65173
|
for (const [u, o] of t.get(s))
|
|
@@ -65176,16 +65176,16 @@ function Yd(r, e, t, s) {
|
|
|
65176
65176
|
}
|
|
65177
65177
|
}
|
|
65178
65178
|
function sn(r, e, t, s, c, u) {
|
|
65179
|
-
|
|
65179
|
+
Xd(r.tag(c, m0(s)), e, t, s, u);
|
|
65180
65180
|
}
|
|
65181
|
-
function
|
|
65181
|
+
function Jd(r, e, t, s) {
|
|
65182
65182
|
t.delimitedEncoding ? rn(r.tag(t.number, st.StartGroup), e, s).tag(t.number, st.EndGroup) : rn(r.tag(t.number, st.LengthDelimited).fork(), e, s).join();
|
|
65183
65183
|
}
|
|
65184
65184
|
function f0(r, e, t, s) {
|
|
65185
65185
|
var c;
|
|
65186
65186
|
if (t.listKind == "message") {
|
|
65187
65187
|
for (const o of s)
|
|
65188
|
-
|
|
65188
|
+
Jd(r, e, t, o);
|
|
65189
65189
|
return;
|
|
65190
65190
|
}
|
|
65191
65191
|
const u = (c = t.scalar) !== null && c !== void 0 ? c : ne.INT32;
|
|
@@ -65194,7 +65194,7 @@ function f0(r, e, t, s) {
|
|
|
65194
65194
|
return;
|
|
65195
65195
|
r.tag(t.number, st.LengthDelimited).fork();
|
|
65196
65196
|
for (const o of s)
|
|
65197
|
-
|
|
65197
|
+
Xd(r, t.parent.typeName, t.name, u, o);
|
|
65198
65198
|
r.join();
|
|
65199
65199
|
return;
|
|
65200
65200
|
}
|
|
@@ -65214,7 +65214,7 @@ function p0(r, e, t, s, c) {
|
|
|
65214
65214
|
}
|
|
65215
65215
|
r.join();
|
|
65216
65216
|
}
|
|
65217
|
-
function
|
|
65217
|
+
function Xd(r, e, t, s, c) {
|
|
65218
65218
|
try {
|
|
65219
65219
|
switch (s) {
|
|
65220
65220
|
case ne.STRING:
|
|
@@ -65349,14 +65349,14 @@ var Ya;
|
|
|
65349
65349
|
(function(r) {
|
|
65350
65350
|
r[r.STRING = 0] = "STRING", r[r.CORD = 1] = "CORD", r[r.STRING_PIECE = 2] = "STRING_PIECE";
|
|
65351
65351
|
})(Ya || (Ya = {}));
|
|
65352
|
-
var
|
|
65352
|
+
var Ja;
|
|
65353
65353
|
(function(r) {
|
|
65354
65354
|
r[r.JS_NORMAL = 0] = "JS_NORMAL", r[r.JS_STRING = 1] = "JS_STRING", r[r.JS_NUMBER = 2] = "JS_NUMBER";
|
|
65355
|
-
})(
|
|
65356
|
-
var
|
|
65355
|
+
})(Ja || (Ja = {}));
|
|
65356
|
+
var Xa;
|
|
65357
65357
|
(function(r) {
|
|
65358
65358
|
r[r.RETENTION_UNKNOWN = 0] = "RETENTION_UNKNOWN", r[r.RETENTION_RUNTIME = 1] = "RETENTION_RUNTIME", r[r.RETENTION_SOURCE = 2] = "RETENTION_SOURCE";
|
|
65359
|
-
})(
|
|
65359
|
+
})(Xa || (Xa = {}));
|
|
65360
65360
|
var qa;
|
|
65361
65361
|
(function(r) {
|
|
65362
65362
|
r[r.TARGET_TYPE_UNKNOWN = 0] = "TARGET_TYPE_UNKNOWN", r[r.TARGET_TYPE_FILE = 1] = "TARGET_TYPE_FILE", r[r.TARGET_TYPE_EXTENSION_RANGE = 2] = "TARGET_TYPE_EXTENSION_RANGE", r[r.TARGET_TYPE_MESSAGE = 3] = "TARGET_TYPE_MESSAGE", r[r.TARGET_TYPE_FIELD = 4] = "TARGET_TYPE_FIELD", r[r.TARGET_TYPE_ONEOF = 5] = "TARGET_TYPE_ONEOF", r[r.TARGET_TYPE_ENUM = 6] = "TARGET_TYPE_ENUM", r[r.TARGET_TYPE_ENUM_ENTRY = 7] = "TARGET_TYPE_ENUM_ENTRY", r[r.TARGET_TYPE_SERVICE = 8] = "TARGET_TYPE_SERVICE", r[r.TARGET_TYPE_METHOD = 9] = "TARGET_TYPE_METHOD";
|
|
@@ -65547,12 +65547,12 @@ function Zr(r, e) {
|
|
|
65547
65547
|
return r.sint32();
|
|
65548
65548
|
}
|
|
65549
65549
|
}
|
|
65550
|
-
function
|
|
65550
|
+
function Jt(r, e) {
|
|
65551
65551
|
var t;
|
|
65552
65552
|
const s = Ps(_0, Qi(r));
|
|
65553
|
-
return s.messageType.forEach(
|
|
65553
|
+
return s.messageType.forEach(Xi), s.dependency = (t = e == null ? void 0 : e.map((u) => u.proto.name)) !== null && t !== void 0 ? t : [], xd(s, (u) => e == null ? void 0 : e.find((o) => o.proto.name === u)).getFile(s.name);
|
|
65554
65554
|
}
|
|
65555
|
-
function
|
|
65555
|
+
function Jr(r, e, ...t) {
|
|
65556
65556
|
return t.reduce((s, c) => s.nestedMessages[c], r.messages[e]);
|
|
65557
65557
|
}
|
|
65558
65558
|
function C0(r, e, ...t) {
|
|
@@ -65560,7 +65560,7 @@ function C0(r, e, ...t) {
|
|
|
65560
65560
|
throw new Error();
|
|
65561
65561
|
return r.services[e];
|
|
65562
65562
|
}
|
|
65563
|
-
const x0 = /* @__PURE__ */
|
|
65563
|
+
const x0 = /* @__PURE__ */ Jt("ChlhZ2VudC92MS9maWxlc2VhcmNoLnByb3RvEghhZ2VudC52MSJTChBGaWxlU2VhcmNoUmVzdWx0Eg8KB2ZpbGVfaWQYASABKAkSEQoJZmlsZV9uYW1lGAIgASgJEg0KBXNjb3JlGAMgASgBEgwKBGxpbmsYBCABKAlCQFo+Z2l0aHViLmNvbS9ydW5tZWRldi9ydW5tZS92My9hcGkvZ2VuL3Byb3RvL2dvL2FnZW50L3YxO2FnZW50djFiBnByb3RvMw"), Xt = /* @__PURE__ */ Jt("ChVhZ2VudC92MS9ibG9ja3MucHJvdG8SCGFnZW50LnYxItECCgVCbG9jaxIhCgRraW5kGAEgASgOMhMuYWdlbnQudjEuQmxvY2tLaW5kEhAKCGxhbmd1YWdlGAIgASgJEhAKCGNvbnRlbnRzGAMgASgJEgoKAmlkGAcgASgJEi8KCG1ldGFkYXRhGAggAygLMh0uYWdlbnQudjEuQmxvY2suTWV0YWRhdGFFbnRyeRIhCgRyb2xlGAkgASgOMhMuYWdlbnQudjEuQmxvY2tSb2xlEjcKE2ZpbGVfc2VhcmNoX3Jlc3VsdHMYCiADKAsyGi5hZ2VudC52MS5GaWxlU2VhcmNoUmVzdWx0EiYKB291dHB1dHMYCyADKAsyFS5hZ2VudC52MS5CbG9ja091dHB1dBIPCgdjYWxsX2lkGAwgASgJGi8KDU1ldGFkYXRhRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASJgCgtCbG9ja091dHB1dBIoCgVpdGVtcxgBIAMoCzIZLmFnZW50LnYxLkJsb2NrT3V0cHV0SXRlbRInCgRraW5kGAIgASgOMhkuYWdlbnQudjEuQmxvY2tPdXRwdXRLaW5kIjIKD0Jsb2NrT3V0cHV0SXRlbRIMCgRtaW1lGAEgASgJEhEKCXRleHRfZGF0YRgCIAEoCSJtCg9HZW5lcmF0ZVJlcXVlc3QSHwoGYmxvY2tzGAEgAygLMg8uYWdlbnQudjEuQmxvY2sSHAoUcHJldmlvdXNfcmVzcG9uc2VfaWQYAiABKAkSGwoTb3BlbmFpX2FjY2Vzc190b2tlbhgDIAEoCSJIChBHZW5lcmF0ZVJlc3BvbnNlEh8KBmJsb2NrcxgBIAMoCzIPLmFnZW50LnYxLkJsb2NrEhMKC3Jlc3BvbnNlX2lkGAIgASgJKncKCUJsb2NrS2luZBIaChZCTE9DS19LSU5EX1VOU1BFQ0lGSUVEEAASFQoRQkxPQ0tfS0lORF9NQVJLVVAQARITCg9CTE9DS19LSU5EX0NPREUQAhIiCh5CTE9DS19LSU5EX0ZJTEVfU0VBUkNIX1JFU1VMVFMQAypWCglCbG9ja1JvbGUSGgoWQkxPQ0tfUk9MRV9VTlNQRUNJRklFRBAAEhMKD0JMT0NLX1JPTEVfVVNFUhABEhgKFEJMT0NLX1JPTEVfQVNTSVNUQU5UEAIqcAoPQmxvY2tPdXRwdXRLaW5kEiEKHUJMT0NLX09VVFBVVF9LSU5EX1VOU1BFQ0lGSUVEEAASHAoYQkxPQ0tfT1VUUFVUX0tJTkRfU1RET1VUEAESHAoYQkxPQ0tfT1VUUFVUX0tJTkRfU1RERVJSEAIyVgoNQmxvY2tzU2VydmljZRJFCghHZW5lcmF0ZRIZLmFnZW50LnYxLkdlbmVyYXRlUmVxdWVzdBoaLmFnZW50LnYxLkdlbmVyYXRlUmVzcG9uc2UiADABQkBaPmdpdGh1Yi5jb20vcnVubWVkZXYvcnVubWUvdjMvYXBpL2dlbi9wcm90by9nby9hZ2VudC92MTthZ2VudHYxYgZwcm90bzM", [x0]), ps = /* @__PURE__ */ Jr(Xt, 0), j0 = /* @__PURE__ */ Jr(Xt, 1), E0 = /* @__PURE__ */ Jr(Xt, 2), k0 = /* @__PURE__ */ Jr(Xt, 3), I0 = /* @__PURE__ */ fo(Xt, 0), Nt = /* @__PURE__ */ gn(I0), T0 = /* @__PURE__ */ fo(Xt, 1), Vt = /* @__PURE__ */ gn(T0), O0 = /* @__PURE__ */ fo(Xt, 2), dl = /* @__PURE__ */ gn(O0), A0 = /* @__PURE__ */ C0(Xt, 0), R0 = /* @__PURE__ */ Jt("Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJvdG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MYAiABKAVChQEKE2NvbS5nb29nbGUucHJvdG9idWZCDlRpbWVzdGFtcFByb3RvUAFaMmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3RpbWVzdGFtcHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"), tu = /* @__PURE__ */ Jt("Chlnb29nbGUvcHJvdG9idWYvYW55LnByb3RvEg9nb29nbGUucHJvdG9idWYiJgoDQW55EhAKCHR5cGVfdXJsGAEgASgJEg0KBXZhbHVlGAIgASgMQnYKE2NvbS5nb29nbGUucHJvdG9idWZCCEFueVByb3RvUAFaLGdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2FueXBiogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"), N0 = /* @__PURE__ */ Ls(tu, 0);
|
|
65564
65564
|
function L0(r, e, t) {
|
|
65565
65565
|
let s = !1;
|
|
65566
65566
|
return t || (t = ct(N0), s = !0), t.value = Kd(r, e), t.typeUrl = M0(e.$typeName), s ? t : void 0;
|
|
@@ -65587,7 +65587,7 @@ function ru(r) {
|
|
|
65587
65587
|
throw new Error(`invalid type url: ${r}`);
|
|
65588
65588
|
return t;
|
|
65589
65589
|
}
|
|
65590
|
-
const mo = /* @__PURE__ */
|
|
65590
|
+
const mo = /* @__PURE__ */ Jt("Chxnb29nbGUvcHJvdG9idWYvc3RydWN0LnByb3RvEg9nb29nbGUucHJvdG9idWYihAEKBlN0cnVjdBIzCgZmaWVsZHMYASADKAsyIy5nb29nbGUucHJvdG9idWYuU3RydWN0LkZpZWxkc0VudHJ5GkUKC0ZpZWxkc0VudHJ5EgsKA2tleRgBIAEoCRIlCgV2YWx1ZRgCIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZToCOAEi6gEKBVZhbHVlEjAKCm51bGxfdmFsdWUYASABKA4yGi5nb29nbGUucHJvdG9idWYuTnVsbFZhbHVlSAASFgoMbnVtYmVyX3ZhbHVlGAIgASgBSAASFgoMc3RyaW5nX3ZhbHVlGAMgASgJSAASFAoKYm9vbF92YWx1ZRgEIAEoCEgAEi8KDHN0cnVjdF92YWx1ZRgFIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RIABIwCgpsaXN0X3ZhbHVlGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLkxpc3RWYWx1ZUgAQgYKBGtpbmQiMwoJTGlzdFZhbHVlEiYKBnZhbHVlcxgBIAMoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZSobCglOdWxsVmFsdWUSDgoKTlVMTF9WQUxVRRAAQn8KE2NvbS5nb29nbGUucHJvdG9idWZCC1N0cnVjdFByb3RvUAFaL2dvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3N0cnVjdHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM"), $0 = /* @__PURE__ */ Ls(mo, 0), su = /* @__PURE__ */ Ls(mo, 1), B0 = /* @__PURE__ */ Ls(mo, 2);
|
|
65591
65591
|
var vi;
|
|
65592
65592
|
(function(r) {
|
|
65593
65593
|
r[r.NULL_VALUE = 0] = "NULL_VALUE";
|
|
@@ -65661,7 +65661,7 @@ function z0(r, e, t) {
|
|
|
65661
65661
|
}
|
|
65662
65662
|
function Ds(r, e) {
|
|
65663
65663
|
var t;
|
|
65664
|
-
const s =
|
|
65664
|
+
const s = X0(r, e);
|
|
65665
65665
|
if (s !== void 0)
|
|
65666
65666
|
return s;
|
|
65667
65667
|
const c = {};
|
|
@@ -65673,7 +65673,7 @@ function Ds(r, e) {
|
|
|
65673
65673
|
continue;
|
|
65674
65674
|
}
|
|
65675
65675
|
const o = hl(u, r.get(u), e);
|
|
65676
|
-
o !== void 0 && (c[
|
|
65676
|
+
o !== void 0 && (c[J0(u, e)] = o);
|
|
65677
65677
|
}
|
|
65678
65678
|
if (e.registry) {
|
|
65679
65679
|
const u = /* @__PURE__ */ new Set();
|
|
@@ -65796,10 +65796,10 @@ function yn(r, e) {
|
|
|
65796
65796
|
throw new Error(`cannot encode ${r} to JSON: ${(a = kr(r, e)) === null || a === void 0 ? void 0 : a.message}`);
|
|
65797
65797
|
}
|
|
65798
65798
|
}
|
|
65799
|
-
function
|
|
65799
|
+
function J0(r, e) {
|
|
65800
65800
|
return e.useProtoFieldName ? r.name : r.jsonName;
|
|
65801
65801
|
}
|
|
65802
|
-
function
|
|
65802
|
+
function X0(r, e) {
|
|
65803
65803
|
if (r.desc.typeName.startsWith("google.protobuf."))
|
|
65804
65804
|
switch (r.desc.typeName) {
|
|
65805
65805
|
case "google.protobuf.Any":
|
|
@@ -66311,7 +66311,7 @@ function vl(r, e, t) {
|
|
|
66311
66311
|
throw new Error("Random bytes length must be >= 16");
|
|
66312
66312
|
return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, vb(s);
|
|
66313
66313
|
}
|
|
66314
|
-
const yb = /* @__PURE__ */
|
|
66314
|
+
const yb = /* @__PURE__ */ Jt("ChphZ2VudC92MS9jcmVkZW50aWFscy5wcm90bxIIYWdlbnQudjEioQEKCk9BdXRoVG9rZW4SFAoMYWNjZXNzX3Rva2VuGAEgASgJEhIKCnRva2VuX3R5cGUYAiABKAkSFQoNcmVmcmVzaF90b2tlbhgDIAEoCRISCgpleHBpcmVzX2F0GAQgASgDEioKBmV4cGlyeRgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASEgoKZXhwaXJlc19pbhgGIAEoA0JAWj5naXRodWIuY29tL3J1bm1lZGV2L3J1bm1lL3YzL2FwaS9nZW4vcHJvdG8vZ28vYWdlbnQvdjE7YWdlbnR2MWIGcHJvdG8z", [R0]), bl = /* @__PURE__ */ Jr(yb, 0), wb = ["agent-session", "cassie-session"], Sb = ["agent-oauth-token", "cassie-oauth-token"];
|
|
66315
66315
|
function xn() {
|
|
66316
66316
|
for (const r of wb) {
|
|
66317
66317
|
const e = document.cookie.split("; ").find((s) => s.startsWith(r + "=")), t = e == null ? void 0 : e.split("=")[1];
|
|
@@ -66721,7 +66721,7 @@ function Sl() {
|
|
|
66721
66721
|
}
|
|
66722
66722
|
};
|
|
66723
66723
|
}
|
|
66724
|
-
const
|
|
66724
|
+
const Jn = 128;
|
|
66725
66725
|
function Cl(r) {
|
|
66726
66726
|
const e = new Headers(), t = new TextDecoder().decode(r).split(`\r
|
|
66727
66727
|
`);
|
|
@@ -66736,7 +66736,7 @@ function Cl(r) {
|
|
|
66736
66736
|
}
|
|
66737
66737
|
return e;
|
|
66738
66738
|
}
|
|
66739
|
-
const Fb = "Content-Type", Ub = "Grpc-Timeout", Yr = "Grpc-Status", pu = "Grpc-Message", Vb = "Grpc-Status-Details-Bin", xl = "User-Agent",
|
|
66739
|
+
const Fb = "Content-Type", Ub = "Grpc-Timeout", Yr = "Grpc-Status", pu = "Grpc-Message", Vb = "Grpc-Status-Details-Bin", xl = "User-Agent", Xn = "X-User-Agent", Wb = "X-Grpc-Web", Hb = "application/grpc-web+proto", Gb = "application/grpc-web+json", Zb = /* @__PURE__ */ Jt("CgxzdGF0dXMucHJvdG8SCmdvb2dsZS5ycGMiTgoGU3RhdHVzEgwKBGNvZGUYASABKAUSDwoHbWVzc2FnZRgCIAEoCRIlCgdkZXRhaWxzGAMgAygLMhQuZ29vZ2xlLnByb3RvYnVmLkFueUJeCg5jb20uZ29vZ2xlLnJwY0ILU3RhdHVzUHJvdG9QAVo3Z29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9ycGMvc3RhdHVzO3N0YXR1c6ICA1JQQ2IGcHJvdG8z", [tu]), zb = /* @__PURE__ */ Jr(Zb, 0), Kb = "0";
|
|
66740
66740
|
function mu(r) {
|
|
66741
66741
|
var e;
|
|
66742
66742
|
const t = r.get(Vb);
|
|
@@ -66788,7 +66788,7 @@ function bu(r, e) {
|
|
|
66788
66788
|
r
|
|
66789
66789
|
)) !== null && t !== void 0 ? t : r;
|
|
66790
66790
|
}
|
|
66791
|
-
function
|
|
66791
|
+
function Jb(r) {
|
|
66792
66792
|
var e;
|
|
66793
66793
|
const t = Object.assign({}, r);
|
|
66794
66794
|
return (e = t.ignoreUnknownFields) !== null && e !== void 0 || (t.ignoreUnknownFields = !0), t;
|
|
@@ -66819,7 +66819,7 @@ function kl(r, e) {
|
|
|
66819
66819
|
}
|
|
66820
66820
|
function Il(r, e) {
|
|
66821
66821
|
var t, s;
|
|
66822
|
-
const c = (t = e == null ? void 0 : e.textEncoder) !== null && t !== void 0 ? t : new TextEncoder(), u = (s = e == null ? void 0 : e.textDecoder) !== null && s !== void 0 ? s : new TextDecoder(), o =
|
|
66822
|
+
const c = (t = e == null ? void 0 : e.textEncoder) !== null && t !== void 0 ? t : new TextEncoder(), u = (s = e == null ? void 0 : e.textDecoder) !== null && s !== void 0 ? s : new TextDecoder(), o = Jb(e);
|
|
66823
66823
|
return {
|
|
66824
66824
|
parse(a) {
|
|
66825
66825
|
try {
|
|
@@ -66839,7 +66839,7 @@ function Il(r, e) {
|
|
|
66839
66839
|
}
|
|
66840
66840
|
};
|
|
66841
66841
|
}
|
|
66842
|
-
function
|
|
66842
|
+
function Xb(r) {
|
|
66843
66843
|
const e = bu(r.next, r.interceptors), [t, s, c] = gu(r), u = Object.assign(Object.assign({}, r.req), { message: vu(r.req.method.input, r.req.message), signal: t });
|
|
66844
66844
|
return e(u).then((o) => (c(), o), s);
|
|
66845
66845
|
}
|
|
@@ -66897,7 +66897,7 @@ function Ol(r, e, t, s) {
|
|
|
66897
66897
|
const c = new Headers(t ?? {});
|
|
66898
66898
|
c.set(Fb, r ? Hb : Gb), c.set(Wb, "1");
|
|
66899
66899
|
let u = "connect-es/2.0.2";
|
|
66900
|
-
return u = c.has(xl) ? c.get(xl) : c.has(
|
|
66900
|
+
return u = c.has(xl) ? c.get(xl) : c.has(Xn) ? c.get(Xn) : u, c.set(Xn, u), e !== void 0 && c.set(Ub, `${e}m`), c;
|
|
66901
66901
|
}
|
|
66902
66902
|
function eg(r) {
|
|
66903
66903
|
switch (r) {
|
|
@@ -66980,7 +66980,7 @@ function rg(r) {
|
|
|
66980
66980
|
return {
|
|
66981
66981
|
async unary(s, c, u, o, a, d) {
|
|
66982
66982
|
const { serialize: i, parse: n } = El(s, t, r.jsonOptions, r.binaryOptions);
|
|
66983
|
-
return u = u === void 0 ? r.defaultTimeoutMs : u <= 0 ? void 0 : u, await
|
|
66983
|
+
return u = u === void 0 ? r.defaultTimeoutMs : u <= 0 ? void 0 : u, await Xb({
|
|
66984
66984
|
interceptors: r.interceptors,
|
|
66985
66985
|
signal: c,
|
|
66986
66986
|
timeoutMs: u,
|
|
@@ -67008,7 +67008,7 @@ function rg(r) {
|
|
|
67008
67008
|
const { flags: w, data: y } = _.value;
|
|
67009
67009
|
if ((w & _l) === _l)
|
|
67010
67010
|
throw new He("protocol error: received unsupported compressed output", $e.Internal);
|
|
67011
|
-
if (w ===
|
|
67011
|
+
if (w === Jn) {
|
|
67012
67012
|
if (b !== void 0)
|
|
67013
67013
|
throw "extra trailer";
|
|
67014
67014
|
b = Cl(y);
|
|
@@ -67049,7 +67049,7 @@ function rg(r) {
|
|
|
67049
67049
|
if (y.done)
|
|
67050
67050
|
break;
|
|
67051
67051
|
const { flags: C, data: S } = y.value;
|
|
67052
|
-
if ((C &
|
|
67052
|
+
if ((C & Jn) === Jn) {
|
|
67053
67053
|
if (w)
|
|
67054
67054
|
throw "extra trailer";
|
|
67055
67055
|
w = !0;
|
|
@@ -67158,7 +67158,7 @@ function dg(r, e) {
|
|
|
67158
67158
|
}
|
|
67159
67159
|
const wu = _i(
|
|
67160
67160
|
void 0
|
|
67161
|
-
),
|
|
67161
|
+
), Rt = () => {
|
|
67162
67162
|
const r = yi(wu);
|
|
67163
67163
|
if (!r)
|
|
67164
67164
|
throw new Error("useSettings must be used within a SettingsProvider");
|
|
@@ -67252,7 +67252,7 @@ const wu = _i(
|
|
|
67252
67252
|
}, fg = ({
|
|
67253
67253
|
children: r
|
|
67254
67254
|
}) => {
|
|
67255
|
-
const [e, t] = Ze(), { settings: s } =
|
|
67255
|
+
const [e, t] = Ze(), { settings: s } = Rt();
|
|
67256
67256
|
return ze(() => {
|
|
67257
67257
|
t(mg(s.agentEndpoint));
|
|
67258
67258
|
}, [s.agentEndpoint]), /* @__PURE__ */ oe(Su.Provider, { value: { client: e, setClient: t }, children: r });
|
|
@@ -67281,7 +67281,7 @@ const Cu = _i(void 0), qt = () => {
|
|
|
67281
67281
|
throw new Error("useBlock must be used within a BlockProvider");
|
|
67282
67282
|
return r;
|
|
67283
67283
|
}, vg = ({ children: r }) => {
|
|
67284
|
-
const { settings: e } =
|
|
67284
|
+
const { settings: e } = Rt(), [t, s] = Ze(0), [c, u] = Ze(!1), [o, a] = Ze(!1), [d, i] = Ze(), n = () => {
|
|
67285
67285
|
s((j) => j + 1);
|
|
67286
67286
|
}, { client: l } = hg(), [h, m] = Ze({
|
|
67287
67287
|
blocks: {},
|
|
@@ -67297,11 +67297,11 @@ const Cu = _i(void 0), qt = () => {
|
|
|
67297
67297
|
}));
|
|
67298
67298
|
}, [p]);
|
|
67299
67299
|
const f = yt(() => h.positions.map((j) => h.blocks[j]).filter(
|
|
67300
|
-
(j) => !!j && (j.kind ===
|
|
67300
|
+
(j) => !!j && (j.kind === Nt.MARKUP || j.kind === Nt.CODE)
|
|
67301
67301
|
), [h.blocks, h.positions]), v = yt(() => h.positions.map((j) => h.blocks[j]).filter(
|
|
67302
|
-
(j) => !!j && j.kind ===
|
|
67302
|
+
(j) => !!j && j.kind === Nt.CODE
|
|
67303
67303
|
), [h.blocks, h.positions]), b = yt(() => h.positions.map((j) => h.blocks[j]).filter(
|
|
67304
|
-
(j) => !!j && j.kind ===
|
|
67304
|
+
(j) => !!j && j.kind === Nt.FILE_SEARCH_RESULTS
|
|
67305
67305
|
), [h.blocks, h.positions]), g = () => ({
|
|
67306
67306
|
chat: f,
|
|
67307
67307
|
actions: v,
|
|
@@ -67323,8 +67323,8 @@ const Cu = _i(void 0), qt = () => {
|
|
|
67323
67323
|
try {
|
|
67324
67324
|
const $ = l.generate(L);
|
|
67325
67325
|
for await (const V of $) {
|
|
67326
|
-
for (const
|
|
67327
|
-
a(!1), S(
|
|
67326
|
+
for (const J of V.blocks)
|
|
67327
|
+
a(!1), S(J);
|
|
67328
67328
|
i(V.responseId);
|
|
67329
67329
|
}
|
|
67330
67330
|
} catch ($) {
|
|
@@ -67337,7 +67337,7 @@ const Cu = _i(void 0), qt = () => {
|
|
|
67337
67337
|
const T = ct(ps, {
|
|
67338
67338
|
id: `user_${vl()}`,
|
|
67339
67339
|
role: Vt.USER,
|
|
67340
|
-
kind:
|
|
67340
|
+
kind: Nt.MARKUP,
|
|
67341
67341
|
contents: j
|
|
67342
67342
|
});
|
|
67343
67343
|
S(T), u(!0), a(!0), await w([T]);
|
|
@@ -67374,7 +67374,7 @@ const Cu = _i(void 0), qt = () => {
|
|
|
67374
67374
|
const j = ct(ps, {
|
|
67375
67375
|
id: `code_${vl()}`,
|
|
67376
67376
|
role: Vt.USER,
|
|
67377
|
-
kind:
|
|
67377
|
+
kind: Nt.CODE,
|
|
67378
67378
|
contents: ""
|
|
67379
67379
|
});
|
|
67380
67380
|
S(j);
|
|
@@ -67406,7 +67406,7 @@ const Cu = _i(void 0), qt = () => {
|
|
|
67406
67406
|
}
|
|
67407
67407
|
);
|
|
67408
67408
|
}, bg = ct(ps, {
|
|
67409
|
-
kind:
|
|
67409
|
+
kind: Nt.MARKUP,
|
|
67410
67410
|
role: Vt.ASSISTANT,
|
|
67411
67411
|
contents: "..."
|
|
67412
67412
|
}), gg = wi(
|
|
@@ -67418,7 +67418,7 @@ const Cu = _i(void 0), qt = () => {
|
|
|
67418
67418
|
onChange: c,
|
|
67419
67419
|
onEnter: u
|
|
67420
67420
|
}) => {
|
|
67421
|
-
const o =
|
|
67421
|
+
const o = At(u), a = At(null), d = At(null), [i, n] = Ze("140px"), [l, h] = Ze(!1), m = At(0), p = At(0);
|
|
67422
67422
|
return ze(() => {
|
|
67423
67423
|
o.current = u;
|
|
67424
67424
|
}, [u]), ze(() => {
|
|
@@ -67630,7 +67630,7 @@ const Eg = wi(
|
|
|
67630
67630
|
onPid: d,
|
|
67631
67631
|
onMimeType: i
|
|
67632
67632
|
}) => {
|
|
67633
|
-
const { webApp: n } =
|
|
67633
|
+
const { webApp: n } = Rt().settings;
|
|
67634
67634
|
return s != "" && e != "" && /* @__PURE__ */ oe(
|
|
67635
67635
|
iv,
|
|
67636
67636
|
{
|
|
@@ -67658,7 +67658,7 @@ const Eg = wi(
|
|
|
67658
67658
|
(r, e) => r.blockID === e.blockID && JSON.stringify(r.value) === JSON.stringify(e.value) && r.runID === e.runID
|
|
67659
67659
|
);
|
|
67660
67660
|
function kg({ block: r }) {
|
|
67661
|
-
const { settings: e } =
|
|
67661
|
+
const { settings: e } = Rt(), t = e.webApp.invertedOrder, { createOutputBlock: s, sendOutputBlock: c, incrementSequence: u, sequence: o } = qt(), [a, d] = Ze(r.contents), [i, n] = Ze(!1), [l, h] = Ze({
|
|
67662
67662
|
value: "",
|
|
67663
67663
|
runID: ""
|
|
67664
67664
|
}), [m, p] = Ze(null), [f, v] = Ze(null), [b, g] = Ze(null), [_, w] = Ze(""), [y, C] = Ze(""), [S, x] = Ze(""), [k, I] = Ze(null), j = zl(
|
|
@@ -67682,22 +67682,22 @@ function kg({ block: r }) {
|
|
|
67682
67682
|
...r,
|
|
67683
67683
|
outputs: [
|
|
67684
67684
|
{
|
|
67685
|
-
$typeName: "BlockOutput",
|
|
67685
|
+
$typeName: "agent.v1.BlockOutput",
|
|
67686
67686
|
kind: dl.STDOUT,
|
|
67687
67687
|
items: [
|
|
67688
67688
|
{
|
|
67689
|
-
$typeName: "BlockOutputItem",
|
|
67689
|
+
$typeName: "agent.v1.BlockOutputItem",
|
|
67690
67690
|
mime: b || "text/plain",
|
|
67691
67691
|
textData: _
|
|
67692
67692
|
}
|
|
67693
67693
|
]
|
|
67694
67694
|
},
|
|
67695
67695
|
{
|
|
67696
|
-
$typeName: "BlockOutput",
|
|
67696
|
+
$typeName: "agent.v1.BlockOutput",
|
|
67697
67697
|
kind: dl.STDERR,
|
|
67698
67698
|
items: [
|
|
67699
67699
|
{
|
|
67700
|
-
$typeName: "BlockOutputItem",
|
|
67700
|
+
$typeName: "agent.v1.BlockOutputItem",
|
|
67701
67701
|
mime: b || "text/plain",
|
|
67702
67702
|
textData: y
|
|
67703
67703
|
}
|
|
@@ -67789,10 +67789,14 @@ function kg({ block: r }) {
|
|
|
67789
67789
|
] }) }) });
|
|
67790
67790
|
}
|
|
67791
67791
|
function Dl() {
|
|
67792
|
-
const { useColumns: r, addCodeBlock: e } = qt(), { settings: t } =
|
|
67792
|
+
const { useColumns: r, addCodeBlock: e } = qt(), { settings: t } = Rt(), { actions: s } = r(), c = At(null), u = At(null);
|
|
67793
67793
|
return ze(() => {
|
|
67794
|
-
var
|
|
67795
|
-
t.webApp.invertedOrder
|
|
67794
|
+
var o, a;
|
|
67795
|
+
if (t.webApp.invertedOrder) {
|
|
67796
|
+
(o = c.current) == null || o.scrollIntoView({ behavior: "smooth" });
|
|
67797
|
+
return;
|
|
67798
|
+
}
|
|
67799
|
+
(a = u.current) == null || a.scrollIntoView({ behavior: "smooth" });
|
|
67796
67800
|
}, [s, t.webApp.invertedOrder]), /* @__PURE__ */ Re("div", { className: "flex flex-col h-full", children: [
|
|
67797
67801
|
/* @__PURE__ */ Re("div", { className: "flex items-center mb-2", children: [
|
|
67798
67802
|
/* @__PURE__ */ oe(lt, { size: "5", weight: "bold", className: "pr-2", children: "Actions" }),
|
|
@@ -67808,8 +67812,9 @@ function Dl() {
|
|
|
67808
67812
|
)
|
|
67809
67813
|
] }),
|
|
67810
67814
|
/* @__PURE__ */ Re(Si, { type: "auto", scrollbars: "vertical", className: "flex-1 p-2", children: [
|
|
67811
|
-
|
|
67812
|
-
/* @__PURE__ */ oe(
|
|
67815
|
+
/* @__PURE__ */ oe("div", { ref: c }),
|
|
67816
|
+
s.map((o) => /* @__PURE__ */ oe(kg, { block: o }, o.id)),
|
|
67817
|
+
/* @__PURE__ */ oe("div", { ref: u })
|
|
67813
67818
|
] })
|
|
67814
67819
|
] });
|
|
67815
67820
|
}
|
|
@@ -67842,7 +67847,7 @@ const xu = ({
|
|
|
67842
67847
|
onClick: t
|
|
67843
67848
|
}) => {
|
|
67844
67849
|
var i, n;
|
|
67845
|
-
const { runCodeBlock: s } = qt(), { settings: c } =
|
|
67850
|
+
const { runCodeBlock: s } = qt(), { settings: c } = Rt(), u = ((n = (i = r.contents) == null ? void 0 : i.split(/&&|;|\n|\\n/)[0]) == null ? void 0 : n.substring(0, 50)) || "", o = () => {
|
|
67846
67851
|
t ? t() : s(r);
|
|
67847
67852
|
}, a = c.webApp.invertedOrder ? "justify-end" : "justify-start", d = /* @__PURE__ */ oe("span", { className: "text-xs text-gray-400 p-2", children: "Press CTRL+ENTER to run" });
|
|
67848
67853
|
return /* @__PURE__ */ Re("div", { className: `flex ${a} items-center h-full`, children: [
|
|
@@ -67899,7 +67904,7 @@ const xu = ({
|
|
|
67899
67904
|
block: r,
|
|
67900
67905
|
isRecentCodeBlock: e
|
|
67901
67906
|
}) => {
|
|
67902
|
-
if (r.kind ===
|
|
67907
|
+
if (r.kind === Nt.CODE)
|
|
67903
67908
|
return /* @__PURE__ */ oe(
|
|
67904
67909
|
Og,
|
|
67905
67910
|
{
|
|
@@ -67917,7 +67922,7 @@ const xu = ({
|
|
|
67917
67922
|
return null;
|
|
67918
67923
|
}
|
|
67919
67924
|
}, $l = () => {
|
|
67920
|
-
const { useColumns: r, isTyping: e } = qt(), { settings: t } =
|
|
67925
|
+
const { useColumns: r, isTyping: e } = qt(), { settings: t } = Rt(), { chat: s } = r(), c = At(null);
|
|
67921
67926
|
ze(() => {
|
|
67922
67927
|
var d;
|
|
67923
67928
|
t.webApp.invertedOrder || (d = c.current) == null || d.scrollIntoView({ behavior: "smooth" });
|
|
@@ -67929,7 +67934,7 @@ const xu = ({
|
|
|
67929
67934
|
Ml,
|
|
67930
67935
|
{
|
|
67931
67936
|
block: d,
|
|
67932
|
-
isRecentCodeBlock: d.kind ===
|
|
67937
|
+
isRecentCodeBlock: d.kind === Nt.CODE && i === u && !e
|
|
67933
67938
|
},
|
|
67934
67939
|
i
|
|
67935
67940
|
)),
|
|
@@ -67937,7 +67942,7 @@ const xu = ({
|
|
|
67937
67942
|
/* @__PURE__ */ oe("div", { ref: c })
|
|
67938
67943
|
] });
|
|
67939
67944
|
}, Bl = () => {
|
|
67940
|
-
const { sendUserBlock: r, isInputDisabled: e } = qt(), [t, s] = Ze(""), c =
|
|
67945
|
+
const { sendUserBlock: r, isInputDisabled: e } = qt(), [t, s] = Ze(""), c = At(null);
|
|
67941
67946
|
return ze(() => {
|
|
67942
67947
|
var a;
|
|
67943
67948
|
(a = c.current) == null || a.focus();
|
|
@@ -67969,12 +67974,12 @@ const xu = ({
|
|
|
67969
67974
|
] }) });
|
|
67970
67975
|
};
|
|
67971
67976
|
function Fl() {
|
|
67972
|
-
const { useColumns: r, runCodeBlock: e } = qt(), { settings: t } =
|
|
67977
|
+
const { useColumns: r, runCodeBlock: e } = qt(), { settings: t } = Rt(), { chat: s } = r(), c = At(null);
|
|
67973
67978
|
ze(() => {
|
|
67974
67979
|
const o = (d) => {
|
|
67975
67980
|
if (d.ctrlKey && d.key === "Enter") {
|
|
67976
67981
|
const i = t.webApp.invertedOrder ? s[0] : s[s.length - 1];
|
|
67977
|
-
(i == null ? void 0 : i.kind) ===
|
|
67982
|
+
(i == null ? void 0 : i.kind) === Nt.CODE && e(i);
|
|
67978
67983
|
}
|
|
67979
67984
|
}, a = c.current;
|
|
67980
67985
|
if (a)
|
|
@@ -67993,7 +67998,7 @@ function Fl() {
|
|
|
67993
67998
|
] });
|
|
67994
67999
|
}
|
|
67995
68000
|
const Ag = () => {
|
|
67996
|
-
const { useColumns: r } = qt(), { files: e } = r(), t =
|
|
68001
|
+
const { useColumns: r } = qt(), { files: e } = r(), t = At(null), s = () => {
|
|
67997
68002
|
var o;
|
|
67998
68003
|
(o = t.current) == null || o.scrollIntoView({ behavior: "smooth" });
|
|
67999
68004
|
}, c = yt(() => {
|
|
@@ -68018,23 +68023,23 @@ const Ag = () => {
|
|
|
68018
68023
|
children: /* @__PURE__ */ oe(lt, { size: "2", weight: "medium", children: /* @__PURE__ */ oe(
|
|
68019
68024
|
Kl,
|
|
68020
68025
|
{
|
|
68021
|
-
href: o.
|
|
68026
|
+
href: o.link,
|
|
68022
68027
|
target: "_blank",
|
|
68023
68028
|
className: "text-blue-500 hover:underline",
|
|
68024
|
-
children: o.
|
|
68029
|
+
children: o.fileName
|
|
68025
68030
|
}
|
|
68026
68031
|
) })
|
|
68027
68032
|
}
|
|
68028
|
-
) }, o.
|
|
68033
|
+
) }, o.fileId)),
|
|
68029
68034
|
/* @__PURE__ */ oe("div", { ref: t, className: "h-1" })
|
|
68030
68035
|
] }) : /* @__PURE__ */ Re("div", { children: [
|
|
68031
68036
|
/* @__PURE__ */ oe("div", { children: "No search results yet" }),
|
|
68032
68037
|
/* @__PURE__ */ oe("div", { ref: t, className: "h-1" })
|
|
68033
68038
|
] }) })
|
|
68034
68039
|
] });
|
|
68035
|
-
}, Rg = /* @__PURE__ */
|
|
68040
|
+
}, Rg = /* @__PURE__ */ Jt("ChVnb29nbGUvcnBjL2NvZGUucHJvdG8SCmdvb2dsZS5ycGMqtwIKBENvZGUSBgoCT0sQABINCglDQU5DRUxMRUQQARILCgdVTktOT1dOEAISFAoQSU5WQUxJRF9BUkdVTUVOVBADEhUKEURFQURMSU5FX0VYQ0VFREVEEAQSDQoJTk9UX0ZPVU5EEAUSEgoOQUxSRUFEWV9FWElTVFMQBhIVChFQRVJNSVNTSU9OX0RFTklFRBAHEhMKD1VOQVVUSEVOVElDQVRFRBAQEhYKElJFU09VUkNFX0VYSEFVU1RFRBAIEhcKE0ZBSUxFRF9QUkVDT05ESVRJT04QCRILCgdBQk9SVEVEEAoSEAoMT1VUX09GX1JBTkdFEAsSEQoNVU5JTVBMRU1FTlRFRBAMEgwKCElOVEVSTkFMEA0SDwoLVU5BVkFJTEFCTEUQDhINCglEQVRBX0xPU1MQD0JYCg5jb20uZ29vZ2xlLnJwY0IJQ29kZVByb3RvUAFaM2dvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvcnBjL2NvZGU7Y29kZaICA1JQQ2IGcHJvdG8z"), Ng = /* @__PURE__ */ b0(Rg, 0), bi = /* @__PURE__ */ gn(Ng);
|
|
68036
68041
|
function Lg() {
|
|
68037
|
-
const { runnerError: r } =
|
|
68042
|
+
const { runnerError: r } = Rt(), [e] = gh(), t = yt(() => r && !(r instanceof Error) ? bi[r.code] ?? r.code : e.get("error"), [r, e]), s = yt(() => r && !(r instanceof Error) ? r.message : e.get("error_description"), [r, e]), c = () => {
|
|
68038
68043
|
window.location.href = "/oidc/login";
|
|
68039
68044
|
};
|
|
68040
68045
|
return /* @__PURE__ */ Re("div", { className: "flex flex-col items-center justify-center h-full gap-4", children: [
|
|
@@ -68061,7 +68066,7 @@ const Pg = () => /* @__PURE__ */ Re(hh, { size: "3", style: { padding: "2rem", t
|
|
|
68061
68066
|
] })
|
|
68062
68067
|
] });
|
|
68063
68068
|
function Dg() {
|
|
68064
|
-
const r = Yl(), { settings: e, updateSettings: t, runnerError: s, defaultSettings: c } =
|
|
68069
|
+
const r = Yl(), { settings: e, updateSettings: t, runnerError: s, defaultSettings: c } = Rt(), [u, o] = Ze(!1), [a, d] = Ze(e.agentEndpoint), [i, n] = Ze(e.webApp.runner), [l, h] = Ze(e.webApp.invertedOrder), m = () => {
|
|
68065
68070
|
t({
|
|
68066
68071
|
agentEndpoint: a,
|
|
68067
68072
|
webApp: {
|
|
@@ -68380,7 +68385,7 @@ ju.displayName = "Slot";
|
|
|
68380
68385
|
var gi = Fe.forwardRef((r, e) => {
|
|
68381
68386
|
const { children: t, ...s } = r;
|
|
68382
68387
|
if (Fe.isValidElement(t)) {
|
|
68383
|
-
const c =
|
|
68388
|
+
const c = Jg(t), u = Yg(s, t.props);
|
|
68384
68389
|
return t.type !== Fe.Fragment && (u.ref = e ? Zg(e, c) : c), Fe.cloneElement(t, u);
|
|
68385
68390
|
}
|
|
68386
68391
|
return Fe.Children.count(t) > 1 ? Fe.Children.only(null) : null;
|
|
@@ -68400,12 +68405,12 @@ function Yg(r, e) {
|
|
|
68400
68405
|
}
|
|
68401
68406
|
return { ...r, ...t };
|
|
68402
68407
|
}
|
|
68403
|
-
function
|
|
68408
|
+
function Jg(r) {
|
|
68404
68409
|
var s, c;
|
|
68405
68410
|
let e = (s = Object.getOwnPropertyDescriptor(r.props, "ref")) == null ? void 0 : s.get, t = e && "isReactWarning" in e && e.isReactWarning;
|
|
68406
68411
|
return t ? r.ref : (e = (c = Object.getOwnPropertyDescriptor(r, "ref")) == null ? void 0 : c.get, t = e && "isReactWarning" in e && e.isReactWarning, t ? r.props.ref : r.props.ref || r.ref);
|
|
68407
68412
|
}
|
|
68408
|
-
var
|
|
68413
|
+
var Xg = [
|
|
68409
68414
|
"a",
|
|
68410
68415
|
"button",
|
|
68411
68416
|
"div",
|
|
@@ -68422,7 +68427,7 @@ var Jg = [
|
|
|
68422
68427
|
"span",
|
|
68423
68428
|
"svg",
|
|
68424
68429
|
"ul"
|
|
68425
|
-
], yo =
|
|
68430
|
+
], yo = Xg.reduce((r, e) => {
|
|
68426
68431
|
const t = Fe.forwardRef((s, c) => {
|
|
68427
68432
|
const { asChild: u, ...o } = s, a = u ? ju : e;
|
|
68428
68433
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ oe(a, { ...o, ref: c });
|
|
@@ -68640,7 +68645,7 @@ function os({
|
|
|
68640
68645
|
middle: t,
|
|
68641
68646
|
right: s
|
|
68642
68647
|
}) {
|
|
68643
|
-
const c = Yl(), { settings: u, runnerError: o } =
|
|
68648
|
+
const c = Yl(), { settings: u, runnerError: o } = Rt();
|
|
68644
68649
|
return ze(() => {
|
|
68645
68650
|
if (!o)
|
|
68646
68651
|
return;
|
|
@@ -68759,5 +68764,5 @@ export {
|
|
|
68759
68764
|
c_ as TopNavigation,
|
|
68760
68765
|
qt as useBlock,
|
|
68761
68766
|
hg as useClient,
|
|
68762
|
-
|
|
68767
|
+
Rt as useSettings
|
|
68763
68768
|
};
|