@orsetra/wiki-ui 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/MarkdownViewer.d.ts +1 -0
- package/dist/{index-6EMoKqIn.js → index-B2pW1U6B.js} +2 -2
- package/dist/{index-6EMoKqIn.js.map → index-B2pW1U6B.js.map} +1 -1
- package/dist/{index-CZFbz4Kg.js → index-BFaRVTVG.js} +2 -2
- package/dist/{index-CZFbz4Kg.js.map → index-BFaRVTVG.js.map} +1 -1
- package/dist/{index-Bo9euxq6.js → index-BMWJFSH3.js} +2 -2
- package/dist/{index-Bo9euxq6.js.map → index-BMWJFSH3.js.map} +1 -1
- package/dist/{index-DWBdcUrC.js → index-BO_sv6i6.js} +2 -2
- package/dist/{index-DWBdcUrC.js.map → index-BO_sv6i6.js.map} +1 -1
- package/dist/{index-WM_gAbef.js → index-BRjxWbdM.js} +2 -2
- package/dist/{index-WM_gAbef.js.map → index-BRjxWbdM.js.map} +1 -1
- package/dist/{index-2n5ayfXS.mjs → index-Bddta2UP.mjs} +2 -2
- package/dist/{index-2n5ayfXS.mjs.map → index-Bddta2UP.mjs.map} +1 -1
- package/dist/{index-Bx5yzJCs.js → index-C-thIWzK.js} +2 -2
- package/dist/{index-Bx5yzJCs.js.map → index-C-thIWzK.js.map} +1 -1
- package/dist/{index-r3PjlYxW.mjs → index-CFCYS2gT.mjs} +2 -2
- package/dist/{index-r3PjlYxW.mjs.map → index-CFCYS2gT.mjs.map} +1 -1
- package/dist/{index-CRzHrDza.mjs → index-CMikxpy7.mjs} +2 -2
- package/dist/{index-CRzHrDza.mjs.map → index-CMikxpy7.mjs.map} +1 -1
- package/dist/{index-C_fC2HH1.mjs → index-CSsp_JRY.mjs} +2 -2
- package/dist/{index-C_fC2HH1.mjs.map → index-CSsp_JRY.mjs.map} +1 -1
- package/dist/{index-CGRvIy1X.mjs → index-CTwqSiM2.mjs} +200 -175
- package/dist/{index-CGRvIy1X.mjs.map → index-CTwqSiM2.mjs.map} +1 -1
- package/dist/{index-CqFGs7N0.mjs → index-CeET7QhT.mjs} +2 -2
- package/dist/{index-CqFGs7N0.mjs.map → index-CeET7QhT.mjs.map} +1 -1
- package/dist/{index-7JjxiS4X.js → index-CfagRhLw.js} +2 -2
- package/dist/{index-7JjxiS4X.js.map → index-CfagRhLw.js.map} +1 -1
- package/dist/{index-C3yrf5Uf.js → index-CghsD8_O.js} +2 -2
- package/dist/{index-C3yrf5Uf.js.map → index-CghsD8_O.js.map} +1 -1
- package/dist/{index-liuBXUVO.js → index-Cjmdd13D.js} +2 -2
- package/dist/{index-liuBXUVO.js.map → index-Cjmdd13D.js.map} +1 -1
- package/dist/{index-DK8MXDKp.mjs → index-CleUwFy0.mjs} +2 -2
- package/dist/{index-DK8MXDKp.mjs.map → index-CleUwFy0.mjs.map} +1 -1
- package/dist/{index-rBKEPn89.mjs → index-CqGcZKDR.mjs} +2 -2
- package/dist/{index-rBKEPn89.mjs.map → index-CqGcZKDR.mjs.map} +1 -1
- package/dist/{index-DCxMepua.mjs → index-Cu0wag4Z.mjs} +2 -2
- package/dist/{index-DCxMepua.mjs.map → index-Cu0wag4Z.mjs.map} +1 -1
- package/dist/{index-CMYrNQcZ.mjs → index-CwzuUaY2.mjs} +2 -2
- package/dist/{index-CMYrNQcZ.mjs.map → index-CwzuUaY2.mjs.map} +1 -1
- package/dist/{index-j6-D-2t6.js → index-Cy7UeEs2.js} +2 -2
- package/dist/{index-j6-D-2t6.js.map → index-Cy7UeEs2.js.map} +1 -1
- package/dist/{index-2WlqPMmY.mjs → index-CzlyYyw2.mjs} +2 -2
- package/dist/{index-2WlqPMmY.mjs.map → index-CzlyYyw2.mjs.map} +1 -1
- package/dist/{index-CVIip7Fm.js → index-DDq-J1qL.js} +12 -12
- package/dist/{index-CVIip7Fm.js.map → index-DDq-J1qL.js.map} +1 -1
- package/dist/{index-URvKMM6h.js → index-DFJPNBjW.js} +2 -2
- package/dist/{index-URvKMM6h.js.map → index-DFJPNBjW.js.map} +1 -1
- package/dist/{index-DOkgl7MF.js → index-DFS4WkZS.js} +2 -2
- package/dist/{index-DOkgl7MF.js.map → index-DFS4WkZS.js.map} +1 -1
- package/dist/{index-DeTvp8IW.js → index-DVT90-gh.js} +2 -2
- package/dist/{index-DeTvp8IW.js.map → index-DVT90-gh.js.map} +1 -1
- package/dist/{index-kCnY4rcB.mjs → index-Dfh1et2I.mjs} +2 -2
- package/dist/{index-kCnY4rcB.mjs.map → index-Dfh1et2I.mjs.map} +1 -1
- package/dist/{index-DwzKhKUW.js → index-Dk7TOLur.js} +2 -2
- package/dist/{index-DwzKhKUW.js.map → index-Dk7TOLur.js.map} +1 -1
- package/dist/{index-BYtEfgwv.mjs → index-DxwLsgG_.mjs} +2 -2
- package/dist/{index-BYtEfgwv.mjs.map → index-DxwLsgG_.mjs.map} +1 -1
- package/dist/{index-DvjrESFN.mjs → index-Eqn3nAH7.mjs} +2 -2
- package/dist/{index-DvjrESFN.mjs.map → index-Eqn3nAH7.mjs.map} +1 -1
- package/dist/{index-DCPntNJt.js → index-La0OvfLd.js} +2 -2
- package/dist/{index-DCPntNJt.js.map → index-La0OvfLd.js.map} +1 -1
- package/dist/{index-DPZxc9lq.mjs → index-QE5A1uWL.mjs} +2 -2
- package/dist/{index-DPZxc9lq.mjs.map → index-QE5A1uWL.mjs.map} +1 -1
- package/dist/{index-D05lnrsH.mjs → index-Uj8B3fRN.mjs} +2 -2
- package/dist/{index-D05lnrsH.mjs.map → index-Uj8B3fRN.mjs.map} +1 -1
- package/dist/{index-CMSTACpk.mjs → index-j6VhDj7c.mjs} +2 -2
- package/dist/{index-CMSTACpk.mjs.map → index-j6VhDj7c.mjs.map} +1 -1
- package/dist/{index-DbLejtmi.js → index-vDmG4XI1.js} +2 -2
- package/dist/{index-DbLejtmi.js.map → index-vDmG4XI1.js.map} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as re, jsxs as ut, Fragment as Zi } from "react/jsx-runtime";
|
|
2
2
|
import u, { useState as rn, useLayoutEffect as R$, useEffect as bn, forwardRef as N$, useRef as Or, useImperativeHandle as _h, useCallback as oN, Fragment as G0, createElement as I$ } from "react";
|
|
3
3
|
function D$(t, e, n) {
|
|
4
4
|
return (e = P$(e)) in t ? Object.defineProperty(t, e, {
|
|
@@ -230,7 +230,7 @@ function Q$() {
|
|
|
230
230
|
function oe(se) {
|
|
231
231
|
return I(se) === g;
|
|
232
232
|
}
|
|
233
|
-
function
|
|
233
|
+
function ie(se) {
|
|
234
234
|
return I(se) === f;
|
|
235
235
|
}
|
|
236
236
|
function K(se) {
|
|
@@ -245,7 +245,7 @@ function Q$() {
|
|
|
245
245
|
function be(se) {
|
|
246
246
|
return I(se) === h;
|
|
247
247
|
}
|
|
248
|
-
We.AsyncMode = A, We.ConcurrentMode = C, We.ContextConsumer = L, We.ContextProvider = $, We.Element = F, We.ForwardRef = D, We.Fragment = H, We.Lazy = V, We.Memo = z, We.Portal = Y, We.Profiler = q, We.StrictMode = me, We.Suspense = Oe, We.isAsyncMode = we, We.isConcurrentMode = T, We.isContextConsumer = W, We.isContextProvider = de, We.isElement = N, We.isForwardRef = pe, We.isFragment = ye, We.isLazy = oe, We.isMemo =
|
|
248
|
+
We.AsyncMode = A, We.ConcurrentMode = C, We.ContextConsumer = L, We.ContextProvider = $, We.Element = F, We.ForwardRef = D, We.Fragment = H, We.Lazy = V, We.Memo = z, We.Portal = Y, We.Profiler = q, We.StrictMode = me, We.Suspense = Oe, We.isAsyncMode = we, We.isConcurrentMode = T, We.isContextConsumer = W, We.isContextProvider = de, We.isElement = N, We.isForwardRef = pe, We.isFragment = ye, We.isLazy = oe, We.isMemo = ie, We.isPortal = K, We.isProfiler = Ne, We.isStrictMode = Ee, We.isSuspense = be, We.isValidElementType = x, We.typeOf = I;
|
|
249
249
|
}()), We;
|
|
250
250
|
}
|
|
251
251
|
var e3;
|
|
@@ -418,28 +418,28 @@ function Z$() {
|
|
|
418
418
|
function w(T) {
|
|
419
419
|
if (process.env.NODE_ENV !== "production")
|
|
420
420
|
var W = {}, de = 0;
|
|
421
|
-
function N(ye, oe,
|
|
422
|
-
if (K = K || p, Ee = Ee ||
|
|
421
|
+
function N(ye, oe, ie, K, Ne, Ee, be) {
|
|
422
|
+
if (K = K || p, Ee = Ee || ie, be !== n) {
|
|
423
423
|
if (l) {
|
|
424
424
|
var se = new Error(
|
|
425
425
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
426
426
|
);
|
|
427
427
|
throw se.name = "Invariant Violation", se;
|
|
428
428
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
429
|
-
var qe = K + ":" +
|
|
429
|
+
var qe = K + ":" + ie;
|
|
430
430
|
!W[qe] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
431
431
|
de < 3 && (a(
|
|
432
432
|
"You are manually calling a React.PropTypes validation function for the `" + Ee + "` prop on `" + K + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
433
433
|
), W[qe] = !0, de++);
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
|
-
return oe[
|
|
436
|
+
return oe[ie] == null ? ye ? oe[ie] === null ? new O("The " + Ne + " `" + Ee + "` is marked as required " + ("in `" + K + "`, but its value is `null`.")) : new O("The " + Ne + " `" + Ee + "` is marked as required in " + ("`" + K + "`, but its value is `undefined`.")) : null : T(oe, ie, K, Ne, Ee);
|
|
437
437
|
}
|
|
438
438
|
var pe = N.bind(null, !1);
|
|
439
439
|
return pe.isRequired = N.bind(null, !0), pe;
|
|
440
440
|
}
|
|
441
441
|
function y(T) {
|
|
442
|
-
function W(de, N, pe, ye, oe,
|
|
442
|
+
function W(de, N, pe, ye, oe, ie) {
|
|
443
443
|
var K = de[N], Ne = me(K);
|
|
444
444
|
if (Ne !== T) {
|
|
445
445
|
var Ee = Oe(K);
|
|
@@ -459,13 +459,13 @@ function Z$() {
|
|
|
459
459
|
function W(de, N, pe, ye, oe) {
|
|
460
460
|
if (typeof T != "function")
|
|
461
461
|
return new O("Property `" + oe + "` of component `" + pe + "` has invalid PropType notation inside arrayOf.");
|
|
462
|
-
var
|
|
463
|
-
if (!Array.isArray(
|
|
464
|
-
var K = me(
|
|
462
|
+
var ie = de[N];
|
|
463
|
+
if (!Array.isArray(ie)) {
|
|
464
|
+
var K = me(ie);
|
|
465
465
|
return new O("Invalid " + ye + " `" + oe + "` of type " + ("`" + K + "` supplied to `" + pe + "`, expected an array."));
|
|
466
466
|
}
|
|
467
|
-
for (var Ne = 0; Ne <
|
|
468
|
-
var Ee = T(
|
|
467
|
+
for (var Ne = 0; Ne < ie.length; Ne++) {
|
|
468
|
+
var Ee = T(ie, Ne, pe, ye, oe + "[" + Ne + "]", n);
|
|
469
469
|
if (Ee instanceof Error)
|
|
470
470
|
return Ee;
|
|
471
471
|
}
|
|
@@ -477,8 +477,8 @@ function Z$() {
|
|
|
477
477
|
function T(W, de, N, pe, ye) {
|
|
478
478
|
var oe = W[de];
|
|
479
479
|
if (!s(oe)) {
|
|
480
|
-
var
|
|
481
|
-
return new O("Invalid " + pe + " `" + ye + "` of type " + ("`" +
|
|
480
|
+
var ie = me(oe);
|
|
481
|
+
return new O("Invalid " + pe + " `" + ye + "` of type " + ("`" + ie + "` supplied to `" + N + "`, expected a single ReactElement."));
|
|
482
482
|
}
|
|
483
483
|
return null;
|
|
484
484
|
}
|
|
@@ -488,8 +488,8 @@ function Z$() {
|
|
|
488
488
|
function T(W, de, N, pe, ye) {
|
|
489
489
|
var oe = W[de];
|
|
490
490
|
if (!t.isValidElementType(oe)) {
|
|
491
|
-
var
|
|
492
|
-
return new O("Invalid " + pe + " `" + ye + "` of type " + ("`" +
|
|
491
|
+
var ie = me(oe);
|
|
492
|
+
return new O("Invalid " + pe + " `" + ye + "` of type " + ("`" + ie + "` supplied to `" + N + "`, expected a single ReactElement type."));
|
|
493
493
|
}
|
|
494
494
|
return null;
|
|
495
495
|
}
|
|
@@ -498,8 +498,8 @@ function Z$() {
|
|
|
498
498
|
function C(T) {
|
|
499
499
|
function W(de, N, pe, ye, oe) {
|
|
500
500
|
if (!(de[N] instanceof T)) {
|
|
501
|
-
var
|
|
502
|
-
return new O("Invalid " + ye + " `" + oe + "` of type " + ("`" + K + "` supplied to `" + pe + "`, expected ") + ("instance of `" +
|
|
501
|
+
var ie = T.name || p, K = we(de[N]);
|
|
502
|
+
return new O("Invalid " + ye + " `" + oe + "` of type " + ("`" + K + "` supplied to `" + pe + "`, expected ") + ("instance of `" + ie + "`."));
|
|
503
503
|
}
|
|
504
504
|
return null;
|
|
505
505
|
}
|
|
@@ -511,14 +511,14 @@ function Z$() {
|
|
|
511
511
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
512
512
|
) : a("Invalid argument supplied to oneOf, expected an array.")), o;
|
|
513
513
|
function W(de, N, pe, ye, oe) {
|
|
514
|
-
for (var
|
|
515
|
-
if (g(
|
|
514
|
+
for (var ie = de[N], K = 0; K < T.length; K++)
|
|
515
|
+
if (g(ie, T[K]))
|
|
516
516
|
return null;
|
|
517
517
|
var Ne = JSON.stringify(T, function(be, se) {
|
|
518
518
|
var qe = Oe(se);
|
|
519
519
|
return qe === "symbol" ? String(se) : se;
|
|
520
520
|
});
|
|
521
|
-
return new O("Invalid " + ye + " `" + oe + "` of value `" + String(
|
|
521
|
+
return new O("Invalid " + ye + " `" + oe + "` of value `" + String(ie) + "` " + ("supplied to `" + pe + "`, expected one of " + Ne + "."));
|
|
522
522
|
}
|
|
523
523
|
return w(W);
|
|
524
524
|
}
|
|
@@ -526,12 +526,12 @@ function Z$() {
|
|
|
526
526
|
function W(de, N, pe, ye, oe) {
|
|
527
527
|
if (typeof T != "function")
|
|
528
528
|
return new O("Property `" + oe + "` of component `" + pe + "` has invalid PropType notation inside objectOf.");
|
|
529
|
-
var
|
|
529
|
+
var ie = de[N], K = me(ie);
|
|
530
530
|
if (K !== "object")
|
|
531
531
|
return new O("Invalid " + ye + " `" + oe + "` of type " + ("`" + K + "` supplied to `" + pe + "`, expected an object."));
|
|
532
|
-
for (var Ne in
|
|
533
|
-
if (r(
|
|
534
|
-
var Ee = T(
|
|
532
|
+
for (var Ne in ie)
|
|
533
|
+
if (r(ie, Ne)) {
|
|
534
|
+
var Ee = T(ie, Ne, pe, ye, oe + "." + Ne, n);
|
|
535
535
|
if (Ee instanceof Error)
|
|
536
536
|
return Ee;
|
|
537
537
|
}
|
|
@@ -549,15 +549,15 @@ function Z$() {
|
|
|
549
549
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Ae(de) + " at index " + W + "."
|
|
550
550
|
), o;
|
|
551
551
|
}
|
|
552
|
-
function N(pe, ye, oe,
|
|
552
|
+
function N(pe, ye, oe, ie, K) {
|
|
553
553
|
for (var Ne = [], Ee = 0; Ee < T.length; Ee++) {
|
|
554
|
-
var be = T[Ee], se = be(pe, ye, oe,
|
|
554
|
+
var be = T[Ee], se = be(pe, ye, oe, ie, K, n);
|
|
555
555
|
if (se == null)
|
|
556
556
|
return null;
|
|
557
557
|
se.data && r(se.data, "expectedType") && Ne.push(se.data.expectedType);
|
|
558
558
|
}
|
|
559
559
|
var qe = Ne.length > 0 ? ", expected one of type [" + Ne.join(", ") + "]" : "";
|
|
560
|
-
return new O("Invalid " +
|
|
560
|
+
return new O("Invalid " + ie + " `" + K + "` supplied to " + ("`" + oe + "`" + qe + "."));
|
|
561
561
|
}
|
|
562
562
|
return w(N);
|
|
563
563
|
}
|
|
@@ -574,14 +574,14 @@ function Z$() {
|
|
|
574
574
|
}
|
|
575
575
|
function V(T) {
|
|
576
576
|
function W(de, N, pe, ye, oe) {
|
|
577
|
-
var
|
|
577
|
+
var ie = de[N], K = me(ie);
|
|
578
578
|
if (K !== "object")
|
|
579
579
|
return new O("Invalid " + ye + " `" + oe + "` of type `" + K + "` " + ("supplied to `" + pe + "`, expected `object`."));
|
|
580
580
|
for (var Ne in T) {
|
|
581
581
|
var Ee = T[Ne];
|
|
582
582
|
if (typeof Ee != "function")
|
|
583
583
|
return H(pe, ye, oe, Ne, Oe(Ee));
|
|
584
|
-
var be = Ee(
|
|
584
|
+
var be = Ee(ie, Ne, pe, ye, oe + "." + Ne, n);
|
|
585
585
|
if (be)
|
|
586
586
|
return be;
|
|
587
587
|
}
|
|
@@ -591,7 +591,7 @@ function Z$() {
|
|
|
591
591
|
}
|
|
592
592
|
function z(T) {
|
|
593
593
|
function W(de, N, pe, ye, oe) {
|
|
594
|
-
var
|
|
594
|
+
var ie = de[N], K = me(ie);
|
|
595
595
|
if (K !== "object")
|
|
596
596
|
return new O("Invalid " + ye + " `" + oe + "` of type `" + K + "` " + ("supplied to `" + pe + "`, expected `object`."));
|
|
597
597
|
var Ne = e({}, de[N], T);
|
|
@@ -604,7 +604,7 @@ function Z$() {
|
|
|
604
604
|
"Invalid " + ye + " `" + oe + "` key `" + Ee + "` supplied to `" + pe + "`.\nBad object: " + JSON.stringify(de[N], null, " ") + `
|
|
605
605
|
Valid keys: ` + JSON.stringify(Object.keys(T), null, " ")
|
|
606
606
|
);
|
|
607
|
-
var se = be(
|
|
607
|
+
var se = be(ie, Ee, pe, ye, oe + "." + Ee, n);
|
|
608
608
|
if (se)
|
|
609
609
|
return se;
|
|
610
610
|
}
|
|
@@ -11648,10 +11648,10 @@ const Mo = (t) => (e) => {
|
|
|
11648
11648
|
storage: mN(() => sessionStorage)
|
|
11649
11649
|
}
|
|
11650
11650
|
)
|
|
11651
|
-
), kx = ({ isOpen: t, onClose: e, title: n, children: r, footer: i }) => t ? /* @__PURE__ */
|
|
11652
|
-
/* @__PURE__ */
|
|
11653
|
-
/* @__PURE__ */
|
|
11654
|
-
i && /* @__PURE__ */
|
|
11651
|
+
), kx = ({ isOpen: t, onClose: e, title: n, children: r, footer: i }) => t ? /* @__PURE__ */ re("div", { className: "wiki-modal-overlay", onClick: e, children: /* @__PURE__ */ ut("div", { className: "wiki-modal", onClick: (a) => a.stopPropagation(), children: [
|
|
11652
|
+
/* @__PURE__ */ re("div", { className: "wiki-modal-header", children: /* @__PURE__ */ re("h2", { className: "wiki-modal-title", children: n }) }),
|
|
11653
|
+
/* @__PURE__ */ re("div", { className: "wiki-modal-body", children: r }),
|
|
11654
|
+
i && /* @__PURE__ */ re("div", { className: "wiki-modal-footer", children: i })
|
|
11655
11655
|
] }) }) : null, AX = ({
|
|
11656
11656
|
indexPage: t,
|
|
11657
11657
|
width: e = 256,
|
|
@@ -11673,31 +11673,31 @@ const Mo = (t) => (e) => {
|
|
|
11673
11673
|
return /* @__PURE__ */ ut(Zi, { children: [
|
|
11674
11674
|
/* @__PURE__ */ ut("div", { className: "wiki-sidebar", style: { width: `${e}px` }, children: [
|
|
11675
11675
|
/* @__PURE__ */ ut("div", { className: "wiki-sidebar-header", children: [
|
|
11676
|
-
/* @__PURE__ */
|
|
11677
|
-
!n && /* @__PURE__ */
|
|
11676
|
+
/* @__PURE__ */ re("span", { className: "wiki-sidebar-title", children: "Pages" }),
|
|
11677
|
+
!n && /* @__PURE__ */ re(
|
|
11678
11678
|
"button",
|
|
11679
11679
|
{
|
|
11680
11680
|
className: "wiki-btn-icon",
|
|
11681
11681
|
onClick: () => c(!0),
|
|
11682
11682
|
title: "Create new page",
|
|
11683
|
-
children: /* @__PURE__ */
|
|
11683
|
+
children: /* @__PURE__ */ re(uN, { size: 20 })
|
|
11684
11684
|
}
|
|
11685
11685
|
)
|
|
11686
11686
|
] }),
|
|
11687
|
-
/* @__PURE__ */
|
|
11687
|
+
/* @__PURE__ */ re("div", { className: "wiki-sidebar-list", children: I.map((A) => /* @__PURE__ */ ut(
|
|
11688
11688
|
"div",
|
|
11689
11689
|
{
|
|
11690
11690
|
className: `wiki-page-item ${o === A ? "active" : ""}`,
|
|
11691
11691
|
onClick: () => r(A),
|
|
11692
11692
|
children: [
|
|
11693
|
-
/* @__PURE__ */
|
|
11694
|
-
!n && A !== t && /* @__PURE__ */
|
|
11693
|
+
/* @__PURE__ */ re("span", { className: "wiki-page-name", children: w(A) }),
|
|
11694
|
+
!n && A !== t && /* @__PURE__ */ re(
|
|
11695
11695
|
"button",
|
|
11696
11696
|
{
|
|
11697
11697
|
className: "wiki-delete-btn",
|
|
11698
11698
|
onClick: (C) => S(A, C),
|
|
11699
11699
|
title: "Delete page",
|
|
11700
|
-
children: /* @__PURE__ */
|
|
11700
|
+
children: /* @__PURE__ */ re(hN, { size: 16 })
|
|
11701
11701
|
}
|
|
11702
11702
|
)
|
|
11703
11703
|
]
|
|
@@ -11705,7 +11705,7 @@ const Mo = (t) => (e) => {
|
|
|
11705
11705
|
A
|
|
11706
11706
|
)) })
|
|
11707
11707
|
] }),
|
|
11708
|
-
/* @__PURE__ */
|
|
11708
|
+
/* @__PURE__ */ re(
|
|
11709
11709
|
kx,
|
|
11710
11710
|
{
|
|
11711
11711
|
isOpen: l,
|
|
@@ -11714,7 +11714,7 @@ const Mo = (t) => (e) => {
|
|
|
11714
11714
|
},
|
|
11715
11715
|
title: "Create new page",
|
|
11716
11716
|
footer: /* @__PURE__ */ ut(Zi, { children: [
|
|
11717
|
-
/* @__PURE__ */
|
|
11717
|
+
/* @__PURE__ */ re(
|
|
11718
11718
|
"button",
|
|
11719
11719
|
{
|
|
11720
11720
|
className: "wiki-btn wiki-btn-secondary",
|
|
@@ -11724,7 +11724,7 @@ const Mo = (t) => (e) => {
|
|
|
11724
11724
|
children: "Cancel"
|
|
11725
11725
|
}
|
|
11726
11726
|
),
|
|
11727
|
-
/* @__PURE__ */
|
|
11727
|
+
/* @__PURE__ */ re(
|
|
11728
11728
|
"button",
|
|
11729
11729
|
{
|
|
11730
11730
|
className: "wiki-btn wiki-btn-primary",
|
|
@@ -11735,8 +11735,8 @@ const Mo = (t) => (e) => {
|
|
|
11735
11735
|
)
|
|
11736
11736
|
] }),
|
|
11737
11737
|
children: /* @__PURE__ */ ut("div", { children: [
|
|
11738
|
-
/* @__PURE__ */
|
|
11739
|
-
/* @__PURE__ */
|
|
11738
|
+
/* @__PURE__ */ re("label", { className: "wiki-label", children: "Page name" }),
|
|
11739
|
+
/* @__PURE__ */ re(
|
|
11740
11740
|
"input",
|
|
11741
11741
|
{
|
|
11742
11742
|
type: "text",
|
|
@@ -11762,7 +11762,7 @@ const Mo = (t) => (e) => {
|
|
|
11762
11762
|
},
|
|
11763
11763
|
title: "Delete page",
|
|
11764
11764
|
footer: /* @__PURE__ */ ut(Zi, { children: [
|
|
11765
|
-
/* @__PURE__ */
|
|
11765
|
+
/* @__PURE__ */ re(
|
|
11766
11766
|
"button",
|
|
11767
11767
|
{
|
|
11768
11768
|
className: "wiki-btn wiki-btn-secondary",
|
|
@@ -11772,7 +11772,7 @@ const Mo = (t) => (e) => {
|
|
|
11772
11772
|
children: "Cancel"
|
|
11773
11773
|
}
|
|
11774
11774
|
),
|
|
11775
|
-
/* @__PURE__ */
|
|
11775
|
+
/* @__PURE__ */ re(
|
|
11776
11776
|
"button",
|
|
11777
11777
|
{
|
|
11778
11778
|
className: "wiki-btn wiki-btn-primary",
|
|
@@ -11788,7 +11788,7 @@ const Mo = (t) => (e) => {
|
|
|
11788
11788
|
g && w(g),
|
|
11789
11789
|
'"?'
|
|
11790
11790
|
] }),
|
|
11791
|
-
/* @__PURE__ */
|
|
11791
|
+
/* @__PURE__ */ re("p", { style: { color: "var(--color-text-secondary)", fontSize: "14px", marginTop: "8px" }, children: "This action cannot be undone." })
|
|
11792
11792
|
]
|
|
11793
11793
|
}
|
|
11794
11794
|
)
|
|
@@ -15629,8 +15629,8 @@ function wq(t, e, n) {
|
|
|
15629
15629
|
])
|
|
15630
15630
|
) : W(Y);
|
|
15631
15631
|
function W(oe) {
|
|
15632
|
-
return
|
|
15633
|
-
function
|
|
15632
|
+
return ie;
|
|
15633
|
+
function ie(K) {
|
|
15634
15634
|
const Ne = K !== null && oe[K], Ee = K !== null && oe.null, be = [
|
|
15635
15635
|
// To do: add more extension tests.
|
|
15636
15636
|
/* c8 ignore next 2 */
|
|
@@ -15644,8 +15644,8 @@ function wq(t, e, n) {
|
|
|
15644
15644
|
return Oe = oe, Ae = 0, oe.length === 0 ? me : N(oe[Ae]);
|
|
15645
15645
|
}
|
|
15646
15646
|
function N(oe) {
|
|
15647
|
-
return
|
|
15648
|
-
function
|
|
15647
|
+
return ie;
|
|
15648
|
+
function ie(K) {
|
|
15649
15649
|
return T = F(), we = oe, oe.partial || (c.currentConstruct = oe), oe.name && c.parser.constructs.disable.null.includes(oe.name) ? ye() : oe.tokenize.call(
|
|
15650
15650
|
// If we do have fields, create an object w/ `context` as its
|
|
15651
15651
|
// prototype.
|
|
@@ -15874,7 +15874,7 @@ function Rq(t) {
|
|
|
15874
15874
|
characterReferenceMarkerHexadecimal: ye,
|
|
15875
15875
|
characterReferenceMarkerNumeric: ye,
|
|
15876
15876
|
characterReferenceValue: oe,
|
|
15877
|
-
characterReference:
|
|
15877
|
+
characterReference: ie,
|
|
15878
15878
|
codeFenced: l(w),
|
|
15879
15879
|
codeFencedFence: O,
|
|
15880
15880
|
codeFencedFenceInfo: f,
|
|
@@ -16207,7 +16207,7 @@ function Rq(t) {
|
|
|
16207
16207
|
const Xe = this.stack[this.stack.length - 1];
|
|
16208
16208
|
Xe.value += Pe;
|
|
16209
16209
|
}
|
|
16210
|
-
function
|
|
16210
|
+
function ie(Z) {
|
|
16211
16211
|
const ue = this.stack.pop();
|
|
16212
16212
|
ue.position.end = Nr(Z.end);
|
|
16213
16213
|
}
|
|
@@ -18507,7 +18507,7 @@ function YK(t, e) {
|
|
|
18507
18507
|
// but not according to the types in hast-util-to-jsx-runtime
|
|
18508
18508
|
components: i,
|
|
18509
18509
|
ignoreInvalidStyle: !0,
|
|
18510
|
-
jsx:
|
|
18510
|
+
jsx: re,
|
|
18511
18511
|
jsxs: ut,
|
|
18512
18512
|
passKeys: !0,
|
|
18513
18513
|
passNode: !0
|
|
@@ -20475,7 +20475,32 @@ function AI(t) {
|
|
|
20475
20475
|
), n = t || ite, r = e.data(), i = r.micromarkExtensions || (r.micromarkExtensions = []), a = r.fromMarkdownExtensions || (r.fromMarkdownExtensions = []), o = r.toMarkdownExtensions || (r.toMarkdownExtensions = []);
|
|
20476
20476
|
i.push(rte(n)), a.push(Tee()), o.push(Aee(n));
|
|
20477
20477
|
}
|
|
20478
|
-
const ate = ({ content: t, onDoubleClick: e
|
|
20478
|
+
const ate = ({ content: t, onDoubleClick: e, onNavigate: n }) => {
|
|
20479
|
+
const r = (a) => !a || a.startsWith("http://") || a.startsWith("https://") || a.startsWith("mailto:") ? !1 : a.endsWith(".md") || !a.includes("/"), i = (a) => {
|
|
20480
|
+
let o = a.replace(/^\.\//, "");
|
|
20481
|
+
return o.endsWith(".md") || (o = `${o}.md`), o;
|
|
20482
|
+
};
|
|
20483
|
+
return /* @__PURE__ */ re("div", { className: "wiki-markdown", onDoubleClick: e, children: /* @__PURE__ */ re(
|
|
20484
|
+
GK,
|
|
20485
|
+
{
|
|
20486
|
+
remarkPlugins: [AI],
|
|
20487
|
+
components: {
|
|
20488
|
+
a: ({ href: a, children: o, ...s }) => a && r(a) && n ? /* @__PURE__ */ re(
|
|
20489
|
+
"a",
|
|
20490
|
+
{
|
|
20491
|
+
...s,
|
|
20492
|
+
href: "#",
|
|
20493
|
+
onClick: (l) => {
|
|
20494
|
+
l.preventDefault(), n(i(a));
|
|
20495
|
+
},
|
|
20496
|
+
children: o
|
|
20497
|
+
}
|
|
20498
|
+
) : /* @__PURE__ */ re("a", { ...s, href: a, target: "_blank", rel: "noopener noreferrer", children: o })
|
|
20499
|
+
},
|
|
20500
|
+
children: t
|
|
20501
|
+
}
|
|
20502
|
+
) });
|
|
20503
|
+
};
|
|
20479
20504
|
function wt() {
|
|
20480
20505
|
return wt = Object.assign ? Object.assign.bind() : function(t) {
|
|
20481
20506
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -31657,8 +31682,8 @@ function hie(t) {
|
|
|
31657
31682
|
for (; s.pos > W; )
|
|
31658
31683
|
pe >= 0 && s.id == pe && s.size >= 0 ? (s.end <= oe - i && (g(de, N, V, ye, s.end, oe, pe, q, me), ye = de.length, oe = s.end), s.next()) : D > 2500 ? p(V, W, de, N) : h(V, W, de, N, pe, D + 1);
|
|
31659
31684
|
if (pe >= 0 && ye > 0 && ye < de.length && g(de, N, V, ye, V, oe, pe, q, me), de.reverse(), N.reverse(), pe > -1 && ye > 0) {
|
|
31660
|
-
let
|
|
31661
|
-
Ae = d1(Oe, de, N, 0, de.length, 0, z - V,
|
|
31685
|
+
let ie = f(Oe, me);
|
|
31686
|
+
Ae = d1(Oe, de, N, 0, de.length, 0, z - V, ie, ie);
|
|
31662
31687
|
} else
|
|
31663
31688
|
Ae = O(Oe, de, N, z - V, q - z, me);
|
|
31664
31689
|
}
|
|
@@ -41514,7 +41539,7 @@ function G(t) {
|
|
|
41514
41539
|
return new ca(g1.define(t));
|
|
41515
41540
|
}
|
|
41516
41541
|
function Ir(t) {
|
|
41517
|
-
return import("./index-
|
|
41542
|
+
return import("./index-DxwLsgG_.mjs").then((e) => e.sql({ dialect: e[t] }));
|
|
41518
41543
|
}
|
|
41519
41544
|
const Oue = [
|
|
41520
41545
|
// New-style language modes
|
|
@@ -41522,7 +41547,7 @@ const Oue = [
|
|
|
41522
41547
|
name: "C",
|
|
41523
41548
|
extensions: ["c", "h", "ino"],
|
|
41524
41549
|
load() {
|
|
41525
|
-
return import("./index-
|
|
41550
|
+
return import("./index-Eqn3nAH7.mjs").then((t) => t.cpp());
|
|
41526
41551
|
}
|
|
41527
41552
|
}),
|
|
41528
41553
|
/* @__PURE__ */ B.of({
|
|
@@ -41530,7 +41555,7 @@ const Oue = [
|
|
|
41530
41555
|
alias: ["cpp"],
|
|
41531
41556
|
extensions: ["cpp", "c++", "cc", "cxx", "hpp", "h++", "hh", "hxx"],
|
|
41532
41557
|
load() {
|
|
41533
|
-
return import("./index-
|
|
41558
|
+
return import("./index-Eqn3nAH7.mjs").then((t) => t.cpp());
|
|
41534
41559
|
}
|
|
41535
41560
|
}),
|
|
41536
41561
|
/* @__PURE__ */ B.of({
|
|
@@ -41552,7 +41577,7 @@ const Oue = [
|
|
|
41552
41577
|
name: "Go",
|
|
41553
41578
|
extensions: ["go"],
|
|
41554
41579
|
load() {
|
|
41555
|
-
return import("./index-
|
|
41580
|
+
return import("./index-CzlyYyw2.mjs").then((t) => t.go());
|
|
41556
41581
|
}
|
|
41557
41582
|
}),
|
|
41558
41583
|
/* @__PURE__ */ B.of({
|
|
@@ -41567,7 +41592,7 @@ const Oue = [
|
|
|
41567
41592
|
name: "Java",
|
|
41568
41593
|
extensions: ["java"],
|
|
41569
41594
|
load() {
|
|
41570
|
-
return import("./index-
|
|
41595
|
+
return import("./index-Bddta2UP.mjs").then((t) => t.java());
|
|
41571
41596
|
}
|
|
41572
41597
|
}),
|
|
41573
41598
|
/* @__PURE__ */ B.of({
|
|
@@ -41583,7 +41608,7 @@ const Oue = [
|
|
|
41583
41608
|
alias: ["json5"],
|
|
41584
41609
|
extensions: ["json", "map"],
|
|
41585
41610
|
load() {
|
|
41586
|
-
return import("./index-
|
|
41611
|
+
return import("./index-CSsp_JRY.mjs").then((t) => t.json());
|
|
41587
41612
|
}
|
|
41588
41613
|
}),
|
|
41589
41614
|
/* @__PURE__ */ B.of({
|
|
@@ -41597,14 +41622,14 @@ const Oue = [
|
|
|
41597
41622
|
name: "LESS",
|
|
41598
41623
|
extensions: ["less"],
|
|
41599
41624
|
load() {
|
|
41600
|
-
return import("./index-
|
|
41625
|
+
return import("./index-CleUwFy0.mjs").then((t) => t.less());
|
|
41601
41626
|
}
|
|
41602
41627
|
}),
|
|
41603
41628
|
/* @__PURE__ */ B.of({
|
|
41604
41629
|
name: "Liquid",
|
|
41605
41630
|
extensions: ["liquid"],
|
|
41606
41631
|
load() {
|
|
41607
|
-
return import("./index-
|
|
41632
|
+
return import("./index-CqGcZKDR.mjs").then((t) => t.liquid());
|
|
41608
41633
|
}
|
|
41609
41634
|
}),
|
|
41610
41635
|
/* @__PURE__ */ B.of({
|
|
@@ -41636,7 +41661,7 @@ const Oue = [
|
|
|
41636
41661
|
name: "PHP",
|
|
41637
41662
|
extensions: ["php", "php3", "php4", "php5", "php7", "phtml"],
|
|
41638
41663
|
load() {
|
|
41639
|
-
return import("./index-
|
|
41664
|
+
return import("./index-CFCYS2gT.mjs").then((t) => t.php());
|
|
41640
41665
|
}
|
|
41641
41666
|
}),
|
|
41642
41667
|
/* @__PURE__ */ B.of({
|
|
@@ -41657,28 +41682,28 @@ const Oue = [
|
|
|
41657
41682
|
extensions: ["BUILD", "bzl", "py", "pyw"],
|
|
41658
41683
|
filename: /^(BUCK|BUILD)$/,
|
|
41659
41684
|
load() {
|
|
41660
|
-
return import("./index-
|
|
41685
|
+
return import("./index-Uj8B3fRN.mjs").then((t) => t.python());
|
|
41661
41686
|
}
|
|
41662
41687
|
}),
|
|
41663
41688
|
/* @__PURE__ */ B.of({
|
|
41664
41689
|
name: "Rust",
|
|
41665
41690
|
extensions: ["rs"],
|
|
41666
41691
|
load() {
|
|
41667
|
-
return import("./index-
|
|
41692
|
+
return import("./index-QE5A1uWL.mjs").then((t) => t.rust());
|
|
41668
41693
|
}
|
|
41669
41694
|
}),
|
|
41670
41695
|
/* @__PURE__ */ B.of({
|
|
41671
41696
|
name: "Sass",
|
|
41672
41697
|
extensions: ["sass"],
|
|
41673
41698
|
load() {
|
|
41674
|
-
return import("./index-
|
|
41699
|
+
return import("./index-CwzuUaY2.mjs").then((t) => t.sass({ indented: !0 }));
|
|
41675
41700
|
}
|
|
41676
41701
|
}),
|
|
41677
41702
|
/* @__PURE__ */ B.of({
|
|
41678
41703
|
name: "SCSS",
|
|
41679
41704
|
extensions: ["scss"],
|
|
41680
41705
|
load() {
|
|
41681
|
-
return import("./index-
|
|
41706
|
+
return import("./index-CwzuUaY2.mjs").then((t) => t.sass());
|
|
41682
41707
|
}
|
|
41683
41708
|
}),
|
|
41684
41709
|
/* @__PURE__ */ B.of({
|
|
@@ -41713,7 +41738,7 @@ const Oue = [
|
|
|
41713
41738
|
name: "WebAssembly",
|
|
41714
41739
|
extensions: ["wat", "wast"],
|
|
41715
41740
|
load() {
|
|
41716
|
-
return import("./index-
|
|
41741
|
+
return import("./index-CMikxpy7.mjs").then((t) => t.wast());
|
|
41717
41742
|
}
|
|
41718
41743
|
}),
|
|
41719
41744
|
/* @__PURE__ */ B.of({
|
|
@@ -41721,7 +41746,7 @@ const Oue = [
|
|
|
41721
41746
|
alias: ["rss", "wsdl", "xsd"],
|
|
41722
41747
|
extensions: ["xml", "xsl", "xsd", "svg"],
|
|
41723
41748
|
load() {
|
|
41724
|
-
return import("./index-
|
|
41749
|
+
return import("./index-Cu0wag4Z.mjs").then((t) => t.xml());
|
|
41725
41750
|
}
|
|
41726
41751
|
}),
|
|
41727
41752
|
/* @__PURE__ */ B.of({
|
|
@@ -41729,7 +41754,7 @@ const Oue = [
|
|
|
41729
41754
|
alias: ["yml"],
|
|
41730
41755
|
extensions: ["yaml", "yml"],
|
|
41731
41756
|
load() {
|
|
41732
|
-
return import("./index-
|
|
41757
|
+
return import("./index-CeET7QhT.mjs").then((t) => t.yaml());
|
|
41733
41758
|
}
|
|
41734
41759
|
}),
|
|
41735
41760
|
// Legacy modes ported from CodeMirror 5
|
|
@@ -42525,13 +42550,13 @@ const Oue = [
|
|
|
42525
42550
|
name: "Vue",
|
|
42526
42551
|
extensions: ["vue"],
|
|
42527
42552
|
load() {
|
|
42528
|
-
return import("./index-
|
|
42553
|
+
return import("./index-Dfh1et2I.mjs").then((t) => t.vue());
|
|
42529
42554
|
}
|
|
42530
42555
|
}),
|
|
42531
42556
|
/* @__PURE__ */ B.of({
|
|
42532
42557
|
name: "Angular Template",
|
|
42533
42558
|
load() {
|
|
42534
|
-
return import("./index-
|
|
42559
|
+
return import("./index-j6VhDj7c.mjs").then((t) => t.angular());
|
|
42535
42560
|
}
|
|
42536
42561
|
})
|
|
42537
42562
|
];
|
|
@@ -45024,7 +45049,7 @@ var V0e = ["className", "value", "selection", "extensions", "onChange", "onStati
|
|
|
45024
45049
|
if (typeof r != "string")
|
|
45025
45050
|
throw new Error("value must be typeof string but got " + typeof r);
|
|
45026
45051
|
var me = typeof h == "string" ? "cm-theme-" + h : "cm-theme";
|
|
45027
|
-
return /* @__PURE__ */
|
|
45052
|
+
return /* @__PURE__ */ re("div", wt({
|
|
45028
45053
|
ref: q,
|
|
45029
45054
|
className: "" + me + (n ? " " + n : "")
|
|
45030
45055
|
}, F));
|
|
@@ -67638,17 +67663,17 @@ function Ude(t) {
|
|
|
67638
67663
|
!s.pseudoElements.notation || s.pseudoElements.notation === "doubleColon" || s.pseudoElements.notation === "both",
|
|
67639
67664
|
s.pseudoElements.definitions ? SR(Array.isArray(s.pseudoElements.definitions) ? { NoArgument: s.pseudoElements.definitions } : s.pseudoElements.definitions) : yl,
|
|
67640
67665
|
s.pseudoElements.unknown === "accept"
|
|
67641
|
-
] : [!1, !1, !1, yl, !1], we = Ae[0], T = Ae[1], W = Ae[2], de = Ae[3], N = Ae[4], pe = "", ye = pe.length, oe = 0,
|
|
67642
|
-
return
|
|
67666
|
+
] : [!1, !1, !1, yl, !1], we = Ae[0], T = Ae[1], W = Ae[2], de = Ae[3], N = Ae[4], pe = "", ye = pe.length, oe = 0, ie = "", K = function(J) {
|
|
67667
|
+
return ie === J;
|
|
67643
67668
|
}, Ne = function() {
|
|
67644
|
-
return K("*") || ro(
|
|
67669
|
+
return K("*") || ro(ie);
|
|
67645
67670
|
}, Ee = function(J) {
|
|
67646
|
-
oe = J,
|
|
67671
|
+
oe = J, ie = pe.charAt(oe);
|
|
67647
67672
|
}, be = function() {
|
|
67648
|
-
oe++,
|
|
67673
|
+
oe++, ie = pe.charAt(oe);
|
|
67649
67674
|
}, se = function() {
|
|
67650
|
-
var J =
|
|
67651
|
-
return oe++,
|
|
67675
|
+
var J = ie;
|
|
67676
|
+
return oe++, ie = pe.charAt(oe), J;
|
|
67652
67677
|
};
|
|
67653
67678
|
function qe(J) {
|
|
67654
67679
|
var ge = Math.min(ye - 1, oe), Fe = new Error("".concat(B0).concat(J, " Pos: ").concat(ge, "."));
|
|
@@ -67663,12 +67688,12 @@ function Ude(t) {
|
|
|
67663
67688
|
}, vn = function() {
|
|
67664
67689
|
return oe >= ye;
|
|
67665
67690
|
}, _r = function(J) {
|
|
67666
|
-
Te(oe < ye, 'Expected "'.concat(J, '" but end of input reached.')), Te(
|
|
67691
|
+
Te(oe < ye, 'Expected "'.concat(J, '" but end of input reached.')), Te(ie === J, 'Expected "'.concat(J, '" but "').concat(ie, '" found.')), oe++, ie = pe.charAt(oe);
|
|
67667
67692
|
};
|
|
67668
67693
|
function Ua(J) {
|
|
67669
67694
|
var ge = za(J, oe);
|
|
67670
67695
|
if (ge)
|
|
67671
|
-
return oe += ge.length,
|
|
67696
|
+
return oe += ge.length, ie = pe.charAt(oe), ge;
|
|
67672
67697
|
}
|
|
67673
67698
|
function za(J, ge) {
|
|
67674
67699
|
var Fe = pe.charAt(ge), _e = J[Fe];
|
|
@@ -67681,7 +67706,7 @@ function Ude(t) {
|
|
|
67681
67706
|
}
|
|
67682
67707
|
}
|
|
67683
67708
|
function Kr() {
|
|
67684
|
-
for (var J = se(), ge = 1; io(
|
|
67709
|
+
for (var J = se(), ge = 1; io(ie) && ge < Qde; )
|
|
67685
67710
|
J += se(), ge++;
|
|
67686
67711
|
return yc(), String.fromCharCode(parseInt(J, 16));
|
|
67687
67712
|
}
|
|
@@ -67690,22 +67715,22 @@ function Ude(t) {
|
|
|
67690
67715
|
for (_r(J); oe < ye; ) {
|
|
67691
67716
|
if (K(J))
|
|
67692
67717
|
return be(), ge;
|
|
67693
|
-
K("\\") ? (be(), K(J) ? (ge += J, be()) :
|
|
67694
|
-
` ||
|
|
67695
|
-
`) && be()) : io(
|
|
67718
|
+
K("\\") ? (be(), K(J) ? (ge += J, be()) : ie === `
|
|
67719
|
+
` || ie === "\f" ? be() : ie === "\r" ? (be(), K(`
|
|
67720
|
+
`) && be()) : io(ie) ? ge += Kr() : (ge += ie, be())) : (ge += ie, be());
|
|
67696
67721
|
}
|
|
67697
67722
|
return ge;
|
|
67698
67723
|
}
|
|
67699
67724
|
function Rt() {
|
|
67700
|
-
if (!ro(
|
|
67725
|
+
if (!ro(ie))
|
|
67701
67726
|
return null;
|
|
67702
67727
|
for (var J = ""; K("-"); )
|
|
67703
|
-
J +=
|
|
67704
|
-
for (J === "-" && !xR(
|
|
67705
|
-
if (xR(
|
|
67728
|
+
J += ie, be();
|
|
67729
|
+
for (J === "-" && !xR(ie) && !K("\\") && qe("Identifiers cannot consist of a single hyphen."), a && J.length >= 2 && qe("Identifiers cannot start with two hyphens with strict mode on."), $0[ie] && qe("Identifiers cannot start with hyphens followed by digits."); oe < ye; )
|
|
67730
|
+
if (xR(ie))
|
|
67706
67731
|
J += se();
|
|
67707
67732
|
else if (K("\\"))
|
|
67708
|
-
be(), Hn(), io(
|
|
67733
|
+
be(), Hn(), io(ie) ? J += Kr() : J += se();
|
|
67709
67734
|
else
|
|
67710
67735
|
break;
|
|
67711
67736
|
return J;
|
|
@@ -67715,22 +67740,22 @@ function Ude(t) {
|
|
|
67715
67740
|
if (K("\\")) {
|
|
67716
67741
|
if (be(), vn() && !a)
|
|
67717
67742
|
return (J + "\\").trim();
|
|
67718
|
-
Hn(), io(
|
|
67743
|
+
Hn(), io(ie) ? J += Kr() : J += se();
|
|
67719
67744
|
} else
|
|
67720
67745
|
J += se();
|
|
67721
67746
|
return J.trim();
|
|
67722
67747
|
}
|
|
67723
67748
|
function yc() {
|
|
67724
|
-
if (
|
|
67749
|
+
if (ie === " " || ie === " " || ie === "\f" || ie === `
|
|
67725
67750
|
`) {
|
|
67726
67751
|
be();
|
|
67727
67752
|
return;
|
|
67728
67753
|
}
|
|
67729
|
-
|
|
67754
|
+
ie === "\r" && be(), ie === `
|
|
67730
67755
|
` && be();
|
|
67731
67756
|
}
|
|
67732
67757
|
function mt() {
|
|
67733
|
-
for (; Vde[
|
|
67758
|
+
for (; Vde[ie]; )
|
|
67734
67759
|
be();
|
|
67735
67760
|
}
|
|
67736
67761
|
function Z(J) {
|
|
@@ -67768,7 +67793,7 @@ function Ude(t) {
|
|
|
67768
67793
|
name: _e
|
|
67769
67794
|
}, K("|")) {
|
|
67770
67795
|
var qt = oe;
|
|
67771
|
-
if (be(), ro(
|
|
67796
|
+
if (be(), ro(ie)) {
|
|
67772
67797
|
Te(I, "Namespaces are not enabled.");
|
|
67773
67798
|
var kr = Rt();
|
|
67774
67799
|
Te(kr, "Expected attribute name."), J = {
|
|
@@ -67785,10 +67810,10 @@ function Ude(t) {
|
|
|
67785
67810
|
if (K("]"))
|
|
67786
67811
|
be();
|
|
67787
67812
|
else {
|
|
67788
|
-
if (J.operator = Ua(D), Te(J.operator, "Expected a valid attribute selector operator."), mt(), Hn(), Fde[
|
|
67813
|
+
if (J.operator = Ua(D), Te(J.operator, "Expected a valid attribute selector operator."), mt(), Hn(), Fde[ie])
|
|
67789
67814
|
J.value = {
|
|
67790
67815
|
type: "String",
|
|
67791
|
-
value: Ec(
|
|
67816
|
+
value: Ec(ie)
|
|
67792
67817
|
};
|
|
67793
67818
|
else if (C && K("$")) {
|
|
67794
67819
|
be();
|
|
@@ -67816,12 +67841,12 @@ function Ude(t) {
|
|
|
67816
67841
|
return J;
|
|
67817
67842
|
}
|
|
67818
67843
|
function Ce() {
|
|
67819
|
-
for (var J = ""; $0[
|
|
67844
|
+
for (var J = ""; $0[ie]; )
|
|
67820
67845
|
J += se();
|
|
67821
67846
|
return Te(J !== "", "Formula parse error."), parseInt(J);
|
|
67822
67847
|
}
|
|
67823
67848
|
var Pe = function() {
|
|
67824
|
-
return K("-") || K("+") || $0[
|
|
67849
|
+
return K("-") || K("+") || $0[ie];
|
|
67825
67850
|
};
|
|
67826
67851
|
function Xe() {
|
|
67827
67852
|
if (K("e") || K("o")) {
|
|
@@ -67836,7 +67861,7 @@ function Ude(t) {
|
|
|
67836
67861
|
return [0, ge * Fe];
|
|
67837
67862
|
ge === null && (ge = 1), ge *= Fe;
|
|
67838
67863
|
var _e;
|
|
67839
|
-
if (K("\\") ? (be(), io(
|
|
67864
|
+
if (K("\\") ? (be(), io(ie) ? _e = Kr() : _e = se()) : _e = se(), Te(_e === "n", 'Formula parse error: expected "n".'), mt(), K("+") || K("-")) {
|
|
67840
67865
|
var qt = K("+") ? 1 : -1;
|
|
67841
67866
|
return be(), mt(), [ge, qt * Ce()];
|
|
67842
67867
|
} else
|
|
@@ -67886,7 +67911,7 @@ function Ude(t) {
|
|
|
67886
67911
|
function ln() {
|
|
67887
67912
|
if (K("*"))
|
|
67888
67913
|
return Te(y, "Wildcard tag name is not enabled."), be(), { type: "WildcardTag" };
|
|
67889
|
-
if (ro(
|
|
67914
|
+
if (ro(ie)) {
|
|
67890
67915
|
Te(w, "Tag names are not enabled.");
|
|
67891
67916
|
var J = Rt();
|
|
67892
67917
|
return Te(J, "Expected tag name."), {
|
|
@@ -67908,7 +67933,7 @@ function Ude(t) {
|
|
|
67908
67933
|
Te(I, "Namespaces are not enabled."), be();
|
|
67909
67934
|
var ge = ln();
|
|
67910
67935
|
return ge.namespace = { type: "NoNamespace" }, ge;
|
|
67911
|
-
} else if (ro(
|
|
67936
|
+
} else if (ro(ie)) {
|
|
67912
67937
|
var Fe = Rt();
|
|
67913
67938
|
if (Te(Fe, "Expected tag name."), !K("|"))
|
|
67914
67939
|
return Te(w, "Tag names are not enabled."), {
|
|
@@ -67986,7 +68011,7 @@ function Ude(t) {
|
|
|
67986
68011
|
} else
|
|
67987
68012
|
break;
|
|
67988
68013
|
if (_e.items.length === 0)
|
|
67989
|
-
return vn() ? qe("Expected rule but end of input reached.") : qe('Expected rule but "'.concat(
|
|
68014
|
+
return vn() ? qe("Expected rule but end of input reached.") : qe('Expected rule but "'.concat(ie, '" found.'));
|
|
67990
68015
|
if (mt(), !vn() && !K(",") && !K(")")) {
|
|
67991
68016
|
var qt = Ua(L);
|
|
67992
68017
|
mt(), _e.nestedRule = Wn(), _e.nestedRule.combinator = qt;
|
|
@@ -67996,7 +68021,7 @@ function Ude(t) {
|
|
|
67996
68021
|
return function(J) {
|
|
67997
68022
|
if (typeof J != "string")
|
|
67998
68023
|
throw new Error("".concat(B0, "Expected string input."));
|
|
67999
|
-
return pe = J, ye = pe.length, oe = 0,
|
|
68024
|
+
return pe = J, ye = pe.length, oe = 0, ie = pe.charAt(0), Z();
|
|
68000
68025
|
};
|
|
68001
68026
|
}
|
|
68002
68027
|
const zde = Ude({ syntax: "selectors-4" });
|
|
@@ -76075,7 +76100,7 @@ function O2e(t) {
|
|
|
76075
76100
|
// but not according to the types in hast-util-to-jsx-runtime
|
|
76076
76101
|
components: a,
|
|
76077
76102
|
ignoreInvalidStyle: !0,
|
|
76078
|
-
jsx:
|
|
76103
|
+
jsx: re,
|
|
76079
76104
|
jsxs: ut,
|
|
76080
76105
|
passKeys: !0,
|
|
76081
76106
|
passNode: !0
|
|
@@ -76250,14 +76275,14 @@ const k2e = /* @__PURE__ */ u.forwardRef((t, e) => {
|
|
|
76250
76275
|
};
|
|
76251
76276
|
s || y.push(y$);
|
|
76252
76277
|
var x = [y2e, ...g.remarkPlugins || [], AI], I = wt({}, p, h);
|
|
76253
|
-
return /* @__PURE__ */
|
|
76278
|
+
return /* @__PURE__ */ re("div", wt({
|
|
76254
76279
|
ref: O,
|
|
76255
76280
|
onScroll: l,
|
|
76256
76281
|
onMouseOver: c
|
|
76257
76282
|
}, I, {
|
|
76258
76283
|
className: w,
|
|
76259
76284
|
style: a,
|
|
76260
|
-
children: /* @__PURE__ */
|
|
76285
|
+
children: /* @__PURE__ */ re(O2e, wt({}, S, g, {
|
|
76261
76286
|
skipHtml: !s,
|
|
76262
76287
|
urlTransform: f || _2e,
|
|
76263
76288
|
rehypePlugins: d ? d("rehype", y) : y,
|
|
@@ -76591,7 +76616,7 @@ const x$ = /* @__PURE__ */ u.forwardRef((t, e) => {
|
|
|
76591
76616
|
}], ...t.rehypePlugins || [], [Cde, {
|
|
76592
76617
|
ignoreMissing: !0
|
|
76593
76618
|
}]];
|
|
76594
|
-
return /* @__PURE__ */
|
|
76619
|
+
return /* @__PURE__ */ re(k2e, wt({}, t, {
|
|
76595
76620
|
rehypePlugins: r,
|
|
76596
76621
|
ref: e
|
|
76597
76622
|
}));
|
|
@@ -76602,11 +76627,11 @@ var X2e = {
|
|
|
76602
76627
|
button: {
|
|
76603
76628
|
"aria-label": "Add bold text"
|
|
76604
76629
|
},
|
|
76605
|
-
icon: /* @__PURE__ */
|
|
76630
|
+
icon: /* @__PURE__ */ re("svg", {
|
|
76606
76631
|
width: "13",
|
|
76607
76632
|
height: "13",
|
|
76608
76633
|
viewBox: "0 0 384 512",
|
|
76609
|
-
children: /* @__PURE__ */
|
|
76634
|
+
children: /* @__PURE__ */ re("path", {
|
|
76610
76635
|
fill: "currentColor",
|
|
76611
76636
|
d: "M304.793 243.891c33.639-18.537 53.657-54.16 53.657-95.693 0-48.236-26.25-87.626-68.626-104.179C265.138 34.01 240.849 32 209.661 32H24c-8.837 0-16 7.163-16 16v33.049c0 8.837 7.163 16 16 16h33.113v318.53H24c-8.837 0-16 7.163-16 16V464c0 8.837 7.163 16 16 16h195.69c24.203 0 44.834-1.289 66.866-7.584C337.52 457.193 376 410.647 376 350.014c0-52.168-26.573-91.684-71.207-106.123zM142.217 100.809h67.444c16.294 0 27.536 2.019 37.525 6.717 15.828 8.479 24.906 26.502 24.906 49.446 0 35.029-20.32 56.79-53.029 56.79h-76.846V100.809zm112.642 305.475c-10.14 4.056-22.677 4.907-31.409 4.907h-81.233V281.943h84.367c39.645 0 63.057 25.38 63.057 63.057.001 28.425-13.66 52.483-34.782 61.284z"
|
|
76612
76637
|
})
|
|
@@ -76638,13 +76663,13 @@ var X2e = {
|
|
|
76638
76663
|
fill: "none",
|
|
76639
76664
|
height: "15",
|
|
76640
76665
|
width: "15",
|
|
76641
|
-
children: [/* @__PURE__ */
|
|
76666
|
+
children: [/* @__PURE__ */ re("path", {
|
|
76642
76667
|
d: "M16 13 4 25.432 16 37m16-24 12 12.432L32 37",
|
|
76643
76668
|
stroke: "currentColor",
|
|
76644
76669
|
strokeWidth: "5",
|
|
76645
76670
|
strokeLinecap: "round",
|
|
76646
76671
|
strokeLinejoin: "round"
|
|
76647
|
-
}), /* @__PURE__ */
|
|
76672
|
+
}), /* @__PURE__ */ re("path", {
|
|
76648
76673
|
d: "m28 4-7 40",
|
|
76649
76674
|
stroke: "currentColor",
|
|
76650
76675
|
strokeWidth: "5",
|
|
@@ -76678,13 +76703,13 @@ var X2e = {
|
|
|
76678
76703
|
fill: "none",
|
|
76679
76704
|
height: "15",
|
|
76680
76705
|
width: "15",
|
|
76681
|
-
children: [/* @__PURE__ */
|
|
76706
|
+
children: [/* @__PURE__ */ re("path", {
|
|
76682
76707
|
d: "M21 6H9a3 3 0 0 0-3 3v22a3 3 0 0 0 3 3h30a3 3 0 0 0 3-3V21M24 34v8",
|
|
76683
76708
|
stroke: "currentColor",
|
|
76684
76709
|
strokeWidth: "5",
|
|
76685
76710
|
strokeLinecap: "round",
|
|
76686
76711
|
strokeLinejoin: "round"
|
|
76687
|
-
}), /* @__PURE__ */
|
|
76712
|
+
}), /* @__PURE__ */ re("path", {
|
|
76688
76713
|
d: "m32 6-4 4 4 4m6-8 4 4-4 4M14 42h20",
|
|
76689
76714
|
stroke: "currentColor",
|
|
76690
76715
|
strokeWidth: "5",
|
|
@@ -76715,11 +76740,11 @@ var X2e = {
|
|
|
76715
76740
|
button: {
|
|
76716
76741
|
"aria-label": "Add italic text"
|
|
76717
76742
|
},
|
|
76718
|
-
icon: /* @__PURE__ */
|
|
76743
|
+
icon: /* @__PURE__ */ re("svg", {
|
|
76719
76744
|
width: "13",
|
|
76720
76745
|
height: "13",
|
|
76721
76746
|
viewBox: "0 0 320 512",
|
|
76722
|
-
children: /* @__PURE__ */
|
|
76747
|
+
children: /* @__PURE__ */ re("path", {
|
|
76723
76748
|
fill: "currentColor",
|
|
76724
76749
|
d: "M204.758 416h-33.849l62.092-320h40.725a16 16 0 0 0 15.704-12.937l6.242-32C297.599 41.184 290.034 32 279.968 32H120.235a16 16 0 0 0-15.704 12.937l-6.242 32C96.362 86.816 103.927 96 113.993 96h33.846l-62.09 320H46.278a16 16 0 0 0-15.704 12.935l-6.245 32C22.402 470.815 29.967 480 40.034 480h158.479a16 16 0 0 0 15.704-12.935l6.245-32c1.927-9.88-5.638-19.065-15.704-19.065z"
|
|
76725
76750
|
})
|
|
@@ -76746,12 +76771,12 @@ var X2e = {
|
|
|
76746
76771
|
button: {
|
|
76747
76772
|
"aria-label": "Add header text"
|
|
76748
76773
|
},
|
|
76749
|
-
icon: /* @__PURE__ */
|
|
76774
|
+
icon: /* @__PURE__ */ re("svg", {
|
|
76750
76775
|
fill: "currentColor",
|
|
76751
76776
|
viewBox: "0 0 448 512",
|
|
76752
76777
|
height: "13",
|
|
76753
76778
|
width: "13",
|
|
76754
|
-
children: /* @__PURE__ */
|
|
76779
|
+
children: /* @__PURE__ */ re("path", {
|
|
76755
76780
|
d: "M448 448c0 17.69-14.33 32-32 32h-96c-17.67 0-32-14.31-32-32s14.33-32 32-32h16V272H112v144h16c17.67 0 32 14.31 32 32s-14.33 32-32 32H32c-17.67 0-32-14.31-32-32s14.33-32 32-32h16V96H32C14.33 96 0 81.69 0 64s14.33-32 32-32h96c17.67 0 32 14.31 32 32s-14.33 32-32 32h-16v112h224V96h-16c-17.67 0-32-14.31-32-32s14.33-32 32-32h96c17.67 0 32 14.31 32 32s-14.33 32-32 32h-16v320h16c17.7 0 32 14.3 32 32z"
|
|
76756
76781
|
})
|
|
76757
76782
|
}),
|
|
@@ -76787,12 +76812,12 @@ var X2e = {
|
|
|
76787
76812
|
button: {
|
|
76788
76813
|
"aria-label": "Add strike text"
|
|
76789
76814
|
},
|
|
76790
|
-
icon: /* @__PURE__ */
|
|
76815
|
+
icon: /* @__PURE__ */ re("svg", {
|
|
76791
76816
|
fill: "currentColor",
|
|
76792
76817
|
viewBox: "0 0 512 512",
|
|
76793
76818
|
height: "14",
|
|
76794
76819
|
width: "14",
|
|
76795
|
-
children: /* @__PURE__ */
|
|
76820
|
+
children: /* @__PURE__ */ re("path", {
|
|
76796
76821
|
d: "M332.2 319.9c17.22 12.17 22.33 26.51 18.61 48.21-3.031 17.59-10.88 29.34-24.72 36.99-35.44 19.75-108.5 11.96-186-19.68-16.34-6.686-35.03 1.156-41.72 17.53s1.188 35.05 17.53 41.71c31.75 12.93 95.69 35.37 157.6 35.37 29.62 0 58.81-5.156 83.72-18.96 30.81-17.09 50.44-45.46 56.72-82.11 3.998-23.27 2.168-42.58-3.488-59.05H332.2zm155.8-80-176.5-.03c-15.85-5.614-31.83-10.34-46.7-14.62-85.47-24.62-110.9-39.05-103.7-81.33 2.5-14.53 10.16-25.96 22.72-34.03 20.47-13.15 64.06-23.84 155.4.343 17.09 4.53 34.59-5.654 39.13-22.74 4.531-17.09-5.656-34.59-22.75-39.12-91.31-24.18-160.7-21.62-206.3 7.654C121.8 73.72 103.6 101.1 98.09 133.1c-8.83 51.4 9.81 84.2 39.11 106.8H24c-13.25 0-24 10.75-24 23.1 0 13.25 10.75 23.1 24 23.1h464c13.25 0 24-10.75 24-23.1 0-12.3-10.7-23.1-24-23.1z"
|
|
76797
76822
|
})
|
|
76798
76823
|
}),
|
|
@@ -76818,12 +76843,12 @@ var X2e = {
|
|
|
76818
76843
|
button: {
|
|
76819
76844
|
"aria-label": "Add underline text"
|
|
76820
76845
|
},
|
|
76821
|
-
icon: /* @__PURE__ */
|
|
76846
|
+
icon: /* @__PURE__ */ re("svg", {
|
|
76822
76847
|
fill: "currentColor",
|
|
76823
76848
|
viewBox: "0 0 448 512",
|
|
76824
76849
|
height: "13",
|
|
76825
76850
|
width: "13",
|
|
76826
|
-
children: /* @__PURE__ */
|
|
76851
|
+
children: /* @__PURE__ */ re("path", {
|
|
76827
76852
|
d: "M416 448H32c-17.69 0-32 14.31-32 32s14.31 32 32 32h384c17.69 0 32-14.31 32-32s-14.3-32-32-32zM48 64.01h16v160c0 88.22 71.78 159.1 160 159.1s160-71.78 160-159.1v-160h16c17.69 0 32-14.32 32-32S417.69.91 400 .91l-96-.005c-17.69 0-32 14.32-32 32s14.31 32 32 32h16v160c0 52.94-43.06 95.1-96 95.1S128 276.1 128 224V64h16c17.69 0 32-14.31 32-32S161.69 0 144 0L48 .005c-17.69 0-32 14.31-32 31.1S30.31 64.01 48 64.01z"
|
|
76828
76853
|
})
|
|
76829
76854
|
}),
|
|
@@ -76849,11 +76874,11 @@ var X2e = {
|
|
|
76849
76874
|
button: {
|
|
76850
76875
|
"aria-label": "Add olist text"
|
|
76851
76876
|
},
|
|
76852
|
-
icon: /* @__PURE__ */
|
|
76877
|
+
icon: /* @__PURE__ */ re("svg", {
|
|
76853
76878
|
viewBox: "0 0 576 512",
|
|
76854
76879
|
height: "14",
|
|
76855
76880
|
width: "14",
|
|
76856
|
-
children: /* @__PURE__ */
|
|
76881
|
+
children: /* @__PURE__ */ re("path", {
|
|
76857
76882
|
fill: "currentColor",
|
|
76858
76883
|
d: "M55.1 56.04c0-13.26 11.64-24 24-24h32c14.2 0 24 10.74 24 24V176h16c14.2 0 24 10.8 24 24 0 13.3-9.8 24-24 24h-80c-12.36 0-24-10.7-24-24 0-13.2 11.64-24 24-24h16V80.04h-8c-12.36 0-24-10.75-24-24zm63.6 285.16c-6.6-7.4-18.3-6.9-24.05 1.2l-11.12 15.5c-7.7 10.8-22.69 13.3-33.48 5.6-10.79-7.7-13.28-22.7-5.58-33.4l11.12-15.6c23.74-33.3 72.31-35.7 99.21-4.9 21.3 23.5 20.8 60.9-1.1 84.7L118.8 432H152c13.3 0 24 10.7 24 24s-10.7 24-24 24H64c-9.53 0-18.16-5.6-21.98-14.4-3.83-8.7-2.12-18.9 4.34-25.9l72.04-78c5.3-5.8 5.4-14.6.3-20.5zM512 64c17.7 0 32 14.33 32 32 0 17.7-14.3 32-32 32H256c-17.7 0-32-14.3-32-32 0-17.67 14.3-32 32-32h256zm0 160c17.7 0 32 14.3 32 32s-14.3 32-32 32H256c-17.7 0-32-14.3-32-32s14.3-32 32-32h256zm0 160c17.7 0 32 14.3 32 32s-14.3 32-32 32H256c-17.7 0-32-14.3-32-32s14.3-32 32-32h256z"
|
|
76859
76884
|
})
|
|
@@ -76884,11 +76909,11 @@ var X2e = {
|
|
|
76884
76909
|
button: {
|
|
76885
76910
|
"aria-label": "Add ulist text"
|
|
76886
76911
|
},
|
|
76887
|
-
icon: /* @__PURE__ */
|
|
76912
|
+
icon: /* @__PURE__ */ re("svg", {
|
|
76888
76913
|
viewBox: "0 0 512 512",
|
|
76889
76914
|
height: "14",
|
|
76890
76915
|
width: "14",
|
|
76891
|
-
children: /* @__PURE__ */
|
|
76916
|
+
children: /* @__PURE__ */ re("path", {
|
|
76892
76917
|
fill: "currentColor",
|
|
76893
76918
|
d: "M88 48c13.3 0 24 10.75 24 24v48c0 13.3-10.7 24-24 24H40c-13.25 0-24-10.7-24-24V72c0-13.25 10.75-24 24-24h48zm392 16c17.7 0 32 14.33 32 32 0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32 0-17.67 14.3-32 32-32h288zm0 160c17.7 0 32 14.3 32 32s-14.3 32-32 32H192c-17.7 0-32-14.3-32-32s14.3-32 32-32h288zm0 160c17.7 0 32 14.3 32 32s-14.3 32-32 32H192c-17.7 0-32-14.3-32-32s14.3-32 32-32h288zM16 232c0-13.3 10.75-24 24-24h48c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H40c-13.25 0-24-10.7-24-24v-48zm72 136c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H40c-13.25 0-24-10.7-24-24v-48c0-13.3 10.75-24 24-24h48z"
|
|
76894
76919
|
})
|
|
@@ -76919,12 +76944,12 @@ var X2e = {
|
|
|
76919
76944
|
button: {
|
|
76920
76945
|
"aria-label": "Add quote text"
|
|
76921
76946
|
},
|
|
76922
|
-
icon: /* @__PURE__ */
|
|
76947
|
+
icon: /* @__PURE__ */ re("svg", {
|
|
76923
76948
|
fill: "currentColor",
|
|
76924
76949
|
viewBox: "0 0 448 512",
|
|
76925
76950
|
height: "15",
|
|
76926
76951
|
width: "15",
|
|
76927
|
-
children: /* @__PURE__ */
|
|
76952
|
+
children: /* @__PURE__ */ re("path", {
|
|
76928
76953
|
d: "M96 96c-53.02 0-96 42.1-96 96s42.98 96 96 96c11.28 0 21.95-2.305 32-5.879V288c0 35.3-28.7 64-64 64-17.67 0-32 14.33-32 32s14.33 32 32 32c70.58 0 128-57.42 128-128v-96c0-53.9-43-96-96-96zm352 96c0-53.02-42.98-96-96-96s-96 42.98-96 96 42.98 96 96 96c11.28 0 21.95-2.305 32-5.879V288c0 35.3-28.7 64-64 64-17.67 0-32 14.33-32 32s14.33 32 32 32c70.58 0 128-57.42 128-128v-96z"
|
|
76929
76954
|
})
|
|
76930
76955
|
}),
|
|
@@ -76954,12 +76979,12 @@ var X2e = {
|
|
|
76954
76979
|
button: {
|
|
76955
76980
|
"aria-label": "Add link text"
|
|
76956
76981
|
},
|
|
76957
|
-
icon: /* @__PURE__ */
|
|
76982
|
+
icon: /* @__PURE__ */ re("svg", {
|
|
76958
76983
|
fill: "currentColor",
|
|
76959
76984
|
viewBox: "0 0 640 512",
|
|
76960
76985
|
height: "16",
|
|
76961
76986
|
width: "16",
|
|
76962
|
-
children: /* @__PURE__ */
|
|
76987
|
+
children: /* @__PURE__ */ re("path", {
|
|
76963
76988
|
d: "M172.5 131.1c55.6-55.59 148-55.59 203.6 0 50 50 57.4 129.7 16.3 187.2l-1.1 1.6c-10.3 14.3-30.3 17.7-44.6 7.4-14.4-10.3-17.8-30.3-7.5-44.6l1.1-1.6c22.9-32.1 19.3-76-8.6-103.9-31.4-31.4-82.5-31.4-114 0L105.5 289.5c-31.51 30.6-31.51 82.5 0 114 27.8 27.9 71.8 31.5 103.8 8.6l1.6-2c14.4-9.4 34.4-6.1 44.6 8.3 10.3 14.4 7 34.4-7.4 44.7l-1.6 1.1c-58.4 41.1-136.3 34.5-186.29-15.4-56.469-56.5-56.469-148.1 0-204.5L172.5 131.1zm295 248.9c-56.5 56.5-148 56.5-204.5 0-50-50-56.5-128.8-15.4-186.3l1.1-1.6c9.4-14.3 29.4-17.7 44.6-7.4 14.4 9.4 17.8 29.4 7.5 44.6l-1.1 1.6c-22.9 31.2-19.3 76 8.6 103.9 31.4 31.4 82.5 31.4 114 0l112.2-112.3c31.5-31.5 31.5-83.4 0-114-27.8-27.87-71.8-31.51-103.8-8.6l-1.6 1.1c-14.4 10.3-34.4 6.1-44.6-7.42-10.3-14.38-7-34.37 7.4-44.64l1.6-1.12C451 6.731 529.8 13.25 579.8 63.24c56.5 56.46 56.5 148.06 0 204.46L467.5 380z"
|
|
76964
76989
|
})
|
|
76965
76990
|
}),
|
|
@@ -76987,12 +77012,12 @@ var X2e = {
|
|
|
76987
77012
|
button: {
|
|
76988
77013
|
"aria-label": "Add todo List"
|
|
76989
77014
|
},
|
|
76990
|
-
icon: /* @__PURE__ */
|
|
77015
|
+
icon: /* @__PURE__ */ re("svg", {
|
|
76991
77016
|
viewBox: "0 0 48 48",
|
|
76992
77017
|
fill: "none",
|
|
76993
77018
|
height: "15",
|
|
76994
77019
|
width: "15",
|
|
76995
|
-
children: /* @__PURE__ */
|
|
77020
|
+
children: /* @__PURE__ */ re("path", {
|
|
76996
77021
|
d: "m5 10 3 3 6-6M5 24l3 3 6-6M5 38l3 3 6-6m7-11h22M21 38h22M21 10h22",
|
|
76997
77022
|
stroke: "currentColor",
|
|
76998
77023
|
strokeWidth: "5",
|
|
@@ -77026,12 +77051,12 @@ var X2e = {
|
|
|
77026
77051
|
button: {
|
|
77027
77052
|
"aria-label": "Add image text"
|
|
77028
77053
|
},
|
|
77029
|
-
icon: /* @__PURE__ */
|
|
77054
|
+
icon: /* @__PURE__ */ re("svg", {
|
|
77030
77055
|
fill: "currentColor",
|
|
77031
77056
|
viewBox: "0 0 16 16",
|
|
77032
77057
|
height: "14",
|
|
77033
77058
|
width: "14",
|
|
77034
|
-
children: /* @__PURE__ */
|
|
77059
|
+
children: /* @__PURE__ */ re("path", {
|
|
77035
77060
|
fillRule: "evenodd",
|
|
77036
77061
|
d: "M1.75 2.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h.94a.76.76 0 0 1 .03-.03l6.077-6.078a1.75 1.75 0 0 1 2.412-.06L14.5 10.31V2.75a.25.25 0 0 0-.25-.25H1.75zm12.5 11H4.81l5.048-5.047a.25.25 0 0 1 .344-.009l4.298 3.889v.917a.25.25 0 0 1-.25.25zm1.75-.25V2.75A1.75 1.75 0 0 0 14.25 1H1.75A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25zM5.5 6a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zM7 6a2 2 0 1 1-4 0 2 2 0 0 1 4 0z"
|
|
77037
77062
|
})
|
|
@@ -77060,11 +77085,11 @@ var X2e = {
|
|
|
77060
77085
|
button: {
|
|
77061
77086
|
"aria-label": "redo text"
|
|
77062
77087
|
},
|
|
77063
|
-
icon: /* @__PURE__ */
|
|
77088
|
+
icon: /* @__PURE__ */ re("svg", {
|
|
77064
77089
|
viewBox: "0 0 512 512",
|
|
77065
77090
|
height: "14",
|
|
77066
77091
|
width: "14",
|
|
77067
|
-
children: /* @__PURE__ */
|
|
77092
|
+
children: /* @__PURE__ */ re("path", {
|
|
77068
77093
|
fill: "currentColor",
|
|
77069
77094
|
d: "M58.79,439.13A16,16,0,0,1,48,424c0-73.1,14.68-131.56,43.65-173.77,35-51,90.21-78.46,164.35-81.87V88a16,16,0,0,1,27.05-11.57l176,168a16,16,0,0,1,0,23.14l-176,168A16,16,0,0,1,256,424V344.23c-45,1.36-79,8.65-106.07,22.64-29.25,15.12-50.46,37.71-73.32,67a16,16,0,0,1-17.82,5.28Z"
|
|
77070
77095
|
})
|
|
@@ -77082,11 +77107,11 @@ var X2e = {
|
|
|
77082
77107
|
button: {
|
|
77083
77108
|
"aria-label": "undo text"
|
|
77084
77109
|
},
|
|
77085
|
-
icon: /* @__PURE__ */
|
|
77110
|
+
icon: /* @__PURE__ */ re("svg", {
|
|
77086
77111
|
viewBox: "0 0 512 512",
|
|
77087
77112
|
height: "14",
|
|
77088
77113
|
width: "14",
|
|
77089
|
-
children: /* @__PURE__ */
|
|
77114
|
+
children: /* @__PURE__ */ re("path", {
|
|
77090
77115
|
fill: "currentColor",
|
|
77091
77116
|
d: "M448,440a16,16,0,0,1-12.61-6.15c-22.86-29.27-44.07-51.86-73.32-67C335,352.88,301,345.59,256,344.23V424A16,16,0,0,1,229,435.57l-176-168a16,16,0,0,1,0-23.14l176-168A16,16,0,0,1,256,88v80.36c74.14,3.41,129.38,30.91,164.35,81.87C449.32,292.44,464,350.9,464,424a16,16,0,0,1-16,16Z"
|
|
77092
77117
|
})
|
|
@@ -77129,7 +77154,7 @@ var X2e = {
|
|
|
77129
77154
|
var f = !o;
|
|
77130
77155
|
l.current = f, s(f), r == null || r(p, f);
|
|
77131
77156
|
};
|
|
77132
|
-
return /* @__PURE__ */
|
|
77157
|
+
return /* @__PURE__ */ re("button", wt({}, i, {
|
|
77133
77158
|
onClick: h,
|
|
77134
77159
|
type: "button",
|
|
77135
77160
|
className: o ? "active" : "",
|
|
@@ -77138,16 +77163,16 @@ var X2e = {
|
|
|
77138
77163
|
}, _$ = {
|
|
77139
77164
|
name: "fullscreen",
|
|
77140
77165
|
keyCommand: "fullscreen",
|
|
77141
|
-
button: (t, e, n) => /* @__PURE__ */
|
|
77166
|
+
button: (t, e, n) => /* @__PURE__ */ re(cme, {
|
|
77142
77167
|
command: t,
|
|
77143
77168
|
editorProps: wt({}, e, n)
|
|
77144
77169
|
}),
|
|
77145
|
-
icon: /* @__PURE__ */
|
|
77170
|
+
icon: /* @__PURE__ */ re("svg", {
|
|
77146
77171
|
fill: "currentColor",
|
|
77147
77172
|
viewBox: "0 0 448 512",
|
|
77148
77173
|
height: "15",
|
|
77149
77174
|
width: "15",
|
|
77150
|
-
children: /* @__PURE__ */
|
|
77175
|
+
children: /* @__PURE__ */ re("path", {
|
|
77151
77176
|
d: "M128 32H32C14.31 32 0 46.31 0 64v96c0 17.69 14.31 32 32 32s32-14.31 32-32V96h64c17.69 0 32-14.31 32-32s-14.3-32-32-32zm288 0h-96c-17.69 0-32 14.31-32 32s14.31 32 32 32h64v64c0 17.69 14.31 32 32 32s32-14.31 32-32V64c0-17.69-14.3-32-32-32zM128 416H64v-64c0-17.69-14.31-32-32-32S0 334.31 0 352v96c0 17.69 14.31 32 32 32h96c17.69 0 32-14.31 32-32s-14.3-32-32-32zm288-96c-17.69 0-32 14.31-32 32v64h-64c-17.69 0-32 14.31-32 32s14.31 32 32 32h96c17.69 0 32-14.31 32-32v-96c0-17.7-14.3-32-32-32z"
|
|
77152
77177
|
})
|
|
77153
77178
|
})
|
|
@@ -77169,7 +77194,7 @@ var X2e = {
|
|
|
77169
77194
|
var l = () => {
|
|
77170
77195
|
e.onPreviewMode && e.onPreviewMode(!o), s(!o);
|
|
77171
77196
|
};
|
|
77172
|
-
return /* @__PURE__ */
|
|
77197
|
+
return /* @__PURE__ */ re("button", {
|
|
77173
77198
|
onClick: l,
|
|
77174
77199
|
type: "button",
|
|
77175
77200
|
className: o ? "active" : "",
|
|
@@ -77179,16 +77204,16 @@ var X2e = {
|
|
|
77179
77204
|
}, k$ = {
|
|
77180
77205
|
name: "preview",
|
|
77181
77206
|
keyCommand: "preview",
|
|
77182
|
-
button: (t, e, n) => /* @__PURE__ */
|
|
77207
|
+
button: (t, e, n) => /* @__PURE__ */ re(dme, {
|
|
77183
77208
|
command: t,
|
|
77184
77209
|
editorProps: wt({}, e, n)
|
|
77185
77210
|
}),
|
|
77186
|
-
icon: /* @__PURE__ */
|
|
77211
|
+
icon: /* @__PURE__ */ re("svg", {
|
|
77187
77212
|
fill: "currentColor",
|
|
77188
77213
|
viewBox: "0 0 576 512",
|
|
77189
77214
|
height: "16",
|
|
77190
77215
|
width: "16",
|
|
77191
|
-
children: /* @__PURE__ */
|
|
77216
|
+
children: /* @__PURE__ */ re("path", {
|
|
77192
77217
|
d: "M279.6 160.4c2.8-.3 5.6-.4 8.4-.4 53 0 96 42.1 96 96 0 53-43 96-96 96-53.9 0-96-43-96-96 0-2.8.1-5.6.4-8.4 9.3 4.5 20.1 8.4 31.6 8.4 35.3 0 64-28.7 64-64 0-11.5-3.9-22.3-8.4-31.6zm201-47.8c46.8 43.4 78.1 94.5 92.9 131.1 3.3 7.9 3.3 16.7 0 24.6-14.8 35.7-46.1 86.8-92.9 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.58-80.6C48.62 355.1 17.34 304 2.461 268.3a31.967 31.967 0 0 1 0-24.6C17.34 207.1 48.62 156 95.42 112.6 142.5 68.84 207.2 32 288 32c80.8 0 145.5 36.84 192.6 80.6zM288 112c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144z"
|
|
77193
77218
|
})
|
|
77194
77219
|
})
|
|
@@ -77227,7 +77252,7 @@ function aN(t) {
|
|
|
77227
77252
|
function h(p) {
|
|
77228
77253
|
p && i && i && p(i.current);
|
|
77229
77254
|
}
|
|
77230
|
-
return c.prefixCls = e, /* @__PURE__ */
|
|
77255
|
+
return c.prefixCls = e, /* @__PURE__ */ re("div", wt({
|
|
77231
77256
|
className: e + "-toolbar " + (n || "") + " " + (a ? e + "-toolbar-mode" : "")
|
|
77232
77257
|
}, d, {
|
|
77233
77258
|
children: [...r].map((p, f) => {
|
|
@@ -77248,7 +77273,7 @@ function aN(t) {
|
|
|
77248
77273
|
editor: i,
|
|
77249
77274
|
editorProps: c
|
|
77250
77275
|
});
|
|
77251
|
-
return /* @__PURE__ */
|
|
77276
|
+
return /* @__PURE__ */ re(G0, {
|
|
77252
77277
|
children: y
|
|
77253
77278
|
}, f);
|
|
77254
77279
|
}
|
|
@@ -77442,10 +77467,10 @@ function Eme(t, e) {
|
|
|
77442
77467
|
style: {
|
|
77443
77468
|
height: I.height
|
|
77444
77469
|
},
|
|
77445
|
-
children: [/* @__PURE__ */
|
|
77470
|
+
children: [/* @__PURE__ */ re("div", {
|
|
77446
77471
|
className: n + "-content-editor",
|
|
77447
77472
|
ref: F,
|
|
77448
|
-
children: d && /* @__PURE__ */
|
|
77473
|
+
children: d && /* @__PURE__ */ re(nH, wt({
|
|
77449
77474
|
theme: gme
|
|
77450
77475
|
}, I, {
|
|
77451
77476
|
className: n + "-inner",
|
|
@@ -77454,18 +77479,18 @@ function Eme(t, e) {
|
|
|
77454
77479
|
ref: L,
|
|
77455
77480
|
onChange: de
|
|
77456
77481
|
}))
|
|
77457
|
-
}), O && /* @__PURE__ */
|
|
77482
|
+
}), O && /* @__PURE__ */ re("div", {
|
|
77458
77483
|
className: T,
|
|
77459
77484
|
ref: D,
|
|
77460
|
-
children: c ? c(w, !!l) : /* @__PURE__ */
|
|
77485
|
+
children: c ? c(w, !!l) : /* @__PURE__ */ re(x$, wt({}, w, {
|
|
77461
77486
|
"data-visible": !!l
|
|
77462
77487
|
}))
|
|
77463
77488
|
})]
|
|
77464
|
-
}), pe = [n && n + "-toolbar-warp", n && f && n + "-toolbar-bottom"].filter(Boolean).join(" "), ye = s ? a.filter(s) : a, oe = s ? o.filter(s) : o,
|
|
77489
|
+
}), pe = [n && n + "-toolbar-warp", n && f && n + "-toolbar-bottom"].filter(Boolean).join(" "), ye = s ? a.filter(s) : a, oe = s ? o.filter(s) : o, ie = h ?? p, K = ie && /* @__PURE__ */ ut("div", {
|
|
77465
77490
|
className: pe,
|
|
77466
|
-
children: [/* @__PURE__ */
|
|
77491
|
+
children: [/* @__PURE__ */ re(aN, wt({}, V, {
|
|
77467
77492
|
toolbars: ye
|
|
77468
|
-
})), /* @__PURE__ */
|
|
77493
|
+
})), /* @__PURE__ */ re(aN, wt({}, V, {
|
|
77469
77494
|
toolbars: oe,
|
|
77470
77495
|
mode: !0
|
|
77471
77496
|
}))]
|
|
@@ -77474,13 +77499,13 @@ function Eme(t, e) {
|
|
|
77474
77499
|
}) : /* @__PURE__ */ ut(G0, {
|
|
77475
77500
|
children: [K, N]
|
|
77476
77501
|
});
|
|
77477
|
-
return /* @__PURE__ */
|
|
77502
|
+
return /* @__PURE__ */ re("div", {
|
|
77478
77503
|
className: W,
|
|
77479
77504
|
ref: $,
|
|
77480
77505
|
children: Ne
|
|
77481
77506
|
});
|
|
77482
77507
|
}
|
|
77483
|
-
const wme = ({ content: t, onChange: e }) => /* @__PURE__ */
|
|
77508
|
+
const wme = ({ content: t, onChange: e }) => /* @__PURE__ */ re("div", { className: "wiki-editor-wrapper", children: /* @__PURE__ */ re(
|
|
77484
77509
|
C$,
|
|
77485
77510
|
{
|
|
77486
77511
|
showToolbar: !1,
|
|
@@ -77571,7 +77596,7 @@ Start writing your content here...`), p(`# New Page
|
|
|
77571
77596
|
Start writing your content here...`), h(!0);
|
|
77572
77597
|
};
|
|
77573
77598
|
return /* @__PURE__ */ ut("div", { className: "wiki-container", children: [
|
|
77574
|
-
/* @__PURE__ */
|
|
77599
|
+
/* @__PURE__ */ re(
|
|
77575
77600
|
AX,
|
|
77576
77601
|
{
|
|
77577
77602
|
indexPage: t.index,
|
|
@@ -77582,8 +77607,8 @@ Start writing your content here...`), h(!0);
|
|
|
77582
77607
|
onPageCreate: F
|
|
77583
77608
|
}
|
|
77584
77609
|
),
|
|
77585
|
-
/* @__PURE__ */
|
|
77586
|
-
/* @__PURE__ */
|
|
77610
|
+
/* @__PURE__ */ re("div", { className: "wiki-main", children: o ? /* @__PURE__ */ ut(Zi, { children: [
|
|
77611
|
+
/* @__PURE__ */ re("div", { className: `wiki-content ${s ? "wiki-content-edit" : "wiki-content-view"}`, children: S ? /* @__PURE__ */ re("div", { className: "wiki-empty", children: /* @__PURE__ */ re("p", { children: "Loading..." }) }) : s ? /* @__PURE__ */ re(wme, { content: l, onChange: p }) : /* @__PURE__ */ re(ate, { content: w, onDoubleClick: n ? void 0 : A, onNavigate: I }) }),
|
|
77587
77612
|
s && /* @__PURE__ */ ut("div", { className: "wiki-toolbar wiki-toolbar-bottom", children: [
|
|
77588
77613
|
/* @__PURE__ */ ut(
|
|
77589
77614
|
"button",
|
|
@@ -77592,7 +77617,7 @@ Start writing your content here...`), h(!0);
|
|
|
77592
77617
|
onClick: C,
|
|
77593
77618
|
disabled: S,
|
|
77594
77619
|
children: [
|
|
77595
|
-
/* @__PURE__ */
|
|
77620
|
+
/* @__PURE__ */ re(dN, { size: 16 }),
|
|
77596
77621
|
"Save"
|
|
77597
77622
|
]
|
|
77598
77623
|
}
|
|
@@ -77604,15 +77629,15 @@ Start writing your content here...`), h(!0);
|
|
|
77604
77629
|
onClick: L,
|
|
77605
77630
|
disabled: S,
|
|
77606
77631
|
children: [
|
|
77607
|
-
/* @__PURE__ */
|
|
77632
|
+
/* @__PURE__ */ re(cN, { size: 16 }),
|
|
77608
77633
|
"Discard"
|
|
77609
77634
|
]
|
|
77610
77635
|
}
|
|
77611
77636
|
)
|
|
77612
77637
|
] })
|
|
77613
|
-
] }) : /* @__PURE__ */
|
|
77614
|
-
/* @__PURE__ */
|
|
77615
|
-
/* @__PURE__ */
|
|
77638
|
+
] }) : /* @__PURE__ */ re("div", { className: "wiki-content", children: /* @__PURE__ */ ut("div", { className: "wiki-empty", children: [
|
|
77639
|
+
/* @__PURE__ */ re("div", { className: "wiki-empty-title", children: "Welcome to Wiki" }),
|
|
77640
|
+
/* @__PURE__ */ re("div", { className: "wiki-empty-text", children: "Select a page from the sidebar to get started" })
|
|
77616
77641
|
] }) }) })
|
|
77617
77642
|
] });
|
|
77618
77643
|
};
|
|
@@ -77651,4 +77676,4 @@ export {
|
|
|
77651
77676
|
kx as x,
|
|
77652
77677
|
gN as y
|
|
77653
77678
|
};
|
|
77654
|
-
//# sourceMappingURL=index-
|
|
77679
|
+
//# sourceMappingURL=index-CTwqSiM2.mjs.map
|