storybook 9.1.0-alpha.6 → 9.1.0-alpha.7
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/assets/browser/favicon-wrapper.svg +46 -0
- package/assets/browser/favicon.svg +1 -1
- package/dist/bin/index.cjs +43 -43
- package/dist/bin/index.js +43 -43
- package/dist/cli/bin/index.cjs +513 -513
- package/dist/cli/bin/index.js +535 -535
- package/dist/cli/index.cjs +2454 -2453
- package/dist/cli/index.d.ts +10 -3
- package/dist/cli/index.js +2436 -2435
- package/dist/common/index.cjs +64 -61
- package/dist/common/index.d.ts +9 -3
- package/dist/common/index.js +64 -61
- package/dist/components/index.cjs +1459 -1447
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +407 -394
- package/dist/core-server/index.cjs +5833 -5819
- package/dist/core-server/index.d.ts +4 -1
- package/dist/core-server/index.js +4848 -4835
- package/dist/core-server/presets/common-manager.js +3403 -3332
- package/dist/core-server/presets/common-preset.cjs +1831 -1837
- package/dist/core-server/presets/common-preset.js +1787 -1792
- package/dist/csf/index.cjs +2536 -736
- package/dist/csf/index.d.ts +250 -9
- package/dist/csf/index.js +2558 -749
- package/dist/instrumenter/index.cjs +1150 -1099
- package/dist/instrumenter/index.d.ts +1 -0
- package/dist/instrumenter/index.js +1261 -1214
- package/dist/manager/globals-runtime.js +21313 -23957
- package/dist/manager/runtime.js +3713 -3534
- package/dist/manager-api/index.cjs +3 -3
- package/dist/manager-api/index.d.ts +8 -531
- package/dist/manager-api/index.js +3 -3
- package/dist/node-logger/index.cjs +1620 -1620
- package/dist/node-logger/index.js +1619 -1619
- package/dist/preview/runtime.js +13337 -16032
- package/dist/preview-api/index.cjs +273 -271
- package/dist/preview-api/index.d.ts +4 -1
- package/dist/preview-api/index.js +14 -12
- package/dist/telemetry/index.cjs +500 -500
- package/dist/telemetry/index.js +478 -478
- package/dist/test/index.cjs +9136 -9815
- package/dist/test/index.js +8339 -9025
- package/dist/types/index.d.ts +12 -12
- package/package.json +5 -196
- package/dist/actions/preview.cjs +0 -159
- package/dist/actions/preview.d.ts +0 -45
- package/dist/actions/preview.js +0 -149
- package/dist/backgrounds/index.cjs +0 -16
- package/dist/backgrounds/index.d.ts +0 -2
- package/dist/backgrounds/index.js +0 -0
- package/dist/backgrounds/preview.cjs +0 -143
- package/dist/backgrounds/preview.d.ts +0 -53
- package/dist/backgrounds/preview.js +0 -127
- package/dist/component-testing/index.cjs +0 -23
- package/dist/component-testing/index.d.ts +0 -3
- package/dist/component-testing/index.js +0 -5
- package/dist/component-testing/preview.cjs +0 -40
- package/dist/component-testing/preview.d.ts +0 -5
- package/dist/component-testing/preview.js +0 -25
- package/dist/controls/preview.cjs +0 -26
- package/dist/controls/preview.d.ts +0 -43
- package/dist/controls/preview.js +0 -9
- package/dist/highlight/preview.cjs +0 -590
- package/dist/highlight/preview.d.ts +0 -20
- package/dist/highlight/preview.js +0 -575
- package/dist/measure/index.cjs +0 -16
- package/dist/measure/index.d.ts +0 -2
- package/dist/measure/index.js +0 -0
- package/dist/measure/preview.cjs +0 -466
- package/dist/measure/preview.d.ts +0 -25
- package/dist/measure/preview.js +0 -450
- package/dist/outline/index.cjs +0 -16
- package/dist/outline/index.d.ts +0 -2
- package/dist/outline/index.js +0 -0
- package/dist/outline/preview.cjs +0 -518
- package/dist/outline/preview.d.ts +0 -25
- package/dist/outline/preview.js +0 -486
- package/dist/test/preview.cjs +0 -73
- package/dist/test/preview.d.ts +0 -17
- package/dist/test/preview.js +0 -66
- package/dist/viewport/preview.cjs +0 -35
- package/dist/viewport/preview.d.ts +0 -62
- package/dist/viewport/preview.js +0 -19
package/dist/components/index.js
CHANGED
|
@@ -73,10 +73,10 @@ var kl = C(() => {
|
|
|
73
73
|
});
|
|
74
74
|
|
|
75
75
|
// ../node_modules/memoizerific/memoizerific.js
|
|
76
|
-
var Kr = H((Ul,
|
|
76
|
+
var Kr = H((Ul, ea) => {
|
|
77
77
|
(function(e) {
|
|
78
|
-
if (typeof Ul == "object" && typeof
|
|
79
|
-
|
|
78
|
+
if (typeof Ul == "object" && typeof ea < "u")
|
|
79
|
+
ea.exports = e();
|
|
80
80
|
else if (typeof define == "function" && define.amd)
|
|
81
81
|
define([], e);
|
|
82
82
|
else {
|
|
@@ -240,7 +240,7 @@ function Jr(e, t) {
|
|
|
240
240
|
for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
|
|
241
241
|
return n;
|
|
242
242
|
}
|
|
243
|
-
var
|
|
243
|
+
var ta = C(() => {
|
|
244
244
|
o(Jr, "_arrayLikeToArray");
|
|
245
245
|
});
|
|
246
246
|
|
|
@@ -249,7 +249,7 @@ function Xl(e) {
|
|
|
249
249
|
if (Array.isArray(e)) return Jr(e);
|
|
250
250
|
}
|
|
251
251
|
var Yl = C(() => {
|
|
252
|
-
|
|
252
|
+
ta();
|
|
253
253
|
o(Xl, "_arrayWithoutHoles");
|
|
254
254
|
});
|
|
255
255
|
|
|
@@ -271,7 +271,7 @@ function Jl(e, t) {
|
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
273
|
var Ql = C(() => {
|
|
274
|
-
|
|
274
|
+
ta();
|
|
275
275
|
o(Jl, "_unsupportedIterableToArray");
|
|
276
276
|
});
|
|
277
277
|
|
|
@@ -305,7 +305,7 @@ function Ft(e) {
|
|
|
305
305
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
306
306
|
}, Ft(e);
|
|
307
307
|
}
|
|
308
|
-
var
|
|
308
|
+
var ra = C(() => {
|
|
309
309
|
o(Ft, "_typeof");
|
|
310
310
|
});
|
|
311
311
|
|
|
@@ -321,7 +321,7 @@ function nc(e, t) {
|
|
|
321
321
|
return (t === "string" ? String : Number)(e);
|
|
322
322
|
}
|
|
323
323
|
var oc = C(() => {
|
|
324
|
-
|
|
324
|
+
ra();
|
|
325
325
|
o(nc, "toPrimitive");
|
|
326
326
|
});
|
|
327
327
|
|
|
@@ -331,7 +331,7 @@ function ac(e) {
|
|
|
331
331
|
return Ft(t) == "symbol" ? t : t + "";
|
|
332
332
|
}
|
|
333
333
|
var ic = C(() => {
|
|
334
|
-
|
|
334
|
+
ra();
|
|
335
335
|
oc();
|
|
336
336
|
o(ac, "toPropertyKey");
|
|
337
337
|
});
|
|
@@ -345,7 +345,7 @@ function On(e, t, r) {
|
|
|
345
345
|
writable: !0
|
|
346
346
|
}) : e[t] = r, e;
|
|
347
347
|
}
|
|
348
|
-
var
|
|
348
|
+
var na = C(() => {
|
|
349
349
|
ic();
|
|
350
350
|
o(On, "_defineProperty");
|
|
351
351
|
});
|
|
@@ -413,7 +413,7 @@ function d2(e) {
|
|
|
413
413
|
function p2(e) {
|
|
414
414
|
if (e.length === 0 || e.length === 1) return e;
|
|
415
415
|
var t = e.join(".");
|
|
416
|
-
return
|
|
416
|
+
return oa[t] || (oa[t] = d2(e)), oa[t];
|
|
417
417
|
}
|
|
418
418
|
function m2(e) {
|
|
419
419
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 ? arguments[2] : void 0, n = e.filter(
|
|
@@ -470,13 +470,13 @@ function _t(e) {
|
|
|
470
470
|
}, m), h);
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
|
-
var
|
|
473
|
+
var oa, aa = C(() => {
|
|
474
474
|
Yr();
|
|
475
|
-
|
|
475
|
+
na();
|
|
476
476
|
o(lc, "ownKeys");
|
|
477
477
|
o(fr, "_objectSpread");
|
|
478
478
|
o(d2, "powerSetPermutations");
|
|
479
|
-
|
|
479
|
+
oa = {};
|
|
480
480
|
o(p2, "getClassNameCombinations");
|
|
481
481
|
o(m2, "createStyleObject");
|
|
482
482
|
o(cc, "createClassNameString");
|
|
@@ -723,7 +723,7 @@ function S2(e) {
|
|
|
723
723
|
};
|
|
724
724
|
}
|
|
725
725
|
}
|
|
726
|
-
function
|
|
726
|
+
function ia(e, t) {
|
|
727
727
|
return /* @__PURE__ */ o(function(n) {
|
|
728
728
|
var a = n.language, i = n.children, c = n.style, l = c === void 0 ? t : c, s = n.customStyle, u = s === void 0 ? {} : s, f = n.codeTagProps,
|
|
729
729
|
d = f === void 0 ? {
|
|
@@ -780,8 +780,8 @@ function aa(e, t) {
|
|
|
780
780
|
var g2, v2, gc = C(() => {
|
|
781
781
|
Gl();
|
|
782
782
|
rc();
|
|
783
|
-
|
|
784
|
-
|
|
783
|
+
na();
|
|
784
|
+
aa();
|
|
785
785
|
uc();
|
|
786
786
|
g2 = ["language", "children", "style", "customStyle", "codeTagProps", "useInlineStyles", "showLineNumbers", "showInlineLineNumbers", "star\
|
|
787
787
|
tingLineNumber", "lineNumberContainerStyle", "lineNumberStyle", "wrapLines", "wrapLongLines", "lineProps", "renderer", "PreTag", "CodeTag", "\
|
|
@@ -801,7 +801,7 @@ code", "astGenerator"];
|
|
|
801
801
|
o(E2, "defaultRenderer");
|
|
802
802
|
o(hc, "isHighlightJs");
|
|
803
803
|
o(S2, "getCodeTree");
|
|
804
|
-
o(
|
|
804
|
+
o(ia, "default");
|
|
805
805
|
});
|
|
806
806
|
|
|
807
807
|
// ../node_modules/xtend/immutable.js
|
|
@@ -820,13 +820,13 @@ var wc = H((yb, vc) => {
|
|
|
820
820
|
});
|
|
821
821
|
|
|
822
822
|
// ../node_modules/hastscript/node_modules/property-information/lib/util/schema.js
|
|
823
|
-
var
|
|
823
|
+
var ca = H((Eb, Rc) => {
|
|
824
824
|
"use strict";
|
|
825
825
|
Rc.exports = bc;
|
|
826
|
-
var
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
826
|
+
var la = bc.prototype;
|
|
827
|
+
la.space = null;
|
|
828
|
+
la.normal = {};
|
|
829
|
+
la.property = {};
|
|
830
830
|
function bc(e, t, r) {
|
|
831
831
|
this.property = e, this.normal = t, r && (this.space = r);
|
|
832
832
|
}
|
|
@@ -836,7 +836,7 @@ var la = H((Eb, Rc) => {
|
|
|
836
836
|
// ../node_modules/hastscript/node_modules/property-information/lib/util/merge.js
|
|
837
837
|
var Ec = H((Cb, xc) => {
|
|
838
838
|
"use strict";
|
|
839
|
-
var yc = wc(), L2 =
|
|
839
|
+
var yc = wc(), L2 = ca();
|
|
840
840
|
xc.exports = A2;
|
|
841
841
|
function A2(e) {
|
|
842
842
|
for (var t = e.length, r = [], n = [], a = -1, i, c; ++a < t; )
|
|
@@ -861,7 +861,7 @@ var Nn = H((Lb, Sc) => {
|
|
|
861
861
|
});
|
|
862
862
|
|
|
863
863
|
// ../node_modules/hastscript/node_modules/property-information/lib/util/info.js
|
|
864
|
-
var
|
|
864
|
+
var sa = H((Ib, Mc) => {
|
|
865
865
|
"use strict";
|
|
866
866
|
Mc.exports = Cc;
|
|
867
867
|
var De = Cc.prototype;
|
|
@@ -901,12 +901,12 @@ var Dn = H((Rt) => {
|
|
|
901
901
|
});
|
|
902
902
|
|
|
903
903
|
// ../node_modules/hastscript/node_modules/property-information/lib/util/defined-info.js
|
|
904
|
-
var
|
|
904
|
+
var fa = H((Pb, Tc) => {
|
|
905
905
|
"use strict";
|
|
906
|
-
var Ic =
|
|
907
|
-
Tc.exports =
|
|
908
|
-
|
|
909
|
-
|
|
906
|
+
var Ic = sa(), Lc = Dn();
|
|
907
|
+
Tc.exports = ua;
|
|
908
|
+
ua.prototype = new Ic();
|
|
909
|
+
ua.prototype.defined = !0;
|
|
910
910
|
var zc = [
|
|
911
911
|
"boolean",
|
|
912
912
|
"booleanish",
|
|
@@ -916,12 +916,12 @@ var ua = H((Pb, Tc) => {
|
|
|
916
916
|
"spaceSeparated",
|
|
917
917
|
"commaOrSpaceSeparated"
|
|
918
918
|
], T2 = zc.length;
|
|
919
|
-
function
|
|
919
|
+
function ua(e, t, r, n) {
|
|
920
920
|
var a = -1, i;
|
|
921
921
|
for (Ac(this, "space", n), Ic.call(this, e, t); ++a < T2; )
|
|
922
922
|
i = zc[a], Ac(this, i, (r & Lc[i]) === Lc[i]);
|
|
923
923
|
}
|
|
924
|
-
o(
|
|
924
|
+
o(ua, "DefinedInfo");
|
|
925
925
|
function Ac(e, t, r) {
|
|
926
926
|
r && (e[t] = r);
|
|
927
927
|
}
|
|
@@ -931,7 +931,7 @@ var ua = H((Pb, Tc) => {
|
|
|
931
931
|
// ../node_modules/hastscript/node_modules/property-information/lib/util/create.js
|
|
932
932
|
var dr = H((Ob, Pc) => {
|
|
933
933
|
"use strict";
|
|
934
|
-
var Hc = Nn(), H2 =
|
|
934
|
+
var Hc = Nn(), H2 = ca(), P2 = fa();
|
|
935
935
|
Pc.exports = k2;
|
|
936
936
|
function k2(e) {
|
|
937
937
|
var t = e.space, r = e.mustUseProperty || [], n = e.attributes || {}, a = e.properties, i = e.transform, c = {}, l = {}, s, u;
|
|
@@ -1000,7 +1000,7 @@ var Fc = H(($b, Dc) => {
|
|
|
1000
1000
|
});
|
|
1001
1001
|
|
|
1002
1002
|
// ../node_modules/hastscript/node_modules/property-information/lib/util/case-insensitive-transform.js
|
|
1003
|
-
var
|
|
1003
|
+
var da = H((jb, _c) => {
|
|
1004
1004
|
"use strict";
|
|
1005
1005
|
var _2 = Fc();
|
|
1006
1006
|
_c.exports = $2;
|
|
@@ -1013,7 +1013,7 @@ var fa = H((jb, _c) => {
|
|
|
1013
1013
|
// ../node_modules/hastscript/node_modules/property-information/lib/xmlns.js
|
|
1014
1014
|
var Vc = H((Ub, $c) => {
|
|
1015
1015
|
"use strict";
|
|
1016
|
-
var V2 = dr(), j2 =
|
|
1016
|
+
var V2 = dr(), j2 = da();
|
|
1017
1017
|
$c.exports = V2({
|
|
1018
1018
|
space: "xmlns",
|
|
1019
1019
|
attributes: {
|
|
@@ -1030,7 +1030,7 @@ var Vc = H((Ub, $c) => {
|
|
|
1030
1030
|
// ../node_modules/hastscript/node_modules/property-information/lib/aria.js
|
|
1031
1031
|
var Wc = H((qb, jc) => {
|
|
1032
1032
|
"use strict";
|
|
1033
|
-
var
|
|
1033
|
+
var pa = Dn(), W2 = dr(), Le = pa.booleanish, Fe = pa.number, jt = pa.spaceSeparated;
|
|
1034
1034
|
jc.exports = W2({
|
|
1035
1035
|
transform: U2,
|
|
1036
1036
|
properties: {
|
|
@@ -1094,7 +1094,7 @@ var Wc = H((qb, jc) => {
|
|
|
1094
1094
|
// ../node_modules/hastscript/node_modules/property-information/lib/html.js
|
|
1095
1095
|
var qc = H((Xb, Uc) => {
|
|
1096
1096
|
"use strict";
|
|
1097
|
-
var pr = Dn(), q2 = dr(), G2 =
|
|
1097
|
+
var pr = Dn(), q2 = dr(), G2 = da(), B = pr.boolean, X2 = pr.overloadedBoolean, Qr = pr.booleanish, X = pr.number, Re = pr.spaceSeparated,
|
|
1098
1098
|
Fn = pr.commaSeparated;
|
|
1099
1099
|
Uc.exports = q2({
|
|
1100
1100
|
space: "html",
|
|
@@ -1455,23 +1455,23 @@ var Xc = H((Yb, Gc) => {
|
|
|
1455
1455
|
// ../node_modules/hastscript/node_modules/property-information/find.js
|
|
1456
1456
|
var Kc = H((Zb, Zc) => {
|
|
1457
1457
|
"use strict";
|
|
1458
|
-
var t4 = Nn(), r4 =
|
|
1458
|
+
var t4 = Nn(), r4 = fa(), n4 = sa(), ma = "data";
|
|
1459
1459
|
Zc.exports = i4;
|
|
1460
1460
|
var o4 = /^data[-\w.:]+$/i, Yc = /-[a-z]/g, a4 = /[A-Z]/g;
|
|
1461
1461
|
function i4(e, t) {
|
|
1462
1462
|
var r = t4(t), n = t, a = n4;
|
|
1463
|
-
return r in e.normal ? e.property[e.normal[r]] : (r.length > 4 && r.slice(0, 4) ===
|
|
1463
|
+
return r in e.normal ? e.property[e.normal[r]] : (r.length > 4 && r.slice(0, 4) === ma && o4.test(t) && (t.charAt(4) === "-" ? n = l4(t) :
|
|
1464
1464
|
t = c4(t), a = r4), new a(n, t));
|
|
1465
1465
|
}
|
|
1466
1466
|
o(i4, "find");
|
|
1467
1467
|
function l4(e) {
|
|
1468
1468
|
var t = e.slice(5).replace(Yc, u4);
|
|
1469
|
-
return
|
|
1469
|
+
return ma + t.charAt(0).toUpperCase() + t.slice(1);
|
|
1470
1470
|
}
|
|
1471
1471
|
o(l4, "datasetToProperty");
|
|
1472
1472
|
function c4(e) {
|
|
1473
1473
|
var t = e.slice(4);
|
|
1474
|
-
return Yc.test(t) ? e : (t = t.replace(a4, s4), t.charAt(0) !== "-" && (t = "-" + t),
|
|
1474
|
+
return Yc.test(t) ? e : (t = t.replace(a4, s4), t.charAt(0) !== "-" && (t = "-" + t), ma + t);
|
|
1475
1475
|
}
|
|
1476
1476
|
o(c4, "datasetToAttribute");
|
|
1477
1477
|
function s4(e) {
|
|
@@ -1499,10 +1499,10 @@ var es = H((Jb, Qc) => {
|
|
|
1499
1499
|
});
|
|
1500
1500
|
|
|
1501
1501
|
// ../node_modules/hastscript/node_modules/space-separated-tokens/index.js
|
|
1502
|
-
var rs = H((
|
|
1502
|
+
var rs = H((ha) => {
|
|
1503
1503
|
"use strict";
|
|
1504
|
-
|
|
1505
|
-
|
|
1504
|
+
ha.parse = m4;
|
|
1505
|
+
ha.stringify = h4;
|
|
1506
1506
|
var ts = "", d4 = " ", p4 = /[ \t\n\r\f]+/g;
|
|
1507
1507
|
function m4(e) {
|
|
1508
1508
|
var t = String(e || ts).trim();
|
|
@@ -1516,20 +1516,20 @@ var rs = H((ma) => {
|
|
|
1516
1516
|
});
|
|
1517
1517
|
|
|
1518
1518
|
// ../node_modules/hastscript/node_modules/comma-separated-tokens/index.js
|
|
1519
|
-
var os = H((
|
|
1519
|
+
var os = H((va) => {
|
|
1520
1520
|
"use strict";
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
var
|
|
1521
|
+
va.parse = g4;
|
|
1522
|
+
va.stringify = v4;
|
|
1523
|
+
var ga = ",", ns = " ", en = "";
|
|
1524
1524
|
function g4(e) {
|
|
1525
|
-
for (var t = [], r = String(e || en), n = r.indexOf(
|
|
1526
|
-
n === -1 && (n = r.length, i = !0), c = r.slice(a, n).trim(), (c || !i) && t.push(c), a = n + 1, n = r.indexOf(
|
|
1525
|
+
for (var t = [], r = String(e || en), n = r.indexOf(ga), a = 0, i = !1, c; !i; )
|
|
1526
|
+
n === -1 && (n = r.length, i = !0), c = r.slice(a, n).trim(), (c || !i) && t.push(c), a = n + 1, n = r.indexOf(ga, a);
|
|
1527
1527
|
return t;
|
|
1528
1528
|
}
|
|
1529
1529
|
o(g4, "parse");
|
|
1530
1530
|
function v4(e, t) {
|
|
1531
1531
|
var r = t || {}, n = r.padLeft === !1 ? en : ns, a = r.padRight ? ns : en;
|
|
1532
|
-
return e[e.length - 1] === en && (e = e.concat(en)), e.join(a +
|
|
1532
|
+
return e[e.length - 1] === en && (e = e.concat(en)), e.join(a + ga + n).trim();
|
|
1533
1533
|
}
|
|
1534
1534
|
o(v4, "stringify");
|
|
1535
1535
|
});
|
|
@@ -1775,7 +1775,7 @@ var ws = H((s9, z4) => {
|
|
|
1775
1775
|
});
|
|
1776
1776
|
|
|
1777
1777
|
// ../node_modules/refractor/node_modules/is-decimal/index.js
|
|
1778
|
-
var
|
|
1778
|
+
var wa = H((u9, bs) => {
|
|
1779
1779
|
"use strict";
|
|
1780
1780
|
bs.exports = T4;
|
|
1781
1781
|
function T4(e) {
|
|
@@ -1810,7 +1810,7 @@ var Es = H((m9, xs) => {
|
|
|
1810
1810
|
// ../node_modules/refractor/node_modules/is-alphanumerical/index.js
|
|
1811
1811
|
var Cs = H((g9, Ss) => {
|
|
1812
1812
|
"use strict";
|
|
1813
|
-
var k4 = Es(), O4 =
|
|
1813
|
+
var k4 = Es(), O4 = wa();
|
|
1814
1814
|
Ss.exports = B4;
|
|
1815
1815
|
function B4(e) {
|
|
1816
1816
|
return k4(e) || O4(e);
|
|
@@ -1834,7 +1834,7 @@ var Ls = H((w9, Ms) => {
|
|
|
1834
1834
|
// ../node_modules/refractor/node_modules/parse-entities/index.js
|
|
1835
1835
|
var $s = H((R9, _s) => {
|
|
1836
1836
|
"use strict";
|
|
1837
|
-
var As = vs(), Is = ws(), F4 =
|
|
1837
|
+
var As = vs(), Is = ws(), F4 = wa(), _4 = ys(), Ps = Cs(), $4 = Ls();
|
|
1838
1838
|
_s.exports = em;
|
|
1839
1839
|
var V4 = {}.hasOwnProperty, mr = String.fromCharCode, j4 = Function.prototype, zs = {
|
|
1840
1840
|
warning: null,
|
|
@@ -1847,21 +1847,21 @@ var $s = H((R9, _s) => {
|
|
|
1847
1847
|
additional: null,
|
|
1848
1848
|
attribute: !1,
|
|
1849
1849
|
nonTerminated: !0
|
|
1850
|
-
}, W4 = 9, Ts = 10, U4 = 12, q4 = 32, Hs = 38, G4 = 59, X4 = 60, Y4 = 61, Z4 = 35, K4 = 88, J4 = 120, Q4 = 65533, hr = "named",
|
|
1851
|
-
decimal",
|
|
1852
|
-
|
|
1853
|
-
ya
|
|
1850
|
+
}, W4 = 9, Ts = 10, U4 = 12, q4 = 32, Hs = 38, G4 = 59, X4 = 60, Y4 = 61, Z4 = 35, K4 = 88, J4 = 120, Q4 = 65533, hr = "named", Ra = "hexa\
|
|
1851
|
+
decimal", ya = "decimal", xa = {};
|
|
1852
|
+
xa[Ra] = 16;
|
|
1853
|
+
xa[ya] = 10;
|
|
1854
1854
|
var $n = {};
|
|
1855
1855
|
$n[hr] = Ps;
|
|
1856
|
-
$n[
|
|
1857
|
-
$n[
|
|
1858
|
-
var ks = 1, Os = 2, Bs = 3, Ns = 4, Ds = 5,
|
|
1856
|
+
$n[ya] = F4;
|
|
1857
|
+
$n[Ra] = _4;
|
|
1858
|
+
var ks = 1, Os = 2, Bs = 3, Ns = 4, Ds = 5, ba = 6, Fs = 7, yt = {};
|
|
1859
1859
|
yt[ks] = "Named character references must be terminated by a semicolon";
|
|
1860
1860
|
yt[Os] = "Numeric character references must be terminated by a semicolon";
|
|
1861
1861
|
yt[Bs] = "Named character references cannot be empty";
|
|
1862
1862
|
yt[Ns] = "Numeric character references cannot be empty";
|
|
1863
1863
|
yt[Ds] = "Named character references must be known";
|
|
1864
|
-
yt[
|
|
1864
|
+
yt[ba] = "Numeric character references cannot be disallowed";
|
|
1865
1865
|
yt[Fs] = "Numeric character references cannot be outside the permissible Unicode range";
|
|
1866
1866
|
function em(e, t) {
|
|
1867
1867
|
var r = {}, n, a;
|
|
@@ -1881,13 +1881,13 @@ decimal", Ra = "decimal", ya = {};
|
|
|
1881
1881
|
g += mr(S), p++;
|
|
1882
1882
|
continue;
|
|
1883
1883
|
}
|
|
1884
|
-
for (T = v + 1, K = T, O = T, M === Z4 ? (O = ++K, M = e.charCodeAt(O), M === K4 || M === J4 ? (z =
|
|
1884
|
+
for (T = v + 1, K = T, O = T, M === Z4 ? (O = ++K, M = e.charCodeAt(O), M === K4 || M === J4 ? (z = Ra, O = ++K) : z = ya) : z = hr,
|
|
1885
1885
|
b = "", F = "", y = "", k = $n[z], O--; ++O < m && (M = e.charCodeAt(O), !!k(M)); )
|
|
1886
1886
|
y += mr(M), z === hr && V4.call(As, y) && (b = y, F = As[y]);
|
|
1887
1887
|
E = e.charCodeAt(O) === G4, E && (O++, x = z === hr ? $4(y) : !1, x && (b = y, F = x)), j = 1 + O - T, !E && !n || (y ? z === hr ? (E &&
|
|
1888
1888
|
!F ? A(Ds, 1) : (b !== y && (O = K + b.length, j = 1 + O - K, E = !1), E || (P = b ? ks : Bs, t.attribute ? (M = e.charCodeAt(O), M ===
|
|
1889
|
-
Y4 ? (A(P, j), F = null) : Ps(M) ? F = null : A(P, j)) : A(P, j))), L = F) : (E || A(Os, j), L = parseInt(y,
|
|
1890
|
-
L = mr(Q4)) : L in Is ? (A(
|
|
1889
|
+
Y4 ? (A(P, j), F = null) : Ps(M) ? F = null : A(P, j)) : A(P, j))), L = F) : (E || A(Os, j), L = parseInt(y, xa[z]), rm(L) ? (A(Fs, j),
|
|
1890
|
+
L = mr(Q4)) : L in Is ? (A(ba, j), L = Is[L]) : (_ = "", nm(L) && A(ba, j), L > 65535 && (L -= 65536, _ += mr(L >>> 10 | 55296), L =
|
|
1891
1891
|
56320 | L & 1023), L = _ + mr(L))) : z !== hr && A(Ns, j)), L ? (pe(), V = G(), v = O - 1, p += O - T + 1, w.push(L), D = G(), D.offset++,
|
|
1892
1892
|
i && i.call(
|
|
1893
1893
|
s,
|
|
@@ -2631,12 +2631,12 @@ var js = H((x9, Vn) => {
|
|
|
2631
2631
|
});
|
|
2632
2632
|
|
|
2633
2633
|
// ../node_modules/refractor/lang/markup.js
|
|
2634
|
-
var
|
|
2634
|
+
var Sa = H((S9, Ws) => {
|
|
2635
2635
|
"use strict";
|
|
2636
|
-
Ws.exports =
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
function
|
|
2636
|
+
Ws.exports = Ea;
|
|
2637
|
+
Ea.displayName = "markup";
|
|
2638
|
+
Ea.aliases = ["html", "mathml", "svg", "xml", "ssml", "atom", "rss"];
|
|
2639
|
+
function Ea(e) {
|
|
2640
2640
|
e.languages.markup = {
|
|
2641
2641
|
comment: {
|
|
2642
2642
|
pattern: /<!--(?:(?!<!--)[\s\S])*?-->/,
|
|
@@ -2805,16 +2805,16 @@ bset"].inside = e.languages.markup, e.hooks.add("wrap", function(t) {
|
|
|
2805
2805
|
e.languages.extend("markup", {}), e.languages.ssml = e.languages.xml, e.languages.atom = e.languages.xml, e.languages.rss = e.languages.
|
|
2806
2806
|
xml;
|
|
2807
2807
|
}
|
|
2808
|
-
o(
|
|
2808
|
+
o(Ea, "markup");
|
|
2809
2809
|
});
|
|
2810
2810
|
|
|
2811
2811
|
// ../node_modules/refractor/lang/css.js
|
|
2812
|
-
var
|
|
2812
|
+
var Ma = H((M9, Us) => {
|
|
2813
2813
|
"use strict";
|
|
2814
|
-
Us.exports =
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
function
|
|
2814
|
+
Us.exports = Ca;
|
|
2815
|
+
Ca.displayName = "css";
|
|
2816
|
+
Ca.aliases = [];
|
|
2817
|
+
function Ca(e) {
|
|
2818
2818
|
(function(t) {
|
|
2819
2819
|
var r = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
|
|
2820
2820
|
t.languages.css = {
|
|
@@ -2876,16 +2876,16 @@ var Ca = H((M9, Us) => {
|
|
|
2876
2876
|
n && (n.tag.addInlined("style", "css"), n.tag.addAttribute("style", "css"));
|
|
2877
2877
|
})(e);
|
|
2878
2878
|
}
|
|
2879
|
-
o(
|
|
2879
|
+
o(Ca, "css");
|
|
2880
2880
|
});
|
|
2881
2881
|
|
|
2882
2882
|
// ../node_modules/refractor/lang/clike.js
|
|
2883
2883
|
var Gs = H((A9, qs) => {
|
|
2884
2884
|
"use strict";
|
|
2885
|
-
qs.exports =
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
function
|
|
2885
|
+
qs.exports = La;
|
|
2886
|
+
La.displayName = "clike";
|
|
2887
|
+
La.aliases = [];
|
|
2888
|
+
function La(e) {
|
|
2889
2889
|
e.languages.clike = {
|
|
2890
2890
|
comment: [
|
|
2891
2891
|
{
|
|
@@ -2918,16 +2918,16 @@ var Gs = H((A9, qs) => {
|
|
|
2918
2918
|
punctuation: /[{}[\];(),.:]/
|
|
2919
2919
|
};
|
|
2920
2920
|
}
|
|
2921
|
-
o(
|
|
2921
|
+
o(La, "clike");
|
|
2922
2922
|
});
|
|
2923
2923
|
|
|
2924
2924
|
// ../node_modules/refractor/lang/javascript.js
|
|
2925
2925
|
var Ys = H((z9, Xs) => {
|
|
2926
2926
|
"use strict";
|
|
2927
|
-
Xs.exports =
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
function
|
|
2927
|
+
Xs.exports = Aa;
|
|
2928
|
+
Aa.displayName = "javascript";
|
|
2929
|
+
Aa.aliases = ["js"];
|
|
2930
|
+
function Aa(e) {
|
|
2931
2931
|
e.languages.javascript = e.languages.extend("clike", {
|
|
2932
2932
|
"class-name": [
|
|
2933
2933
|
e.languages.clike["class-name"],
|
|
@@ -3053,7 +3053,7 @@ var Ys = H((z9, Xs) => {
|
|
|
3053
3053
|
"javascript"
|
|
3054
3054
|
)), e.languages.js = e.languages.javascript;
|
|
3055
3055
|
}
|
|
3056
|
-
o(
|
|
3056
|
+
o(Aa, "javascript");
|
|
3057
3057
|
});
|
|
3058
3058
|
|
|
3059
3059
|
// ../node_modules/refractor/core.js
|
|
@@ -3062,9 +3062,9 @@ var Qs = H((H9, Js) => {
|
|
|
3062
3062
|
var tn = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global ==
|
|
3063
3063
|
"object" ? global : {}, am = Rm();
|
|
3064
3064
|
tn.Prism = { manual: !0, disableWorkerMessageHandler: !0 };
|
|
3065
|
-
var im = gs(), lm = $s(), Zs = js(), cm =
|
|
3065
|
+
var im = gs(), lm = $s(), Zs = js(), cm = Sa(), sm = Ma(), um = Gs(), fm = Ys();
|
|
3066
3066
|
am();
|
|
3067
|
-
var
|
|
3067
|
+
var Ia = {}.hasOwnProperty;
|
|
3068
3068
|
function Ks() {
|
|
3069
3069
|
}
|
|
3070
3070
|
o(Ks, "Refractor");
|
|
@@ -3105,7 +3105,7 @@ var Qs = H((H9, Js) => {
|
|
|
3105
3105
|
else {
|
|
3106
3106
|
if (typeof t != "string")
|
|
3107
3107
|
throw new Error("Expected `string` for `name`, got `" + t + "`");
|
|
3108
|
-
if (
|
|
3108
|
+
if (Ia.call(oe.languages, t))
|
|
3109
3109
|
n = oe.languages[t];
|
|
3110
3110
|
else
|
|
3111
3111
|
throw new Error("Unknown language: `" + t + "` is not registered");
|
|
@@ -3116,13 +3116,13 @@ var Qs = H((H9, Js) => {
|
|
|
3116
3116
|
function mm(e) {
|
|
3117
3117
|
if (typeof e != "string")
|
|
3118
3118
|
throw new Error("Expected `string` for `language`, got `" + e + "`");
|
|
3119
|
-
return
|
|
3119
|
+
return Ia.call(oe.languages, e);
|
|
3120
3120
|
}
|
|
3121
3121
|
o(mm, "registered");
|
|
3122
3122
|
function hm() {
|
|
3123
3123
|
var e = oe.languages, t = [], r;
|
|
3124
3124
|
for (r in e)
|
|
3125
|
-
|
|
3125
|
+
Ia.call(e, r) && typeof e[r] == "object" && t.push(r);
|
|
3126
3126
|
return t;
|
|
3127
3127
|
}
|
|
3128
3128
|
o(hm, "listLanguages");
|
|
@@ -3173,30 +3173,30 @@ var Qs = H((H9, Js) => {
|
|
|
3173
3173
|
});
|
|
3174
3174
|
|
|
3175
3175
|
// ../node_modules/react-syntax-highlighter/dist/esm/prism-light.js
|
|
3176
|
-
var jn,
|
|
3176
|
+
var jn, za, Wn, e1 = C(() => {
|
|
3177
3177
|
gc();
|
|
3178
|
-
jn = me(Qs()),
|
|
3179
|
-
|
|
3178
|
+
jn = me(Qs()), za = ia(jn.default, {});
|
|
3179
|
+
za.registerLanguage = function(e, t) {
|
|
3180
3180
|
return jn.default.register(t);
|
|
3181
3181
|
};
|
|
3182
|
-
|
|
3182
|
+
za.alias = function(e, t) {
|
|
3183
3183
|
return jn.default.alias(e, t);
|
|
3184
3184
|
};
|
|
3185
|
-
Wn =
|
|
3185
|
+
Wn = za;
|
|
3186
3186
|
});
|
|
3187
3187
|
|
|
3188
3188
|
// ../node_modules/react-syntax-highlighter/dist/esm/index.js
|
|
3189
3189
|
var t1 = C(() => {
|
|
3190
|
-
|
|
3190
|
+
aa();
|
|
3191
3191
|
});
|
|
3192
3192
|
|
|
3193
3193
|
// ../node_modules/refractor/lang/bash.js
|
|
3194
3194
|
var n1 = H((D9, r1) => {
|
|
3195
3195
|
"use strict";
|
|
3196
|
-
r1.exports =
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
function
|
|
3196
|
+
r1.exports = Ta;
|
|
3197
|
+
Ta.displayName = "bash";
|
|
3198
|
+
Ta.aliases = ["shell"];
|
|
3199
|
+
function Ta(e) {
|
|
3200
3200
|
(function(t) {
|
|
3201
3201
|
var r = "\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE\
|
|
3202
3202
|
|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|G\
|
|
@@ -3418,7 +3418,7 @@ SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b", n = {
|
|
|
3418
3418
|
t.languages.shell = t.languages.bash;
|
|
3419
3419
|
})(e);
|
|
3420
3420
|
}
|
|
3421
|
-
o(
|
|
3421
|
+
o(Ta, "bash");
|
|
3422
3422
|
});
|
|
3423
3423
|
|
|
3424
3424
|
// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/bash.js
|
|
@@ -3428,16 +3428,16 @@ var o1, a1, i1 = C(() => {
|
|
|
3428
3428
|
|
|
3429
3429
|
// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/css.js
|
|
3430
3430
|
var l1, c1, s1 = C(() => {
|
|
3431
|
-
l1 = me(
|
|
3431
|
+
l1 = me(Ma()), c1 = l1.default;
|
|
3432
3432
|
});
|
|
3433
3433
|
|
|
3434
3434
|
// ../node_modules/refractor/lang/graphql.js
|
|
3435
3435
|
var f1 = H((V9, u1) => {
|
|
3436
3436
|
"use strict";
|
|
3437
|
-
u1.exports =
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
function
|
|
3437
|
+
u1.exports = Ha;
|
|
3438
|
+
Ha.displayName = "graphql";
|
|
3439
|
+
Ha.aliases = [];
|
|
3440
|
+
function Ha(e) {
|
|
3441
3441
|
e.languages.graphql = {
|
|
3442
3442
|
comment: /#.*/,
|
|
3443
3443
|
description: {
|
|
@@ -3563,7 +3563,7 @@ var f1 = H((V9, u1) => {
|
|
|
3563
3563
|
}
|
|
3564
3564
|
}, "afterTokenizeGraphql"));
|
|
3565
3565
|
}
|
|
3566
|
-
o(
|
|
3566
|
+
o(Ha, "graphql");
|
|
3567
3567
|
});
|
|
3568
3568
|
|
|
3569
3569
|
// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/graphql.js
|
|
@@ -3574,10 +3574,10 @@ var d1, p1, m1 = C(() => {
|
|
|
3574
3574
|
// ../node_modules/refractor/lang/js-extras.js
|
|
3575
3575
|
var g1 = H((U9, h1) => {
|
|
3576
3576
|
"use strict";
|
|
3577
|
-
h1.exports =
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
function
|
|
3577
|
+
h1.exports = Pa;
|
|
3578
|
+
Pa.displayName = "jsExtras";
|
|
3579
|
+
Pa.aliases = [];
|
|
3580
|
+
function Pa(e) {
|
|
3581
3581
|
(function(t) {
|
|
3582
3582
|
t.languages.insertBefore("javascript", "function-variable", {
|
|
3583
3583
|
"method-variable": {
|
|
@@ -3696,7 +3696,7 @@ var g1 = H((U9, h1) => {
|
|
|
3696
3696
|
}
|
|
3697
3697
|
})(e);
|
|
3698
3698
|
}
|
|
3699
|
-
o(
|
|
3699
|
+
o(Pa, "jsExtras");
|
|
3700
3700
|
});
|
|
3701
3701
|
|
|
3702
3702
|
// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/js-extras.js
|
|
@@ -3707,10 +3707,10 @@ var v1, w1, b1 = C(() => {
|
|
|
3707
3707
|
// ../node_modules/refractor/lang/json.js
|
|
3708
3708
|
var y1 = H((X9, R1) => {
|
|
3709
3709
|
"use strict";
|
|
3710
|
-
R1.exports =
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
function
|
|
3710
|
+
R1.exports = ka;
|
|
3711
|
+
ka.displayName = "json";
|
|
3712
|
+
ka.aliases = ["webmanifest"];
|
|
3713
|
+
function ka(e) {
|
|
3714
3714
|
e.languages.json = {
|
|
3715
3715
|
property: {
|
|
3716
3716
|
pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,
|
|
@@ -3736,7 +3736,7 @@ var y1 = H((X9, R1) => {
|
|
|
3736
3736
|
}
|
|
3737
3737
|
}, e.languages.webmanifest = e.languages.json;
|
|
3738
3738
|
}
|
|
3739
|
-
o(
|
|
3739
|
+
o(ka, "json");
|
|
3740
3740
|
});
|
|
3741
3741
|
|
|
3742
3742
|
// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/json.js
|
|
@@ -3745,12 +3745,12 @@ var x1, E1, S1 = C(() => {
|
|
|
3745
3745
|
});
|
|
3746
3746
|
|
|
3747
3747
|
// ../node_modules/refractor/lang/jsx.js
|
|
3748
|
-
var
|
|
3748
|
+
var Ba = H((K9, C1) => {
|
|
3749
3749
|
"use strict";
|
|
3750
|
-
C1.exports =
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
function
|
|
3750
|
+
C1.exports = Oa;
|
|
3751
|
+
Oa.displayName = "jsx";
|
|
3752
|
+
Oa.aliases = [];
|
|
3753
|
+
function Oa(e) {
|
|
3754
3754
|
(function(t) {
|
|
3755
3755
|
var r = t.util.clone(t.languages.javascript), n = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, a = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.
|
|
3756
3756
|
source, i = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;
|
|
@@ -3828,21 +3828,21 @@ var Oa = H((K9, C1) => {
|
|
|
3828
3828
|
});
|
|
3829
3829
|
})(e);
|
|
3830
3830
|
}
|
|
3831
|
-
o(
|
|
3831
|
+
o(Oa, "jsx");
|
|
3832
3832
|
});
|
|
3833
3833
|
|
|
3834
3834
|
// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/jsx.js
|
|
3835
3835
|
var M1, L1, A1 = C(() => {
|
|
3836
|
-
M1 = me(
|
|
3836
|
+
M1 = me(Ba()), L1 = M1.default;
|
|
3837
3837
|
});
|
|
3838
3838
|
|
|
3839
3839
|
// ../node_modules/refractor/lang/markdown.js
|
|
3840
3840
|
var z1 = H((eR, I1) => {
|
|
3841
3841
|
"use strict";
|
|
3842
|
-
I1.exports =
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
function
|
|
3842
|
+
I1.exports = Na;
|
|
3843
|
+
Na.displayName = "markdown";
|
|
3844
|
+
Na.aliases = ["md"];
|
|
3845
|
+
function Na(e) {
|
|
3846
3846
|
(function(t) {
|
|
3847
3847
|
var r = /(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;
|
|
3848
3848
|
function n(d) {
|
|
@@ -4168,7 +4168,7 @@ var z1 = H((eR, I1) => {
|
|
|
4168
4168
|
o(f, "textContent"), t.languages.md = t.languages.markdown;
|
|
4169
4169
|
})(e);
|
|
4170
4170
|
}
|
|
4171
|
-
o(
|
|
4171
|
+
o(Na, "markdown");
|
|
4172
4172
|
});
|
|
4173
4173
|
|
|
4174
4174
|
// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/markdown.js
|
|
@@ -4178,16 +4178,16 @@ var T1, H1, P1 = C(() => {
|
|
|
4178
4178
|
|
|
4179
4179
|
// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/markup.js
|
|
4180
4180
|
var k1, O1, B1 = C(() => {
|
|
4181
|
-
k1 = me(
|
|
4181
|
+
k1 = me(Sa()), O1 = k1.default;
|
|
4182
4182
|
});
|
|
4183
4183
|
|
|
4184
4184
|
// ../node_modules/refractor/lang/typescript.js
|
|
4185
|
-
var
|
|
4185
|
+
var Fa = H((oR, N1) => {
|
|
4186
4186
|
"use strict";
|
|
4187
|
-
N1.exports =
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
function
|
|
4187
|
+
N1.exports = Da;
|
|
4188
|
+
Da.displayName = "typescript";
|
|
4189
|
+
Da.aliases = ["ts"];
|
|
4190
|
+
function Da(e) {
|
|
4191
4191
|
(function(t) {
|
|
4192
4192
|
t.languages.typescript = t.languages.extend("javascript", {
|
|
4193
4193
|
"class-name": {
|
|
@@ -4234,17 +4234,17 @@ var Da = H((oR, N1) => {
|
|
|
4234
4234
|
}), t.languages.ts = t.languages.typescript;
|
|
4235
4235
|
})(e);
|
|
4236
4236
|
}
|
|
4237
|
-
o(
|
|
4237
|
+
o(Da, "typescript");
|
|
4238
4238
|
});
|
|
4239
4239
|
|
|
4240
4240
|
// ../node_modules/refractor/lang/tsx.js
|
|
4241
4241
|
var F1 = H((iR, D1) => {
|
|
4242
4242
|
"use strict";
|
|
4243
|
-
var ym =
|
|
4244
|
-
D1.exports =
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
function
|
|
4243
|
+
var ym = Ba(), xm = Fa();
|
|
4244
|
+
D1.exports = _a;
|
|
4245
|
+
_a.displayName = "tsx";
|
|
4246
|
+
_a.aliases = [];
|
|
4247
|
+
function _a(e) {
|
|
4248
4248
|
e.register(ym), e.register(xm), function(t) {
|
|
4249
4249
|
var r = t.util.clone(t.languages.typescript);
|
|
4250
4250
|
t.languages.tsx = t.languages.extend("jsx", r), delete t.languages.tsx.parameter, delete t.languages.tsx["literal-property"];
|
|
@@ -4255,7 +4255,7 @@ var F1 = H((iR, D1) => {
|
|
|
4255
4255
|
), n.lookbehind = !0;
|
|
4256
4256
|
}(e);
|
|
4257
4257
|
}
|
|
4258
|
-
o(
|
|
4258
|
+
o(_a, "tsx");
|
|
4259
4259
|
});
|
|
4260
4260
|
|
|
4261
4261
|
// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/tsx.js
|
|
@@ -4265,16 +4265,16 @@ var _1, $1, V1 = C(() => {
|
|
|
4265
4265
|
|
|
4266
4266
|
// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/typescript.js
|
|
4267
4267
|
var j1, W1, U1 = C(() => {
|
|
4268
|
-
j1 = me(
|
|
4268
|
+
j1 = me(Fa()), W1 = j1.default;
|
|
4269
4269
|
});
|
|
4270
4270
|
|
|
4271
4271
|
// ../node_modules/refractor/lang/yaml.js
|
|
4272
4272
|
var G1 = H((uR, q1) => {
|
|
4273
4273
|
"use strict";
|
|
4274
|
-
q1.exports =
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
function
|
|
4274
|
+
q1.exports = $a;
|
|
4275
|
+
$a.displayName = "yaml";
|
|
4276
|
+
$a.aliases = ["yml"];
|
|
4277
|
+
function $a(e) {
|
|
4278
4278
|
(function(t) {
|
|
4279
4279
|
var r = /[*&][^\s[\]{},]+/, n = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, a = "(?:" + n.source +
|
|
4280
4280
|
"(?:[ ]+" + r.source + ")?|" + r.source + "(?:[ ]+" + n.source + ")?)", i = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.
|
|
@@ -4360,7 +4360,7 @@ var G1 = H((uR, q1) => {
|
|
|
4360
4360
|
}, t.languages.yml = t.languages.yaml;
|
|
4361
4361
|
})(e);
|
|
4362
4362
|
}
|
|
4363
|
-
o(
|
|
4363
|
+
o($a, "yaml");
|
|
4364
4364
|
});
|
|
4365
4365
|
|
|
4366
4366
|
// ../node_modules/react-syntax-highlighter/dist/esm/languages/prism/yaml.js
|
|
@@ -4371,7 +4371,7 @@ var X1, Y1, Z1 = C(() => {
|
|
|
4371
4371
|
// src/components/components/ActionBar/ActionBar.tsx
|
|
4372
4372
|
import K1 from "react";
|
|
4373
4373
|
import { styled as J1 } from "storybook/theming";
|
|
4374
|
-
var Em, Q1,
|
|
4374
|
+
var Em, Q1, Va, ja = C(() => {
|
|
4375
4375
|
"use strict";
|
|
4376
4376
|
Em = J1.div(({ theme: e }) => ({
|
|
4377
4377
|
position: "absolute",
|
|
@@ -4406,7 +4406,10 @@ var Em, Q1, $a, Va = C(() => {
|
|
|
4406
4406
|
},
|
|
4407
4407
|
"&:focus": {
|
|
4408
4408
|
boxShadow: `${e.color.secondary} 0 -3px 0 0 inset`,
|
|
4409
|
-
outline: "0 none"
|
|
4409
|
+
outline: "0 none",
|
|
4410
|
+
"@media (forced-colors: active)": {
|
|
4411
|
+
outline: "1px solid highlight"
|
|
4412
|
+
}
|
|
4410
4413
|
}
|
|
4411
4414
|
}),
|
|
4412
4415
|
({ disabled: e }) => e && {
|
|
@@ -4415,7 +4418,7 @@ var Em, Q1, $a, Va = C(() => {
|
|
|
4415
4418
|
}
|
|
4416
4419
|
);
|
|
4417
4420
|
Q1.displayName = "ActionButton";
|
|
4418
|
-
|
|
4421
|
+
Va = /* @__PURE__ */ o(({ actionItems: e, ...t }) => /* @__PURE__ */ K1.createElement(Em, { ...t }, e.map(({ title: r, className: n, onClick: a,
|
|
4419
4422
|
disabled: i }, c) => /* @__PURE__ */ K1.createElement(Q1, { key: c, className: n, onClick: a, disabled: !!i }, r))), "ActionBar");
|
|
4420
4423
|
});
|
|
4421
4424
|
|
|
@@ -4424,21 +4427,21 @@ import * as e5 from "react";
|
|
|
4424
4427
|
function Sm(e, t) {
|
|
4425
4428
|
typeof e == "function" ? e(t) : e != null && (e.current = t);
|
|
4426
4429
|
}
|
|
4427
|
-
function
|
|
4430
|
+
function Wa(...e) {
|
|
4428
4431
|
return (t) => e.forEach((r) => Sm(r, t));
|
|
4429
4432
|
}
|
|
4430
4433
|
function it(...e) {
|
|
4431
|
-
return e5.useCallback(
|
|
4434
|
+
return e5.useCallback(Wa(...e), e);
|
|
4432
4435
|
}
|
|
4433
4436
|
var Un = C(() => {
|
|
4434
4437
|
o(Sm, "setRef");
|
|
4435
|
-
o(
|
|
4438
|
+
o(Wa, "composeRefs");
|
|
4436
4439
|
o(it, "useComposedRefs");
|
|
4437
4440
|
});
|
|
4438
4441
|
|
|
4439
4442
|
// ../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
4440
4443
|
import * as he from "react";
|
|
4441
|
-
import { Fragment as Cm, jsx as
|
|
4444
|
+
import { Fragment as Cm, jsx as Ua } from "react/jsx-runtime";
|
|
4442
4445
|
function Lm(e) {
|
|
4443
4446
|
return he.isValidElement(e) && e.type === Mm;
|
|
4444
4447
|
}
|
|
@@ -4457,32 +4460,32 @@ function Im(e) {
|
|
|
4457
4460
|
return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref :
|
|
4458
4461
|
e.props.ref || e.ref);
|
|
4459
4462
|
}
|
|
4460
|
-
var
|
|
4463
|
+
var Ga, qa, Mm, t5 = C(() => {
|
|
4461
4464
|
Un();
|
|
4462
|
-
|
|
4465
|
+
Ga = he.forwardRef((e, t) => {
|
|
4463
4466
|
let { children: r, ...n } = e, a = he.Children.toArray(r), i = a.find(Lm);
|
|
4464
4467
|
if (i) {
|
|
4465
4468
|
let c = i.props.children, l = a.map((s) => s === i ? he.Children.count(c) > 1 ? he.Children.only(null) : he.isValidElement(c) ? c.props.
|
|
4466
4469
|
children : null : s);
|
|
4467
|
-
return /* @__PURE__ */
|
|
4470
|
+
return /* @__PURE__ */ Ua(qa, { ...n, ref: t, children: he.isValidElement(c) ? he.cloneElement(c, void 0, l) : null });
|
|
4468
4471
|
}
|
|
4469
|
-
return /* @__PURE__ */
|
|
4472
|
+
return /* @__PURE__ */ Ua(qa, { ...n, ref: t, children: r });
|
|
4470
4473
|
});
|
|
4471
|
-
|
|
4472
|
-
|
|
4474
|
+
Ga.displayName = "Slot";
|
|
4475
|
+
qa = he.forwardRef((e, t) => {
|
|
4473
4476
|
let { children: r, ...n } = e;
|
|
4474
4477
|
if (he.isValidElement(r)) {
|
|
4475
4478
|
let a = Im(r);
|
|
4476
4479
|
return he.cloneElement(r, {
|
|
4477
4480
|
...Am(n, r.props),
|
|
4478
4481
|
// @ts-ignore
|
|
4479
|
-
ref: t ?
|
|
4482
|
+
ref: t ? Wa(t, a) : a
|
|
4480
4483
|
});
|
|
4481
4484
|
}
|
|
4482
4485
|
return he.Children.count(r) > 1 ? he.Children.only(null) : null;
|
|
4483
4486
|
});
|
|
4484
|
-
|
|
4485
|
-
Mm = /* @__PURE__ */ o(({ children: e }) => /* @__PURE__ */
|
|
4487
|
+
qa.displayName = "SlotClone";
|
|
4488
|
+
Mm = /* @__PURE__ */ o(({ children: e }) => /* @__PURE__ */ Ua(Cm, { children: e }), "Slottable");
|
|
4486
4489
|
o(Lm, "isSlottable");
|
|
4487
4490
|
o(Am, "mergeProps");
|
|
4488
4491
|
o(Im, "getElementRef");
|
|
@@ -4513,7 +4516,7 @@ var Hm, gr, n5 = C(() => {
|
|
|
4513
4516
|
"ul"
|
|
4514
4517
|
], gr = Hm.reduce((e, t) => {
|
|
4515
4518
|
let r = r5.forwardRef((n, a) => {
|
|
4516
|
-
let { asChild: i, ...c } = n, l = i ?
|
|
4519
|
+
let { asChild: i, ...c } = n, l = i ? Ga : t;
|
|
4517
4520
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ Tm(l, { ...c, ref: a });
|
|
4518
4521
|
});
|
|
4519
4522
|
return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
|
|
@@ -4522,7 +4525,7 @@ var Hm, gr, n5 = C(() => {
|
|
|
4522
4525
|
|
|
4523
4526
|
// ../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
4524
4527
|
import * as o5 from "react";
|
|
4525
|
-
var nn,
|
|
4528
|
+
var nn, Xa = C(() => {
|
|
4526
4529
|
nn = globalThis?.document ? o5.useLayoutEffect : () => {
|
|
4527
4530
|
};
|
|
4528
4531
|
});
|
|
@@ -4588,7 +4591,7 @@ function Om(e) {
|
|
|
4588
4591
|
var vr, l5 = C(() => {
|
|
4589
4592
|
"use client";
|
|
4590
4593
|
Un();
|
|
4591
|
-
|
|
4594
|
+
Xa();
|
|
4592
4595
|
o(Pm, "useStateMachine");
|
|
4593
4596
|
vr = /* @__PURE__ */ o((e) => {
|
|
4594
4597
|
let { present: t, children: r } = e, n = km(t), a = typeof r == "function" ? r({ present: n.isPresent }) : Ae.Children.only(r), i = it(n.
|
|
@@ -4767,7 +4770,7 @@ function Jm(e, t) {
|
|
|
4767
4770
|
children: typeof t == "function" ? t(a.props.children) : t
|
|
4768
4771
|
});
|
|
4769
4772
|
}
|
|
4770
|
-
var
|
|
4773
|
+
var Ya, w5, ty, Vm, _e, b5, R5, y5, rt, x5, jm, Wm, E5, Za, Um, qm, Gm, S5, C5, Xn, M5, Xm, Ka, L5, Ym, Km, T5, H5, P5, k5, O5, B5 = C(() => {
|
|
4771
4774
|
"use client";
|
|
4772
4775
|
n5();
|
|
4773
4776
|
l5();
|
|
@@ -4775,11 +4778,11 @@ var Xa, w5, ty, Vm, _e, b5, R5, y5, rt, x5, jm, Wm, E5, Ya, Um, qm, Gm, S5, C5,
|
|
|
4775
4778
|
Un();
|
|
4776
4779
|
u5();
|
|
4777
4780
|
d5();
|
|
4778
|
-
|
|
4781
|
+
Xa();
|
|
4779
4782
|
m5();
|
|
4780
4783
|
h5();
|
|
4781
4784
|
o(Fm, "useStateMachine");
|
|
4782
|
-
|
|
4785
|
+
Ya = "ScrollArea", [w5, ty] = c5(Ya), [Vm, _e] = w5(Ya), b5 = I.forwardRef(
|
|
4783
4786
|
(e, t) => {
|
|
4784
4787
|
let {
|
|
4785
4788
|
__scopeScrollArea: r,
|
|
@@ -4831,7 +4834,7 @@ var Xa, w5, ty, Vm, _e, b5, R5, y5, rt, x5, jm, Wm, E5, Ya, Um, qm, Gm, S5, C5,
|
|
|
4831
4834
|
);
|
|
4832
4835
|
}
|
|
4833
4836
|
);
|
|
4834
|
-
b5.displayName =
|
|
4837
|
+
b5.displayName = Ya;
|
|
4835
4838
|
R5 = "ScrollAreaViewport", y5 = I.forwardRef(
|
|
4836
4839
|
(e, t) => {
|
|
4837
4840
|
let { __scopeScrollArea: r, children: n, asChild: a, nonce: i, ...c } = e, l = _e(R5, r), s = I.useRef(null), u = it(t, s, l.onViewportChange);
|
|
@@ -4908,7 +4911,7 @@ var Xa, w5, ty, Vm, _e, b5, R5, y5, rt, x5, jm, Wm, E5, Ya, Um, qm, Gm, S5, C5,
|
|
|
4908
4911
|
l ? i(!1) : c(!1);
|
|
4909
4912
|
}), [l, i, c]), a.type === "hover" ? /* @__PURE__ */ U(jm, { ...n, ref: t, forceMount: r }) : a.type === "scroll" ? /* @__PURE__ */ U(
|
|
4910
4913
|
Wm, { ...n, ref: t, forceMount: r }) : a.type === "auto" ? /* @__PURE__ */ U(E5, { ...n, ref: t, forceMount: r }) : a.type === "always" ?
|
|
4911
|
-
/* @__PURE__ */ U(
|
|
4914
|
+
/* @__PURE__ */ U(Za, { ...n, ref: t }) : null;
|
|
4912
4915
|
}
|
|
4913
4916
|
);
|
|
4914
4917
|
x5.displayName = rt;
|
|
@@ -4969,7 +4972,7 @@ var Xa, w5, ty, Vm, _e, b5, R5, y5, rt, x5, jm, Wm, E5, Ya, Um, qm, Gm, S5, C5,
|
|
|
4969
4972
|
return u.addEventListener("scroll", m), () => u.removeEventListener("scroll", m);
|
|
4970
4973
|
}
|
|
4971
4974
|
}, [a.viewport, i, s, c]), /* @__PURE__ */ U(vr, { present: r || l !== "hidden", children: /* @__PURE__ */ U(
|
|
4972
|
-
|
|
4975
|
+
Za,
|
|
4973
4976
|
{
|
|
4974
4977
|
"data-state": l === "hidden" ? "hidden" : "visible",
|
|
4975
4978
|
...n,
|
|
@@ -4986,14 +4989,14 @@ var Xa, w5, ty, Vm, _e, b5, R5, y5, rt, x5, jm, Wm, E5, Ya, Um, qm, Gm, S5, C5,
|
|
|
4986
4989
|
}
|
|
4987
4990
|
}, 10);
|
|
4988
4991
|
return br(r.viewport, s), br(r.content, s), /* @__PURE__ */ U(vr, { present: n || i, children: /* @__PURE__ */ U(
|
|
4989
|
-
|
|
4992
|
+
Za,
|
|
4990
4993
|
{
|
|
4991
4994
|
"data-state": i ? "visible" : "hidden",
|
|
4992
4995
|
...a,
|
|
4993
4996
|
ref: t
|
|
4994
4997
|
}
|
|
4995
4998
|
) });
|
|
4996
|
-
}),
|
|
4999
|
+
}), Za = I.forwardRef((e, t) => {
|
|
4997
5000
|
let { orientation: r = "vertical", ...n } = e, a = _e(rt, e.__scopeScrollArea), i = I.useRef(null), c = I.useRef(0), [l, s] = I.useState(
|
|
4998
5001
|
{
|
|
4999
5002
|
content: 0,
|
|
@@ -5231,15 +5234,15 @@ var Xa, w5, ty, Vm, _e, b5, R5, y5, rt, x5, jm, Wm, E5, Ya, Um, qm, Gm, S5, C5,
|
|
|
5231
5234
|
}
|
|
5232
5235
|
);
|
|
5233
5236
|
M5.displayName = Xn;
|
|
5234
|
-
|
|
5237
|
+
Ka = "ScrollAreaCorner", L5 = I.forwardRef(
|
|
5235
5238
|
(e, t) => {
|
|
5236
|
-
let r = _e(
|
|
5239
|
+
let r = _e(Ka, e.__scopeScrollArea), n = !!(r.scrollbarX && r.scrollbarY);
|
|
5237
5240
|
return r.type !== "scroll" && n ? /* @__PURE__ */ U(Ym, { ...e, ref: t }) : null;
|
|
5238
5241
|
}
|
|
5239
5242
|
);
|
|
5240
|
-
L5.displayName =
|
|
5243
|
+
L5.displayName = Ka;
|
|
5241
5244
|
Ym = I.forwardRef((e, t) => {
|
|
5242
|
-
let { __scopeScrollArea: r, ...n } = e, a = _e(
|
|
5245
|
+
let { __scopeScrollArea: r, ...n } = e, a = _e(Ka, r), [i, c] = I.useState(0), [l, s] = I.useState(0), u = !!(i && l);
|
|
5243
5246
|
return br(a.scrollbarX, () => {
|
|
5244
5247
|
let f = a.scrollbarX?.offsetHeight || 0;
|
|
5245
5248
|
a.onCornerHeightChange(f), s(f);
|
|
@@ -5378,18 +5381,20 @@ Xr(Qa, {
|
|
|
5378
5381
|
import an, { useCallback as nh, useEffect as oh, useState as F5 } from "react";
|
|
5379
5382
|
import { logger as ah } from "storybook/internal/client-logger";
|
|
5380
5383
|
import { global as ih } from "@storybook/global";
|
|
5381
|
-
import { styled as
|
|
5384
|
+
import { styled as to } from "storybook/theming";
|
|
5382
5385
|
function Ja() {
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5386
|
+
return eo.navigator?.clipboard ? async (e) => {
|
|
5387
|
+
try {
|
|
5388
|
+
await eo.top?.navigator.clipboard.writeText(e);
|
|
5389
|
+
} catch {
|
|
5390
|
+
await eo.navigator.clipboard.writeText(e);
|
|
5391
|
+
}
|
|
5392
|
+
} : async (e) => {
|
|
5388
5393
|
let t = on.createElement("TEXTAREA"), r = on.activeElement;
|
|
5389
5394
|
t.value = e, on.body.appendChild(t), t.select(), on.execCommand("copy"), on.body.removeChild(t), r.focus();
|
|
5390
5395
|
};
|
|
5391
5396
|
}
|
|
5392
|
-
var _5,
|
|
5397
|
+
var _5, on, eo, $5, lh, ch, sh, uh, fh, dh, ph, V5, mh, hh, ln, gh, cn = C(() => {
|
|
5393
5398
|
"use strict";
|
|
5394
5399
|
_5 = me(Kr(), 1);
|
|
5395
5400
|
t1();
|
|
@@ -5405,9 +5410,9 @@ var _5, Cy, on, Ka, $5, lh, ch, sh, uh, fh, dh, ph, V5, mh, hh, ln, gh, cn = C((
|
|
|
5405
5410
|
U1();
|
|
5406
5411
|
Z1();
|
|
5407
5412
|
e1();
|
|
5408
|
-
|
|
5413
|
+
ja();
|
|
5409
5414
|
Qn();
|
|
5410
|
-
({
|
|
5415
|
+
({ document: on, window: eo } = ih), $5 = {
|
|
5411
5416
|
jsextra: w1,
|
|
5412
5417
|
jsx: L1,
|
|
5413
5418
|
json: E1,
|
|
@@ -5427,7 +5432,7 @@ var _5, Cy, on, Ka, $5, lh, ch, sh, uh, fh, dh, ph, V5, mh, hh, ln, gh, cn = C((
|
|
|
5427
5432
|
(e) => Object.entries(e.code || {}).reduce((t, [r, n]) => ({ ...t, [`* .${r}`]: n }), {})
|
|
5428
5433
|
), ch = Ja();
|
|
5429
5434
|
o(Ja, "createCopyToClipboardFunction");
|
|
5430
|
-
sh =
|
|
5435
|
+
sh = to.div(
|
|
5431
5436
|
({ theme: e }) => ({
|
|
5432
5437
|
position: "relative",
|
|
5433
5438
|
overflow: "hidden",
|
|
@@ -5445,17 +5450,17 @@ var _5, Cy, on, Ka, $5, lh, ch, sh, uh, fh, dh, ph, V5, mh, hh, ln, gh, cn = C((
|
|
|
5445
5450
|
}
|
|
5446
5451
|
} : {}
|
|
5447
5452
|
), uh = /* @__PURE__ */ o(({ children: e, className: t }) => /* @__PURE__ */ an.createElement(Rr, { horizontal: !0, vertical: !0, className: t },
|
|
5448
|
-
e), "UnstyledScroller"), fh =
|
|
5453
|
+
e), "UnstyledScroller"), fh = to(uh)(
|
|
5449
5454
|
{
|
|
5450
5455
|
position: "relative"
|
|
5451
5456
|
},
|
|
5452
5457
|
({ theme: e }) => lh(e)
|
|
5453
|
-
), dh =
|
|
5458
|
+
), dh = to.pre(({ theme: e, padded: t }) => ({
|
|
5454
5459
|
display: "flex",
|
|
5455
5460
|
justifyContent: "flex-start",
|
|
5456
5461
|
margin: 0,
|
|
5457
5462
|
padding: t ? e.layoutMargin : 0
|
|
5458
|
-
})), ph =
|
|
5463
|
+
})), ph = to.div(({ theme: e }) => ({
|
|
5459
5464
|
flex: 1,
|
|
5460
5465
|
paddingLeft: 2,
|
|
5461
5466
|
// TODO: To match theming/global.ts for now
|
|
@@ -5503,7 +5508,7 @@ wrapRenderer"), ln = /* @__PURE__ */ o(({
|
|
|
5503
5508
|
let [m, v] = F5(!1), R = nh(
|
|
5504
5509
|
(h) => {
|
|
5505
5510
|
h.preventDefault(), ch(f).then(() => {
|
|
5506
|
-
v(!0),
|
|
5511
|
+
v(!0), eo.setTimeout(() => v(!1), 1500);
|
|
5507
5512
|
}).catch(ah.error);
|
|
5508
5513
|
},
|
|
5509
5514
|
[f]
|
|
@@ -5532,7 +5537,7 @@ wrapRenderer"), ln = /* @__PURE__ */ o(({
|
|
|
5532
5537
|
},
|
|
5533
5538
|
f
|
|
5534
5539
|
)),
|
|
5535
|
-
r ? /* @__PURE__ */ an.createElement(
|
|
5540
|
+
r ? /* @__PURE__ */ an.createElement(Va, { actionItems: [{ title: m ? "Copied" : "Copy", onClick: R }] }) : null
|
|
5536
5541
|
);
|
|
5537
5542
|
}, "SyntaxHighlighter");
|
|
5538
5543
|
ln.registerLanguage = (...e) => Wn.registerLanguage(...e);
|
|
@@ -5589,22 +5594,22 @@ var J5, Qh, eu = C(() => {
|
|
|
5589
5594
|
});
|
|
5590
5595
|
|
|
5591
5596
|
// ../node_modules/react-popper/lib/esm/utils.js
|
|
5592
|
-
import * as
|
|
5597
|
+
import * as xo from "react";
|
|
5593
5598
|
var A0, I0, Of = C(() => {
|
|
5594
5599
|
A0 = /* @__PURE__ */ o(function(t) {
|
|
5595
5600
|
return t.reduce(function(r, n) {
|
|
5596
5601
|
var a = n[0], i = n[1];
|
|
5597
5602
|
return r[a] = i, r;
|
|
5598
5603
|
}, {});
|
|
5599
|
-
}, "fromEntries"), I0 = typeof window < "u" && window.document && window.document.createElement ?
|
|
5604
|
+
}, "fromEntries"), I0 = typeof window < "u" && window.document && window.document.createElement ? xo.useLayoutEffect : xo.useEffect;
|
|
5600
5605
|
});
|
|
5601
5606
|
|
|
5602
5607
|
// ../node_modules/@popperjs/core/lib/enums.js
|
|
5603
|
-
var te, le, ae, ne,
|
|
5604
|
-
te = "top", le = "bottom", ae = "right", ne = "left",
|
|
5605
|
-
|
|
5608
|
+
var te, le, ae, ne, Eo, Lt, ut, Kt, Bf, So, Hr, Nf, z0, Co, D7, F7, _7, $7, V7, j7, W7, U7, q7, Df, ke = C(() => {
|
|
5609
|
+
te = "top", le = "bottom", ae = "right", ne = "left", Eo = "auto", Lt = [te, le, ae, ne], ut = "start", Kt = "end", Bf = "clippingParents",
|
|
5610
|
+
So = "viewport", Hr = "popper", Nf = "reference", z0 = /* @__PURE__ */ Lt.reduce(function(e, t) {
|
|
5606
5611
|
return e.concat([t + "-" + ut, t + "-" + Kt]);
|
|
5607
|
-
}, []),
|
|
5612
|
+
}, []), Co = /* @__PURE__ */ [].concat(Lt, [Eo]).reduce(function(e, t) {
|
|
5608
5613
|
return e.concat([t, t + "-" + ut, t + "-" + Kt]);
|
|
5609
5614
|
}, []), D7 = "beforeRead", F7 = "read", _7 = "afterRead", $7 = "beforeMain", V7 = "main", j7 = "afterMain", W7 = "beforeWrite", U7 = "writ\
|
|
5610
5615
|
e", q7 = "afterWrite", Df = [D7, F7, _7, $7, V7, j7, W7, U7, q7];
|
|
@@ -5774,7 +5779,7 @@ function Qt(e) {
|
|
|
5774
5779
|
height: n
|
|
5775
5780
|
};
|
|
5776
5781
|
}
|
|
5777
|
-
var
|
|
5782
|
+
var Mo = C(() => {
|
|
5778
5783
|
Or();
|
|
5779
5784
|
o(Qt, "getLayoutRect");
|
|
5780
5785
|
});
|
|
@@ -5893,7 +5898,7 @@ var Nr = C(() => {
|
|
|
5893
5898
|
function er(e) {
|
|
5894
5899
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
5895
5900
|
}
|
|
5896
|
-
var
|
|
5901
|
+
var Lo = C(() => {
|
|
5897
5902
|
o(er, "getMainAxisFromPlacement");
|
|
5898
5903
|
});
|
|
5899
5904
|
|
|
@@ -5960,10 +5965,10 @@ function J7(e) {
|
|
|
5960
5965
|
}
|
|
5961
5966
|
var Z7, Wf, Uf = C(() => {
|
|
5962
5967
|
It();
|
|
5963
|
-
|
|
5968
|
+
Mo();
|
|
5964
5969
|
P0();
|
|
5965
5970
|
Nr();
|
|
5966
|
-
|
|
5971
|
+
Lo();
|
|
5967
5972
|
O0();
|
|
5968
5973
|
N0();
|
|
5969
5974
|
D0();
|
|
@@ -6105,16 +6110,16 @@ function r3(e) {
|
|
|
6105
6110
|
var t = e.state, r = e.instance, n = e.options, a = n.scroll, i = a === void 0 ? !0 : a, c = n.resize, l = c === void 0 ? !0 : c, s = Z(t.
|
|
6106
6111
|
elements.popper), u = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
6107
6112
|
return i && u.forEach(function(f) {
|
|
6108
|
-
f.addEventListener("scroll", r.update,
|
|
6109
|
-
}), l && s.addEventListener("resize", r.update,
|
|
6113
|
+
f.addEventListener("scroll", r.update, Ao);
|
|
6114
|
+
}), l && s.addEventListener("resize", r.update, Ao), function() {
|
|
6110
6115
|
i && u.forEach(function(f) {
|
|
6111
|
-
f.removeEventListener("scroll", r.update,
|
|
6112
|
-
}), l && s.removeEventListener("resize", r.update,
|
|
6116
|
+
f.removeEventListener("scroll", r.update, Ao);
|
|
6117
|
+
}), l && s.removeEventListener("resize", r.update, Ao);
|
|
6113
6118
|
};
|
|
6114
6119
|
}
|
|
6115
|
-
var
|
|
6120
|
+
var Ao, Yf, Zf = C(() => {
|
|
6116
6121
|
Je();
|
|
6117
|
-
|
|
6122
|
+
Ao = {
|
|
6118
6123
|
passive: !0
|
|
6119
6124
|
};
|
|
6120
6125
|
o(r3, "effect");
|
|
@@ -6146,7 +6151,7 @@ var n3, Kf = C(() => {
|
|
|
6146
6151
|
});
|
|
6147
6152
|
|
|
6148
6153
|
// ../node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js
|
|
6149
|
-
function
|
|
6154
|
+
function Io(e) {
|
|
6150
6155
|
return e.replace(/start|end/g, function(t) {
|
|
6151
6156
|
return o3[t];
|
|
6152
6157
|
});
|
|
@@ -6156,7 +6161,7 @@ var o3, Jf = C(() => {
|
|
|
6156
6161
|
start: "end",
|
|
6157
6162
|
end: "start"
|
|
6158
6163
|
};
|
|
6159
|
-
o(
|
|
6164
|
+
o(Io, "getOppositeVariationPlacement");
|
|
6160
6165
|
});
|
|
6161
6166
|
|
|
6162
6167
|
// ../node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js
|
|
@@ -6167,7 +6172,7 @@ function rr(e) {
|
|
|
6167
6172
|
scrollTop: n
|
|
6168
6173
|
};
|
|
6169
6174
|
}
|
|
6170
|
-
var
|
|
6175
|
+
var zo = C(() => {
|
|
6171
6176
|
Je();
|
|
6172
6177
|
o(rr, "getWindowScroll");
|
|
6173
6178
|
});
|
|
@@ -6176,10 +6181,10 @@ var Io = C(() => {
|
|
|
6176
6181
|
function nr(e) {
|
|
6177
6182
|
return Ue(ge(e)).left + rr(e).scrollLeft;
|
|
6178
6183
|
}
|
|
6179
|
-
var
|
|
6184
|
+
var To = C(() => {
|
|
6180
6185
|
Or();
|
|
6181
6186
|
dt();
|
|
6182
|
-
|
|
6187
|
+
zo();
|
|
6183
6188
|
o(nr, "getWindowScrollBarX");
|
|
6184
6189
|
});
|
|
6185
6190
|
|
|
@@ -6201,7 +6206,7 @@ function F0(e, t) {
|
|
|
6201
6206
|
var Qf = C(() => {
|
|
6202
6207
|
Je();
|
|
6203
6208
|
dt();
|
|
6204
|
-
|
|
6209
|
+
To();
|
|
6205
6210
|
H0();
|
|
6206
6211
|
o(F0, "getViewportRect");
|
|
6207
6212
|
});
|
|
@@ -6221,8 +6226,8 @@ function _0(e) {
|
|
|
6221
6226
|
var ed = C(() => {
|
|
6222
6227
|
dt();
|
|
6223
6228
|
Br();
|
|
6229
|
+
To();
|
|
6224
6230
|
zo();
|
|
6225
|
-
Io();
|
|
6226
6231
|
zt();
|
|
6227
6232
|
o(_0, "getDocumentRect");
|
|
6228
6233
|
});
|
|
@@ -6232,28 +6237,28 @@ function or(e) {
|
|
|
6232
6237
|
var t = xe(e), r = t.overflow, n = t.overflowX, a = t.overflowY;
|
|
6233
6238
|
return /auto|scroll|overlay|hidden/.test(r + a + n);
|
|
6234
6239
|
}
|
|
6235
|
-
var
|
|
6240
|
+
var Ho = C(() => {
|
|
6236
6241
|
Br();
|
|
6237
6242
|
o(or, "isScrollParent");
|
|
6238
6243
|
});
|
|
6239
6244
|
|
|
6240
6245
|
// ../node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js
|
|
6241
|
-
function
|
|
6242
|
-
return ["html", "body", "#document"].indexOf(fe(e)) >= 0 ? e.ownerDocument.body : ce(e) && or(e) ? e :
|
|
6246
|
+
function Po(e) {
|
|
6247
|
+
return ["html", "body", "#document"].indexOf(fe(e)) >= 0 ? e.ownerDocument.body : ce(e) && or(e) ? e : Po(pt(e));
|
|
6243
6248
|
}
|
|
6244
6249
|
var td = C(() => {
|
|
6245
6250
|
vn();
|
|
6246
|
-
|
|
6251
|
+
Ho();
|
|
6247
6252
|
At();
|
|
6248
6253
|
Oe();
|
|
6249
|
-
o(
|
|
6254
|
+
o(Po, "getScrollParent");
|
|
6250
6255
|
});
|
|
6251
6256
|
|
|
6252
6257
|
// ../node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js
|
|
6253
6258
|
function Tt(e, t) {
|
|
6254
6259
|
var r;
|
|
6255
6260
|
t === void 0 && (t = []);
|
|
6256
|
-
var n =
|
|
6261
|
+
var n = Po(e), a = n === ((r = e.ownerDocument) == null ? void 0 : r.body), i = Z(n), c = a ? [i].concat(i.visualViewport || [], or(n) ? n :
|
|
6257
6262
|
[]) : n, l = t.concat(c);
|
|
6258
6263
|
return a ? l : (
|
|
6259
6264
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
@@ -6264,7 +6269,7 @@ var $0 = C(() => {
|
|
|
6264
6269
|
td();
|
|
6265
6270
|
vn();
|
|
6266
6271
|
Je();
|
|
6267
|
-
|
|
6272
|
+
Ho();
|
|
6268
6273
|
o(Tt, "listScrollParents");
|
|
6269
6274
|
});
|
|
6270
6275
|
|
|
@@ -6288,7 +6293,7 @@ function a3(e, t) {
|
|
|
6288
6293
|
width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r;
|
|
6289
6294
|
}
|
|
6290
6295
|
function rd(e, t, r) {
|
|
6291
|
-
return t ===
|
|
6296
|
+
return t === So ? _r(F0(e, r)) : We(t) ? a3(t, r) : _r(_0(ge(e)));
|
|
6292
6297
|
}
|
|
6293
6298
|
function i3(e) {
|
|
6294
6299
|
var t = Tt(pt(e)), r = ["absolute", "fixed"].indexOf(xe(e).position) >= 0, n = r && ce(e) ? et(e) : e;
|
|
@@ -6377,7 +6382,7 @@ function yn(e) {
|
|
|
6377
6382
|
var W0 = C(() => {
|
|
6378
6383
|
It();
|
|
6379
6384
|
Dr();
|
|
6380
|
-
|
|
6385
|
+
Lo();
|
|
6381
6386
|
ke();
|
|
6382
6387
|
o(yn, "computeOffsets");
|
|
6383
6388
|
});
|
|
@@ -6386,7 +6391,7 @@ var W0 = C(() => {
|
|
|
6386
6391
|
function tt(e, t) {
|
|
6387
6392
|
t === void 0 && (t = {});
|
|
6388
6393
|
var r = t, n = r.placement, a = n === void 0 ? e.placement : n, i = r.strategy, c = i === void 0 ? e.strategy : i, l = r.boundary, s = l ===
|
|
6389
|
-
void 0 ? Bf : l, u = r.rootBoundary, f = u === void 0 ?
|
|
6394
|
+
void 0 ? Bf : l, u = r.rootBoundary, f = u === void 0 ? So : u, d = r.elementContext, m = d === void 0 ? Hr : d, v = r.altBoundary, R = v ===
|
|
6390
6395
|
void 0 ? !1 : v, p = r.padding, h = p === void 0 ? 0 : p, g = bn(typeof h != "number" ? h : Rn(h, Lt)), w = m === Hr ? Nf : Hr, b = e.rects.
|
|
6391
6396
|
popper, x = e.elements[R ? w : m], E = j0(We(x) ? x : x.contextElement || ge(e.elements.popper), s, f, c), y = Ue(e.elements.reference), S = yn(
|
|
6392
6397
|
{
|
|
@@ -6426,7 +6431,7 @@ var xn = C(() => {
|
|
|
6426
6431
|
function U0(e, t) {
|
|
6427
6432
|
t === void 0 && (t = {});
|
|
6428
6433
|
var r = t, n = r.placement, a = r.boundary, i = r.rootBoundary, c = r.padding, l = r.flipVariations, s = r.allowedAutoPlacements, u = s ===
|
|
6429
|
-
void 0 ?
|
|
6434
|
+
void 0 ? Co : s, f = qe(n), d = f ? l ? z0 : z0.filter(function(R) {
|
|
6430
6435
|
return qe(R) === f;
|
|
6431
6436
|
}) : Lt, m = d.filter(function(R) {
|
|
6432
6437
|
return u.indexOf(R) >= 0;
|
|
@@ -6454,10 +6459,10 @@ var od = C(() => {
|
|
|
6454
6459
|
|
|
6455
6460
|
// ../node_modules/@popperjs/core/lib/modifiers/flip.js
|
|
6456
6461
|
function l3(e) {
|
|
6457
|
-
if (de(e) ===
|
|
6462
|
+
if (de(e) === Eo)
|
|
6458
6463
|
return [];
|
|
6459
6464
|
var t = Fr(e);
|
|
6460
|
-
return [
|
|
6465
|
+
return [Io(e), t, Io(t)];
|
|
6461
6466
|
}
|
|
6462
6467
|
function c3(e) {
|
|
6463
6468
|
var t = e.state, r = e.options, n = e.name;
|
|
@@ -6465,7 +6470,7 @@ function c3(e) {
|
|
|
6465
6470
|
for (var a = r.mainAxis, i = a === void 0 ? !0 : a, c = r.altAxis, l = c === void 0 ? !0 : c, s = r.fallbackPlacements, u = r.padding, f = r.
|
|
6466
6471
|
boundary, d = r.rootBoundary, m = r.altBoundary, v = r.flipVariations, R = v === void 0 ? !0 : v, p = r.allowedAutoPlacements, h = t.options.
|
|
6467
6472
|
placement, g = de(h), w = g === h, b = s || (w || !R ? [Fr(h)] : l3(h)), x = [h].concat(b).reduce(function(pe, se) {
|
|
6468
|
-
return pe.concat(de(se) ===
|
|
6473
|
+
return pe.concat(de(se) === Eo ? U0(t, {
|
|
6469
6474
|
placement: se,
|
|
6470
6475
|
boundary: f,
|
|
6471
6476
|
rootBoundary: d,
|
|
@@ -6593,7 +6598,7 @@ function u3(e, t, r) {
|
|
|
6593
6598
|
};
|
|
6594
6599
|
}
|
|
6595
6600
|
function f3(e) {
|
|
6596
|
-
var t = e.state, r = e.options, n = e.name, a = r.offset, i = a === void 0 ? [0, 0] : a, c =
|
|
6601
|
+
var t = e.state, r = e.options, n = e.name, a = r.offset, i = a === void 0 ? [0, 0] : a, c = Co.reduce(function(f, d) {
|
|
6597
6602
|
return f[d] = u3(d, t.rects, i), f;
|
|
6598
6603
|
}, {}), l = c[t.placement], s = l.x, u = l.y;
|
|
6599
6604
|
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += s, t.modifiersData.popperOffsets.y += u), t.modifiersData[n] =
|
|
@@ -6673,14 +6678,14 @@ function p3(e) {
|
|
|
6673
6678
|
height: 0
|
|
6674
6679
|
}, se = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : wn(), ue = se[K], ve = se[T], Se = tr(0, S[z],
|
|
6675
6680
|
pe[z]), Ot = b ? S[z] / 2 - j - Se - ue - A.mainAxis : O - Se - ue - A.mainAxis, qr = b ? -S[z] / 2 + j + Se + ve + A.mainAxis : G + Se +
|
|
6676
|
-
ve + A.mainAxis,
|
|
6681
|
+
ve + A.mainAxis, jo = t.elements.arrow && et(t.elements.arrow), fp = jo ? x === "y" ? jo.clientTop || 0 : jo.clientLeft || 0 : 0, xl = (F =
|
|
6677
6682
|
P?.[x]) != null ? F : 0, dp = k + Ot - xl - fp, pp = k + qr - xl, El = tr(v ? Jt(V, dp) : V, k, v ? Qe(D, pp) : D);
|
|
6678
6683
|
y[x] = El, _[x] = El - k;
|
|
6679
6684
|
}
|
|
6680
6685
|
if (l) {
|
|
6681
6686
|
var Sl, mp = x === "x" ? te : ne, hp = x === "x" ? le : ae, Bt = y[E], Ln = E === "y" ? "height" : "width", Cl = Bt + h[mp], Ml = Bt -
|
|
6682
|
-
h[hp],
|
|
6683
|
-
Bt + S[Ln] + L[Ln] - Ll - A.altAxis : Ml, zl = v &&
|
|
6687
|
+
h[hp], Wo = [te, ne].indexOf(g) !== -1, Ll = (Sl = P?.[E]) != null ? Sl : 0, Al = Wo ? Cl : Bt - S[Ln] - L[Ln] - Ll + A.altAxis, Il = Wo ?
|
|
6688
|
+
Bt + S[Ln] + L[Ln] - Ll - A.altAxis : Ml, zl = v && Wo ? jf(Al, Bt, Il) : tr(v ? Al : Cl, Bt, v ? Il : Ml);
|
|
6684
6689
|
y[E] = zl, _[E] = zl - Bt;
|
|
6685
6690
|
}
|
|
6686
6691
|
t.modifiersData[n] = _;
|
|
@@ -6689,10 +6694,10 @@ function p3(e) {
|
|
|
6689
6694
|
var gd, vd = C(() => {
|
|
6690
6695
|
ke();
|
|
6691
6696
|
It();
|
|
6692
|
-
|
|
6697
|
+
Lo();
|
|
6693
6698
|
hd();
|
|
6694
6699
|
O0();
|
|
6695
|
-
|
|
6700
|
+
Mo();
|
|
6696
6701
|
Nr();
|
|
6697
6702
|
xn();
|
|
6698
6703
|
Dr();
|
|
@@ -6728,7 +6733,7 @@ function Y0(e) {
|
|
|
6728
6733
|
return e === Z(e) || !ce(e) ? rr(e) : X0(e);
|
|
6729
6734
|
}
|
|
6730
6735
|
var bd = C(() => {
|
|
6731
|
-
|
|
6736
|
+
zo();
|
|
6732
6737
|
Je();
|
|
6733
6738
|
Oe();
|
|
6734
6739
|
wd();
|
|
@@ -6762,9 +6767,9 @@ var Rd = C(() => {
|
|
|
6762
6767
|
bd();
|
|
6763
6768
|
At();
|
|
6764
6769
|
Oe();
|
|
6765
|
-
zo();
|
|
6766
|
-
dt();
|
|
6767
6770
|
To();
|
|
6771
|
+
dt();
|
|
6772
|
+
Ho();
|
|
6768
6773
|
zt();
|
|
6769
6774
|
o(m3, "isElementScaled");
|
|
6770
6775
|
o(Z0, "getCompositeRect");
|
|
@@ -6946,7 +6951,7 @@ function Md(e) {
|
|
|
6946
6951
|
}
|
|
6947
6952
|
var Sd, Ld = C(() => {
|
|
6948
6953
|
Rd();
|
|
6949
|
-
|
|
6954
|
+
Mo();
|
|
6950
6955
|
$0();
|
|
6951
6956
|
Nr();
|
|
6952
6957
|
yd();
|
|
@@ -6988,10 +6993,10 @@ var Id = C(() => {
|
|
|
6988
6993
|
});
|
|
6989
6994
|
|
|
6990
6995
|
// ../node_modules/react-fast-compare/index.js
|
|
6991
|
-
var Td = H((
|
|
6996
|
+
var Td = H((TH, zd) => {
|
|
6992
6997
|
var v3 = typeof Element < "u", w3 = typeof Map == "function", b3 = typeof Set == "function", R3 = typeof ArrayBuffer == "function" && !!ArrayBuffer.
|
|
6993
6998
|
isView;
|
|
6994
|
-
function
|
|
6999
|
+
function ko(e, t) {
|
|
6995
7000
|
if (e === t) return !0;
|
|
6996
7001
|
if (e && t && typeof e == "object" && typeof t == "object") {
|
|
6997
7002
|
if (e.constructor !== t.constructor) return !1;
|
|
@@ -6999,7 +7004,7 @@ var Td = H((HH, zd) => {
|
|
|
6999
7004
|
if (Array.isArray(e)) {
|
|
7000
7005
|
if (r = e.length, r != t.length) return !1;
|
|
7001
7006
|
for (n = r; n-- !== 0; )
|
|
7002
|
-
if (!
|
|
7007
|
+
if (!ko(e[n], t[n])) return !1;
|
|
7003
7008
|
return !0;
|
|
7004
7009
|
}
|
|
7005
7010
|
var i;
|
|
@@ -7008,7 +7013,7 @@ var Td = H((HH, zd) => {
|
|
|
7008
7013
|
for (i = e.entries(); !(n = i.next()).done; )
|
|
7009
7014
|
if (!t.has(n.value[0])) return !1;
|
|
7010
7015
|
for (i = e.entries(); !(n = i.next()).done; )
|
|
7011
|
-
if (!
|
|
7016
|
+
if (!ko(n.value[1], t.get(n.value[0]))) return !1;
|
|
7012
7017
|
return !0;
|
|
7013
7018
|
}
|
|
7014
7019
|
if (b3 && e instanceof Set && t instanceof Set) {
|
|
@@ -7033,16 +7038,16 @@ var Td = H((HH, zd) => {
|
|
|
7033
7038
|
if (!Object.prototype.hasOwnProperty.call(t, a[n])) return !1;
|
|
7034
7039
|
if (v3 && e instanceof Element) return !1;
|
|
7035
7040
|
for (n = r; n-- !== 0; )
|
|
7036
|
-
if (!((a[n] === "_owner" || a[n] === "__v" || a[n] === "__o") && e.$$typeof) && !
|
|
7041
|
+
if (!((a[n] === "_owner" || a[n] === "__v" || a[n] === "__o") && e.$$typeof) && !ko(e[a[n]], t[a[n]]))
|
|
7037
7042
|
return !1;
|
|
7038
7043
|
return !0;
|
|
7039
7044
|
}
|
|
7040
7045
|
return e !== e && t !== t;
|
|
7041
7046
|
}
|
|
7042
|
-
o(
|
|
7047
|
+
o(ko, "equal");
|
|
7043
7048
|
zd.exports = /* @__PURE__ */ o(function(t, r) {
|
|
7044
7049
|
try {
|
|
7045
|
-
return
|
|
7050
|
+
return ko(t, r);
|
|
7046
7051
|
} catch (n) {
|
|
7047
7052
|
if ((n.message || "").match(/stack|recursion/i))
|
|
7048
7053
|
return console.warn("react-fast-compare cannot handle circular refs"), !1;
|
|
@@ -7402,7 +7407,8 @@ var Vd, Ge, Pt, C3, M3, nl, Wd = C(() => {
|
|
|
7402
7407
|
), M3 = jd.div(
|
|
7403
7408
|
({ hidden: e }) => ({
|
|
7404
7409
|
display: e ? "none" : "inline-block",
|
|
7405
|
-
zIndex: 2147483647
|
|
7410
|
+
zIndex: 2147483647,
|
|
7411
|
+
colorScheme: "light dark"
|
|
7406
7412
|
}),
|
|
7407
7413
|
({ theme: e, color: t, hasChrome: r }) => r ? {
|
|
7408
7414
|
background: t && e.color[t] || t || e.base === "light" ? En(e.background.app) : e.background.app,
|
|
@@ -7440,11 +7446,11 @@ import Sn, { useCallback as L3, useEffect as A3, useState as I3 } from "react";
|
|
|
7440
7446
|
import z3 from "react-dom";
|
|
7441
7447
|
import { global as T3 } from "@storybook/global";
|
|
7442
7448
|
import { styled as Ud } from "storybook/theming";
|
|
7443
|
-
var
|
|
7449
|
+
var Oo, H3, P3, qd, ol, Bo = C(() => {
|
|
7444
7450
|
"use strict";
|
|
7445
7451
|
$d();
|
|
7446
7452
|
Wd();
|
|
7447
|
-
({ document:
|
|
7453
|
+
({ document: Oo } = T3), H3 = Ud.div`
|
|
7448
7454
|
display: inline-block;
|
|
7449
7455
|
cursor: ${(e) => e.trigger === "hover" || e.trigger?.includes("hover") ? "default" : "pointer"};
|
|
7450
7456
|
`, P3 = Ud.g`
|
|
@@ -7531,7 +7537,7 @@ var ko, H3, P3, qd, ol, Oo = C(() => {
|
|
|
7531
7537
|
typeof u == "function" ? u({ onHide: /* @__PURE__ */ o(() => b(!1), "onHide") }) : u
|
|
7532
7538
|
) : null;
|
|
7533
7539
|
return /* @__PURE__ */ Sn.createElement(Sn.Fragment, null, /* @__PURE__ */ Sn.createElement(E, { trigger: t, ref: M, ...x }, f), A && z3.
|
|
7534
|
-
createPortal(_,
|
|
7540
|
+
createPortal(_, Oo.body));
|
|
7535
7541
|
}, "WithTooltipPure"), ol = /* @__PURE__ */ o(({
|
|
7536
7542
|
startOpen: e = !1,
|
|
7537
7543
|
onVisibleChange: t,
|
|
@@ -7545,8 +7551,8 @@ var ko, H3, P3, qd, ol, Oo = C(() => {
|
|
|
7545
7551
|
);
|
|
7546
7552
|
return A3(() => {
|
|
7547
7553
|
let c = /* @__PURE__ */ o(() => i(!1), "hide");
|
|
7548
|
-
|
|
7549
|
-
let l = Array.from(
|
|
7554
|
+
Oo.addEventListener("keydown", c, !1);
|
|
7555
|
+
let l = Array.from(Oo.getElementsByTagName("iframe")), s = [];
|
|
7550
7556
|
return l.forEach((u) => {
|
|
7551
7557
|
let f = /* @__PURE__ */ o(() => {
|
|
7552
7558
|
try {
|
|
@@ -7563,7 +7569,7 @@ var ko, H3, P3, qd, ol, Oo = C(() => {
|
|
|
7563
7569
|
u.removeEventListener("load", f);
|
|
7564
7570
|
});
|
|
7565
7571
|
}), () => {
|
|
7566
|
-
|
|
7572
|
+
Oo.removeEventListener("keydown", c), s.forEach((u) => {
|
|
7567
7573
|
u();
|
|
7568
7574
|
});
|
|
7569
7575
|
};
|
|
@@ -7612,22 +7618,22 @@ function Ol(e) {
|
|
|
7612
7618
|
o(Ol, "_isNativeFunction");
|
|
7613
7619
|
|
|
7614
7620
|
// ../node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
|
|
7615
|
-
function
|
|
7621
|
+
function Uo() {
|
|
7616
7622
|
try {
|
|
7617
7623
|
var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
7618
7624
|
}));
|
|
7619
7625
|
} catch {
|
|
7620
7626
|
}
|
|
7621
|
-
return (
|
|
7627
|
+
return (Uo = /* @__PURE__ */ o(function() {
|
|
7622
7628
|
return !!e;
|
|
7623
7629
|
}, "_isNativeReflectConstruct"))();
|
|
7624
7630
|
}
|
|
7625
|
-
o(
|
|
7631
|
+
o(Uo, "_isNativeReflectConstruct");
|
|
7626
7632
|
|
|
7627
7633
|
// ../node_modules/@babel/runtime/helpers/esm/construct.js
|
|
7628
7634
|
In();
|
|
7629
7635
|
function Bl(e, t, r) {
|
|
7630
|
-
if (
|
|
7636
|
+
if (Uo()) return Reflect.construct.apply(null, arguments);
|
|
7631
7637
|
var n = [null];
|
|
7632
7638
|
n.push.apply(n, t);
|
|
7633
7639
|
var a = new (e.bind.apply(e, n))();
|
|
@@ -7947,12 +7953,12 @@ var Cp = /* @__PURE__ */ o(function(t) {
|
|
|
7947
7953
|
};
|
|
7948
7954
|
}, "pxtoFactory"), _l = Cp, Yw = _l("em");
|
|
7949
7955
|
var Zw = _l("rem");
|
|
7950
|
-
function
|
|
7956
|
+
function qo(e) {
|
|
7951
7957
|
return Math.round(e * 255);
|
|
7952
7958
|
}
|
|
7953
|
-
o(
|
|
7959
|
+
o(qo, "colorToInt");
|
|
7954
7960
|
function Mp(e, t, r) {
|
|
7955
|
-
return
|
|
7961
|
+
return qo(e) + "," + qo(t) + "," + qo(r);
|
|
7956
7962
|
}
|
|
7957
7963
|
o(Mp, "convertToInt");
|
|
7958
7964
|
function Zr(e, t, r, n) {
|
|
@@ -8121,7 +8127,7 @@ function Lp(e) {
|
|
|
8121
8127
|
return Fl[t] ? "#" + Fl[t] : e;
|
|
8122
8128
|
}
|
|
8123
8129
|
o(Lp, "nameToHex");
|
|
8124
|
-
var Ap = /^#[a-fA-F0-9]{6}$/, Ip = /^#[a-fA-F0-9]{8}$/, zp = /^#[a-fA-F0-9]{3}$/, Tp = /^#[a-fA-F0-9]{4}$/,
|
|
8130
|
+
var Ap = /^#[a-fA-F0-9]{6}$/, Ip = /^#[a-fA-F0-9]{8}$/, zp = /^#[a-fA-F0-9]{3}$/, Tp = /^#[a-fA-F0-9]{4}$/, Go = /^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,
|
|
8125
8131
|
Hp = /^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i, Pp = /^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,
|
|
8126
8132
|
kp = /^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;
|
|
8127
8133
|
function cr(e) {
|
|
@@ -8158,7 +8164,7 @@ function cr(e) {
|
|
|
8158
8164
|
alpha: n
|
|
8159
8165
|
};
|
|
8160
8166
|
}
|
|
8161
|
-
var a =
|
|
8167
|
+
var a = Go.exec(t);
|
|
8162
8168
|
if (a)
|
|
8163
8169
|
return {
|
|
8164
8170
|
red: parseInt("" + a[1], 10),
|
|
@@ -8175,7 +8181,7 @@ function cr(e) {
|
|
|
8175
8181
|
};
|
|
8176
8182
|
var c = Pp.exec(t);
|
|
8177
8183
|
if (c) {
|
|
8178
|
-
var l = parseInt("" + c[1], 10), s = parseInt("" + c[2], 10) / 100, u = parseInt("" + c[3], 10) / 100, f = "rgb(" + Zr(l, s, u) + ")", d =
|
|
8184
|
+
var l = parseInt("" + c[1], 10), s = parseInt("" + c[2], 10) / 100, u = parseInt("" + c[3], 10) / 100, f = "rgb(" + Zr(l, s, u) + ")", d = Go.
|
|
8179
8185
|
exec(f);
|
|
8180
8186
|
if (!d)
|
|
8181
8187
|
throw new Ce(4, t, f);
|
|
@@ -8187,7 +8193,7 @@ function cr(e) {
|
|
|
8187
8193
|
}
|
|
8188
8194
|
var m = kp.exec(t.substring(0, 50));
|
|
8189
8195
|
if (m) {
|
|
8190
|
-
var v = parseInt("" + m[1], 10), R = parseInt("" + m[2], 10) / 100, p = parseInt("" + m[3], 10) / 100, h = "rgb(" + Zr(v, R, p) + ")", g =
|
|
8196
|
+
var v = parseInt("" + m[1], 10), R = parseInt("" + m[2], 10) / 100, p = parseInt("" + m[3], 10) / 100, h = "rgb(" + Zr(v, R, p) + ")", g = Go.
|
|
8191
8197
|
exec(h);
|
|
8192
8198
|
if (!g)
|
|
8193
8199
|
throw new Ce(4, t, h);
|
|
@@ -8244,18 +8250,18 @@ function gt(e) {
|
|
|
8244
8250
|
o(gt, "parseToHsl");
|
|
8245
8251
|
var Bp = /* @__PURE__ */ o(function(t) {
|
|
8246
8252
|
return t.length === 7 && t[1] === t[2] && t[3] === t[4] && t[5] === t[6] ? "#" + t[1] + t[3] + t[5] : t;
|
|
8247
|
-
}, "reduceHexValue"),
|
|
8253
|
+
}, "reduceHexValue"), Yo = Bp;
|
|
8248
8254
|
function Nt(e) {
|
|
8249
8255
|
var t = e.toString(16);
|
|
8250
8256
|
return t.length === 1 ? "0" + t : t;
|
|
8251
8257
|
}
|
|
8252
8258
|
o(Nt, "numberToHex");
|
|
8253
|
-
function
|
|
8259
|
+
function Xo(e) {
|
|
8254
8260
|
return Nt(Math.round(e * 255));
|
|
8255
8261
|
}
|
|
8256
|
-
o(
|
|
8262
|
+
o(Xo, "colorToHex");
|
|
8257
8263
|
function Np(e, t, r) {
|
|
8258
|
-
return
|
|
8264
|
+
return Yo("#" + Xo(e) + Xo(t) + Xo(r));
|
|
8259
8265
|
}
|
|
8260
8266
|
o(Np, "convertToHex");
|
|
8261
8267
|
function Hn(e, t, r) {
|
|
@@ -8278,23 +8284,23 @@ function Fp(e, t, r, n) {
|
|
|
8278
8284
|
throw new Ce(2);
|
|
8279
8285
|
}
|
|
8280
8286
|
o(Fp, "hsla");
|
|
8281
|
-
function
|
|
8287
|
+
function Zo(e, t, r) {
|
|
8282
8288
|
if (typeof e == "number" && typeof t == "number" && typeof r == "number")
|
|
8283
|
-
return
|
|
8289
|
+
return Yo("#" + Nt(e) + Nt(t) + Nt(r));
|
|
8284
8290
|
if (typeof e == "object" && t === void 0 && r === void 0)
|
|
8285
|
-
return
|
|
8291
|
+
return Yo("#" + Nt(e.red) + Nt(e.green) + Nt(e.blue));
|
|
8286
8292
|
throw new Ce(6);
|
|
8287
8293
|
}
|
|
8288
|
-
o(
|
|
8294
|
+
o(Zo, "rgb");
|
|
8289
8295
|
function Dt(e, t, r, n) {
|
|
8290
8296
|
if (typeof e == "string" && typeof t == "number") {
|
|
8291
8297
|
var a = cr(e);
|
|
8292
8298
|
return "rgba(" + a.red + "," + a.green + "," + a.blue + "," + t + ")";
|
|
8293
8299
|
} else {
|
|
8294
8300
|
if (typeof e == "number" && typeof t == "number" && typeof r == "number" && typeof n == "number")
|
|
8295
|
-
return n >= 1 ?
|
|
8301
|
+
return n >= 1 ? Zo(e, t, r) : "rgba(" + e + "," + t + "," + r + "," + n + ")";
|
|
8296
8302
|
if (typeof e == "object" && t === void 0 && r === void 0 && n === void 0)
|
|
8297
|
-
return e.alpha >= 1 ?
|
|
8303
|
+
return e.alpha >= 1 ? Zo(e.red, e.green, e.blue) : "rgba(" + e.red + "," + e.green + "," + e.blue + "," + e.alpha + ")";
|
|
8298
8304
|
}
|
|
8299
8305
|
throw new Ce(7);
|
|
8300
8306
|
}
|
|
@@ -8313,7 +8319,7 @@ var _p = /* @__PURE__ */ o(function(t) {
|
|
|
8313
8319
|
function vt(e) {
|
|
8314
8320
|
if (typeof e != "object") throw new Ce(8);
|
|
8315
8321
|
if ($p(e)) return Dt(e);
|
|
8316
|
-
if (_p(e)) return
|
|
8322
|
+
if (_p(e)) return Zo(e);
|
|
8317
8323
|
if (jp(e)) return Fp(e);
|
|
8318
8324
|
if (Vp(e)) return Dp(e);
|
|
8319
8325
|
throw new Ce(8);
|
|
@@ -8369,7 +8375,7 @@ function Xp(e, t) {
|
|
|
8369
8375
|
}));
|
|
8370
8376
|
}
|
|
8371
8377
|
o(Xp, "lighten");
|
|
8372
|
-
var Yp = He(Xp),
|
|
8378
|
+
var Yp = He(Xp), Ko = Yp;
|
|
8373
8379
|
function Zp(e, t, r) {
|
|
8374
8380
|
if (t === "transparent") return r;
|
|
8375
8381
|
if (r === "transparent") return t;
|
|
@@ -8503,7 +8509,7 @@ var Wl = /* @__PURE__ */ o(({
|
|
|
8503
8509
|
}, "Link");
|
|
8504
8510
|
|
|
8505
8511
|
// src/components/components/typography/elements/A.tsx
|
|
8506
|
-
var
|
|
8512
|
+
var Jo = s2(Wl)(N, ({ theme: e }) => ({
|
|
8507
8513
|
fontSize: "inherit",
|
|
8508
8514
|
lineHeight: "24px",
|
|
8509
8515
|
color: e.color.secondary,
|
|
@@ -8525,7 +8531,7 @@ var Ko = s2(Wl)(N, ({ theme: e }) => ({
|
|
|
8525
8531
|
|
|
8526
8532
|
// src/components/components/typography/elements/Blockquote.tsx
|
|
8527
8533
|
import { styled as u2 } from "storybook/theming";
|
|
8528
|
-
var
|
|
8534
|
+
var Qo = u2.blockquote(N, Me, ({ theme: e }) => ({
|
|
8529
8535
|
borderLeft: `4px solid ${e.color.medium}`,
|
|
8530
8536
|
padding: "0 15px",
|
|
8531
8537
|
color: e.color.dark,
|
|
@@ -8901,10 +8907,10 @@ var bi = {
|
|
|
8901
8907
|
h5: /* @__PURE__ */ o((e) => /* @__PURE__ */ ee.createElement(li, { ...J(e, "h5") }), "h5"),
|
|
8902
8908
|
h6: /* @__PURE__ */ o((e) => /* @__PURE__ */ ee.createElement(ci, { ...J(e, "h6") }), "h6"),
|
|
8903
8909
|
pre: /* @__PURE__ */ o((e) => /* @__PURE__ */ ee.createElement(mi, { ...J(e, "pre") }), "pre"),
|
|
8904
|
-
a: /* @__PURE__ */ o((e) => /* @__PURE__ */ ee.createElement(
|
|
8910
|
+
a: /* @__PURE__ */ o((e) => /* @__PURE__ */ ee.createElement(Jo, { ...J(e, "a") }), "a"),
|
|
8905
8911
|
hr: /* @__PURE__ */ o((e) => /* @__PURE__ */ ee.createElement(si, { ...J(e, "hr") }), "hr"),
|
|
8906
8912
|
dl: /* @__PURE__ */ o((e) => /* @__PURE__ */ ee.createElement(ti, { ...J(e, "dl") }), "dl"),
|
|
8907
|
-
blockquote: /* @__PURE__ */ o((e) => /* @__PURE__ */ ee.createElement(
|
|
8913
|
+
blockquote: /* @__PURE__ */ o((e) => /* @__PURE__ */ ee.createElement(Qo, { ...J(e, "blockquote") }), "blockquote"),
|
|
8908
8914
|
table: /* @__PURE__ */ o((e) => /* @__PURE__ */ ee.createElement(vi, { ...J(e, "table") }), "table"),
|
|
8909
8915
|
img: /* @__PURE__ */ o((e) => /* @__PURE__ */ ee.createElement(ui, { ...J(e, "img") }), "img"),
|
|
8910
8916
|
div: /* @__PURE__ */ o((e) => /* @__PURE__ */ ee.createElement(ri, { ...J(e, "div") }), "div"),
|
|
@@ -9502,14 +9508,14 @@ ru.registerLanguage = (...e) => {
|
|
|
9502
9508
|
|
|
9503
9509
|
// src/components/index.ts
|
|
9504
9510
|
cn();
|
|
9505
|
-
|
|
9511
|
+
ja();
|
|
9506
9512
|
|
|
9507
9513
|
// src/components/components/Modal/Modal.tsx
|
|
9508
9514
|
import zr from "react";
|
|
9509
9515
|
|
|
9510
9516
|
// ../node_modules/@radix-ui/react-dialog/dist/index.mjs
|
|
9511
|
-
var
|
|
9512
|
-
Xr(
|
|
9517
|
+
var wo = {};
|
|
9518
|
+
Xr(wo, {
|
|
9513
9519
|
Close: () => s0,
|
|
9514
9520
|
Content: () => i0,
|
|
9515
9521
|
Description: () => c0,
|
|
@@ -9650,17 +9656,17 @@ var ct = globalThis?.document ? cu.useLayoutEffect : () => {
|
|
|
9650
9656
|
// ../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.mjs
|
|
9651
9657
|
var og = Ei[" useId ".trim().toString()] || (() => {
|
|
9652
9658
|
}), ag = 0;
|
|
9653
|
-
function
|
|
9659
|
+
function ro(e) {
|
|
9654
9660
|
let [t, r] = Ei.useState(og());
|
|
9655
9661
|
return ct(() => {
|
|
9656
9662
|
e || r((n) => n ?? String(ag++));
|
|
9657
9663
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
9658
9664
|
}
|
|
9659
|
-
o(
|
|
9665
|
+
o(ro, "useId");
|
|
9660
9666
|
|
|
9661
9667
|
// ../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
9662
9668
|
import * as Ve from "react";
|
|
9663
|
-
import * as
|
|
9669
|
+
import * as no from "react";
|
|
9664
9670
|
var ig = Ve[" useInsertionEffect ".trim().toString()] || ct;
|
|
9665
9671
|
function su({
|
|
9666
9672
|
prop: e,
|
|
@@ -9712,19 +9718,19 @@ function cg(e) {
|
|
|
9712
9718
|
return typeof e == "function";
|
|
9713
9719
|
}
|
|
9714
9720
|
o(cg, "isFunction");
|
|
9715
|
-
var
|
|
9721
|
+
var BE = Symbol("RADIX:SYNC_STATE");
|
|
9716
9722
|
|
|
9717
9723
|
// ../node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
9718
9724
|
import * as Q from "react";
|
|
9719
9725
|
|
|
9720
9726
|
// ../node_modules/@radix-ui/react-dismissable-layer/node_modules/@radix-ui/primitive/dist/index.mjs
|
|
9721
|
-
function
|
|
9727
|
+
function oo(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
|
|
9722
9728
|
return /* @__PURE__ */ o(function(a) {
|
|
9723
9729
|
if (e?.(a), r === !1 || !a.defaultPrevented)
|
|
9724
9730
|
return t?.(a);
|
|
9725
9731
|
}, "handleEvent");
|
|
9726
9732
|
}
|
|
9727
|
-
o(
|
|
9733
|
+
o(oo, "composeEventHandlers");
|
|
9728
9734
|
|
|
9729
9735
|
// ../node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
9730
9736
|
import * as du from "react";
|
|
@@ -9732,7 +9738,7 @@ import * as pu from "react-dom";
|
|
|
9732
9738
|
|
|
9733
9739
|
// ../node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
9734
9740
|
import * as ie from "react";
|
|
9735
|
-
import { Fragment as
|
|
9741
|
+
import { Fragment as jE, jsx as uu } from "react/jsx-runtime";
|
|
9736
9742
|
// @__NO_SIDE_EFFECTS__
|
|
9737
9743
|
function sn(e) {
|
|
9738
9744
|
let t = /* @__PURE__ */ sg(e), r = ie.forwardRef((n, a) => {
|
|
@@ -9887,9 +9893,9 @@ none"), u.layersWithOutsidePointerEventsDisabled.add(f)), u.layers.add(f), wu(),
|
|
|
9887
9893
|
pointerEvents: b ? x ? "auto" : "none" : void 0,
|
|
9888
9894
|
...e.style
|
|
9889
9895
|
},
|
|
9890
|
-
onFocusCapture:
|
|
9891
|
-
onBlurCapture:
|
|
9892
|
-
onPointerDownCapture:
|
|
9896
|
+
onFocusCapture: oo(e.onFocusCapture, y.onFocusCapture),
|
|
9897
|
+
onBlurCapture: oo(e.onBlurCapture, y.onBlurCapture),
|
|
9898
|
+
onPointerDownCapture: oo(
|
|
9893
9899
|
e.onPointerDownCapture,
|
|
9894
9900
|
E.onPointerDownCapture
|
|
9895
9901
|
)
|
|
@@ -10116,11 +10122,11 @@ function zg(e) {
|
|
|
10116
10122
|
o(zg, "removeLinks");
|
|
10117
10123
|
|
|
10118
10124
|
// ../node_modules/@radix-ui/react-portal/dist/index.mjs
|
|
10119
|
-
import * as
|
|
10125
|
+
import * as ao from "react";
|
|
10120
10126
|
import Tg from "react-dom";
|
|
10121
10127
|
import { jsx as Hg } from "react/jsx-runtime";
|
|
10122
|
-
var Pg = "Portal", Ii =
|
|
10123
|
-
let { container: r, ...n } = e, [a, i] =
|
|
10128
|
+
var Pg = "Portal", Ii = ao.forwardRef((e, t) => {
|
|
10129
|
+
let { container: r, ...n } = e, [a, i] = ao.useState(!1);
|
|
10124
10130
|
ct(() => i(!0), []);
|
|
10125
10131
|
let c = r || a && globalThis?.document?.body;
|
|
10126
10132
|
return c ? Tg.createPortal(/* @__PURE__ */ Hg(Pe.div, { ...n, ref: t }), c) : null;
|
|
@@ -10155,18 +10161,18 @@ function Og(e) {
|
|
|
10155
10161
|
}
|
|
10156
10162
|
});
|
|
10157
10163
|
return Ie.useEffect(() => {
|
|
10158
|
-
let u =
|
|
10164
|
+
let u = io(n.current);
|
|
10159
10165
|
i.current = l === "mounted" ? u : "none";
|
|
10160
10166
|
}, [l]), ct(() => {
|
|
10161
10167
|
let u = n.current, f = a.current;
|
|
10162
10168
|
if (f !== e) {
|
|
10163
|
-
let m = i.current, v =
|
|
10169
|
+
let m = i.current, v = io(u);
|
|
10164
10170
|
e ? s("MOUNT") : v === "none" || u?.display === "none" ? s("UNMOUNT") : s(f && m !== v ? "ANIMATION_OUT" : "UNMOUNT"), a.current = e;
|
|
10165
10171
|
}
|
|
10166
10172
|
}, [e, s]), ct(() => {
|
|
10167
10173
|
if (t) {
|
|
10168
10174
|
let u, f = t.ownerDocument.defaultView ?? window, d = /* @__PURE__ */ o((v) => {
|
|
10169
|
-
let p =
|
|
10175
|
+
let p = io(n.current).includes(v.animationName);
|
|
10170
10176
|
if (v.target === t && p && (s("ANIMATION_END"), !a.current)) {
|
|
10171
10177
|
let h = t.style.animationFillMode;
|
|
10172
10178
|
t.style.animationFillMode = "forwards", u = f.setTimeout(() => {
|
|
@@ -10174,7 +10180,7 @@ function Og(e) {
|
|
|
10174
10180
|
});
|
|
10175
10181
|
}
|
|
10176
10182
|
}, "handleAnimationEnd"), m = /* @__PURE__ */ o((v) => {
|
|
10177
|
-
v.target === t && (i.current =
|
|
10183
|
+
v.target === t && (i.current = io(n.current));
|
|
10178
10184
|
}, "handleAnimationStart");
|
|
10179
10185
|
return t.addEventListener("animationstart", m), t.addEventListener("animationcancel", d), t.addEventListener("animationend", d), () => {
|
|
10180
10186
|
f.clearTimeout(u), t.removeEventListener("animationstart", m), t.removeEventListener("animationcancel", d), t.removeEventListener("a\
|
|
@@ -10190,10 +10196,10 @@ nimationend", d);
|
|
|
10190
10196
|
};
|
|
10191
10197
|
}
|
|
10192
10198
|
o(Og, "usePresence");
|
|
10193
|
-
function
|
|
10199
|
+
function io(e) {
|
|
10194
10200
|
return e?.animationName || "none";
|
|
10195
10201
|
}
|
|
10196
|
-
o(
|
|
10202
|
+
o(io, "getAnimationName");
|
|
10197
10203
|
function Bg(e) {
|
|
10198
10204
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
10199
10205
|
return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref :
|
|
@@ -10231,7 +10237,7 @@ var ze = /* @__PURE__ */ o(function() {
|
|
|
10231
10237
|
return t;
|
|
10232
10238
|
}, "__assign"), ze.apply(this, arguments);
|
|
10233
10239
|
}, "__assign");
|
|
10234
|
-
function
|
|
10240
|
+
function lo(e, t) {
|
|
10235
10241
|
var r = {};
|
|
10236
10242
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
10237
10243
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -10239,7 +10245,7 @@ function io(e, t) {
|
|
|
10239
10245
|
t.indexOf(n[a]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[a]) && (r[n[a]] = e[n[a]]);
|
|
10240
10246
|
return r;
|
|
10241
10247
|
}
|
|
10242
|
-
o(
|
|
10248
|
+
o(lo, "__rest");
|
|
10243
10249
|
function Tu(e, t, r) {
|
|
10244
10250
|
if (r || arguments.length === 2) for (var n = 0, a = t.length, i; n < a; n++)
|
|
10245
10251
|
(i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
|
|
@@ -10248,7 +10254,7 @@ function Tu(e, t, r) {
|
|
|
10248
10254
|
o(Tu, "__spreadArray");
|
|
10249
10255
|
|
|
10250
10256
|
// ../node_modules/react-remove-scroll/dist/es2015/Combination.js
|
|
10251
|
-
import * as
|
|
10257
|
+
import * as po from "react";
|
|
10252
10258
|
|
|
10253
10259
|
// ../node_modules/react-remove-scroll/dist/es2015/UI.js
|
|
10254
10260
|
import * as be from "react";
|
|
@@ -10257,10 +10263,10 @@ import * as be from "react";
|
|
|
10257
10263
|
var qt = "right-scroll-bar-position", Gt = "width-before-scroll-bar", Ti = "with-scroll-bars-hidden", Hi = "--removed-body-scroll-bar-size";
|
|
10258
10264
|
|
|
10259
10265
|
// ../node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
10260
|
-
function
|
|
10266
|
+
function co(e, t) {
|
|
10261
10267
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
10262
10268
|
}
|
|
10263
|
-
o(
|
|
10269
|
+
o(co, "assignRef");
|
|
10264
10270
|
|
|
10265
10271
|
// ../node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
10266
10272
|
import { useState as Ng } from "react";
|
|
@@ -10288,12 +10294,12 @@ function Hu(e, t) {
|
|
|
10288
10294
|
o(Hu, "useCallbackRef");
|
|
10289
10295
|
|
|
10290
10296
|
// ../node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
10291
|
-
import * as
|
|
10292
|
-
var Dg = typeof window < "u" ?
|
|
10297
|
+
import * as so from "react";
|
|
10298
|
+
var Dg = typeof window < "u" ? so.useLayoutEffect : so.useEffect, Pu = /* @__PURE__ */ new WeakMap();
|
|
10293
10299
|
function Pi(e, t) {
|
|
10294
10300
|
var r = Hu(t || null, function(n) {
|
|
10295
10301
|
return e.forEach(function(a) {
|
|
10296
|
-
return
|
|
10302
|
+
return co(a, n);
|
|
10297
10303
|
});
|
|
10298
10304
|
});
|
|
10299
10305
|
return Dg(function() {
|
|
@@ -10301,9 +10307,9 @@ function Pi(e, t) {
|
|
|
10301
10307
|
if (n) {
|
|
10302
10308
|
var a = new Set(n), i = new Set(e), c = r.current;
|
|
10303
10309
|
a.forEach(function(l) {
|
|
10304
|
-
i.has(l) ||
|
|
10310
|
+
i.has(l) || co(l, null);
|
|
10305
10311
|
}), i.forEach(function(l) {
|
|
10306
|
-
a.has(l) ||
|
|
10312
|
+
a.has(l) || co(l, c);
|
|
10307
10313
|
});
|
|
10308
10314
|
}
|
|
10309
10315
|
Pu.set(r, e);
|
|
@@ -10382,7 +10388,7 @@ o(ki, "createSidecarMedium");
|
|
|
10382
10388
|
// ../node_modules/use-sidecar/dist/es2015/exports.js
|
|
10383
10389
|
import * as ku from "react";
|
|
10384
10390
|
var Ou = /* @__PURE__ */ o(function(e) {
|
|
10385
|
-
var t = e.sideCar, r =
|
|
10391
|
+
var t = e.sideCar, r = lo(e, ["sideCar"]);
|
|
10386
10392
|
if (!t)
|
|
10387
10393
|
throw new Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
10388
10394
|
var n = t.read();
|
|
@@ -10397,7 +10403,7 @@ function Oi(e, t) {
|
|
|
10397
10403
|
o(Oi, "exportSidecar");
|
|
10398
10404
|
|
|
10399
10405
|
// ../node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
10400
|
-
var
|
|
10406
|
+
var uo = ki();
|
|
10401
10407
|
|
|
10402
10408
|
// ../node_modules/react-remove-scroll/dist/es2015/UI.js
|
|
10403
10409
|
var Bi = /* @__PURE__ */ o(function() {
|
|
@@ -10407,13 +10413,13 @@ var Bi = /* @__PURE__ */ o(function() {
|
|
|
10407
10413
|
onWheelCapture: Bi,
|
|
10408
10414
|
onTouchMoveCapture: Bi
|
|
10409
10415
|
}), a = n[0], i = n[1], c = e.forwardProps, l = e.children, s = e.className, u = e.removeScrollBar, f = e.enabled, d = e.shards, m = e.sideCar,
|
|
10410
|
-
v = e.noIsolation, R = e.inert, p = e.allowPinchZoom, h = e.as, g = h === void 0 ? "div" : h, w = e.gapMode, b =
|
|
10416
|
+
v = e.noIsolation, R = e.inert, p = e.allowPinchZoom, h = e.as, g = h === void 0 ? "div" : h, w = e.gapMode, b = lo(e, ["forwardProps", "c\
|
|
10411
10417
|
hildren", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), x = m,
|
|
10412
10418
|
E = Pi([r, t]), y = ze(ze({}, b), a);
|
|
10413
10419
|
return be.createElement(
|
|
10414
10420
|
be.Fragment,
|
|
10415
10421
|
null,
|
|
10416
|
-
f && be.createElement(x, { sideCar:
|
|
10422
|
+
f && be.createElement(x, { sideCar: uo, removeScrollBar: u, shards: d, noIsolation: v, inert: R, setCallbacks: i, allowPinchZoom: !!p, lockRef: r,
|
|
10417
10423
|
gapMode: w }),
|
|
10418
10424
|
c ? be.cloneElement(be.Children.only(l), ze(ze({}, y), { ref: E })) : be.createElement(g, ze({}, y, { className: s, ref: E }), l)
|
|
10419
10425
|
);
|
|
@@ -10663,7 +10669,7 @@ var Yg = /* @__PURE__ */ o(function(e) {
|
|
|
10663
10669
|
}, "handleScroll");
|
|
10664
10670
|
|
|
10665
10671
|
// ../node_modules/react-remove-scroll/dist/es2015/SideEffect.js
|
|
10666
|
-
var
|
|
10672
|
+
var fo = /* @__PURE__ */ o(function(e) {
|
|
10667
10673
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
10668
10674
|
}, "getTouchXY"), Wu = /* @__PURE__ */ o(function(e) {
|
|
10669
10675
|
return [e.deltaX, e.deltaY];
|
|
@@ -10697,7 +10703,7 @@ function qu(e) {
|
|
|
10697
10703
|
var l = Y.useCallback(function(p, h) {
|
|
10698
10704
|
if ("touches" in p && p.touches.length === 2 || p.type === "wheel" && p.ctrlKey)
|
|
10699
10705
|
return !c.current.allowPinchZoom;
|
|
10700
|
-
var g =
|
|
10706
|
+
var g = fo(p), w = r.current, b = "deltaX" in p ? p.deltaX : w[0] - g[0], x = "deltaY" in p ? p.deltaY : w[1] - g[1], E, y = p.target, S = Math.
|
|
10701
10707
|
abs(b) > Math.abs(x) ? "h" : "v";
|
|
10702
10708
|
if ("touches" in p && S === "h" && y.type === "range")
|
|
10703
10709
|
return !1;
|
|
@@ -10713,7 +10719,7 @@ function qu(e) {
|
|
|
10713
10719
|
}, []), s = Y.useCallback(function(p) {
|
|
10714
10720
|
var h = p;
|
|
10715
10721
|
if (!(!Lr.length || Lr[Lr.length - 1] !== i)) {
|
|
10716
|
-
var g = "deltaY" in h ? Wu(h) :
|
|
10722
|
+
var g = "deltaY" in h ? Wu(h) : fo(h), w = t.current.filter(function(E) {
|
|
10717
10723
|
return E.name === h.type && (E.target === h.target || h.target === E.shadowParent) && tv(E.delta, g);
|
|
10718
10724
|
})[0];
|
|
10719
10725
|
if (w && w.should) {
|
|
@@ -10735,11 +10741,11 @@ function qu(e) {
|
|
|
10735
10741
|
});
|
|
10736
10742
|
}, 1);
|
|
10737
10743
|
}, []), f = Y.useCallback(function(p) {
|
|
10738
|
-
r.current =
|
|
10744
|
+
r.current = fo(p), n.current = void 0;
|
|
10739
10745
|
}, []), d = Y.useCallback(function(p) {
|
|
10740
10746
|
u(p.type, Wu(p), p.target, l(p, e.lockRef.current));
|
|
10741
10747
|
}, []), m = Y.useCallback(function(p) {
|
|
10742
|
-
u(p.type,
|
|
10748
|
+
u(p.type, fo(p), p.target, l(p, e.lockRef.current));
|
|
10743
10749
|
}, []);
|
|
10744
10750
|
Y.useEffect(function() {
|
|
10745
10751
|
return Lr.push(i), e.setCallbacks({
|
|
@@ -10771,11 +10777,11 @@ function ov(e) {
|
|
|
10771
10777
|
o(ov, "getOutermostShadowParent");
|
|
10772
10778
|
|
|
10773
10779
|
// ../node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
10774
|
-
var Gu = Oi(
|
|
10780
|
+
var Gu = Oi(uo, qu);
|
|
10775
10781
|
|
|
10776
10782
|
// ../node_modules/react-remove-scroll/dist/es2015/Combination.js
|
|
10777
|
-
var Xu =
|
|
10778
|
-
return
|
|
10783
|
+
var Xu = po.forwardRef(function(e, t) {
|
|
10784
|
+
return po.createElement(fn, ze({}, e, { ref: t, sideCar: Gu }));
|
|
10779
10785
|
});
|
|
10780
10786
|
Xu.classNames = fn.classNames;
|
|
10781
10787
|
var Wi = Xu;
|
|
@@ -10786,7 +10792,7 @@ var av = /* @__PURE__ */ o(function(e) {
|
|
|
10786
10792
|
return null;
|
|
10787
10793
|
var t = Array.isArray(e) ? e[0] : e;
|
|
10788
10794
|
return t.ownerDocument.body;
|
|
10789
|
-
}, "getDefaultParent"), Ar = /* @__PURE__ */ new WeakMap(),
|
|
10795
|
+
}, "getDefaultParent"), Ar = /* @__PURE__ */ new WeakMap(), mo = /* @__PURE__ */ new WeakMap(), ho = {}, Ui = 0, Yu = /* @__PURE__ */ o(function(e) {
|
|
10790
10796
|
return e && (e.host || Yu(e.parentNode));
|
|
10791
10797
|
}, "unwrapHost"), iv = /* @__PURE__ */ o(function(e, t) {
|
|
10792
10798
|
return t.map(function(r) {
|
|
@@ -10799,8 +10805,8 @@ var av = /* @__PURE__ */ o(function(e) {
|
|
|
10799
10805
|
});
|
|
10800
10806
|
}, "correctTargets"), lv = /* @__PURE__ */ o(function(e, t, r, n) {
|
|
10801
10807
|
var a = iv(t, Array.isArray(e) ? e : [e]);
|
|
10802
|
-
|
|
10803
|
-
var i =
|
|
10808
|
+
ho[r] || (ho[r] = /* @__PURE__ */ new WeakMap());
|
|
10809
|
+
var i = ho[r], c = [], l = /* @__PURE__ */ new Set(), s = new Set(a), u = /* @__PURE__ */ o(function(d) {
|
|
10804
10810
|
!d || l.has(d) || (l.add(d), u(d.parentNode));
|
|
10805
10811
|
}, "keep");
|
|
10806
10812
|
a.forEach(u);
|
|
@@ -10811,7 +10817,7 @@ var av = /* @__PURE__ */ o(function(e) {
|
|
|
10811
10817
|
else
|
|
10812
10818
|
try {
|
|
10813
10819
|
var v = m.getAttribute(n), R = v !== null && v !== "false", p = (Ar.get(m) || 0) + 1, h = (i.get(m) || 0) + 1;
|
|
10814
|
-
Ar.set(m, p), i.set(m, h), c.push(m), p === 1 && R &&
|
|
10820
|
+
Ar.set(m, p), i.set(m, h), c.push(m), p === 1 && R && mo.set(m, !0), h === 1 && m.setAttribute(r, "true"), R || m.setAttribute(n, "\
|
|
10815
10821
|
true");
|
|
10816
10822
|
} catch (g) {
|
|
10817
10823
|
console.error("aria-hidden: cannot operate on ", m, g);
|
|
@@ -10821,8 +10827,8 @@ true");
|
|
|
10821
10827
|
return f(t), l.clear(), Ui++, function() {
|
|
10822
10828
|
c.forEach(function(d) {
|
|
10823
10829
|
var m = Ar.get(d) - 1, v = i.get(d) - 1;
|
|
10824
|
-
Ar.set(d, m), i.set(d, v), m || (
|
|
10825
|
-
}), Ui--, Ui || (Ar = /* @__PURE__ */ new WeakMap(), Ar = /* @__PURE__ */ new WeakMap(),
|
|
10830
|
+
Ar.set(d, m), i.set(d, v), m || (mo.has(d) || d.removeAttribute(n), mo.delete(d)), v || d.removeAttribute(r);
|
|
10831
|
+
}), Ui--, Ui || (Ar = /* @__PURE__ */ new WeakMap(), Ar = /* @__PURE__ */ new WeakMap(), mo = /* @__PURE__ */ new WeakMap(), ho = {});
|
|
10826
10832
|
};
|
|
10827
10833
|
}, "applyAttributeToOthers"), Zu = /* @__PURE__ */ o(function(e, t, r) {
|
|
10828
10834
|
r === void 0 && (r = "data-aria-hidden");
|
|
@@ -10834,7 +10840,7 @@ true");
|
|
|
10834
10840
|
|
|
10835
10841
|
// ../node_modules/@radix-ui/react-dialog/dist/index.mjs
|
|
10836
10842
|
import { Fragment as Ku, jsx as re, jsxs as Ju } from "react/jsx-runtime";
|
|
10837
|
-
var
|
|
10843
|
+
var vo = "Dialog", [Qu, cv] = lu(vo), [sv, Ze] = Qu(vo), qi = /* @__PURE__ */ o((e) => {
|
|
10838
10844
|
let {
|
|
10839
10845
|
__scopeDialog: t,
|
|
10840
10846
|
children: r,
|
|
@@ -10846,7 +10852,7 @@ var go = "Dialog", [Qu, cv] = lu(go), [sv, Ze] = Qu(go), qi = /* @__PURE__ */ o(
|
|
|
10846
10852
|
prop: n,
|
|
10847
10853
|
defaultProp: a ?? !1,
|
|
10848
10854
|
onChange: i,
|
|
10849
|
-
caller:
|
|
10855
|
+
caller: vo
|
|
10850
10856
|
});
|
|
10851
10857
|
return /* @__PURE__ */ re(
|
|
10852
10858
|
sv,
|
|
@@ -10854,9 +10860,9 @@ var go = "Dialog", [Qu, cv] = lu(go), [sv, Ze] = Qu(go), qi = /* @__PURE__ */ o(
|
|
|
10854
10860
|
scope: t,
|
|
10855
10861
|
triggerRef: l,
|
|
10856
10862
|
contentRef: s,
|
|
10857
|
-
contentId:
|
|
10858
|
-
titleId:
|
|
10859
|
-
descriptionId:
|
|
10863
|
+
contentId: ro(),
|
|
10864
|
+
titleId: ro(),
|
|
10865
|
+
descriptionId: ro(),
|
|
10860
10866
|
open: u,
|
|
10861
10867
|
onOpenChange: f,
|
|
10862
10868
|
onOpenToggle: q.useCallback(() => f((d) => !d), [f]),
|
|
@@ -10865,7 +10871,7 @@ var go = "Dialog", [Qu, cv] = lu(go), [sv, Ze] = Qu(go), qi = /* @__PURE__ */ o(
|
|
|
10865
10871
|
}
|
|
10866
10872
|
);
|
|
10867
10873
|
}, "Dialog");
|
|
10868
|
-
qi.displayName =
|
|
10874
|
+
qi.displayName = vo;
|
|
10869
10875
|
var ef = "DialogTrigger", Gi = q.forwardRef(
|
|
10870
10876
|
(e, t) => {
|
|
10871
10877
|
let { __scopeDialog: r, ...n } = e, a = Ze(ef, r), i = Ye(t, a.triggerRef);
|
|
@@ -10893,16 +10899,16 @@ var Xi = "DialogPortal", [uv, tf] = Qu(Xi, {
|
|
|
10893
10899
|
children: /* @__PURE__ */ re(Ii, { asChild: !0, container: a, children: c }) })) });
|
|
10894
10900
|
}, "DialogPortal");
|
|
10895
10901
|
Yi.displayName = Xi;
|
|
10896
|
-
var
|
|
10902
|
+
var go = "DialogOverlay", Zi = q.forwardRef(
|
|
10897
10903
|
(e, t) => {
|
|
10898
|
-
let r = tf(
|
|
10904
|
+
let r = tf(go, e.__scopeDialog), { forceMount: n = r.forceMount, ...a } = e, i = Ze(go, e.__scopeDialog);
|
|
10899
10905
|
return i.modal ? /* @__PURE__ */ re(un, { present: n || i.open, children: /* @__PURE__ */ re(dv, { ...a, ref: t }) }) : null;
|
|
10900
10906
|
}
|
|
10901
10907
|
);
|
|
10902
|
-
Zi.displayName =
|
|
10908
|
+
Zi.displayName = go;
|
|
10903
10909
|
var fv = sn("DialogOverlay.RemoveScroll"), dv = q.forwardRef(
|
|
10904
10910
|
(e, t) => {
|
|
10905
|
-
let { __scopeDialog: r, ...n } = e, a = Ze(
|
|
10911
|
+
let { __scopeDialog: r, ...n } = e, a = Ze(go, r);
|
|
10906
10912
|
return (
|
|
10907
10913
|
// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
|
10908
10914
|
// ie. when `Overlay` and `Content` are siblings
|
|
@@ -11187,7 +11193,7 @@ nsparent",
|
|
|
11187
11193
|
background: (() => {
|
|
11188
11194
|
let s = e.color.secondary;
|
|
11189
11195
|
return t === "solid" && (s = e.color.secondary), t === "outline" && (s = e.button.background), t === "ghost" ? we(0.86, e.color.secondary) :
|
|
11190
|
-
e.base === "light" ? wt(0.02, s) :
|
|
11196
|
+
e.base === "light" ? wt(0.02, s) : Ko(0.03, s);
|
|
11191
11197
|
})()
|
|
11192
11198
|
},
|
|
11193
11199
|
"&:active": {
|
|
@@ -11195,7 +11201,7 @@ nsparent",
|
|
|
11195
11201
|
background: (() => {
|
|
11196
11202
|
let s = e.color.secondary;
|
|
11197
11203
|
return t === "solid" && (s = e.color.secondary), t === "outline" && (s = e.button.background), t === "ghost" ? e.background.hoverable :
|
|
11198
|
-
e.base === "light" ? wt(0.02, s) :
|
|
11204
|
+
e.base === "light" ? wt(0.02, s) : Ko(0.03, s);
|
|
11199
11205
|
})()
|
|
11200
11206
|
},
|
|
11201
11207
|
"&:focus": {
|
|
@@ -11208,10 +11214,10 @@ nsparent",
|
|
|
11208
11214
|
}));
|
|
11209
11215
|
|
|
11210
11216
|
// src/components/components/IconButton/IconButton.tsx
|
|
11211
|
-
var
|
|
11217
|
+
var bo = Av(
|
|
11212
11218
|
({ padding: e = "small", variant: t = "ghost", ...r }, n) => /* @__PURE__ */ Lv.createElement(Ir, { padding: e, variant: t, ref: n, ...r })
|
|
11213
11219
|
);
|
|
11214
|
-
|
|
11220
|
+
bo.displayName = "IconButton";
|
|
11215
11221
|
|
|
11216
11222
|
// src/components/components/Modal/Modal.styled.tsx
|
|
11217
11223
|
var cf = u0({
|
|
@@ -11257,8 +11263,8 @@ var cf = u0({
|
|
|
11257
11263
|
outline: "none"
|
|
11258
11264
|
}
|
|
11259
11265
|
})
|
|
11260
|
-
), sf = /* @__PURE__ */ o((e) => /* @__PURE__ */ Mt.createElement(s0, { asChild: !0 }, /* @__PURE__ */ Mt.createElement(
|
|
11261
|
-
createElement(G5, null))), "CloseButton"), Tv = st.div({
|
|
11266
|
+
), sf = /* @__PURE__ */ o((e) => /* @__PURE__ */ Mt.createElement(s0, { asChild: !0 }, /* @__PURE__ */ Mt.createElement(bo, { "aria-label": "\
|
|
11267
|
+
Close", ...e }, /* @__PURE__ */ Mt.createElement(G5, null))), "CloseButton"), Tv = st.div({
|
|
11262
11268
|
display: "flex",
|
|
11263
11269
|
flexDirection: "column",
|
|
11264
11270
|
margin: 16,
|
|
@@ -11326,7 +11332,7 @@ function Nv({
|
|
|
11326
11332
|
)));
|
|
11327
11333
|
}
|
|
11328
11334
|
o(Nv, "BaseModal");
|
|
11329
|
-
var Dv = Object.assign(Nv, p0, { Dialog:
|
|
11335
|
+
var Dv = Object.assign(Nv, p0, { Dialog: wo });
|
|
11330
11336
|
|
|
11331
11337
|
// src/components/components/spaced/Spaced.tsx
|
|
11332
11338
|
import Fv from "react";
|
|
@@ -11432,7 +11438,7 @@ function mf(e, t, r) {
|
|
|
11432
11438
|
) : t === "contentBoxSize" ? e.contentRect[r === "inlineSize" ? "width" : "height"] : void 0;
|
|
11433
11439
|
}
|
|
11434
11440
|
o(mf, "extractSize");
|
|
11435
|
-
function
|
|
11441
|
+
function Ro(e) {
|
|
11436
11442
|
e === void 0 && (e = {});
|
|
11437
11443
|
var t = e.onResize, r = Zt(void 0);
|
|
11438
11444
|
r.current = t;
|
|
@@ -11477,7 +11483,7 @@ ontentBoxSize", p = mf(v, R, "inlineSize"), h = mf(v, R, "blockSize"), g = p ? n
|
|
|
11477
11483
|
};
|
|
11478
11484
|
}, [f, c.width, c.height]);
|
|
11479
11485
|
}
|
|
11480
|
-
o(
|
|
11486
|
+
o(Ro, "useResizeObserver");
|
|
11481
11487
|
|
|
11482
11488
|
// src/components/components/Zoom/ZoomElement.tsx
|
|
11483
11489
|
var n7 = r7.div(
|
|
@@ -11496,7 +11502,7 @@ function gf({ centered: e, scale: t, children: r }) {
|
|
|
11496
11502
|
);
|
|
11497
11503
|
return Qv(() => {
|
|
11498
11504
|
n.current && i(n.current.getBoundingClientRect().height);
|
|
11499
|
-
}, [t]),
|
|
11505
|
+
}, [t]), Ro({
|
|
11500
11506
|
ref: n,
|
|
11501
11507
|
onResize: c
|
|
11502
11508
|
}), /* @__PURE__ */ hf.createElement(n7, { centered: e, scale: t, elementHeight: a }, /* @__PURE__ */ hf.createElement("div", { ref: n, className: "\
|
|
@@ -11547,12 +11553,12 @@ ue" : "false"), r.children.props.src !== this.props.children.props.src;
|
|
|
11547
11553
|
}
|
|
11548
11554
|
};
|
|
11549
11555
|
o(w0, "ZoomIFrame");
|
|
11550
|
-
var
|
|
11556
|
+
var yo = w0;
|
|
11551
11557
|
|
|
11552
11558
|
// src/components/components/Zoom/Zoom.tsx
|
|
11553
11559
|
var a7 = {
|
|
11554
11560
|
Element: gf,
|
|
11555
|
-
IFrame:
|
|
11561
|
+
IFrame: yo
|
|
11556
11562
|
};
|
|
11557
11563
|
|
|
11558
11564
|
// src/components/components/ErrorFormatter/ErrorFormatter.tsx
|
|
@@ -11866,7 +11872,10 @@ var O7 = {
|
|
|
11866
11872
|
},
|
|
11867
11873
|
"&:focus": {
|
|
11868
11874
|
boxShadow: `${e.color.secondary} 0 0 0 1px inset`,
|
|
11869
|
-
outline: "none"
|
|
11875
|
+
outline: "none",
|
|
11876
|
+
"@media (forced-colors: active)": {
|
|
11877
|
+
outline: "1px solid highlight"
|
|
11878
|
+
}
|
|
11870
11879
|
},
|
|
11871
11880
|
"&[disabled]": {
|
|
11872
11881
|
cursor: "not-allowed",
|
|
@@ -11971,10 +11980,10 @@ var N7 = Object.assign(
|
|
|
11971
11980
|
// src/components/components/tooltip/lazy-WithTooltip.tsx
|
|
11972
11981
|
import $r, { Suspense as Gd, lazy as Xd } from "react";
|
|
11973
11982
|
var k3 = Xd(
|
|
11974
|
-
() => Promise.resolve().then(() => (
|
|
11983
|
+
() => Promise.resolve().then(() => (Bo(), al)).then((e) => ({ default: e.WithTooltip }))
|
|
11975
11984
|
), O3 = /* @__PURE__ */ o((e) => /* @__PURE__ */ $r.createElement(Gd, { fallback: /* @__PURE__ */ $r.createElement("div", null) }, /* @__PURE__ */ $r.
|
|
11976
11985
|
createElement(k3, { ...e })), "WithTooltip"), B3 = Xd(
|
|
11977
|
-
() => Promise.resolve().then(() => (
|
|
11986
|
+
() => Promise.resolve().then(() => (Bo(), al)).then((e) => ({ default: e.WithTooltipPure }))
|
|
11978
11987
|
), N3 = /* @__PURE__ */ o((e) => /* @__PURE__ */ $r.createElement(Gd, { fallback: /* @__PURE__ */ $r.createElement("div", null) }, /* @__PURE__ */ $r.
|
|
11979
11988
|
createElement(B3, { ...e })), "WithTooltipPure");
|
|
11980
11989
|
|
|
@@ -12221,12 +12230,14 @@ var cl = sl.div(
|
|
|
12221
12230
|
cl.displayName = "Side";
|
|
12222
12231
|
var c6 = /* @__PURE__ */ o(({ children: e, className: t, scrollable: r }) => r ? /* @__PURE__ */ Wr.createElement(Rr, { vertical: !1, className: t },
|
|
12223
12232
|
e) : /* @__PURE__ */ Wr.createElement("div", { className: t }, e), "UnstyledBar"), ul = sl(c6)(
|
|
12224
|
-
({
|
|
12225
|
-
color:
|
|
12233
|
+
({ backgroundColor: e, theme: t, scrollable: r = !0 }) => ({
|
|
12234
|
+
color: t.barTextColor,
|
|
12226
12235
|
width: "100%",
|
|
12227
|
-
|
|
12236
|
+
minHeight: 40,
|
|
12228
12237
|
flexShrink: 0,
|
|
12229
|
-
|
|
12238
|
+
scrollbarColor: `${t.barTextColor} ${e || t.barBg}`,
|
|
12239
|
+
scrollbarWidth: "thin",
|
|
12240
|
+
overflow: r ? "auto" : "hidden",
|
|
12230
12241
|
overflowY: "hidden"
|
|
12231
12242
|
}),
|
|
12232
12243
|
({ theme: e, border: t = !1 }) => t ? {
|
|
@@ -12243,12 +12254,13 @@ var s6 = sl.div(({ bgColor: e }) => ({
|
|
|
12243
12254
|
flexShrink: 0,
|
|
12244
12255
|
height: 40,
|
|
12245
12256
|
backgroundColor: e || ""
|
|
12246
|
-
})),
|
|
12257
|
+
})), No = /* @__PURE__ */ o(({ children: e, backgroundColor: t, className: r, ...n }) => {
|
|
12247
12258
|
let [a, i] = l6.toArray(e);
|
|
12248
|
-
return /* @__PURE__ */ Wr.createElement(ul, { className: `sb-bar ${r}`, ...n }, /* @__PURE__ */ Wr.createElement(s6, {
|
|
12249
|
-
createElement(cl, { scrollable: n.scrollable, left: !0 }, a), i ? /* @__PURE__ */ Wr.createElement(cl, { right: !0 },
|
|
12259
|
+
return /* @__PURE__ */ Wr.createElement(ul, { backgroundColor: t, className: `sb-bar ${r}`, ...n }, /* @__PURE__ */ Wr.createElement(s6, {
|
|
12260
|
+
bgColor: t }, /* @__PURE__ */ Wr.createElement(cl, { scrollable: n.scrollable, left: !0 }, a), i ? /* @__PURE__ */ Wr.createElement(cl, { right: !0 },
|
|
12261
|
+
i) : null));
|
|
12250
12262
|
}, "FlexBar");
|
|
12251
|
-
|
|
12263
|
+
No.displayName = "FlexBar";
|
|
12252
12264
|
|
|
12253
12265
|
// src/components/components/bar/button.tsx
|
|
12254
12266
|
import Kd, { forwardRef as u6 } from "react";
|
|
@@ -12314,9 +12326,9 @@ var ar = d6(Jd, { shouldForwardProp: f6 })(
|
|
|
12314
12326
|
ar.displayName = "TabButton";
|
|
12315
12327
|
|
|
12316
12328
|
// src/components/components/tabs/EmptyTabContent.tsx
|
|
12317
|
-
import
|
|
12318
|
-
import { styled as
|
|
12319
|
-
var g6 =
|
|
12329
|
+
import Do from "react";
|
|
12330
|
+
import { styled as Fo } from "storybook/theming";
|
|
12331
|
+
var g6 = Fo.div(({ theme: e }) => ({
|
|
12320
12332
|
height: "100%",
|
|
12321
12333
|
display: "flex",
|
|
12322
12334
|
padding: 30,
|
|
@@ -12325,23 +12337,23 @@ var g6 = Do.div(({ theme: e }) => ({
|
|
|
12325
12337
|
flexDirection: "column",
|
|
12326
12338
|
gap: 15,
|
|
12327
12339
|
background: e.background.content
|
|
12328
|
-
})), v6 =
|
|
12340
|
+
})), v6 = Fo.div({
|
|
12329
12341
|
display: "flex",
|
|
12330
12342
|
flexDirection: "column",
|
|
12331
12343
|
gap: 4,
|
|
12332
12344
|
maxWidth: 415
|
|
12333
|
-
}), w6 =
|
|
12345
|
+
}), w6 = Fo.div(({ theme: e }) => ({
|
|
12334
12346
|
fontWeight: e.typography.weight.bold,
|
|
12335
12347
|
fontSize: e.typography.size.s2 - 1,
|
|
12336
12348
|
textAlign: "center",
|
|
12337
12349
|
color: e.textColor
|
|
12338
|
-
})), b6 =
|
|
12350
|
+
})), b6 = Fo.div(({ theme: e }) => ({
|
|
12339
12351
|
fontWeight: e.typography.weight.regular,
|
|
12340
12352
|
fontSize: e.typography.size.s2 - 1,
|
|
12341
12353
|
textAlign: "center",
|
|
12342
12354
|
color: e.textMutedColor
|
|
12343
|
-
})),
|
|
12344
|
-
v6, null, /* @__PURE__ */
|
|
12355
|
+
})), _o = /* @__PURE__ */ o(({ title: e, description: t, footer: r }) => /* @__PURE__ */ Do.createElement(g6, null, /* @__PURE__ */ Do.createElement(
|
|
12356
|
+
v6, null, /* @__PURE__ */ Do.createElement(w6, null, e), t && /* @__PURE__ */ Do.createElement(b6, null, t)), r), "EmptyTabContent");
|
|
12345
12357
|
|
|
12346
12358
|
// src/components/components/tabs/tabs.helpers.tsx
|
|
12347
12359
|
import R6, { Children as y6 } from "react";
|
|
@@ -12366,10 +12378,10 @@ var fl = x6.div(
|
|
|
12366
12378
|
), "childrenToList");
|
|
12367
12379
|
|
|
12368
12380
|
// src/components/components/tabs/tabs.hooks.tsx
|
|
12369
|
-
import ir, { useCallback as ep, useLayoutEffect as E6, useRef as
|
|
12381
|
+
import ir, { useCallback as ep, useLayoutEffect as E6, useRef as $o, useState as dl } from "react";
|
|
12370
12382
|
import { sanitize as S6 } from "storybook/internal/csf";
|
|
12371
12383
|
import { styled as tp } from "storybook/theming";
|
|
12372
|
-
|
|
12384
|
+
Bo();
|
|
12373
12385
|
var C6 = tp.span(({ theme: e, isActive: t }) => ({
|
|
12374
12386
|
display: "inline-block",
|
|
12375
12387
|
width: 0,
|
|
@@ -12393,10 +12405,10 @@ var C6 = tp.span(({ theme: e, isActive: t }) => ({
|
|
|
12393
12405
|
}
|
|
12394
12406
|
`);
|
|
12395
12407
|
function rp(e) {
|
|
12396
|
-
let t =
|
|
12408
|
+
let t = $o(), r = $o(), n = $o(/* @__PURE__ */ new Map()), { width: a = 1 } = Ro({
|
|
12397
12409
|
// @ts-expect-error (non strict)
|
|
12398
12410
|
ref: t
|
|
12399
|
-
}), [i, c] = dl(e), [l, s] = dl([]), u =
|
|
12411
|
+
}), [i, c] = dl(e), [l, s] = dl([]), u = $o(e), f = ep(
|
|
12400
12412
|
({
|
|
12401
12413
|
menuName: m,
|
|
12402
12414
|
actions: v
|
|
@@ -12521,7 +12533,8 @@ gl.displayName = "TabBar";
|
|
|
12521
12533
|
var H6 = hl.div(
|
|
12522
12534
|
{
|
|
12523
12535
|
display: "block",
|
|
12524
|
-
position: "relative"
|
|
12536
|
+
position: "relative",
|
|
12537
|
+
container: "tab-content / inline-size"
|
|
12525
12538
|
},
|
|
12526
12539
|
({ theme: e }) => ({
|
|
12527
12540
|
fontSize: e.typography.size.s2 - 1,
|
|
@@ -12562,7 +12575,7 @@ var wl = class wl extends np {
|
|
|
12562
12575
|
}
|
|
12563
12576
|
render() {
|
|
12564
12577
|
return this.state.hasError && this.props.active ? /* @__PURE__ */ Be.createElement(
|
|
12565
|
-
|
|
12578
|
+
_o,
|
|
12566
12579
|
{
|
|
12567
12580
|
title: "This addon has errors",
|
|
12568
12581
|
description: "Check your browser logs and addon code to pinpoint what went wrong. This issue was not caused by Storybook."
|
|
@@ -12591,11 +12604,11 @@ var pl = wl, vl = L6(
|
|
|
12591
12604
|
active: t ? g.id === t : w === 0
|
|
12592
12605
|
})),
|
|
12593
12606
|
[e, t]
|
|
12594
|
-
), { visibleList: m, tabBarRef: v, tabRefs: R, AddonTab: p } = rp(d), h = u ?? /* @__PURE__ */ Be.createElement(
|
|
12607
|
+
), { visibleList: m, tabBarRef: v, tabRefs: R, AddonTab: p } = rp(d), h = u ?? /* @__PURE__ */ Be.createElement(_o, { title: "Nothing fo\
|
|
12595
12608
|
und" });
|
|
12596
12609
|
return !f && d.length === 0 ? h : (
|
|
12597
12610
|
// @ts-expect-error (non strict)
|
|
12598
|
-
/* @__PURE__ */ Be.createElement(T6, { absolute: n, bordered: a, id: l }, /* @__PURE__ */ Be.createElement(
|
|
12611
|
+
/* @__PURE__ */ Be.createElement(T6, { absolute: n, bordered: a, id: l }, /* @__PURE__ */ Be.createElement(No, { scrollable: !1, border: !0,
|
|
12599
12612
|
backgroundColor: c }, /* @__PURE__ */ Be.createElement(gl, { style: { whiteSpace: "normal" }, ref: v, role: "tablist" }, m.map(({ title: g,
|
|
12600
12613
|
id: w, active: b, color: x }, E) => {
|
|
12601
12614
|
let y = `index-${E}`;
|
|
@@ -12625,7 +12638,7 @@ nt", bordered: a, absolute: n }, d.length ? d.map(({ id: g, active: w, render: b
|
|
|
12625
12638
|
}
|
|
12626
12639
|
);
|
|
12627
12640
|
vl.displayName = "Tabs";
|
|
12628
|
-
var
|
|
12641
|
+
var Vo = class Vo extends np {
|
|
12629
12642
|
constructor(r) {
|
|
12630
12643
|
super(r);
|
|
12631
12644
|
this.handlers = {
|
|
@@ -12651,7 +12664,7 @@ var $o = class $o extends np {
|
|
|
12651
12664
|
);
|
|
12652
12665
|
}
|
|
12653
12666
|
};
|
|
12654
|
-
o(
|
|
12667
|
+
o(Vo, "TabsState"), Vo.defaultProps = {
|
|
12655
12668
|
children: [],
|
|
12656
12669
|
// @ts-expect-error (non strict)
|
|
12657
12670
|
initial: null,
|
|
@@ -12661,7 +12674,7 @@ o($o, "TabsState"), $o.defaultProps = {
|
|
|
12661
12674
|
// @ts-expect-error (non strict)
|
|
12662
12675
|
menuName: void 0
|
|
12663
12676
|
};
|
|
12664
|
-
var ml =
|
|
12677
|
+
var ml = Vo;
|
|
12665
12678
|
|
|
12666
12679
|
// src/components/components/bar/separator.tsx
|
|
12667
12680
|
import op, { Fragment as k6 } from "react";
|
|
@@ -13003,17 +13016,17 @@ var cw = lw.pre`
|
|
|
13003
13016
|
`, sw = /* @__PURE__ */ o(({ code: e, ...t }) => /* @__PURE__ */ aw.createElement(cw, { id: "clipboard-code", ...t }, e), "ClipboardCode");
|
|
13004
13017
|
|
|
13005
13018
|
// src/components/index.ts
|
|
13006
|
-
var
|
|
13019
|
+
var Bk = bi, dw = {};
|
|
13007
13020
|
Object.keys(bi).forEach((e) => {
|
|
13008
13021
|
dw[e] = fw((t, r) => uw(e, { ...t, ref: r }));
|
|
13009
13022
|
});
|
|
13010
13023
|
export {
|
|
13011
|
-
|
|
13012
|
-
|
|
13024
|
+
Jo as A,
|
|
13025
|
+
Va as ActionBar,
|
|
13013
13026
|
V6 as AddonPanel,
|
|
13014
13027
|
Uh as Badge,
|
|
13015
13028
|
ul as Bar,
|
|
13016
|
-
|
|
13029
|
+
Qo as Blockquote,
|
|
13017
13030
|
Ir as Button,
|
|
13018
13031
|
w7 as Checkbox,
|
|
13019
13032
|
sw as ClipboardCode,
|
|
@@ -13021,9 +13034,9 @@ export {
|
|
|
13021
13034
|
ti as DL,
|
|
13022
13035
|
ri as Div,
|
|
13023
13036
|
Jh as DocumentWrapper,
|
|
13024
|
-
|
|
13037
|
+
_o as EmptyTabContent,
|
|
13025
13038
|
m7 as ErrorFormatter,
|
|
13026
|
-
|
|
13039
|
+
No as FlexBar,
|
|
13027
13040
|
N7 as Form,
|
|
13028
13041
|
ni as H1,
|
|
13029
13042
|
oi as H2,
|
|
@@ -13032,7 +13045,7 @@ export {
|
|
|
13032
13045
|
li as H5,
|
|
13033
13046
|
ci as H6,
|
|
13034
13047
|
si as HR,
|
|
13035
|
-
|
|
13048
|
+
bo as IconButton,
|
|
13036
13049
|
ui as Img,
|
|
13037
13050
|
fi as LI,
|
|
13038
13051
|
yi as Link,
|
|
@@ -13067,7 +13080,7 @@ export {
|
|
|
13067
13080
|
N3 as WithTooltipPure,
|
|
13068
13081
|
a7 as Zoom,
|
|
13069
13082
|
at as codeCommon,
|
|
13070
|
-
|
|
13083
|
+
Bk as components,
|
|
13071
13084
|
Ja as createCopyToClipboardFunction,
|
|
13072
13085
|
ow as getStoryHref,
|
|
13073
13086
|
B6 as interleaveSeparators,
|