highsoft-ui 1.0.137 → 1.0.139
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/CLAUDE.md +1 -0
- package/dist/{CodeBlock-Dh0sulDR.js → CodeBlock-DtYddgyU.js} +80 -76
- package/dist/{Footer-CcrBEAxZ.js → Footer-DtFs2Sgb.js} +2 -2
- package/dist/{FooterHelp-CfoW8dhY.js → FooterHelp-COjjt6h7.js} +1 -1
- package/dist/{FooterLinks-CSAfsyJP.js → FooterLinks-DZ0uH7HO.js} +2 -2
- package/dist/{Header-Ga_hYsOa.js → Header-C7MCiwiz.js} +2 -2
- package/dist/components/CodeBlock/index.js +1 -1
- package/dist/components/Footer/FooterHelp.js +1 -1
- package/dist/components/Footer/FooterLinks.js +1 -1
- package/dist/components/Footer/index.js +1 -1
- package/dist/components/Header/index.js +1 -1
- package/dist/highsoft-ui.css +1 -1
- package/dist/lib/components/CodeBlock/index.d.ts +2 -0
- package/dist/main.js +3 -3
- package/package.json +1 -1
package/CLAUDE.md
CHANGED
|
@@ -266,6 +266,7 @@ const a = 2 // [!code ++]`} />
|
|
|
266
266
|
- **`showLines`:** line-number gutter (default `true`).
|
|
267
267
|
- **`syntax`:** built-in Prism highlighting (default `true`); set `false` for plain, uncolored code.
|
|
268
268
|
- **`diff`:** parse `[!code ++]` / `[!code --]` markers (default `true`); set `false` to show code that literally contains those tokens.
|
|
269
|
+
- **`wrap`:** soft-wrap long lines (default `true`); set `false` for horizontal scrolling with a pinned line-number gutter.
|
|
269
270
|
- **`copyLabel`:** copy button label (default `'Copy code'`).
|
|
270
271
|
- Colors come from `--code-block-*` design tokens (light/dark automatic). Code renders in IBM Plex Mono — load `@fontsource/ibm-plex-mono` (or it falls back to the system monospace).
|
|
271
272
|
|
|
@@ -218,14 +218,14 @@ function A(e) {
|
|
|
218
218
|
];
|
|
219
219
|
}
|
|
220
220
|
var j = {};
|
|
221
|
-
function
|
|
221
|
+
function ee(e) {
|
|
222
222
|
if (e.length === 0 || e.length === 1) return e;
|
|
223
223
|
var t = e.join(".");
|
|
224
224
|
return j[t] || (j[t] = A(e)), j[t];
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function M(e) {
|
|
227
227
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0;
|
|
228
|
-
return
|
|
228
|
+
return ee(e.filter(function(e) {
|
|
229
229
|
return e !== "token";
|
|
230
230
|
})).reduce(function(e, t) {
|
|
231
231
|
return k(k({}, e), n[t]);
|
|
@@ -263,7 +263,7 @@ function F(e) {
|
|
|
263
263
|
}));
|
|
264
264
|
m = k(k({}, c), {}, {
|
|
265
265
|
className: N(_) || void 0,
|
|
266
|
-
style:
|
|
266
|
+
style: M(c.className, Object.assign({}, c.style, a), n)
|
|
267
267
|
});
|
|
268
268
|
}
|
|
269
269
|
var v = p(t.children);
|
|
@@ -346,7 +346,7 @@ function oe(e) {
|
|
|
346
346
|
function se(e) {
|
|
347
347
|
return `${e.toString().length}.25em`;
|
|
348
348
|
}
|
|
349
|
-
function
|
|
349
|
+
function ce(e, t) {
|
|
350
350
|
return {
|
|
351
351
|
type: "element",
|
|
352
352
|
tagName: "span",
|
|
@@ -365,7 +365,7 @@ function R(e, t) {
|
|
|
365
365
|
}]
|
|
366
366
|
};
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function le(e, t, n) {
|
|
369
369
|
var r = {
|
|
370
370
|
display: "inline-block",
|
|
371
371
|
minWidth: se(n),
|
|
@@ -375,11 +375,11 @@ function ce(e, t, n) {
|
|
|
375
375
|
}, i = typeof e == "function" ? e(t) : e;
|
|
376
376
|
return L(L({}, r), i);
|
|
377
377
|
}
|
|
378
|
-
function
|
|
378
|
+
function R(e) {
|
|
379
379
|
var t = e.children, n = e.lineNumber, r = e.lineNumberStyle, i = e.largestLineNumber, a = e.showInlineLineNumbers, o = e.lineProps, s = o === void 0 ? {} : o, c = e.className, l = c === void 0 ? [] : c, u = e.showLineNumbers, d = e.wrapLongLines, f = e.wrapLines, p = f !== void 0 && f ? L({}, typeof s == "function" ? s(n) : s) : {};
|
|
380
380
|
if (p.className = p.className ? [].concat(C(p.className.trim().split(/\s+/)), C(l)) : l, n && a) {
|
|
381
|
-
var m =
|
|
382
|
-
t.unshift(
|
|
381
|
+
var m = le(r, n, i);
|
|
382
|
+
t.unshift(ce(n, m));
|
|
383
383
|
}
|
|
384
384
|
return d & u && (p.style = L({ display: "flex" }, p.style)), {
|
|
385
385
|
type: "element",
|
|
@@ -388,28 +388,28 @@ function z(e) {
|
|
|
388
388
|
children: t
|
|
389
389
|
};
|
|
390
390
|
}
|
|
391
|
-
function
|
|
391
|
+
function ue(e) {
|
|
392
392
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
|
|
393
393
|
e.length === void 0 && (e = [e]);
|
|
394
394
|
for (var r = 0; r < e.length; r++) {
|
|
395
395
|
var i = e[r];
|
|
396
|
-
if (i.type === "text") n.push(
|
|
396
|
+
if (i.type === "text") n.push(R({
|
|
397
397
|
children: [i],
|
|
398
398
|
className: C(new Set(t))
|
|
399
399
|
}));
|
|
400
400
|
else if (i.children) {
|
|
401
401
|
var a = t.concat(i.properties?.className || []);
|
|
402
|
-
|
|
402
|
+
ue(i.children, a).forEach(function(e) {
|
|
403
403
|
return n.push(e);
|
|
404
404
|
});
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
return n;
|
|
408
408
|
}
|
|
409
|
-
function
|
|
410
|
-
var l, u =
|
|
409
|
+
function de(e, t, n, r, i, a, o, s, c) {
|
|
410
|
+
var l, u = ue(e.value), d = [], f = -1, p = 0;
|
|
411
411
|
function m(e, a) {
|
|
412
|
-
return
|
|
412
|
+
return R({
|
|
413
413
|
children: e,
|
|
414
414
|
lineNumber: a,
|
|
415
415
|
lineNumberStyle: s,
|
|
@@ -424,8 +424,8 @@ function ue(e, t, n, r, i, a, o, s, c) {
|
|
|
424
424
|
}
|
|
425
425
|
function h(e, t) {
|
|
426
426
|
if (r && t && i) {
|
|
427
|
-
var n =
|
|
428
|
-
e.unshift(
|
|
427
|
+
var n = le(s, t, o);
|
|
428
|
+
e.unshift(ce(t, n));
|
|
429
429
|
}
|
|
430
430
|
return e;
|
|
431
431
|
}
|
|
@@ -444,7 +444,7 @@ function ue(e, t, n, r, i, a, o, s, c) {
|
|
|
444
444
|
`
|
|
445
445
|
};
|
|
446
446
|
if (i === 0) {
|
|
447
|
-
var c = g(u.slice(f + 1, p).concat(
|
|
447
|
+
var c = g(u.slice(f + 1, p).concat(R({
|
|
448
448
|
children: [s],
|
|
449
449
|
className: e.properties.className
|
|
450
450
|
})), o);
|
|
@@ -455,7 +455,7 @@ function ue(e, t, n, r, i, a, o, s, c) {
|
|
|
455
455
|
value: `${t}`
|
|
456
456
|
};
|
|
457
457
|
if (l) {
|
|
458
|
-
var h =
|
|
458
|
+
var h = R({
|
|
459
459
|
children: [m],
|
|
460
460
|
className: e.properties.className
|
|
461
461
|
});
|
|
@@ -481,7 +481,7 @@ function ue(e, t, n, r, i, a, o, s, c) {
|
|
|
481
481
|
}
|
|
482
482
|
return t ? d : (l = []).concat.apply(l, d);
|
|
483
483
|
}
|
|
484
|
-
function
|
|
484
|
+
function fe(e) {
|
|
485
485
|
var t = e.rows, n = e.stylesheet, r = e.useInlineStyles;
|
|
486
486
|
return t.map(function(e, t) {
|
|
487
487
|
return F({
|
|
@@ -492,12 +492,12 @@ function de(e) {
|
|
|
492
492
|
});
|
|
493
493
|
});
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function pe(e) {
|
|
496
496
|
return e && e.highlightAuto !== void 0;
|
|
497
497
|
}
|
|
498
|
-
function
|
|
498
|
+
function me(e) {
|
|
499
499
|
var t = e.astGenerator, n = e.language, r = e.code, i = e.defaultCodeValue;
|
|
500
|
-
if (
|
|
500
|
+
if (pe(t)) {
|
|
501
501
|
var a = I(t, n);
|
|
502
502
|
return n === "text" ? {
|
|
503
503
|
value: i,
|
|
@@ -510,12 +510,12 @@ function pe(e) {
|
|
|
510
510
|
return { value: i };
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
|
-
function
|
|
513
|
+
function he(e, t) {
|
|
514
514
|
return function(n) {
|
|
515
515
|
var r = n.language, i = n.children, a = n.style, o = a === void 0 ? t : a, s = n.customStyle, c = s === void 0 ? {} : s, u = n.codeTagProps, d = u === void 0 ? {
|
|
516
516
|
className: r ? `language-${r}` : void 0,
|
|
517
517
|
style: L(L({}, o["code[class*=\"language-\"]"]), o[`code[class*="language-${r}"]`])
|
|
518
|
-
} : u, f = n.useInlineStyles, p = f === void 0 ? !0 : f, m = n.showLineNumbers, h = m === void 0 ? !1 : m, g = n.showInlineLineNumbers, v = g === void 0 ? !0 : g, y = n.startingLineNumber, b = y === void 0 ? 1 : y, x = n.lineNumberContainerStyle, S = n.lineNumberStyle, C = S === void 0 ? {} : S, w = n.wrapLines, T = n.wrapLongLines, E = T === void 0 ? !1 : T, D = n.lineProps, O = D === void 0 ? {} : D, k = n.renderer, A = n.PreTag, j = A === void 0 ? "pre" : A,
|
|
518
|
+
} : u, f = n.useInlineStyles, p = f === void 0 ? !0 : f, m = n.showLineNumbers, h = m === void 0 ? !1 : m, g = n.showInlineLineNumbers, v = g === void 0 ? !0 : g, y = n.startingLineNumber, b = y === void 0 ? 1 : y, x = n.lineNumberContainerStyle, S = n.lineNumberStyle, C = S === void 0 ? {} : S, w = n.wrapLines, T = n.wrapLongLines, E = T === void 0 ? !1 : T, D = n.lineProps, O = D === void 0 ? {} : D, k = n.renderer, A = n.PreTag, j = A === void 0 ? "pre" : A, ee = n.CodeTag, M = ee === void 0 ? "code" : ee, N = n.code, P = N === void 0 ? (Array.isArray(i) ? i[0] : i) || "" : N, F = n.astGenerator, I = _(n, te);
|
|
519
519
|
F ||= e;
|
|
520
520
|
var ne = h ? /*#__PURE__*/ l.createElement(oe, {
|
|
521
521
|
containerStyle: x,
|
|
@@ -523,25 +523,25 @@ function me(e, t) {
|
|
|
523
523
|
numberStyle: C,
|
|
524
524
|
startingLineNumber: b,
|
|
525
525
|
codeString: P
|
|
526
|
-
}) : null, re = o.hljs || o["pre[class*=\"language-\"]"] || { backgroundColor: "#fff" }, ie =
|
|
526
|
+
}) : null, re = o.hljs || o["pre[class*=\"language-\"]"] || { backgroundColor: "#fff" }, ie = pe(F) ? "hljs" : "prismjs", ae = p ? Object.assign({}, I, { style: Object.assign({}, re, c) }) : Object.assign({}, I, {
|
|
527
527
|
className: I.className ? `${ie} ${I.className}` : ie,
|
|
528
528
|
style: Object.assign({}, c)
|
|
529
529
|
});
|
|
530
|
-
if (E ? d.style = L({ whiteSpace: "pre-wrap" }, d.style) : d.style = L({ whiteSpace: "pre" }, d.style), !F) return /*#__PURE__*/ l.createElement(j, ae, ne, /*#__PURE__*/ l.createElement(
|
|
531
|
-
(w === void 0 && k || E) && (w = !0), k ||=
|
|
530
|
+
if (E ? d.style = L({ whiteSpace: "pre-wrap" }, d.style) : d.style = L({ whiteSpace: "pre" }, d.style), !F) return /*#__PURE__*/ l.createElement(j, ae, ne, /*#__PURE__*/ l.createElement(M, d, P));
|
|
531
|
+
(w === void 0 && k || E) && (w = !0), k ||= fe;
|
|
532
532
|
var se = [{
|
|
533
533
|
type: "text",
|
|
534
534
|
value: P
|
|
535
|
-
}],
|
|
535
|
+
}], ce = me({
|
|
536
536
|
astGenerator: F,
|
|
537
537
|
language: r,
|
|
538
538
|
code: P,
|
|
539
539
|
defaultCodeValue: se
|
|
540
540
|
});
|
|
541
|
-
|
|
542
|
-
var
|
|
543
|
-
return /*#__PURE__*/ l.createElement(j, ae, /*#__PURE__*/ l.createElement(
|
|
544
|
-
rows:
|
|
541
|
+
ce.language === null && (ce.value = se);
|
|
542
|
+
var le = b + (P.match(/\n/g)?.length ?? 0), R = de(ce, w, O, h, v, b, le, C, E);
|
|
543
|
+
return /*#__PURE__*/ l.createElement(j, ae, /*#__PURE__*/ l.createElement(M, d, !v && ne, k({
|
|
544
|
+
rows: R,
|
|
545
545
|
stylesheet: o,
|
|
546
546
|
useInlineStyles: p
|
|
547
547
|
})));
|
|
@@ -549,22 +549,22 @@ function me(e, t) {
|
|
|
549
549
|
}
|
|
550
550
|
//#endregion
|
|
551
551
|
//#region node_modules/property-information/lib/util/schema.js
|
|
552
|
-
var
|
|
552
|
+
var z = class {
|
|
553
553
|
constructor(e, t, n) {
|
|
554
554
|
this.normal = t, this.property = e, n && (this.space = n);
|
|
555
555
|
}
|
|
556
556
|
};
|
|
557
|
-
|
|
557
|
+
z.prototype.normal = {}, z.prototype.property = {}, z.prototype.space = void 0;
|
|
558
558
|
//#endregion
|
|
559
559
|
//#region node_modules/property-information/lib/util/merge.js
|
|
560
|
-
function
|
|
560
|
+
function ge(e, t) {
|
|
561
561
|
let n = {}, r = {};
|
|
562
562
|
for (let t of e) Object.assign(n, t.property), Object.assign(r, t.normal);
|
|
563
|
-
return new
|
|
563
|
+
return new z(n, r, t);
|
|
564
564
|
}
|
|
565
565
|
//#endregion
|
|
566
566
|
//#region node_modules/property-information/lib/normalize.js
|
|
567
|
-
function
|
|
567
|
+
function B(e) {
|
|
568
568
|
return e.toLowerCase();
|
|
569
569
|
}
|
|
570
570
|
//#endregion
|
|
@@ -610,9 +610,9 @@ function Y(e) {
|
|
|
610
610
|
let t = {}, n = {};
|
|
611
611
|
for (let [r, i] of Object.entries(e.properties)) {
|
|
612
612
|
let a = new xe(r, e.transform(e.attributes || {}, r), i, e.space);
|
|
613
|
-
e.mustUseProperty && e.mustUseProperty.includes(r) && (a.mustUseProperty = !0), t[r] = a, n[
|
|
613
|
+
e.mustUseProperty && e.mustUseProperty.includes(r) && (a.mustUseProperty = !0), t[r] = a, n[B(r)] = r, n[B(a.attribute)] = r;
|
|
614
614
|
}
|
|
615
|
-
return new
|
|
615
|
+
return new z(t, n, e.space);
|
|
616
616
|
}
|
|
617
617
|
//#endregion
|
|
618
618
|
//#region node_modules/property-information/lib/aria.js
|
|
@@ -1594,7 +1594,7 @@ var Ee = Y({
|
|
|
1594
1594
|
}
|
|
1595
1595
|
}), je = /[A-Z]/g, Me = /-[a-z]/g, Ne = /^data[-\w.:]+$/i;
|
|
1596
1596
|
function Pe(e, t) {
|
|
1597
|
-
let n =
|
|
1597
|
+
let n = B(t), r = t, i = V;
|
|
1598
1598
|
if (n in e.normal) return e.property[e.normal[n]];
|
|
1599
1599
|
if (n.length > 4 && n.slice(0, 4) === "data" && Ne.test(t)) {
|
|
1600
1600
|
if (t.charAt(4) === "-") {
|
|
@@ -1619,13 +1619,13 @@ function Ie(e) {
|
|
|
1619
1619
|
}
|
|
1620
1620
|
//#endregion
|
|
1621
1621
|
//#region node_modules/property-information/index.js
|
|
1622
|
-
var Le =
|
|
1622
|
+
var Le = ge([
|
|
1623
1623
|
Ce,
|
|
1624
1624
|
Ee,
|
|
1625
1625
|
Oe,
|
|
1626
1626
|
ke,
|
|
1627
1627
|
Ae
|
|
1628
|
-
], "html"), Re =
|
|
1628
|
+
], "html"), Re = ge([
|
|
1629
1629
|
Ce,
|
|
1630
1630
|
De,
|
|
1631
1631
|
Oe,
|
|
@@ -1734,7 +1734,7 @@ function Ke(e, t) {
|
|
|
1734
1734
|
function qe(e, t, n) {
|
|
1735
1735
|
if (typeof n == "string") {
|
|
1736
1736
|
if (e.number && n && !Number.isNaN(Number(n))) return Number(n);
|
|
1737
|
-
if ((e.boolean || e.overloadedBoolean) && (n === "" ||
|
|
1737
|
+
if ((e.boolean || e.overloadedBoolean) && (n === "" || B(n) === B(t))) return !0;
|
|
1738
1738
|
}
|
|
1739
1739
|
return n;
|
|
1740
1740
|
}
|
|
@@ -2156,7 +2156,7 @@ function Ot(e) {
|
|
|
2156
2156
|
}
|
|
2157
2157
|
//#endregion
|
|
2158
2158
|
//#region node_modules/react-syntax-highlighter/dist/esm/prism-light.js
|
|
2159
|
-
var Q =
|
|
2159
|
+
var Q = he(Z, {});
|
|
2160
2160
|
Q.registerLanguage = function(e, t) {
|
|
2161
2161
|
return Z.register(t);
|
|
2162
2162
|
}, Q.alias = function(e, t) {
|
|
@@ -2848,6 +2848,7 @@ var zt = Lt, Bt = Rt, Vt = Pt, Ht = Nt, Ut = It, Wt = At, Gt = kt, $ = {
|
|
|
2848
2848
|
numbered: "L3qApa_numbered",
|
|
2849
2849
|
pre: "L3qApa_pre",
|
|
2850
2850
|
remove: "L3qApa_remove",
|
|
2851
|
+
scroll: "L3qApa_scroll",
|
|
2851
2852
|
wrap: "L3qApa_wrap"
|
|
2852
2853
|
};
|
|
2853
2854
|
Q.registerLanguage("jsx", zt), Q.registerLanguage("tsx", Bt), Q.registerLanguage("json", Vt), Q.registerLanguage("bash", Ht), Q.registerLanguage("python", Ut), Q.registerLanguage("css", Wt), Q.registerLanguage("markup", Gt);
|
|
@@ -2954,21 +2955,24 @@ function Xt(e) {
|
|
|
2954
2955
|
var Zt = {}, Qt = ({ children: e }) => /* @__PURE__ */ m("pre", {
|
|
2955
2956
|
className: $.pre,
|
|
2956
2957
|
children: e
|
|
2957
|
-
}), $t = ({ children: e }) => /* @__PURE__ */ m("code", { children: e }), en = d(({ code: e, html: i, lang: l = "text", showLines: d = !0, syntax: g = !0, diff: _ = !0,
|
|
2958
|
-
let
|
|
2958
|
+
}), $t = ({ children: e }) => /* @__PURE__ */ m("code", { children: e }), en = d(({ code: e, html: i, lang: l = "text", showLines: d = !0, syntax: g = !0, diff: _ = !0, wrap: v = !0, copyLabel: y = "Copy code", className: b, ...x }, S) => {
|
|
2959
|
+
let C = Jt[l] ?? Jt.text, w = Kt[l], [T, E] = t(), [D, O] = n(), k = E || O, A = p(() => _ ? Xt(e) : e.split("\n").map((e) => ({
|
|
2959
2960
|
text: e,
|
|
2960
2961
|
kind: null
|
|
2961
|
-
})), [e, _]),
|
|
2962
|
-
|
|
2962
|
+
})), [e, _]), j = p(() => A.some((e) => e.kind) ? A.filter((e) => e.kind !== "remove").map((e) => e.text).join("\n") : e, [A, e]), ee = f(() => {
|
|
2963
|
+
D(), T(j);
|
|
2963
2964
|
}, [
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
]), M = r($.body, {
|
|
2965
|
+
j,
|
|
2966
|
+
T,
|
|
2967
|
+
D
|
|
2968
|
+
]), M = r($.body, {
|
|
2969
|
+
[$.numbered]: d,
|
|
2970
|
+
[$.scroll]: !v
|
|
2971
|
+
}), N = qt[l], P = p(() => A.map((e) => e.text).join("\n"), [A]), I = g && !i && !!N && P.trim().length > 0, te = (e) => r($.line, {
|
|
2968
2972
|
[$.add]: e === "add",
|
|
2969
2973
|
[$.remove]: e === "remove"
|
|
2970
|
-
}),
|
|
2971
|
-
className:
|
|
2974
|
+
}), ne = ({ rows: e, stylesheet: t, useInlineStyles: n }) => e.map((r, i) => /* @__PURE__ */ h(u, { children: [/* @__PURE__ */ m("span", {
|
|
2975
|
+
className: te(A[i]?.kind ?? null),
|
|
2972
2976
|
children: (r.children ?? []).map((e, r) => F({
|
|
2973
2977
|
node: e,
|
|
2974
2978
|
stylesheet: t,
|
|
@@ -2977,60 +2981,60 @@ var Zt = {}, Qt = ({ children: e }) => /* @__PURE__ */ m("pre", {
|
|
|
2977
2981
|
}))
|
|
2978
2982
|
}), i < e.length - 1 ? "\n" : null] }, i));
|
|
2979
2983
|
return /* @__PURE__ */ h("div", {
|
|
2980
|
-
ref:
|
|
2981
|
-
className: r($.wrap,
|
|
2982
|
-
...
|
|
2984
|
+
ref: S,
|
|
2985
|
+
className: r($.wrap, b),
|
|
2986
|
+
...x,
|
|
2983
2987
|
children: [/* @__PURE__ */ h("div", {
|
|
2984
2988
|
className: $.head,
|
|
2985
2989
|
children: [/* @__PURE__ */ h("span", {
|
|
2986
2990
|
className: $.langGroup,
|
|
2987
|
-
children: [
|
|
2988
|
-
icon:
|
|
2991
|
+
children: [w ? /* @__PURE__ */ m(c, {
|
|
2992
|
+
icon: w,
|
|
2989
2993
|
size: 16,
|
|
2990
2994
|
"aria-hidden": !0
|
|
2991
2995
|
}) : /* @__PURE__ */ m("span", {
|
|
2992
2996
|
className: $.badge,
|
|
2993
2997
|
style: {
|
|
2994
|
-
background:
|
|
2995
|
-
color:
|
|
2998
|
+
background: C.bg,
|
|
2999
|
+
color: C.fg
|
|
2996
3000
|
},
|
|
2997
|
-
children:
|
|
3001
|
+
children: C.badge
|
|
2998
3002
|
}), /* @__PURE__ */ m("span", {
|
|
2999
3003
|
className: $.lang,
|
|
3000
|
-
children:
|
|
3004
|
+
children: C.label
|
|
3001
3005
|
})]
|
|
3002
3006
|
}), /* @__PURE__ */ m(s, {
|
|
3003
|
-
variant:
|
|
3007
|
+
variant: k ? "success" : "transparent",
|
|
3004
3008
|
size: 100,
|
|
3005
|
-
iconRight: m(
|
|
3006
|
-
onClick:
|
|
3007
|
-
"aria-label":
|
|
3009
|
+
iconRight: m(k ? a : o, {}),
|
|
3010
|
+
onClick: ee,
|
|
3011
|
+
"aria-label": k ? "Copied" : y,
|
|
3008
3012
|
className: $.copyBtn,
|
|
3009
|
-
children:
|
|
3013
|
+
children: k ? "Copied" : y
|
|
3010
3014
|
})]
|
|
3011
3015
|
}), i ? /* @__PURE__ */ m("div", {
|
|
3012
3016
|
className: M,
|
|
3013
3017
|
dangerouslySetInnerHTML: { __html: i }
|
|
3014
|
-
}) :
|
|
3018
|
+
}) : I ? /* @__PURE__ */ m("div", {
|
|
3015
3019
|
className: M,
|
|
3016
3020
|
children: /* @__PURE__ */ m(Q, {
|
|
3017
|
-
language:
|
|
3021
|
+
language: N,
|
|
3018
3022
|
useInlineStyles: !1,
|
|
3019
3023
|
style: Zt,
|
|
3020
3024
|
PreTag: Qt,
|
|
3021
3025
|
CodeTag: $t,
|
|
3022
3026
|
wrapLines: !0,
|
|
3023
|
-
renderer:
|
|
3024
|
-
children:
|
|
3027
|
+
renderer: ne,
|
|
3028
|
+
children: P
|
|
3025
3029
|
})
|
|
3026
3030
|
}) : /* @__PURE__ */ m("div", {
|
|
3027
3031
|
className: M,
|
|
3028
3032
|
children: /* @__PURE__ */ m("pre", {
|
|
3029
3033
|
className: $.pre,
|
|
3030
|
-
children: /* @__PURE__ */ m("code", { children:
|
|
3031
|
-
className:
|
|
3034
|
+
children: /* @__PURE__ */ m("code", { children: A.map((e, t) => /* @__PURE__ */ h(u, { children: [/* @__PURE__ */ m("span", {
|
|
3035
|
+
className: te(e.kind),
|
|
3032
3036
|
children: e.text
|
|
3033
|
-
}), t <
|
|
3037
|
+
}), t < A.length - 1 ? "\n" : null] }, t)) })
|
|
3034
3038
|
})
|
|
3035
3039
|
})]
|
|
3036
3040
|
});
|
|
@@ -6,8 +6,8 @@ import { t as a } from "./DiscordInvite-CLYxexdH.js";
|
|
|
6
6
|
import { t as o } from "./Logo-DTfFHBgU.js";
|
|
7
7
|
import { t as s } from "./NewsletterSignup-Dw9YbhEh.js";
|
|
8
8
|
import { t as c } from "./FooterBottom-Dtttgp4F.js";
|
|
9
|
-
import { t as l } from "./FooterHelp-
|
|
10
|
-
import { t as u } from "./FooterLinks-
|
|
9
|
+
import { t as l } from "./FooterHelp-COjjt6h7.js";
|
|
10
|
+
import { t as u } from "./FooterLinks-DZ0uH7HO.js";
|
|
11
11
|
import { t as d } from "./YoutubeModal-DGj2INF0.js";
|
|
12
12
|
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
13
13
|
var m = {
|
|
@@ -109,7 +109,7 @@ var u = {
|
|
|
109
109
|
],
|
|
110
110
|
Support: [
|
|
111
111
|
{
|
|
112
|
-
title: "Ask Highcharts
|
|
112
|
+
title: "Ask Highcharts Assist",
|
|
113
113
|
url: "https://www.highcharts.com/chat/gpt/"
|
|
114
114
|
},
|
|
115
115
|
{
|
|
@@ -231,7 +231,7 @@ var u = {
|
|
|
231
231
|
url: "https://www.highcharts.com/products/highcharts-editor/"
|
|
232
232
|
},
|
|
233
233
|
{
|
|
234
|
-
title: "Highcharts
|
|
234
|
+
title: "Highcharts Assist",
|
|
235
235
|
url: "https://www.highcharts.com/chat/gpt/"
|
|
236
236
|
}
|
|
237
237
|
],
|
|
@@ -288,7 +288,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
|
|
|
288
288
|
href: B("https://www.highcharts.com/chat/gpt/", c),
|
|
289
289
|
children: [/* @__PURE__ */ O("span", {
|
|
290
290
|
className: A.gpt,
|
|
291
|
-
children: "Highcharts
|
|
291
|
+
children: "Highcharts Assist"
|
|
292
292
|
}), /* @__PURE__ */ O(d, {})]
|
|
293
293
|
}) }),
|
|
294
294
|
/* @__PURE__ */ O("li", { children: /* @__PURE__ */ O(x, {}) }),
|
|
@@ -348,7 +348,7 @@ function X({ subItems: t, children: r, notifications: o = J, link: s = "a", host
|
|
|
348
348
|
href: B("https://www.highcharts.com/chat/gpt/", c),
|
|
349
349
|
children: [/* @__PURE__ */ O("span", {
|
|
350
350
|
className: A.gpt,
|
|
351
|
-
children: "Highcharts
|
|
351
|
+
children: "Highcharts Assist"
|
|
352
352
|
}), /* @__PURE__ */ O(d, {})]
|
|
353
353
|
}) }),
|
|
354
354
|
/* @__PURE__ */ O("li", { children: /* @__PURE__ */ O(x, {}) }),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../CodeBlock-
|
|
1
|
+
import { t as e } from "../../CodeBlock-DtYddgyU.js";
|
|
2
2
|
export { e as CodeBlock };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../FooterHelp-
|
|
1
|
+
import { t as e } from "../../FooterHelp-COjjt6h7.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../FooterLinks-
|
|
1
|
+
import { t as e } from "../../FooterLinks-DZ0uH7HO.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../Footer-
|
|
1
|
+
import { t as e } from "../../Footer-DtFs2Sgb.js";
|
|
2
2
|
export { e as Footer };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../Header-
|
|
1
|
+
import { n as e, t } from "../../Header-C7MCiwiz.js";
|
|
2
2
|
export { t as Header, e as SubHeader };
|