@redocly/replay 0.8.6 → 0.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/replay.cjs +45 -45
- package/dist/replay.js +263 -256
- package/package.json +2 -2
package/dist/replay.js
CHANGED
|
@@ -2,8 +2,8 @@ var n4 = Object.defineProperty;
|
|
|
2
2
|
var r4 = (t, e, n) => e in t ? n4(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var Mv = (t, e, n) => r4(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
4
|
import * as q from "react";
|
|
5
|
-
import it, { useRef as Ke, useContext as Ii, createElement as Xi, useState as fe, useCallback as Ue, createContext as Ac, forwardRef as
|
|
6
|
-
import { CheckmarkIcon as Na, ChevronUpIcon as s4, ChevronDownIcon as Fa, Switch as a4, Button as Oe, useThemeHooks as l4, ChevronRightIcon as Pc, WarningFilledIcon as RO, ViewOffIcon as zd, ViewIcon as Ld, CopyButton as
|
|
5
|
+
import it, { useRef as Ke, useContext as Ii, createElement as Xi, useState as fe, useCallback as Ue, createContext as Ac, forwardRef as vs, Fragment as _r, useLayoutEffect as qk, useMemo as We, Component as i4, useEffect as _e, useImperativeHandle as $O, memo as no, useTransition as o4, StrictMode as jO } from "react";
|
|
6
|
+
import { CheckmarkIcon as Na, ChevronUpIcon as s4, ChevronDownIcon as Fa, Switch as a4, Button as Oe, useThemeHooks as l4, ChevronRightIcon as Pc, WarningFilledIcon as RO, ViewOffIcon as zd, ViewIcon as Ld, CopyButton as ys, EditIcon as ga, ValueVariableIcon as c4, Portal as DO, H4 as Uk, CloseIcon as Ei, useModalScrollLock as u4, CheckboxIcon as Hk, TrashCanIcon as Un, SecurityVariablesEnvSuffix as ht, isString as Jk, Segmented as Kk, CircleDashIcon as QO, CloseFilledIcon as BO, InformationIcon as Ec, SpinnerIcon as Xd, Select as Gd, Tag as K0, AddIcon as Eo, FileIcon as f4, CharacterIcon as d4, DocumentBlankIcon as h4, CloudUploadIcon as p4, ChevronSortIcon as g4, Markdown as m4, SecurityIcon as O4, CodeIcon as eA, DataFormatIcon as x4, TableBuiltIcon as tA, CookieIcon as nA, SearchIcon as v4, CloseOutlineIcon as y4, FolderAddIcon as qu, FolderIcon as b4, StatusCode as rA, CleanIcon as S4, BookmarkAddIcon as w4, IBMCloudHyperProtectCryptoServicesIcon as C4, DownloadIcon as iA, DocumentAddIcon as eg, ExportIcon as k4, Dropdown as Nv, OverflowMenuVerticalIcon as Fv, DropdownMenu as Zv, ArrowUpRightIcon as A4, RestartIcon as P4, Typography as E4, useOutsideClick as T4, useFocusTrap as I4, SaveIcon as $4, ArrowRightIcon as j4, TimeIcon as R4, FileStorageIcon as D4, Spinner as Q4, useMount as B4, markdoc as _4, SidePanelOpenIcon as M4, SidePanelCloseIcon as N4, GlobalStyle as F4 } from "@redocly/theme";
|
|
7
7
|
import Z4, { createPortal as oA } from "react-dom";
|
|
8
8
|
var Ze = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
9
9
|
function Za(t) {
|
|
@@ -821,7 +821,7 @@ function X4() {
|
|
|
821
821
|
}()), Ot;
|
|
822
822
|
}
|
|
823
823
|
process.env.NODE_ENV === "production" ? ng.exports = L4() : ng.exports = X4();
|
|
824
|
-
var
|
|
824
|
+
var as = ng.exports;
|
|
825
825
|
function G4(t) {
|
|
826
826
|
function e(R, Q, _, G, M) {
|
|
827
827
|
for (var K = 0, V = 0, ae = 0, te = 0, oe, Y, he = 0, X = 0, ee, de = ee = oe = 0, ve = 0, Re = 0, ye = 0, Ee = 0, $e = _.length, Ge = $e - 1, Je, be = "", lt = "", wt = "", nn = "", gn; ve < $e; ) {
|
|
@@ -1528,7 +1528,7 @@ var Jv = function(t, e) {
|
|
|
1528
1528
|
for (var n = [t[0]], r = 0, i = e.length; r < i; r += 1) n.push(e[r], t[r + 1]);
|
|
1529
1529
|
return n;
|
|
1530
1530
|
}, ig = function(t) {
|
|
1531
|
-
return t !== null && typeof t == "object" && (t.toString ? t.toString() : Object.prototype.toString.call(t)) === "[object Object]" && !
|
|
1531
|
+
return t !== null && typeof t == "object" && (t.toString ? t.toString() : Object.prototype.toString.call(t)) === "[object Object]" && !as.typeOf(t);
|
|
1532
1532
|
}, wf = Object.freeze([]), bo = Object.freeze({});
|
|
1533
1533
|
function Yl(t) {
|
|
1534
1534
|
return typeof t == "function";
|
|
@@ -1770,11 +1770,11 @@ function sg(t) {
|
|
|
1770
1770
|
for (e = Math.abs(t); e > 52; e = e / 52 | 0) n = ey(e % 52) + n;
|
|
1771
1771
|
return (ey(e % 52) + n).replace(wR, "$1-$2");
|
|
1772
1772
|
}
|
|
1773
|
-
var
|
|
1773
|
+
var ts = function(t, e) {
|
|
1774
1774
|
for (var n = e.length; n; ) t = 33 * t ^ e.charCodeAt(--n);
|
|
1775
1775
|
return t;
|
|
1776
1776
|
}, fA = function(t) {
|
|
1777
|
-
return
|
|
1777
|
+
return ts(5381, t);
|
|
1778
1778
|
};
|
|
1779
1779
|
function CR(t) {
|
|
1780
1780
|
for (var e = 0; e < t.length; e += 1) {
|
|
@@ -1785,13 +1785,13 @@ function CR(t) {
|
|
|
1785
1785
|
}
|
|
1786
1786
|
var kR = fA("5.3.11"), AR = function() {
|
|
1787
1787
|
function t(e, n, r) {
|
|
1788
|
-
this.rules = e, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (r === void 0 || r.isStatic) && CR(e), this.componentId = n, this.baseHash =
|
|
1788
|
+
this.rules = e, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (r === void 0 || r.isStatic) && CR(e), this.componentId = n, this.baseHash = ts(kR, n), this.baseStyle = r, uA.registerId(n);
|
|
1789
1789
|
}
|
|
1790
1790
|
return t.prototype.generateAndInjectStyles = function(e, n, r) {
|
|
1791
1791
|
var i = this.componentId, o = [];
|
|
1792
1792
|
if (this.baseStyle && o.push(this.baseStyle.generateAndInjectStyles(e, n, r)), this.isStatic && !r.hash) if (this.staticRulesId && n.hasNameForId(i, this.staticRulesId)) o.push(this.staticRulesId);
|
|
1793
1793
|
else {
|
|
1794
|
-
var s = Oa(this.rules, e, n, r).join(""), a = sg(
|
|
1794
|
+
var s = Oa(this.rules, e, n, r).join(""), a = sg(ts(this.baseHash, s) >>> 0);
|
|
1795
1795
|
if (!n.hasNameForId(i, a)) {
|
|
1796
1796
|
var l = r(s, "." + a, void 0, i);
|
|
1797
1797
|
n.insertRules(i, a, l);
|
|
@@ -1799,12 +1799,12 @@ var kR = fA("5.3.11"), AR = function() {
|
|
|
1799
1799
|
o.push(a), this.staticRulesId = a;
|
|
1800
1800
|
}
|
|
1801
1801
|
else {
|
|
1802
|
-
for (var c = this.rules.length, u =
|
|
1802
|
+
for (var c = this.rules.length, u = ts(this.baseHash, r.hash), f = "", d = 0; d < c; d++) {
|
|
1803
1803
|
var h = this.rules[d];
|
|
1804
|
-
if (typeof h == "string") f += h, process.env.NODE_ENV !== "production" && (u =
|
|
1804
|
+
if (typeof h == "string") f += h, process.env.NODE_ENV !== "production" && (u = ts(u, h + d));
|
|
1805
1805
|
else if (h) {
|
|
1806
1806
|
var p = Oa(h, e, n, r), O = Array.isArray(p) ? p.join("") : p;
|
|
1807
|
-
u =
|
|
1807
|
+
u = ts(u, O + d), f += O;
|
|
1808
1808
|
}
|
|
1809
1809
|
}
|
|
1810
1810
|
if (f) {
|
|
@@ -1865,7 +1865,7 @@ function TR(t) {
|
|
|
1865
1865
|
return f = [], m;
|
|
1866
1866
|
}
|
|
1867
1867
|
}])), p.hash = c.length ? c.reduce(function(O, m) {
|
|
1868
|
-
return m.name || Wa(15),
|
|
1868
|
+
return m.name || Wa(15), ts(O, m.name);
|
|
1869
1869
|
}, 5381).toString() : "", p;
|
|
1870
1870
|
}
|
|
1871
1871
|
var dA = it.createContext();
|
|
@@ -1910,7 +1910,7 @@ function Oa(t, e, n, r) {
|
|
|
1910
1910
|
if (Yl(t)) {
|
|
1911
1911
|
if (typeof (c = t) != "function" || c.prototype && c.prototype.isReactComponent || !e) return t;
|
|
1912
1912
|
var l = t(e);
|
|
1913
|
-
return process.env.NODE_ENV !== "production" &&
|
|
1913
|
+
return process.env.NODE_ENV !== "production" && as.isElement(l) && console.warn(og(t) + " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."), Oa(l, e, n, r);
|
|
1914
1914
|
}
|
|
1915
1915
|
var c;
|
|
1916
1916
|
return t instanceof pA ? n ? (t.inject(n, r), t.getName(r)) : t : ig(t) ? function u(f, d) {
|
|
@@ -2042,7 +2042,7 @@ Example:
|
|
|
2042
2042
|
}
|
|
2043
2043
|
var I = function(t) {
|
|
2044
2044
|
return function e(n, r, i) {
|
|
2045
|
-
if (i === void 0 && (i = bo), !
|
|
2045
|
+
if (i === void 0 && (i = bo), !as.isValidElementType(r)) return Wa(1, String(r));
|
|
2046
2046
|
var o = function() {
|
|
2047
2047
|
return n(r, i, ql.apply(void 0, arguments));
|
|
2048
2048
|
};
|
|
@@ -2747,7 +2747,7 @@ var ip = {
|
|
|
2747
2747
|
},
|
|
2748
2748
|
hiddenInterceptDependencyListsModeDebug: !1
|
|
2749
2749
|
};
|
|
2750
|
-
function
|
|
2750
|
+
function bs(t, e) {
|
|
2751
2751
|
for (var n = 0, r = t || []; n < r.length; n++) {
|
|
2752
2752
|
var i = r[n];
|
|
2753
2753
|
if (i === Object(i)) {
|
|
@@ -2759,32 +2759,32 @@ function ys(t, e) {
|
|
|
2759
2759
|
}
|
|
2760
2760
|
var Af;
|
|
2761
2761
|
function UR(t, e) {
|
|
2762
|
-
return
|
|
2762
|
+
return bs(e), Af(t, e);
|
|
2763
2763
|
}
|
|
2764
2764
|
var Pf;
|
|
2765
2765
|
function HR(t, e) {
|
|
2766
|
-
return
|
|
2766
|
+
return bs(e), Pf(t, e);
|
|
2767
2767
|
}
|
|
2768
2768
|
var ug;
|
|
2769
2769
|
function JR(t, e) {
|
|
2770
|
-
return
|
|
2770
|
+
return bs(e), ug(t, e);
|
|
2771
2771
|
}
|
|
2772
2772
|
var fg;
|
|
2773
2773
|
function KR(t, e, n) {
|
|
2774
|
-
return
|
|
2774
|
+
return bs(n), fg(t, e, n);
|
|
2775
2775
|
}
|
|
2776
2776
|
var dg;
|
|
2777
2777
|
function eD(t, e) {
|
|
2778
|
-
return
|
|
2778
|
+
return bs(e), dg(t, e);
|
|
2779
2779
|
}
|
|
2780
2780
|
var hg;
|
|
2781
2781
|
function tD(t, e) {
|
|
2782
|
-
return
|
|
2782
|
+
return bs(e), hg(t, e);
|
|
2783
2783
|
}
|
|
2784
2784
|
var pg;
|
|
2785
2785
|
function nD(t, e) {
|
|
2786
2786
|
return pg(t, function(n, r) {
|
|
2787
|
-
return
|
|
2787
|
+
return bs(Object.keys(r).map(function(i) {
|
|
2788
2788
|
return r[i];
|
|
2789
2789
|
})), (e || XR)(n, r);
|
|
2790
2790
|
});
|
|
@@ -2796,9 +2796,9 @@ rD();
|
|
|
2796
2796
|
var op = typeof window < "u" ? Pf : Af;
|
|
2797
2797
|
const VO = { active: !0, key: "", value: "" };
|
|
2798
2798
|
var H = /* @__PURE__ */ ((t) => (t.NoAuth = "No Auth", t.BasicAuth = "Basic Auth", t.DigestAuth = "Digest Auth", t.JWT = "JWT", t.APIKey = "API key", t.OAuth2 = "OAuth 2.0", t.OpenIDConnect = "OpenID Connect", t))(H || {}), ie = /* @__PURE__ */ ((t) => (t.ClientCredentials = "Client Credentials", t.ClientCredentialsWithJwtAssertion = "Client Credentials with JWT Assertion", t.AuthorizationCode = "Authorization Code", t.Implicit = "Implicit", t.Password = "Password", t))(ie || {}), Qr = /* @__PURE__ */ ((t) => (t.Body = "Body", t.Header = "Header", t.URL = "URL", t))(Qr || {});
|
|
2799
|
-
const
|
|
2799
|
+
const Ss = "{{", ws = "}}", yA = `${Ss}(.*?)${ws}`;
|
|
2800
2800
|
function Va(t) {
|
|
2801
|
-
const e = new RegExp(`${
|
|
2801
|
+
const e = new RegExp(`${Ss}(.*?)${ws}`, "g"), n = [];
|
|
2802
2802
|
let r;
|
|
2803
2803
|
for (; (r = e.exec(t)) !== null; )
|
|
2804
2804
|
n.push({
|
|
@@ -4045,7 +4045,7 @@ var Gr, Kl = function(e, n, r) {
|
|
|
4045
4045
|
process.env.NODE_ENV !== "production" && (JO.displayName = "EmotionCacheContext");
|
|
4046
4046
|
JO.Provider;
|
|
4047
4047
|
var KO = function(e) {
|
|
4048
|
-
return /* @__PURE__ */
|
|
4048
|
+
return /* @__PURE__ */ vs(function(n, r) {
|
|
4049
4049
|
var i = Ii(JO);
|
|
4050
4050
|
return e(n, i, r);
|
|
4051
4051
|
});
|
|
@@ -5917,7 +5917,7 @@ function By() {
|
|
|
5917
5917
|
function _y() {
|
|
5918
5918
|
return "ontouchstart" in window || navigator.maxTouchPoints;
|
|
5919
5919
|
}
|
|
5920
|
-
var My = !!(typeof window < "u" && window.document && window.document.createElement), fl = 0,
|
|
5920
|
+
var My = !!(typeof window < "u" && window.document && window.document.createElement), fl = 0, js = {
|
|
5921
5921
|
capture: !1,
|
|
5922
5922
|
passive: !1
|
|
5923
5923
|
};
|
|
@@ -5935,7 +5935,7 @@ function EB(t) {
|
|
|
5935
5935
|
u && (u[p] = O);
|
|
5936
5936
|
}), u && (u.paddingRight = "".concat(h, "px"));
|
|
5937
5937
|
}
|
|
5938
|
-
c && _y() && (c.addEventListener("touchmove", Dy,
|
|
5938
|
+
c && _y() && (c.addEventListener("touchmove", Dy, js), l && (l.addEventListener("touchstart", By, js), l.addEventListener("touchmove", Qy, js))), fl += 1;
|
|
5939
5939
|
}
|
|
5940
5940
|
}, [r]), a = Ue(function(l) {
|
|
5941
5941
|
if (My) {
|
|
@@ -5943,7 +5943,7 @@ function EB(t) {
|
|
|
5943
5943
|
fl = Math.max(fl - 1, 0), r && fl < 1 && jy.forEach(function(f) {
|
|
5944
5944
|
var d = i.current[f];
|
|
5945
5945
|
u && (u[f] = d);
|
|
5946
|
-
}), c && _y() && (c.removeEventListener("touchmove", Dy,
|
|
5946
|
+
}), c && _y() && (c.removeEventListener("touchmove", Dy, js), l && (l.removeEventListener("touchstart", By, js), l.removeEventListener("touchmove", Qy, js)));
|
|
5947
5947
|
}
|
|
5948
5948
|
}, [r]);
|
|
5949
5949
|
return _e(function() {
|
|
@@ -7152,7 +7152,7 @@ var hP = function(e) {
|
|
|
7152
7152
|
}]), n;
|
|
7153
7153
|
}(i4);
|
|
7154
7154
|
pP.defaultProps = HB;
|
|
7155
|
-
var n_ = /* @__PURE__ */
|
|
7155
|
+
var n_ = /* @__PURE__ */ vs(function(t, e) {
|
|
7156
7156
|
var n = pD(t);
|
|
7157
7157
|
return /* @__PURE__ */ q.createElement(pP, Ae({
|
|
7158
7158
|
ref: e
|
|
@@ -7601,7 +7601,7 @@ const OP = {
|
|
|
7601
7601
|
}
|
|
7602
7602
|
},
|
|
7603
7603
|
additionalProperties: !1
|
|
7604
|
-
},
|
|
7604
|
+
}, Rs = {
|
|
7605
7605
|
type: "object",
|
|
7606
7606
|
properties: {
|
|
7607
7607
|
includeByName: {
|
|
@@ -7624,12 +7624,12 @@ const OP = {
|
|
|
7624
7624
|
name: {
|
|
7625
7625
|
type: "string"
|
|
7626
7626
|
},
|
|
7627
|
-
items:
|
|
7628
|
-
queries:
|
|
7629
|
-
mutations:
|
|
7630
|
-
subscriptions:
|
|
7631
|
-
types:
|
|
7632
|
-
directives:
|
|
7627
|
+
items: Rs,
|
|
7628
|
+
queries: Rs,
|
|
7629
|
+
mutations: Rs,
|
|
7630
|
+
subscriptions: Rs,
|
|
7631
|
+
types: Rs,
|
|
7632
|
+
directives: Rs
|
|
7633
7633
|
},
|
|
7634
7634
|
required: ["name"],
|
|
7635
7635
|
additionalProperties: !1
|
|
@@ -7868,7 +7868,7 @@ const OP = {
|
|
|
7868
7868
|
beforeInfo: { type: "array", items: zy },
|
|
7869
7869
|
end: { type: "array", items: zy }
|
|
7870
7870
|
}
|
|
7871
|
-
},
|
|
7871
|
+
}, ns = {
|
|
7872
7872
|
type: "object",
|
|
7873
7873
|
properties: {
|
|
7874
7874
|
main: { type: "string" },
|
|
@@ -7886,7 +7886,7 @@ const OP = {
|
|
|
7886
7886
|
}
|
|
7887
7887
|
}, S_ = {
|
|
7888
7888
|
type: "object",
|
|
7889
|
-
properties: oh(
|
|
7889
|
+
properties: oh(ns.properties, ["light", "dark"])
|
|
7890
7890
|
}, w_ = {
|
|
7891
7891
|
type: "object",
|
|
7892
7892
|
properties: {
|
|
@@ -7910,7 +7910,7 @@ const OP = {
|
|
|
7910
7910
|
}
|
|
7911
7911
|
}, k_ = {
|
|
7912
7912
|
type: "object",
|
|
7913
|
-
properties: Xa(
|
|
7913
|
+
properties: Xa(ns.properties, ["dark"])
|
|
7914
7914
|
}, A_ = {
|
|
7915
7915
|
type: "object",
|
|
7916
7916
|
properties: {
|
|
@@ -7921,17 +7921,17 @@ const OP = {
|
|
|
7921
7921
|
}, P_ = {
|
|
7922
7922
|
type: "object",
|
|
7923
7923
|
properties: {
|
|
7924
|
-
accent:
|
|
7924
|
+
accent: ns,
|
|
7925
7925
|
border: S_,
|
|
7926
|
-
error:
|
|
7926
|
+
error: ns,
|
|
7927
7927
|
http: w_,
|
|
7928
|
-
primary:
|
|
7928
|
+
primary: ns,
|
|
7929
7929
|
responses: C_,
|
|
7930
7930
|
secondary: k_,
|
|
7931
|
-
success:
|
|
7931
|
+
success: ns,
|
|
7932
7932
|
text: A_,
|
|
7933
7933
|
tonalOffset: { type: "number" },
|
|
7934
|
-
warning:
|
|
7934
|
+
warning: ns
|
|
7935
7935
|
}
|
|
7936
7936
|
}, gu = {
|
|
7937
7937
|
type: "object",
|
|
@@ -9082,7 +9082,7 @@ const x9 = {
|
|
|
9082
9082
|
}
|
|
9083
9083
|
},
|
|
9084
9084
|
additionalProperties: !1
|
|
9085
|
-
},
|
|
9085
|
+
}, Uo = {
|
|
9086
9086
|
type: "object",
|
|
9087
9087
|
additionalProperties: { type: "string" }
|
|
9088
9088
|
}, j9 = {
|
|
@@ -9090,19 +9090,26 @@ const x9 = {
|
|
|
9090
9090
|
properties: {
|
|
9091
9091
|
teamNamePatterns: { type: "array", items: { type: "string" } },
|
|
9092
9092
|
teamFolders: { type: "array", items: { type: "string" } },
|
|
9093
|
-
teamFoldersBaseRoles:
|
|
9094
|
-
cms:
|
|
9093
|
+
teamFoldersBaseRoles: Uo,
|
|
9094
|
+
cms: Uo,
|
|
9095
9095
|
// deprecated in favor of reunite
|
|
9096
|
-
reunite:
|
|
9096
|
+
reunite: Uo,
|
|
9097
|
+
features: {
|
|
9098
|
+
type: "object",
|
|
9099
|
+
properties: {
|
|
9100
|
+
aiSearch: Uo
|
|
9101
|
+
},
|
|
9102
|
+
additionalProperties: !1
|
|
9103
|
+
},
|
|
9097
9104
|
content: {
|
|
9098
9105
|
type: "object",
|
|
9099
9106
|
properties: {
|
|
9100
|
-
"**":
|
|
9107
|
+
"**": Uo
|
|
9101
9108
|
},
|
|
9102
|
-
additionalProperties:
|
|
9109
|
+
additionalProperties: Uo
|
|
9103
9110
|
}
|
|
9104
9111
|
},
|
|
9105
|
-
additionalProperties:
|
|
9112
|
+
additionalProperties: Uo
|
|
9106
9113
|
}, R9 = {
|
|
9107
9114
|
type: "object",
|
|
9108
9115
|
properties: { static: { type: "string" } },
|
|
@@ -9695,8 +9702,8 @@ function cx() {
|
|
|
9695
9702
|
});
|
|
9696
9703
|
}
|
|
9697
9704
|
function ah(t) {
|
|
9698
|
-
var e, n, r =
|
|
9699
|
-
return !(typeof r == "function" && !((e = r.prototype) !== null && e !== void 0 && e.render) && r.$$typeof !==
|
|
9705
|
+
var e, n, r = as.isMemo(t) ? t.type.type : t.type;
|
|
9706
|
+
return !(typeof r == "function" && !((e = r.prototype) !== null && e !== void 0 && e.render) && r.$$typeof !== as.ForwardRef || typeof t == "function" && !((n = t.prototype) !== null && n !== void 0 && n.render) && t.$$typeof !== as.ForwardRef);
|
|
9700
9707
|
}
|
|
9701
9708
|
var zP = /* @__PURE__ */ q.createContext(null), eb = process.env.NODE_ENV !== "test" && Si() ? q.useLayoutEffect : q.useEffect, yr = function(e, n) {
|
|
9702
9709
|
var r = q.useRef(!0);
|
|
@@ -9922,7 +9929,7 @@ process.env.NODE_ENV !== "production" && (fx.displayName = "Portal");
|
|
|
9922
9929
|
function Rg(t) {
|
|
9923
9930
|
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [];
|
|
9924
9931
|
return it.Children.forEach(t, function(r) {
|
|
9925
|
-
r == null && !e.keepEmpty || (Array.isArray(r) ? n = n.concat(Rg(r)) :
|
|
9932
|
+
r == null && !e.keepEmpty || (Array.isArray(r) ? n = n.concat(Rg(r)) : as.isFragment(r) && r.props ? n = n.concat(Rg(r.props.children, e)) : n.push(r));
|
|
9926
9933
|
}), n;
|
|
9927
9934
|
}
|
|
9928
9935
|
function Lf(t) {
|
|
@@ -10337,7 +10344,7 @@ function FM(t) {
|
|
|
10337
10344
|
function Bg(t) {
|
|
10338
10345
|
return FM(t) ? r2(t) : null;
|
|
10339
10346
|
}
|
|
10340
|
-
function
|
|
10347
|
+
function Ko(t) {
|
|
10341
10348
|
var e = q.useRef();
|
|
10342
10349
|
e.current = t;
|
|
10343
10350
|
var n = q.useCallback(function() {
|
|
@@ -10439,7 +10446,7 @@ function af(t) {
|
|
|
10439
10446
|
}
|
|
10440
10447
|
return [i, s];
|
|
10441
10448
|
}
|
|
10442
|
-
var
|
|
10449
|
+
var es = "none", Ou = "appear", xu = "enter", vu = "leave", ub = "none", Xr = "prepare", Gs = "start", Ys = "active", dx = "end", o2 = "prepared";
|
|
10443
10450
|
function fb(t, e) {
|
|
10444
10451
|
var n = {};
|
|
10445
10452
|
return n[t.toLowerCase()] = e.toLowerCase(), n["Webkit".concat(t)] = "webkit".concat(e), n["Moz".concat(t)] = "moz".concat(e), n["ms".concat(t)] = "MS".concat(e), n["O".concat(t)] = "o".concat(e.toLowerCase()), n;
|
|
@@ -10585,19 +10592,19 @@ const i8 = function(t, e, n) {
|
|
|
10585
10592
|
}, []), [f, o];
|
|
10586
10593
|
};
|
|
10587
10594
|
function o8(t, e, n, r) {
|
|
10588
|
-
var i = r.motionEnter, o = i === void 0 ? !0 : i, s = r.motionAppear, a = s === void 0 ? !0 : s, l = r.motionLeave, c = l === void 0 ? !0 : l, u = r.motionDeadline, f = r.motionLeaveImmediately, d = r.onAppearPrepare, h = r.onEnterPrepare, p = r.onLeavePrepare, O = r.onAppearStart, m = r.onEnterStart, x = r.onLeaveStart, v = r.onAppearActive, y = r.onEnterActive, S = r.onLeaveActive, b = r.onAppearEnd, w = r.onEnterEnd, C = r.onLeaveEnd, k = r.onVisibleChanged, T = af(), A = Le(T, 2), E = A[0], $ = A[1], j = af(
|
|
10595
|
+
var i = r.motionEnter, o = i === void 0 ? !0 : i, s = r.motionAppear, a = s === void 0 ? !0 : s, l = r.motionLeave, c = l === void 0 ? !0 : l, u = r.motionDeadline, f = r.motionLeaveImmediately, d = r.onAppearPrepare, h = r.onEnterPrepare, p = r.onLeavePrepare, O = r.onAppearStart, m = r.onEnterStart, x = r.onLeaveStart, v = r.onAppearActive, y = r.onEnterActive, S = r.onLeaveActive, b = r.onAppearEnd, w = r.onEnterEnd, C = r.onLeaveEnd, k = r.onVisibleChanged, T = af(), A = Le(T, 2), E = A[0], $ = A[1], j = af(es), B = Le(j, 2), D = B[0], N = B[1], z = af(null), Z = Le(z, 2), J = Z[0], L = Z[1], W = Ke(!1), R = Ke(null);
|
|
10589
10596
|
function Q() {
|
|
10590
10597
|
return n();
|
|
10591
10598
|
}
|
|
10592
10599
|
var _ = Ke(!1);
|
|
10593
10600
|
function G() {
|
|
10594
|
-
N(
|
|
10601
|
+
N(es, !0), L(null, !0);
|
|
10595
10602
|
}
|
|
10596
10603
|
function M(ye) {
|
|
10597
10604
|
var Ee = Q();
|
|
10598
10605
|
if (!(ye && !ye.deadline && ye.target !== Ee)) {
|
|
10599
10606
|
var $e = _.current, Ge;
|
|
10600
|
-
D === Ou && $e ? Ge = b == null ? void 0 : b(Ee, ye) : D === xu && $e ? Ge = w == null ? void 0 : w(Ee, ye) : D === vu && $e && (Ge = C == null ? void 0 : C(Ee, ye)), D !==
|
|
10607
|
+
D === Ou && $e ? Ge = b == null ? void 0 : b(Ee, ye) : D === xu && $e ? Ge = w == null ? void 0 : w(Ee, ye) : D === vu && $e && (Ge = C == null ? void 0 : C(Ee, ye)), D !== es && $e && Ge !== !1 && G();
|
|
10601
10608
|
}
|
|
10602
10609
|
}
|
|
10603
10610
|
var K = KM(M), V = Le(K, 1), ae = V[0], te = function(Ee) {
|
|
@@ -10636,12 +10643,12 @@ function o8(t, e, n, r) {
|
|
|
10636
10643
|
var Ee;
|
|
10637
10644
|
!ye && e && a && (Ee = Ou), ye && e && o && (Ee = xu), (ye && !e && c || !ye && f && !e && c) && (Ee = vu);
|
|
10638
10645
|
var $e = te(Ee);
|
|
10639
|
-
Ee && (t || $e[Xr]) ? (N(Ee), X()) : N(
|
|
10646
|
+
Ee && (t || $e[Xr]) ? (N(Ee), X()) : N(es);
|
|
10640
10647
|
}, [e]), _e(function() {
|
|
10641
10648
|
// Cancel appear
|
|
10642
10649
|
(D === Ou && !a || // Cancel enter
|
|
10643
10650
|
D === xu && !o || // Cancel leave
|
|
10644
|
-
D === vu && !c) && N(
|
|
10651
|
+
D === vu && !c) && N(es);
|
|
10645
10652
|
}, [a, o, c]), _e(function() {
|
|
10646
10653
|
return function() {
|
|
10647
10654
|
W.current = !1, clearTimeout(R.current);
|
|
@@ -10649,7 +10656,7 @@ function o8(t, e, n, r) {
|
|
|
10649
10656
|
}, []);
|
|
10650
10657
|
var ve = q.useRef(!1);
|
|
10651
10658
|
_e(function() {
|
|
10652
|
-
E && (ve.current = !0), E !== void 0 && D ===
|
|
10659
|
+
E && (ve.current = !0), E !== void 0 && D === es && ((ve.current || E) && (k == null || k(E)), ve.current = !0);
|
|
10653
10660
|
}, [E, D]);
|
|
10654
10661
|
var Re = J;
|
|
10655
10662
|
return oe[Xr] && ee === Gs && (Re = se({
|
|
@@ -10680,7 +10687,7 @@ function s8(t) {
|
|
|
10680
10687
|
});
|
|
10681
10688
|
if (!f)
|
|
10682
10689
|
j = null;
|
|
10683
|
-
else if (C ===
|
|
10690
|
+
else if (C === es)
|
|
10684
10691
|
A ? j = f(se({}, B), $) : !c && E.current && h ? j = f(se(se({}, B), {}, {
|
|
10685
10692
|
className: h
|
|
10686
10693
|
}), $) : u || !c && !h ? j = f(se(se({}, B), {}, {
|
|
@@ -11092,10 +11099,10 @@ function v8(t, e, n, r, i, o, s) {
|
|
|
11092
11099
|
h.current = {};
|
|
11093
11100
|
};
|
|
11094
11101
|
t || p();
|
|
11095
|
-
var O =
|
|
11102
|
+
var O = Ko(function() {
|
|
11096
11103
|
if (e && n && t) {
|
|
11097
11104
|
let kr = function(eu, Ar) {
|
|
11098
|
-
var
|
|
11105
|
+
var Is = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ee, tu = L.x + eu, $s = L.y + Ar, nu = tu + ae, al = $s + V, ru = Math.max(tu, Is.left), Hh = Math.max($s, Is.top), Jh = Math.min(nu, Is.right), Kh = Math.min(al, Is.bottom);
|
|
11099
11106
|
return Math.max(0, (Jh - ru) * (Kh - Hh));
|
|
11100
11107
|
}, Kc = function() {
|
|
11101
11108
|
re = L.y + Qt, le = re + V, Ce = L.x + Dt, Ye = Ce + ae;
|
|
@@ -11183,7 +11190,7 @@ function v8(t, e, n, r, i, o, s) {
|
|
|
11183
11190
|
typeof si == "number" && (Ce < ye.left && (Dt -= Ce - ye.left - xn, Z.x + oe < ye.left + si && (Dt += Z.x - ye.left + oe - si)), Ye > ye.right && (Dt -= Ye - ye.right - xn, Z.x > ye.right - si && (Dt += Z.x - ye.right + si)));
|
|
11184
11191
|
var Fi = oo === !0 ? 0 : oo;
|
|
11185
11192
|
typeof Fi == "number" && (re < ye.top && (Qt -= re - ye.top - vn, Z.y + te < ye.top + Fi && (Qt += Z.y - ye.top + te - Fi)), le > ye.bottom && (Qt -= le - ye.bottom - vn, Z.y > ye.bottom - Fi && (Qt += Z.y - ye.bottom + Fi)));
|
|
11186
|
-
var ol = L.x + Dt, qc = ol + ae, so = L.y + Qt, Yo = so + V, sl = Z.x,
|
|
11193
|
+
var ol = L.x + Dt, qc = ol + ae, so = L.y + Qt, Yo = so + V, sl = Z.x, Ts = sl + oe, Zi = Z.y, Vh = Zi + te, zh = Math.max(ol, sl), Lh = Math.min(qc, Ts), Uc = (zh + Lh) / 2, Xh = Uc - ol, Gh = Math.max(so, Zi), Yh = Math.min(Yo, Vh), Hc = (Gh + Yh) / 2, qh = Hc - so;
|
|
11187
11194
|
s == null || s(e, zn);
|
|
11188
11195
|
var Uh = Ge.right - L.x - (Dt + L.width), Jc = Ge.bottom - L.y - (Qt + L.height);
|
|
11189
11196
|
u({
|
|
@@ -11270,16 +11277,16 @@ function w8() {
|
|
|
11270
11277
|
Ee.current[De] = zt, $e == null || $e.registerSubPopup(De, zt);
|
|
11271
11278
|
}
|
|
11272
11279
|
};
|
|
11273
|
-
}, [$e]), Je = XM(), be = q.useState(null), lt = Le(be, 2), wt = lt[0], nn = lt[1], gn = q.useRef(null), xn =
|
|
11280
|
+
}, [$e]), Je = XM(), be = q.useState(null), lt = Le(be, 2), wt = lt[0], nn = lt[1], gn = q.useRef(null), xn = Ko(function(xe) {
|
|
11274
11281
|
gn.current = xe, Lf(xe) && wt !== xe && nn(xe), $e == null || $e.registerSubPopup(Je, xe);
|
|
11275
|
-
}), vn = q.useState(null), Wn = Le(vn, 2), rn = Wn[0], zo = Wn[1], _i = q.useRef(null), ro =
|
|
11282
|
+
}), vn = q.useState(null), Wn = Le(vn, 2), rn = Wn[0], zo = Wn[1], _i = q.useRef(null), ro = Ko(function(xe) {
|
|
11276
11283
|
Lf(xe) && rn !== xe && (zo(xe), _i.current = xe);
|
|
11277
|
-
}), Wr = q.Children.only(s), Rn = (Wr == null ? void 0 : Wr.props) || {}, lr = {}, Vn =
|
|
11284
|
+
}), Wr = q.Children.only(s), Rn = (Wr == null ? void 0 : Wr.props) || {}, lr = {}, Vn = Ko(function(xe) {
|
|
11278
11285
|
var De, zt, sn = rn;
|
|
11279
11286
|
return (sn == null ? void 0 : sn.contains(xe)) || ((De = Bg(sn)) === null || De === void 0 ? void 0 : De.host) === xe || xe === sn || (wt == null ? void 0 : wt.contains(xe)) || ((zt = Bg(wt)) === null || zt === void 0 ? void 0 : zt.host) === xe || xe === wt || Object.values(Ee.current).some(function(Lt) {
|
|
11280
11287
|
return (Lt == null ? void 0 : Lt.contains(xe)) || xe === Lt;
|
|
11281
11288
|
});
|
|
11282
|
-
}), on = xb(o, M, ae, V), cr = xb(o, K, oe, te), Vr = q.useState(d || !1), zn = Le(Vr, 2), Dt = zn[0], Qt = zn[1], At = f ?? Dt, ri =
|
|
11289
|
+
}), on = xb(o, M, ae, V), cr = xb(o, K, oe, te), Vr = q.useState(d || !1), zn = Le(Vr, 2), Dt = zn[0], Qt = zn[1], At = f ?? Dt, ri = Ko(function(xe) {
|
|
11283
11290
|
f === void 0 && Qt(xe);
|
|
11284
11291
|
});
|
|
11285
11292
|
yr(function() {
|
|
@@ -11289,7 +11296,7 @@ function w8() {
|
|
|
11289
11296
|
ur.current = At;
|
|
11290
11297
|
var fr = q.useRef([]);
|
|
11291
11298
|
fr.current = [];
|
|
11292
|
-
var Mi =
|
|
11299
|
+
var Mi = Ko(function(xe) {
|
|
11293
11300
|
var De;
|
|
11294
11301
|
ri(xe), ((De = fr.current[fr.current.length - 1]) !== null && De !== void 0 ? De : At) !== xe && (fr.current.push(xe), h == null || h(xe));
|
|
11295
11302
|
}), ii = q.useRef(), Mt = function() {
|
|
@@ -11309,10 +11316,10 @@ function w8() {
|
|
|
11309
11316
|
}, [At]);
|
|
11310
11317
|
var re = q.useState(null), le = Le(re, 2), Ce = le[0], Ye = le[1], ct = q.useState([0, 0]), Ve = Le(ct, 2), Be = Ve[0], Ht = Ve[1], Ct = function(De) {
|
|
11311
11318
|
Ht([De.clientX, De.clientY]);
|
|
11312
|
-
}, kt = v8(At, wt, R ? Be : rn, B, N, z, _), Pt = Le(kt, 11), oi = Pt[0], Lo = Pt[1], Jn = Pt[2], Xo = Pt[3], Gc = Pt[4], Zh = Pt[5], Go = Pt[6], Yc = Pt[7], Wh = Pt[8], si = Pt[9], Fi = Pt[10], ol = g8(Re, l, c, u), qc = Le(ol, 2), so = qc[0], Yo = qc[1], sl = so.has("click"),
|
|
11319
|
+
}, kt = v8(At, wt, R ? Be : rn, B, N, z, _), Pt = Le(kt, 11), oi = Pt[0], Lo = Pt[1], Jn = Pt[2], Xo = Pt[3], Gc = Pt[4], Zh = Pt[5], Go = Pt[6], Yc = Pt[7], Wh = Pt[8], si = Pt[9], Fi = Pt[10], ol = g8(Re, l, c, u), qc = Le(ol, 2), so = qc[0], Yo = qc[1], sl = so.has("click"), Ts = Yo.has("click") || Yo.has("contextMenu"), Zi = Ko(function() {
|
|
11313
11320
|
oo || Fi();
|
|
11314
11321
|
}), Vh = function() {
|
|
11315
|
-
ur.current && R &&
|
|
11322
|
+
ur.current && R && Ts && Vt(!1);
|
|
11316
11323
|
};
|
|
11317
11324
|
y8(At, rn, wt, Zi, Vh), yr(function() {
|
|
11318
11325
|
Zi();
|
|
@@ -11358,19 +11365,19 @@ function w8() {
|
|
|
11358
11365
|
(iu = Rn[xe]) === null || iu === void 0 || iu.call.apply(iu, [Rn, Lt].concat(_v));
|
|
11359
11366
|
};
|
|
11360
11367
|
}
|
|
11361
|
-
(sl ||
|
|
11368
|
+
(sl || Ts) && (lr.onClick = function(xe) {
|
|
11362
11369
|
var De;
|
|
11363
|
-
ur.current &&
|
|
11370
|
+
ur.current && Ts ? Vt(!1) : !ur.current && sl && (Ct(xe), Vt(!0));
|
|
11364
11371
|
for (var zt = arguments.length, sn = new Array(zt > 1 ? zt - 1 : 0), Lt = 1; Lt < zt; Lt++)
|
|
11365
11372
|
sn[Lt - 1] = arguments[Lt];
|
|
11366
11373
|
(De = Rn.onClick) === null || De === void 0 || De.call.apply(De, [Rn, xe].concat(sn));
|
|
11367
|
-
}), b8(At,
|
|
11368
|
-
var
|
|
11369
|
-
|
|
11374
|
+
}), b8(At, Ts, rn, wt, S, w, Vn, Vt);
|
|
11375
|
+
var Is = so.has("hover"), tu = Yo.has("hover"), $s, nu;
|
|
11376
|
+
Is && (Ar("onMouseEnter", !0, O, function(xe) {
|
|
11370
11377
|
Ct(xe);
|
|
11371
11378
|
}), Ar("onPointerEnter", !0, O, function(xe) {
|
|
11372
11379
|
Ct(xe);
|
|
11373
|
-
}),
|
|
11380
|
+
}), $s = function(De) {
|
|
11374
11381
|
(At || oo) && wt !== null && wt !== void 0 && wt.contains(De.target) && Vt(!0, O);
|
|
11375
11382
|
}, R && (lr.onMouseMove = function(xe) {
|
|
11376
11383
|
var De;
|
|
@@ -11412,9 +11419,9 @@ function w8() {
|
|
|
11412
11419
|
className: So($, zh),
|
|
11413
11420
|
style: j,
|
|
11414
11421
|
target: rn,
|
|
11415
|
-
onMouseEnter:
|
|
11422
|
+
onMouseEnter: $s,
|
|
11416
11423
|
onMouseLeave: nu,
|
|
11417
|
-
onPointerEnter:
|
|
11424
|
+
onPointerEnter: $s,
|
|
11418
11425
|
zIndex: Z,
|
|
11419
11426
|
open: At,
|
|
11420
11427
|
keepDom: oo,
|
|
@@ -11564,7 +11571,7 @@ var Qs = {
|
|
|
11564
11571
|
arrow: D
|
|
11565
11572
|
}, Z), h);
|
|
11566
11573
|
};
|
|
11567
|
-
const Ga = /* @__PURE__ */
|
|
11574
|
+
const Ga = /* @__PURE__ */ vs(P8), ia = I.div`
|
|
11568
11575
|
color: var(--text-color-secondary);
|
|
11569
11576
|
font-size: var(--font-size-sm);
|
|
11570
11577
|
font-style: normal;
|
|
@@ -11574,9 +11581,9 @@ const Ga = /* @__PURE__ */ xs(P8), ia = I.div`
|
|
|
11574
11581
|
span {
|
|
11575
11582
|
color: var(--text-color-secondary);
|
|
11576
11583
|
}
|
|
11577
|
-
`, E8 =
|
|
11584
|
+
`, E8 = vs(
|
|
11578
11585
|
({ className: t, ...e }, n) => /* @__PURE__ */ g.jsx(T8, { className: t, ...e, ref: n })
|
|
11579
|
-
),
|
|
11586
|
+
), fs = no(E8), T8 = I.input`
|
|
11580
11587
|
color: var(--input-content-color-active);
|
|
11581
11588
|
text-indent: var(--input-padding);
|
|
11582
11589
|
background-color: var(--input-bg-color);
|
|
@@ -11631,7 +11638,7 @@ function jc({
|
|
|
11631
11638
|
] }),
|
|
11632
11639
|
/* @__PURE__ */ g.jsx(ia, { children: "Name" }),
|
|
11633
11640
|
/* @__PURE__ */ g.jsx(
|
|
11634
|
-
|
|
11641
|
+
fs,
|
|
11635
11642
|
{
|
|
11636
11643
|
"data-testid": "variable-name-input",
|
|
11637
11644
|
type: "text",
|
|
@@ -11643,7 +11650,7 @@ function jc({
|
|
|
11643
11650
|
),
|
|
11644
11651
|
/* @__PURE__ */ g.jsx(ia, { children: "Value" }),
|
|
11645
11652
|
/* @__PURE__ */ g.jsx(
|
|
11646
|
-
|
|
11653
|
+
fs,
|
|
11647
11654
|
{
|
|
11648
11655
|
"data-testid": "variable-value-input",
|
|
11649
11656
|
type: "text",
|
|
@@ -11932,7 +11939,7 @@ function L8({
|
|
|
11932
11939
|
icon: B ? /* @__PURE__ */ g.jsx(zd, {}) : /* @__PURE__ */ g.jsx(Ld, {})
|
|
11933
11940
|
}
|
|
11934
11941
|
),
|
|
11935
|
-
(j == null ? void 0 : j.value) && /* @__PURE__ */ g.jsx(
|
|
11942
|
+
(j == null ? void 0 : j.value) && /* @__PURE__ */ g.jsx(ys, { data: j == null ? void 0 : j.value, onCopyClick: O, toasterPlacement: "left" })
|
|
11936
11943
|
] })
|
|
11937
11944
|
] }),
|
|
11938
11945
|
(j == null ? void 0 : j.canBeEdited) && /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
@@ -11995,7 +12002,7 @@ function L8({
|
|
|
11995
12002
|
$isServerVariable: u,
|
|
11996
12003
|
$isUndefined: f,
|
|
11997
12004
|
children: [
|
|
11998
|
-
|
|
12005
|
+
Ss + n + ws,
|
|
11999
12006
|
f && /* @__PURE__ */ g.jsx(wp, { $size: "var(--spacing-sm)" })
|
|
12000
12007
|
]
|
|
12001
12008
|
}
|
|
@@ -12146,7 +12153,7 @@ const X8 = I.span`
|
|
|
12146
12153
|
type: Tr.UserCreated,
|
|
12147
12154
|
canBeRemoved: !0,
|
|
12148
12155
|
canBeEdited: !0
|
|
12149
|
-
}), Jt = (t) =>
|
|
12156
|
+
}), Jt = (t) => Ss + t + ws, tN = (t, e) => e.variables.find(
|
|
12150
12157
|
(n) => {
|
|
12151
12158
|
var r;
|
|
12152
12159
|
return n.get().name === ((r = t.match(`^${yA}$`)) == null ? void 0 : r[1]);
|
|
@@ -12282,7 +12289,7 @@ const lN = (t, e) => {
|
|
|
12282
12289
|
Math.min(o.offset, ((i = o.node) == null ? void 0 : i.length) || 0)
|
|
12283
12290
|
), s.collapse(!0), a == null || a.removeAllRanges(), a == null || a.addRange(s);
|
|
12284
12291
|
}
|
|
12285
|
-
}, C2 = (t) => t ? t.dataset.inputId ? t.dataset.inputId : C2(t.parentElement) : null, k2 = (t) => t.lastIndexOf(
|
|
12292
|
+
}, C2 = (t) => t ? t.dataset.inputId ? t.dataset.inputId : C2(t.parentElement) : null, k2 = (t) => t.lastIndexOf(Ss), gx = (t) => {
|
|
12286
12293
|
const e = k2(t);
|
|
12287
12294
|
return t.substring(e + 2);
|
|
12288
12295
|
}, uN = (t, e, n) => {
|
|
@@ -12303,7 +12310,7 @@ function dN(t) {
|
|
|
12303
12310
|
}
|
|
12304
12311
|
const hN = (t, e) => {
|
|
12305
12312
|
const n = gx(t);
|
|
12306
|
-
return `${e.substring(n.length)}${
|
|
12313
|
+
return `${e.substring(n.length)}${ws}`;
|
|
12307
12314
|
}, pN = (t) => t.replace(/(\r\n|\n|\r)/gm, "");
|
|
12308
12315
|
function gN(t, e) {
|
|
12309
12316
|
const [n, r] = fe(t), i = Ke([{ value: n, cursorPosition: e }]), [o, s] = fe(0), a = () => {
|
|
@@ -12546,7 +12553,7 @@ function rt({
|
|
|
12546
12553
|
const ee = X.target, de = C2(ee);
|
|
12547
12554
|
(!de || de !== l) && (f(!1), M(!1, c.current));
|
|
12548
12555
|
}, Q = (X) => {
|
|
12549
|
-
Y(`${
|
|
12556
|
+
Y(`${Ss}${X.name}${ws}`), e.set((ee) => [...ee, X]), B("vi_new_variable_created", { name: X.name });
|
|
12550
12557
|
}, _ = () => {
|
|
12551
12558
|
C(null), B("vi_new_variable_creation_cancelled", {});
|
|
12552
12559
|
}, G = () => {
|
|
@@ -12942,7 +12949,7 @@ function Cb(t) {
|
|
|
12942
12949
|
}), t;
|
|
12943
12950
|
}
|
|
12944
12951
|
var Yk;
|
|
12945
|
-
const
|
|
12952
|
+
const ls = ((Yk = window.__TAURI__) == null ? void 0 : Yk.http.fetch) ?? globalThis.fetch, kb = "/_auth/oauth2-redirect.html";
|
|
12946
12953
|
let hh = class Al {
|
|
12947
12954
|
static authorizeImplicit({
|
|
12948
12955
|
authorizationUrl: e,
|
|
@@ -13018,7 +13025,7 @@ let hh = class Al {
|
|
|
13018
13025
|
...u
|
|
13019
13026
|
});
|
|
13020
13027
|
try {
|
|
13021
|
-
const C = await
|
|
13028
|
+
const C = await ls(x, {
|
|
13022
13029
|
method: "POST",
|
|
13023
13030
|
headers: {
|
|
13024
13031
|
"Content-Type": "application/x-www-form-urlencoded;charset=UTF-8",
|
|
@@ -13077,7 +13084,7 @@ let hh = class Al {
|
|
|
13077
13084
|
}, p = l ? `${l}${e}` : e, O = new URL(p);
|
|
13078
13085
|
for (const x in o)
|
|
13079
13086
|
O.searchParams.set(x, o[x]);
|
|
13080
|
-
const m = await
|
|
13087
|
+
const m = await ls(p, {
|
|
13081
13088
|
method: "POST",
|
|
13082
13089
|
headers: {
|
|
13083
13090
|
"Content-Type": "application/x-www-form-urlencoded;charset=UTF-8",
|
|
@@ -13116,7 +13123,7 @@ let hh = class Al {
|
|
|
13116
13123
|
}, p = u ? `${u}${r}` : r, O = new URL(p);
|
|
13117
13124
|
for (const x in a)
|
|
13118
13125
|
O.searchParams.set(x, a[x]);
|
|
13119
|
-
const m = await
|
|
13126
|
+
const m = await ls(p, {
|
|
13120
13127
|
method: "POST",
|
|
13121
13128
|
headers: {
|
|
13122
13129
|
"Content-Type": "application/x-www-form-urlencoded;charset=UTF-8",
|
|
@@ -14758,7 +14765,7 @@ class pn {
|
|
|
14758
14765
|
return this;
|
|
14759
14766
|
}
|
|
14760
14767
|
}
|
|
14761
|
-
const
|
|
14768
|
+
const rs = { lowest: 4, low: 3, default: 2, high: 1, highest: 0 };
|
|
14762
14769
|
function pl(t) {
|
|
14763
14770
|
return (e) => new _2(e, t);
|
|
14764
14771
|
}
|
|
@@ -14767,26 +14774,26 @@ const ji = {
|
|
|
14767
14774
|
The highest precedence level, for extensions that should end up
|
|
14768
14775
|
near the start of the precedence ordering.
|
|
14769
14776
|
*/
|
|
14770
|
-
highest: /* @__PURE__ */ pl(
|
|
14777
|
+
highest: /* @__PURE__ */ pl(rs.highest),
|
|
14771
14778
|
/**
|
|
14772
14779
|
A higher-than-default precedence, for extensions that should
|
|
14773
14780
|
come before those with default precedence.
|
|
14774
14781
|
*/
|
|
14775
|
-
high: /* @__PURE__ */ pl(
|
|
14782
|
+
high: /* @__PURE__ */ pl(rs.high),
|
|
14776
14783
|
/**
|
|
14777
14784
|
The default precedence, which is also used for extensions
|
|
14778
14785
|
without an explicit precedence.
|
|
14779
14786
|
*/
|
|
14780
|
-
default: /* @__PURE__ */ pl(
|
|
14787
|
+
default: /* @__PURE__ */ pl(rs.default),
|
|
14781
14788
|
/**
|
|
14782
14789
|
A lower-than-default precedence.
|
|
14783
14790
|
*/
|
|
14784
|
-
low: /* @__PURE__ */ pl(
|
|
14791
|
+
low: /* @__PURE__ */ pl(rs.low),
|
|
14785
14792
|
/**
|
|
14786
14793
|
The lowest precedence level. Meant for things that should end up
|
|
14787
14794
|
near the end of the extension order.
|
|
14788
14795
|
*/
|
|
14789
|
-
lowest: /* @__PURE__ */ pl(
|
|
14796
|
+
lowest: /* @__PURE__ */ pl(rs.lowest)
|
|
14790
14797
|
};
|
|
14791
14798
|
class _2 {
|
|
14792
14799
|
constructor(e, n) {
|
|
@@ -14886,7 +14893,7 @@ function iF(t, e, n) {
|
|
|
14886
14893
|
else if (s instanceof pn)
|
|
14887
14894
|
r[a].push(s), s.provides && o(s.provides, a);
|
|
14888
14895
|
else if (s instanceof cf)
|
|
14889
|
-
r[a].push(s), s.facet.extensions && o(s.facet.extensions,
|
|
14896
|
+
r[a].push(s), s.facet.extensions && o(s.facet.extensions, rs.default);
|
|
14890
14897
|
else {
|
|
14891
14898
|
let c = s.extension;
|
|
14892
14899
|
if (!c)
|
|
@@ -14894,7 +14901,7 @@ function iF(t, e, n) {
|
|
|
14894
14901
|
o(c, a);
|
|
14895
14902
|
}
|
|
14896
14903
|
}
|
|
14897
|
-
return o(t,
|
|
14904
|
+
return o(t, rs.default), r.reduce((s, a) => s.concat(a));
|
|
14898
14905
|
}
|
|
14899
14906
|
function Zl(t, e) {
|
|
14900
14907
|
if (e & 1)
|
|
@@ -15497,7 +15504,7 @@ function Di(t, e, n = {}) {
|
|
|
15497
15504
|
r[i] === void 0 && (r[i] = e[i]);
|
|
15498
15505
|
return r;
|
|
15499
15506
|
}
|
|
15500
|
-
class
|
|
15507
|
+
class ds {
|
|
15501
15508
|
/**
|
|
15502
15509
|
Compare this value with another value. Used when comparing
|
|
15503
15510
|
rangesets. The default implementation compares by identity.
|
|
@@ -15515,9 +15522,9 @@ class fs {
|
|
|
15515
15522
|
return Kg.create(e, n, this);
|
|
15516
15523
|
}
|
|
15517
15524
|
}
|
|
15518
|
-
|
|
15519
|
-
|
|
15520
|
-
|
|
15525
|
+
ds.prototype.startSide = ds.prototype.endSide = 0;
|
|
15526
|
+
ds.prototype.point = !1;
|
|
15527
|
+
ds.prototype.mapMode = Tn.TrackDel;
|
|
15521
15528
|
let Kg = class X2 {
|
|
15522
15529
|
constructor(e, n, r) {
|
|
15523
15530
|
this.from = e, this.to = n, this.value = r;
|
|
@@ -16283,12 +16290,12 @@ function uf(t, e) {
|
|
|
16283
16290
|
}
|
|
16284
16291
|
}
|
|
16285
16292
|
function Ca(t) {
|
|
16286
|
-
return t.nodeType == 3 ?
|
|
16293
|
+
return t.nodeType == 3 ? ps(t, 0, t.nodeValue.length).getClientRects() : t.nodeType == 1 ? t.getClientRects() : [];
|
|
16287
16294
|
}
|
|
16288
16295
|
function Wl(t, e, n, r) {
|
|
16289
16296
|
return n ? Zb(t, e, n, r, -1) || Zb(t, e, n, r, 1) : !1;
|
|
16290
16297
|
}
|
|
16291
|
-
function
|
|
16298
|
+
function hs(t) {
|
|
16292
16299
|
for (var e = 0; ; e++)
|
|
16293
16300
|
if (t = t.previousSibling, !t)
|
|
16294
16301
|
return e;
|
|
@@ -16306,7 +16313,7 @@ function Zb(t, e, n, r, i) {
|
|
|
16306
16313
|
let o = t.parentNode;
|
|
16307
16314
|
if (!o || o.nodeType != 1)
|
|
16308
16315
|
return !1;
|
|
16309
|
-
e =
|
|
16316
|
+
e = hs(t) + (i < 0 ? 0 : 1), t = o;
|
|
16310
16317
|
} else if (t.nodeType == 1) {
|
|
16311
16318
|
if (t = t.childNodes[e + (i < 0 ? -1 : 0)], t.nodeType == 1 && t.contentEditable == "false")
|
|
16312
16319
|
return !1;
|
|
@@ -16445,7 +16452,7 @@ function q2(t) {
|
|
|
16445
16452
|
}
|
|
16446
16453
|
}
|
|
16447
16454
|
let Wb;
|
|
16448
|
-
function
|
|
16455
|
+
function ps(t, e, n = e) {
|
|
16449
16456
|
let r = Wb || (Wb = document.createRange());
|
|
16450
16457
|
return r.setEnd(t, n), r.setStart(t, e), r;
|
|
16451
16458
|
}
|
|
@@ -16482,7 +16489,7 @@ function kF(t, e) {
|
|
|
16482
16489
|
} else {
|
|
16483
16490
|
if (n == t)
|
|
16484
16491
|
return !0;
|
|
16485
|
-
r =
|
|
16492
|
+
r = hs(n), n = n.parentNode;
|
|
16486
16493
|
}
|
|
16487
16494
|
}
|
|
16488
16495
|
function H2(t) {
|
|
@@ -16497,7 +16504,7 @@ function J2(t, e) {
|
|
|
16497
16504
|
return null;
|
|
16498
16505
|
n = n.childNodes[r - 1], r = Ui(n);
|
|
16499
16506
|
} else if (n.parentNode && !td(n))
|
|
16500
|
-
r =
|
|
16507
|
+
r = hs(n), n = n.parentNode;
|
|
16501
16508
|
else
|
|
16502
16509
|
return null;
|
|
16503
16510
|
}
|
|
@@ -16511,7 +16518,7 @@ function K2(t, e) {
|
|
|
16511
16518
|
return null;
|
|
16512
16519
|
n = n.childNodes[r], r = 0;
|
|
16513
16520
|
} else if (n.parentNode && !td(n))
|
|
16514
|
-
r =
|
|
16521
|
+
r = hs(n) + 1, n = n.parentNode;
|
|
16515
16522
|
else
|
|
16516
16523
|
return null;
|
|
16517
16524
|
}
|
|
@@ -16521,10 +16528,10 @@ class _n {
|
|
|
16521
16528
|
this.node = e, this.offset = n, this.precise = r;
|
|
16522
16529
|
}
|
|
16523
16530
|
static before(e, n) {
|
|
16524
|
-
return new _n(e.parentNode,
|
|
16531
|
+
return new _n(e.parentNode, hs(e), n);
|
|
16525
16532
|
}
|
|
16526
16533
|
static after(e, n) {
|
|
16527
|
-
return new _n(e.parentNode,
|
|
16534
|
+
return new _n(e.parentNode, hs(e) + 1, n);
|
|
16528
16535
|
}
|
|
16529
16536
|
}
|
|
16530
16537
|
const bx = [];
|
|
@@ -16850,7 +16857,7 @@ function PF(t, e, n) {
|
|
|
16850
16857
|
e > r && (e = r);
|
|
16851
16858
|
let i = e, o = e, s = 0;
|
|
16852
16859
|
e == 0 && n < 0 || e == r && n >= 0 ? me.chrome || me.gecko || (e ? (i--, s = 1) : o < r && (o++, s = -1)) : n < 0 ? i-- : o < r && o++;
|
|
16853
|
-
let a =
|
|
16860
|
+
let a = ps(t, i, o).getClientRects();
|
|
16854
16861
|
if (!a.length)
|
|
16855
16862
|
return null;
|
|
16856
16863
|
let l = a[(s ? s < 0 : n >= 0) ? 0 : a.length - 1];
|
|
@@ -17299,7 +17306,7 @@ class Qi {
|
|
|
17299
17306
|
var Yn = /* @__PURE__ */ function(t) {
|
|
17300
17307
|
return t[t.Text = 0] = "Text", t[t.WidgetBefore = 1] = "WidgetBefore", t[t.WidgetAfter = 2] = "WidgetAfter", t[t.WidgetRange = 3] = "WidgetRange", t;
|
|
17301
17308
|
}(Yn || (Yn = {}));
|
|
17302
|
-
class we extends
|
|
17309
|
+
class we extends ds {
|
|
17303
17310
|
constructor(e, n, r, i) {
|
|
17304
17311
|
super(), this.startSide = e, this.endSide = n, this.widget = r, this.spec = i;
|
|
17305
17312
|
}
|
|
@@ -17527,7 +17534,7 @@ Aa.block = /* @__PURE__ */ new Aa("div");
|
|
|
17527
17534
|
var _t = /* @__PURE__ */ function(t) {
|
|
17528
17535
|
return t[t.LTR = 0] = "LTR", t[t.RTL = 1] = "RTL", t;
|
|
17529
17536
|
}(_t || (_t = {}));
|
|
17530
|
-
const
|
|
17537
|
+
const gs = _t.LTR, wx = _t.RTL;
|
|
17531
17538
|
function cE(t) {
|
|
17532
17539
|
let e = [];
|
|
17533
17540
|
for (let n = 0; n < t.length; n++)
|
|
@@ -17548,7 +17555,7 @@ class vo {
|
|
|
17548
17555
|
The direction of this span.
|
|
17549
17556
|
*/
|
|
17550
17557
|
get dir() {
|
|
17551
|
-
return this.level % 2 ? wx :
|
|
17558
|
+
return this.level % 2 ? wx : gs;
|
|
17552
17559
|
}
|
|
17553
17560
|
/**
|
|
17554
17561
|
@internal
|
|
@@ -17713,7 +17720,7 @@ function hm(t, e, n, r, i, o, s) {
|
|
|
17713
17720
|
d.push(O);
|
|
17714
17721
|
else {
|
|
17715
17722
|
O.from > l && s.push(new vo(l, O.from, h));
|
|
17716
|
-
let m = O.direction ==
|
|
17723
|
+
let m = O.direction == gs != !(h % 2);
|
|
17717
17724
|
pm(t, m ? r + 1 : r, i, O.inner, O.from, O.to, s), l = O.to;
|
|
17718
17725
|
}
|
|
17719
17726
|
p = O.to;
|
|
@@ -17753,7 +17760,7 @@ function hm(t, e, n, r, i, o, s) {
|
|
|
17753
17760
|
d.push(O);
|
|
17754
17761
|
else {
|
|
17755
17762
|
O.to < l && s.push(new vo(O.to, l, h));
|
|
17756
|
-
let m = O.direction ==
|
|
17763
|
+
let m = O.direction == gs != !(h % 2);
|
|
17757
17764
|
pm(t, m ? r + 1 : r, i, O.inner, O.from, O.to, s), l = O.from;
|
|
17758
17765
|
}
|
|
17759
17766
|
p = O.from;
|
|
@@ -17772,12 +17779,12 @@ function pm(t, e, n, r, i, o, s) {
|
|
|
17772
17779
|
function _F(t, e, n) {
|
|
17773
17780
|
if (!t)
|
|
17774
17781
|
return [new vo(0, 0, e == wx ? 1 : 0)];
|
|
17775
|
-
if (e ==
|
|
17782
|
+
if (e == gs && !n.length && !RF.test(t))
|
|
17776
17783
|
return dE(t.length);
|
|
17777
17784
|
if (n.length)
|
|
17778
17785
|
for (; t.length > Tt.length; )
|
|
17779
17786
|
Tt[Tt.length] = 256;
|
|
17780
|
-
let r = [], i = e ==
|
|
17787
|
+
let r = [], i = e == gs ? 0 : 1;
|
|
17781
17788
|
return pm(t, i, i, n, 0, t.length, r), r;
|
|
17782
17789
|
}
|
|
17783
17790
|
function dE(t) {
|
|
@@ -17802,11 +17809,11 @@ function NF(t, e, n) {
|
|
|
17802
17809
|
for (let r = e; r < n; r++) {
|
|
17803
17810
|
let i = uE(t.charCodeAt(r));
|
|
17804
17811
|
if (i == 1)
|
|
17805
|
-
return
|
|
17812
|
+
return gs;
|
|
17806
17813
|
if (i == 2 || i == 4)
|
|
17807
17814
|
return wx;
|
|
17808
17815
|
}
|
|
17809
|
-
return
|
|
17816
|
+
return gs;
|
|
17810
17817
|
}
|
|
17811
17818
|
const pE = /* @__PURE__ */ ge.define(), gE = /* @__PURE__ */ ge.define(), mE = /* @__PURE__ */ ge.define(), OE = /* @__PURE__ */ ge.define(), gm = /* @__PURE__ */ ge.define(), xE = /* @__PURE__ */ ge.define(), vE = /* @__PURE__ */ ge.define(), yE = /* @__PURE__ */ ge.define({
|
|
17812
17819
|
combine: (t) => t.some((e) => e)
|
|
@@ -18248,7 +18255,7 @@ class qb extends It {
|
|
|
18248
18255
|
let o = $n(i.text, r);
|
|
18249
18256
|
if (o == r)
|
|
18250
18257
|
return null;
|
|
18251
|
-
let s =
|
|
18258
|
+
let s = ps(i.dom, r, o).getClientRects();
|
|
18252
18259
|
for (let a = 0; a < s.length; a++) {
|
|
18253
18260
|
let l = s[a];
|
|
18254
18261
|
if (a == s.length - 1 || l.top < l.bottom && l.left < l.right)
|
|
@@ -18531,7 +18538,7 @@ function mm(t, e, n) {
|
|
|
18531
18538
|
function Kb(t, e, n) {
|
|
18532
18539
|
let r = t.nodeValue.length, i = -1, o = 1e9, s = 0;
|
|
18533
18540
|
for (let a = 0; a < r; a++) {
|
|
18534
|
-
let l =
|
|
18541
|
+
let l = ps(t, a, a + 1).getClientRects();
|
|
18535
18542
|
for (let c = 0; c < l.length; c++) {
|
|
18536
18543
|
let u = l[c];
|
|
18537
18544
|
if (u.top == u.bottom)
|
|
@@ -18540,7 +18547,7 @@ function Kb(t, e, n) {
|
|
|
18540
18547
|
let f = (u.top > n ? u.top - n : n - u.bottom) - 1;
|
|
18541
18548
|
if (u.left - 1 <= e && u.right + 1 >= e && f < o) {
|
|
18542
18549
|
let d = e >= (u.left + u.right) / 2, h = d;
|
|
18543
|
-
if ((me.chrome || me.gecko) &&
|
|
18550
|
+
if ((me.chrome || me.gecko) && ps(t, a).getBoundingClientRect().left == u.right && (h = !d), f <= 0)
|
|
18544
18551
|
return { node: t, offset: a + (h ? 1 : 0) };
|
|
18545
18552
|
i = a + (h ? 1 : 0), o = f;
|
|
18546
18553
|
}
|
|
@@ -18610,7 +18617,7 @@ function HF(t, e, n) {
|
|
|
18610
18617
|
for (let i = t.nextSibling; i; i = i.nextSibling)
|
|
18611
18618
|
if (i.nodeType != 1 || i.nodeName != "BR")
|
|
18612
18619
|
return !1;
|
|
18613
|
-
return
|
|
18620
|
+
return ps(t, r - 1, r).getBoundingClientRect().left > n;
|
|
18614
18621
|
}
|
|
18615
18622
|
function JF(t, e, n) {
|
|
18616
18623
|
if (e != 0)
|
|
@@ -18623,7 +18630,7 @@ function JF(t, e, n) {
|
|
|
18623
18630
|
break;
|
|
18624
18631
|
i = o;
|
|
18625
18632
|
}
|
|
18626
|
-
let r = t.nodeType == 1 ? t.getBoundingClientRect() :
|
|
18633
|
+
let r = t.nodeType == 1 ? t.getBoundingClientRect() : ps(t, 0, Math.max(t.nodeValue.length, 1)).getBoundingClientRect();
|
|
18627
18634
|
return n - r.left > 5;
|
|
18628
18635
|
}
|
|
18629
18636
|
function Om(t, e) {
|
|
@@ -20324,7 +20331,7 @@ function RZ(t, e, n) {
|
|
|
20324
20331
|
return !1;
|
|
20325
20332
|
if (e == t)
|
|
20326
20333
|
return !0;
|
|
20327
|
-
n =
|
|
20334
|
+
n = hs(e) + 1, e = e.parentNode;
|
|
20328
20335
|
}
|
|
20329
20336
|
}
|
|
20330
20337
|
class g1 {
|
|
@@ -22732,7 +22739,7 @@ function E1(t) {
|
|
|
22732
22739
|
const ac = /* @__PURE__ */ ge.define({
|
|
22733
22740
|
enables: eT
|
|
22734
22741
|
});
|
|
22735
|
-
class Ji extends
|
|
22742
|
+
class Ji extends ds {
|
|
22736
22743
|
/**
|
|
22737
22744
|
@internal
|
|
22738
22745
|
*/
|
|
@@ -24911,7 +24918,7 @@ function hW(t) {
|
|
|
24911
24918
|
e = e.next;
|
|
24912
24919
|
return e || null;
|
|
24913
24920
|
}
|
|
24914
|
-
const ce = uo.define, Bu = ce(), fo = ce(), W1 = ce(fo), V1 = ce(fo), ho = ce(), _u = ce(ho), _p = ce(ho), ui = ce(),
|
|
24921
|
+
const ce = uo.define, Bu = ce(), fo = ce(), W1 = ce(fo), V1 = ce(fo), ho = ce(), _u = ce(ho), _p = ce(ho), ui = ce(), Ho = ce(ui), li = ce(), ci = ce(), Em = ce(), Ol = ce(Em), Mu = ce(), P = {
|
|
24915
24922
|
/**
|
|
24916
24923
|
A comment.
|
|
24917
24924
|
*/
|
|
@@ -25143,31 +25150,31 @@ const ce = uo.define, Bu = ce(), fo = ce(), W1 = ce(fo), V1 = ce(fo), ho = ce(),
|
|
|
25143
25150
|
/**
|
|
25144
25151
|
[Content](#highlight.tags.content) that represents a heading.
|
|
25145
25152
|
*/
|
|
25146
|
-
heading:
|
|
25153
|
+
heading: Ho,
|
|
25147
25154
|
/**
|
|
25148
25155
|
A level 1 [heading](#highlight.tags.heading).
|
|
25149
25156
|
*/
|
|
25150
|
-
heading1: ce(
|
|
25157
|
+
heading1: ce(Ho),
|
|
25151
25158
|
/**
|
|
25152
25159
|
A level 2 [heading](#highlight.tags.heading).
|
|
25153
25160
|
*/
|
|
25154
|
-
heading2: ce(
|
|
25161
|
+
heading2: ce(Ho),
|
|
25155
25162
|
/**
|
|
25156
25163
|
A level 3 [heading](#highlight.tags.heading).
|
|
25157
25164
|
*/
|
|
25158
|
-
heading3: ce(
|
|
25165
|
+
heading3: ce(Ho),
|
|
25159
25166
|
/**
|
|
25160
25167
|
A level 4 [heading](#highlight.tags.heading).
|
|
25161
25168
|
*/
|
|
25162
|
-
heading4: ce(
|
|
25169
|
+
heading4: ce(Ho),
|
|
25163
25170
|
/**
|
|
25164
25171
|
A level 5 [heading](#highlight.tags.heading).
|
|
25165
25172
|
*/
|
|
25166
|
-
heading5: ce(
|
|
25173
|
+
heading5: ce(Ho),
|
|
25167
25174
|
/**
|
|
25168
25175
|
A level 6 [heading](#highlight.tags.heading).
|
|
25169
25176
|
*/
|
|
25170
|
-
heading6: ce(
|
|
25177
|
+
heading6: ce(Ho),
|
|
25171
25178
|
/**
|
|
25172
25179
|
A prose separator (such as a horizontal rule).
|
|
25173
25180
|
*/
|
|
@@ -26025,7 +26032,7 @@ function OT(t) {
|
|
|
26025
26032
|
e.some((r) => r.from <= n && r.to >= n) || e.push(t.lineBlockAt(n));
|
|
26026
26033
|
return e;
|
|
26027
26034
|
}
|
|
26028
|
-
const
|
|
26035
|
+
const ms = /* @__PURE__ */ pn.define({
|
|
26029
26036
|
create() {
|
|
26030
26037
|
return we.none;
|
|
26031
26038
|
},
|
|
@@ -26075,7 +26082,7 @@ const gs = /* @__PURE__ */ pn.define({
|
|
|
26075
26082
|
function fd(t, e, n) {
|
|
26076
26083
|
var r;
|
|
26077
26084
|
let i = null;
|
|
26078
|
-
return (r = t.field(
|
|
26085
|
+
return (r = t.field(ms, !1)) === null || r === void 0 || r.between(e, n, (o, s) => {
|
|
26079
26086
|
(!i || i.from > o) && (i = { from: o, to: s });
|
|
26080
26087
|
}), i;
|
|
26081
26088
|
}
|
|
@@ -26086,7 +26093,7 @@ function IW(t, e, n) {
|
|
|
26086
26093
|
}), r;
|
|
26087
26094
|
}
|
|
26088
26095
|
function xT(t, e) {
|
|
26089
|
-
return t.field(
|
|
26096
|
+
return t.field(ms, !1) ? e : e.concat(Me.appendConfig.of(bT()));
|
|
26090
26097
|
}
|
|
26091
26098
|
const $W = (t) => {
|
|
26092
26099
|
for (let e of OT(t)) {
|
|
@@ -26096,7 +26103,7 @@ const $W = (t) => {
|
|
|
26096
26103
|
}
|
|
26097
26104
|
return !1;
|
|
26098
26105
|
}, jW = (t) => {
|
|
26099
|
-
if (!t.state.field(
|
|
26106
|
+
if (!t.state.field(ms, !1))
|
|
26100
26107
|
return !1;
|
|
26101
26108
|
let e = [];
|
|
26102
26109
|
for (let n of OT(t)) {
|
|
@@ -26117,7 +26124,7 @@ const RW = (t) => {
|
|
|
26117
26124
|
}
|
|
26118
26125
|
return n.length && t.dispatch({ effects: xT(t.state, n) }), !!n.length;
|
|
26119
26126
|
}, DW = (t) => {
|
|
26120
|
-
let e = t.state.field(
|
|
26127
|
+
let e = t.state.field(ms, !1);
|
|
26121
26128
|
if (!e || !e.size)
|
|
26122
26129
|
return !1;
|
|
26123
26130
|
let n = [];
|
|
@@ -26139,7 +26146,7 @@ const RW = (t) => {
|
|
|
26139
26146
|
}
|
|
26140
26147
|
});
|
|
26141
26148
|
function bT(t) {
|
|
26142
|
-
return [
|
|
26149
|
+
return [ms, FW];
|
|
26143
26150
|
}
|
|
26144
26151
|
function ST(t, e) {
|
|
26145
26152
|
let { state: n } = t, r = n.facet(yT), i = (s) => {
|
|
@@ -26194,7 +26201,7 @@ function NW(t = {}) {
|
|
|
26194
26201
|
this.from = s.viewport.from, this.markers = this.buildMarkers(s);
|
|
26195
26202
|
}
|
|
26196
26203
|
update(s) {
|
|
26197
|
-
(s.docChanged || s.viewportChanged || s.startState.facet(Qo) != s.state.facet(Qo) || s.startState.field(
|
|
26204
|
+
(s.docChanged || s.viewportChanged || s.startState.facet(Qo) != s.state.facet(Qo) || s.startState.field(ms, !1) != s.state.field(ms, !1) || Ft(s.startState) != Ft(s.state) || e.foldingChanged(s)) && (this.markers = this.buildMarkers(s.view));
|
|
26198
26205
|
}
|
|
26199
26206
|
buildMarkers(s) {
|
|
26200
26207
|
let a = new To();
|
|
@@ -29212,12 +29219,12 @@ const Sz = /* @__PURE__ */ ue.domEventHandlers({
|
|
|
29212
29219
|
brackets: ["(", "[", "{", "'", '"'],
|
|
29213
29220
|
before: ")]}:;>",
|
|
29214
29221
|
stringPrefixes: []
|
|
29215
|
-
},
|
|
29222
|
+
}, os = /* @__PURE__ */ Me.define({
|
|
29216
29223
|
map(t, e) {
|
|
29217
29224
|
let n = e.mapPos(t, -1, Tn.TrackAfter);
|
|
29218
29225
|
return n ?? void 0;
|
|
29219
29226
|
}
|
|
29220
|
-
}), Hx = /* @__PURE__ */ new class extends
|
|
29227
|
+
}), Hx = /* @__PURE__ */ new class extends ds {
|
|
29221
29228
|
}();
|
|
29222
29229
|
Hx.startSide = 1;
|
|
29223
29230
|
Hx.endSide = -1;
|
|
@@ -29231,7 +29238,7 @@ const wI = /* @__PURE__ */ pn.define({
|
|
|
29231
29238
|
t = t.update({ filter: (r) => r >= n.from && r <= n.to });
|
|
29232
29239
|
}
|
|
29233
29240
|
for (let n of e.effects)
|
|
29234
|
-
n.is(
|
|
29241
|
+
n.is(os) && (t = t.update({ add: [Hx.range(n.value, n.value + 1)] }));
|
|
29235
29242
|
return t;
|
|
29236
29243
|
}
|
|
29237
29244
|
});
|
|
@@ -29305,13 +29312,13 @@ function Iz(t, e, n, r) {
|
|
|
29305
29312
|
if (!s.empty)
|
|
29306
29313
|
return {
|
|
29307
29314
|
changes: [{ insert: e, from: s.from }, { insert: n, from: s.to }],
|
|
29308
|
-
effects:
|
|
29315
|
+
effects: os.of(s.to + e.length),
|
|
29309
29316
|
range: ne.range(s.anchor + e.length, s.head + e.length)
|
|
29310
29317
|
};
|
|
29311
29318
|
let a = Ah(t.doc, s.head);
|
|
29312
29319
|
return !a || /\s/.test(a) || r.indexOf(a) > -1 ? {
|
|
29313
29320
|
changes: { insert: e + n, from: s.head },
|
|
29314
|
-
effects:
|
|
29321
|
+
effects: os.of(s.head + e.length),
|
|
29315
29322
|
range: ne.cursor(s.head + e.length)
|
|
29316
29323
|
} : { range: i = s };
|
|
29317
29324
|
});
|
|
@@ -29335,7 +29342,7 @@ function jz(t, e, n, r) {
|
|
|
29335
29342
|
if (!a.empty)
|
|
29336
29343
|
return {
|
|
29337
29344
|
changes: [{ insert: e, from: a.from }, { insert: e, from: a.to }],
|
|
29338
|
-
effects:
|
|
29345
|
+
effects: os.of(a.to + e.length),
|
|
29339
29346
|
range: ne.range(a.anchor + e.length, a.head + e.length)
|
|
29340
29347
|
};
|
|
29341
29348
|
let l = a.head, c = Ah(t.doc, l), u;
|
|
@@ -29343,7 +29350,7 @@ function jz(t, e, n, r) {
|
|
|
29343
29350
|
if (pS(t, l))
|
|
29344
29351
|
return {
|
|
29345
29352
|
changes: { insert: e + e, from: l },
|
|
29346
|
-
effects:
|
|
29353
|
+
effects: os.of(l + e.length),
|
|
29347
29354
|
range: ne.cursor(l + e.length)
|
|
29348
29355
|
};
|
|
29349
29356
|
if (AI(t, l)) {
|
|
@@ -29357,13 +29364,13 @@ function jz(t, e, n, r) {
|
|
|
29357
29364
|
if (n && t.sliceDoc(l - 2 * e.length, l) == e + e && (u = gS(t, l - 2 * e.length, i)) > -1 && pS(t, u))
|
|
29358
29365
|
return {
|
|
29359
29366
|
changes: { insert: e + e + e + e, from: l },
|
|
29360
|
-
effects:
|
|
29367
|
+
effects: os.of(l + e.length),
|
|
29361
29368
|
range: ne.cursor(l + e.length)
|
|
29362
29369
|
};
|
|
29363
29370
|
if (t.charCategorizer(l)(c) != Nt.Word && gS(t, l, i) > -1 && !Rz(t, l, e, i))
|
|
29364
29371
|
return {
|
|
29365
29372
|
changes: { insert: e + e, from: l },
|
|
29366
|
-
effects:
|
|
29373
|
+
effects: os.of(l + e.length),
|
|
29367
29374
|
range: ne.cursor(l + e.length)
|
|
29368
29375
|
};
|
|
29369
29376
|
}
|
|
@@ -29433,7 +29440,7 @@ class Bz {
|
|
|
29433
29440
|
this.from = e, this.to = n, this.diagnostic = r;
|
|
29434
29441
|
}
|
|
29435
29442
|
}
|
|
29436
|
-
class
|
|
29443
|
+
class is {
|
|
29437
29444
|
constructor(e, n, r) {
|
|
29438
29445
|
this.diagnostics = e, this.panel = n, this.selected = r;
|
|
29439
29446
|
}
|
|
@@ -29448,7 +29455,7 @@ class rs {
|
|
|
29448
29455
|
diagnostic: a,
|
|
29449
29456
|
inclusive: !0
|
|
29450
29457
|
}).range(a.from, a.to)), !0);
|
|
29451
|
-
return new
|
|
29458
|
+
return new is(s, n, Ta(s));
|
|
29452
29459
|
}
|
|
29453
29460
|
}
|
|
29454
29461
|
function Ta(t, e = null, n = 0) {
|
|
@@ -29475,7 +29482,7 @@ function Mz(t, e) {
|
|
|
29475
29482
|
}
|
|
29476
29483
|
const Jx = /* @__PURE__ */ Me.define(), Kx = /* @__PURE__ */ Me.define(), TI = /* @__PURE__ */ Me.define(), Sr = /* @__PURE__ */ pn.define({
|
|
29477
29484
|
create() {
|
|
29478
|
-
return new
|
|
29485
|
+
return new is(we.none, null, null);
|
|
29479
29486
|
},
|
|
29480
29487
|
update(t, e) {
|
|
29481
29488
|
if (e.docChanged) {
|
|
@@ -29484,10 +29491,10 @@ const Jx = /* @__PURE__ */ Me.define(), Kx = /* @__PURE__ */ Me.define(), TI = /
|
|
|
29484
29491
|
let i = e.changes.mapPos(t.selected.from, 1);
|
|
29485
29492
|
r = Ta(n, t.selected.diagnostic, i) || Ta(n, null, i);
|
|
29486
29493
|
}
|
|
29487
|
-
t = new
|
|
29494
|
+
t = new is(n, t.panel, r);
|
|
29488
29495
|
}
|
|
29489
29496
|
for (let n of e.effects)
|
|
29490
|
-
n.is(Jx) ? t =
|
|
29497
|
+
n.is(Jx) ? t = is.init(n.value, t.panel, e.state) : n.is(Kx) ? t = new is(t.diagnostics, n.value ? Ph.open : null, t.selected) : n.is(TI) && (t = new is(t.diagnostics, t.panel, n.value));
|
|
29491
29498
|
return t;
|
|
29492
29499
|
},
|
|
29493
29500
|
provide: (t) => [
|
|
@@ -30130,7 +30137,7 @@ function fL(t) {
|
|
|
30130
30137
|
setContainer: k
|
|
30131
30138
|
};
|
|
30132
30139
|
}
|
|
30133
|
-
var dL = ["className", "value", "selection", "extensions", "onChange", "onStatistics", "onCreateEditor", "onUpdate", "autoFocus", "theme", "height", "minHeight", "maxHeight", "width", "minWidth", "maxWidth", "basicSetup", "placeholder", "indentWithTab", "editable", "readOnly", "root", "initialState"], RI = /* @__PURE__ */
|
|
30140
|
+
var dL = ["className", "value", "selection", "extensions", "onChange", "onStatistics", "onCreateEditor", "onUpdate", "autoFocus", "theme", "height", "minHeight", "maxHeight", "width", "minWidth", "maxWidth", "basicSetup", "placeholder", "indentWithTab", "editable", "readOnly", "root", "initialState"], RI = /* @__PURE__ */ vs((t, e) => {
|
|
30134
30141
|
var {
|
|
30135
30142
|
className: n,
|
|
30136
30143
|
value: r = "",
|
|
@@ -35607,7 +35614,7 @@ var mw;
|
|
|
35607
35614
|
}
|
|
35608
35615
|
t.is = n;
|
|
35609
35616
|
})(mw || (mw = {}));
|
|
35610
|
-
var
|
|
35617
|
+
var Os;
|
|
35611
35618
|
(function(t) {
|
|
35612
35619
|
t.PlainText = "plaintext", t.Markdown = "markdown";
|
|
35613
35620
|
function e(n) {
|
|
@@ -35615,12 +35622,12 @@ var ms;
|
|
|
35615
35622
|
return r === t.PlainText || r === t.Markdown;
|
|
35616
35623
|
}
|
|
35617
35624
|
t.is = e;
|
|
35618
|
-
})(
|
|
35625
|
+
})(Os || (Os = {}));
|
|
35619
35626
|
var mc;
|
|
35620
35627
|
(function(t) {
|
|
35621
35628
|
function e(n) {
|
|
35622
35629
|
const r = n;
|
|
35623
|
-
return U.objectLiteral(n) &&
|
|
35630
|
+
return U.objectLiteral(n) && Os.is(r.kind) && U.string(r.value);
|
|
35624
35631
|
}
|
|
35625
35632
|
t.is = e;
|
|
35626
35633
|
})(mc || (mc = {}));
|
|
@@ -36293,14 +36300,14 @@ var eC;
|
|
|
36293
36300
|
textDocument: {
|
|
36294
36301
|
completion: {
|
|
36295
36302
|
completionItem: {
|
|
36296
|
-
documentationFormat: [
|
|
36303
|
+
documentationFormat: [Os.Markdown, Os.PlainText],
|
|
36297
36304
|
commitCharactersSupport: !0
|
|
36298
36305
|
}
|
|
36299
36306
|
}
|
|
36300
36307
|
}
|
|
36301
36308
|
};
|
|
36302
36309
|
})(eC || (eC = {}));
|
|
36303
|
-
var
|
|
36310
|
+
var Cs = /* @__PURE__ */ function() {
|
|
36304
36311
|
var t = function(e, n) {
|
|
36305
36312
|
return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
36306
36313
|
r.__proto__ = i;
|
|
@@ -36321,7 +36328,7 @@ var ws = /* @__PURE__ */ function() {
|
|
|
36321
36328
|
date: { errorMessage: "String is not a RFC3339 date.", pattern: /^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i },
|
|
36322
36329
|
time: { errorMessage: "String is not a RFC3339 time.", pattern: /^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i },
|
|
36323
36330
|
email: { errorMessage: "String is not an e-mail address.", pattern: /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/ }
|
|
36324
|
-
},
|
|
36331
|
+
}, ks = (
|
|
36325
36332
|
/** @class */
|
|
36326
36333
|
function() {
|
|
36327
36334
|
function t(e, n, r) {
|
|
@@ -36340,27 +36347,27 @@ var ws = /* @__PURE__ */ function() {
|
|
|
36340
36347
|
), pY = (
|
|
36341
36348
|
/** @class */
|
|
36342
36349
|
function(t) {
|
|
36343
|
-
|
|
36350
|
+
Cs(e, t);
|
|
36344
36351
|
function e(n, r) {
|
|
36345
36352
|
var i = t.call(this, n, r) || this;
|
|
36346
36353
|
return i.type = "null", i.value = null, i;
|
|
36347
36354
|
}
|
|
36348
36355
|
return e;
|
|
36349
|
-
}(
|
|
36356
|
+
}(ks)
|
|
36350
36357
|
), tC = (
|
|
36351
36358
|
/** @class */
|
|
36352
36359
|
function(t) {
|
|
36353
|
-
|
|
36360
|
+
Cs(e, t);
|
|
36354
36361
|
function e(n, r, i) {
|
|
36355
36362
|
var o = t.call(this, n, i) || this;
|
|
36356
36363
|
return o.type = "boolean", o.value = r, o;
|
|
36357
36364
|
}
|
|
36358
36365
|
return e;
|
|
36359
|
-
}(
|
|
36366
|
+
}(ks)
|
|
36360
36367
|
), gY = (
|
|
36361
36368
|
/** @class */
|
|
36362
36369
|
function(t) {
|
|
36363
|
-
|
|
36370
|
+
Cs(e, t);
|
|
36364
36371
|
function e(n, r) {
|
|
36365
36372
|
var i = t.call(this, n, r) || this;
|
|
36366
36373
|
return i.type = "array", i.items = [], i;
|
|
@@ -36372,31 +36379,31 @@ var ws = /* @__PURE__ */ function() {
|
|
|
36372
36379
|
enumerable: !0,
|
|
36373
36380
|
configurable: !0
|
|
36374
36381
|
}), e;
|
|
36375
|
-
}(
|
|
36382
|
+
}(ks)
|
|
36376
36383
|
), mY = (
|
|
36377
36384
|
/** @class */
|
|
36378
36385
|
function(t) {
|
|
36379
|
-
|
|
36386
|
+
Cs(e, t);
|
|
36380
36387
|
function e(n, r) {
|
|
36381
36388
|
var i = t.call(this, n, r) || this;
|
|
36382
36389
|
return i.type = "number", i.isInteger = !0, i.value = Number.NaN, i;
|
|
36383
36390
|
}
|
|
36384
36391
|
return e;
|
|
36385
|
-
}(
|
|
36392
|
+
}(ks)
|
|
36386
36393
|
), nC = (
|
|
36387
36394
|
/** @class */
|
|
36388
36395
|
function(t) {
|
|
36389
|
-
|
|
36396
|
+
Cs(e, t);
|
|
36390
36397
|
function e(n, r, i) {
|
|
36391
36398
|
var o = t.call(this, n, r, i) || this;
|
|
36392
36399
|
return o.type = "string", o.value = "", o;
|
|
36393
36400
|
}
|
|
36394
36401
|
return e;
|
|
36395
|
-
}(
|
|
36402
|
+
}(ks)
|
|
36396
36403
|
), OY = (
|
|
36397
36404
|
/** @class */
|
|
36398
36405
|
function(t) {
|
|
36399
|
-
|
|
36406
|
+
Cs(e, t);
|
|
36400
36407
|
function e(n, r) {
|
|
36401
36408
|
var i = t.call(this, n, r) || this;
|
|
36402
36409
|
return i.type = "property", i.colonOffset = -1, i;
|
|
@@ -36408,11 +36415,11 @@ var ws = /* @__PURE__ */ function() {
|
|
|
36408
36415
|
enumerable: !0,
|
|
36409
36416
|
configurable: !0
|
|
36410
36417
|
}), e;
|
|
36411
|
-
}(
|
|
36418
|
+
}(ks)
|
|
36412
36419
|
), xY = (
|
|
36413
36420
|
/** @class */
|
|
36414
36421
|
function(t) {
|
|
36415
|
-
|
|
36422
|
+
Cs(e, t);
|
|
36416
36423
|
function e(n, r) {
|
|
36417
36424
|
var i = t.call(this, n, r) || this;
|
|
36418
36425
|
return i.type = "object", i.properties = [], i;
|
|
@@ -36424,7 +36431,7 @@ var ws = /* @__PURE__ */ function() {
|
|
|
36424
36431
|
enumerable: !0,
|
|
36425
36432
|
configurable: !0
|
|
36426
36433
|
}), e;
|
|
36427
|
-
}(
|
|
36434
|
+
}(ks)
|
|
36428
36435
|
);
|
|
36429
36436
|
function Kn(t) {
|
|
36430
36437
|
return yi(t) ? t ? {} : { not: {} } : t;
|
|
@@ -37666,13 +37673,13 @@ var CY = [",", "}", "]"], kY = [":"], AY = (
|
|
|
37666
37673
|
}, t.prototype.fromMarkup = function(e) {
|
|
37667
37674
|
if (e && this.doesSupportMarkdown())
|
|
37668
37675
|
return {
|
|
37669
|
-
kind:
|
|
37676
|
+
kind: Os.Markdown,
|
|
37670
37677
|
value: e
|
|
37671
37678
|
};
|
|
37672
37679
|
}, t.prototype.doesSupportMarkdown = function() {
|
|
37673
37680
|
if (!Wi(this.supportsMarkdown)) {
|
|
37674
37681
|
var e = this.clientCapabilities.textDocument && this.clientCapabilities.textDocument.completion;
|
|
37675
|
-
this.supportsMarkdown = e && e.completionItem && Array.isArray(e.completionItem.documentationFormat) && e.completionItem.documentationFormat.indexOf(
|
|
37682
|
+
this.supportsMarkdown = e && e.completionItem && Array.isArray(e.completionItem.documentationFormat) && e.completionItem.documentationFormat.indexOf(Os.Markdown) !== -1;
|
|
37676
37683
|
}
|
|
37677
37684
|
return this.supportsMarkdown;
|
|
37678
37685
|
}, t.prototype.doesSupportsCommitCharacters = function() {
|
|
@@ -39214,10 +39221,10 @@ function j$(t) {
|
|
|
39214
39221
|
}
|
|
39215
39222
|
function lv(t, e) {
|
|
39216
39223
|
const n = t.security || [];
|
|
39217
|
-
return n != null && n.length ? I$(n).flat().map((i, o) => cq(i, e == null ? void 0 : e[o])) : [
|
|
39224
|
+
return n != null && n.length ? I$(n).flat().map((i, o) => cq(i, e == null ? void 0 : e[o])) : [As()];
|
|
39218
39225
|
}
|
|
39219
39226
|
function cq(t, e) {
|
|
39220
|
-
const n = e ||
|
|
39227
|
+
const n = e || As();
|
|
39221
39228
|
n.securitySchemeId = t.schemeId;
|
|
39222
39229
|
const r = fv(t);
|
|
39223
39230
|
n.securityType = r;
|
|
@@ -39277,7 +39284,7 @@ function cq(t, e) {
|
|
|
39277
39284
|
}
|
|
39278
39285
|
return n;
|
|
39279
39286
|
}
|
|
39280
|
-
function
|
|
39287
|
+
function As() {
|
|
39281
39288
|
return An(nq);
|
|
39282
39289
|
}
|
|
39283
39290
|
function rl(t, e) {
|
|
@@ -39336,8 +39343,8 @@ function uv(t) {
|
|
|
39336
39343
|
}),
|
|
39337
39344
|
{}
|
|
39338
39345
|
),
|
|
39339
|
-
...
|
|
39340
|
-
} :
|
|
39346
|
+
...xs
|
|
39347
|
+
} : xs;
|
|
39341
39348
|
}
|
|
39342
39349
|
function dC(t) {
|
|
39343
39350
|
if (!t) return [na()];
|
|
@@ -40303,7 +40310,7 @@ function bq() {
|
|
|
40303
40310
|
}(p0)), p0.exports;
|
|
40304
40311
|
}
|
|
40305
40312
|
var g0 = { exports: {} }, OC;
|
|
40306
|
-
function
|
|
40313
|
+
function Ps() {
|
|
40307
40314
|
return OC || (OC = 1, function(t, e) {
|
|
40308
40315
|
(function(n, r) {
|
|
40309
40316
|
t.exports = r(tt());
|
|
@@ -40460,7 +40467,7 @@ function Sq() {
|
|
|
40460
40467
|
}(m0)), m0.exports;
|
|
40461
40468
|
}
|
|
40462
40469
|
var O0 = { exports: {} }, vC;
|
|
40463
|
-
function
|
|
40470
|
+
function Es() {
|
|
40464
40471
|
return vC || (vC = 1, function(t, e) {
|
|
40465
40472
|
(function(n, r) {
|
|
40466
40473
|
t.exports = r(tt());
|
|
@@ -42346,7 +42353,7 @@ var F0 = { exports: {} }, WC;
|
|
|
42346
42353
|
function Nq() {
|
|
42347
42354
|
return WC || (WC = 1, function(t, e) {
|
|
42348
42355
|
(function(n, r, i) {
|
|
42349
|
-
t.exports = r(tt(),
|
|
42356
|
+
t.exports = r(tt(), Ps(), Es(), Wo(), On());
|
|
42350
42357
|
})(Ze, function(n) {
|
|
42351
42358
|
return function() {
|
|
42352
42359
|
var r = n, i = r.lib, o = i.BlockCipher, s = r.algo, a = [], l = [], c = [], u = [], f = [], d = [], h = [], p = [], O = [], m = [];
|
|
@@ -42406,7 +42413,7 @@ var Z0 = { exports: {} }, VC;
|
|
|
42406
42413
|
function Fq() {
|
|
42407
42414
|
return VC || (VC = 1, function(t, e) {
|
|
42408
42415
|
(function(n, r, i) {
|
|
42409
|
-
t.exports = r(tt(),
|
|
42416
|
+
t.exports = r(tt(), Ps(), Es(), Wo(), On());
|
|
42410
42417
|
})(Ze, function(n) {
|
|
42411
42418
|
return function() {
|
|
42412
42419
|
var r = n, i = r.lib, o = i.WordArray, s = i.BlockCipher, a = r.algo, l = [
|
|
@@ -43126,7 +43133,7 @@ var W0 = { exports: {} }, zC;
|
|
|
43126
43133
|
function Zq() {
|
|
43127
43134
|
return zC || (zC = 1, function(t, e) {
|
|
43128
43135
|
(function(n, r, i) {
|
|
43129
|
-
t.exports = r(tt(),
|
|
43136
|
+
t.exports = r(tt(), Ps(), Es(), Wo(), On());
|
|
43130
43137
|
})(Ze, function(n) {
|
|
43131
43138
|
return function() {
|
|
43132
43139
|
var r = n, i = r.lib, o = i.StreamCipher, s = r.algo, a = s.RC4 = o.extend({
|
|
@@ -43180,7 +43187,7 @@ var V0 = { exports: {} }, LC;
|
|
|
43180
43187
|
function Wq() {
|
|
43181
43188
|
return LC || (LC = 1, function(t, e) {
|
|
43182
43189
|
(function(n, r, i) {
|
|
43183
|
-
t.exports = r(tt(),
|
|
43190
|
+
t.exports = r(tt(), Ps(), Es(), Wo(), On());
|
|
43184
43191
|
})(Ze, function(n) {
|
|
43185
43192
|
return function() {
|
|
43186
43193
|
var r = n, i = r.lib, o = i.StreamCipher, s = r.algo, a = [], l = [], c = [], u = s.Rabbit = o.extend({
|
|
@@ -43246,7 +43253,7 @@ var z0 = { exports: {} }, XC;
|
|
|
43246
43253
|
function Vq() {
|
|
43247
43254
|
return XC || (XC = 1, function(t, e) {
|
|
43248
43255
|
(function(n, r, i) {
|
|
43249
|
-
t.exports = r(tt(),
|
|
43256
|
+
t.exports = r(tt(), Ps(), Es(), Wo(), On());
|
|
43250
43257
|
})(Ze, function(n) {
|
|
43251
43258
|
return function() {
|
|
43252
43259
|
var r = n, i = r.lib, o = i.StreamCipher, s = r.algo, a = [], l = [], c = [], u = s.RabbitLegacy = o.extend({
|
|
@@ -43310,7 +43317,7 @@ var L0 = { exports: {} }, GC;
|
|
|
43310
43317
|
function zq() {
|
|
43311
43318
|
return GC || (GC = 1, function(t, e) {
|
|
43312
43319
|
(function(n, r, i) {
|
|
43313
|
-
t.exports = r(tt(),
|
|
43320
|
+
t.exports = r(tt(), Ps(), Es(), Wo(), On());
|
|
43314
43321
|
})(Ze, function(n) {
|
|
43315
43322
|
return function() {
|
|
43316
43323
|
var r = n, i = r.lib, o = i.BlockCipher, s = r.algo;
|
|
@@ -44430,7 +44437,7 @@ function zq() {
|
|
|
44430
44437
|
}
|
|
44431
44438
|
(function(t, e) {
|
|
44432
44439
|
(function(n, r, i) {
|
|
44433
|
-
t.exports = r(tt(), Th(), yq(), bq(),
|
|
44440
|
+
t.exports = r(tt(), Th(), yq(), bq(), Ps(), Sq(), Es(), Q$(), hv(), wq(), B$(), Cq(), kq(), Aq(), pv(), Pq(), Wo(), On(), Eq(), Tq(), Iq(), $q(), jq(), Rq(), Dq(), Qq(), Bq(), _q(), Mq(), Nq(), Fq(), Zq(), Wq(), Vq(), zq());
|
|
44434
44441
|
})(Ze, function(n) {
|
|
44435
44442
|
return n;
|
|
44436
44443
|
});
|
|
@@ -44524,7 +44531,7 @@ async function qq(t) {
|
|
|
44524
44531
|
const T = F$(t), A = gv(t), E = Date.now(), { clientCert: $, clientKey: j } = Uq(
|
|
44525
44532
|
x,
|
|
44526
44533
|
l.get() ? l.get() : []
|
|
44527
|
-
), B = await
|
|
44534
|
+
), B = await ls(k, {
|
|
44528
44535
|
signal: u,
|
|
44529
44536
|
method: O,
|
|
44530
44537
|
headers: T,
|
|
@@ -44566,7 +44573,7 @@ async function Hq(t, e, n, r) {
|
|
|
44566
44573
|
s
|
|
44567
44574
|
).findLast((c) => c.securityType.get() === H.DigestAuth);
|
|
44568
44575
|
if (l) {
|
|
44569
|
-
const c = await
|
|
44576
|
+
const c = await ls(e, {
|
|
44570
44577
|
signal: r,
|
|
44571
44578
|
method: o,
|
|
44572
44579
|
mode: n || V$(e) ? "same-origin" : "cors"
|
|
@@ -44940,7 +44947,7 @@ function OU(t) {
|
|
|
44940
44947
|
}
|
|
44941
44948
|
function HC(t) {
|
|
44942
44949
|
return new HE({
|
|
44943
|
-
regexp: new RegExp(`${
|
|
44950
|
+
regexp: new RegExp(`${Ss}(.*?)${ws}`, "g"),
|
|
44944
44951
|
decoration: (e) => {
|
|
44945
44952
|
const { selectedEnvironment: n } = t, r = e[1], o = n.get().variables.find((l) => l.name === r), s = !(o != null && o.value), a = r === px;
|
|
44946
44953
|
return we.mark({
|
|
@@ -45023,7 +45030,7 @@ const Gl = (t) => Wt.fromClass(
|
|
|
45023
45030
|
name: "Binary",
|
|
45024
45031
|
extensions: void 0
|
|
45025
45032
|
}
|
|
45026
|
-
},
|
|
45033
|
+
}, xs = {
|
|
45027
45034
|
...Qd,
|
|
45028
45035
|
...Y$,
|
|
45029
45036
|
...q$
|
|
@@ -45154,7 +45161,7 @@ function CU({ isOpen: t, onClose: e, onSign: n }) {
|
|
|
45154
45161
|
maxHeight: "170px",
|
|
45155
45162
|
minHeight: "170px",
|
|
45156
45163
|
onChange: (v) => l(v),
|
|
45157
|
-
extensions:
|
|
45164
|
+
extensions: xs[ut.Text].extensions,
|
|
45158
45165
|
basicSetup: m
|
|
45159
45166
|
}
|
|
45160
45167
|
) })
|
|
@@ -45185,7 +45192,7 @@ function CU({ isOpen: t, onClose: e, onSign: n }) {
|
|
|
45185
45192
|
maxHeight: "130px",
|
|
45186
45193
|
minHeight: "130px",
|
|
45187
45194
|
onChange: (v) => i(v),
|
|
45188
|
-
extensions:
|
|
45195
|
+
extensions: xs[ut.JSON].extensions,
|
|
45189
45196
|
basicSetup: m
|
|
45190
45197
|
}
|
|
45191
45198
|
) })
|
|
@@ -45981,7 +45988,7 @@ function zU({ security: t, securityType: e }) {
|
|
|
45981
45988
|
onClick: () => s(!o)
|
|
45982
45989
|
}
|
|
45983
45990
|
),
|
|
45984
|
-
/* @__PURE__ */ g.jsx(
|
|
45991
|
+
/* @__PURE__ */ g.jsx(ys, { data: l.get(), type: "icon" })
|
|
45985
45992
|
] })
|
|
45986
45993
|
] });
|
|
45987
45994
|
}
|
|
@@ -46314,7 +46321,7 @@ function yH(t) {
|
|
|
46314
46321
|
return t.userinfo_endpoint;
|
|
46315
46322
|
}
|
|
46316
46323
|
function bH(t, e) {
|
|
46317
|
-
const n =
|
|
46324
|
+
const n = As()[H.OAuth2], r = (s, a) => {
|
|
46318
46325
|
switch (a) {
|
|
46319
46326
|
case ie.AuthorizationCode:
|
|
46320
46327
|
return {
|
|
@@ -46662,7 +46669,7 @@ function FH() {
|
|
|
46662
46669
|
), a = () => {
|
|
46663
46670
|
t("add_security_clicked", { name }), r.set((c) => [
|
|
46664
46671
|
...c,
|
|
46665
|
-
{ ...
|
|
46672
|
+
{ ...As(), securitySchemeId: n.get() }
|
|
46666
46673
|
]);
|
|
46667
46674
|
}, l = (c) => {
|
|
46668
46675
|
t("remove_security_clicked", { securityType: c.securityType.get() }), c.set(pt);
|
|
@@ -47107,7 +47114,7 @@ function yJ(t) {
|
|
|
47107
47114
|
return t.map((e) => {
|
|
47108
47115
|
var n;
|
|
47109
47116
|
return {
|
|
47110
|
-
label: /* @__PURE__ */ g.jsx("div", { children: ((n =
|
|
47117
|
+
label: /* @__PURE__ */ g.jsx("div", { children: ((n = xs[e]) == null ? void 0 : n.name) || e }),
|
|
47111
47118
|
value: e
|
|
47112
47119
|
};
|
|
47113
47120
|
});
|
|
@@ -47190,10 +47197,10 @@ function kJ() {
|
|
|
47190
47197
|
[s, e, a, o, i, l]
|
|
47191
47198
|
), m = We(() => {
|
|
47192
47199
|
var S;
|
|
47193
|
-
return [...((S =
|
|
47200
|
+
return [...((S = xs[s.value]) == null ? void 0 : S.extensions) || []];
|
|
47194
47201
|
}, [s]), x = We(() => {
|
|
47195
47202
|
var S;
|
|
47196
|
-
return [...((S =
|
|
47203
|
+
return [...((S = xs[s.value]) == null ? void 0 : S.stateExtensions) || []];
|
|
47197
47204
|
}, [s]), v = Ue(() => {
|
|
47198
47205
|
o.set(SJ(o.get()));
|
|
47199
47206
|
}, [o]), y = Ue(() => {
|
|
@@ -49040,7 +49047,7 @@ const mo = {
|
|
|
49040
49047
|
security: {
|
|
49041
49048
|
securitySchemeVariants: [],
|
|
49042
49049
|
selectedSecuritySchemeId: "",
|
|
49043
|
-
securities: [
|
|
49050
|
+
securities: [As()]
|
|
49044
49051
|
},
|
|
49045
49052
|
body: po(),
|
|
49046
49053
|
queryParameters: [mn()],
|
|
@@ -49078,7 +49085,7 @@ function zc() {
|
|
|
49078
49085
|
return structuredClone(sK);
|
|
49079
49086
|
}
|
|
49080
49087
|
const aK = ZO(zc());
|
|
49081
|
-
ZO(
|
|
49088
|
+
ZO(As());
|
|
49082
49089
|
const dj = Ac(aK), lK = dj.Provider;
|
|
49083
49090
|
function je() {
|
|
49084
49091
|
const t = Ii(dj);
|
|
@@ -49366,7 +49373,7 @@ const {
|
|
|
49366
49373
|
forwardRef: gj,
|
|
49367
49374
|
useCallback: er,
|
|
49368
49375
|
useContext: mj,
|
|
49369
|
-
useEffect:
|
|
49376
|
+
useEffect: cs,
|
|
49370
49377
|
useImperativeHandle: Oj,
|
|
49371
49378
|
useLayoutEffect: gK,
|
|
49372
49379
|
useMemo: mK,
|
|
@@ -49725,7 +49732,7 @@ function bK({
|
|
|
49725
49732
|
l.removeAttribute("aria-controls"), l.removeAttribute("aria-valuemax"), l.removeAttribute("aria-valuemin"), l.removeAttribute("aria-valuenow");
|
|
49726
49733
|
});
|
|
49727
49734
|
};
|
|
49728
|
-
}, [n, r, i, o]),
|
|
49735
|
+
}, [n, r, i, o]), cs(() => {
|
|
49729
49736
|
if (!o)
|
|
49730
49737
|
return;
|
|
49731
49738
|
const a = e.current;
|
|
@@ -49929,7 +49936,7 @@ function kK({
|
|
|
49929
49936
|
pointerEvents: e !== null ? "none" : void 0
|
|
49930
49937
|
};
|
|
49931
49938
|
}
|
|
49932
|
-
let yO = null,
|
|
49939
|
+
let yO = null, ss = null;
|
|
49933
49940
|
function Pj(t) {
|
|
49934
49941
|
switch (t) {
|
|
49935
49942
|
case "horizontal":
|
|
@@ -49947,14 +49954,14 @@ function Pj(t) {
|
|
|
49947
49954
|
}
|
|
49948
49955
|
}
|
|
49949
49956
|
function AK() {
|
|
49950
|
-
|
|
49957
|
+
ss !== null && (document.head.removeChild(ss), yO = null, ss = null);
|
|
49951
49958
|
}
|
|
49952
49959
|
function X0(t) {
|
|
49953
49960
|
if (yO === t)
|
|
49954
49961
|
return;
|
|
49955
49962
|
yO = t;
|
|
49956
49963
|
const e = Pj(t);
|
|
49957
|
-
|
|
49964
|
+
ss === null && (ss = document.createElement("style"), document.head.appendChild(ss)), ss.innerHTML = `*{cursor: ${e}!important;}`;
|
|
49958
49965
|
}
|
|
49959
49966
|
function PK(t, e = 10) {
|
|
49960
49967
|
let n = null;
|
|
@@ -50127,7 +50134,7 @@ function $j({
|
|
|
50127
50134
|
panelDataArray: w.current.panelDataArray,
|
|
50128
50135
|
setLayout: x,
|
|
50129
50136
|
panelGroupElement: h.current
|
|
50130
|
-
}),
|
|
50137
|
+
}), cs(() => {
|
|
50131
50138
|
const {
|
|
50132
50139
|
panelDataArray: R
|
|
50133
50140
|
} = w.current;
|
|
@@ -50139,7 +50146,7 @@ function $j({
|
|
|
50139
50146
|
const _ = [...R], G = new Map(y.current);
|
|
50140
50147
|
Q(t, _, G, m, l);
|
|
50141
50148
|
}
|
|
50142
|
-
}, [t, m, l]),
|
|
50149
|
+
}, [t, m, l]), cs(() => {
|
|
50143
50150
|
});
|
|
50144
50151
|
const C = er((R) => {
|
|
50145
50152
|
const {
|
|
@@ -50153,7 +50160,7 @@ function $j({
|
|
|
50153
50160
|
collapsedSize: K = 0,
|
|
50154
50161
|
panelSize: V,
|
|
50155
50162
|
pivotIndices: ae
|
|
50156
|
-
} =
|
|
50163
|
+
} = Jo(G, R, _);
|
|
50157
50164
|
if (Ne(V != null), V !== K) {
|
|
50158
50165
|
y.current.set(R.id, V);
|
|
50159
50166
|
const oe = Ls(G, R) === G.length - 1 ? V - K : K - V, Y = Ql({
|
|
@@ -50179,7 +50186,7 @@ function $j({
|
|
|
50179
50186
|
panelSize: V,
|
|
50180
50187
|
minSize: ae = 0,
|
|
50181
50188
|
pivotIndices: te
|
|
50182
|
-
} =
|
|
50189
|
+
} = Jo(G, R, _);
|
|
50183
50190
|
if (V === K) {
|
|
50184
50191
|
const oe = y.current.get(R.id), Y = oe != null && oe >= ae ? oe : ae, X = Ls(G, R) === G.length - 1 ? V - Y : Y - V, ee = Ql({
|
|
50185
50192
|
delta: X,
|
|
@@ -50197,7 +50204,7 @@ function $j({
|
|
|
50197
50204
|
panelDataArray: _
|
|
50198
50205
|
} = w.current, {
|
|
50199
50206
|
panelSize: G
|
|
50200
|
-
} =
|
|
50207
|
+
} = Jo(_, R, Q);
|
|
50201
50208
|
return Ne(G != null), G;
|
|
50202
50209
|
}, []), A = er((R, Q) => {
|
|
50203
50210
|
const {
|
|
@@ -50218,7 +50225,7 @@ function $j({
|
|
|
50218
50225
|
collapsedSize: G = 0,
|
|
50219
50226
|
collapsible: M,
|
|
50220
50227
|
panelSize: K
|
|
50221
|
-
} =
|
|
50228
|
+
} = Jo(_, R, Q);
|
|
50222
50229
|
return M === !0 && K === G;
|
|
50223
50230
|
}, []), $ = er((R) => {
|
|
50224
50231
|
const {
|
|
@@ -50228,7 +50235,7 @@ function $j({
|
|
|
50228
50235
|
collapsedSize: G = 0,
|
|
50229
50236
|
collapsible: M,
|
|
50230
50237
|
panelSize: K
|
|
50231
|
-
} =
|
|
50238
|
+
} = Jo(_, R, Q);
|
|
50232
50239
|
return Ne(K != null), !M || K > G;
|
|
50233
50240
|
}, []), j = er((R) => {
|
|
50234
50241
|
const {
|
|
@@ -50304,7 +50311,7 @@ function $j({
|
|
|
50304
50311
|
} = w.current, K = M.map((he) => he.constraints), {
|
|
50305
50312
|
panelSize: V,
|
|
50306
50313
|
pivotIndices: ae
|
|
50307
|
-
} =
|
|
50314
|
+
} = Jo(M, R, G);
|
|
50308
50315
|
Ne(V != null);
|
|
50309
50316
|
const oe = Ls(M, R) === M.length - 1 ? V - Q : Q - V, Y = Ql({
|
|
50310
50317
|
delta: oe,
|
|
@@ -50332,7 +50339,7 @@ function $j({
|
|
|
50332
50339
|
minSize: ee = 0
|
|
50333
50340
|
} = R.constraints, {
|
|
50334
50341
|
panelSize: de
|
|
50335
|
-
} =
|
|
50342
|
+
} = Jo(G, R, _);
|
|
50336
50343
|
Ne(de != null), K && Y && M !== oe && de === M ? D(R, oe) : de < ee ? D(R, ee) : de > X && D(R, X);
|
|
50337
50344
|
}, [D]), z = er((R, Q) => {
|
|
50338
50345
|
const {
|
|
@@ -50409,7 +50416,7 @@ jj.displayName = "forwardRef(PanelGroup)";
|
|
|
50409
50416
|
function Ls(t, e) {
|
|
50410
50417
|
return t.findIndex((n) => n === e || n.id === e.id);
|
|
50411
50418
|
}
|
|
50412
|
-
function
|
|
50419
|
+
function Jo(t, e, n) {
|
|
50413
50420
|
const r = Ls(t, e), o = r === t.length - 1 ? [r - 1, r] : [r, r + 1], s = n[r];
|
|
50414
50421
|
return {
|
|
50415
50422
|
...e.constraints,
|
|
@@ -50423,7 +50430,7 @@ function $K({
|
|
|
50423
50430
|
resizeHandler: n,
|
|
50424
50431
|
panelGroupElement: r
|
|
50425
50432
|
}) {
|
|
50426
|
-
|
|
50433
|
+
cs(() => {
|
|
50427
50434
|
if (t || n == null || r == null)
|
|
50428
50435
|
return;
|
|
50429
50436
|
const i = Qh(e, r);
|
|
@@ -50472,7 +50479,7 @@ function Rj({
|
|
|
50472
50479
|
const c = vr(null), u = vr({
|
|
50473
50480
|
onDragging: i
|
|
50474
50481
|
});
|
|
50475
|
-
|
|
50482
|
+
cs(() => {
|
|
50476
50483
|
u.current.onDragging = i;
|
|
50477
50484
|
});
|
|
50478
50485
|
const f = mj(Dh);
|
|
@@ -50494,14 +50501,14 @@ function Rj({
|
|
|
50494
50501
|
} = u.current;
|
|
50495
50502
|
$ && $(!1);
|
|
50496
50503
|
}, [x]);
|
|
50497
|
-
|
|
50504
|
+
cs(() => {
|
|
50498
50505
|
if (n)
|
|
50499
50506
|
k(null);
|
|
50500
50507
|
else {
|
|
50501
50508
|
const E = O(y);
|
|
50502
50509
|
k(() => E);
|
|
50503
50510
|
}
|
|
50504
|
-
}, [n, y, O]),
|
|
50511
|
+
}, [n, y, O]), cs(() => {
|
|
50505
50512
|
if (n || C == null || !S)
|
|
50506
50513
|
return;
|
|
50507
50514
|
const E = (D) => {
|
|
@@ -51278,7 +51285,7 @@ function Av({
|
|
|
51278
51285
|
return /* @__PURE__ */ g.jsx(Fo, { onClickOutside: i, children: /* @__PURE__ */ g.jsxs(tee, { $level: o, className: t, onKeyDown: p, children: [
|
|
51279
51286
|
/* @__PURE__ */ g.jsx(KK, { children: l }),
|
|
51280
51287
|
/* @__PURE__ */ g.jsx(
|
|
51281
|
-
|
|
51288
|
+
fs,
|
|
51282
51289
|
{
|
|
51283
51290
|
ref: d,
|
|
51284
51291
|
"data-testid": "edit-item-header-input",
|
|
@@ -51402,7 +51409,7 @@ function nee({ transaction: t, onClose: e }) {
|
|
|
51402
51409
|
] }),
|
|
51403
51410
|
/* @__PURE__ */ g.jsx(ia, { children: /* @__PURE__ */ g.jsx("b", { children: "Request name" }) }),
|
|
51404
51411
|
/* @__PURE__ */ g.jsx(
|
|
51405
|
-
|
|
51412
|
+
fs,
|
|
51406
51413
|
{
|
|
51407
51414
|
type: "text",
|
|
51408
51415
|
placeholder: "Enter name",
|
|
@@ -51434,7 +51441,7 @@ function nee({ transaction: t, onClose: e }) {
|
|
|
51434
51441
|
] }) : /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
51435
51442
|
/* @__PURE__ */ g.jsx(ia, { children: /* @__PURE__ */ g.jsx("b", { children: "Collection name" }) }),
|
|
51436
51443
|
/* @__PURE__ */ g.jsx(
|
|
51437
|
-
|
|
51444
|
+
fs,
|
|
51438
51445
|
{
|
|
51439
51446
|
type: "text",
|
|
51440
51447
|
placeholder: "New Collection",
|
|
@@ -51911,7 +51918,7 @@ function Qee({
|
|
|
51911
51918
|
return /* @__PURE__ */ g.jsx(Fo, { onClickOutside: r, children: /* @__PURE__ */ g.jsxs(JK, { children: [
|
|
51912
51919
|
i,
|
|
51913
51920
|
/* @__PURE__ */ g.jsx(
|
|
51914
|
-
|
|
51921
|
+
fs,
|
|
51915
51922
|
{
|
|
51916
51923
|
"data-testid": "edit-item-header-input",
|
|
51917
51924
|
type: "text",
|
|
@@ -52113,7 +52120,7 @@ function bk({ name: t, value: e }) {
|
|
|
52113
52120
|
onClick: o
|
|
52114
52121
|
}
|
|
52115
52122
|
),
|
|
52116
|
-
/* @__PURE__ */ g.jsx(
|
|
52123
|
+
/* @__PURE__ */ g.jsx(ys, { toasterPlacement: "left", data: e, onCopyClick: s })
|
|
52117
52124
|
] })
|
|
52118
52125
|
] });
|
|
52119
52126
|
}
|
|
@@ -52271,7 +52278,7 @@ const qee = I.div`
|
|
|
52271
52278
|
`;
|
|
52272
52279
|
function ete({ app: t }) {
|
|
52273
52280
|
const [e, n] = fe(!1), { title: r, credentials: i, id: o } = t, s = i.get() || [], a = (l) => {
|
|
52274
|
-
l && !i.get() && (n(!0),
|
|
52281
|
+
l && !i.get() && (n(!0), ls(`/api/api-keys/apps/${o.get()}`).then((c) => c.json().then((u) => {
|
|
52275
52282
|
c.ok && i.set(u.credentials);
|
|
52276
52283
|
}).catch(() => console.log("Something went wrong")).finally(() => n(!1))));
|
|
52277
52284
|
};
|
|
@@ -52299,7 +52306,7 @@ function ite() {
|
|
|
52299
52306
|
const [t, e] = fe(""), { apps: n, apiId: r, appsLoadingState: i } = je(), { MobileHeader: o } = ni(), { sendEvent: s } = gt(), a = () => {
|
|
52300
52307
|
window.open("/apps", "_blank"), s("apps_request_access_clicked", {});
|
|
52301
52308
|
};
|
|
52302
|
-
_e(() => ((i.get() === fi.Idle || i.get() === fi.Error) && (i.set(fi.Loading),
|
|
52309
|
+
_e(() => ((i.get() === fi.Idle || i.get() === fi.Error) && (i.set(fi.Loading), ls(`/api/api-keys/api-products/${r.get()}/access?expand=0`).then((u) => u.json().then((f) => {
|
|
52303
52310
|
u.ok ? (n.set(f.apps || []), i.set(fi.Success)) : i.set(fi.Error);
|
|
52304
52311
|
}).catch(() => i.set(fi.Error)))), () => {
|
|
52305
52312
|
n.set([]), i.set(fi.Idle);
|
|
@@ -52900,7 +52907,7 @@ function Ck(t) {
|
|
|
52900
52907
|
function Pi(t) {
|
|
52901
52908
|
return t === 10 || t === 13;
|
|
52902
52909
|
}
|
|
52903
|
-
function
|
|
52910
|
+
function us(t) {
|
|
52904
52911
|
return t === 9 || t === 32;
|
|
52905
52912
|
}
|
|
52906
52913
|
function or(t) {
|
|
@@ -53009,7 +53016,7 @@ function Tv(t) {
|
|
|
53009
53016
|
}
|
|
53010
53017
|
function en(t, e, n) {
|
|
53011
53018
|
for (var r = 0, i = t.input.charCodeAt(t.position); i !== 0; ) {
|
|
53012
|
-
for (;
|
|
53019
|
+
for (; us(i); )
|
|
53013
53020
|
i === 9 && t.firstTabInLine === -1 && (t.firstTabInLine = t.position), i = t.input.charCodeAt(++t.position);
|
|
53014
53021
|
if (e && i === 35)
|
|
53015
53022
|
do
|
|
@@ -53054,7 +53061,7 @@ function mne(t, e, n) {
|
|
|
53054
53061
|
break;
|
|
53055
53062
|
}
|
|
53056
53063
|
}
|
|
53057
|
-
a && (Po(t, o, s, !1), Iv(t, t.line - l), o = s = t.position, a = !1),
|
|
53064
|
+
a && (Po(t, o, s, !1), Iv(t, t.line - l), o = s = t.position, a = !1), us(h) || (s = t.position + 1), h = t.input.charCodeAt(++t.position);
|
|
53058
53065
|
}
|
|
53059
53066
|
return Po(t, o, s, !1), t.result ? !0 : (t.kind = f, t.result = d, !1);
|
|
53060
53067
|
}
|
|
@@ -53124,10 +53131,10 @@ function yne(t, e) {
|
|
|
53124
53131
|
u === 0 ? ke(t, "bad explicit indentation width of a block scalar; it cannot be less than one") : s ? ke(t, "repeat of an indentation width identifier") : (a = e + u - 1, s = !0);
|
|
53125
53132
|
else
|
|
53126
53133
|
break;
|
|
53127
|
-
if (
|
|
53134
|
+
if (us(f)) {
|
|
53128
53135
|
do
|
|
53129
53136
|
f = t.input.charCodeAt(++t.position);
|
|
53130
|
-
while (
|
|
53137
|
+
while (us(f));
|
|
53131
53138
|
if (f === 35)
|
|
53132
53139
|
do
|
|
53133
53140
|
f = t.input.charCodeAt(++t.position);
|
|
@@ -53146,7 +53153,7 @@ function yne(t, e) {
|
|
|
53146
53153
|
`);
|
|
53147
53154
|
break;
|
|
53148
53155
|
}
|
|
53149
|
-
for (r ?
|
|
53156
|
+
for (r ? us(f) ? (c = !0, t.result += fn.repeat(`
|
|
53150
53157
|
`, o ? 1 + l : l)) : c ? (c = !1, t.result += fn.repeat(`
|
|
53151
53158
|
`, l + 1)) : l === 0 ? o && (t.result += " ") : t.result += fn.repeat(`
|
|
53152
53159
|
`, l) : t.result += fn.repeat(`
|
|
@@ -53181,7 +53188,7 @@ function bne(t, e, n) {
|
|
|
53181
53188
|
if (s = t.line, a = t.lineStart, l = t.position, !Ma(t, n, f5, !1, !0))
|
|
53182
53189
|
break;
|
|
53183
53190
|
if (t.line === o) {
|
|
53184
|
-
for (v = t.input.charCodeAt(t.position);
|
|
53191
|
+
for (v = t.input.charCodeAt(t.position); us(v); )
|
|
53185
53192
|
v = t.input.charCodeAt(++t.position);
|
|
53186
53193
|
if (v === 58)
|
|
53187
53194
|
v = t.input.charCodeAt(++t.position), or(v) || ke(t, "a whitespace character is expected after the key-value separator within a block mapping"), m && (ta(t, f, d, h, p, null, s, a, l), h = p = O = null), x = !0, m = !1, i = !1, h = t.tag, p = t.result;
|
|
@@ -53268,7 +53275,7 @@ function kne(t) {
|
|
|
53268
53275
|
for (o = !0, s = t.input.charCodeAt(++t.position), n = t.position; s !== 0 && !or(s); )
|
|
53269
53276
|
s = t.input.charCodeAt(++t.position);
|
|
53270
53277
|
for (r = t.input.slice(n, t.position), i = [], r.length < 1 && ke(t, "directive name must not be less than one character in length"); s !== 0; ) {
|
|
53271
|
-
for (;
|
|
53278
|
+
for (; us(s); )
|
|
53272
53279
|
s = t.input.charCodeAt(++t.position);
|
|
53273
53280
|
if (s === 35) {
|
|
53274
53281
|
do
|
|
@@ -53700,7 +53707,7 @@ const $re = I.div`
|
|
|
53700
53707
|
justify-content: center;
|
|
53701
53708
|
color: var(--text-color-helper);
|
|
53702
53709
|
margin-top: 20vh;
|
|
53703
|
-
`, jre =
|
|
53710
|
+
`, jre = vs(
|
|
53704
53711
|
({
|
|
53705
53712
|
children: t,
|
|
53706
53713
|
controls: e,
|
|
@@ -54418,7 +54425,7 @@ function kie({
|
|
|
54418
54425
|
return /* @__PURE__ */ g.jsx(Fo, { onClickOutside: r, children: /* @__PURE__ */ g.jsxs(Aie, { $level: o, onKeyDown: h, children: [
|
|
54419
54426
|
i,
|
|
54420
54427
|
/* @__PURE__ */ g.jsx(
|
|
54421
|
-
|
|
54428
|
+
fs,
|
|
54422
54429
|
{
|
|
54423
54430
|
ref: f,
|
|
54424
54431
|
"data-testid": "edit-item-header-input",
|
|
@@ -54700,7 +54707,7 @@ function Bie(t) {
|
|
|
54700
54707
|
securitySchemeVariants: [],
|
|
54701
54708
|
selectedSecuritySchemeId: "",
|
|
54702
54709
|
securities: t.map((e) => {
|
|
54703
|
-
const n =
|
|
54710
|
+
const n = As(), r = e.type;
|
|
54704
54711
|
return {
|
|
54705
54712
|
...n,
|
|
54706
54713
|
securityType: e.type,
|
|
@@ -55422,7 +55429,7 @@ function Z5() {
|
|
|
55422
55429
|
}
|
|
55423
55430
|
),
|
|
55424
55431
|
/* @__PURE__ */ g.jsx(
|
|
55425
|
-
|
|
55432
|
+
ys,
|
|
55426
55433
|
{
|
|
55427
55434
|
data: y.get() ? k.get() : Gt(k.get(), t),
|
|
55428
55435
|
variant: "secondary",
|
|
@@ -55832,7 +55839,7 @@ function Zoe() {
|
|
|
55832
55839
|
}
|
|
55833
55840
|
)
|
|
55834
55841
|
] }),
|
|
55835
|
-
/* @__PURE__ */ g.jsx(X5, { children: /* @__PURE__ */ g.jsx(
|
|
55842
|
+
/* @__PURE__ */ g.jsx(X5, { children: /* @__PURE__ */ g.jsx(ys, { toasterPlacement: "left", data: a, onCopyClick: c }) })
|
|
55836
55843
|
] }),
|
|
55837
55844
|
/* @__PURE__ */ g.jsx(Fe, {}),
|
|
55838
55845
|
Qd[i] ? /* @__PURE__ */ g.jsx(
|
|
@@ -55892,7 +55899,7 @@ function Loe() {
|
|
|
55892
55899
|
/* @__PURE__ */ g.jsxs(Qv, { children: [
|
|
55893
55900
|
/* @__PURE__ */ g.jsx(Yoe, { children: "Header list" }),
|
|
55894
55901
|
/* @__PURE__ */ g.jsx(X5, { children: /* @__PURE__ */ g.jsx(
|
|
55895
|
-
|
|
55902
|
+
ys,
|
|
55896
55903
|
{
|
|
55897
55904
|
toasterPlacement: "left",
|
|
55898
55905
|
data: r,
|
|
@@ -55918,7 +55925,7 @@ const Xoe = I.div`
|
|
|
55918
55925
|
display: flex;
|
|
55919
55926
|
flex-direction: column;
|
|
55920
55927
|
overflow: auto;
|
|
55921
|
-
`, Goe = I(
|
|
55928
|
+
`, Goe = I(ys)`
|
|
55922
55929
|
justify-self: center;
|
|
55923
55930
|
`, Yoe = I.span``;
|
|
55924
55931
|
function qoe() {
|
|
@@ -56429,7 +56436,7 @@ const K5 = I.div`
|
|
|
56429
56436
|
right: 12px;
|
|
56430
56437
|
top: 12px;
|
|
56431
56438
|
align-self: flex-start;
|
|
56432
|
-
`, zse =
|
|
56439
|
+
`, zse = vs(
|
|
56433
56440
|
(t, e) => {
|
|
56434
56441
|
const { isMobile: n } = ni();
|
|
56435
56442
|
return n ? /* @__PURE__ */ g.jsx(K5, { ref: e, ...t }) : /* @__PURE__ */ g.jsx(Vse, { ref: e, ...t });
|