@opencx/widget 3.0.63 → 3.0.65
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/README.md +12 -12
- package/dist/designs.cjs +18 -18
- package/dist/designs.cjs.map +1 -1
- package/dist/designs.js +596 -589
- package/dist/designs.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +2 -2
- package/dist/react.js.map +1 -1
- package/dist/src/designs/react/components/PoweredByOpen.d.ts +1 -1
- package/dist/src/designs/react/components/lib/MotionDiv.d.ts +1 -1
- package/dist/src/designs/react/components/lib/avatar.d.ts +2 -2
- package/dist/src/designs/react/components/lib/button.d.ts +1 -1
- package/dist/src/designs/react/components/lib/dialog.d.ts +2 -2
- package/dist/src/designs/react/components/lib/dropdown-menu.d.ts +2 -2
- package/dist/src/designs/react/components/lib/input.d.ts +2 -3
- package/dist/src/designs/react/components/lib/popover.d.ts +2 -2
- package/dist/src/designs/react/components/lib/switch.d.ts +2 -2
- package/dist/src/designs/react/components/lib/tooltip.d.ts +4 -4
- package/dist/src/designs/react/components/lib/wobble.d.ts +4 -4
- package/dist/src/designs/react/constants.d.ts +10 -4
- package/dist/src/designs/react/hooks/useWidgetContentHeight.d.ts +2 -2
- package/dist/src/designs/translation/translation.types.d.ts +1 -1
- package/dist/src/headless/core/__tests__/test-utils.d.ts +3 -3
- package/dist/src/headless/core/api/api-caller.d.ts +4 -4
- package/dist/src/headless/core/api/client.d.ts +4 -4
- package/dist/src/headless/core/api/schema.d.ts +60 -60
- package/dist/src/headless/core/context/router.ctx.d.ts +4 -4
- package/dist/src/headless/core/index.d.ts +1 -1
- package/dist/src/headless/core/types/messages.d.ts +8 -8
- package/dist/src/headless/core/types/schemas.d.ts +9 -9
- package/dist/src/headless/core/types/widget-config.d.ts +1 -6
- package/dist/src/headless/react/hooks/usePreludeData.d.ts +1 -1
- package/dist/src/headless/react/hooks/useUploadFiles.d.ts +1 -1
- package/dist/{useUploadFiles-rvVkyHN3.js → useUploadFiles-BLNdq94V.js} +3 -3
- package/dist/useUploadFiles-BLNdq94V.js.map +1 -0
- package/dist/{useUploadFiles-DJF7AYu6.cjs → useUploadFiles-Dl3_5Flm.cjs} +2 -2
- package/dist/useUploadFiles-Dl3_5Flm.cjs.map +1 -0
- package/dist/{widget.ctx-_0XFPUpq.js → widget.ctx-COUAUyWX.js} +2 -4
- package/dist/widget.ctx-COUAUyWX.js.map +1 -0
- package/dist/widget.ctx-DUaeXkNb.cjs.map +1 -1
- package/dist-embed/script.js +45 -45
- package/dist-embed/script.js.map +1 -1
- package/package.json +18 -10
- package/dist/useUploadFiles-DJF7AYu6.cjs.map +0 -1
- package/dist/useUploadFiles-rvVkyHN3.js.map +0 -1
- package/dist/widget.ctx-_0XFPUpq.js.map +0 -1
package/dist/designs.js
CHANGED
|
@@ -1,26 +1,31 @@
|
|
|
1
|
-
import { jsx as b, jsxs as z, Fragment as
|
|
1
|
+
import { jsx as b, jsxs as z, Fragment as ji } from "react/jsx-runtime";
|
|
2
2
|
import * as ge from "react";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import Ur, { useRef as tn, useEffect as nn, useMemo as zr, forwardRef as Yr, memo as xu, useState as Re, cloneElement as Tu, useImperativeHandle as yu, useCallback as Cu } from "react";
|
|
4
|
+
import xa from "tinycolor2";
|
|
5
5
|
import { motion as yt, AnimatePresence as ke } from "framer-motion";
|
|
6
|
-
import { clsx as
|
|
6
|
+
import { clsx as qi } from "clsx";
|
|
7
7
|
import { PaperclipIcon as _u, ImageIcon as Au, CircleDashed as ku, SendHorizonal as Nu, CheckCheckIcon as Iu, XIcon as Su, AlertCircle as Lu, Loader2 as Ou, FileAudio2Icon as Ru, FileVideo2Icon as Du, FileIcon as vu, ChevronRight as Pu, Check as Mu, Circle as Bu, ChevronLeftIcon as Fu, EllipsisVerticalIcon as Hu, MessageCirclePlusIcon as Uu, X as zu, LoaderIcon as Yu, SendHorizontal as ju, ChevronRightIcon as qu, ChevronDownIcon as Vu } from "lucide-react";
|
|
8
8
|
import { useDropzone as Wu } from "react-dropzone";
|
|
9
|
-
import { u as rn, d as an, g as
|
|
9
|
+
import { u as rn, d as an, g as Mn, e as Bn, i as Gu, c as Vi, h as on, j as Ta, k as Qu, a as pt, b as Xu, _ as Ku, W as $u } from "./useUploadFiles-BLNdq94V.js";
|
|
10
10
|
import * as sn from "@radix-ui/react-tooltip";
|
|
11
11
|
import { Slot as Ju } from "@radix-ui/react-slot";
|
|
12
12
|
import * as de from "@radix-ui/react-dropdown-menu";
|
|
13
13
|
import * as Fe from "@radix-ui/react-dialog";
|
|
14
|
-
import { createPortal as
|
|
14
|
+
import { createPortal as xr } from "react-dom";
|
|
15
15
|
import * as Nt from "@radix-ui/react-avatar";
|
|
16
|
-
import { z as
|
|
17
|
-
import * as
|
|
18
|
-
const
|
|
19
|
-
|
|
16
|
+
import { z as er } from "zod";
|
|
17
|
+
import * as Tr from "@radix-ui/react-popover";
|
|
18
|
+
const ya = 400, kn = 500, Zu = 600, jr = {
|
|
19
|
+
widgetMinWidth: "min-w-[400px]",
|
|
20
|
+
widgetMaxWidth: "max-w-[800px]",
|
|
21
|
+
widgetWidthMin: "w-[400px]",
|
|
22
|
+
widgetWidthMax: "w-[800px]",
|
|
23
|
+
widgetMinHeight: "min-h-[500px]",
|
|
20
24
|
widgetMaxHeight: "max-h-[600px]",
|
|
21
|
-
|
|
25
|
+
widgetHeightMin: "h-[500px]",
|
|
26
|
+
widgetHeightMax: "h-[600px]"
|
|
22
27
|
}, Wi = ({ primary: e = "hsl(0, 0%, 0%)" }) => {
|
|
23
|
-
const t =
|
|
28
|
+
const t = xa(e).toHsl(), n = xa(e).isLight() ? "240 10% 3.9%" : "0 0% 100%";
|
|
24
29
|
return {
|
|
25
30
|
"--opencx-primary": `${t.h} ${t.s * 100}% ${t.l * 100}%`,
|
|
26
31
|
"--opencx-primary-foreground": n,
|
|
@@ -38,14 +43,14 @@ const Zu = 350, qi = 400, Vi = 600, Yr = {
|
|
|
38
43
|
"--opencx-border": "240 5.9% 90%",
|
|
39
44
|
"--opencx-ring": "240 5.9% 10%"
|
|
40
45
|
};
|
|
41
|
-
},
|
|
46
|
+
}, qr = "-", el = (e) => {
|
|
42
47
|
const t = nl(e), {
|
|
43
48
|
conflictingClassGroups: n,
|
|
44
49
|
conflictingClassGroupModifiers: r
|
|
45
50
|
} = e;
|
|
46
51
|
return {
|
|
47
52
|
getClassGroupId: (o) => {
|
|
48
|
-
const u = o.split(
|
|
53
|
+
const u = o.split(qr);
|
|
49
54
|
return u[0] === "" && u.length !== 1 && u.shift(), Gi(u, t) || tl(o);
|
|
50
55
|
},
|
|
51
56
|
getConflictingClassGroupIds: (o, u) => {
|
|
@@ -62,13 +67,13 @@ const Zu = 350, qi = 400, Vi = 600, Yr = {
|
|
|
62
67
|
return a;
|
|
63
68
|
if (t.validators.length === 0)
|
|
64
69
|
return;
|
|
65
|
-
const i = e.join(
|
|
70
|
+
const i = e.join(qr);
|
|
66
71
|
return (o = t.validators.find(({
|
|
67
72
|
validator: u
|
|
68
73
|
}) => u(i))) == null ? void 0 : o.classGroupId;
|
|
69
|
-
},
|
|
70
|
-
if (
|
|
71
|
-
const t =
|
|
74
|
+
}, Ca = /^\[(.+)\]$/, tl = (e) => {
|
|
75
|
+
if (Ca.test(e)) {
|
|
76
|
+
const t = Ca.exec(e)[1], n = t == null ? void 0 : t.substring(0, t.indexOf(":"));
|
|
72
77
|
if (n)
|
|
73
78
|
return "arbitrary.." + n;
|
|
74
79
|
}
|
|
@@ -81,18 +86,18 @@ const Zu = 350, qi = 400, Vi = 600, Yr = {
|
|
|
81
86
|
validators: []
|
|
82
87
|
};
|
|
83
88
|
return al(Object.entries(e.classGroups), n).forEach(([i, o]) => {
|
|
84
|
-
|
|
89
|
+
yr(o, r, i, t);
|
|
85
90
|
}), r;
|
|
86
|
-
},
|
|
91
|
+
}, yr = (e, t, n, r) => {
|
|
87
92
|
e.forEach((a) => {
|
|
88
93
|
if (typeof a == "string") {
|
|
89
|
-
const i = a === "" ? t :
|
|
94
|
+
const i = a === "" ? t : _a(t, a);
|
|
90
95
|
i.classGroupId = n;
|
|
91
96
|
return;
|
|
92
97
|
}
|
|
93
98
|
if (typeof a == "function") {
|
|
94
99
|
if (rl(a)) {
|
|
95
|
-
|
|
100
|
+
yr(a(r), t, n, r);
|
|
96
101
|
return;
|
|
97
102
|
}
|
|
98
103
|
t.validators.push({
|
|
@@ -102,12 +107,12 @@ const Zu = 350, qi = 400, Vi = 600, Yr = {
|
|
|
102
107
|
return;
|
|
103
108
|
}
|
|
104
109
|
Object.entries(a).forEach(([i, o]) => {
|
|
105
|
-
|
|
110
|
+
yr(o, _a(t, i), n, r);
|
|
106
111
|
});
|
|
107
112
|
});
|
|
108
|
-
},
|
|
113
|
+
}, _a = (e, t) => {
|
|
109
114
|
let n = e;
|
|
110
|
-
return t.split(
|
|
115
|
+
return t.split(qr).forEach((r) => {
|
|
111
116
|
n.nextPart.has(r) || n.nextPart.set(r, {
|
|
112
117
|
nextPart: /* @__PURE__ */ new Map(),
|
|
113
118
|
validators: []
|
|
@@ -258,7 +263,7 @@ function hl(e, ...t) {
|
|
|
258
263
|
const oe = (e) => {
|
|
259
264
|
const t = (n) => n[e] || [];
|
|
260
265
|
return t.isThemeGetter = !0, t;
|
|
261
|
-
}, Ki = /^\[(?:([a-z-]+):)?(.+)\]$/i, pl = /^\d+\/\d+$/, fl = /* @__PURE__ */ new Set(["px", "full", "screen"]), ml = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, gl = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, bl = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, El = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, wl = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ge = (e) => Ct(e) || fl.has(e) || pl.test(e), Je = (e) => It(e, "length", Nl), Ct = (e) => !!e && !Number.isNaN(Number(e)),
|
|
266
|
+
}, Ki = /^\[(?:([a-z-]+):)?(.+)\]$/i, pl = /^\d+\/\d+$/, fl = /* @__PURE__ */ new Set(["px", "full", "screen"]), ml = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, gl = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, bl = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, El = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, wl = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ge = (e) => Ct(e) || fl.has(e) || pl.test(e), Je = (e) => It(e, "length", Nl), Ct = (e) => !!e && !Number.isNaN(Number(e)), tr = (e) => It(e, "number", Ct), Ft = (e) => !!e && Number.isInteger(Number(e)), xl = (e) => e.endsWith("%") && Ct(e.slice(0, -1)), G = (e) => Ki.test(e), Ze = (e) => ml.test(e), Tl = /* @__PURE__ */ new Set(["length", "size", "percentage"]), yl = (e) => It(e, Tl, $i), Cl = (e) => It(e, "position", $i), _l = /* @__PURE__ */ new Set(["image", "url"]), Al = (e) => It(e, _l, Sl), kl = (e) => It(e, "", Il), Ht = () => !0, It = (e, t, n) => {
|
|
262
267
|
const r = Ki.exec(e);
|
|
263
268
|
return r ? r[1] ? typeof t == "string" ? r[1] === t : t.has(r[1]) : n(r[2]) : !1;
|
|
264
269
|
}, Nl = (e) => (
|
|
@@ -955,7 +960,7 @@ const oe = (e) => {
|
|
|
955
960
|
* @see https://tailwindcss.com/docs/font-weight
|
|
956
961
|
*/
|
|
957
962
|
"font-weight": [{
|
|
958
|
-
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black",
|
|
963
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", tr]
|
|
959
964
|
}],
|
|
960
965
|
/**
|
|
961
966
|
* Font Family
|
|
@@ -1006,7 +1011,7 @@ const oe = (e) => {
|
|
|
1006
1011
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1007
1012
|
*/
|
|
1008
1013
|
"line-clamp": [{
|
|
1009
|
-
"line-clamp": ["none", Ct,
|
|
1014
|
+
"line-clamp": ["none", Ct, tr]
|
|
1010
1015
|
}],
|
|
1011
1016
|
/**
|
|
1012
1017
|
* Line Height
|
|
@@ -2220,7 +2225,7 @@ const oe = (e) => {
|
|
|
2220
2225
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2221
2226
|
*/
|
|
2222
2227
|
"stroke-w": [{
|
|
2223
|
-
stroke: [Ge, Je,
|
|
2228
|
+
stroke: [Ge, Je, tr]
|
|
2224
2229
|
}],
|
|
2225
2230
|
/**
|
|
2226
2231
|
* Stroke
|
|
@@ -2297,11 +2302,11 @@ const oe = (e) => {
|
|
|
2297
2302
|
};
|
|
2298
2303
|
}, Ol = /* @__PURE__ */ hl(Ll);
|
|
2299
2304
|
function q(...e) {
|
|
2300
|
-
return Ol(
|
|
2305
|
+
return Ol(qi(e));
|
|
2301
2306
|
}
|
|
2302
2307
|
const Rl = "[data-opencx-widget-content-root]";
|
|
2303
|
-
function
|
|
2304
|
-
|
|
2308
|
+
function Vr({
|
|
2309
|
+
minHeight: e
|
|
2305
2310
|
}) {
|
|
2306
2311
|
const t = tn(null);
|
|
2307
2312
|
return nn(() => {
|
|
@@ -2337,7 +2342,7 @@ const Dl = sn.Provider, vl = sn.Root, Pl = sn.Trigger, Ji = ge.forwardRef(({ cla
|
|
|
2337
2342
|
}
|
|
2338
2343
|
));
|
|
2339
2344
|
Ji.displayName = sn.Content.displayName;
|
|
2340
|
-
function
|
|
2345
|
+
function Nn({
|
|
2341
2346
|
children: e,
|
|
2342
2347
|
content: t,
|
|
2343
2348
|
side: n,
|
|
@@ -2715,7 +2720,7 @@ function St() {
|
|
|
2715
2720
|
const {
|
|
2716
2721
|
widgetCtx: { config: e }
|
|
2717
2722
|
} = rn();
|
|
2718
|
-
return
|
|
2723
|
+
return zr(() => {
|
|
2719
2724
|
const n = jl(e.language) ? e.language : "en";
|
|
2720
2725
|
return {
|
|
2721
2726
|
get: (r) => ql(r, n),
|
|
@@ -2744,7 +2749,7 @@ const Vl = 10, Wl = (e, t) => ({
|
|
|
2744
2749
|
left: Gl,
|
|
2745
2750
|
up: Ql,
|
|
2746
2751
|
down: Xl
|
|
2747
|
-
}, ie =
|
|
2752
|
+
}, ie = Yr(
|
|
2748
2753
|
({
|
|
2749
2754
|
fadeIn: e = "down",
|
|
2750
2755
|
distance: t = Vl,
|
|
@@ -2758,13 +2763,13 @@ const Vl = 10, Wl = (e, t) => ({
|
|
|
2758
2763
|
}
|
|
2759
2764
|
);
|
|
2760
2765
|
ie.displayName = "MotionDiv";
|
|
2761
|
-
const
|
|
2766
|
+
const Aa = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, ka = qi, $l = (e, t) => (n) => {
|
|
2762
2767
|
var r;
|
|
2763
|
-
if ((t == null ? void 0 : t.variants) == null) return
|
|
2768
|
+
if ((t == null ? void 0 : t.variants) == null) return ka(e, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
|
|
2764
2769
|
const { variants: a, defaultVariants: i } = t, o = Object.keys(a).map((c) => {
|
|
2765
2770
|
const d = n == null ? void 0 : n[c], h = i == null ? void 0 : i[c];
|
|
2766
2771
|
if (d === null) return null;
|
|
2767
|
-
const g =
|
|
2772
|
+
const g = Aa(d) || Aa(h);
|
|
2768
2773
|
return a[c][g];
|
|
2769
2774
|
}), u = n && Object.entries(n).reduce((c, d) => {
|
|
2770
2775
|
let [h, g] = d;
|
|
@@ -2786,8 +2791,8 @@ const Ca = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, _a =
|
|
|
2786
2791
|
g
|
|
2787
2792
|
] : c;
|
|
2788
2793
|
}, []);
|
|
2789
|
-
return
|
|
2790
|
-
},
|
|
2794
|
+
return ka(e, o, l, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
|
|
2795
|
+
}, In = {
|
|
2791
2796
|
x: 2,
|
|
2792
2797
|
y: 2
|
|
2793
2798
|
}, Jl = {
|
|
@@ -2796,7 +2801,7 @@ const Ca = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, _a =
|
|
|
2796
2801
|
"1.02": "scale-[1.02]",
|
|
2797
2802
|
"1.1": "scale-[1.1]"
|
|
2798
2803
|
}, Xe = xu(
|
|
2799
|
-
|
|
2804
|
+
Yr(
|
|
2800
2805
|
({ children: e, className: t, scale: n = "1.02", off: r = !1 }, a) => {
|
|
2801
2806
|
const [i, o] = Re(!1), [u, l] = Re({ x: 0, y: 0 });
|
|
2802
2807
|
if (r || /translate/.test(
|
|
@@ -2810,7 +2815,7 @@ const Ca = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, _a =
|
|
|
2810
2815
|
), H = Math.max(
|
|
2811
2816
|
-1,
|
|
2812
2817
|
Math.min(1, O / (_.height / 2))
|
|
2813
|
-
), I = P *
|
|
2818
|
+
), I = P * In.x, F = H * In.y;
|
|
2814
2819
|
l({ x: I, y: F }), (Q = (j = e.props).onMouseMove) == null || Q.call(j, E);
|
|
2815
2820
|
}, h = () => {
|
|
2816
2821
|
var E, y;
|
|
@@ -2894,7 +2899,7 @@ const Zl = $l(
|
|
|
2894
2899
|
) })
|
|
2895
2900
|
);
|
|
2896
2901
|
Se.displayName = "Button";
|
|
2897
|
-
const
|
|
2902
|
+
const Fn = () => {
|
|
2898
2903
|
const [e, t] = Re("ltr");
|
|
2899
2904
|
return nn(() => {
|
|
2900
2905
|
const n = () => {
|
|
@@ -2965,7 +2970,7 @@ function tc({
|
|
|
2965
2970
|
) : l === "audio" ? /* @__PURE__ */ b(Ru, {}) : l === "video" ? /* @__PURE__ */ b(Du, {}) : /* @__PURE__ */ b(vu, {});
|
|
2966
2971
|
};
|
|
2967
2972
|
return /* @__PURE__ */ b(
|
|
2968
|
-
|
|
2973
|
+
Nn,
|
|
2969
2974
|
{
|
|
2970
2975
|
side: "bottom",
|
|
2971
2976
|
content: e === "error" ? /* @__PURE__ */ z("span", { className: "text-destructive", children: [
|
|
@@ -3003,17 +3008,17 @@ function tc({
|
|
|
3003
3008
|
}
|
|
3004
3009
|
);
|
|
3005
3010
|
}
|
|
3006
|
-
const
|
|
3011
|
+
const Na = q("rounded-3xl");
|
|
3007
3012
|
function nc() {
|
|
3008
3013
|
var I;
|
|
3009
|
-
const e = tn(null), { sendMessage: t } = an(), { sessionState: n } =
|
|
3014
|
+
const e = tn(null), { sendMessage: t } = an(), { sessionState: n } = Mn(), r = St(), a = Fn(), [i, o] = Re(""), {
|
|
3010
3015
|
allFiles: u,
|
|
3011
3016
|
emptyTheFiles: l,
|
|
3012
3017
|
handleCancelUpload: c,
|
|
3013
3018
|
appendFiles: d,
|
|
3014
3019
|
isUploading: h,
|
|
3015
3020
|
successFiles: g
|
|
3016
|
-
} = Gu(), p = !!((I = n.session) != null && I.isHandedOff), { isAwaitingBotReply: E } =
|
|
3021
|
+
} = Gu(), p = !!((I = n.session) != null && I.isHandedOff), { isAwaitingBotReply: E } = Vi(), y = (F) => {
|
|
3017
3022
|
d(F);
|
|
3018
3023
|
}, A = !i.trim() && g.length === 0, _ = async () => {
|
|
3019
3024
|
if (E || A) return;
|
|
@@ -3064,7 +3069,7 @@ function nc() {
|
|
|
3064
3069
|
"div",
|
|
3065
3070
|
{
|
|
3066
3071
|
className: q(
|
|
3067
|
-
|
|
3072
|
+
Na,
|
|
3068
3073
|
"relative space-y-2 border transition-all shadow py-2"
|
|
3069
3074
|
),
|
|
3070
3075
|
children: [
|
|
@@ -3086,7 +3091,7 @@ function nc() {
|
|
|
3086
3091
|
rows: 3,
|
|
3087
3092
|
className: q(
|
|
3088
3093
|
/** Match the border radius of the container */
|
|
3089
|
-
|
|
3094
|
+
Na,
|
|
3090
3095
|
"w-full resize-none px-3",
|
|
3091
3096
|
"text-sm rtl:placeholder:text-right bg-transparent outline-none"
|
|
3092
3097
|
),
|
|
@@ -3099,7 +3104,7 @@ function nc() {
|
|
|
3099
3104
|
),
|
|
3100
3105
|
/* @__PURE__ */ z("div", { dir: a, className: "px-2 flex justify-between rtl:text-right", children: [
|
|
3101
3106
|
/* @__PURE__ */ b(
|
|
3102
|
-
|
|
3107
|
+
Nn,
|
|
3103
3108
|
{
|
|
3104
3109
|
side: "top",
|
|
3105
3110
|
align: "start",
|
|
@@ -3118,7 +3123,7 @@ function nc() {
|
|
|
3118
3123
|
)
|
|
3119
3124
|
}
|
|
3120
3125
|
),
|
|
3121
|
-
/* @__PURE__ */ b(
|
|
3126
|
+
/* @__PURE__ */ b(Nn, { content: "send message", side: "top", align: "end", children: /* @__PURE__ */ b(
|
|
3122
3127
|
Se,
|
|
3123
3128
|
{
|
|
3124
3129
|
size: "fit",
|
|
@@ -3146,7 +3151,7 @@ function rc() {
|
|
|
3146
3151
|
}
|
|
3147
3152
|
function ac() {
|
|
3148
3153
|
var o, u, l;
|
|
3149
|
-
const { sessionState: e } =
|
|
3154
|
+
const { sessionState: e } = Mn(), { messagesState: t, sendMessage: n } = an(), a = (u = (o = Bn().data) == null ? void 0 : o.data) == null ? void 0 : u.initialQuestions, i = t.messages.length === 0;
|
|
3150
3155
|
return /* @__PURE__ */ b("footer", { children: /* @__PURE__ */ b("div", { children: /* @__PURE__ */ b(ke, { mode: "wait", children: e.session && !((l = e.session) != null && l.isOpened) ? /* @__PURE__ */ b(
|
|
3151
3156
|
ie,
|
|
3152
3157
|
{
|
|
@@ -3342,7 +3347,7 @@ function ro() {
|
|
|
3342
3347
|
const {
|
|
3343
3348
|
routerState: { screen: e },
|
|
3344
3349
|
toSessionsScreen: t
|
|
3345
|
-
} = on(), { data: n, isLoading: r } =
|
|
3350
|
+
} = on(), { data: n, isLoading: r } = Bn(), a = Fn();
|
|
3346
3351
|
return /* @__PURE__ */ b("header", { className: "p-2 border-b bg-background", children: /* @__PURE__ */ z(
|
|
3347
3352
|
"div",
|
|
3348
3353
|
{
|
|
@@ -3385,7 +3390,7 @@ function Ec(e) {
|
|
|
3385
3390
|
var t;
|
|
3386
3391
|
return ((t = e == null ? void 0 : e[0]) == null ? void 0 : t.type) === "FROM_AGENT";
|
|
3387
3392
|
}
|
|
3388
|
-
function
|
|
3393
|
+
function Ia(e, t) {
|
|
3389
3394
|
const n = String(e);
|
|
3390
3395
|
if (typeof t != "string")
|
|
3391
3396
|
throw new TypeError("Expected character");
|
|
@@ -3395,14 +3400,14 @@ function ka(e, t) {
|
|
|
3395
3400
|
return r;
|
|
3396
3401
|
}
|
|
3397
3402
|
const Ce = at(/[A-Za-z]/), Ee = at(/[\dA-Za-z]/), wc = at(/[#-'*+\--9=?A-Z^-~]/);
|
|
3398
|
-
function
|
|
3403
|
+
function Sn(e) {
|
|
3399
3404
|
return (
|
|
3400
3405
|
// Special whitespace codes (which have negative values), C0 and Control
|
|
3401
3406
|
// character DEL
|
|
3402
3407
|
e !== null && (e < 32 || e === 127)
|
|
3403
3408
|
);
|
|
3404
3409
|
}
|
|
3405
|
-
const
|
|
3410
|
+
const Cr = at(/\d/), xc = at(/[\dA-Fa-f]/), Tc = at(/[!-/:-@[-`{-~]/);
|
|
3406
3411
|
function Y(e) {
|
|
3407
3412
|
return e !== null && e < -2;
|
|
3408
3413
|
}
|
|
@@ -3412,7 +3417,7 @@ function re(e) {
|
|
|
3412
3417
|
function K(e) {
|
|
3413
3418
|
return e === -2 || e === -1 || e === 32;
|
|
3414
3419
|
}
|
|
3415
|
-
const
|
|
3420
|
+
const Hn = at(new RegExp("\\p{P}|\\p{S}", "u")), ht = at(/\s/);
|
|
3416
3421
|
function at(e) {
|
|
3417
3422
|
return t;
|
|
3418
3423
|
function t(n) {
|
|
@@ -3424,7 +3429,7 @@ function yc(e) {
|
|
|
3424
3429
|
throw new TypeError("Expected a string");
|
|
3425
3430
|
return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
3426
3431
|
}
|
|
3427
|
-
const
|
|
3432
|
+
const Un = (
|
|
3428
3433
|
// Note: overloads in JSDoc can’t yet use different `@template`s.
|
|
3429
3434
|
/**
|
|
3430
3435
|
* @type {(
|
|
@@ -3443,7 +3448,7 @@ const Hn = (
|
|
|
3443
3448
|
if (e == null)
|
|
3444
3449
|
return kc;
|
|
3445
3450
|
if (typeof e == "function")
|
|
3446
|
-
return
|
|
3451
|
+
return zn(e);
|
|
3447
3452
|
if (typeof e == "object")
|
|
3448
3453
|
return Array.isArray(e) ? Cc(e) : _c(e);
|
|
3449
3454
|
if (typeof e == "string")
|
|
@@ -3455,8 +3460,8 @@ function Cc(e) {
|
|
|
3455
3460
|
const t = [];
|
|
3456
3461
|
let n = -1;
|
|
3457
3462
|
for (; ++n < e.length; )
|
|
3458
|
-
t[n] =
|
|
3459
|
-
return
|
|
3463
|
+
t[n] = Un(e[n]);
|
|
3464
|
+
return zn(r);
|
|
3460
3465
|
function r(...a) {
|
|
3461
3466
|
let i = -1;
|
|
3462
3467
|
for (; ++i < t.length; )
|
|
@@ -3469,7 +3474,7 @@ function _c(e) {
|
|
|
3469
3474
|
/** @type {Record<string, unknown>} */
|
|
3470
3475
|
e
|
|
3471
3476
|
);
|
|
3472
|
-
return
|
|
3477
|
+
return zn(n);
|
|
3473
3478
|
function n(r) {
|
|
3474
3479
|
const a = (
|
|
3475
3480
|
/** @type {Record<string, unknown>} */
|
|
@@ -3483,12 +3488,12 @@ function _c(e) {
|
|
|
3483
3488
|
}
|
|
3484
3489
|
}
|
|
3485
3490
|
function Ac(e) {
|
|
3486
|
-
return
|
|
3491
|
+
return zn(t);
|
|
3487
3492
|
function t(n) {
|
|
3488
3493
|
return n && n.type === e;
|
|
3489
3494
|
}
|
|
3490
3495
|
}
|
|
3491
|
-
function
|
|
3496
|
+
function zn(e) {
|
|
3492
3497
|
return t;
|
|
3493
3498
|
function t(n, r, a) {
|
|
3494
3499
|
return !!(Nc(n) && e.call(
|
|
@@ -3505,11 +3510,11 @@ function kc() {
|
|
|
3505
3510
|
function Nc(e) {
|
|
3506
3511
|
return e !== null && typeof e == "object" && "type" in e;
|
|
3507
3512
|
}
|
|
3508
|
-
const ao = [], Ic = !0,
|
|
3513
|
+
const ao = [], Ic = !0, _r = !1, Sc = "skip";
|
|
3509
3514
|
function io(e, t, n, r) {
|
|
3510
3515
|
let a;
|
|
3511
3516
|
typeof t == "function" && typeof n != "function" ? (r = n, n = t) : a = t;
|
|
3512
|
-
const i =
|
|
3517
|
+
const i = Un(a), o = r ? -1 : 1;
|
|
3513
3518
|
u(e, void 0, [])();
|
|
3514
3519
|
function u(l, c, d) {
|
|
3515
3520
|
const h = (
|
|
@@ -3531,7 +3536,7 @@ function io(e, t, n, r) {
|
|
|
3531
3536
|
return g;
|
|
3532
3537
|
function g() {
|
|
3533
3538
|
let p = ao, E, y, A;
|
|
3534
|
-
if ((!t || i(l, c, d[d.length - 1] || void 0)) && (p = Lc(n(l, d)), p[0] ===
|
|
3539
|
+
if ((!t || i(l, c, d[d.length - 1] || void 0)) && (p = Lc(n(l, d)), p[0] === _r))
|
|
3535
3540
|
return p;
|
|
3536
3541
|
if ("children" in l && l.children) {
|
|
3537
3542
|
const _ = (
|
|
@@ -3541,7 +3546,7 @@ function io(e, t, n, r) {
|
|
|
3541
3546
|
if (_.children && p[0] !== Sc)
|
|
3542
3547
|
for (y = (r ? _.children.length : -1) + o, A = d.concat(_); y > -1 && y < _.children.length; ) {
|
|
3543
3548
|
const L = _.children[y];
|
|
3544
|
-
if (E = u(L, y, A)(), E[0] ===
|
|
3549
|
+
if (E = u(L, y, A)(), E[0] === _r)
|
|
3545
3550
|
return E;
|
|
3546
3551
|
y = typeof E[1] == "number" ? E[1] : y + o;
|
|
3547
3552
|
}
|
|
@@ -3554,7 +3559,7 @@ function Lc(e) {
|
|
|
3554
3559
|
return Array.isArray(e) ? e : typeof e == "number" ? [Ic, e] : e == null ? ao : [e];
|
|
3555
3560
|
}
|
|
3556
3561
|
function Oc(e, t, n) {
|
|
3557
|
-
const a =
|
|
3562
|
+
const a = Un((n || {}).ignore || []), i = Rc(t);
|
|
3558
3563
|
let o = -1;
|
|
3559
3564
|
for (; ++o < i.length; )
|
|
3560
3565
|
io(e, "text", u);
|
|
@@ -3617,15 +3622,15 @@ function vc(e) {
|
|
|
3617
3622
|
return e;
|
|
3618
3623
|
};
|
|
3619
3624
|
}
|
|
3620
|
-
const
|
|
3625
|
+
const nr = "phrasing", rr = ["autolink", "link", "image", "label"];
|
|
3621
3626
|
function Pc() {
|
|
3622
3627
|
return {
|
|
3623
3628
|
transforms: [Yc],
|
|
3624
3629
|
enter: {
|
|
3625
3630
|
literalAutolink: Bc,
|
|
3626
|
-
literalAutolinkEmail:
|
|
3627
|
-
literalAutolinkHttp:
|
|
3628
|
-
literalAutolinkWww:
|
|
3631
|
+
literalAutolinkEmail: ar,
|
|
3632
|
+
literalAutolinkHttp: ar,
|
|
3633
|
+
literalAutolinkWww: ar
|
|
3629
3634
|
},
|
|
3630
3635
|
exit: {
|
|
3631
3636
|
literalAutolink: zc,
|
|
@@ -3642,22 +3647,22 @@ function Mc() {
|
|
|
3642
3647
|
character: "@",
|
|
3643
3648
|
before: "[+\\-.\\w]",
|
|
3644
3649
|
after: "[\\-.\\w]",
|
|
3645
|
-
inConstruct:
|
|
3646
|
-
notInConstruct:
|
|
3650
|
+
inConstruct: nr,
|
|
3651
|
+
notInConstruct: rr
|
|
3647
3652
|
},
|
|
3648
3653
|
{
|
|
3649
3654
|
character: ".",
|
|
3650
3655
|
before: "[Ww]",
|
|
3651
3656
|
after: "[\\-.\\w]",
|
|
3652
|
-
inConstruct:
|
|
3653
|
-
notInConstruct:
|
|
3657
|
+
inConstruct: nr,
|
|
3658
|
+
notInConstruct: rr
|
|
3654
3659
|
},
|
|
3655
3660
|
{
|
|
3656
3661
|
character: ":",
|
|
3657
3662
|
before: "[ps]",
|
|
3658
3663
|
after: "\\/",
|
|
3659
|
-
inConstruct:
|
|
3660
|
-
notInConstruct:
|
|
3664
|
+
inConstruct: nr,
|
|
3665
|
+
notInConstruct: rr
|
|
3661
3666
|
}
|
|
3662
3667
|
]
|
|
3663
3668
|
};
|
|
@@ -3665,7 +3670,7 @@ function Mc() {
|
|
|
3665
3670
|
function Bc(e) {
|
|
3666
3671
|
this.enter({ type: "link", title: null, url: "", children: [] }, e);
|
|
3667
3672
|
}
|
|
3668
|
-
function
|
|
3673
|
+
function ar(e) {
|
|
3669
3674
|
this.config.enter.autolinkProtocol.call(this, e);
|
|
3670
3675
|
}
|
|
3671
3676
|
function Fc(e) {
|
|
@@ -3728,15 +3733,15 @@ function Wc(e) {
|
|
|
3728
3733
|
return [e, void 0];
|
|
3729
3734
|
e = e.slice(0, t.index);
|
|
3730
3735
|
let n = t[0], r = n.indexOf(")");
|
|
3731
|
-
const a =
|
|
3732
|
-
let i =
|
|
3736
|
+
const a = Ia(e, "(");
|
|
3737
|
+
let i = Ia(e, ")");
|
|
3733
3738
|
for (; r !== -1 && a > i; )
|
|
3734
3739
|
e += n.slice(0, r + 1), n = n.slice(r + 1), r = n.indexOf(")"), i++;
|
|
3735
3740
|
return [e, n];
|
|
3736
3741
|
}
|
|
3737
3742
|
function oo(e, t) {
|
|
3738
3743
|
const n = e.input.charCodeAt(e.index - 1);
|
|
3739
|
-
return (e.index === 0 || ht(n) ||
|
|
3744
|
+
return (e.index === 0 || ht(n) || Hn(n)) && // If it’s an email, the previous character should not be a slash.
|
|
3740
3745
|
(!t || n !== 47);
|
|
3741
3746
|
}
|
|
3742
3747
|
function Be(e) {
|
|
@@ -3898,9 +3903,9 @@ function hd(e, t = {}) {
|
|
|
3898
3903
|
let d = -1;
|
|
3899
3904
|
if (typeof n == "object" && "length" in n)
|
|
3900
3905
|
for (; ++d < l; )
|
|
3901
|
-
a[d] =
|
|
3906
|
+
a[d] = Sa(n[d]);
|
|
3902
3907
|
else {
|
|
3903
|
-
const E =
|
|
3908
|
+
const E = Sa(n);
|
|
3904
3909
|
for (; ++d < l; )
|
|
3905
3910
|
a[d] = E;
|
|
3906
3911
|
}
|
|
@@ -3947,19 +3952,19 @@ function pd(e) {
|
|
|
3947
3952
|
function fd(e) {
|
|
3948
3953
|
return e.length;
|
|
3949
3954
|
}
|
|
3950
|
-
function
|
|
3955
|
+
function Sa(e) {
|
|
3951
3956
|
const t = typeof e == "string" ? e.codePointAt(0) : 0;
|
|
3952
3957
|
return t === 67 || t === 99 ? 99 : t === 76 || t === 108 ? 108 : t === 82 || t === 114 ? 114 : 0;
|
|
3953
3958
|
}
|
|
3954
|
-
const
|
|
3959
|
+
const La = {}.hasOwnProperty;
|
|
3955
3960
|
function lo(e, t) {
|
|
3956
3961
|
const n = t || {};
|
|
3957
3962
|
function r(a, ...i) {
|
|
3958
3963
|
let o = r.invalid;
|
|
3959
3964
|
const u = r.handlers;
|
|
3960
|
-
if (a &&
|
|
3965
|
+
if (a && La.call(a, e)) {
|
|
3961
3966
|
const l = String(a[e]);
|
|
3962
|
-
o =
|
|
3967
|
+
o = La.call(u, l) ? u[l] : r.unknown;
|
|
3963
3968
|
}
|
|
3964
3969
|
if (o)
|
|
3965
3970
|
return o.call(this, a, ...i);
|
|
@@ -3979,9 +3984,9 @@ function gd(e, t, n) {
|
|
|
3979
3984
|
return ">" + (n ? "" : " ") + e;
|
|
3980
3985
|
}
|
|
3981
3986
|
function bd(e, t) {
|
|
3982
|
-
return
|
|
3987
|
+
return Oa(e, t.inConstruct, !0) && !Oa(e, t.notInConstruct, !1);
|
|
3983
3988
|
}
|
|
3984
|
-
function
|
|
3989
|
+
function Oa(e, t, n) {
|
|
3985
3990
|
if (typeof t == "string" && (t = [t]), !t || t.length === 0)
|
|
3986
3991
|
return n;
|
|
3987
3992
|
let r = -1;
|
|
@@ -3990,7 +3995,7 @@ function Sa(e, t, n) {
|
|
|
3990
3995
|
return !0;
|
|
3991
3996
|
return !1;
|
|
3992
3997
|
}
|
|
3993
|
-
function
|
|
3998
|
+
function Ra(e, t, n, r) {
|
|
3994
3999
|
let a = -1;
|
|
3995
4000
|
for (; ++a < n.unsafe.length; )
|
|
3996
4001
|
if (n.unsafe[a].character === `
|
|
@@ -4060,7 +4065,7 @@ function Td(e, t, n, r) {
|
|
|
4060
4065
|
function yd(e, t, n) {
|
|
4061
4066
|
return (n ? "" : " ") + e;
|
|
4062
4067
|
}
|
|
4063
|
-
function
|
|
4068
|
+
function Wr(e) {
|
|
4064
4069
|
const t = e.options.quote || '"';
|
|
4065
4070
|
if (t !== '"' && t !== "'")
|
|
4066
4071
|
throw new Error(
|
|
@@ -4069,7 +4074,7 @@ function Vr(e) {
|
|
|
4069
4074
|
return t;
|
|
4070
4075
|
}
|
|
4071
4076
|
function Cd(e, t, n, r) {
|
|
4072
|
-
const a =
|
|
4077
|
+
const a = Wr(n), i = a === '"' ? "Quote" : "Apostrophe", o = n.enter("definition");
|
|
4073
4078
|
let u = n.enter("label");
|
|
4074
4079
|
const l = n.createTracker(r);
|
|
4075
4080
|
let c = l.move("[");
|
|
@@ -4121,7 +4126,7 @@ function co(e, t, n, r) {
|
|
|
4121
4126
|
function Ad(e, t, n) {
|
|
4122
4127
|
return n.options.emphasis || "*";
|
|
4123
4128
|
}
|
|
4124
|
-
function
|
|
4129
|
+
function Yn(e, t, n, r) {
|
|
4125
4130
|
let a, i, o;
|
|
4126
4131
|
typeof t == "function" && typeof n != "function" ? (i = void 0, o = t, a = n) : (i = t, o = n, a = r), io(e, i, u, a);
|
|
4127
4132
|
function u(l, c) {
|
|
@@ -4130,7 +4135,7 @@ function zn(e, t, n, r) {
|
|
|
4130
4135
|
}
|
|
4131
4136
|
}
|
|
4132
4137
|
const kd = {};
|
|
4133
|
-
function
|
|
4138
|
+
function Gr(e, t) {
|
|
4134
4139
|
const n = kd, r = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, a = typeof n.includeHtml == "boolean" ? n.includeHtml : !0;
|
|
4135
4140
|
return ho(e, r, a);
|
|
4136
4141
|
}
|
|
@@ -4141,11 +4146,11 @@ function ho(e, t, n) {
|
|
|
4141
4146
|
if (t && "alt" in e && e.alt)
|
|
4142
4147
|
return e.alt;
|
|
4143
4148
|
if ("children" in e)
|
|
4144
|
-
return
|
|
4149
|
+
return Da(e.children, t, n);
|
|
4145
4150
|
}
|
|
4146
|
-
return Array.isArray(e) ?
|
|
4151
|
+
return Array.isArray(e) ? Da(e, t, n) : "";
|
|
4147
4152
|
}
|
|
4148
|
-
function
|
|
4153
|
+
function Da(e, t, n) {
|
|
4149
4154
|
const r = [];
|
|
4150
4155
|
let a = -1;
|
|
4151
4156
|
for (; ++a < e.length; )
|
|
@@ -4157,10 +4162,10 @@ function Nd(e) {
|
|
|
4157
4162
|
}
|
|
4158
4163
|
function Id(e, t) {
|
|
4159
4164
|
let n = !1;
|
|
4160
|
-
return
|
|
4165
|
+
return Yn(e, function(r) {
|
|
4161
4166
|
if ("value" in r && /\r?\n|\r/.test(r.value) || r.type === "break")
|
|
4162
|
-
return n = !0,
|
|
4163
|
-
}), !!((!e.depth || e.depth < 3) &&
|
|
4167
|
+
return n = !0, _r;
|
|
4168
|
+
}), !!((!e.depth || e.depth < 3) && Gr(e) && (t.options.setext || n));
|
|
4164
4169
|
}
|
|
4165
4170
|
function Sd(e, t, n, r) {
|
|
4166
4171
|
const a = Math.max(Math.min(6, e.depth || 1), 1), i = n.createTracker(r);
|
|
@@ -4200,7 +4205,7 @@ function Ld() {
|
|
|
4200
4205
|
}
|
|
4201
4206
|
fo.peek = Od;
|
|
4202
4207
|
function fo(e, t, n, r) {
|
|
4203
|
-
const a =
|
|
4208
|
+
const a = Wr(n), i = a === '"' ? "Quote" : "Apostrophe", o = n.enter("image");
|
|
4204
4209
|
let u = n.enter("label");
|
|
4205
4210
|
const l = n.createTracker(r);
|
|
4206
4211
|
let c = l.move("![");
|
|
@@ -4271,7 +4276,7 @@ function Dd() {
|
|
|
4271
4276
|
return "`";
|
|
4272
4277
|
}
|
|
4273
4278
|
function bo(e, t) {
|
|
4274
|
-
const n =
|
|
4279
|
+
const n = Gr(e);
|
|
4275
4280
|
return !!(!t.options.resourceLink && // If there’s a url…
|
|
4276
4281
|
e.url && // And there’s a no title…
|
|
4277
4282
|
!e.title && // And the content of `node` is a single text node…
|
|
@@ -4283,7 +4288,7 @@ function bo(e, t) {
|
|
|
4283
4288
|
}
|
|
4284
4289
|
Eo.peek = vd;
|
|
4285
4290
|
function Eo(e, t, n, r) {
|
|
4286
|
-
const a =
|
|
4291
|
+
const a = Wr(n), i = a === '"' ? "Quote" : "Apostrophe", o = n.createTracker(r);
|
|
4287
4292
|
let u, l;
|
|
4288
4293
|
if (bo(e, n)) {
|
|
4289
4294
|
const d = n.stack;
|
|
@@ -4350,7 +4355,7 @@ function wo(e, t, n, r) {
|
|
|
4350
4355
|
function Pd() {
|
|
4351
4356
|
return "[";
|
|
4352
4357
|
}
|
|
4353
|
-
function
|
|
4358
|
+
function Qr(e) {
|
|
4354
4359
|
const t = e.options.bullet || "*";
|
|
4355
4360
|
if (t !== "*" && t !== "+" && t !== "-")
|
|
4356
4361
|
throw new Error(
|
|
@@ -4359,7 +4364,7 @@ function Gr(e) {
|
|
|
4359
4364
|
return t;
|
|
4360
4365
|
}
|
|
4361
4366
|
function Md(e) {
|
|
4362
|
-
const t =
|
|
4367
|
+
const t = Qr(e), n = e.options.bulletOther;
|
|
4363
4368
|
if (!n)
|
|
4364
4369
|
return t === "*" ? "-" : "*";
|
|
4365
4370
|
if (n !== "*" && n !== "+" && n !== "-")
|
|
@@ -4390,7 +4395,7 @@ function xo(e) {
|
|
|
4390
4395
|
}
|
|
4391
4396
|
function Fd(e, t, n, r) {
|
|
4392
4397
|
const a = n.enter("list"), i = n.bulletCurrent;
|
|
4393
|
-
let o = e.ordered ? Bd(n) :
|
|
4398
|
+
let o = e.ordered ? Bd(n) : Qr(n);
|
|
4394
4399
|
const u = e.ordered ? o === "." ? ")" : "." : Md(n);
|
|
4395
4400
|
let l = t && n.bulletLastUsed ? o === n.bulletLastUsed : !1;
|
|
4396
4401
|
if (!e.ordered) {
|
|
@@ -4426,7 +4431,7 @@ function Hd(e) {
|
|
|
4426
4431
|
}
|
|
4427
4432
|
function Ud(e, t, n, r) {
|
|
4428
4433
|
const a = Hd(n);
|
|
4429
|
-
let i = n.bulletCurrent ||
|
|
4434
|
+
let i = n.bulletCurrent || Qr(n);
|
|
4430
4435
|
t && t.type === "list" && t.ordered && (i = (typeof t.start == "number" && t.start > -1 ? t.start : 1) + (n.options.incrementListMarker === !1 ? 0 : t.children.indexOf(e)) + i);
|
|
4431
4436
|
let o = i.length + 1;
|
|
4432
4437
|
(a === "tab" || a === "mixed" && (t && t.type === "list" && t.spread || e.spread)) && (o = Math.ceil(o / 4) * 4);
|
|
@@ -4447,7 +4452,7 @@ function zd(e, t, n, r) {
|
|
|
4447
4452
|
}
|
|
4448
4453
|
const Yd = (
|
|
4449
4454
|
/** @type {(node?: unknown) => node is Exclude<PhrasingContent, Html>} */
|
|
4450
|
-
|
|
4455
|
+
Un([
|
|
4451
4456
|
"break",
|
|
4452
4457
|
"delete",
|
|
4453
4458
|
"emphasis",
|
|
@@ -4516,11 +4521,11 @@ function Qd(e, t, n) {
|
|
|
4516
4521
|
}
|
|
4517
4522
|
const yo = {
|
|
4518
4523
|
blockquote: md,
|
|
4519
|
-
break:
|
|
4524
|
+
break: Ra,
|
|
4520
4525
|
code: Td,
|
|
4521
4526
|
definition: Cd,
|
|
4522
4527
|
emphasis: co,
|
|
4523
|
-
hardBreak:
|
|
4528
|
+
hardBreak: Ra,
|
|
4524
4529
|
heading: Sd,
|
|
4525
4530
|
html: po,
|
|
4526
4531
|
image: fo,
|
|
@@ -4535,11 +4540,11 @@ const yo = {
|
|
|
4535
4540
|
strong: To,
|
|
4536
4541
|
text: Wd,
|
|
4537
4542
|
thematicBreak: Qd
|
|
4538
|
-
},
|
|
4539
|
-
function
|
|
4543
|
+
}, va = document.createElement("i");
|
|
4544
|
+
function Xr(e) {
|
|
4540
4545
|
const t = "&" + e + ";";
|
|
4541
|
-
|
|
4542
|
-
const n =
|
|
4546
|
+
va.innerHTML = t;
|
|
4547
|
+
const n = va.textContent;
|
|
4543
4548
|
return n.charCodeAt(n.length - 1) === 59 && e !== "semi" || n === t ? !1 : n;
|
|
4544
4549
|
}
|
|
4545
4550
|
function Co(e, t) {
|
|
@@ -4566,22 +4571,22 @@ function $d(e, t, n) {
|
|
|
4566
4571
|
const a = n.charCodeAt(1), i = a === 120 || a === 88;
|
|
4567
4572
|
return Co(n.slice(i ? 2 : 1), i ? 16 : 10);
|
|
4568
4573
|
}
|
|
4569
|
-
return
|
|
4574
|
+
return Xr(n) || e;
|
|
4570
4575
|
}
|
|
4571
4576
|
function Jd() {
|
|
4572
4577
|
return {
|
|
4573
4578
|
enter: {
|
|
4574
4579
|
table: Zd,
|
|
4575
|
-
tableData:
|
|
4576
|
-
tableHeader:
|
|
4580
|
+
tableData: Pa,
|
|
4581
|
+
tableHeader: Pa,
|
|
4577
4582
|
tableRow: t0
|
|
4578
4583
|
},
|
|
4579
4584
|
exit: {
|
|
4580
4585
|
codeText: n0,
|
|
4581
4586
|
table: e0,
|
|
4582
|
-
tableData:
|
|
4583
|
-
tableHeader:
|
|
4584
|
-
tableRow:
|
|
4587
|
+
tableData: ir,
|
|
4588
|
+
tableHeader: ir,
|
|
4589
|
+
tableRow: ir
|
|
4585
4590
|
}
|
|
4586
4591
|
};
|
|
4587
4592
|
}
|
|
@@ -4604,10 +4609,10 @@ function e0(e) {
|
|
|
4604
4609
|
function t0(e) {
|
|
4605
4610
|
this.enter({ type: "tableRow", children: [] }, e);
|
|
4606
4611
|
}
|
|
4607
|
-
function
|
|
4612
|
+
function ir(e) {
|
|
4608
4613
|
this.exit(e);
|
|
4609
4614
|
}
|
|
4610
|
-
function
|
|
4615
|
+
function Pa(e) {
|
|
4611
4616
|
this.enter({ type: "tableCell", children: [] }, e);
|
|
4612
4617
|
}
|
|
4613
4618
|
function n0(e) {
|
|
@@ -4699,8 +4704,8 @@ function a0(e) {
|
|
|
4699
4704
|
function i0() {
|
|
4700
4705
|
return {
|
|
4701
4706
|
exit: {
|
|
4702
|
-
taskListCheckValueChecked:
|
|
4703
|
-
taskListCheckValueUnchecked:
|
|
4707
|
+
taskListCheckValueChecked: Ma,
|
|
4708
|
+
taskListCheckValueUnchecked: Ma,
|
|
4704
4709
|
paragraph: s0
|
|
4705
4710
|
}
|
|
4706
4711
|
};
|
|
@@ -4711,7 +4716,7 @@ function o0() {
|
|
|
4711
4716
|
handlers: { listItem: u0 }
|
|
4712
4717
|
};
|
|
4713
4718
|
}
|
|
4714
|
-
function
|
|
4719
|
+
function Ma(e) {
|
|
4715
4720
|
const t = this.stack[this.stack.length - 2];
|
|
4716
4721
|
t.type, t.checked = e.type === "taskListCheckValueChecked";
|
|
4717
4722
|
}
|
|
@@ -4780,7 +4785,7 @@ function De(e, t, n, r) {
|
|
|
4780
4785
|
function Le(e, t) {
|
|
4781
4786
|
return e.length > 0 ? (De(e, e.length, 0, t), e) : t;
|
|
4782
4787
|
}
|
|
4783
|
-
const
|
|
4788
|
+
const Ba = {}.hasOwnProperty;
|
|
4784
4789
|
function _o(e) {
|
|
4785
4790
|
const t = {};
|
|
4786
4791
|
let n = -1;
|
|
@@ -4791,11 +4796,11 @@ function _o(e) {
|
|
|
4791
4796
|
function d0(e, t) {
|
|
4792
4797
|
let n;
|
|
4793
4798
|
for (n in t) {
|
|
4794
|
-
const a = (
|
|
4799
|
+
const a = (Ba.call(e, n) ? e[n] : void 0) || (e[n] = {}), i = t[n];
|
|
4795
4800
|
let o;
|
|
4796
4801
|
if (i)
|
|
4797
4802
|
for (o in i) {
|
|
4798
|
-
|
|
4803
|
+
Ba.call(a, o) || (a[o] = []);
|
|
4799
4804
|
const u = i[o];
|
|
4800
4805
|
h0(
|
|
4801
4806
|
// @ts-expect-error Looks like a list.
|
|
@@ -4861,10 +4866,10 @@ function g0(e, t, n) {
|
|
|
4861
4866
|
let a, i;
|
|
4862
4867
|
return o;
|
|
4863
4868
|
function o(h) {
|
|
4864
|
-
return !
|
|
4869
|
+
return !Ar(h) || !Ro.call(r, r.previous) || Kr(r.events) ? n(h) : (e.enter("literalAutolink"), e.enter("literalAutolinkEmail"), u(h));
|
|
4865
4870
|
}
|
|
4866
4871
|
function u(h) {
|
|
4867
|
-
return
|
|
4872
|
+
return Ar(h) ? (e.consume(h), u) : h === 64 ? (e.consume(h), l) : n(h);
|
|
4868
4873
|
}
|
|
4869
4874
|
function l(h) {
|
|
4870
4875
|
return h === 46 ? e.check(f0, d, c)(h) : h === 45 || h === 95 || Ee(h) ? (i = !0, e.consume(h), l) : d(h);
|
|
@@ -4880,7 +4885,7 @@ function b0(e, t, n) {
|
|
|
4880
4885
|
const r = this;
|
|
4881
4886
|
return a;
|
|
4882
4887
|
function a(o) {
|
|
4883
|
-
return o !== 87 && o !== 119 || !Lo.call(r, r.previous) ||
|
|
4888
|
+
return o !== 87 && o !== 119 || !Lo.call(r, r.previous) || Kr(r.events) ? n(o) : (e.enter("literalAutolink"), e.enter("literalAutolinkWww"), e.check(p0, e.attempt(Ao, e.attempt(ko, i), n), n)(o));
|
|
4884
4889
|
}
|
|
4885
4890
|
function i(o) {
|
|
4886
4891
|
return e.exit("literalAutolinkWww"), e.exit("literalAutolink"), t(o);
|
|
@@ -4891,7 +4896,7 @@ function E0(e, t, n) {
|
|
|
4891
4896
|
let a = "", i = !1;
|
|
4892
4897
|
return o;
|
|
4893
4898
|
function o(h) {
|
|
4894
|
-
return (h === 72 || h === 104) && Oo.call(r, r.previous) && !
|
|
4899
|
+
return (h === 72 || h === 104) && Oo.call(r, r.previous) && !Kr(r.events) ? (e.enter("literalAutolink"), e.enter("literalAutolinkHttp"), a += String.fromCodePoint(h), e.consume(h), u) : n(h);
|
|
4895
4900
|
}
|
|
4896
4901
|
function u(h) {
|
|
4897
4902
|
if (Ce(h) && a.length < 5)
|
|
@@ -4907,7 +4912,7 @@ function E0(e, t, n) {
|
|
|
4907
4912
|
return h === 47 ? (e.consume(h), i ? c : (i = !0, l)) : n(h);
|
|
4908
4913
|
}
|
|
4909
4914
|
function c(h) {
|
|
4910
|
-
return h === null ||
|
|
4915
|
+
return h === null || Sn(h) || re(h) || ht(h) || Hn(h) ? n(h) : e.attempt(Ao, e.attempt(ko, d), n)(h);
|
|
4911
4916
|
}
|
|
4912
4917
|
function d(h) {
|
|
4913
4918
|
return e.exit("literalAutolinkHttp"), e.exit("literalAutolink"), t(h);
|
|
@@ -4927,7 +4932,7 @@ function x0(e, t, n) {
|
|
|
4927
4932
|
let r, a, i;
|
|
4928
4933
|
return o;
|
|
4929
4934
|
function o(c) {
|
|
4930
|
-
return c === 46 || c === 95 ? e.check(No, l, u)(c) : c === null || re(c) || ht(c) || c !== 45 &&
|
|
4935
|
+
return c === 46 || c === 95 ? e.check(No, l, u)(c) : c === null || re(c) || ht(c) || c !== 45 && Hn(c) ? l(c) : (i = !0, e.consume(c), o);
|
|
4931
4936
|
}
|
|
4932
4937
|
function u(c) {
|
|
4933
4938
|
return c === 95 ? r = !0 : (a = r, r = void 0), e.consume(c), o;
|
|
@@ -4981,12 +4986,12 @@ function Oo(e) {
|
|
|
4981
4986
|
return !Ce(e);
|
|
4982
4987
|
}
|
|
4983
4988
|
function Ro(e) {
|
|
4984
|
-
return !(e === 47 ||
|
|
4989
|
+
return !(e === 47 || Ar(e));
|
|
4985
4990
|
}
|
|
4986
|
-
function
|
|
4991
|
+
function Ar(e) {
|
|
4987
4992
|
return e === 43 || e === 45 || e === 46 || e === 95 || Ee(e);
|
|
4988
4993
|
}
|
|
4989
|
-
function
|
|
4994
|
+
function Kr(e) {
|
|
4990
4995
|
let t = e.length, n = !1;
|
|
4991
4996
|
for (; t--; ) {
|
|
4992
4997
|
const r = e[t][1];
|
|
@@ -5020,13 +5025,13 @@ function Lt(e) {
|
|
|
5020
5025
|
}
|
|
5021
5026
|
return t.join("") + e.slice(r);
|
|
5022
5027
|
}
|
|
5023
|
-
function
|
|
5028
|
+
function Ln(e) {
|
|
5024
5029
|
if (e === null || re(e) || ht(e))
|
|
5025
5030
|
return 1;
|
|
5026
|
-
if (
|
|
5031
|
+
if (Hn(e))
|
|
5027
5032
|
return 2;
|
|
5028
5033
|
}
|
|
5029
|
-
function
|
|
5034
|
+
function jn(e, t, n) {
|
|
5030
5035
|
const r = [];
|
|
5031
5036
|
let a = -1;
|
|
5032
5037
|
for (; ++a < e.length; ) {
|
|
@@ -5035,7 +5040,7 @@ function Yn(e, t, n) {
|
|
|
5035
5040
|
}
|
|
5036
5041
|
return t;
|
|
5037
5042
|
}
|
|
5038
|
-
const
|
|
5043
|
+
const kr = {
|
|
5039
5044
|
name: "attention",
|
|
5040
5045
|
tokenize: A0,
|
|
5041
5046
|
resolveAll: _0
|
|
@@ -5051,7 +5056,7 @@ function _0(e, t) {
|
|
|
5051
5056
|
continue;
|
|
5052
5057
|
l = e[r][1].end.offset - e[r][1].start.offset > 1 && e[n][1].end.offset - e[n][1].start.offset > 1 ? 2 : 1;
|
|
5053
5058
|
const h = Object.assign({}, e[r][1].end), g = Object.assign({}, e[n][1].start);
|
|
5054
|
-
|
|
5059
|
+
Fa(h, -l), Fa(g, l), o = {
|
|
5055
5060
|
type: l > 1 ? "strongSequence" : "emphasisSequence",
|
|
5056
5061
|
start: h,
|
|
5057
5062
|
end: Object.assign({}, e[r][1].end)
|
|
@@ -5067,7 +5072,7 @@ function _0(e, t) {
|
|
|
5067
5072
|
type: l > 1 ? "strong" : "emphasis",
|
|
5068
5073
|
start: Object.assign({}, o.start),
|
|
5069
5074
|
end: Object.assign({}, u.end)
|
|
5070
|
-
}, e[r][1].end = Object.assign({}, o.start), e[n][1].start = Object.assign({}, u.end), c = [], e[r][1].end.offset - e[r][1].start.offset && (c = Le(c, [["enter", e[r][1], t], ["exit", e[r][1], t]])), c = Le(c, [["enter", a, t], ["enter", o, t], ["exit", o, t], ["enter", i, t]]), c = Le(c,
|
|
5075
|
+
}, e[r][1].end = Object.assign({}, o.start), e[n][1].start = Object.assign({}, u.end), c = [], e[r][1].end.offset - e[r][1].start.offset && (c = Le(c, [["enter", e[r][1], t], ["exit", e[r][1], t]])), c = Le(c, [["enter", a, t], ["enter", o, t], ["exit", o, t], ["enter", i, t]]), c = Le(c, jn(t.parser.constructs.insideSpan.null, e.slice(r + 1, n), t)), c = Le(c, [["exit", i, t], ["enter", u, t], ["exit", u, t], ["exit", a, t]]), e[n][1].end.offset - e[n][1].start.offset ? (d = 2, c = Le(c, [["enter", e[n][1], t], ["exit", e[n][1], t]])) : d = 0, De(e, r - 1, n - r + 3, c), n = r + c.length - d - 2;
|
|
5071
5076
|
break;
|
|
5072
5077
|
}
|
|
5073
5078
|
}
|
|
@@ -5076,7 +5081,7 @@ function _0(e, t) {
|
|
|
5076
5081
|
return e;
|
|
5077
5082
|
}
|
|
5078
5083
|
function A0(e, t) {
|
|
5079
|
-
const n = this.parser.constructs.attentionMarkers.null, r = this.previous, a =
|
|
5084
|
+
const n = this.parser.constructs.attentionMarkers.null, r = this.previous, a = Ln(r);
|
|
5080
5085
|
let i;
|
|
5081
5086
|
return o;
|
|
5082
5087
|
function o(l) {
|
|
@@ -5085,11 +5090,11 @@ function A0(e, t) {
|
|
|
5085
5090
|
function u(l) {
|
|
5086
5091
|
if (l === i)
|
|
5087
5092
|
return e.consume(l), u;
|
|
5088
|
-
const c = e.exit("attentionSequence"), d =
|
|
5093
|
+
const c = e.exit("attentionSequence"), d = Ln(l), h = !d || d === 2 && a || n.includes(l), g = !a || a === 2 && d || n.includes(r);
|
|
5089
5094
|
return c._open = !!(i === 42 ? h : h && (a || !g)), c._close = !!(i === 42 ? g : g && (d || !h)), t(l);
|
|
5090
5095
|
}
|
|
5091
5096
|
}
|
|
5092
|
-
function
|
|
5097
|
+
function Fa(e, t) {
|
|
5093
5098
|
e.column += t, e.offset += t, e._bufferIndex += t;
|
|
5094
5099
|
}
|
|
5095
5100
|
const k0 = {
|
|
@@ -5112,7 +5117,7 @@ function N0(e, t, n) {
|
|
|
5112
5117
|
return p === 58 ? (e.consume(p), r = 0, l) : (p === 43 || p === 45 || p === 46 || Ee(p)) && r++ < 32 ? (e.consume(p), u) : (r = 0, c(p));
|
|
5113
5118
|
}
|
|
5114
5119
|
function l(p) {
|
|
5115
|
-
return p === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.exit("autolink"), t) : p === null || p === 32 || p === 60 ||
|
|
5120
|
+
return p === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.exit("autolink"), t) : p === null || p === 32 || p === 60 || Sn(p) ? n(p) : (e.consume(p), l);
|
|
5116
5121
|
}
|
|
5117
5122
|
function c(p) {
|
|
5118
5123
|
return p === 64 ? (e.consume(p), d) : wc(p) ? (e.consume(p), c) : n(p);
|
|
@@ -5220,20 +5225,20 @@ function D0(e, t, n) {
|
|
|
5220
5225
|
return h === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(h), e.exit("characterReferenceMarkerNumeric"), c) : (e.enter("characterReferenceValue"), i = 31, o = Ee, d(h));
|
|
5221
5226
|
}
|
|
5222
5227
|
function c(h) {
|
|
5223
|
-
return h === 88 || h === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(h), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), i = 6, o = xc, d) : (e.enter("characterReferenceValue"), i = 7, o =
|
|
5228
|
+
return h === 88 || h === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(h), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), i = 6, o = xc, d) : (e.enter("characterReferenceValue"), i = 7, o = Cr, d(h));
|
|
5224
5229
|
}
|
|
5225
5230
|
function d(h) {
|
|
5226
5231
|
if (h === 59 && a) {
|
|
5227
5232
|
const g = e.exit("characterReferenceValue");
|
|
5228
|
-
return o === Ee && !
|
|
5233
|
+
return o === Ee && !Xr(r.sliceSerialize(g)) ? n(h) : (e.enter("characterReferenceMarker"), e.consume(h), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
|
|
5229
5234
|
}
|
|
5230
5235
|
return o(h) && a++ < i ? (e.consume(h), d) : n(h);
|
|
5231
5236
|
}
|
|
5232
5237
|
}
|
|
5233
|
-
const
|
|
5238
|
+
const Ha = {
|
|
5234
5239
|
tokenize: P0,
|
|
5235
5240
|
partial: !0
|
|
5236
|
-
},
|
|
5241
|
+
}, Ua = {
|
|
5237
5242
|
name: "codeFenced",
|
|
5238
5243
|
tokenize: v0,
|
|
5239
5244
|
concrete: !0
|
|
@@ -5256,7 +5261,7 @@ function v0(e, t, n) {
|
|
|
5256
5261
|
return I === u ? (o++, e.consume(I), d) : o < 3 ? n(I) : (e.exit("codeFencedFenceSequence"), K(I) ? Z(e, h, "whitespace")(I) : h(I));
|
|
5257
5262
|
}
|
|
5258
5263
|
function h(I) {
|
|
5259
|
-
return I === null || Y(I) ? (e.exit("codeFencedFence"), r.interrupt ? t(I) : e.check(
|
|
5264
|
+
return I === null || Y(I) ? (e.exit("codeFencedFence"), r.interrupt ? t(I) : e.check(Ha, y, P)(I)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
|
5260
5265
|
contentType: "string"
|
|
5261
5266
|
}), g(I));
|
|
5262
5267
|
}
|
|
@@ -5281,7 +5286,7 @@ function v0(e, t, n) {
|
|
|
5281
5286
|
return i > 0 && K(I) ? Z(e, L, "linePrefix", i + 1)(I) : L(I);
|
|
5282
5287
|
}
|
|
5283
5288
|
function L(I) {
|
|
5284
|
-
return I === null || Y(I) ? e.check(
|
|
5289
|
+
return I === null || Y(I) ? e.check(Ha, y, P)(I) : (e.enter("codeFlowValue"), O(I));
|
|
5285
5290
|
}
|
|
5286
5291
|
function O(I) {
|
|
5287
5292
|
return I === null || Y(I) ? (e.exit("codeFlowValue"), L(I)) : (e.consume(I), O);
|
|
@@ -5319,7 +5324,7 @@ function P0(e, t, n) {
|
|
|
5319
5324
|
return r.parser.lazy[r.now().line] ? n(o) : t(o);
|
|
5320
5325
|
}
|
|
5321
5326
|
}
|
|
5322
|
-
const
|
|
5327
|
+
const or = {
|
|
5323
5328
|
name: "codeIndented",
|
|
5324
5329
|
tokenize: B0
|
|
5325
5330
|
}, M0 = {
|
|
@@ -5661,7 +5666,7 @@ function Bo(e, t, n, r, a, i, o, u, l) {
|
|
|
5661
5666
|
let d = 0;
|
|
5662
5667
|
return h;
|
|
5663
5668
|
function h(_) {
|
|
5664
|
-
return _ === 60 ? (e.enter(r), e.enter(a), e.enter(i), e.consume(_), e.exit(i), g) : _ === null || _ === 32 || _ === 41 ||
|
|
5669
|
+
return _ === 60 ? (e.enter(r), e.enter(a), e.enter(i), e.consume(_), e.exit(i), g) : _ === null || _ === 32 || _ === 41 || Sn(_) ? n(_) : (e.enter(r), e.enter(o), e.enter(u), e.enter("chunkString", {
|
|
5665
5670
|
contentType: "string"
|
|
5666
5671
|
}), y(_));
|
|
5667
5672
|
}
|
|
@@ -5677,7 +5682,7 @@ function Bo(e, t, n, r, a, i, o, u, l) {
|
|
|
5677
5682
|
return _ === 60 || _ === 62 || _ === 92 ? (e.consume(_), p) : p(_);
|
|
5678
5683
|
}
|
|
5679
5684
|
function y(_) {
|
|
5680
|
-
return !d && (_ === null || _ === 41 || re(_)) ? (e.exit("chunkString"), e.exit(u), e.exit(o), e.exit(r), t(_)) : d < c && _ === 40 ? (e.consume(_), d++, y) : _ === 41 ? (e.consume(_), d--, y) : _ === null || _ === 32 || _ === 40 ||
|
|
5685
|
+
return !d && (_ === null || _ === 41 || re(_)) ? (e.exit("chunkString"), e.exit(u), e.exit(o), e.exit(r), t(_)) : d < c && _ === 40 ? (e.consume(_), d++, y) : _ === 41 ? (e.consume(_), d--, y) : _ === null || _ === 32 || _ === 40 || Sn(_) ? n(_) : (e.consume(_), _ === 92 ? A : y);
|
|
5681
5686
|
}
|
|
5682
5687
|
function A(_) {
|
|
5683
5688
|
return _ === 40 || _ === 41 || _ === 92 ? (e.consume(_), y) : y(_);
|
|
@@ -5925,7 +5930,7 @@ const ih = [
|
|
|
5925
5930
|
"tr",
|
|
5926
5931
|
"track",
|
|
5927
5932
|
"ul"
|
|
5928
|
-
],
|
|
5933
|
+
], za = ["pre", "script", "style", "textarea"], oh = {
|
|
5929
5934
|
name: "htmlFlow",
|
|
5930
5935
|
tokenize: ch,
|
|
5931
5936
|
resolveTo: lh,
|
|
@@ -5972,7 +5977,7 @@ function ch(e, t, n) {
|
|
|
5972
5977
|
function A(T) {
|
|
5973
5978
|
if (T === null || T === 47 || T === 62 || re(T)) {
|
|
5974
5979
|
const Pe = T === 47, ot = o.toLowerCase();
|
|
5975
|
-
return !Pe && !i &&
|
|
5980
|
+
return !Pe && !i && za.includes(ot) ? (a = 1, r.interrupt ? t(T) : M(T)) : ih.includes(o.toLowerCase()) ? (a = 6, Pe ? (e.consume(T), _) : r.interrupt ? t(T) : M(T)) : (a = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(T) : i ? L(T) : O(T));
|
|
5976
5981
|
}
|
|
5977
5982
|
return T === 45 || Ee(T) ? (e.consume(T), o += String.fromCharCode(T), A) : n(T);
|
|
5978
5983
|
}
|
|
@@ -6030,7 +6035,7 @@ function ch(e, t, n) {
|
|
|
6030
6035
|
function Te(T) {
|
|
6031
6036
|
if (T === 62) {
|
|
6032
6037
|
const Pe = o.toLowerCase();
|
|
6033
|
-
return
|
|
6038
|
+
return za.includes(Pe) ? (e.consume(T), le) : M(T);
|
|
6034
6039
|
}
|
|
6035
6040
|
return Ce(T) && o.length < 8 ? (e.consume(T), o += String.fromCharCode(T), Te) : M(T);
|
|
6036
6041
|
}
|
|
@@ -6160,7 +6165,7 @@ function fh(e, t, n) {
|
|
|
6160
6165
|
return e.enter("htmlTextData"), o(x);
|
|
6161
6166
|
}
|
|
6162
6167
|
}
|
|
6163
|
-
const
|
|
6168
|
+
const $r = {
|
|
6164
6169
|
name: "labelEnd",
|
|
6165
6170
|
tokenize: xh,
|
|
6166
6171
|
resolveTo: wh,
|
|
@@ -6206,7 +6211,7 @@ function wh(e, t) {
|
|
|
6206
6211
|
start: Object.assign({}, e[i + r + 2][1].end),
|
|
6207
6212
|
end: Object.assign({}, e[o - 2][1].start)
|
|
6208
6213
|
};
|
|
6209
|
-
return u = [["enter", l, t], ["enter", c, t]], u = Le(u, e.slice(i + 1, i + r + 3)), u = Le(u, [["enter", d, t]]), u = Le(u,
|
|
6214
|
+
return u = [["enter", l, t], ["enter", c, t]], u = Le(u, e.slice(i + 1, i + r + 3)), u = Le(u, [["enter", d, t]]), u = Le(u, jn(t.parser.constructs.insideSpan.null, e.slice(i + r + 4, o - 3), t)), u = Le(u, [["exit", d, t], e[o - 2], e[o - 1], ["exit", c, t]]), u = Le(u, e.slice(o + 1)), u = Le(u, [["exit", l, t]]), De(e, i, e.length, u), e;
|
|
6210
6215
|
}
|
|
6211
6216
|
function xh(e, t, n) {
|
|
6212
6217
|
const r = this;
|
|
@@ -6288,7 +6293,7 @@ function Ch(e, t, n) {
|
|
|
6288
6293
|
const _h = {
|
|
6289
6294
|
name: "labelStartImage",
|
|
6290
6295
|
tokenize: Ah,
|
|
6291
|
-
resolveAll:
|
|
6296
|
+
resolveAll: $r.resolveAll
|
|
6292
6297
|
};
|
|
6293
6298
|
function Ah(e, t, n) {
|
|
6294
6299
|
const r = this;
|
|
@@ -6306,7 +6311,7 @@ function Ah(e, t, n) {
|
|
|
6306
6311
|
const kh = {
|
|
6307
6312
|
name: "labelStartLink",
|
|
6308
6313
|
tokenize: Nh,
|
|
6309
|
-
resolveAll:
|
|
6314
|
+
resolveAll: $r.resolveAll
|
|
6310
6315
|
};
|
|
6311
6316
|
function Nh(e, t, n) {
|
|
6312
6317
|
const r = this;
|
|
@@ -6318,7 +6323,7 @@ function Nh(e, t, n) {
|
|
|
6318
6323
|
return o === 94 && "_hiddenFootnoteSupport" in r.parser.constructs ? n(o) : t(o);
|
|
6319
6324
|
}
|
|
6320
6325
|
}
|
|
6321
|
-
const
|
|
6326
|
+
const sr = {
|
|
6322
6327
|
name: "lineEnding",
|
|
6323
6328
|
tokenize: Ih
|
|
6324
6329
|
};
|
|
@@ -6368,7 +6373,7 @@ function Rh(e, t, n) {
|
|
|
6368
6373
|
return u;
|
|
6369
6374
|
function u(p) {
|
|
6370
6375
|
const E = r.containerState.type || (p === 42 || p === 43 || p === 45 ? "listUnordered" : "listOrdered");
|
|
6371
|
-
if (E === "listUnordered" ? !r.containerState.marker || p === r.containerState.marker :
|
|
6376
|
+
if (E === "listUnordered" ? !r.containerState.marker || p === r.containerState.marker : Cr(p)) {
|
|
6372
6377
|
if (r.containerState.type || (r.containerState.type = E, e.enter(E, {
|
|
6373
6378
|
_container: !0
|
|
6374
6379
|
})), E === "listUnordered")
|
|
@@ -6379,7 +6384,7 @@ function Rh(e, t, n) {
|
|
|
6379
6384
|
return n(p);
|
|
6380
6385
|
}
|
|
6381
6386
|
function l(p) {
|
|
6382
|
-
return
|
|
6387
|
+
return Cr(p) && ++o < 10 ? (e.consume(p), l) : (!r.interrupt || o < 2) && (r.containerState.marker ? p === r.containerState.marker : p === 41 || p === 46) ? (e.exit("listItemValue"), c(p)) : n(p);
|
|
6383
6388
|
}
|
|
6384
6389
|
function c(p) {
|
|
6385
6390
|
return e.enter("listItemMarker"), e.consume(p), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || p, e.check(
|
|
@@ -6431,7 +6436,7 @@ function Mh(e, t, n) {
|
|
|
6431
6436
|
return !K(i) && o && o[1].type === "listItemPrefixWhitespace" ? t(i) : n(i);
|
|
6432
6437
|
}
|
|
6433
6438
|
}
|
|
6434
|
-
const
|
|
6439
|
+
const Ya = {
|
|
6435
6440
|
name: "setextUnderline",
|
|
6436
6441
|
tokenize: Fh,
|
|
6437
6442
|
resolveTo: Bh
|
|
@@ -6698,7 +6703,7 @@ function Qh(e) {
|
|
|
6698
6703
|
start: Object.assign({}, o[c][1].end),
|
|
6699
6704
|
end: Object.assign({}, o[l][1].start)
|
|
6700
6705
|
}, g = [["enter", d, u], ["enter", o[c][1], u], ["exit", o[c][1], u], ["enter", h, u]], p = u.parser.constructs.insideSpan.null;
|
|
6701
|
-
p && De(g, g.length, 0,
|
|
6706
|
+
p && De(g, g.length, 0, jn(p, o.slice(c + 1, l), u)), De(g, g.length, 0, [["exit", h, u], ["enter", o[l][1], u], ["exit", o[l][1], u], ["exit", d, u]]), De(o, c - 1, l - c + 3, g), l = c + g.length - 2;
|
|
6702
6707
|
break;
|
|
6703
6708
|
}
|
|
6704
6709
|
}
|
|
@@ -6714,11 +6719,11 @@ function Qh(e) {
|
|
|
6714
6719
|
return c === 126 && d[d.length - 1][1].type !== "characterEscape" ? l(E) : (o.enter("strikethroughSequenceTemporary"), p(E));
|
|
6715
6720
|
}
|
|
6716
6721
|
function p(E) {
|
|
6717
|
-
const y =
|
|
6722
|
+
const y = Ln(c);
|
|
6718
6723
|
if (E === 126)
|
|
6719
6724
|
return h > 1 ? l(E) : (o.consume(E), h++, p);
|
|
6720
6725
|
if (h < 2 && !n) return l(E);
|
|
6721
|
-
const A = o.exit("strikethroughSequenceTemporary"), _ =
|
|
6726
|
+
const A = o.exit("strikethroughSequenceTemporary"), _ = Ln(E);
|
|
6722
6727
|
return A._open = !_ || _ === 2 && !!y, A._close = !y || y === 2 && !!_, u(E);
|
|
6723
6728
|
}
|
|
6724
6729
|
}
|
|
@@ -6894,7 +6899,7 @@ function ep(e, t) {
|
|
|
6894
6899
|
const g = new Xh();
|
|
6895
6900
|
for (; ++n < e.length; ) {
|
|
6896
6901
|
const p = e[n], E = p[1];
|
|
6897
|
-
p[0] === "enter" ? E.type === "tableHead" ? (u = !1, l !== 0 && (
|
|
6902
|
+
p[0] === "enter" ? E.type === "tableHead" ? (u = !1, l !== 0 && (ja(g, t, l, c, d), d = void 0, l = 0), c = {
|
|
6898
6903
|
type: "table",
|
|
6899
6904
|
start: Object.assign({}, E.start),
|
|
6900
6905
|
// Note: correct end is set later.
|
|
@@ -6906,7 +6911,7 @@ function ep(e, t) {
|
|
|
6906
6911
|
end: Object.assign({}, E.end)
|
|
6907
6912
|
}, g.add(n, 0, [["enter", d, t]])), a = E.type === "tableDelimiterRow" ? 2 : d ? 3 : 1) : a && (E.type === "data" || E.type === "tableDelimiterMarker" || E.type === "tableDelimiterFiller") ? (r = !1, o[2] === 0 && (i[1] !== 0 && (o[0] = o[1], h = gn(g, t, i, a, void 0, h), i = [0, 0, 0, 0]), o[2] = n)) : E.type === "tableCellDivider" && (r ? r = !1 : (i[1] !== 0 && (o[0] = o[1], h = gn(g, t, i, a, void 0, h)), i = o, o = [i[1], n, 0, 0])) : E.type === "tableHead" ? (u = !0, l = n) : E.type === "tableRow" || E.type === "tableDelimiterRow" ? (l = n, i[1] !== 0 ? (o[0] = o[1], h = gn(g, t, i, a, n, h)) : o[1] !== 0 && (h = gn(g, t, o, a, n, h)), a = 0) : a && (E.type === "data" || E.type === "tableDelimiterMarker" || E.type === "tableDelimiterFiller") && (o[3] = n);
|
|
6908
6913
|
}
|
|
6909
|
-
for (l !== 0 &&
|
|
6914
|
+
for (l !== 0 && ja(g, t, l, c, d), g.consume(t.events), n = -1; ++n < t.events.length; ) {
|
|
6910
6915
|
const p = t.events[n];
|
|
6911
6916
|
p[0] === "enter" && p[1].type === "table" && (p[1]._align = $h(t.events, n));
|
|
6912
6917
|
}
|
|
@@ -6938,7 +6943,7 @@ function gn(e, t, n, r, a, i) {
|
|
|
6938
6943
|
}
|
|
6939
6944
|
return a !== void 0 && (i.end = Object.assign({}, xt(t.events, a)), e.add(a, 0, [["exit", i, t]]), i = void 0), i;
|
|
6940
6945
|
}
|
|
6941
|
-
function
|
|
6946
|
+
function ja(e, t, n, r, a) {
|
|
6942
6947
|
const i = [], o = xt(t.events, n);
|
|
6943
6948
|
a && (a.end = Object.assign({}, o), i.push(["exit", a, t])), r.end = Object.assign({}, o), i.push(["exit", r, t]), e.add(n + 1, 0, i);
|
|
6944
6949
|
}
|
|
@@ -7003,7 +7008,7 @@ function Uo(e) {
|
|
|
7003
7008
|
), n = e || op, r = t.data(), a = r.micromarkExtensions || (r.micromarkExtensions = []), i = r.fromMarkdownExtensions || (r.fromMarkdownExtensions = []), o = r.toMarkdownExtensions || (r.toMarkdownExtensions = []);
|
|
7004
7009
|
a.push(ip(n)), i.push(l0()), o.push(c0(n));
|
|
7005
7010
|
}
|
|
7006
|
-
function
|
|
7011
|
+
function qa(e) {
|
|
7007
7012
|
const t = [], n = String(e || "");
|
|
7008
7013
|
let r = n.indexOf(","), a = 0, i = !1;
|
|
7009
7014
|
for (; !i; ) {
|
|
@@ -7020,14 +7025,14 @@ function zo(e, t) {
|
|
|
7020
7025
|
).trim();
|
|
7021
7026
|
}
|
|
7022
7027
|
const sp = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, up = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, lp = {};
|
|
7023
|
-
function
|
|
7028
|
+
function Va(e, t) {
|
|
7024
7029
|
return (lp.jsx ? up : sp).test(e);
|
|
7025
7030
|
}
|
|
7026
7031
|
const cp = /[ \t\n\f\r]/g;
|
|
7027
7032
|
function dp(e) {
|
|
7028
|
-
return typeof e == "object" ? e.type === "text" ?
|
|
7033
|
+
return typeof e == "object" ? e.type === "text" ? Wa(e.value) : !1 : Wa(e);
|
|
7029
7034
|
}
|
|
7030
|
-
function
|
|
7035
|
+
function Wa(e) {
|
|
7031
7036
|
return e.replace(cp, "") === "";
|
|
7032
7037
|
}
|
|
7033
7038
|
class ln {
|
|
@@ -7079,7 +7084,7 @@ const W = ft(), pe = ft(), jo = ft(), v = ft(), ae = ft(), _t = ft(), Ie = ft();
|
|
|
7079
7084
|
function ft() {
|
|
7080
7085
|
return 2 ** ++hp;
|
|
7081
7086
|
}
|
|
7082
|
-
const
|
|
7087
|
+
const Nr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7083
7088
|
__proto__: null,
|
|
7084
7089
|
boolean: W,
|
|
7085
7090
|
booleanish: pe,
|
|
@@ -7088,8 +7093,8 @@ const kr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7088
7093
|
number: v,
|
|
7089
7094
|
overloadedBoolean: jo,
|
|
7090
7095
|
spaceSeparated: ae
|
|
7091
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
7092
|
-
class
|
|
7096
|
+
}, Symbol.toStringTag, { value: "Module" })), ur = Object.keys(Nr);
|
|
7097
|
+
class Jr extends ve {
|
|
7093
7098
|
/**
|
|
7094
7099
|
* @constructor
|
|
7095
7100
|
* @param {string} property
|
|
@@ -7099,15 +7104,15 @@ class $r extends ve {
|
|
|
7099
7104
|
*/
|
|
7100
7105
|
constructor(t, n, r, a) {
|
|
7101
7106
|
let i = -1;
|
|
7102
|
-
if (super(t, n),
|
|
7103
|
-
for (; ++i <
|
|
7104
|
-
const o =
|
|
7105
|
-
|
|
7107
|
+
if (super(t, n), Ga(this, "space", a), typeof r == "number")
|
|
7108
|
+
for (; ++i < ur.length; ) {
|
|
7109
|
+
const o = ur[i];
|
|
7110
|
+
Ga(this, ur[i], (r & Nr[o]) === Nr[o]);
|
|
7106
7111
|
}
|
|
7107
7112
|
}
|
|
7108
7113
|
}
|
|
7109
|
-
|
|
7110
|
-
function
|
|
7114
|
+
Jr.prototype.defined = !0;
|
|
7115
|
+
function Ga(e, t, n) {
|
|
7111
7116
|
n && (e[t] = n);
|
|
7112
7117
|
}
|
|
7113
7118
|
const pp = {}.hasOwnProperty;
|
|
@@ -7116,7 +7121,7 @@ function Ot(e) {
|
|
|
7116
7121
|
let r;
|
|
7117
7122
|
for (r in e.properties)
|
|
7118
7123
|
if (pp.call(e.properties, r)) {
|
|
7119
|
-
const a = e.properties[r], i = new
|
|
7124
|
+
const a = e.properties[r], i = new Jr(
|
|
7120
7125
|
r,
|
|
7121
7126
|
e.transform(e.attributes || {}, r),
|
|
7122
7127
|
a,
|
|
@@ -8133,24 +8138,24 @@ const Qo = Ot({
|
|
|
8133
8138
|
z: null,
|
|
8134
8139
|
zoomAndPan: null
|
|
8135
8140
|
}
|
|
8136
|
-
}), gp = /^data[-\w.:]+$/i,
|
|
8137
|
-
function
|
|
8141
|
+
}), gp = /^data[-\w.:]+$/i, Qa = /-[a-z]/g, bp = /[A-Z]/g;
|
|
8142
|
+
function qn(e, t) {
|
|
8138
8143
|
const n = Jt(t);
|
|
8139
8144
|
let r = t, a = ve;
|
|
8140
8145
|
if (n in e.normal)
|
|
8141
8146
|
return e.property[e.normal[n]];
|
|
8142
8147
|
if (n.length > 4 && n.slice(0, 4) === "data" && gp.test(t)) {
|
|
8143
8148
|
if (t.charAt(4) === "-") {
|
|
8144
|
-
const i = t.slice(5).replace(
|
|
8149
|
+
const i = t.slice(5).replace(Qa, wp);
|
|
8145
8150
|
r = "data" + i.charAt(0).toUpperCase() + i.slice(1);
|
|
8146
8151
|
} else {
|
|
8147
8152
|
const i = t.slice(4);
|
|
8148
|
-
if (!
|
|
8153
|
+
if (!Qa.test(i)) {
|
|
8149
8154
|
let o = i.replace(bp, Ep);
|
|
8150
8155
|
o.charAt(0) !== "-" && (o = "-" + o), t = "data" + o;
|
|
8151
8156
|
}
|
|
8152
8157
|
}
|
|
8153
|
-
a =
|
|
8158
|
+
a = Jr;
|
|
8154
8159
|
}
|
|
8155
8160
|
return new a(r, t);
|
|
8156
8161
|
}
|
|
@@ -8179,15 +8184,15 @@ const xp = {
|
|
|
8179
8184
|
xLinkType: "xlinkType",
|
|
8180
8185
|
xmlnsXLink: "xmlnsXlink"
|
|
8181
8186
|
}, cn = Yo([Vo, qo, Qo, Xo, fp], "html"), it = Yo([Vo, qo, Qo, Xo, mp], "svg");
|
|
8182
|
-
function
|
|
8187
|
+
function Xa(e) {
|
|
8183
8188
|
const t = String(e || "").trim();
|
|
8184
8189
|
return t ? t.split(/[ \t\n\r\f]+/g) : [];
|
|
8185
8190
|
}
|
|
8186
8191
|
function Ko(e) {
|
|
8187
8192
|
return e.join(" ").trim();
|
|
8188
8193
|
}
|
|
8189
|
-
var $o = {},
|
|
8190
|
-
`,
|
|
8194
|
+
var $o = {}, Ka = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Tp = /\n/g, yp = /^\s*/, Cp = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, _p = /^:\s*/, Ap = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, kp = /^[;\s]*/, Np = /^\s+|\s+$/g, Ip = `
|
|
8195
|
+
`, $a = "/", Ja = "*", lt = "", Sp = "comment", Lp = "declaration", Op = function(e, t) {
|
|
8191
8196
|
if (typeof e != "string")
|
|
8192
8197
|
throw new TypeError("First argument must be a string");
|
|
8193
8198
|
if (!e) return [];
|
|
@@ -8233,8 +8238,8 @@ var $o = {}, Qa = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Tp = /\n/g, yp = /^\s*/, Cp
|
|
|
8233
8238
|
}
|
|
8234
8239
|
function h() {
|
|
8235
8240
|
var E = i();
|
|
8236
|
-
if (!(
|
|
8237
|
-
for (var y = 2; lt != e.charAt(y) && (
|
|
8241
|
+
if (!($a != e.charAt(0) || Ja != e.charAt(1))) {
|
|
8242
|
+
for (var y = 2; lt != e.charAt(y) && (Ja != e.charAt(y) || $a != e.charAt(y + 1)); )
|
|
8238
8243
|
++y;
|
|
8239
8244
|
if (y += 2, lt === e.charAt(y - 1))
|
|
8240
8245
|
return u("End of comment missing");
|
|
@@ -8251,8 +8256,8 @@ var $o = {}, Qa = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Tp = /\n/g, yp = /^\s*/, Cp
|
|
|
8251
8256
|
if (h(), !l(_p)) return u("property missing ':'");
|
|
8252
8257
|
var A = l(Ap), _ = E({
|
|
8253
8258
|
type: Lp,
|
|
8254
|
-
property:
|
|
8255
|
-
value: A ?
|
|
8259
|
+
property: Za(y[0].replace(Ka, lt)),
|
|
8260
|
+
value: A ? Za(A[0].replace(Ka, lt)) : lt
|
|
8256
8261
|
});
|
|
8257
8262
|
return l(kp), _;
|
|
8258
8263
|
}
|
|
@@ -8266,14 +8271,14 @@ var $o = {}, Qa = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Tp = /\n/g, yp = /^\s*/, Cp
|
|
|
8266
8271
|
}
|
|
8267
8272
|
return c(), p();
|
|
8268
8273
|
};
|
|
8269
|
-
function
|
|
8274
|
+
function Za(e) {
|
|
8270
8275
|
return e ? e.replace(Np, lt) : lt;
|
|
8271
8276
|
}
|
|
8272
|
-
var Rp =
|
|
8277
|
+
var Rp = Ta && Ta.__importDefault || function(e) {
|
|
8273
8278
|
return e && e.__esModule ? e : { default: e };
|
|
8274
8279
|
};
|
|
8275
8280
|
Object.defineProperty($o, "__esModule", { value: !0 });
|
|
8276
|
-
var
|
|
8281
|
+
var ei = $o.default = vp, Dp = Rp(Op);
|
|
8277
8282
|
function vp(e, t) {
|
|
8278
8283
|
var n = null;
|
|
8279
8284
|
if (!e || typeof e != "string")
|
|
@@ -8286,7 +8291,7 @@ function vp(e, t) {
|
|
|
8286
8291
|
}
|
|
8287
8292
|
}), n;
|
|
8288
8293
|
}
|
|
8289
|
-
const Pp =
|
|
8294
|
+
const Pp = ei.default || ei, Vn = Jo("end"), je = Jo("start");
|
|
8290
8295
|
function Jo(e) {
|
|
8291
8296
|
return t;
|
|
8292
8297
|
function t(n) {
|
|
@@ -8300,20 +8305,20 @@ function Jo(e) {
|
|
|
8300
8305
|
}
|
|
8301
8306
|
}
|
|
8302
8307
|
function Mp(e) {
|
|
8303
|
-
const t = je(e), n =
|
|
8308
|
+
const t = je(e), n = Vn(e);
|
|
8304
8309
|
if (t && n)
|
|
8305
8310
|
return { start: t, end: n };
|
|
8306
8311
|
}
|
|
8307
8312
|
function Wt(e) {
|
|
8308
|
-
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ?
|
|
8313
|
+
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? ti(e.position) : "start" in e || "end" in e ? ti(e) : "line" in e || "column" in e ? Ir(e) : "";
|
|
8309
8314
|
}
|
|
8310
|
-
function
|
|
8311
|
-
return
|
|
8315
|
+
function Ir(e) {
|
|
8316
|
+
return ni(e && e.line) + ":" + ni(e && e.column);
|
|
8312
8317
|
}
|
|
8313
|
-
function
|
|
8314
|
-
return
|
|
8318
|
+
function ti(e) {
|
|
8319
|
+
return Ir(e && e.start) + "-" + Ir(e && e.end);
|
|
8315
8320
|
}
|
|
8316
|
-
function
|
|
8321
|
+
function ni(e) {
|
|
8317
8322
|
return e && typeof e == "number" ? e : 1;
|
|
8318
8323
|
}
|
|
8319
8324
|
class we extends Error {
|
|
@@ -8403,7 +8408,7 @@ we.prototype.fatal = void 0;
|
|
|
8403
8408
|
we.prototype.place = void 0;
|
|
8404
8409
|
we.prototype.ruleId = void 0;
|
|
8405
8410
|
we.prototype.source = void 0;
|
|
8406
|
-
const
|
|
8411
|
+
const Zr = {}.hasOwnProperty, Bp = /* @__PURE__ */ new Map(), Fp = /[A-Z]/g, Hp = /-([a-z])/g, Up = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), zp = /* @__PURE__ */ new Set(["td", "th"]), Zo = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
|
|
8407
8412
|
function Yp(e, t) {
|
|
8408
8413
|
if (!t || t.Fragment === void 0)
|
|
8409
8414
|
throw new TypeError("Expected `Fragment` in options");
|
|
@@ -8463,10 +8468,10 @@ function jp(e, t, n) {
|
|
|
8463
8468
|
let a = r;
|
|
8464
8469
|
t.tagName.toLowerCase() === "svg" && r.space === "html" && (a = it, e.schema = a), e.ancestors.push(t);
|
|
8465
8470
|
const i = ns(e, t.tagName, !1), o = $p(e, t);
|
|
8466
|
-
let u =
|
|
8471
|
+
let u = ta(e, t);
|
|
8467
8472
|
return Up.has(t.tagName) && (u = u.filter(function(l) {
|
|
8468
8473
|
return typeof l == "string" ? !dp(l) : !0;
|
|
8469
|
-
})), ts(e, o, i, t),
|
|
8474
|
+
})), ts(e, o, i, t), ea(o, u), e.ancestors.pop(), e.schema = r, e.create(t, i, o, n);
|
|
8470
8475
|
}
|
|
8471
8476
|
function qp(e, t) {
|
|
8472
8477
|
if (t.data && t.data.estree && e.evaluater) {
|
|
@@ -8488,12 +8493,12 @@ function Wp(e, t, n) {
|
|
|
8488
8493
|
const r = e.schema;
|
|
8489
8494
|
let a = r;
|
|
8490
8495
|
t.name === "svg" && r.space === "html" && (a = it, e.schema = a), e.ancestors.push(t);
|
|
8491
|
-
const i = t.name === null ? e.Fragment : ns(e, t.name, !0), o = Jp(e, t), u =
|
|
8492
|
-
return ts(e, o, i, t),
|
|
8496
|
+
const i = t.name === null ? e.Fragment : ns(e, t.name, !0), o = Jp(e, t), u = ta(e, t);
|
|
8497
|
+
return ts(e, o, i, t), ea(o, u), e.ancestors.pop(), e.schema = r, e.create(t, i, o, n);
|
|
8493
8498
|
}
|
|
8494
8499
|
function Gp(e, t, n) {
|
|
8495
8500
|
const r = {};
|
|
8496
|
-
return
|
|
8501
|
+
return ea(r, ta(e, t)), e.create(t, e.Fragment, r, n);
|
|
8497
8502
|
}
|
|
8498
8503
|
function Qp(e, t) {
|
|
8499
8504
|
return t.value;
|
|
@@ -8501,7 +8506,7 @@ function Qp(e, t) {
|
|
|
8501
8506
|
function ts(e, t, n, r) {
|
|
8502
8507
|
typeof n != "string" && n !== e.Fragment && e.passNode && (t.node = r);
|
|
8503
8508
|
}
|
|
8504
|
-
function
|
|
8509
|
+
function ea(e, t) {
|
|
8505
8510
|
if (t.length > 0) {
|
|
8506
8511
|
const n = t.length > 1 ? t : t[0];
|
|
8507
8512
|
n && (e.children = n);
|
|
@@ -8536,7 +8541,7 @@ function $p(e, t) {
|
|
|
8536
8541
|
const n = {};
|
|
8537
8542
|
let r, a;
|
|
8538
8543
|
for (a in t.properties)
|
|
8539
|
-
if (a !== "children" &&
|
|
8544
|
+
if (a !== "children" && Zr.call(t.properties, a)) {
|
|
8540
8545
|
const i = Zp(e, a, t.properties[a]);
|
|
8541
8546
|
if (i) {
|
|
8542
8547
|
const [o, u] = i;
|
|
@@ -8584,7 +8589,7 @@ function Jp(e, t) {
|
|
|
8584
8589
|
}
|
|
8585
8590
|
return n;
|
|
8586
8591
|
}
|
|
8587
|
-
function
|
|
8592
|
+
function ta(e, t) {
|
|
8588
8593
|
const n = [];
|
|
8589
8594
|
let r = -1;
|
|
8590
8595
|
const a = e.passKeys ? /* @__PURE__ */ new Map() : Bp;
|
|
@@ -8604,7 +8609,7 @@ function ea(e, t) {
|
|
|
8604
8609
|
return n;
|
|
8605
8610
|
}
|
|
8606
8611
|
function Zp(e, t, n) {
|
|
8607
|
-
const r =
|
|
8612
|
+
const r = qn(e.schema, t);
|
|
8608
8613
|
if (!(n == null || typeof n == "number" && Number.isNaN(n))) {
|
|
8609
8614
|
if (Array.isArray(n) && (n = r.commaSeparated ? zo(n) : Ko(n)), r.property === "style") {
|
|
8610
8615
|
let a = typeof n == "object" ? n : ef(e, String(n));
|
|
@@ -8648,7 +8653,7 @@ function ns(e, t, n) {
|
|
|
8648
8653
|
const a = t.split(".");
|
|
8649
8654
|
let i = -1, o;
|
|
8650
8655
|
for (; ++i < a.length; ) {
|
|
8651
|
-
const u =
|
|
8656
|
+
const u = Va(a[i]) ? { type: "Identifier", name: a[i] } : { type: "Literal", value: a[i] };
|
|
8652
8657
|
o = o ? {
|
|
8653
8658
|
type: "MemberExpression",
|
|
8654
8659
|
object: o,
|
|
@@ -8659,13 +8664,13 @@ function ns(e, t, n) {
|
|
|
8659
8664
|
}
|
|
8660
8665
|
r = o;
|
|
8661
8666
|
} else
|
|
8662
|
-
r =
|
|
8667
|
+
r = Va(t) && !/^[a-z]/.test(t) ? { type: "Identifier", name: t } : { type: "Literal", value: t };
|
|
8663
8668
|
if (r.type === "Literal") {
|
|
8664
8669
|
const a = (
|
|
8665
8670
|
/** @type {keyof JSX.IntrinsicElements} */
|
|
8666
8671
|
r.value
|
|
8667
8672
|
);
|
|
8668
|
-
return
|
|
8673
|
+
return Zr.call(e.components, a) ? e.components[a] : a;
|
|
8669
8674
|
}
|
|
8670
8675
|
if (e.evaluater)
|
|
8671
8676
|
return e.evaluater.evaluateExpression(r);
|
|
@@ -8687,7 +8692,7 @@ function tf(e) {
|
|
|
8687
8692
|
const t = {};
|
|
8688
8693
|
let n;
|
|
8689
8694
|
for (n in e)
|
|
8690
|
-
|
|
8695
|
+
Zr.call(e, n) && (t[nf(n)] = e[n]);
|
|
8691
8696
|
return t;
|
|
8692
8697
|
}
|
|
8693
8698
|
function nf(e) {
|
|
@@ -8700,7 +8705,7 @@ function rf(e, t) {
|
|
|
8700
8705
|
function af(e) {
|
|
8701
8706
|
return "-" + e.toLowerCase();
|
|
8702
8707
|
}
|
|
8703
|
-
const
|
|
8708
|
+
const lr = {
|
|
8704
8709
|
action: ["form"],
|
|
8705
8710
|
cite: ["blockquote", "del", "ins", "q"],
|
|
8706
8711
|
data: ["object"],
|
|
@@ -8760,7 +8765,7 @@ function sf(e) {
|
|
|
8760
8765
|
}
|
|
8761
8766
|
const uf = {
|
|
8762
8767
|
tokenize: lf
|
|
8763
|
-
},
|
|
8768
|
+
}, ri = {
|
|
8764
8769
|
tokenize: cf
|
|
8765
8770
|
};
|
|
8766
8771
|
function lf(e) {
|
|
@@ -8810,7 +8815,7 @@ function lf(e) {
|
|
|
8810
8815
|
t.interrupt = !!(a.currentConstruct && !a._gfmTableDynamicInterruptHack);
|
|
8811
8816
|
}
|
|
8812
8817
|
return t.containerState = {}, e.check(
|
|
8813
|
-
|
|
8818
|
+
ri,
|
|
8814
8819
|
d,
|
|
8815
8820
|
h
|
|
8816
8821
|
)(O);
|
|
@@ -8823,7 +8828,7 @@ function lf(e) {
|
|
|
8823
8828
|
}
|
|
8824
8829
|
function g(O) {
|
|
8825
8830
|
return t.containerState = {}, e.attempt(
|
|
8826
|
-
|
|
8831
|
+
ri,
|
|
8827
8832
|
p,
|
|
8828
8833
|
E
|
|
8829
8834
|
)(O);
|
|
@@ -9071,7 +9076,7 @@ function bf(e, t, n) {
|
|
|
9071
9076
|
let d = t.tokenize.call(c, l);
|
|
9072
9077
|
return t.resolveAll && i.push(t), c;
|
|
9073
9078
|
function h(U) {
|
|
9074
|
-
return o = Le(o, U), A(), o[o.length - 1] !== null ? [] : (j(t, 0), c.events =
|
|
9079
|
+
return o = Le(o, U), A(), o[o.length - 1] !== null ? [] : (j(t, 0), c.events = jn(i, c.events, c), c.events);
|
|
9075
9080
|
}
|
|
9076
9081
|
function g(U, M) {
|
|
9077
9082
|
return wf(p(U), M);
|
|
@@ -9263,36 +9268,36 @@ const xf = {
|
|
|
9263
9268
|
}, Tf = {
|
|
9264
9269
|
91: K0
|
|
9265
9270
|
}, yf = {
|
|
9266
|
-
[-2]:
|
|
9267
|
-
[-1]:
|
|
9268
|
-
32:
|
|
9271
|
+
[-2]: or,
|
|
9272
|
+
[-1]: or,
|
|
9273
|
+
32: or
|
|
9269
9274
|
}, Cf = {
|
|
9270
9275
|
35: nh,
|
|
9271
9276
|
42: Tn,
|
|
9272
|
-
45: [
|
|
9277
|
+
45: [Ya, Tn],
|
|
9273
9278
|
60: oh,
|
|
9274
|
-
61:
|
|
9279
|
+
61: Ya,
|
|
9275
9280
|
95: Tn,
|
|
9276
|
-
96:
|
|
9277
|
-
126:
|
|
9281
|
+
96: Ua,
|
|
9282
|
+
126: Ua
|
|
9278
9283
|
}, _f = {
|
|
9279
9284
|
38: Po,
|
|
9280
9285
|
92: vo
|
|
9281
9286
|
}, Af = {
|
|
9282
|
-
[-5]:
|
|
9283
|
-
[-4]:
|
|
9284
|
-
[-3]:
|
|
9287
|
+
[-5]: sr,
|
|
9288
|
+
[-4]: sr,
|
|
9289
|
+
[-3]: sr,
|
|
9285
9290
|
33: _h,
|
|
9286
9291
|
38: Po,
|
|
9287
|
-
42:
|
|
9292
|
+
42: kr,
|
|
9288
9293
|
60: [k0, ph],
|
|
9289
9294
|
91: kh,
|
|
9290
9295
|
92: [eh, vo],
|
|
9291
|
-
93:
|
|
9292
|
-
95:
|
|
9296
|
+
93: $r,
|
|
9297
|
+
95: kr,
|
|
9293
9298
|
96: H0
|
|
9294
9299
|
}, kf = {
|
|
9295
|
-
null: [
|
|
9300
|
+
null: [kr, pf]
|
|
9296
9301
|
}, Nf = {
|
|
9297
9302
|
null: [42, 95]
|
|
9298
9303
|
}, If = {
|
|
@@ -9336,7 +9341,7 @@ function Of(e) {
|
|
|
9336
9341
|
;
|
|
9337
9342
|
return e;
|
|
9338
9343
|
}
|
|
9339
|
-
const
|
|
9344
|
+
const ai = /[\0\t\n\r]/g;
|
|
9340
9345
|
function Rf() {
|
|
9341
9346
|
let e = 1, t = "", n = !0, r;
|
|
9342
9347
|
return a;
|
|
@@ -9344,7 +9349,7 @@ function Rf() {
|
|
|
9344
9349
|
const l = [];
|
|
9345
9350
|
let c, d, h, g, p;
|
|
9346
9351
|
for (i = t + (typeof i == "string" ? i.toString() : new TextDecoder(o || void 0).decode(i)), h = 0, t = "", n && (i.charCodeAt(0) === 65279 && h++, n = void 0); h < i.length; ) {
|
|
9347
|
-
if (
|
|
9352
|
+
if (ai.lastIndex = h, c = ai.exec(i), g = c && c.index !== void 0 ? c.index : i.length, p = i.charCodeAt(g), !c) {
|
|
9348
9353
|
t = i.slice(h);
|
|
9349
9354
|
break;
|
|
9350
9355
|
}
|
|
@@ -9381,10 +9386,10 @@ function vf(e) {
|
|
|
9381
9386
|
transforms: [],
|
|
9382
9387
|
canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
|
|
9383
9388
|
enter: {
|
|
9384
|
-
autolink: i(
|
|
9389
|
+
autolink: i(Ea),
|
|
9385
9390
|
autolinkProtocol: Q,
|
|
9386
9391
|
autolinkEmail: Q,
|
|
9387
|
-
atxHeading: i(
|
|
9392
|
+
atxHeading: i(ma),
|
|
9388
9393
|
blockQuote: i(bt),
|
|
9389
9394
|
characterEscape: Q,
|
|
9390
9395
|
characterReference: Q,
|
|
@@ -9401,25 +9406,25 @@ function vf(e) {
|
|
|
9401
9406
|
definitionLabelString: o,
|
|
9402
9407
|
definitionTitleString: o,
|
|
9403
9408
|
emphasis: i(pu),
|
|
9404
|
-
hardBreakEscape: i(
|
|
9405
|
-
hardBreakTrailing: i(
|
|
9406
|
-
htmlFlow: i(
|
|
9409
|
+
hardBreakEscape: i(ga),
|
|
9410
|
+
hardBreakTrailing: i(ga),
|
|
9411
|
+
htmlFlow: i(ba, o),
|
|
9407
9412
|
htmlFlowData: Q,
|
|
9408
|
-
htmlText: i(
|
|
9413
|
+
htmlText: i(ba, o),
|
|
9409
9414
|
htmlTextData: Q,
|
|
9410
9415
|
image: i(fu),
|
|
9411
9416
|
label: o,
|
|
9412
|
-
link: i(
|
|
9417
|
+
link: i(Ea),
|
|
9413
9418
|
listItem: i(mu),
|
|
9414
9419
|
listItemValue: g,
|
|
9415
|
-
listOrdered: i(
|
|
9416
|
-
listUnordered: i(
|
|
9420
|
+
listOrdered: i(wa, h),
|
|
9421
|
+
listUnordered: i(wa),
|
|
9417
9422
|
paragraph: i(gu),
|
|
9418
9423
|
reference: T,
|
|
9419
9424
|
referenceString: o,
|
|
9420
9425
|
resourceDestinationString: o,
|
|
9421
9426
|
resourceTitleString: o,
|
|
9422
|
-
setextHeading: i(
|
|
9427
|
+
setextHeading: i(ma),
|
|
9423
9428
|
strong: i(bu),
|
|
9424
9429
|
thematicBreak: i(wu)
|
|
9425
9430
|
},
|
|
@@ -9510,7 +9515,7 @@ function vf(e) {
|
|
|
9510
9515
|
}
|
|
9511
9516
|
if (V.tokenStack.length > 0) {
|
|
9512
9517
|
const Me = V.tokenStack[V.tokenStack.length - 1];
|
|
9513
|
-
(Me[1] ||
|
|
9518
|
+
(Me[1] || ii).call(V, void 0, Me[0]);
|
|
9514
9519
|
}
|
|
9515
9520
|
for (B.position = {
|
|
9516
9521
|
start: et(S.length > 0 ? S[0][1].start : {
|
|
@@ -9605,7 +9610,7 @@ function vf(e) {
|
|
|
9605
9610
|
function c(S, B) {
|
|
9606
9611
|
const V = this.stack.pop(), J = this.tokenStack.pop();
|
|
9607
9612
|
if (J)
|
|
9608
|
-
J[0].type !== S.type && (B ? B.call(this, S, J[0]) : (J[1] ||
|
|
9613
|
+
J[0].type !== S.type && (B ? B.call(this, S, J[0]) : (J[1] || ii).call(this, S, J[0]));
|
|
9609
9614
|
else throw new Error("Cannot close `" + S.type + "` (" + Wt({
|
|
9610
9615
|
start: S.start,
|
|
9611
9616
|
end: S.end
|
|
@@ -9613,7 +9618,7 @@ function vf(e) {
|
|
|
9613
9618
|
V.position.end = et(S.end);
|
|
9614
9619
|
}
|
|
9615
9620
|
function d() {
|
|
9616
|
-
return
|
|
9621
|
+
return Gr(this.stack.pop());
|
|
9617
9622
|
}
|
|
9618
9623
|
function h() {
|
|
9619
9624
|
this.data.expectingFirstListItemValue = !0;
|
|
@@ -9763,7 +9768,7 @@ function vf(e) {
|
|
|
9763
9768
|
function be(S) {
|
|
9764
9769
|
const B = this.sliceSerialize(S), V = this.data.characterReferenceType;
|
|
9765
9770
|
let J;
|
|
9766
|
-
V ? (J = Co(B, V === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : J =
|
|
9771
|
+
V ? (J = Co(B, V === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : J = Xr(B);
|
|
9767
9772
|
const ne = this.stack[this.stack.length - 1];
|
|
9768
9773
|
ne.value += J;
|
|
9769
9774
|
}
|
|
@@ -9816,7 +9821,7 @@ function vf(e) {
|
|
|
9816
9821
|
children: []
|
|
9817
9822
|
};
|
|
9818
9823
|
}
|
|
9819
|
-
function
|
|
9824
|
+
function ma() {
|
|
9820
9825
|
return {
|
|
9821
9826
|
type: "heading",
|
|
9822
9827
|
// @ts-expect-error `depth` will be set later.
|
|
@@ -9824,12 +9829,12 @@ function vf(e) {
|
|
|
9824
9829
|
children: []
|
|
9825
9830
|
};
|
|
9826
9831
|
}
|
|
9827
|
-
function
|
|
9832
|
+
function ga() {
|
|
9828
9833
|
return {
|
|
9829
9834
|
type: "break"
|
|
9830
9835
|
};
|
|
9831
9836
|
}
|
|
9832
|
-
function
|
|
9837
|
+
function ba() {
|
|
9833
9838
|
return {
|
|
9834
9839
|
type: "html",
|
|
9835
9840
|
value: ""
|
|
@@ -9843,7 +9848,7 @@ function vf(e) {
|
|
|
9843
9848
|
alt: null
|
|
9844
9849
|
};
|
|
9845
9850
|
}
|
|
9846
|
-
function
|
|
9851
|
+
function Ea() {
|
|
9847
9852
|
return {
|
|
9848
9853
|
type: "link",
|
|
9849
9854
|
title: null,
|
|
@@ -9851,7 +9856,7 @@ function vf(e) {
|
|
|
9851
9856
|
children: []
|
|
9852
9857
|
};
|
|
9853
9858
|
}
|
|
9854
|
-
function
|
|
9859
|
+
function wa(S) {
|
|
9855
9860
|
return {
|
|
9856
9861
|
type: "list",
|
|
9857
9862
|
ordered: S.type === "listOrdered",
|
|
@@ -9929,7 +9934,7 @@ function Pf(e, t) {
|
|
|
9929
9934
|
}
|
|
9930
9935
|
}
|
|
9931
9936
|
}
|
|
9932
|
-
function
|
|
9937
|
+
function ii(e, t) {
|
|
9933
9938
|
throw e ? new Error("Cannot close `" + e.type + "` (" + Wt({
|
|
9934
9939
|
start: e.start,
|
|
9935
9940
|
end: e.end
|
|
@@ -10196,7 +10201,7 @@ function nm(e, t) {
|
|
|
10196
10201
|
tagName: "tbody",
|
|
10197
10202
|
properties: {},
|
|
10198
10203
|
children: e.wrap(n, !0)
|
|
10199
|
-
}, u = je(t.children[1]), l =
|
|
10204
|
+
}, u = je(t.children[1]), l = Vn(t.children[t.children.length - 1]);
|
|
10200
10205
|
u && l && (o.position = { start: u, end: l }), a.push(o);
|
|
10201
10206
|
}
|
|
10202
10207
|
const i = {
|
|
@@ -10235,28 +10240,28 @@ function am(e, t) {
|
|
|
10235
10240
|
};
|
|
10236
10241
|
return e.patch(t, n), e.applyData(t, n);
|
|
10237
10242
|
}
|
|
10238
|
-
const
|
|
10243
|
+
const oi = 9, si = 32;
|
|
10239
10244
|
function im(e) {
|
|
10240
10245
|
const t = String(e), n = /\r?\n|\r/g;
|
|
10241
10246
|
let r = n.exec(t), a = 0;
|
|
10242
10247
|
const i = [];
|
|
10243
10248
|
for (; r; )
|
|
10244
10249
|
i.push(
|
|
10245
|
-
|
|
10250
|
+
ui(t.slice(a, r.index), a > 0, !0),
|
|
10246
10251
|
r[0]
|
|
10247
10252
|
), a = r.index + r[0].length, r = n.exec(t);
|
|
10248
|
-
return i.push(
|
|
10253
|
+
return i.push(ui(t.slice(a), a > 0, !1)), i.join("");
|
|
10249
10254
|
}
|
|
10250
|
-
function
|
|
10255
|
+
function ui(e, t, n) {
|
|
10251
10256
|
let r = 0, a = e.length;
|
|
10252
10257
|
if (t) {
|
|
10253
10258
|
let i = e.codePointAt(r);
|
|
10254
|
-
for (; i ===
|
|
10259
|
+
for (; i === oi || i === si; )
|
|
10255
10260
|
r++, i = e.codePointAt(r);
|
|
10256
10261
|
}
|
|
10257
10262
|
if (n) {
|
|
10258
10263
|
let i = e.codePointAt(a - 1);
|
|
10259
|
-
for (; i ===
|
|
10264
|
+
for (; i === oi || i === si; )
|
|
10260
10265
|
a--, i = e.codePointAt(a - 1);
|
|
10261
10266
|
}
|
|
10262
10267
|
return a > r ? e.slice(r, a) : "";
|
|
@@ -10306,40 +10311,40 @@ const um = {
|
|
|
10306
10311
|
};
|
|
10307
10312
|
function bn() {
|
|
10308
10313
|
}
|
|
10309
|
-
const ls = -1,
|
|
10314
|
+
const ls = -1, Wn = 0, On = 1, Rn = 2, na = 3, ra = 4, aa = 5, ia = 6, cs = 7, ds = 8, li = typeof self == "object" ? self : globalThis, lm = (e, t) => {
|
|
10310
10315
|
const n = (a, i) => (e.set(i, a), a), r = (a) => {
|
|
10311
10316
|
if (e.has(a))
|
|
10312
10317
|
return e.get(a);
|
|
10313
10318
|
const [i, o] = t[a];
|
|
10314
10319
|
switch (i) {
|
|
10315
|
-
case
|
|
10320
|
+
case Wn:
|
|
10316
10321
|
case ls:
|
|
10317
10322
|
return n(o, a);
|
|
10318
|
-
case
|
|
10323
|
+
case On: {
|
|
10319
10324
|
const u = n([], a);
|
|
10320
10325
|
for (const l of o)
|
|
10321
10326
|
u.push(r(l));
|
|
10322
10327
|
return u;
|
|
10323
10328
|
}
|
|
10324
|
-
case
|
|
10329
|
+
case Rn: {
|
|
10325
10330
|
const u = n({}, a);
|
|
10326
10331
|
for (const [l, c] of o)
|
|
10327
10332
|
u[r(l)] = r(c);
|
|
10328
10333
|
return u;
|
|
10329
10334
|
}
|
|
10330
|
-
case
|
|
10335
|
+
case na:
|
|
10331
10336
|
return n(new Date(o), a);
|
|
10332
|
-
case
|
|
10337
|
+
case ra: {
|
|
10333
10338
|
const { source: u, flags: l } = o;
|
|
10334
10339
|
return n(new RegExp(u, l), a);
|
|
10335
10340
|
}
|
|
10336
|
-
case
|
|
10341
|
+
case aa: {
|
|
10337
10342
|
const u = n(/* @__PURE__ */ new Map(), a);
|
|
10338
10343
|
for (const [l, c] of o)
|
|
10339
10344
|
u.set(r(l), r(c));
|
|
10340
10345
|
return u;
|
|
10341
10346
|
}
|
|
10342
|
-
case
|
|
10347
|
+
case ia: {
|
|
10343
10348
|
const u = n(/* @__PURE__ */ new Set(), a);
|
|
10344
10349
|
for (const l of o)
|
|
10345
10350
|
u.add(r(l));
|
|
@@ -10347,37 +10352,37 @@ const ls = -1, Vn = 0, Ln = 1, On = 2, ta = 3, na = 4, ra = 5, aa = 6, cs = 7, d
|
|
|
10347
10352
|
}
|
|
10348
10353
|
case cs: {
|
|
10349
10354
|
const { name: u, message: l } = o;
|
|
10350
|
-
return n(new
|
|
10355
|
+
return n(new li[u](l), a);
|
|
10351
10356
|
}
|
|
10352
10357
|
case ds:
|
|
10353
10358
|
return n(BigInt(o), a);
|
|
10354
10359
|
case "BigInt":
|
|
10355
10360
|
return n(Object(BigInt(o)), a);
|
|
10356
10361
|
}
|
|
10357
|
-
return n(new
|
|
10362
|
+
return n(new li[i](o), a);
|
|
10358
10363
|
};
|
|
10359
10364
|
return r;
|
|
10360
|
-
},
|
|
10365
|
+
}, ci = (e) => lm(/* @__PURE__ */ new Map(), e)(0), wt = "", { toString: cm } = {}, { keys: dm } = Object, zt = (e) => {
|
|
10361
10366
|
const t = typeof e;
|
|
10362
10367
|
if (t !== "object" || !e)
|
|
10363
|
-
return [
|
|
10368
|
+
return [Wn, t];
|
|
10364
10369
|
const n = cm.call(e).slice(8, -1);
|
|
10365
10370
|
switch (n) {
|
|
10366
10371
|
case "Array":
|
|
10367
|
-
return [Ln, wt];
|
|
10368
|
-
case "Object":
|
|
10369
10372
|
return [On, wt];
|
|
10373
|
+
case "Object":
|
|
10374
|
+
return [Rn, wt];
|
|
10370
10375
|
case "Date":
|
|
10371
|
-
return [ta, wt];
|
|
10372
|
-
case "RegExp":
|
|
10373
10376
|
return [na, wt];
|
|
10374
|
-
case "
|
|
10377
|
+
case "RegExp":
|
|
10375
10378
|
return [ra, wt];
|
|
10376
|
-
case "
|
|
10379
|
+
case "Map":
|
|
10377
10380
|
return [aa, wt];
|
|
10381
|
+
case "Set":
|
|
10382
|
+
return [ia, wt];
|
|
10378
10383
|
}
|
|
10379
|
-
return n.includes("Array") ? [
|
|
10380
|
-
}, En = ([e, t]) => e ===
|
|
10384
|
+
return n.includes("Array") ? [On, n] : n.includes("Error") ? [cs, n] : [Rn, n];
|
|
10385
|
+
}, En = ([e, t]) => e === Wn && (t === "function" || t === "symbol"), hm = (e, t, n, r) => {
|
|
10381
10386
|
const a = (o, u) => {
|
|
10382
10387
|
const l = r.push(o) - 1;
|
|
10383
10388
|
return n.set(u, l), l;
|
|
@@ -10386,7 +10391,7 @@ const ls = -1, Vn = 0, Ln = 1, On = 2, ta = 3, na = 4, ra = 5, aa = 6, cs = 7, d
|
|
|
10386
10391
|
return n.get(o);
|
|
10387
10392
|
let [u, l] = zt(o);
|
|
10388
10393
|
switch (u) {
|
|
10389
|
-
case
|
|
10394
|
+
case Wn: {
|
|
10390
10395
|
let d = o;
|
|
10391
10396
|
switch (l) {
|
|
10392
10397
|
case "bigint":
|
|
@@ -10403,7 +10408,7 @@ const ls = -1, Vn = 0, Ln = 1, On = 2, ta = 3, na = 4, ra = 5, aa = 6, cs = 7, d
|
|
|
10403
10408
|
}
|
|
10404
10409
|
return a([u, d], o);
|
|
10405
10410
|
}
|
|
10406
|
-
case
|
|
10411
|
+
case On: {
|
|
10407
10412
|
if (l)
|
|
10408
10413
|
return a([l, [...o]], o);
|
|
10409
10414
|
const d = [], h = a([u, d], o);
|
|
@@ -10411,7 +10416,7 @@ const ls = -1, Vn = 0, Ln = 1, On = 2, ta = 3, na = 4, ra = 5, aa = 6, cs = 7, d
|
|
|
10411
10416
|
d.push(i(g));
|
|
10412
10417
|
return h;
|
|
10413
10418
|
}
|
|
10414
|
-
case
|
|
10419
|
+
case Rn: {
|
|
10415
10420
|
if (l)
|
|
10416
10421
|
switch (l) {
|
|
10417
10422
|
case "BigInt":
|
|
@@ -10428,19 +10433,19 @@ const ls = -1, Vn = 0, Ln = 1, On = 2, ta = 3, na = 4, ra = 5, aa = 6, cs = 7, d
|
|
|
10428
10433
|
(e || !En(zt(o[g]))) && d.push([i(g), i(o[g])]);
|
|
10429
10434
|
return h;
|
|
10430
10435
|
}
|
|
10431
|
-
case
|
|
10436
|
+
case na:
|
|
10432
10437
|
return a([u, o.toISOString()], o);
|
|
10433
|
-
case
|
|
10438
|
+
case ra: {
|
|
10434
10439
|
const { source: d, flags: h } = o;
|
|
10435
10440
|
return a([u, { source: d, flags: h }], o);
|
|
10436
10441
|
}
|
|
10437
|
-
case
|
|
10442
|
+
case aa: {
|
|
10438
10443
|
const d = [], h = a([u, d], o);
|
|
10439
10444
|
for (const [g, p] of o)
|
|
10440
10445
|
(e || !(En(zt(g)) || En(zt(p)))) && d.push([i(g), i(p)]);
|
|
10441
10446
|
return h;
|
|
10442
10447
|
}
|
|
10443
|
-
case
|
|
10448
|
+
case ia: {
|
|
10444
10449
|
const d = [], h = a([u, d], o);
|
|
10445
10450
|
for (const g of o)
|
|
10446
10451
|
(e || !En(zt(g))) && d.push(i(g));
|
|
@@ -10451,13 +10456,13 @@ const ls = -1, Vn = 0, Ln = 1, On = 2, ta = 3, na = 4, ra = 5, aa = 6, cs = 7, d
|
|
|
10451
10456
|
return a([u, { name: l, message: c }], o);
|
|
10452
10457
|
};
|
|
10453
10458
|
return i;
|
|
10454
|
-
},
|
|
10459
|
+
}, di = (e, { json: t, lossy: n } = {}) => {
|
|
10455
10460
|
const r = [];
|
|
10456
10461
|
return hm(!(t || n), !!t, /* @__PURE__ */ new Map(), r)(e), r;
|
|
10457
10462
|
}, At = typeof structuredClone == "function" ? (
|
|
10458
10463
|
/* c8 ignore start */
|
|
10459
|
-
(e, t) => t && ("json" in t || "lossy" in t) ?
|
|
10460
|
-
) : (e, t) =>
|
|
10464
|
+
(e, t) => t && ("json" in t || "lossy" in t) ? ci(di(e, t)) : structuredClone(e)
|
|
10465
|
+
) : (e, t) => ci(di(e, t));
|
|
10461
10466
|
function pm(e, t) {
|
|
10462
10467
|
const n = [{ type: "text", value: "↩" }];
|
|
10463
10468
|
return t > 1 && n.push({
|
|
@@ -10541,7 +10546,7 @@ function mm(e) {
|
|
|
10541
10546
|
]
|
|
10542
10547
|
};
|
|
10543
10548
|
}
|
|
10544
|
-
const
|
|
10549
|
+
const Sr = {}.hasOwnProperty, gm = {};
|
|
10545
10550
|
function bm(e, t) {
|
|
10546
10551
|
const n = t || gm, r = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), o = { ...um, ...n.handlers }, u = {
|
|
10547
10552
|
all: c,
|
|
@@ -10556,7 +10561,7 @@ function bm(e, t) {
|
|
|
10556
10561
|
patch: Em,
|
|
10557
10562
|
wrap: Tm
|
|
10558
10563
|
};
|
|
10559
|
-
return
|
|
10564
|
+
return Yn(e, function(d) {
|
|
10560
10565
|
if (d.type === "definition" || d.type === "footnoteDefinition") {
|
|
10561
10566
|
const h = d.type === "definition" ? r : a, g = String(d.identifier).toUpperCase();
|
|
10562
10567
|
h.has(g) || h.set(g, d);
|
|
@@ -10564,7 +10569,7 @@ function bm(e, t) {
|
|
|
10564
10569
|
}), u;
|
|
10565
10570
|
function l(d, h) {
|
|
10566
10571
|
const g = d.type, p = u.handlers[g];
|
|
10567
|
-
if (
|
|
10572
|
+
if (Sr.call(u.handlers, g) && p)
|
|
10568
10573
|
return p(u, d, h);
|
|
10569
10574
|
if (u.options.passThrough && u.options.passThrough.includes(g)) {
|
|
10570
10575
|
if ("children" in d) {
|
|
@@ -10583,9 +10588,9 @@ function bm(e, t) {
|
|
|
10583
10588
|
for (; ++p < g.length; ) {
|
|
10584
10589
|
const E = u.one(g[p], d);
|
|
10585
10590
|
if (E) {
|
|
10586
|
-
if (p && g[p - 1].type === "break" && (!Array.isArray(E) && E.type === "text" && (E.value =
|
|
10591
|
+
if (p && g[p - 1].type === "break" && (!Array.isArray(E) && E.type === "text" && (E.value = hi(E.value)), !Array.isArray(E) && E.type === "element")) {
|
|
10587
10592
|
const y = E.children[0];
|
|
10588
|
-
y && y.type === "text" && (y.value =
|
|
10593
|
+
y && y.type === "text" && (y.value = hi(y.value));
|
|
10589
10594
|
}
|
|
10590
10595
|
Array.isArray(E) ? h.push(...E) : h.push(E);
|
|
10591
10596
|
}
|
|
@@ -10613,7 +10618,7 @@ function wm(e, t) {
|
|
|
10613
10618
|
return n;
|
|
10614
10619
|
}
|
|
10615
10620
|
function xm(e, t) {
|
|
10616
|
-
const n = t.data || {}, r = "value" in t && !(
|
|
10621
|
+
const n = t.data || {}, r = "value" in t && !(Sr.call(n, "hProperties") || Sr.call(n, "hChildren")) ? { type: "text", value: t.value } : {
|
|
10617
10622
|
type: "element",
|
|
10618
10623
|
tagName: "div",
|
|
10619
10624
|
properties: {},
|
|
@@ -10631,13 +10636,13 @@ function Tm(e, t) {
|
|
|
10631
10636
|
return t && e.length > 0 && n.push({ type: "text", value: `
|
|
10632
10637
|
` }), n;
|
|
10633
10638
|
}
|
|
10634
|
-
function
|
|
10639
|
+
function hi(e) {
|
|
10635
10640
|
let t = 0, n = e.charCodeAt(t);
|
|
10636
10641
|
for (; n === 9 || n === 32; )
|
|
10637
10642
|
t++, n = e.charCodeAt(t);
|
|
10638
10643
|
return e.slice(t);
|
|
10639
10644
|
}
|
|
10640
|
-
function
|
|
10645
|
+
function pi(e, t) {
|
|
10641
10646
|
const n = bm(e, t), r = n.one(e, void 0), a = mm(n), i = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
|
|
10642
10647
|
return a && i.children.push({ type: "text", value: `
|
|
10643
10648
|
` }, a), i;
|
|
@@ -10646,23 +10651,23 @@ function ym(e, t) {
|
|
|
10646
10651
|
return e && "run" in e ? async function(n, r) {
|
|
10647
10652
|
const a = (
|
|
10648
10653
|
/** @type {HastRoot} */
|
|
10649
|
-
|
|
10654
|
+
pi(n, { file: r, ...t })
|
|
10650
10655
|
);
|
|
10651
10656
|
await e.run(a, r);
|
|
10652
10657
|
} : function(n, r) {
|
|
10653
10658
|
return (
|
|
10654
10659
|
/** @type {HastRoot} */
|
|
10655
|
-
|
|
10660
|
+
pi(n, { file: r, ...e || t })
|
|
10656
10661
|
);
|
|
10657
10662
|
};
|
|
10658
10663
|
}
|
|
10659
|
-
function
|
|
10664
|
+
function fi(e) {
|
|
10660
10665
|
if (e)
|
|
10661
10666
|
throw e;
|
|
10662
10667
|
}
|
|
10663
|
-
var yn = Object.prototype.hasOwnProperty, hs = Object.prototype.toString,
|
|
10668
|
+
var yn = Object.prototype.hasOwnProperty, hs = Object.prototype.toString, mi = Object.defineProperty, gi = Object.getOwnPropertyDescriptor, bi = function(t) {
|
|
10664
10669
|
return typeof Array.isArray == "function" ? Array.isArray(t) : hs.call(t) === "[object Array]";
|
|
10665
|
-
},
|
|
10670
|
+
}, Ei = function(t) {
|
|
10666
10671
|
if (!t || hs.call(t) !== "[object Object]")
|
|
10667
10672
|
return !1;
|
|
10668
10673
|
var n = yn.call(t, "constructor"), r = t.constructor && t.constructor.prototype && yn.call(t.constructor.prototype, "isPrototypeOf");
|
|
@@ -10672,18 +10677,18 @@ var yn = Object.prototype.hasOwnProperty, hs = Object.prototype.toString, pi = O
|
|
|
10672
10677
|
for (a in t)
|
|
10673
10678
|
;
|
|
10674
10679
|
return typeof a > "u" || yn.call(t, a);
|
|
10675
|
-
},
|
|
10676
|
-
|
|
10680
|
+
}, wi = function(t, n) {
|
|
10681
|
+
mi && n.name === "__proto__" ? mi(t, n.name, {
|
|
10677
10682
|
enumerable: !0,
|
|
10678
10683
|
configurable: !0,
|
|
10679
10684
|
value: n.newValue,
|
|
10680
10685
|
writable: !0
|
|
10681
10686
|
}) : t[n.name] = n.newValue;
|
|
10682
|
-
},
|
|
10687
|
+
}, xi = function(t, n) {
|
|
10683
10688
|
if (n === "__proto__")
|
|
10684
10689
|
if (yn.call(t, n)) {
|
|
10685
|
-
if (
|
|
10686
|
-
return
|
|
10690
|
+
if (gi)
|
|
10691
|
+
return gi(t, n).value;
|
|
10687
10692
|
} else return;
|
|
10688
10693
|
return t[n];
|
|
10689
10694
|
}, Cm = function e() {
|
|
@@ -10691,11 +10696,11 @@ var yn = Object.prototype.hasOwnProperty, hs = Object.prototype.toString, pi = O
|
|
|
10691
10696
|
for (typeof u == "boolean" && (d = u, u = arguments[1] || {}, l = 2), (u == null || typeof u != "object" && typeof u != "function") && (u = {}); l < c; ++l)
|
|
10692
10697
|
if (t = arguments[l], t != null)
|
|
10693
10698
|
for (n in t)
|
|
10694
|
-
r =
|
|
10699
|
+
r = xi(u, n), a = xi(t, n), u !== a && (d && a && (Ei(a) || (i = bi(a))) ? (i ? (i = !1, o = r && bi(r) ? r : []) : o = r && Ei(r) ? r : {}, wi(u, { name: n, newValue: e(d, o, a) })) : typeof a < "u" && wi(u, { name: n, newValue: a }));
|
|
10695
10700
|
return u;
|
|
10696
10701
|
};
|
|
10697
|
-
const
|
|
10698
|
-
function
|
|
10702
|
+
const cr = /* @__PURE__ */ Qu(Cm);
|
|
10703
|
+
function Lr(e) {
|
|
10699
10704
|
if (typeof e != "object" || e === null)
|
|
10700
10705
|
return !1;
|
|
10701
10706
|
const t = Object.getPrototypeOf(e);
|
|
@@ -10870,14 +10875,14 @@ const Rm = { cwd: Dm };
|
|
|
10870
10875
|
function Dm() {
|
|
10871
10876
|
return "/";
|
|
10872
10877
|
}
|
|
10873
|
-
function
|
|
10878
|
+
function Or(e) {
|
|
10874
10879
|
return !!(e !== null && typeof e == "object" && "href" in e && e.href && "protocol" in e && e.protocol && // @ts-expect-error: indexing is fine.
|
|
10875
10880
|
e.auth === void 0);
|
|
10876
10881
|
}
|
|
10877
10882
|
function vm(e) {
|
|
10878
10883
|
if (typeof e == "string")
|
|
10879
10884
|
e = new URL(e);
|
|
10880
|
-
else if (!
|
|
10885
|
+
else if (!Or(e)) {
|
|
10881
10886
|
const t = new TypeError(
|
|
10882
10887
|
'The "path" argument must be of type string or an instance of URL. Received `' + e + "`"
|
|
10883
10888
|
);
|
|
@@ -10910,7 +10915,7 @@ function Pm(e) {
|
|
|
10910
10915
|
}
|
|
10911
10916
|
return decodeURIComponent(t);
|
|
10912
10917
|
}
|
|
10913
|
-
const
|
|
10918
|
+
const dr = (
|
|
10914
10919
|
/** @type {const} */
|
|
10915
10920
|
[
|
|
10916
10921
|
"history",
|
|
@@ -10946,15 +10951,15 @@ class ps {
|
|
|
10946
10951
|
*/
|
|
10947
10952
|
constructor(t) {
|
|
10948
10953
|
let n;
|
|
10949
|
-
t ?
|
|
10954
|
+
t ? Or(t) ? n = { path: t } : typeof t == "string" || Mm(t) ? n = { value: t } : n = t : n = {}, this.cwd = "cwd" in n ? "" : Rm.cwd(), this.data = {}, this.history = [], this.messages = [], this.value, this.map, this.result, this.stored;
|
|
10950
10955
|
let r = -1;
|
|
10951
|
-
for (; ++r <
|
|
10952
|
-
const i =
|
|
10956
|
+
for (; ++r < dr.length; ) {
|
|
10957
|
+
const i = dr[r];
|
|
10953
10958
|
i in n && n[i] !== void 0 && n[i] !== null && (this[i] = i === "history" ? [...n[i]] : n[i]);
|
|
10954
10959
|
}
|
|
10955
10960
|
let a;
|
|
10956
10961
|
for (a in n)
|
|
10957
|
-
|
|
10962
|
+
dr.includes(a) || (this[a] = n[a]);
|
|
10958
10963
|
}
|
|
10959
10964
|
/**
|
|
10960
10965
|
* Get the basename (including extname) (example: `'index.min.js'`).
|
|
@@ -10978,7 +10983,7 @@ class ps {
|
|
|
10978
10983
|
* Nothing.
|
|
10979
10984
|
*/
|
|
10980
10985
|
set basename(t) {
|
|
10981
|
-
|
|
10986
|
+
pr(t, "basename"), hr(t, "basename"), this.path = Ue.join(this.dirname || "", t);
|
|
10982
10987
|
}
|
|
10983
10988
|
/**
|
|
10984
10989
|
* Get the parent path (example: `'~'`).
|
|
@@ -11000,7 +11005,7 @@ class ps {
|
|
|
11000
11005
|
* Nothing.
|
|
11001
11006
|
*/
|
|
11002
11007
|
set dirname(t) {
|
|
11003
|
-
|
|
11008
|
+
Ti(this.basename, "dirname"), this.path = Ue.join(t || "", this.basename);
|
|
11004
11009
|
}
|
|
11005
11010
|
/**
|
|
11006
11011
|
* Get the extname (including dot) (example: `'.js'`).
|
|
@@ -11024,7 +11029,7 @@ class ps {
|
|
|
11024
11029
|
* Nothing.
|
|
11025
11030
|
*/
|
|
11026
11031
|
set extname(t) {
|
|
11027
|
-
if (
|
|
11032
|
+
if (hr(t, "extname"), Ti(this.dirname, "extname"), t) {
|
|
11028
11033
|
if (t.codePointAt(0) !== 46)
|
|
11029
11034
|
throw new Error("`extname` must start with `.`");
|
|
11030
11035
|
if (t.includes(".", 1))
|
|
@@ -11054,7 +11059,7 @@ class ps {
|
|
|
11054
11059
|
* Nothing.
|
|
11055
11060
|
*/
|
|
11056
11061
|
set path(t) {
|
|
11057
|
-
|
|
11062
|
+
Or(t) && (t = vm(t)), pr(t, "path"), this.path !== t && this.history.push(t);
|
|
11058
11063
|
}
|
|
11059
11064
|
/**
|
|
11060
11065
|
* Get the stem (basename w/o extname) (example: `'index.min'`).
|
|
@@ -11078,7 +11083,7 @@ class ps {
|
|
|
11078
11083
|
* Nothing.
|
|
11079
11084
|
*/
|
|
11080
11085
|
set stem(t) {
|
|
11081
|
-
|
|
11086
|
+
pr(t, "stem"), hr(t, "stem"), this.path = Ue.join(this.dirname || "", t + (this.extname || ""));
|
|
11082
11087
|
}
|
|
11083
11088
|
// Normal prototypal methods.
|
|
11084
11089
|
/**
|
|
@@ -11291,17 +11296,17 @@ class ps {
|
|
|
11291
11296
|
return this.value === void 0 ? "" : typeof this.value == "string" ? this.value : new TextDecoder(t || void 0).decode(this.value);
|
|
11292
11297
|
}
|
|
11293
11298
|
}
|
|
11294
|
-
function
|
|
11299
|
+
function hr(e, t) {
|
|
11295
11300
|
if (e && e.includes(Ue.sep))
|
|
11296
11301
|
throw new Error(
|
|
11297
11302
|
"`" + t + "` cannot be a path: did not expect `" + Ue.sep + "`"
|
|
11298
11303
|
);
|
|
11299
11304
|
}
|
|
11300
|
-
function
|
|
11305
|
+
function pr(e, t) {
|
|
11301
11306
|
if (!e)
|
|
11302
11307
|
throw new Error("`" + t + "` cannot be empty");
|
|
11303
11308
|
}
|
|
11304
|
-
function
|
|
11309
|
+
function Ti(e, t) {
|
|
11305
11310
|
if (!e)
|
|
11306
11311
|
throw new Error("Setting `" + t + "` requires `path` to be set too");
|
|
11307
11312
|
}
|
|
@@ -11330,7 +11335,7 @@ const Bm = (
|
|
|
11330
11335
|
return Object.setPrototypeOf(i, r), i;
|
|
11331
11336
|
}
|
|
11332
11337
|
), Fm = {}.hasOwnProperty;
|
|
11333
|
-
class
|
|
11338
|
+
class oa extends Bm {
|
|
11334
11339
|
/**
|
|
11335
11340
|
* Create a processor.
|
|
11336
11341
|
*/
|
|
@@ -11351,14 +11356,14 @@ class ia extends Bm {
|
|
|
11351
11356
|
copy() {
|
|
11352
11357
|
const t = (
|
|
11353
11358
|
/** @type {Processor<ParseTree, HeadTree, TailTree, CompileTree, CompileResult>} */
|
|
11354
|
-
new
|
|
11359
|
+
new oa()
|
|
11355
11360
|
);
|
|
11356
11361
|
let n = -1;
|
|
11357
11362
|
for (; ++n < this.attachers.length; ) {
|
|
11358
11363
|
const r = this.attachers[n];
|
|
11359
11364
|
t.use(...r);
|
|
11360
11365
|
}
|
|
11361
|
-
return t.data(
|
|
11366
|
+
return t.data(cr(!0, {}, this.namespace)), t;
|
|
11362
11367
|
}
|
|
11363
11368
|
/**
|
|
11364
11369
|
* Configure the processor with info available to all plugins.
|
|
@@ -11420,7 +11425,7 @@ class ia extends Bm {
|
|
|
11420
11425
|
* the entire dataset when getting without key.
|
|
11421
11426
|
*/
|
|
11422
11427
|
data(t, n) {
|
|
11423
|
-
return typeof t == "string" ? arguments.length === 2 ? (
|
|
11428
|
+
return typeof t == "string" ? arguments.length === 2 ? (gr("data", this.frozen), this.namespace[t] = n, this) : Fm.call(this.namespace, t) && this.namespace[t] || void 0 : t ? (gr("data", this.frozen), this.namespace = t, this) : this.namespace;
|
|
11424
11429
|
}
|
|
11425
11430
|
/**
|
|
11426
11431
|
* Freeze a processor.
|
|
@@ -11474,7 +11479,7 @@ class ia extends Bm {
|
|
|
11474
11479
|
parse(t) {
|
|
11475
11480
|
this.freeze();
|
|
11476
11481
|
const n = wn(t), r = this.parser || this.Parser;
|
|
11477
|
-
return
|
|
11482
|
+
return fr("parse", r), r(String(n), n);
|
|
11478
11483
|
}
|
|
11479
11484
|
/**
|
|
11480
11485
|
* Process the given file as configured on the processor.
|
|
@@ -11520,7 +11525,7 @@ class ia extends Bm {
|
|
|
11520
11525
|
*/
|
|
11521
11526
|
process(t, n) {
|
|
11522
11527
|
const r = this;
|
|
11523
|
-
return this.freeze(),
|
|
11528
|
+
return this.freeze(), fr("process", this.parser || this.Parser), mr("process", this.compiler || this.Compiler), n ? a(void 0, n) : new Promise(a);
|
|
11524
11529
|
function a(i, o) {
|
|
11525
11530
|
const u = wn(t), l = (
|
|
11526
11531
|
/** @type {HeadTree extends undefined ? Node : HeadTree} */
|
|
@@ -11579,9 +11584,9 @@ class ia extends Bm {
|
|
|
11579
11584
|
*/
|
|
11580
11585
|
processSync(t) {
|
|
11581
11586
|
let n = !1, r;
|
|
11582
|
-
return this.freeze(),
|
|
11587
|
+
return this.freeze(), fr("processSync", this.parser || this.Parser), mr("processSync", this.compiler || this.Compiler), this.process(t, a), Ci("processSync", "process", n), r;
|
|
11583
11588
|
function a(i, o) {
|
|
11584
|
-
n = !0,
|
|
11589
|
+
n = !0, fi(i), r = o;
|
|
11585
11590
|
}
|
|
11586
11591
|
}
|
|
11587
11592
|
/**
|
|
@@ -11623,7 +11628,7 @@ class ia extends Bm {
|
|
|
11623
11628
|
* transformed tree.
|
|
11624
11629
|
*/
|
|
11625
11630
|
run(t, n, r) {
|
|
11626
|
-
|
|
11631
|
+
yi(t), this.freeze();
|
|
11627
11632
|
const a = this.transformers;
|
|
11628
11633
|
return !r && typeof n == "function" && (r = n, n = void 0), r ? i(void 0, r) : new Promise(i);
|
|
11629
11634
|
function i(o, u) {
|
|
@@ -11657,9 +11662,9 @@ class ia extends Bm {
|
|
|
11657
11662
|
*/
|
|
11658
11663
|
runSync(t, n) {
|
|
11659
11664
|
let r = !1, a;
|
|
11660
|
-
return this.run(t, n, i),
|
|
11665
|
+
return this.run(t, n, i), Ci("runSync", "run", r), a;
|
|
11661
11666
|
function i(o, u) {
|
|
11662
|
-
|
|
11667
|
+
fi(o), a = u, r = !0;
|
|
11663
11668
|
}
|
|
11664
11669
|
}
|
|
11665
11670
|
/**
|
|
@@ -11694,7 +11699,7 @@ class ia extends Bm {
|
|
|
11694
11699
|
stringify(t, n) {
|
|
11695
11700
|
this.freeze();
|
|
11696
11701
|
const r = wn(n), a = this.compiler || this.Compiler;
|
|
11697
|
-
return
|
|
11702
|
+
return mr("stringify", a), yi(t), a(t, r);
|
|
11698
11703
|
}
|
|
11699
11704
|
/**
|
|
11700
11705
|
* Configure the processor to use a plugin, a list of usable values, or a
|
|
@@ -11755,7 +11760,7 @@ class ia extends Bm {
|
|
|
11755
11760
|
*/
|
|
11756
11761
|
use(t, ...n) {
|
|
11757
11762
|
const r = this.attachers, a = this.namespace;
|
|
11758
|
-
if (
|
|
11763
|
+
if (gr("use", this.frozen), t != null) if (typeof t == "function")
|
|
11759
11764
|
l(t, n);
|
|
11760
11765
|
else if (typeof t == "object")
|
|
11761
11766
|
Array.isArray(t) ? u(t) : o(t);
|
|
@@ -11782,7 +11787,7 @@ class ia extends Bm {
|
|
|
11782
11787
|
throw new Error(
|
|
11783
11788
|
"Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither"
|
|
11784
11789
|
);
|
|
11785
|
-
u(c.plugins), c.settings && (a.settings =
|
|
11790
|
+
u(c.plugins), c.settings && (a.settings = cr(!0, a.settings, c.settings));
|
|
11786
11791
|
}
|
|
11787
11792
|
function u(c) {
|
|
11788
11793
|
let d = -1;
|
|
@@ -11806,31 +11811,31 @@ class ia extends Bm {
|
|
|
11806
11811
|
else if (d.length > 0) {
|
|
11807
11812
|
let [p, ...E] = d;
|
|
11808
11813
|
const y = r[g][1];
|
|
11809
|
-
|
|
11814
|
+
Lr(y) && Lr(p) && (p = cr(!0, y, p)), r[g] = [c, p, ...E];
|
|
11810
11815
|
}
|
|
11811
11816
|
}
|
|
11812
11817
|
}
|
|
11813
11818
|
}
|
|
11814
|
-
const Hm = new
|
|
11815
|
-
function
|
|
11819
|
+
const Hm = new oa().freeze();
|
|
11820
|
+
function fr(e, t) {
|
|
11816
11821
|
if (typeof t != "function")
|
|
11817
11822
|
throw new TypeError("Cannot `" + e + "` without `parser`");
|
|
11818
11823
|
}
|
|
11819
|
-
function
|
|
11824
|
+
function mr(e, t) {
|
|
11820
11825
|
if (typeof t != "function")
|
|
11821
11826
|
throw new TypeError("Cannot `" + e + "` without `compiler`");
|
|
11822
11827
|
}
|
|
11823
|
-
function
|
|
11828
|
+
function gr(e, t) {
|
|
11824
11829
|
if (t)
|
|
11825
11830
|
throw new Error(
|
|
11826
11831
|
"Cannot call `" + e + "` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`."
|
|
11827
11832
|
);
|
|
11828
11833
|
}
|
|
11829
|
-
function
|
|
11830
|
-
if (!
|
|
11834
|
+
function yi(e) {
|
|
11835
|
+
if (!Lr(e) || typeof e.type != "string")
|
|
11831
11836
|
throw new TypeError("Expected node, got `" + e + "`");
|
|
11832
11837
|
}
|
|
11833
|
-
function
|
|
11838
|
+
function Ci(e, t, n) {
|
|
11834
11839
|
if (!n)
|
|
11835
11840
|
throw new Error(
|
|
11836
11841
|
"`" + e + "` finished async. Use `" + t + "` instead"
|
|
@@ -11848,7 +11853,7 @@ function zm(e) {
|
|
|
11848
11853
|
function Ym(e) {
|
|
11849
11854
|
return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
|
|
11850
11855
|
}
|
|
11851
|
-
const jm = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md",
|
|
11856
|
+
const jm = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", _i = [], Ai = { allowDangerousHtml: !0 }, qm = /^(https?|ircs?|mailto|xmpp)$/i, Vm = [
|
|
11852
11857
|
{ from: "astPlugins", id: "remove-buggy-html-in-markdown-parser" },
|
|
11853
11858
|
{ from: "allowDangerousHtml", id: "remove-buggy-html-in-markdown-parser" },
|
|
11854
11859
|
{
|
|
@@ -11882,7 +11887,7 @@ const jm = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md",
|
|
|
11882
11887
|
{ from: "transformLinkUri", id: "#add-urltransform", to: "urlTransform" }
|
|
11883
11888
|
];
|
|
11884
11889
|
function Wm(e) {
|
|
11885
|
-
const t = e.allowedElements, n = e.allowElement, r = e.children || "", a = e.className, i = e.components, o = e.disallowedElements, u = e.rehypePlugins ||
|
|
11890
|
+
const t = e.allowedElements, n = e.allowElement, r = e.children || "", a = e.className, i = e.components, o = e.disallowedElements, u = e.rehypePlugins || _i, l = e.remarkPlugins || _i, c = e.remarkRehypeOptions ? { ...e.remarkRehypeOptions, ...Ai } : Ai, d = e.skipHtml, h = e.unwrapDisallowed, g = e.urlTransform || Gm, p = Hm().use(Mf).use(l).use(ym, c).use(u), E = new ps();
|
|
11886
11891
|
typeof r == "string" && (E.value = r);
|
|
11887
11892
|
for (const L of Vm)
|
|
11888
11893
|
Object.hasOwn(e, L.from) && ("" + L.from + (L.to ? "use `" + L.to + "` instead" : "remove it") + jm + L.id, void 0);
|
|
@@ -11897,8 +11902,8 @@ function Wm(e) {
|
|
|
11897
11902
|
/** @type {Array<ElementContent>} */
|
|
11898
11903
|
A.type === "root" ? A.children : [A]
|
|
11899
11904
|
)
|
|
11900
|
-
}),
|
|
11901
|
-
Fragment:
|
|
11905
|
+
}), Yn(A, _), Yp(A, {
|
|
11906
|
+
Fragment: ji,
|
|
11902
11907
|
components: i,
|
|
11903
11908
|
ignoreInvalidStyle: !0,
|
|
11904
11909
|
jsx: b,
|
|
@@ -11911,9 +11916,9 @@ function Wm(e) {
|
|
|
11911
11916
|
return d ? P.children.splice(O, 1) : P.children[O] = { type: "text", value: L.value }, O;
|
|
11912
11917
|
if (L.type === "element") {
|
|
11913
11918
|
let H;
|
|
11914
|
-
for (H in
|
|
11915
|
-
if (Object.hasOwn(
|
|
11916
|
-
const I = L.properties[H], F =
|
|
11919
|
+
for (H in lr)
|
|
11920
|
+
if (Object.hasOwn(lr, H) && Object.hasOwn(L.properties, H)) {
|
|
11921
|
+
const I = L.properties[H], F = lr[H];
|
|
11917
11922
|
(F === null || F.includes(L.tagName)) && (L.properties[H] = g(String(I || ""), H, L));
|
|
11918
11923
|
}
|
|
11919
11924
|
}
|
|
@@ -11933,16 +11938,16 @@ function Gm(e) {
|
|
|
11933
11938
|
qm.test(e.slice(0, t)) ? e : ""
|
|
11934
11939
|
);
|
|
11935
11940
|
}
|
|
11936
|
-
const fs =
|
|
11941
|
+
const fs = Ur.memo(
|
|
11937
11942
|
Wm,
|
|
11938
11943
|
(e, t) => e.children === t.children && e.className === t.className
|
|
11939
|
-
),
|
|
11944
|
+
), ki = /[#.]/g;
|
|
11940
11945
|
function Qm(e, t) {
|
|
11941
11946
|
const n = e || "", r = {};
|
|
11942
11947
|
let a = 0, i, o;
|
|
11943
11948
|
for (; a < n.length; ) {
|
|
11944
|
-
|
|
11945
|
-
const u =
|
|
11949
|
+
ki.lastIndex = a;
|
|
11950
|
+
const u = ki.exec(n), l = n.slice(a, u ? u.index : n.length);
|
|
11946
11951
|
l && (i ? i === "#" ? r.id = l : Array.isArray(r.className) ? r.className.push(l) : r.className = [l] : o = l, a += l.length), u && (i = u[0], a++);
|
|
11947
11952
|
}
|
|
11948
11953
|
return {
|
|
@@ -11953,7 +11958,7 @@ function Qm(e, t) {
|
|
|
11953
11958
|
children: []
|
|
11954
11959
|
};
|
|
11955
11960
|
}
|
|
11956
|
-
const
|
|
11961
|
+
const Rr = {}.hasOwnProperty;
|
|
11957
11962
|
function ms(e, t, n) {
|
|
11958
11963
|
const r = n && Jm(n);
|
|
11959
11964
|
function a(i, o, ...u) {
|
|
@@ -11965,15 +11970,15 @@ function ms(e, t, n) {
|
|
|
11965
11970
|
o
|
|
11966
11971
|
);
|
|
11967
11972
|
u.unshift(d);
|
|
11968
|
-
} else if (c = Qm(i, t), c.tagName = c.tagName.toLowerCase(), r &&
|
|
11973
|
+
} else if (c = Qm(i, t), c.tagName = c.tagName.toLowerCase(), r && Rr.call(r, c.tagName) && (c.tagName = r[c.tagName]), Xm(o))
|
|
11969
11974
|
u.unshift(o);
|
|
11970
11975
|
else {
|
|
11971
11976
|
let d;
|
|
11972
11977
|
for (d in o)
|
|
11973
|
-
|
|
11978
|
+
Rr.call(o, d) && Km(e, c.properties, d, o[d]);
|
|
11974
11979
|
}
|
|
11975
11980
|
for (; ++l < u.length; )
|
|
11976
|
-
|
|
11981
|
+
Dr(c.children, u[l]);
|
|
11977
11982
|
return c.type === "element" && c.tagName === "template" && (c.content = { type: "root", children: c.children }, c.children = []), c;
|
|
11978
11983
|
}
|
|
11979
11984
|
return a;
|
|
@@ -12002,19 +12007,19 @@ function Xm(e) {
|
|
|
12002
12007
|
return !!("children" in e && Array.isArray(e.children));
|
|
12003
12008
|
}
|
|
12004
12009
|
function Km(e, t, n, r) {
|
|
12005
|
-
const a =
|
|
12010
|
+
const a = qn(e, n);
|
|
12006
12011
|
let i = -1, o;
|
|
12007
12012
|
if (r != null) {
|
|
12008
12013
|
if (typeof r == "number") {
|
|
12009
12014
|
if (Number.isNaN(r)) return;
|
|
12010
12015
|
o = r;
|
|
12011
|
-
} else typeof r == "boolean" ? o = r : typeof r == "string" ? a.spaceSeparated ? o =
|
|
12016
|
+
} else typeof r == "boolean" ? o = r : typeof r == "string" ? a.spaceSeparated ? o = Xa(r) : a.commaSeparated ? o = qa(r) : a.commaOrSpaceSeparated ? o = Xa(qa(r).join(" ")) : o = Ni(a, a.property, r) : Array.isArray(r) ? o = r.concat() : o = a.property === "style" ? $m(r) : String(r);
|
|
12012
12017
|
if (Array.isArray(o)) {
|
|
12013
12018
|
const u = [];
|
|
12014
12019
|
for (; ++i < o.length; ) {
|
|
12015
12020
|
const l = (
|
|
12016
12021
|
/** @type {number | string} */
|
|
12017
|
-
|
|
12022
|
+
Ni(a, a.property, o[i])
|
|
12018
12023
|
);
|
|
12019
12024
|
u[i] = l;
|
|
12020
12025
|
}
|
|
@@ -12030,19 +12035,19 @@ function Km(e, t, n, r) {
|
|
|
12030
12035
|
t[a.property] = o;
|
|
12031
12036
|
}
|
|
12032
12037
|
}
|
|
12033
|
-
function
|
|
12038
|
+
function Dr(e, t) {
|
|
12034
12039
|
let n = -1;
|
|
12035
12040
|
if (t != null) if (typeof t == "string" || typeof t == "number")
|
|
12036
12041
|
e.push({ type: "text", value: String(t) });
|
|
12037
12042
|
else if (Array.isArray(t))
|
|
12038
12043
|
for (; ++n < t.length; )
|
|
12039
|
-
|
|
12044
|
+
Dr(e, t[n]);
|
|
12040
12045
|
else if (typeof t == "object" && "type" in t)
|
|
12041
|
-
t.type === "root" ?
|
|
12046
|
+
t.type === "root" ? Dr(e, t.children) : e.push(t);
|
|
12042
12047
|
else
|
|
12043
12048
|
throw new Error("Expected node, nodes, or string, got `" + t + "`");
|
|
12044
12049
|
}
|
|
12045
|
-
function
|
|
12050
|
+
function Ni(e, t, n) {
|
|
12046
12051
|
if (typeof n == "string") {
|
|
12047
12052
|
if (e.number && n && !Number.isNaN(Number(n)))
|
|
12048
12053
|
return Number(n);
|
|
@@ -12055,7 +12060,7 @@ function $m(e) {
|
|
|
12055
12060
|
const t = [];
|
|
12056
12061
|
let n;
|
|
12057
12062
|
for (n in e)
|
|
12058
|
-
|
|
12063
|
+
Rr.call(e, n) && t.push([n, e[n]].join(": "));
|
|
12059
12064
|
return t.join("; ");
|
|
12060
12065
|
}
|
|
12061
12066
|
function Jm(e) {
|
|
@@ -12115,7 +12120,7 @@ function n1(e) {
|
|
|
12115
12120
|
for (; ; ) {
|
|
12116
12121
|
let u = n[o];
|
|
12117
12122
|
if (u === void 0) {
|
|
12118
|
-
const l =
|
|
12123
|
+
const l = Ii(t, n[o - 1]);
|
|
12119
12124
|
u = l === -1 ? t.length + 1 : l + 1, n[o] = u;
|
|
12120
12125
|
}
|
|
12121
12126
|
if (u > i)
|
|
@@ -12131,7 +12136,7 @@ function n1(e) {
|
|
|
12131
12136
|
function a(i) {
|
|
12132
12137
|
if (i && typeof i.line == "number" && typeof i.column == "number" && !Number.isNaN(i.line) && !Number.isNaN(i.column)) {
|
|
12133
12138
|
for (; n.length < i.line; ) {
|
|
12134
|
-
const u = n[n.length - 1], l =
|
|
12139
|
+
const u = n[n.length - 1], l = Ii(t, u), c = l === -1 ? t.length + 1 : l + 1;
|
|
12135
12140
|
if (u === c) break;
|
|
12136
12141
|
n.push(c);
|
|
12137
12142
|
}
|
|
@@ -12140,7 +12145,7 @@ function n1(e) {
|
|
|
12140
12145
|
}
|
|
12141
12146
|
}
|
|
12142
12147
|
}
|
|
12143
|
-
function
|
|
12148
|
+
function Ii(e, t) {
|
|
12144
12149
|
const n = e.indexOf("\r", t), r = e.indexOf(`
|
|
12145
12150
|
`, t);
|
|
12146
12151
|
return r === -1 ? n : n === -1 || n + 1 === r ? r : n < r ? n : r;
|
|
@@ -12155,7 +12160,7 @@ const ct = {
|
|
|
12155
12160
|
}, gs = {}.hasOwnProperty, r1 = Object.prototype;
|
|
12156
12161
|
function a1(e, t) {
|
|
12157
12162
|
const n = t || {};
|
|
12158
|
-
return
|
|
12163
|
+
return sa(
|
|
12159
12164
|
{
|
|
12160
12165
|
file: n.file || void 0,
|
|
12161
12166
|
location: !1,
|
|
@@ -12165,7 +12170,7 @@ function a1(e, t) {
|
|
|
12165
12170
|
e
|
|
12166
12171
|
);
|
|
12167
12172
|
}
|
|
12168
|
-
function
|
|
12173
|
+
function sa(e, t) {
|
|
12169
12174
|
let n;
|
|
12170
12175
|
switch (t.nodeName) {
|
|
12171
12176
|
case "#comment": {
|
|
@@ -12219,7 +12224,7 @@ function bs(e, t) {
|
|
|
12219
12224
|
for (; ++n < t.length; ) {
|
|
12220
12225
|
const a = (
|
|
12221
12226
|
/** @type {RootContent} */
|
|
12222
|
-
|
|
12227
|
+
sa(e, t[n])
|
|
12223
12228
|
);
|
|
12224
12229
|
r.push(a);
|
|
12225
12230
|
}
|
|
@@ -12241,7 +12246,7 @@ function i1(e, t) {
|
|
|
12241
12246
|
t
|
|
12242
12247
|
), l = u.sourceCodeLocation, c = l && l.startTag && Tt(l.startTag), d = l && l.endTag && Tt(l.endTag), h = (
|
|
12243
12248
|
/** @type {Root} */
|
|
12244
|
-
|
|
12249
|
+
sa(e, u.content)
|
|
12245
12250
|
);
|
|
12246
12251
|
c && d && e.file && (h.position = { start: c.end, end: d.start }), o.content = h;
|
|
12247
12252
|
}
|
|
@@ -12262,7 +12267,7 @@ function o1(e, t, n) {
|
|
|
12262
12267
|
let o;
|
|
12263
12268
|
if (n.attrs)
|
|
12264
12269
|
for (o in n.attrs)
|
|
12265
|
-
gs.call(n.attrs, o) && (i[
|
|
12270
|
+
gs.call(n.attrs, o) && (i[qn(e.schema, o).property] = Tt(
|
|
12266
12271
|
n.attrs[o]
|
|
12267
12272
|
));
|
|
12268
12273
|
n.startTag;
|
|
@@ -12273,18 +12278,18 @@ function o1(e, t, n) {
|
|
|
12273
12278
|
return r;
|
|
12274
12279
|
}
|
|
12275
12280
|
function Tt(e) {
|
|
12276
|
-
const t =
|
|
12281
|
+
const t = Si({
|
|
12277
12282
|
line: e.startLine,
|
|
12278
12283
|
column: e.startCol,
|
|
12279
12284
|
offset: e.startOffset
|
|
12280
|
-
}), n =
|
|
12285
|
+
}), n = Si({
|
|
12281
12286
|
line: e.endLine,
|
|
12282
12287
|
column: e.endCol,
|
|
12283
12288
|
offset: e.endOffset
|
|
12284
12289
|
});
|
|
12285
12290
|
return t || n ? { start: t, end: n } : void 0;
|
|
12286
12291
|
}
|
|
12287
|
-
function
|
|
12292
|
+
function Si(e) {
|
|
12288
12293
|
return e.line && e.column ? e : void 0;
|
|
12289
12294
|
}
|
|
12290
12295
|
const s1 = {}, u1 = {}.hasOwnProperty, Es = lo("type", { handlers: { root: c1, element: m1, text: p1, comment: f1, doctype: h1 } });
|
|
@@ -12299,11 +12304,11 @@ function c1(e, t) {
|
|
|
12299
12304
|
mode: (e.data || {}).quirksMode ? "quirks" : "no-quirks",
|
|
12300
12305
|
childNodes: []
|
|
12301
12306
|
};
|
|
12302
|
-
return n.childNodes =
|
|
12307
|
+
return n.childNodes = ua(e.children, n, t), Rt(e, n), n;
|
|
12303
12308
|
}
|
|
12304
12309
|
function d1(e, t) {
|
|
12305
12310
|
const n = { nodeName: "#document-fragment", childNodes: [] };
|
|
12306
|
-
return n.childNodes =
|
|
12311
|
+
return n.childNodes = ua(e.children, n, t), Rt(e, n), n;
|
|
12307
12312
|
}
|
|
12308
12313
|
function h1(e) {
|
|
12309
12314
|
const t = {
|
|
@@ -12357,10 +12362,10 @@ function m1(e, t) {
|
|
|
12357
12362
|
childNodes: [],
|
|
12358
12363
|
parentNode: null
|
|
12359
12364
|
};
|
|
12360
|
-
return u.childNodes =
|
|
12365
|
+
return u.childNodes = ua(e.children, u, r), Rt(e, u), e.tagName === "template" && e.content && (u.content = d1(e.content, r)), u;
|
|
12361
12366
|
}
|
|
12362
12367
|
function g1(e, t, n) {
|
|
12363
|
-
const r =
|
|
12368
|
+
const r = qn(e, t);
|
|
12364
12369
|
if (n === !1 || n === null || n === void 0 || typeof n == "number" && Number.isNaN(n) || !n && r.boolean)
|
|
12365
12370
|
return;
|
|
12366
12371
|
Array.isArray(n) && (n = r.commaSeparated ? zo(n) : Ko(n));
|
|
@@ -12374,7 +12379,7 @@ function g1(e, t, n) {
|
|
|
12374
12379
|
}
|
|
12375
12380
|
return a;
|
|
12376
12381
|
}
|
|
12377
|
-
function
|
|
12382
|
+
function ua(e, t, n) {
|
|
12378
12383
|
let r = -1;
|
|
12379
12384
|
const a = [];
|
|
12380
12385
|
if (e)
|
|
@@ -12583,7 +12588,7 @@ const Cs = new Uint16Array(
|
|
|
12583
12588
|
// prettier-ignore
|
|
12584
12589
|
"Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e) => e.charCodeAt(0))
|
|
12585
12590
|
);
|
|
12586
|
-
var
|
|
12591
|
+
var br;
|
|
12587
12592
|
const _1 = /* @__PURE__ */ new Map([
|
|
12588
12593
|
[0, 65533],
|
|
12589
12594
|
// C1 Unicode control character reference replacements
|
|
@@ -12616,7 +12621,7 @@ const _1 = /* @__PURE__ */ new Map([
|
|
|
12616
12621
|
[159, 376]
|
|
12617
12622
|
]), A1 = (
|
|
12618
12623
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
|
|
12619
|
-
(
|
|
12624
|
+
(br = String.fromCodePoint) !== null && br !== void 0 ? br : function(e) {
|
|
12620
12625
|
let t = "";
|
|
12621
12626
|
return e > 65535 && (e -= 65536, t += String.fromCharCode(e >>> 10 & 1023 | 55296), e = 56320 | e & 1023), t += String.fromCharCode(e), t;
|
|
12622
12627
|
}
|
|
@@ -12634,14 +12639,14 @@ var rt;
|
|
|
12634
12639
|
(function(e) {
|
|
12635
12640
|
e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
12636
12641
|
})(rt || (rt = {}));
|
|
12637
|
-
function
|
|
12642
|
+
function vr(e) {
|
|
12638
12643
|
return e >= me.ZERO && e <= me.NINE;
|
|
12639
12644
|
}
|
|
12640
12645
|
function I1(e) {
|
|
12641
12646
|
return e >= me.UPPER_A && e <= me.UPPER_F || e >= me.LOWER_A && e <= me.LOWER_F;
|
|
12642
12647
|
}
|
|
12643
12648
|
function S1(e) {
|
|
12644
|
-
return e >= me.UPPER_A && e <= me.UPPER_Z || e >= me.LOWER_A && e <= me.LOWER_Z ||
|
|
12649
|
+
return e >= me.UPPER_A && e <= me.UPPER_Z || e >= me.LOWER_A && e <= me.LOWER_Z || vr(e);
|
|
12645
12650
|
}
|
|
12646
12651
|
function L1(e) {
|
|
12647
12652
|
return e === me.EQUALS || S1(e);
|
|
@@ -12718,7 +12723,7 @@ class _s {
|
|
|
12718
12723
|
const r = n;
|
|
12719
12724
|
for (; n < t.length; ) {
|
|
12720
12725
|
const a = t.charCodeAt(n);
|
|
12721
|
-
if (
|
|
12726
|
+
if (vr(a) || I1(a))
|
|
12722
12727
|
n += 1;
|
|
12723
12728
|
else
|
|
12724
12729
|
return this.addToNumericResult(t, r, n, 16), this.emitNumericEntity(a, 3);
|
|
@@ -12738,7 +12743,7 @@ class _s {
|
|
|
12738
12743
|
const r = n;
|
|
12739
12744
|
for (; n < t.length; ) {
|
|
12740
12745
|
const a = t.charCodeAt(n);
|
|
12741
|
-
if (
|
|
12746
|
+
if (vr(a))
|
|
12742
12747
|
n += 1;
|
|
12743
12748
|
else
|
|
12744
12749
|
return this.addToNumericResult(t, r, n, 10), this.emitNumericEntity(a, 2);
|
|
@@ -13123,7 +13128,7 @@ const D = s, D1 = {
|
|
|
13123
13128
|
[R.XLINK]: /* @__PURE__ */ new Set(),
|
|
13124
13129
|
[R.XML]: /* @__PURE__ */ new Set(),
|
|
13125
13130
|
[R.XMLNS]: /* @__PURE__ */ new Set()
|
|
13126
|
-
},
|
|
13131
|
+
}, Pr = /* @__PURE__ */ new Set([D.H1, D.H2, D.H3, D.H4, D.H5, D.H6]);
|
|
13127
13132
|
C.STYLE, C.SCRIPT, C.XMP, C.IFRAME, C.NOEMBED, C.NOFRAMES, C.PLAINTEXT;
|
|
13128
13133
|
var m;
|
|
13129
13134
|
(function(e) {
|
|
@@ -13149,7 +13154,7 @@ function P1(e) {
|
|
|
13149
13154
|
function tt(e) {
|
|
13150
13155
|
return P1(e) || qt(e);
|
|
13151
13156
|
}
|
|
13152
|
-
function
|
|
13157
|
+
function Li(e) {
|
|
13153
13158
|
return tt(e) || v1(e);
|
|
13154
13159
|
}
|
|
13155
13160
|
function xn(e) {
|
|
@@ -13158,7 +13163,7 @@ function xn(e) {
|
|
|
13158
13163
|
function ks(e) {
|
|
13159
13164
|
return e === f.SPACE || e === f.LINE_FEED || e === f.TABULATION || e === f.FORM_FEED;
|
|
13160
13165
|
}
|
|
13161
|
-
function
|
|
13166
|
+
function Oi(e) {
|
|
13162
13167
|
return ks(e) || e === f.SOLIDUS || e === f.GREATER_THAN_SIGN;
|
|
13163
13168
|
}
|
|
13164
13169
|
function M1(e) {
|
|
@@ -14041,7 +14046,7 @@ class B1 {
|
|
|
14041
14046
|
// Script data double escape start state
|
|
14042
14047
|
//------------------------------------------------------------------
|
|
14043
14048
|
_stateScriptDataDoubleEscapeStart(t) {
|
|
14044
|
-
if (this.preprocessor.startsWith(_e.SCRIPT, !1) &&
|
|
14049
|
+
if (this.preprocessor.startsWith(_e.SCRIPT, !1) && Oi(this.preprocessor.peek(_e.SCRIPT.length))) {
|
|
14045
14050
|
this._emitCodePoint(t);
|
|
14046
14051
|
for (let n = 0; n < _e.SCRIPT.length; n++)
|
|
14047
14052
|
this._emitCodePoint(this._consume());
|
|
@@ -14132,7 +14137,7 @@ class B1 {
|
|
|
14132
14137
|
// Script data double escape end state
|
|
14133
14138
|
//------------------------------------------------------------------
|
|
14134
14139
|
_stateScriptDataDoubleEscapeEnd(t) {
|
|
14135
|
-
if (this.preprocessor.startsWith(_e.SCRIPT, !1) &&
|
|
14140
|
+
if (this.preprocessor.startsWith(_e.SCRIPT, !1) && Oi(this.preprocessor.peek(_e.SCRIPT.length))) {
|
|
14136
14141
|
this._emitCodePoint(t);
|
|
14137
14142
|
for (let n = 0; n < _e.SCRIPT.length; n++)
|
|
14138
14143
|
this._emitCodePoint(this._consume());
|
|
@@ -15046,15 +15051,15 @@ class B1 {
|
|
|
15046
15051
|
this.active = !1, this.preprocessor.pos = this.preprocessor.html.length - 1, this.consumedAfterSnapshot = 0, this.preprocessor.endOfChunkHit = !0;
|
|
15047
15052
|
return;
|
|
15048
15053
|
}
|
|
15049
|
-
t === 0 ? (this.preprocessor.pos = this.entityStartPos, this._flushCodePointConsumedAsCharacterReference(f.AMPERSAND), this.state = !this._isCharacterReferenceInAttribute() &&
|
|
15054
|
+
t === 0 ? (this.preprocessor.pos = this.entityStartPos, this._flushCodePointConsumedAsCharacterReference(f.AMPERSAND), this.state = !this._isCharacterReferenceInAttribute() && Li(this.preprocessor.peek(1)) ? m.AMBIGUOUS_AMPERSAND : this.returnState) : this.state = this.returnState;
|
|
15050
15055
|
}
|
|
15051
15056
|
// Ambiguos ampersand state
|
|
15052
15057
|
//------------------------------------------------------------------
|
|
15053
15058
|
_stateAmbiguousAmpersand(t) {
|
|
15054
|
-
|
|
15059
|
+
Li(t) ? this._flushCodePointConsumedAsCharacterReference(t) : (t === f.SEMICOLON && this._err(k.unknownNamedCharacterReference), this.state = this.returnState, this._callState(t));
|
|
15055
15060
|
}
|
|
15056
15061
|
}
|
|
15057
|
-
const Ns = /* @__PURE__ */ new Set([s.DD, s.DT, s.LI, s.OPTGROUP, s.OPTION, s.P, s.RB, s.RP, s.RT, s.RTC]),
|
|
15062
|
+
const Ns = /* @__PURE__ */ new Set([s.DD, s.DT, s.LI, s.OPTGROUP, s.OPTION, s.P, s.RB, s.RP, s.RT, s.RTC]), Ri = /* @__PURE__ */ new Set([
|
|
15058
15063
|
...Ns,
|
|
15059
15064
|
s.CAPTION,
|
|
15060
15065
|
s.COLGROUP,
|
|
@@ -15064,7 +15069,7 @@ const Ns = /* @__PURE__ */ new Set([s.DD, s.DT, s.LI, s.OPTGROUP, s.OPTION, s.P,
|
|
|
15064
15069
|
s.TH,
|
|
15065
15070
|
s.THEAD,
|
|
15066
15071
|
s.TR
|
|
15067
|
-
]),
|
|
15072
|
+
]), Dn = /* @__PURE__ */ new Set([
|
|
15068
15073
|
s.APPLET,
|
|
15069
15074
|
s.CAPTION,
|
|
15070
15075
|
s.HTML,
|
|
@@ -15074,7 +15079,7 @@ const Ns = /* @__PURE__ */ new Set([s.DD, s.DT, s.LI, s.OPTGROUP, s.OPTION, s.P,
|
|
|
15074
15079
|
s.TD,
|
|
15075
15080
|
s.TEMPLATE,
|
|
15076
15081
|
s.TH
|
|
15077
|
-
]), F1 = /* @__PURE__ */ new Set([...
|
|
15082
|
+
]), F1 = /* @__PURE__ */ new Set([...Dn, s.OL, s.UL]), H1 = /* @__PURE__ */ new Set([...Dn, s.BUTTON]), Di = /* @__PURE__ */ new Set([s.ANNOTATION_XML, s.MI, s.MN, s.MO, s.MS, s.MTEXT]), vi = /* @__PURE__ */ new Set([s.DESC, s.FOREIGN_OBJECT, s.TITLE]), U1 = /* @__PURE__ */ new Set([s.TR, s.TEMPLATE, s.HTML]), z1 = /* @__PURE__ */ new Set([s.TBODY, s.TFOOT, s.THEAD, s.TEMPLATE, s.HTML]), Y1 = /* @__PURE__ */ new Set([s.TABLE, s.TEMPLATE, s.HTML]), j1 = /* @__PURE__ */ new Set([s.TD, s.TH]);
|
|
15078
15083
|
class q1 {
|
|
15079
15084
|
get currentTmplContentOrNode() {
|
|
15080
15085
|
return this._isInTemplate() ? this.treeAdapter.getTemplateContent(this.current) : this.current;
|
|
@@ -15131,7 +15136,7 @@ class q1 {
|
|
|
15131
15136
|
this.shortenToLength(r < 0 ? 0 : r);
|
|
15132
15137
|
}
|
|
15133
15138
|
popUntilNumberedHeaderPopped() {
|
|
15134
|
-
this.popUntilPopped(
|
|
15139
|
+
this.popUntilPopped(Pr, R.HTML);
|
|
15135
15140
|
}
|
|
15136
15141
|
popUntilTableCellPopped() {
|
|
15137
15142
|
this.popUntilPopped(j1, R.HTML);
|
|
@@ -15189,12 +15194,12 @@ class q1 {
|
|
|
15189
15194
|
break;
|
|
15190
15195
|
}
|
|
15191
15196
|
case R.SVG: {
|
|
15192
|
-
if (
|
|
15197
|
+
if (vi.has(a))
|
|
15193
15198
|
return !1;
|
|
15194
15199
|
break;
|
|
15195
15200
|
}
|
|
15196
15201
|
case R.MATHML: {
|
|
15197
|
-
if (
|
|
15202
|
+
if (Di.has(a))
|
|
15198
15203
|
return !1;
|
|
15199
15204
|
break;
|
|
15200
15205
|
}
|
|
@@ -15203,7 +15208,7 @@ class q1 {
|
|
|
15203
15208
|
return !0;
|
|
15204
15209
|
}
|
|
15205
15210
|
hasInScope(t) {
|
|
15206
|
-
return this.hasInDynamicScope(t,
|
|
15211
|
+
return this.hasInDynamicScope(t, Dn);
|
|
15207
15212
|
}
|
|
15208
15213
|
hasInListItemScope(t) {
|
|
15209
15214
|
return this.hasInDynamicScope(t, F1);
|
|
@@ -15216,19 +15221,19 @@ class q1 {
|
|
|
15216
15221
|
const n = this.tagIDs[t];
|
|
15217
15222
|
switch (this.treeAdapter.getNamespaceURI(this.items[t])) {
|
|
15218
15223
|
case R.HTML: {
|
|
15219
|
-
if (
|
|
15224
|
+
if (Pr.has(n))
|
|
15220
15225
|
return !0;
|
|
15221
|
-
if (
|
|
15226
|
+
if (Dn.has(n))
|
|
15222
15227
|
return !1;
|
|
15223
15228
|
break;
|
|
15224
15229
|
}
|
|
15225
15230
|
case R.SVG: {
|
|
15226
|
-
if (
|
|
15231
|
+
if (vi.has(n))
|
|
15227
15232
|
return !1;
|
|
15228
15233
|
break;
|
|
15229
15234
|
}
|
|
15230
15235
|
case R.MATHML: {
|
|
15231
|
-
if (
|
|
15236
|
+
if (Di.has(n))
|
|
15232
15237
|
return !1;
|
|
15233
15238
|
break;
|
|
15234
15239
|
}
|
|
@@ -15282,20 +15287,20 @@ class q1 {
|
|
|
15282
15287
|
this.pop();
|
|
15283
15288
|
}
|
|
15284
15289
|
generateImpliedEndTagsThoroughly() {
|
|
15285
|
-
for (;
|
|
15290
|
+
for (; Ri.has(this.currentTagId); )
|
|
15286
15291
|
this.pop();
|
|
15287
15292
|
}
|
|
15288
15293
|
generateImpliedEndTagsWithExclusion(t) {
|
|
15289
|
-
for (; this.currentTagId !== t &&
|
|
15294
|
+
for (; this.currentTagId !== t && Ri.has(this.currentTagId); )
|
|
15290
15295
|
this.pop();
|
|
15291
15296
|
}
|
|
15292
15297
|
}
|
|
15293
|
-
const
|
|
15298
|
+
const Er = 3;
|
|
15294
15299
|
var ze;
|
|
15295
15300
|
(function(e) {
|
|
15296
15301
|
e[e.Marker = 0] = "Marker", e[e.Element = 1] = "Element";
|
|
15297
15302
|
})(ze || (ze = {}));
|
|
15298
|
-
const
|
|
15303
|
+
const Pi = { type: ze.Marker };
|
|
15299
15304
|
class V1 {
|
|
15300
15305
|
constructor(t) {
|
|
15301
15306
|
this.treeAdapter = t, this.entries = [], this.bookmark = null;
|
|
@@ -15318,21 +15323,21 @@ class V1 {
|
|
|
15318
15323
|
return r;
|
|
15319
15324
|
}
|
|
15320
15325
|
_ensureNoahArkCondition(t) {
|
|
15321
|
-
if (this.entries.length <
|
|
15326
|
+
if (this.entries.length < Er)
|
|
15322
15327
|
return;
|
|
15323
15328
|
const n = this.treeAdapter.getAttrList(t), r = this._getNoahArkConditionCandidates(t, n);
|
|
15324
|
-
if (r.length <
|
|
15329
|
+
if (r.length < Er)
|
|
15325
15330
|
return;
|
|
15326
15331
|
const a = new Map(n.map((o) => [o.name, o.value]));
|
|
15327
15332
|
let i = 0;
|
|
15328
15333
|
for (let o = 0; o < r.length; o++) {
|
|
15329
15334
|
const u = r[o];
|
|
15330
|
-
u.attrs.every((l) => a.get(l.name) === l.value) && (i += 1, i >=
|
|
15335
|
+
u.attrs.every((l) => a.get(l.name) === l.value) && (i += 1, i >= Er && this.entries.splice(u.idx, 1));
|
|
15331
15336
|
}
|
|
15332
15337
|
}
|
|
15333
15338
|
//Mutations
|
|
15334
15339
|
insertMarker() {
|
|
15335
|
-
this.entries.unshift(
|
|
15340
|
+
this.entries.unshift(Pi);
|
|
15336
15341
|
}
|
|
15337
15342
|
pushElement(t, n) {
|
|
15338
15343
|
this._ensureNoahArkCondition(t), this.entries.unshift({
|
|
@@ -15359,7 +15364,7 @@ class V1 {
|
|
|
15359
15364
|
* @see https://html.spec.whatwg.org/multipage/parsing.html#clear-the-list-of-active-formatting-elements-up-to-the-last-marker
|
|
15360
15365
|
*/
|
|
15361
15366
|
clearToLastMarker() {
|
|
15362
|
-
const t = this.entries.indexOf(
|
|
15367
|
+
const t = this.entries.indexOf(Pi);
|
|
15363
15368
|
t >= 0 ? this.entries.splice(0, t + 1) : this.entries.length = 0;
|
|
15364
15369
|
}
|
|
15365
15370
|
//Search
|
|
@@ -15597,7 +15602,7 @@ const nt = {
|
|
|
15597
15602
|
"-//w3c//dtd html 4.01 frameset//",
|
|
15598
15603
|
"-//w3c//dtd html 4.01 transitional//"
|
|
15599
15604
|
];
|
|
15600
|
-
function
|
|
15605
|
+
function Mi(e, t) {
|
|
15601
15606
|
return t.some((n) => e.startsWith(n));
|
|
15602
15607
|
}
|
|
15603
15608
|
function $1(e) {
|
|
@@ -15614,14 +15619,14 @@ function J1(e) {
|
|
|
15614
15619
|
if (n = n.toLowerCase(), X1.has(n))
|
|
15615
15620
|
return Oe.QUIRKS;
|
|
15616
15621
|
let r = t === null ? Q1 : Ss;
|
|
15617
|
-
if (
|
|
15622
|
+
if (Mi(n, r))
|
|
15618
15623
|
return Oe.QUIRKS;
|
|
15619
|
-
if (r = t === null ? Ls : K1,
|
|
15624
|
+
if (r = t === null ? Ls : K1, Mi(n, r))
|
|
15620
15625
|
return Oe.LIMITED_QUIRKS;
|
|
15621
15626
|
}
|
|
15622
15627
|
return Oe.NO_QUIRKS;
|
|
15623
15628
|
}
|
|
15624
|
-
const
|
|
15629
|
+
const Bi = {
|
|
15625
15630
|
TEXT_HTML: "text/html",
|
|
15626
15631
|
APPLICATION_XML: "application/xhtml+xml"
|
|
15627
15632
|
}, Z1 = "definitionurl", eg = "definitionURL", tg = new Map([
|
|
@@ -15795,7 +15800,7 @@ function Rs(e) {
|
|
|
15795
15800
|
n != null && (e.attrs[t].name = n);
|
|
15796
15801
|
}
|
|
15797
15802
|
}
|
|
15798
|
-
function
|
|
15803
|
+
function la(e) {
|
|
15799
15804
|
for (let t = 0; t < e.attrs.length; t++) {
|
|
15800
15805
|
const n = ng.get(e.attrs[t].name);
|
|
15801
15806
|
n && (e.attrs[t].prefix = n.prefix, e.attrs[t].name = n.name, e.attrs[t].namespace = n.namespace);
|
|
@@ -15813,7 +15818,7 @@ function ug(e, t, n) {
|
|
|
15813
15818
|
for (let r = 0; r < n.length; r++)
|
|
15814
15819
|
if (n[r].name === dt.ENCODING) {
|
|
15815
15820
|
const a = n[r].value.toLowerCase();
|
|
15816
|
-
return a ===
|
|
15821
|
+
return a === Bi.TEXT_HTML || a === Bi.APPLICATION_XML;
|
|
15817
15822
|
}
|
|
15818
15823
|
}
|
|
15819
15824
|
return t === R.SVG && (e === s.FOREIGN_OBJECT || e === s.DESC || e === s.TITLE);
|
|
@@ -15833,16 +15838,16 @@ const pg = {
|
|
|
15833
15838
|
endLine: -1,
|
|
15834
15839
|
endCol: -1,
|
|
15835
15840
|
endOffset: -1
|
|
15836
|
-
}, Ds = /* @__PURE__ */ new Set([s.TABLE, s.TBODY, s.TFOOT, s.THEAD, s.TR]),
|
|
15841
|
+
}, Ds = /* @__PURE__ */ new Set([s.TABLE, s.TBODY, s.TFOOT, s.THEAD, s.TR]), Fi = {
|
|
15837
15842
|
scriptingEnabled: !0,
|
|
15838
15843
|
sourceCodeLocationInfo: !1,
|
|
15839
15844
|
treeAdapter: nt,
|
|
15840
15845
|
onParseError: null
|
|
15841
15846
|
};
|
|
15842
|
-
class
|
|
15847
|
+
class Hi {
|
|
15843
15848
|
constructor(t, n, r = null, a = null) {
|
|
15844
15849
|
this.fragmentContext = r, this.scriptHandler = a, this.currentToken = null, this.stopped = !1, this.insertionMode = w.INITIAL, this.originalInsertionMode = w.INITIAL, this.headElement = null, this.formElement = null, this.currentNotInHTML = !1, this.tmplInsertionModeStack = [], this.pendingCharacterTokens = [], this.hasNonWhitespacePendingCharacterToken = !1, this.framesetOk = !0, this.skipNextNewLine = !1, this.fosterParentingEnabled = !1, this.options = {
|
|
15845
|
-
...
|
|
15850
|
+
...Fi,
|
|
15846
15851
|
...t
|
|
15847
15852
|
}, this.treeAdapter = this.options.treeAdapter, this.onParseError = this.options.onParseError, this.onParseError && (this.options.sourceCodeLocationInfo = !0), this.document = n ?? this.treeAdapter.createDocument(), this.tokenizer = new B1(this.options, this), this.activeFormattingElements = new V1(this.treeAdapter), this.fragmentContextID = r ? Dt(this.treeAdapter.getTagName(r)) : s.UNKNOWN, this._setContextModes(r ?? this.document, this.fragmentContextID), this.openElements = new q1(this.document, this.treeAdapter, this);
|
|
15848
15853
|
}
|
|
@@ -15853,7 +15858,7 @@ class Bi {
|
|
|
15853
15858
|
}
|
|
15854
15859
|
static getFragmentParser(t, n) {
|
|
15855
15860
|
const r = {
|
|
15856
|
-
...
|
|
15861
|
+
...Fi,
|
|
15857
15862
|
...n
|
|
15858
15863
|
};
|
|
15859
15864
|
t ?? (t = r.treeAdapter.createElement(C.TEMPLATE, R.HTML, []));
|
|
@@ -16284,7 +16289,7 @@ class Bi {
|
|
|
16284
16289
|
case w.IN_TABLE:
|
|
16285
16290
|
case w.IN_TABLE_BODY:
|
|
16286
16291
|
case w.IN_ROW: {
|
|
16287
|
-
|
|
16292
|
+
wr(this, t);
|
|
16288
16293
|
break;
|
|
16289
16294
|
}
|
|
16290
16295
|
case w.IN_TABLE_TEXT: {
|
|
@@ -16292,11 +16297,11 @@ class Bi {
|
|
|
16292
16297
|
break;
|
|
16293
16298
|
}
|
|
16294
16299
|
case w.IN_COLUMN_GROUP: {
|
|
16295
|
-
|
|
16300
|
+
vn(this, t);
|
|
16296
16301
|
break;
|
|
16297
16302
|
}
|
|
16298
16303
|
case w.AFTER_BODY: {
|
|
16299
|
-
|
|
16304
|
+
Pn(this, t);
|
|
16300
16305
|
break;
|
|
16301
16306
|
}
|
|
16302
16307
|
case w.AFTER_AFTER_BODY: {
|
|
@@ -16343,15 +16348,15 @@ class Bi {
|
|
|
16343
16348
|
case w.IN_TABLE:
|
|
16344
16349
|
case w.IN_TABLE_BODY:
|
|
16345
16350
|
case w.IN_ROW: {
|
|
16346
|
-
|
|
16351
|
+
wr(this, t);
|
|
16347
16352
|
break;
|
|
16348
16353
|
}
|
|
16349
16354
|
case w.IN_COLUMN_GROUP: {
|
|
16350
|
-
|
|
16355
|
+
vn(this, t);
|
|
16351
16356
|
break;
|
|
16352
16357
|
}
|
|
16353
16358
|
case w.AFTER_BODY: {
|
|
16354
|
-
|
|
16359
|
+
Pn(this, t);
|
|
16355
16360
|
break;
|
|
16356
16361
|
}
|
|
16357
16362
|
case w.AFTER_AFTER_BODY: {
|
|
@@ -16363,7 +16368,7 @@ class Bi {
|
|
|
16363
16368
|
/** @internal */
|
|
16364
16369
|
onComment(t) {
|
|
16365
16370
|
if (this.skipNextNewLine = !1, this.currentNotInHTML) {
|
|
16366
|
-
|
|
16371
|
+
Mr(this, t);
|
|
16367
16372
|
return;
|
|
16368
16373
|
}
|
|
16369
16374
|
switch (this.insertionMode) {
|
|
@@ -16385,7 +16390,7 @@ class Bi {
|
|
|
16385
16390
|
case w.IN_TEMPLATE:
|
|
16386
16391
|
case w.IN_FRAMESET:
|
|
16387
16392
|
case w.AFTER_FRAMESET: {
|
|
16388
|
-
|
|
16393
|
+
Mr(this, t);
|
|
16389
16394
|
break;
|
|
16390
16395
|
}
|
|
16391
16396
|
case w.IN_TABLE_TEXT: {
|
|
@@ -16485,15 +16490,15 @@ class Bi {
|
|
|
16485
16490
|
break;
|
|
16486
16491
|
}
|
|
16487
16492
|
case w.IN_COLUMN_GROUP: {
|
|
16488
|
-
|
|
16493
|
+
ha(this, t);
|
|
16489
16494
|
break;
|
|
16490
16495
|
}
|
|
16491
16496
|
case w.IN_TABLE_BODY: {
|
|
16492
|
-
|
|
16497
|
+
Xn(this, t);
|
|
16493
16498
|
break;
|
|
16494
16499
|
}
|
|
16495
16500
|
case w.IN_ROW: {
|
|
16496
|
-
|
|
16501
|
+
Kn(this, t);
|
|
16497
16502
|
break;
|
|
16498
16503
|
}
|
|
16499
16504
|
case w.IN_CELL: {
|
|
@@ -16566,7 +16571,7 @@ class Bi {
|
|
|
16566
16571
|
break;
|
|
16567
16572
|
}
|
|
16568
16573
|
case w.IN_BODY: {
|
|
16569
|
-
|
|
16574
|
+
Qn(this, t);
|
|
16570
16575
|
break;
|
|
16571
16576
|
}
|
|
16572
16577
|
case w.TEXT: {
|
|
@@ -16590,7 +16595,7 @@ class Bi {
|
|
|
16590
16595
|
break;
|
|
16591
16596
|
}
|
|
16592
16597
|
case w.IN_TABLE_BODY: {
|
|
16593
|
-
|
|
16598
|
+
Br(this, t);
|
|
16594
16599
|
break;
|
|
16595
16600
|
}
|
|
16596
16601
|
case w.IN_ROW: {
|
|
@@ -16687,7 +16692,7 @@ class Bi {
|
|
|
16687
16692
|
case w.AFTER_FRAMESET:
|
|
16688
16693
|
case w.AFTER_AFTER_BODY:
|
|
16689
16694
|
case w.AFTER_AFTER_FRAMESET: {
|
|
16690
|
-
|
|
16695
|
+
da(this, t);
|
|
16691
16696
|
break;
|
|
16692
16697
|
}
|
|
16693
16698
|
}
|
|
@@ -16729,7 +16734,7 @@ class Bi {
|
|
|
16729
16734
|
case w.IN_TABLE:
|
|
16730
16735
|
case w.IN_TABLE_BODY:
|
|
16731
16736
|
case w.IN_ROW: {
|
|
16732
|
-
|
|
16737
|
+
wr(this, t);
|
|
16733
16738
|
break;
|
|
16734
16739
|
}
|
|
16735
16740
|
case w.IN_TABLE_TEXT: {
|
|
@@ -16779,7 +16784,7 @@ function wg(e, t, n) {
|
|
|
16779
16784
|
const r = e.treeAdapter.getNamespaceURI(n.element), { token: a } = n, i = e.treeAdapter.createElement(a.tagName, r, a.attrs);
|
|
16780
16785
|
e._adoptNodes(t, i), e.treeAdapter.appendChild(t, i), e.activeFormattingElements.insertElementAfterBookmark(i, a), e.activeFormattingElements.removeEntry(n), e.openElements.remove(n.element), e.openElements.insertAfter(t, i, a.tagID);
|
|
16781
16786
|
}
|
|
16782
|
-
function
|
|
16787
|
+
function ca(e, t) {
|
|
16783
16788
|
for (let n = 0; n < dg; n++) {
|
|
16784
16789
|
const r = fg(e, t);
|
|
16785
16790
|
if (!r)
|
|
@@ -16792,7 +16797,7 @@ function la(e, t) {
|
|
|
16792
16797
|
e.treeAdapter.detachNode(i), o && Eg(e, o, i), wg(e, a, r);
|
|
16793
16798
|
}
|
|
16794
16799
|
}
|
|
16795
|
-
function
|
|
16800
|
+
function Mr(e, t) {
|
|
16796
16801
|
e._appendCommentNode(t, e.openElements.currentTmplContentOrNode);
|
|
16797
16802
|
}
|
|
16798
16803
|
function xg(e, t) {
|
|
@@ -16801,7 +16806,7 @@ function xg(e, t) {
|
|
|
16801
16806
|
function Tg(e, t) {
|
|
16802
16807
|
e._appendCommentNode(t, e.document);
|
|
16803
16808
|
}
|
|
16804
|
-
function
|
|
16809
|
+
function da(e, t) {
|
|
16805
16810
|
if (e.stopped = !0, t.location) {
|
|
16806
16811
|
const n = e.fragmentContext ? 0 : 2;
|
|
16807
16812
|
for (let r = e.openElements.stackTop; r >= n; r--)
|
|
@@ -17017,9 +17022,9 @@ function Og(e, t) {
|
|
|
17017
17022
|
}
|
|
17018
17023
|
}
|
|
17019
17024
|
function $t(e, t) {
|
|
17020
|
-
e._insertFakeElement(C.BODY, s.BODY), e.insertionMode = w.IN_BODY,
|
|
17025
|
+
e._insertFakeElement(C.BODY, s.BODY), e.insertionMode = w.IN_BODY, Gn(e, t);
|
|
17021
17026
|
}
|
|
17022
|
-
function
|
|
17027
|
+
function Gn(e, t) {
|
|
17023
17028
|
switch (t.type) {
|
|
17024
17029
|
case X.CHARACTER: {
|
|
17025
17030
|
Ps(e, t);
|
|
@@ -17030,7 +17035,7 @@ function Wn(e, t) {
|
|
|
17030
17035
|
break;
|
|
17031
17036
|
}
|
|
17032
17037
|
case X.COMMENT: {
|
|
17033
|
-
|
|
17038
|
+
Mr(e, t);
|
|
17034
17039
|
break;
|
|
17035
17040
|
}
|
|
17036
17041
|
case X.START_TAG: {
|
|
@@ -17038,7 +17043,7 @@ function Wn(e, t) {
|
|
|
17038
17043
|
break;
|
|
17039
17044
|
}
|
|
17040
17045
|
case X.END_TAG: {
|
|
17041
|
-
|
|
17046
|
+
Qn(e, t);
|
|
17042
17047
|
break;
|
|
17043
17048
|
}
|
|
17044
17049
|
case X.EOF: {
|
|
@@ -17068,7 +17073,7 @@ function Pg(e, t) {
|
|
|
17068
17073
|
e.openElements.hasInButtonScope(s.P) && e._closePElement(), e._insertElement(t, R.HTML);
|
|
17069
17074
|
}
|
|
17070
17075
|
function Mg(e, t) {
|
|
17071
|
-
e.openElements.hasInButtonScope(s.P) && e._closePElement(),
|
|
17076
|
+
e.openElements.hasInButtonScope(s.P) && e._closePElement(), Pr.has(e.openElements.currentTagId) && e.openElements.pop(), e._insertElement(t, R.HTML);
|
|
17072
17077
|
}
|
|
17073
17078
|
function Bg(e, t) {
|
|
17074
17079
|
e.openElements.hasInButtonScope(s.P) && e._closePElement(), e._insertElement(t, R.HTML), e.skipNextNewLine = !0, e.framesetOk = !1;
|
|
@@ -17099,13 +17104,13 @@ function zg(e, t) {
|
|
|
17099
17104
|
}
|
|
17100
17105
|
function Yg(e, t) {
|
|
17101
17106
|
const n = e.activeFormattingElements.getElementEntryInScopeWithTagName(C.A);
|
|
17102
|
-
n && (
|
|
17107
|
+
n && (ca(e, t), e.openElements.remove(n.element), e.activeFormattingElements.removeEntry(n)), e._reconstructActiveFormattingElements(), e._insertElement(t, R.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
|
|
17103
17108
|
}
|
|
17104
17109
|
function jg(e, t) {
|
|
17105
17110
|
e._reconstructActiveFormattingElements(), e._insertElement(t, R.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
|
|
17106
17111
|
}
|
|
17107
17112
|
function qg(e, t) {
|
|
17108
|
-
e._reconstructActiveFormattingElements(), e.openElements.hasInScope(s.NOBR) && (
|
|
17113
|
+
e._reconstructActiveFormattingElements(), e.openElements.hasInScope(s.NOBR) && (ca(e, t), e._reconstructActiveFormattingElements()), e._insertElement(t, R.HTML), e.activeFormattingElements.pushElement(e.openElements.current, t);
|
|
17109
17114
|
}
|
|
17110
17115
|
function Vg(e, t) {
|
|
17111
17116
|
e._reconstructActiveFormattingElements(), e._insertElement(t, R.HTML), e.activeFormattingElements.insertMarker(), e.framesetOk = !1;
|
|
@@ -17141,7 +17146,7 @@ function Jg(e, t) {
|
|
|
17141
17146
|
function Zg(e, t) {
|
|
17142
17147
|
e.framesetOk = !1, e._switchToTextParsing(t, ce.RAWTEXT);
|
|
17143
17148
|
}
|
|
17144
|
-
function
|
|
17149
|
+
function Ui(e, t) {
|
|
17145
17150
|
e._switchToTextParsing(t, ce.RAWTEXT);
|
|
17146
17151
|
}
|
|
17147
17152
|
function eb(e, t) {
|
|
@@ -17157,12 +17162,12 @@ function rb(e, t) {
|
|
|
17157
17162
|
e.openElements.hasInScope(s.RUBY) && e.openElements.generateImpliedEndTagsWithExclusion(s.RTC), e._insertElement(t, R.HTML);
|
|
17158
17163
|
}
|
|
17159
17164
|
function ab(e, t) {
|
|
17160
|
-
e._reconstructActiveFormattingElements(), Os(t),
|
|
17165
|
+
e._reconstructActiveFormattingElements(), Os(t), la(t), t.selfClosing ? e._appendElement(t, R.MATHML) : e._insertElement(t, R.MATHML), t.ackSelfClosing = !0;
|
|
17161
17166
|
}
|
|
17162
17167
|
function ib(e, t) {
|
|
17163
|
-
e._reconstructActiveFormattingElements(), Rs(t),
|
|
17168
|
+
e._reconstructActiveFormattingElements(), Rs(t), la(t), t.selfClosing ? e._appendElement(t, R.SVG) : e._insertElement(t, R.SVG), t.ackSelfClosing = !0;
|
|
17164
17169
|
}
|
|
17165
|
-
function
|
|
17170
|
+
function zi(e, t) {
|
|
17166
17171
|
e._reconstructActiveFormattingElements(), e._insertElement(t, R.HTML);
|
|
17167
17172
|
}
|
|
17168
17173
|
function xe(e, t) {
|
|
@@ -17340,7 +17345,7 @@ function xe(e, t) {
|
|
|
17340
17345
|
}
|
|
17341
17346
|
case s.NOEMBED:
|
|
17342
17347
|
case s.NOFRAMES: {
|
|
17343
|
-
|
|
17348
|
+
Ui(e, t);
|
|
17344
17349
|
break;
|
|
17345
17350
|
}
|
|
17346
17351
|
case s.FRAMESET: {
|
|
@@ -17352,7 +17357,7 @@ function xe(e, t) {
|
|
|
17352
17357
|
break;
|
|
17353
17358
|
}
|
|
17354
17359
|
case s.NOSCRIPT: {
|
|
17355
|
-
e.options.scriptingEnabled ?
|
|
17360
|
+
e.options.scriptingEnabled ? Ui(e, t) : zi(e, t);
|
|
17356
17361
|
break;
|
|
17357
17362
|
}
|
|
17358
17363
|
case s.PLAINTEXT: {
|
|
@@ -17372,7 +17377,7 @@ function xe(e, t) {
|
|
|
17372
17377
|
case s.COLGROUP:
|
|
17373
17378
|
break;
|
|
17374
17379
|
default:
|
|
17375
|
-
|
|
17380
|
+
zi(e, t);
|
|
17376
17381
|
}
|
|
17377
17382
|
}
|
|
17378
17383
|
function ob(e, t) {
|
|
@@ -17424,7 +17429,7 @@ function Fs(e, t) {
|
|
|
17424
17429
|
break;
|
|
17425
17430
|
}
|
|
17426
17431
|
}
|
|
17427
|
-
function
|
|
17432
|
+
function Qn(e, t) {
|
|
17428
17433
|
switch (t.tagID) {
|
|
17429
17434
|
case s.A:
|
|
17430
17435
|
case s.B:
|
|
@@ -17440,7 +17445,7 @@ function Gn(e, t) {
|
|
|
17440
17445
|
case s.SMALL:
|
|
17441
17446
|
case s.STRIKE:
|
|
17442
17447
|
case s.STRONG: {
|
|
17443
|
-
|
|
17448
|
+
ca(e, t);
|
|
17444
17449
|
break;
|
|
17445
17450
|
}
|
|
17446
17451
|
case s.P: {
|
|
@@ -17526,7 +17531,7 @@ function Gn(e, t) {
|
|
|
17526
17531
|
}
|
|
17527
17532
|
}
|
|
17528
17533
|
function Hs(e, t) {
|
|
17529
|
-
e.tmplInsertionModeStack.length > 0 ? Ws(e, t) :
|
|
17534
|
+
e.tmplInsertionModeStack.length > 0 ? Ws(e, t) : da(e, t);
|
|
17530
17535
|
}
|
|
17531
17536
|
function gb(e, t) {
|
|
17532
17537
|
var n;
|
|
@@ -17535,7 +17540,7 @@ function gb(e, t) {
|
|
|
17535
17540
|
function bb(e, t) {
|
|
17536
17541
|
e._err(t, k.eofInElementThatCanContainOnlyText), e.openElements.pop(), e.insertionMode = e.originalInsertionMode, e.onEof(t);
|
|
17537
17542
|
}
|
|
17538
|
-
function
|
|
17543
|
+
function wr(e, t) {
|
|
17539
17544
|
if (Ds.has(e.openElements.currentTagId))
|
|
17540
17545
|
switch (e.pendingCharacterTokens.length = 0, e.hasNonWhitespacePendingCharacterToken = !1, e.originalInsertionMode = e.insertionMode, e.insertionMode = w.IN_TABLE_TEXT, t.type) {
|
|
17541
17546
|
case X.CHARACTER: {
|
|
@@ -17557,13 +17562,13 @@ function wb(e, t) {
|
|
|
17557
17562
|
e.openElements.clearBackToTableContext(), e._insertElement(t, R.HTML), e.insertionMode = w.IN_COLUMN_GROUP;
|
|
17558
17563
|
}
|
|
17559
17564
|
function xb(e, t) {
|
|
17560
|
-
e.openElements.clearBackToTableContext(), e._insertFakeElement(C.COLGROUP, s.COLGROUP), e.insertionMode = w.IN_COLUMN_GROUP,
|
|
17565
|
+
e.openElements.clearBackToTableContext(), e._insertFakeElement(C.COLGROUP, s.COLGROUP), e.insertionMode = w.IN_COLUMN_GROUP, ha(e, t);
|
|
17561
17566
|
}
|
|
17562
17567
|
function Tb(e, t) {
|
|
17563
17568
|
e.openElements.clearBackToTableContext(), e._insertElement(t, R.HTML), e.insertionMode = w.IN_TABLE_BODY;
|
|
17564
17569
|
}
|
|
17565
17570
|
function yb(e, t) {
|
|
17566
|
-
e.openElements.clearBackToTableContext(), e._insertFakeElement(C.TBODY, s.TBODY), e.insertionMode = w.IN_TABLE_BODY,
|
|
17571
|
+
e.openElements.clearBackToTableContext(), e._insertFakeElement(C.TBODY, s.TBODY), e.insertionMode = w.IN_TABLE_BODY, Xn(e, t);
|
|
17567
17572
|
}
|
|
17568
17573
|
function Cb(e, t) {
|
|
17569
17574
|
e.openElements.hasInTableScope(s.TABLE) && (e.openElements.popUntilTagNamePopped(s.TABLE), e._resetInsertionMode(), e._processStartTag(t));
|
|
@@ -17650,7 +17655,7 @@ function en(e, t) {
|
|
|
17650
17655
|
}
|
|
17651
17656
|
function hn(e, t) {
|
|
17652
17657
|
const n = e.fosterParentingEnabled;
|
|
17653
|
-
e.fosterParentingEnabled = !0,
|
|
17658
|
+
e.fosterParentingEnabled = !0, Gn(e, t), e.fosterParentingEnabled = n;
|
|
17654
17659
|
}
|
|
17655
17660
|
function Us(e, t) {
|
|
17656
17661
|
e.pendingCharacterTokens.push(t);
|
|
@@ -17693,10 +17698,10 @@ function Nb(e, t) {
|
|
|
17693
17698
|
case s.TR:
|
|
17694
17699
|
break;
|
|
17695
17700
|
default:
|
|
17696
|
-
|
|
17701
|
+
Qn(e, t);
|
|
17697
17702
|
}
|
|
17698
17703
|
}
|
|
17699
|
-
function
|
|
17704
|
+
function ha(e, t) {
|
|
17700
17705
|
switch (t.tagID) {
|
|
17701
17706
|
case s.HTML: {
|
|
17702
17707
|
xe(e, t);
|
|
@@ -17711,7 +17716,7 @@ function da(e, t) {
|
|
|
17711
17716
|
break;
|
|
17712
17717
|
}
|
|
17713
17718
|
default:
|
|
17714
|
-
|
|
17719
|
+
vn(e, t);
|
|
17715
17720
|
}
|
|
17716
17721
|
}
|
|
17717
17722
|
function Ib(e, t) {
|
|
@@ -17727,13 +17732,13 @@ function Ib(e, t) {
|
|
|
17727
17732
|
case s.COL:
|
|
17728
17733
|
break;
|
|
17729
17734
|
default:
|
|
17730
|
-
|
|
17735
|
+
vn(e, t);
|
|
17731
17736
|
}
|
|
17732
17737
|
}
|
|
17733
|
-
function
|
|
17738
|
+
function vn(e, t) {
|
|
17734
17739
|
e.openElements.currentTagId === s.COLGROUP && (e.openElements.pop(), e.insertionMode = w.IN_TABLE, e._processToken(t));
|
|
17735
17740
|
}
|
|
17736
|
-
function
|
|
17741
|
+
function Xn(e, t) {
|
|
17737
17742
|
switch (t.tagID) {
|
|
17738
17743
|
case s.TR: {
|
|
17739
17744
|
e.openElements.clearBackToTableBodyContext(), e._insertElement(t, R.HTML), e.insertionMode = w.IN_ROW;
|
|
@@ -17741,7 +17746,7 @@ function Qn(e, t) {
|
|
|
17741
17746
|
}
|
|
17742
17747
|
case s.TH:
|
|
17743
17748
|
case s.TD: {
|
|
17744
|
-
e.openElements.clearBackToTableBodyContext(), e._insertFakeElement(C.TR, s.TR), e.insertionMode = w.IN_ROW,
|
|
17749
|
+
e.openElements.clearBackToTableBodyContext(), e._insertFakeElement(C.TR, s.TR), e.insertionMode = w.IN_ROW, Kn(e, t);
|
|
17745
17750
|
break;
|
|
17746
17751
|
}
|
|
17747
17752
|
case s.CAPTION:
|
|
@@ -17757,7 +17762,7 @@ function Qn(e, t) {
|
|
|
17757
17762
|
kt(e, t);
|
|
17758
17763
|
}
|
|
17759
17764
|
}
|
|
17760
|
-
function
|
|
17765
|
+
function Br(e, t) {
|
|
17761
17766
|
const n = t.tagID;
|
|
17762
17767
|
switch (t.tagID) {
|
|
17763
17768
|
case s.TBODY:
|
|
@@ -17783,7 +17788,7 @@ function Mr(e, t) {
|
|
|
17783
17788
|
en(e, t);
|
|
17784
17789
|
}
|
|
17785
17790
|
}
|
|
17786
|
-
function
|
|
17791
|
+
function Kn(e, t) {
|
|
17787
17792
|
switch (t.tagID) {
|
|
17788
17793
|
case s.TH:
|
|
17789
17794
|
case s.TD: {
|
|
@@ -17797,7 +17802,7 @@ function Xn(e, t) {
|
|
|
17797
17802
|
case s.TFOOT:
|
|
17798
17803
|
case s.THEAD:
|
|
17799
17804
|
case s.TR: {
|
|
17800
|
-
e.openElements.hasInTableScope(s.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = w.IN_TABLE_BODY,
|
|
17805
|
+
e.openElements.hasInTableScope(s.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = w.IN_TABLE_BODY, Xn(e, t));
|
|
17801
17806
|
break;
|
|
17802
17807
|
}
|
|
17803
17808
|
default:
|
|
@@ -17811,13 +17816,13 @@ function js(e, t) {
|
|
|
17811
17816
|
break;
|
|
17812
17817
|
}
|
|
17813
17818
|
case s.TABLE: {
|
|
17814
|
-
e.openElements.hasInTableScope(s.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = w.IN_TABLE_BODY,
|
|
17819
|
+
e.openElements.hasInTableScope(s.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = w.IN_TABLE_BODY, Br(e, t));
|
|
17815
17820
|
break;
|
|
17816
17821
|
}
|
|
17817
17822
|
case s.TBODY:
|
|
17818
17823
|
case s.TFOOT:
|
|
17819
17824
|
case s.THEAD: {
|
|
17820
|
-
(e.openElements.hasInTableScope(t.tagID) || e.openElements.hasInTableScope(s.TR)) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = w.IN_TABLE_BODY,
|
|
17825
|
+
(e.openElements.hasInTableScope(t.tagID) || e.openElements.hasInTableScope(s.TR)) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = w.IN_TABLE_BODY, Br(e, t));
|
|
17821
17826
|
break;
|
|
17822
17827
|
}
|
|
17823
17828
|
case s.BODY:
|
|
@@ -17834,7 +17839,7 @@ function js(e, t) {
|
|
|
17834
17839
|
}
|
|
17835
17840
|
function Sb(e, t) {
|
|
17836
17841
|
const n = t.tagID;
|
|
17837
|
-
Ys.has(n) ? (e.openElements.hasInTableScope(s.TD) || e.openElements.hasInTableScope(s.TH)) && (e._closeTableCell(),
|
|
17842
|
+
Ys.has(n) ? (e.openElements.hasInTableScope(s.TD) || e.openElements.hasInTableScope(s.TH)) && (e._closeTableCell(), Kn(e, t)) : xe(e, t);
|
|
17838
17843
|
}
|
|
17839
17844
|
function Lb(e, t) {
|
|
17840
17845
|
const n = t.tagID;
|
|
@@ -17859,7 +17864,7 @@ function Lb(e, t) {
|
|
|
17859
17864
|
case s.HTML:
|
|
17860
17865
|
break;
|
|
17861
17866
|
default:
|
|
17862
|
-
|
|
17867
|
+
Qn(e, t);
|
|
17863
17868
|
}
|
|
17864
17869
|
}
|
|
17865
17870
|
function qs(e, t) {
|
|
@@ -17946,16 +17951,16 @@ function Db(e, t) {
|
|
|
17946
17951
|
break;
|
|
17947
17952
|
}
|
|
17948
17953
|
case s.COL: {
|
|
17949
|
-
e.tmplInsertionModeStack[0] = w.IN_COLUMN_GROUP, e.insertionMode = w.IN_COLUMN_GROUP,
|
|
17954
|
+
e.tmplInsertionModeStack[0] = w.IN_COLUMN_GROUP, e.insertionMode = w.IN_COLUMN_GROUP, ha(e, t);
|
|
17950
17955
|
break;
|
|
17951
17956
|
}
|
|
17952
17957
|
case s.TR: {
|
|
17953
|
-
e.tmplInsertionModeStack[0] = w.IN_TABLE_BODY, e.insertionMode = w.IN_TABLE_BODY,
|
|
17958
|
+
e.tmplInsertionModeStack[0] = w.IN_TABLE_BODY, e.insertionMode = w.IN_TABLE_BODY, Xn(e, t);
|
|
17954
17959
|
break;
|
|
17955
17960
|
}
|
|
17956
17961
|
case s.TD:
|
|
17957
17962
|
case s.TH: {
|
|
17958
|
-
e.tmplInsertionModeStack[0] = w.IN_ROW, e.insertionMode = w.IN_ROW,
|
|
17963
|
+
e.tmplInsertionModeStack[0] = w.IN_ROW, e.insertionMode = w.IN_ROW, Kn(e, t);
|
|
17959
17964
|
break;
|
|
17960
17965
|
}
|
|
17961
17966
|
default:
|
|
@@ -17966,10 +17971,10 @@ function vb(e, t) {
|
|
|
17966
17971
|
t.tagID === s.TEMPLATE && mt(e, t);
|
|
17967
17972
|
}
|
|
17968
17973
|
function Ws(e, t) {
|
|
17969
|
-
e.openElements.tmplCount > 0 ? (e.openElements.popUntilTagNamePopped(s.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode(), e.onEof(t)) :
|
|
17974
|
+
e.openElements.tmplCount > 0 ? (e.openElements.popUntilTagNamePopped(s.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode(), e.onEof(t)) : da(e, t);
|
|
17970
17975
|
}
|
|
17971
17976
|
function Pb(e, t) {
|
|
17972
|
-
t.tagID === s.HTML ? xe(e, t) :
|
|
17977
|
+
t.tagID === s.HTML ? xe(e, t) : Pn(e, t);
|
|
17973
17978
|
}
|
|
17974
17979
|
function Gs(e, t) {
|
|
17975
17980
|
var n;
|
|
@@ -17980,10 +17985,10 @@ function Gs(e, t) {
|
|
|
17980
17985
|
r && !(!((n = e.treeAdapter.getNodeSourceCodeLocation(r)) === null || n === void 0) && n.endTag) && e._setEndLocation(r, t);
|
|
17981
17986
|
}
|
|
17982
17987
|
} else
|
|
17983
|
-
|
|
17988
|
+
Pn(e, t);
|
|
17984
17989
|
}
|
|
17985
|
-
function
|
|
17986
|
-
e.insertionMode = w.IN_BODY,
|
|
17990
|
+
function Pn(e, t) {
|
|
17991
|
+
e.insertionMode = w.IN_BODY, Gn(e, t);
|
|
17987
17992
|
}
|
|
17988
17993
|
function Mb(e, t) {
|
|
17989
17994
|
switch (t.tagID) {
|
|
@@ -18027,7 +18032,7 @@ function Ub(e, t) {
|
|
|
18027
18032
|
t.tagID === s.HTML ? xe(e, t) : _n(e, t);
|
|
18028
18033
|
}
|
|
18029
18034
|
function _n(e, t) {
|
|
18030
|
-
e.insertionMode = w.IN_BODY,
|
|
18035
|
+
e.insertionMode = w.IN_BODY, Gn(e, t);
|
|
18031
18036
|
}
|
|
18032
18037
|
function zb(e, t) {
|
|
18033
18038
|
switch (t.tagID) {
|
|
@@ -18056,7 +18061,7 @@ function qb(e, t) {
|
|
|
18056
18061
|
Qs(e), e._startTagOutsideForeignContent(t);
|
|
18057
18062
|
else {
|
|
18058
18063
|
const n = e._getAdjustedCurrentElement(), r = e.treeAdapter.getNamespaceURI(n);
|
|
18059
|
-
r === R.MATHML ? Os(t) : r === R.SVG && (og(t), Rs(t)),
|
|
18064
|
+
r === R.MATHML ? Os(t) : r === R.SVG && (og(t), Rs(t)), la(t), t.selfClosing ? e._appendElement(t, r) : e._insertElement(t, r), t.ackSelfClosing = !0;
|
|
18060
18065
|
}
|
|
18061
18066
|
}
|
|
18062
18067
|
function Vb(e, t) {
|
|
@@ -18084,13 +18089,13 @@ const Wb = /<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title
|
|
|
18084
18089
|
"mdxJsxTextElement",
|
|
18085
18090
|
"mdxTextExpression",
|
|
18086
18091
|
"mdxjsEsm"
|
|
18087
|
-
]),
|
|
18092
|
+
]), Yi = { sourceCodeLocationInfo: !0, scriptingEnabled: !1 };
|
|
18088
18093
|
function Xs(e, t) {
|
|
18089
18094
|
const n = r2(e), r = lo("type", {
|
|
18090
18095
|
handlers: { root: Qb, element: Xb, text: Kb, comment: $s, doctype: $b, raw: Zb },
|
|
18091
18096
|
unknown: e2
|
|
18092
18097
|
}), a = {
|
|
18093
|
-
parser: n ? new
|
|
18098
|
+
parser: n ? new Hi(Yi) : Hi.getFragmentParser(void 0, Yi),
|
|
18094
18099
|
handle(u) {
|
|
18095
18100
|
r(u, a);
|
|
18096
18101
|
},
|
|
@@ -18102,7 +18107,7 @@ function Xs(e, t) {
|
|
|
18102
18107
|
// To do: support `space`?
|
|
18103
18108
|
file: a.options.file
|
|
18104
18109
|
});
|
|
18105
|
-
return a.stitches &&
|
|
18110
|
+
return a.stitches && Yn(o, "comment", function(u, l, c) {
|
|
18106
18111
|
const d = (
|
|
18107
18112
|
/** @type {Stitch} */
|
|
18108
18113
|
/** @type {unknown} */
|
|
@@ -18235,7 +18240,7 @@ function t2(e, t) {
|
|
|
18235
18240
|
function n2(e, t) {
|
|
18236
18241
|
const n = e.tagName.toLowerCase();
|
|
18237
18242
|
if (!t.parser.tokenizer.inForeignNode && b1.includes(n) || t.parser.tokenizer.state === ce.PLAINTEXT) return;
|
|
18238
|
-
vt(t,
|
|
18243
|
+
vt(t, Vn(e));
|
|
18239
18244
|
const r = {
|
|
18240
18245
|
type: X.END_TAG,
|
|
18241
18246
|
tagName: n,
|
|
@@ -18260,7 +18265,7 @@ function pn(e) {
|
|
|
18260
18265
|
line: void 0,
|
|
18261
18266
|
column: void 0,
|
|
18262
18267
|
offset: void 0
|
|
18263
|
-
}, n =
|
|
18268
|
+
}, n = Vn(e) || {
|
|
18264
18269
|
line: void 0,
|
|
18265
18270
|
column: void 0,
|
|
18266
18271
|
offset: void 0
|
|
@@ -18285,14 +18290,14 @@ function Zs(e) {
|
|
|
18285
18290
|
);
|
|
18286
18291
|
};
|
|
18287
18292
|
}
|
|
18288
|
-
function
|
|
18289
|
-
return
|
|
18293
|
+
function Fr() {
|
|
18294
|
+
return Fr = Object.assign ? Object.assign.bind() : function(e) {
|
|
18290
18295
|
for (var t = 1; t < arguments.length; t++) {
|
|
18291
18296
|
var n = arguments[t];
|
|
18292
18297
|
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
18293
18298
|
}
|
|
18294
18299
|
return e;
|
|
18295
|
-
},
|
|
18300
|
+
}, Fr.apply(null, arguments);
|
|
18296
18301
|
}
|
|
18297
18302
|
function i2(e, t) {
|
|
18298
18303
|
if (e == null) return {};
|
|
@@ -18306,10 +18311,10 @@ function i2(e, t) {
|
|
|
18306
18311
|
var eu, tu;
|
|
18307
18312
|
typeof document < "u" && (eu = document);
|
|
18308
18313
|
typeof window < "u" && (tu = window);
|
|
18309
|
-
var nu = /* @__PURE__ */
|
|
18314
|
+
var nu = /* @__PURE__ */ Ur.createContext({
|
|
18310
18315
|
document: eu,
|
|
18311
18316
|
window: tu
|
|
18312
|
-
}), o2 = () =>
|
|
18317
|
+
}), o2 = () => Ur.useContext(nu), s2 = ["children", "head", "initialContent", "src", "mountTarget"], pa = /* @__PURE__ */ Yr((e, t) => {
|
|
18313
18318
|
var {
|
|
18314
18319
|
children: n,
|
|
18315
18320
|
head: r,
|
|
@@ -18328,7 +18333,7 @@ var nu = /* @__PURE__ */ Hr.createContext({
|
|
|
18328
18333
|
var H = () => setInterval(() => _(P), 500);
|
|
18329
18334
|
clearInterval(H()), l || c(!0);
|
|
18330
18335
|
}, [l]);
|
|
18331
|
-
|
|
18336
|
+
zr(() => {
|
|
18332
18337
|
!i && u.onLoad && l && u.onLoad(A.current);
|
|
18333
18338
|
}, [l]), nn(() => {
|
|
18334
18339
|
if (d && !i) {
|
|
@@ -18350,9 +18355,9 @@ var nu = /* @__PURE__ */ Hr.createContext({
|
|
|
18350
18355
|
},
|
|
18351
18356
|
children: n
|
|
18352
18357
|
});
|
|
18353
|
-
return [I && r && /* @__PURE__ */
|
|
18358
|
+
return [I && r && /* @__PURE__ */ xr(r, I), d && F && /* @__PURE__ */ xr(Q, F)];
|
|
18354
18359
|
}, O = {};
|
|
18355
|
-
return i ? (delete O.srcDoc, O.src = i, O.onLoad = u.onLoad) : O.srcDoc = p, /* @__PURE__ */ b("iframe",
|
|
18360
|
+
return i ? (delete O.srcDoc, O.src = i, O.onLoad = u.onLoad) : O.srcDoc = p, /* @__PURE__ */ b("iframe", Fr({
|
|
18356
18361
|
title: u.title,
|
|
18357
18362
|
ref: g
|
|
18358
18363
|
}, u, {
|
|
@@ -18361,21 +18366,21 @@ var nu = /* @__PURE__ */ Hr.createContext({
|
|
|
18361
18366
|
children: l && L()
|
|
18362
18367
|
}));
|
|
18363
18368
|
});
|
|
18364
|
-
|
|
18369
|
+
pa.displayName = "IFrame";
|
|
18365
18370
|
const ru = "opencx-widget-portal";
|
|
18366
|
-
function
|
|
18371
|
+
function $n() {
|
|
18367
18372
|
return null;
|
|
18368
18373
|
}
|
|
18369
18374
|
function u2({ children: e }) {
|
|
18370
18375
|
var n, r;
|
|
18371
18376
|
const t = (r = (n = o2()) == null ? void 0 : n.document) == null ? void 0 : r.getElementById(ru);
|
|
18372
|
-
return t ?
|
|
18377
|
+
return t ? xr(e, t) : (console.error("Portal container not found!"), null);
|
|
18373
18378
|
}
|
|
18374
18379
|
function l2() {
|
|
18375
18380
|
return /* @__PURE__ */ b("div", { id: ru, className: "absolute size-full top-0 left-0" });
|
|
18376
18381
|
}
|
|
18377
|
-
|
|
18378
|
-
|
|
18382
|
+
$n.Portal = u2;
|
|
18383
|
+
$n.Container = l2;
|
|
18379
18384
|
const c2 = Fe.Root, d2 = Fe.Trigger, au = ge.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ b(
|
|
18380
18385
|
Fe.Overlay,
|
|
18381
18386
|
{
|
|
@@ -18388,7 +18393,7 @@ const c2 = Fe.Root, d2 = Fe.Trigger, au = ge.forwardRef(({ className: e, ...t },
|
|
|
18388
18393
|
}
|
|
18389
18394
|
));
|
|
18390
18395
|
au.displayName = Fe.Overlay.displayName;
|
|
18391
|
-
const iu = ge.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ z(
|
|
18396
|
+
const iu = ge.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ z($n.Portal, { children: [
|
|
18392
18397
|
/* @__PURE__ */ b(au, {}),
|
|
18393
18398
|
/* @__PURE__ */ z(
|
|
18394
18399
|
Fe.Content,
|
|
@@ -18480,7 +18485,7 @@ function su({ attachment: e }) {
|
|
|
18480
18485
|
)
|
|
18481
18486
|
] });
|
|
18482
18487
|
}
|
|
18483
|
-
function
|
|
18488
|
+
function Hr({
|
|
18484
18489
|
data: e,
|
|
18485
18490
|
id: t,
|
|
18486
18491
|
type: n,
|
|
@@ -18520,7 +18525,7 @@ function uu(e) {
|
|
|
18520
18525
|
return /* @__PURE__ */ b(r, { ...e, id: e.id });
|
|
18521
18526
|
}
|
|
18522
18527
|
const n = t.getComponent(e.component);
|
|
18523
|
-
return n ? /* @__PURE__ */ b(n, { ...e, id: e.id }) : /* @__PURE__ */ b(
|
|
18528
|
+
return n ? /* @__PURE__ */ b(n, { ...e, id: e.id }) : /* @__PURE__ */ b(Hr, { ...e });
|
|
18524
18529
|
}
|
|
18525
18530
|
const fn = ge.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ b(
|
|
18526
18531
|
Nt.Root,
|
|
@@ -18534,7 +18539,7 @@ const fn = ge.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ b(
|
|
|
18534
18539
|
}
|
|
18535
18540
|
));
|
|
18536
18541
|
fn.displayName = Nt.Root.displayName;
|
|
18537
|
-
const
|
|
18542
|
+
const Jn = ge.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ b(
|
|
18538
18543
|
Nt.Image,
|
|
18539
18544
|
{
|
|
18540
18545
|
ref: n,
|
|
@@ -18542,8 +18547,8 @@ const $n = ge.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ b(
|
|
|
18542
18547
|
...t
|
|
18543
18548
|
}
|
|
18544
18549
|
));
|
|
18545
|
-
|
|
18546
|
-
const
|
|
18550
|
+
Jn.displayName = Nt.Image.displayName;
|
|
18551
|
+
const Zn = ge.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ b(
|
|
18547
18552
|
Nt.Fallback,
|
|
18548
18553
|
{
|
|
18549
18554
|
ref: n,
|
|
@@ -18554,10 +18559,8 @@ const Jn = ge.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ b(
|
|
|
18554
18559
|
...t
|
|
18555
18560
|
}
|
|
18556
18561
|
));
|
|
18557
|
-
|
|
18558
|
-
function p2({
|
|
18559
|
-
message: e
|
|
18560
|
-
}) {
|
|
18562
|
+
Zn.displayName = Nt.Fallback.displayName;
|
|
18563
|
+
function p2({ message: e }) {
|
|
18561
18564
|
var t;
|
|
18562
18565
|
return /* @__PURE__ */ z("div", { className: "w-5/6 flex flex-col items-end gap-1", children: [
|
|
18563
18566
|
e.attachments && e.attachments.length > 0 && /* @__PURE__ */ b("div", { className: "w-full flex gap-1 flex-wrap justify-end", children: (t = e.attachments) == null ? void 0 : t.map((n) => /* @__PURE__ */ b(su, { attachment: n }, n.id)) }),
|
|
@@ -18584,13 +18587,13 @@ function f2({
|
|
|
18584
18587
|
return /* @__PURE__ */ z("div", { className: q("group", "flex flex-col gap-2 justify-end items-end"), children: [
|
|
18585
18588
|
/* @__PURE__ */ z(fn, { className: "bg-primary text-primary-foreground", children: [
|
|
18586
18589
|
/* @__PURE__ */ b(
|
|
18587
|
-
|
|
18590
|
+
Jn,
|
|
18588
18591
|
{
|
|
18589
18592
|
src: (n = t == null ? void 0 : t.data) == null ? void 0 : n.avatarUrl,
|
|
18590
18593
|
alt: ((r = t == null ? void 0 : t.data) == null ? void 0 : r.name) || "User avatar"
|
|
18591
18594
|
}
|
|
18592
18595
|
),
|
|
18593
|
-
((a = t == null ? void 0 : t.data) == null ? void 0 : a.name) && /* @__PURE__ */ b(
|
|
18596
|
+
((a = t == null ? void 0 : t.data) == null ? void 0 : a.name) && /* @__PURE__ */ b(Zn, { children: (u = (o = (i = t == null ? void 0 : t.data) == null ? void 0 : i.name) == null ? void 0 : o.slice(0, 1)) == null ? void 0 : u.toUpperCase() })
|
|
18594
18597
|
] }),
|
|
18595
18598
|
e.map((l) => /* @__PURE__ */ b(p2, { message: l }, l.id))
|
|
18596
18599
|
] });
|
|
@@ -18601,9 +18604,9 @@ function m2({
|
|
|
18601
18604
|
}) {
|
|
18602
18605
|
var n, r;
|
|
18603
18606
|
return /* @__PURE__ */ z("div", { className: q("flex flex-col items-start gap-2"), children: [
|
|
18604
|
-
/* @__PURE__ */ b(
|
|
18605
|
-
/* @__PURE__ */ b(
|
|
18606
|
-
(t == null ? void 0 : t.name) && /* @__PURE__ */ b(
|
|
18607
|
+
/* @__PURE__ */ b(Nn, { content: t == null ? void 0 : t.name, side: "right", align: "end", children: /* @__PURE__ */ z(fn, { children: [
|
|
18608
|
+
/* @__PURE__ */ b(Jn, { src: (t == null ? void 0 : t.avatar) ?? "", alt: "Agent Icon" }),
|
|
18609
|
+
(t == null ? void 0 : t.name) && /* @__PURE__ */ b(Zn, { children: (r = (n = t == null ? void 0 : t.name) == null ? void 0 : n.slice(0, 1)) == null ? void 0 : r.toUpperCase() })
|
|
18607
18610
|
] }) }),
|
|
18608
18611
|
e.map((a) => /* @__PURE__ */ b(uu, { ...a }, a.id))
|
|
18609
18612
|
] });
|
|
@@ -18611,9 +18614,9 @@ function m2({
|
|
|
18611
18614
|
function g2() {
|
|
18612
18615
|
const {
|
|
18613
18616
|
messagesState: { messages: e }
|
|
18614
|
-
} = an(), { isAwaitingBotReply: t } =
|
|
18617
|
+
} = an(), { isAwaitingBotReply: t } = Vi(), { componentStore: n } = rn(), r = pt(), a = zr(
|
|
18615
18618
|
() => mc(e),
|
|
18616
|
-
[e
|
|
18619
|
+
[e]
|
|
18617
18620
|
), i = !r.initialMessages || r.initialMessages.length === 0 ? ["Hello, how can I help you?"] : r.initialMessages, o = n.getComponent(
|
|
18618
18621
|
"loading"
|
|
18619
18622
|
), u = tn(null);
|
|
@@ -18680,15 +18683,15 @@ function b2() {
|
|
|
18680
18683
|
messagesState: { isInitialFetchLoading: e }
|
|
18681
18684
|
} = an(), {
|
|
18682
18685
|
sessionState: { session: t }
|
|
18683
|
-
} =
|
|
18684
|
-
|
|
18686
|
+
} = Mn(), { observedElementRef: n } = Vr({
|
|
18687
|
+
minHeight: Zu
|
|
18685
18688
|
}), r = tn((t == null ? void 0 : t.id) || "chat").current;
|
|
18686
18689
|
return /* @__PURE__ */ b(
|
|
18687
18690
|
"div",
|
|
18688
18691
|
{
|
|
18689
18692
|
ref: n,
|
|
18690
18693
|
className: q(
|
|
18691
|
-
|
|
18694
|
+
jr.widgetHeightMax,
|
|
18692
18695
|
"w-full flex flex-col overflow-hidden bg-background"
|
|
18693
18696
|
),
|
|
18694
18697
|
children: /* @__PURE__ */ z("div", { className: "size-full justify-between flex flex-col", children: [
|
|
@@ -18718,7 +18721,7 @@ function b2() {
|
|
|
18718
18721
|
}
|
|
18719
18722
|
const An = ge.forwardRef(
|
|
18720
18723
|
({ className: e, type: t, ...n }, r) => {
|
|
18721
|
-
const a =
|
|
18724
|
+
const a = Fn();
|
|
18722
18725
|
return /* @__PURE__ */ b(Xe, { ref: r, children: /* @__PURE__ */ b(
|
|
18723
18726
|
"input",
|
|
18724
18727
|
{
|
|
@@ -18787,14 +18790,14 @@ function cu({ className: e }) {
|
|
|
18787
18790
|
}
|
|
18788
18791
|
);
|
|
18789
18792
|
}
|
|
18790
|
-
const w2 =
|
|
18791
|
-
name:
|
|
18792
|
-
email:
|
|
18793
|
+
const w2 = er.object({
|
|
18794
|
+
name: er.string().min(2),
|
|
18795
|
+
email: er.string().email()
|
|
18793
18796
|
});
|
|
18794
18797
|
function x2() {
|
|
18795
18798
|
var E, y, A, _, L, O, P, H, I;
|
|
18796
|
-
const { createUnverifiedContact: e } = Xu(), t = pt(), n = St(), { data: r } =
|
|
18797
|
-
|
|
18799
|
+
const { createUnverifiedContact: e } = Xu(), t = pt(), n = St(), { data: r } = Bn(), { observedElementRef: a } = Vr({
|
|
18800
|
+
minHeight: kn
|
|
18798
18801
|
}), [i, o] = Re(((E = t.prefillUserData) == null ? void 0 : E.name) || ""), [u, l] = Re(((y = t.prefillUserData) == null ? void 0 : y.email) || ""), c = (t.extraDataCollectionFields || []).filter(
|
|
18799
18802
|
(F) => F !== "name" && F !== "email" && !!F
|
|
18800
18803
|
), [d, h] = Re({}), [g, p] = Ku(
|
|
@@ -18817,7 +18820,7 @@ function x2() {
|
|
|
18817
18820
|
{
|
|
18818
18821
|
ref: a,
|
|
18819
18822
|
className: q(
|
|
18820
|
-
|
|
18823
|
+
jr.widgetMinHeight,
|
|
18821
18824
|
"h-fit bg-primary flex flex-col"
|
|
18822
18825
|
),
|
|
18823
18826
|
children: [
|
|
@@ -18921,7 +18924,7 @@ function T2({ session: e }) {
|
|
|
18921
18924
|
onClick: () => n(e.id),
|
|
18922
18925
|
children: [
|
|
18923
18926
|
/* @__PURE__ */ z("div", { className: "flex-1 flex gap-2 items-center", children: [
|
|
18924
|
-
/* @__PURE__ */ b(ke, { mode: "wait", children: /* @__PURE__ */ b(ie, { snapExit: !0, children: /* @__PURE__ */ b(fn, { className: "size-10", children: /* @__PURE__ */ b(
|
|
18927
|
+
/* @__PURE__ */ b(ke, { mode: "wait", children: /* @__PURE__ */ b(ie, { snapExit: !0, children: /* @__PURE__ */ b(fn, { className: "size-10", children: /* @__PURE__ */ b(Jn, { src: a, alt: "Agent Icon" }) }) }) }),
|
|
18925
18928
|
/* @__PURE__ */ z("div", { className: "flex-1", children: [
|
|
18926
18929
|
/* @__PURE__ */ b(ke, { mode: "wait", children: /* @__PURE__ */ b(ie, { snapExit: !0, children: r }, r) }),
|
|
18927
18930
|
/* @__PURE__ */ b(ke, { mode: "wait", children: e.lastMessage ? /* @__PURE__ */ b(ie, { snapExit: !0, children: /* @__PURE__ */ b(
|
|
@@ -18943,7 +18946,7 @@ function T2({ session: e }) {
|
|
|
18943
18946
|
function y2() {
|
|
18944
18947
|
const e = St(), { toChatScreen: t } = on(), {
|
|
18945
18948
|
sessionsState: { data: n, isInitialFetchLoading: r }
|
|
18946
|
-
} =
|
|
18949
|
+
} = Mn();
|
|
18947
18950
|
return /* @__PURE__ */ b("div", { className: "flex-1 flex flex-col overflow-scroll p-2", children: /* @__PURE__ */ b(ke, { mode: "wait", children: r ? /* @__PURE__ */ b(
|
|
18948
18951
|
ie,
|
|
18949
18952
|
{
|
|
@@ -18955,7 +18958,7 @@ function y2() {
|
|
|
18955
18958
|
ie,
|
|
18956
18959
|
{
|
|
18957
18960
|
className: "flex-1 flex flex-col gap-2 relative",
|
|
18958
|
-
children: n.length ? /* @__PURE__ */ z(
|
|
18961
|
+
children: n.length ? /* @__PURE__ */ z(ji, { children: [
|
|
18959
18962
|
/* @__PURE__ */ b(ke, { children: n.map((a, i) => /* @__PURE__ */ b(ie, { snapExit: !0, children: /* @__PURE__ */ b(T2, { session: a }) }, `${a.id}-${i}`)) }),
|
|
18960
18963
|
/* @__PURE__ */ b("div", { className: "mt-auto w-full rounded-3xl sticky bottom-0 outline outline-8 outline-background", children: /* @__PURE__ */ b(
|
|
18961
18964
|
Se,
|
|
@@ -18985,15 +18988,15 @@ function y2() {
|
|
|
18985
18988
|
) }) });
|
|
18986
18989
|
}
|
|
18987
18990
|
function C2() {
|
|
18988
|
-
const { observedElementRef: e } =
|
|
18989
|
-
|
|
18991
|
+
const { observedElementRef: e } = Vr({
|
|
18992
|
+
minHeight: kn
|
|
18990
18993
|
});
|
|
18991
18994
|
return /* @__PURE__ */ z(
|
|
18992
18995
|
"div",
|
|
18993
18996
|
{
|
|
18994
18997
|
ref: e,
|
|
18995
18998
|
className: q(
|
|
18996
|
-
|
|
18999
|
+
jr.widgetHeightMin,
|
|
18997
19000
|
"w-full flex flex-col overflow-hidden bg-background"
|
|
18998
19001
|
),
|
|
18999
19002
|
children: [
|
|
@@ -19007,12 +19010,12 @@ function C2() {
|
|
|
19007
19010
|
);
|
|
19008
19011
|
}
|
|
19009
19012
|
function _2() {
|
|
19010
|
-
|
|
19013
|
+
Bn();
|
|
19011
19014
|
const {
|
|
19012
19015
|
routerState: { screen: e }
|
|
19013
19016
|
} = on();
|
|
19014
19017
|
return /* @__PURE__ */ z("div", { className: "relative bg-background size-full", children: [
|
|
19015
|
-
/* @__PURE__ */ b(
|
|
19018
|
+
/* @__PURE__ */ b($n.Container, {}),
|
|
19016
19019
|
/* @__PURE__ */ b(ke, { mode: "wait", children: (() => {
|
|
19017
19020
|
switch (e) {
|
|
19018
19021
|
case "welcome":
|
|
@@ -19054,7 +19057,7 @@ function _2() {
|
|
|
19054
19057
|
})() })
|
|
19055
19058
|
] });
|
|
19056
19059
|
}
|
|
19057
|
-
const pa = '@import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..700;1,14..32,100..700&display=swap";@import"https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap";[data-opencx-widget] *,[data-opencx-widget] :before,[data-opencx-widget] :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-opencx-widget] ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-opencx-widget] *,[data-opencx-widget] :before,[data-opencx-widget] :after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}[data-opencx-widget] :before,[data-opencx-widget] :after{--tw-content: ""}[data-opencx-widget] html,[data-opencx-widget] :host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}[data-opencx-widget] body{margin:0;line-height:inherit}[data-opencx-widget] hr{height:0;color:inherit;border-top-width:1px}[data-opencx-widget] abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}[data-opencx-widget] h1,[data-opencx-widget] h2,[data-opencx-widget] h3,[data-opencx-widget] h4,[data-opencx-widget] h5,[data-opencx-widget] h6{font-size:inherit;font-weight:inherit}[data-opencx-widget] a{color:inherit;text-decoration:inherit}[data-opencx-widget] b,[data-opencx-widget] strong{font-weight:bolder}[data-opencx-widget] code,[data-opencx-widget] kbd,[data-opencx-widget] samp,[data-opencx-widget] pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}[data-opencx-widget] small{font-size:80%}[data-opencx-widget] sub,[data-opencx-widget] sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}[data-opencx-widget] sub{bottom:-.25em}[data-opencx-widget] sup{top:-.5em}[data-opencx-widget] table{text-indent:0;border-color:inherit;border-collapse:collapse}[data-opencx-widget] button,[data-opencx-widget] input,[data-opencx-widget] optgroup,[data-opencx-widget] select,[data-opencx-widget] textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}[data-opencx-widget] button,[data-opencx-widget] select{text-transform:none}[data-opencx-widget] button,[data-opencx-widget] input:where([type=button]),[data-opencx-widget] input:where([type=reset]),[data-opencx-widget] input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}[data-opencx-widget] :-moz-focusring{outline:auto}[data-opencx-widget] :-moz-ui-invalid{box-shadow:none}[data-opencx-widget] progress{vertical-align:baseline}[data-opencx-widget] ::-webkit-inner-spin-button,[data-opencx-widget] ::-webkit-outer-spin-button{height:auto}[data-opencx-widget] [type=search]{-webkit-appearance:textfield;outline-offset:-2px}[data-opencx-widget] ::-webkit-search-decoration{-webkit-appearance:none}[data-opencx-widget] ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}[data-opencx-widget] summary{display:list-item}[data-opencx-widget] blockquote,[data-opencx-widget] dl,[data-opencx-widget] dd,[data-opencx-widget] h1,[data-opencx-widget] h2,[data-opencx-widget] h3,[data-opencx-widget] h4,[data-opencx-widget] h5,[data-opencx-widget] h6,[data-opencx-widget] hr,[data-opencx-widget] figure,[data-opencx-widget] p,[data-opencx-widget] pre{margin:0}[data-opencx-widget] fieldset{margin:0;padding:0}[data-opencx-widget] legend{padding:0}[data-opencx-widget] ol,[data-opencx-widget] ul,[data-opencx-widget] menu{list-style:none;margin:0;padding:0}[data-opencx-widget] dialog{padding:0}[data-opencx-widget] textarea{resize:vertical}[data-opencx-widget] input::-moz-placeholder,[data-opencx-widget] textarea::-moz-placeholder{opacity:1;color:#9ca3af}[data-opencx-widget] input::placeholder,[data-opencx-widget] textarea::placeholder{opacity:1;color:#9ca3af}[data-opencx-widget] button,[data-opencx-widget] [role=button]{cursor:pointer}[data-opencx-widget] :disabled{cursor:default}[data-opencx-widget] img,[data-opencx-widget] svg,[data-opencx-widget] video,[data-opencx-widget] canvas,[data-opencx-widget] audio,[data-opencx-widget] iframe,[data-opencx-widget] embed,[data-opencx-widget] object{display:block;vertical-align:middle}[data-opencx-widget] img,[data-opencx-widget] video{max-width:100%;height:auto}[data-opencx-widget] [hidden]:where(:not([hidden=until-found])){display:none}[data-opencx-widget] *{-ms-overflow-style:none;scrollbar-width:none}[data-opencx-widget] *::-webkit-scrollbar{display:none}[data-opencx-widget] *{border-color:hsl(var(--opencx-border))}[data-opencx-widget] .container{width:100%}@media (min-width: 640px){[data-opencx-widget] .container{max-width:640px}}@media (min-width: 768px){[data-opencx-widget] .container{max-width:768px}}@media (min-width: 1024px){[data-opencx-widget] .container{max-width:1024px}}@media (min-width: 1280px){[data-opencx-widget] .container{max-width:1280px}}@media (min-width: 1536px){[data-opencx-widget] .container{max-width:1536px}}[data-opencx-widget] .prose{color:var(--tw-prose-body);max-width:65ch}[data-opencx-widget] .prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}[data-opencx-widget] .prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}[data-opencx-widget] .prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}[data-opencx-widget] .prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}[data-opencx-widget] .prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}[data-opencx-widget] .prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}[data-opencx-widget] .prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}[data-opencx-widget] .prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}[data-opencx-widget] .prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}[data-opencx-widget] .prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}[data-opencx-widget] .prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}[data-opencx-widget] .prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}[data-opencx-widget] .prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}[data-opencx-widget] .prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}[data-opencx-widget] .prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}[data-opencx-widget] .prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}[data-opencx-widget] .prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}[data-opencx-widget] .prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}[data-opencx-widget] .prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}[data-opencx-widget] .prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}[data-opencx-widget] .prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}[data-opencx-widget] .prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}[data-opencx-widget] .prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}[data-opencx-widget] .prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}[data-opencx-widget] .prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}[data-opencx-widget] .prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}[data-opencx-widget] .prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}[data-opencx-widget] .prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}[data-opencx-widget] .prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}[data-opencx-widget] .prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}[data-opencx-widget] .prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}[data-opencx-widget] .prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}[data-opencx-widget] .prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}[data-opencx-widget] .prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}[data-opencx-widget] .prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}[data-opencx-widget] .prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}[data-opencx-widget] .prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}[data-opencx-widget] .prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}[data-opencx-widget] .prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}[data-opencx-widget] .prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}[data-opencx-widget] .prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}[data-opencx-widget] .prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}[data-opencx-widget] .prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}[data-opencx-widget] .prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}[data-opencx-widget] .prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}[data-opencx-widget] .prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}[data-opencx-widget] .prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}[data-opencx-widget] .prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}[data-opencx-widget] .prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}[data-opencx-widget] .prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}[data-opencx-widget] .prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}[data-opencx-widget] .prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}[data-opencx-widget] .prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-opencx-widget] .prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}[data-opencx-widget] .prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}[data-opencx-widget] .prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-opencx-widget] .prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}[data-opencx-widget] .prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}[data-opencx-widget] .prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}[data-opencx-widget] .prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}[data-opencx-widget] .prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}[data-opencx-widget] .prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}[data-opencx-widget] .prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}[data-opencx-widget] .prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}[data-opencx-widget] .prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}[data-opencx-widget] .prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}[data-opencx-widget] .prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}[data-opencx-widget] .prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}[data-opencx-widget] .prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}[data-opencx-widget] .prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}[data-opencx-widget] .prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}[data-opencx-widget] .prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}[data-opencx-widget] .prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}[data-opencx-widget] .prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}[data-opencx-widget] .prose-sm{font-size:.875rem;line-height:1.7142857}[data-opencx-widget] .prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}[data-opencx-widget] .prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}[data-opencx-widget] .prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}[data-opencx-widget] .prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}[data-opencx-widget] .prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}[data-opencx-widget] .prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}[data-opencx-widget] .prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}[data-opencx-widget] .prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-opencx-widget] .prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-opencx-widget] .prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-opencx-widget] .prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-opencx-widget] .prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}[data-opencx-widget] .prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}[data-opencx-widget] .prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}[data-opencx-widget] .prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}[data-opencx-widget] .prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}[data-opencx-widget] .prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}[data-opencx-widget] .prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}[data-opencx-widget] .prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}[data-opencx-widget] .prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}[data-opencx-widget] .prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}[data-opencx-widget] .prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}[data-opencx-widget] .prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}[data-opencx-widget] .prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}[data-opencx-widget] .prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}[data-opencx-widget] .prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}[data-opencx-widget] .prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}[data-opencx-widget] .prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}[data-opencx-widget] .prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}[data-opencx-widget] .prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}[data-opencx-widget] .prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}[data-opencx-widget] .prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}[data-opencx-widget] .prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}[data-opencx-widget] .prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}[data-opencx-widget] .prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}[data-opencx-widget] .prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}[data-opencx-widget] .prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}[data-opencx-widget] .prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}[data-opencx-widget] .prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-opencx-widget] .prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-opencx-widget] .prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}[data-opencx-widget] .prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}[data-opencx-widget] .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}[data-opencx-widget] .pointer-events-none{pointer-events:none}[data-opencx-widget] .visible{visibility:visible}[data-opencx-widget] .static{position:static}[data-opencx-widget] .fixed{position:fixed}[data-opencx-widget] .absolute{position:absolute}[data-opencx-widget] .relative{position:relative}[data-opencx-widget] .sticky{position:sticky}[data-opencx-widget] .inset-0{top:0;right:0;bottom:0;left:0}[data-opencx-widget] .bottom-0{bottom:0}[data-opencx-widget] .left-0{left:0}[data-opencx-widget] .left-2{left:.5rem}[data-opencx-widget] .left-\\[50\\%\\]{left:50%}[data-opencx-widget] .right-4{right:1rem}[data-opencx-widget] .top-0{top:0}[data-opencx-widget] .top-4{top:1rem}[data-opencx-widget] .top-\\[50\\%\\]{top:50%}[data-opencx-widget] .isolate{isolation:isolate}[data-opencx-widget] .z-10{z-index:10}[data-opencx-widget] .z-50{z-index:50}[data-opencx-widget] .-mx-1{margin-left:-.25rem;margin-right:-.25rem}[data-opencx-widget] .my-1{margin-top:.25rem;margin-bottom:.25rem}[data-opencx-widget] .mb-2{margin-bottom:.5rem}[data-opencx-widget] .ml-auto{margin-left:auto}[data-opencx-widget] .mt-0\\.5{margin-top:.125rem}[data-opencx-widget] .mt-auto{margin-top:auto}[data-opencx-widget] .line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}[data-opencx-widget] .line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}[data-opencx-widget] .block{display:block}[data-opencx-widget] .inline-block{display:inline-block}[data-opencx-widget] .inline{display:inline}[data-opencx-widget] .flex{display:flex}[data-opencx-widget] .inline-flex{display:inline-flex}[data-opencx-widget] .grid{display:grid}[data-opencx-widget] .contents{display:contents}[data-opencx-widget] .hidden{display:none}[data-opencx-widget] .aspect-square{aspect-ratio:1 / 1}[data-opencx-widget] .size-10{width:2.5rem;height:2.5rem}[data-opencx-widget] .size-12{width:3rem;height:3rem}[data-opencx-widget] .size-16{width:4rem;height:4rem}[data-opencx-widget] .size-3{width:.75rem;height:.75rem}[data-opencx-widget] .size-3\\.5{width:.875rem;height:.875rem}[data-opencx-widget] .size-4{width:1rem;height:1rem}[data-opencx-widget] .size-6{width:1.5rem;height:1.5rem}[data-opencx-widget] .size-8{width:2rem;height:2rem}[data-opencx-widget] .size-auto{width:auto;height:auto}[data-opencx-widget] .size-fit{width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}[data-opencx-widget] .size-full{width:100%;height:100%}[data-opencx-widget] .h-10{height:2.5rem}[data-opencx-widget] .h-2{height:.5rem}[data-opencx-widget] .h-3\\.5{height:.875rem}[data-opencx-widget] .h-4{height:1rem}[data-opencx-widget] .h-5{height:1.25rem}[data-opencx-widget] .h-8{height:2rem}[data-opencx-widget] .h-\\[600px\\]{height:600px}[data-opencx-widget] .h-fit{height:-moz-fit-content;height:fit-content}[data-opencx-widget] .h-full{height:100%}[data-opencx-widget] .h-px{height:1px}[data-opencx-widget] .max-h-\\[600px\\]{max-height:600px}[data-opencx-widget] .max-h-full{max-height:100%}[data-opencx-widget] .min-h-12{min-height:3rem}[data-opencx-widget] .min-h-\\[400px\\]{min-height:400px}[data-opencx-widget] .w-1\\/2{width:50%}[data-opencx-widget] .w-10{width:2.5rem}[data-opencx-widget] .w-2{width:.5rem}[data-opencx-widget] .w-3\\.5{width:.875rem}[data-opencx-widget] .w-4{width:1rem}[data-opencx-widget] .w-5\\/6{width:83.333333%}[data-opencx-widget] .w-60{width:15rem}[data-opencx-widget] .w-9{width:2.25rem}[data-opencx-widget] .w-auto{width:auto}[data-opencx-widget] .w-fit{width:-moz-fit-content;width:fit-content}[data-opencx-widget] .w-full{width:100%}[data-opencx-widget] .min-w-56{min-width:14rem}[data-opencx-widget] .min-w-\\[8rem\\]{min-width:8rem}[data-opencx-widget] .max-w-\\[320px\\]{max-width:320px}[data-opencx-widget] .max-w-full{max-width:100%}[data-opencx-widget] .max-w-lg{max-width:32rem}[data-opencx-widget] .max-w-xs{max-width:20rem}[data-opencx-widget] .flex-1{flex:1 1 0%}[data-opencx-widget] .shrink-0{flex-shrink:0}[data-opencx-widget] .translate-x-\\[-50\\%\\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .translate-x-\\[var\\(--opencx-wobble-x\\)\\]{--tw-translate-x: var(--opencx-wobble-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .translate-y-\\[-50\\%\\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .translate-y-\\[var\\(--opencx-wobble-y\\)\\]{--tw-translate-y: var(--opencx-wobble-y);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .scale-\\[1\\.01\\]{--tw-scale-x: 1.01;--tw-scale-y: 1.01;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .scale-\\[1\\.02\\]{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .scale-\\[1\\.1\\]{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .scale-\\[1\\]{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}[data-opencx-widget] .animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}[data-opencx-widget] .animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}[data-opencx-widget] .animate-spin{animation:spin 1s linear infinite}[data-opencx-widget] .cursor-default{cursor:default}[data-opencx-widget] .cursor-not-allowed{cursor:not-allowed}[data-opencx-widget] .cursor-pointer{cursor:pointer}[data-opencx-widget] .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-opencx-widget] .resize-none{resize:none}[data-opencx-widget] .flex-row{flex-direction:row}[data-opencx-widget] .flex-col{flex-direction:column}[data-opencx-widget] .flex-col-reverse{flex-direction:column-reverse}[data-opencx-widget] .flex-wrap{flex-wrap:wrap}[data-opencx-widget] .items-start{align-items:flex-start}[data-opencx-widget] .items-end{align-items:flex-end}[data-opencx-widget] .items-center{align-items:center}[data-opencx-widget] .justify-start{justify-content:flex-start}[data-opencx-widget] .justify-end{justify-content:flex-end}[data-opencx-widget] .justify-center{justify-content:center}[data-opencx-widget] .justify-between{justify-content:space-between}[data-opencx-widget] .gap-0{gap:0px}[data-opencx-widget] .gap-0\\.5{gap:.125rem}[data-opencx-widget] .gap-1{gap:.25rem}[data-opencx-widget] .gap-2{gap:.5rem}[data-opencx-widget] .gap-4{gap:1rem}[data-opencx-widget] .gap-\\[1px\\]{gap:1px}[data-opencx-widget] .space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}[data-opencx-widget] .space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}[data-opencx-widget] .space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}[data-opencx-widget] .space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}[data-opencx-widget] .overflow-auto{overflow:auto}[data-opencx-widget] .overflow-hidden{overflow:hidden}[data-opencx-widget] .overflow-scroll{overflow:scroll}[data-opencx-widget] .scroll-smooth{scroll-behavior:smooth}[data-opencx-widget] .text-ellipsis{text-overflow:ellipsis}[data-opencx-widget] .whitespace-normal{white-space:normal}[data-opencx-widget] .whitespace-nowrap{white-space:nowrap}[data-opencx-widget] .whitespace-pre-wrap{white-space:pre-wrap}[data-opencx-widget] .break-words{overflow-wrap:break-word}[data-opencx-widget] .rounded-2xl{border-radius:1rem}[data-opencx-widget] .rounded-3xl{border-radius:1.5rem}[data-opencx-widget] .rounded-full{border-radius:9999px}[data-opencx-widget] .rounded-lg{border-radius:.5rem}[data-opencx-widget] .rounded-md{border-radius:.375rem}[data-opencx-widget] .rounded-sm{border-radius:.125rem}[data-opencx-widget] .rounded-xl{border-radius:.75rem}[data-opencx-widget] .rounded-t-3xl{border-top-left-radius:1.5rem;border-top-right-radius:1.5rem}[data-opencx-widget] .border{border-width:1px}[data-opencx-widget] .border-2{border-width:2px}[data-opencx-widget] .border-b{border-bottom-width:1px}[data-opencx-widget] .border-none{border-style:none}[data-opencx-widget] .border-destructive{border-color:hsl(var(--opencx-destructive))}[data-opencx-widget] .border-input{border-color:hsl(var(--opencx-input))}[data-opencx-widget] .border-muted{border-color:hsl(var(--opencx-muted))}[data-opencx-widget] .border-primary{border-color:hsl(var(--opencx-primary))}[data-opencx-widget] .border-transparent{border-color:transparent}[data-opencx-widget] .bg-background{background-color:hsl(var(--opencx-background))}[data-opencx-widget] .bg-black\\/50{background-color:#00000080}[data-opencx-widget] .bg-black\\/80{background-color:#000c}[data-opencx-widget] .bg-destructive{background-color:hsl(var(--opencx-destructive))}[data-opencx-widget] .bg-muted{background-color:hsl(var(--opencx-muted))}[data-opencx-widget] .bg-primary{background-color:hsl(var(--opencx-primary))}[data-opencx-widget] .bg-secondary{background-color:hsl(var(--opencx-secondary))}[data-opencx-widget] .bg-transparent{background-color:transparent}[data-opencx-widget] .bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}[data-opencx-widget] .fill-current{fill:currentColor}[data-opencx-widget] .object-contain{-o-object-fit:contain;object-fit:contain}[data-opencx-widget] .object-cover{-o-object-fit:cover;object-fit:cover}[data-opencx-widget] .p-0{padding:0}[data-opencx-widget] .p-1{padding:.25rem}[data-opencx-widget] .p-2{padding:.5rem}[data-opencx-widget] .p-4{padding:1rem}[data-opencx-widget] .p-6{padding:1.5rem}[data-opencx-widget] .px-2{padding-left:.5rem;padding-right:.5rem}[data-opencx-widget] .px-3{padding-left:.75rem;padding-right:.75rem}[data-opencx-widget] .px-4{padding-left:1rem;padding-right:1rem}[data-opencx-widget] .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}[data-opencx-widget] .py-12{padding-top:3rem;padding-bottom:3rem}[data-opencx-widget] .py-2{padding-top:.5rem;padding-bottom:.5rem}[data-opencx-widget] .pb-0{padding-bottom:0}[data-opencx-widget] .pl-2{padding-left:.5rem}[data-opencx-widget] .pl-3{padding-left:.75rem}[data-opencx-widget] .pl-8{padding-left:2rem}[data-opencx-widget] .pr-2{padding-right:.5rem}[data-opencx-widget] .pt-0{padding-top:0}[data-opencx-widget] .text-center{text-align:center}[data-opencx-widget] .text-start{text-align:start}[data-opencx-widget] .align-middle{vertical-align:middle}[data-opencx-widget] .font-inter{font-family:Inter,Rubik,serif,sans-serif}[data-opencx-widget] .text-2xl{font-size:1.5rem;line-height:2rem}[data-opencx-widget] .text-\\[10px\\]{font-size:10px}[data-opencx-widget] .text-lg{font-size:1.125rem;line-height:1.75rem}[data-opencx-widget] .text-sm{font-size:.875rem;line-height:1.25rem}[data-opencx-widget] .text-xl{font-size:1.25rem;line-height:1.75rem}[data-opencx-widget] .text-xs{font-size:.75rem;line-height:1rem}[data-opencx-widget] .font-bold{font-weight:700}[data-opencx-widget] .font-medium{font-weight:500}[data-opencx-widget] .font-semibold{font-weight:600}[data-opencx-widget] .leading-none{line-height:1}[data-opencx-widget] .leading-relaxed{line-height:1.625}[data-opencx-widget] .leading-snug{line-height:1.375}[data-opencx-widget] .leading-tight{line-height:1.25}[data-opencx-widget] .tracking-tight{letter-spacing:-.025em}[data-opencx-widget] .tracking-widest{letter-spacing:.1em}[data-opencx-widget] .text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}[data-opencx-widget] .text-destructive{color:hsl(var(--opencx-destructive))}[data-opencx-widget] .text-destructive-foreground{color:hsl(var(--opencx-destructive-foreground))}[data-opencx-widget] .text-emerald-500{--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity))}[data-opencx-widget] .text-foreground{color:hsl(var(--opencx-foreground))}[data-opencx-widget] .text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}[data-opencx-widget] .text-muted-foreground{color:hsl(var(--opencx-muted-foreground))}[data-opencx-widget] .text-muted-foreground\\/70{color:hsl(var(--opencx-muted-foreground) / .7)}[data-opencx-widget] .text-primary{color:hsl(var(--opencx-primary))}[data-opencx-widget] .text-primary-foreground{color:hsl(var(--opencx-primary-foreground))}[data-opencx-widget] .text-primary-foreground\\/90{color:hsl(var(--opencx-primary-foreground) / .9)}[data-opencx-widget] .text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}[data-opencx-widget] .text-secondary-foreground{color:hsl(var(--opencx-secondary-foreground))}[data-opencx-widget] .underline{text-decoration-line:underline}[data-opencx-widget] .underline-offset-4{text-underline-offset:4px}[data-opencx-widget] .antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[data-opencx-widget] .opacity-0{opacity:0}[data-opencx-widget] .opacity-5{opacity:.05}[data-opencx-widget] .opacity-50{opacity:.5}[data-opencx-widget] .opacity-60{opacity:.6}[data-opencx-widget] .opacity-70{opacity:.7}[data-opencx-widget] .opacity-95{opacity:.95}[data-opencx-widget] .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .outline-none{outline:2px solid transparent;outline-offset:2px}[data-opencx-widget] .outline{outline-style:solid}[data-opencx-widget] .outline-8{outline-width:8px}[data-opencx-widget] .outline-background{outline-color:hsl(var(--opencx-background))}[data-opencx-widget] .ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-opencx-widget] .ring-offset-background{--tw-ring-offset-color: hsl(var(--opencx-background))}[data-opencx-widget] .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-opencx-widget] .backdrop-blur{--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-opencx-widget] .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-opencx-widget] .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-opencx-widget] .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-opencx-widget] .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-opencx-widget] .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-opencx-widget] .duration-200{transition-duration:.2s}[data-opencx-widget] .ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}[data-opencx-widget] .animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}[data-opencx-widget] .fade-in-0{--tw-enter-opacity: 0}[data-opencx-widget] .zoom-in-95{--tw-enter-scale: .95}[data-opencx-widget] .duration-200{animation-duration:.2s}[data-opencx-widget] .ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}[data-opencx-widget] .\\[animation-delay\\:-0\\.15s\\]{animation-delay:-.15s}[data-opencx-widget] .\\[animation-delay\\:-0\\.3s\\]{animation-delay:-.3s}[data-opencx-widget] .\\[background\\:radial-gradient\\(50\\%_50\\%_at_50\\%_100\\%\\,hsl\\(var\\(--opencx-primary-foreground\\)\\)_-75\\%\\,hsl\\(var\\(--opencx-primary\\)\\)_100\\%\\)\\]{background:radial-gradient(50% 50% at 50% 100%,hsl(var(--opencx-primary-foreground)) -75%,hsl(var(--opencx-primary)))}[data-opencx-widget] .\\[word-break\\:break-word\\]{word-break:break-word}[data-opencx-widget] .required:after{content:" *";color:red}[data-opencx-widget] .file\\:border-0::file-selector-button{border-width:0px}[data-opencx-widget] .file\\:bg-transparent::file-selector-button{background-color:transparent}[data-opencx-widget] .file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}[data-opencx-widget] .file\\:font-medium::file-selector-button{font-weight:500}[data-opencx-widget] .file\\:text-primary-foreground::file-selector-button{color:hsl(var(--opencx-primary-foreground))}[data-opencx-widget] .placeholder\\:text-muted-foreground::-moz-placeholder{color:hsl(var(--opencx-muted-foreground))}[data-opencx-widget] .placeholder\\:text-muted-foreground::placeholder{color:hsl(var(--opencx-muted-foreground))}[data-opencx-widget] .hover\\:bg-accent:hover{background-color:hsl(var(--opencx-accent))}[data-opencx-widget] .hover\\:bg-green-50\\/50:hover{background-color:#f0fdf480}[data-opencx-widget] .hover\\:bg-red-50\\/50:hover{background-color:#fef2f280}[data-opencx-widget] .hover\\:text-accent-foreground:hover{color:hsl(var(--opencx-accent-foreground))}[data-opencx-widget] .hover\\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}[data-opencx-widget] .hover\\:text-green-500:hover{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}[data-opencx-widget] .hover\\:text-primary:hover{color:hsl(var(--opencx-primary))}[data-opencx-widget] .hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}[data-opencx-widget] .hover\\:underline:hover{text-decoration-line:underline}[data-opencx-widget] .hover\\:opacity-100:hover{opacity:1}[data-opencx-widget] .focus\\:bg-accent:focus{background-color:hsl(var(--opencx-accent))}[data-opencx-widget] .focus\\:text-accent-foreground:focus{color:hsl(var(--opencx-accent-foreground))}[data-opencx-widget] .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}[data-opencx-widget] .focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-opencx-widget] .focus\\:ring-ring:focus{--tw-ring-color: hsl(var(--opencx-ring))}[data-opencx-widget] .focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}[data-opencx-widget] .focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}[data-opencx-widget] .focus-visible\\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-opencx-widget] .focus-visible\\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--opencx-ring))}[data-opencx-widget] .focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}[data-opencx-widget] .focus-visible\\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--opencx-background))}[data-opencx-widget] .active\\:scale-90:active{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .active\\:shadow-none:active{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .hover\\:active\\:scale-95:active:hover{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .disabled\\:pointer-events-none:disabled{pointer-events:none}[data-opencx-widget] .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}[data-opencx-widget] .disabled\\:opacity-50:disabled{opacity:.5}[data-opencx-widget] .group:hover .group-hover\\:opacity-100{opacity:1}[data-opencx-widget] .group:hover .group-hover\\:active\\:scale-90:active,[data-opencx-widget] .group:active .group-active\\:scale-90{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}[data-opencx-widget] .data-\\[state\\=checked\\]\\:translate-x-4[data-state=checked]{--tw-translate-x: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .data-\\[state\\=unchecked\\]\\:translate-x-0[data-state=unchecked]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .data-\\[state\\=checked\\]\\:bg-primary[data-state=checked]{background-color:hsl(var(--opencx-primary))}[data-opencx-widget] .data-\\[state\\=open\\]\\:bg-accent[data-state=open]{background-color:hsl(var(--opencx-accent))}[data-opencx-widget] .data-\\[state\\=unchecked\\]\\:bg-input[data-state=unchecked]{background-color:hsl(var(--opencx-input))}[data-opencx-widget] .data-\\[state\\=open\\]\\:text-muted-foreground[data-state=open]{color:hsl(var(--opencx-muted-foreground))}[data-opencx-widget] .data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}[data-opencx-widget] .data-\\[state\\=open\\]\\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}[data-opencx-widget] .data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}[data-opencx-widget] .data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}[data-opencx-widget] .data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}[data-opencx-widget] .data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}[data-opencx-widget] .data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}[data-opencx-widget] .data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}[data-opencx-widget] .data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}[data-opencx-widget] .data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}[data-opencx-widget] .data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}[data-opencx-widget] .data-\\[state\\=closed\\]\\:slide-out-to-left-1\\/2[data-state=closed]{--tw-exit-translate-x: -50%}[data-opencx-widget] .data-\\[state\\=closed\\]\\:slide-out-to-top-\\[48\\%\\][data-state=closed]{--tw-exit-translate-y: -48%}[data-opencx-widget] .data-\\[state\\=open\\]\\:slide-in-from-left-1\\/2[data-state=open]{--tw-enter-translate-x: -50%}[data-opencx-widget] .data-\\[state\\=open\\]\\:slide-in-from-top-\\[48\\%\\][data-state=open]{--tw-enter-translate-y: -48%}[data-opencx-widget] .prose-a\\:underline :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-line:underline}[data-opencx-widget] .prose-a\\:decoration-primary :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-color:hsl(var(--opencx-primary))}@media (min-width: 640px){[data-opencx-widget] .sm\\:flex-row{flex-direction:row}[data-opencx-widget] .sm\\:justify-end{justify-content:flex-end}[data-opencx-widget] .sm\\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}[data-opencx-widget] .sm\\:rounded-lg{border-radius:.5rem}[data-opencx-widget] .sm\\:text-left{text-align:left}}[data-opencx-widget] .rtl\\:-scale-100:where([dir=rtl],[dir=rtl] *){--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .rtl\\:flex-row-reverse:where([dir=rtl],[dir=rtl] *){flex-direction:row-reverse}[data-opencx-widget] .rtl\\:text-right:where([dir=rtl],[dir=rtl] *){text-align:right}[data-opencx-widget] .rtl\\:placeholder\\:text-right:where([dir=rtl],[dir=rtl] *)::-moz-placeholder{text-align:right}[data-opencx-widget] .rtl\\:placeholder\\:text-right:where([dir=rtl],[dir=rtl] *)::placeholder{text-align:right}[data-opencx-widget] .\\[\\&_span\\]\\:size-1 span{width:.25rem;height:.25rem}[data-opencx-widget] .\\[\\&_span\\]\\:bg-secondary-foreground span{background-color:hsl(var(--opencx-secondary-foreground))}[data-opencx-widget] .\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}[data-opencx-widget] .\\[\\&_svg\\]\\:size-4 svg{width:1rem;height:1rem}[data-opencx-widget] .\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}[data-opencx-widget] .\\[\\&_svg\\]\\:text-muted-foreground\\/70 svg{color:hsl(var(--opencx-muted-foreground) / .7)}';
|
|
19060
|
+
const fa = '@import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..700;1,14..32,100..700&display=swap";@import"https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap";[data-opencx-widget] *,[data-opencx-widget] :before,[data-opencx-widget] :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-opencx-widget] ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-opencx-widget] *,[data-opencx-widget] :before,[data-opencx-widget] :after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}[data-opencx-widget] :before,[data-opencx-widget] :after{--tw-content: ""}[data-opencx-widget] html,[data-opencx-widget] :host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}[data-opencx-widget] body{margin:0;line-height:inherit}[data-opencx-widget] hr{height:0;color:inherit;border-top-width:1px}[data-opencx-widget] abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}[data-opencx-widget] h1,[data-opencx-widget] h2,[data-opencx-widget] h3,[data-opencx-widget] h4,[data-opencx-widget] h5,[data-opencx-widget] h6{font-size:inherit;font-weight:inherit}[data-opencx-widget] a{color:inherit;text-decoration:inherit}[data-opencx-widget] b,[data-opencx-widget] strong{font-weight:bolder}[data-opencx-widget] code,[data-opencx-widget] kbd,[data-opencx-widget] samp,[data-opencx-widget] pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}[data-opencx-widget] small{font-size:80%}[data-opencx-widget] sub,[data-opencx-widget] sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}[data-opencx-widget] sub{bottom:-.25em}[data-opencx-widget] sup{top:-.5em}[data-opencx-widget] table{text-indent:0;border-color:inherit;border-collapse:collapse}[data-opencx-widget] button,[data-opencx-widget] input,[data-opencx-widget] optgroup,[data-opencx-widget] select,[data-opencx-widget] textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}[data-opencx-widget] button,[data-opencx-widget] select{text-transform:none}[data-opencx-widget] button,[data-opencx-widget] input:where([type=button]),[data-opencx-widget] input:where([type=reset]),[data-opencx-widget] input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}[data-opencx-widget] :-moz-focusring{outline:auto}[data-opencx-widget] :-moz-ui-invalid{box-shadow:none}[data-opencx-widget] progress{vertical-align:baseline}[data-opencx-widget] ::-webkit-inner-spin-button,[data-opencx-widget] ::-webkit-outer-spin-button{height:auto}[data-opencx-widget] [type=search]{-webkit-appearance:textfield;outline-offset:-2px}[data-opencx-widget] ::-webkit-search-decoration{-webkit-appearance:none}[data-opencx-widget] ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}[data-opencx-widget] summary{display:list-item}[data-opencx-widget] blockquote,[data-opencx-widget] dl,[data-opencx-widget] dd,[data-opencx-widget] h1,[data-opencx-widget] h2,[data-opencx-widget] h3,[data-opencx-widget] h4,[data-opencx-widget] h5,[data-opencx-widget] h6,[data-opencx-widget] hr,[data-opencx-widget] figure,[data-opencx-widget] p,[data-opencx-widget] pre{margin:0}[data-opencx-widget] fieldset{margin:0;padding:0}[data-opencx-widget] legend{padding:0}[data-opencx-widget] ol,[data-opencx-widget] ul,[data-opencx-widget] menu{list-style:none;margin:0;padding:0}[data-opencx-widget] dialog{padding:0}[data-opencx-widget] textarea{resize:vertical}[data-opencx-widget] input::-moz-placeholder,[data-opencx-widget] textarea::-moz-placeholder{opacity:1;color:#9ca3af}[data-opencx-widget] input::placeholder,[data-opencx-widget] textarea::placeholder{opacity:1;color:#9ca3af}[data-opencx-widget] button,[data-opencx-widget] [role=button]{cursor:pointer}[data-opencx-widget] :disabled{cursor:default}[data-opencx-widget] img,[data-opencx-widget] svg,[data-opencx-widget] video,[data-opencx-widget] canvas,[data-opencx-widget] audio,[data-opencx-widget] iframe,[data-opencx-widget] embed,[data-opencx-widget] object{display:block;vertical-align:middle}[data-opencx-widget] img,[data-opencx-widget] video{max-width:100%;height:auto}[data-opencx-widget] [hidden]:where(:not([hidden=until-found])){display:none}[data-opencx-widget] *{-ms-overflow-style:none;scrollbar-width:none}[data-opencx-widget] *::-webkit-scrollbar{display:none}[data-opencx-widget] *{border-color:hsl(var(--opencx-border))}[data-opencx-widget] .container{width:100%}@media (min-width: 640px){[data-opencx-widget] .container{max-width:640px}}@media (min-width: 768px){[data-opencx-widget] .container{max-width:768px}}@media (min-width: 1024px){[data-opencx-widget] .container{max-width:1024px}}@media (min-width: 1280px){[data-opencx-widget] .container{max-width:1280px}}@media (min-width: 1536px){[data-opencx-widget] .container{max-width:1536px}}[data-opencx-widget] .prose{color:var(--tw-prose-body);max-width:65ch}[data-opencx-widget] .prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}[data-opencx-widget] .prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}[data-opencx-widget] .prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}[data-opencx-widget] .prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}[data-opencx-widget] .prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}[data-opencx-widget] .prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}[data-opencx-widget] .prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}[data-opencx-widget] .prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}[data-opencx-widget] .prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}[data-opencx-widget] .prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}[data-opencx-widget] .prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}[data-opencx-widget] .prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}[data-opencx-widget] .prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}[data-opencx-widget] .prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}[data-opencx-widget] .prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}[data-opencx-widget] .prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}[data-opencx-widget] .prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}[data-opencx-widget] .prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}[data-opencx-widget] .prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}[data-opencx-widget] .prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}[data-opencx-widget] .prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}[data-opencx-widget] .prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}[data-opencx-widget] .prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}[data-opencx-widget] .prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}[data-opencx-widget] .prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}[data-opencx-widget] .prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}[data-opencx-widget] .prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}[data-opencx-widget] .prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}[data-opencx-widget] .prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}[data-opencx-widget] .prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}[data-opencx-widget] .prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}[data-opencx-widget] .prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}[data-opencx-widget] .prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}[data-opencx-widget] .prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}[data-opencx-widget] .prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}[data-opencx-widget] .prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}[data-opencx-widget] .prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}[data-opencx-widget] .prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}[data-opencx-widget] .prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}[data-opencx-widget] .prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}[data-opencx-widget] .prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}[data-opencx-widget] .prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}[data-opencx-widget] .prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}[data-opencx-widget] .prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}[data-opencx-widget] .prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}[data-opencx-widget] .prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}[data-opencx-widget] .prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}[data-opencx-widget] .prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}[data-opencx-widget] .prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}[data-opencx-widget] .prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}[data-opencx-widget] .prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}[data-opencx-widget] .prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}[data-opencx-widget] .prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}[data-opencx-widget] .prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-opencx-widget] .prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}[data-opencx-widget] .prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}[data-opencx-widget] .prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-opencx-widget] .prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}[data-opencx-widget] .prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}[data-opencx-widget] .prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}[data-opencx-widget] .prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}[data-opencx-widget] .prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}[data-opencx-widget] .prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}[data-opencx-widget] .prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}[data-opencx-widget] .prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}[data-opencx-widget] .prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}[data-opencx-widget] .prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}[data-opencx-widget] .prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}[data-opencx-widget] .prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}[data-opencx-widget] .prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}[data-opencx-widget] .prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}[data-opencx-widget] .prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}[data-opencx-widget] .prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}[data-opencx-widget] .prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}[data-opencx-widget] .prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}[data-opencx-widget] .prose-sm{font-size:.875rem;line-height:1.7142857}[data-opencx-widget] .prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}[data-opencx-widget] .prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}[data-opencx-widget] .prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}[data-opencx-widget] .prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}[data-opencx-widget] .prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}[data-opencx-widget] .prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}[data-opencx-widget] .prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}[data-opencx-widget] .prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-opencx-widget] .prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-opencx-widget] .prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-opencx-widget] .prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-opencx-widget] .prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}[data-opencx-widget] .prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}[data-opencx-widget] .prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}[data-opencx-widget] .prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}[data-opencx-widget] .prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}[data-opencx-widget] .prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}[data-opencx-widget] .prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}[data-opencx-widget] .prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}[data-opencx-widget] .prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}[data-opencx-widget] .prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}[data-opencx-widget] .prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}[data-opencx-widget] .prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}[data-opencx-widget] .prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}[data-opencx-widget] .prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}[data-opencx-widget] .prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}[data-opencx-widget] .prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}[data-opencx-widget] .prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}[data-opencx-widget] .prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}[data-opencx-widget] .prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}[data-opencx-widget] .prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}[data-opencx-widget] .prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}[data-opencx-widget] .prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}[data-opencx-widget] .prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}[data-opencx-widget] .prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}[data-opencx-widget] .prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}[data-opencx-widget] .prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}[data-opencx-widget] .prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}[data-opencx-widget] .prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}[data-opencx-widget] .prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}[data-opencx-widget] .prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}[data-opencx-widget] .prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}[data-opencx-widget] .prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}[data-opencx-widget] .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}[data-opencx-widget] .pointer-events-none{pointer-events:none}[data-opencx-widget] .visible{visibility:visible}[data-opencx-widget] .static{position:static}[data-opencx-widget] .fixed{position:fixed}[data-opencx-widget] .absolute{position:absolute}[data-opencx-widget] .relative{position:relative}[data-opencx-widget] .sticky{position:sticky}[data-opencx-widget] .inset-0{top:0;right:0;bottom:0;left:0}[data-opencx-widget] .bottom-0{bottom:0}[data-opencx-widget] .left-0{left:0}[data-opencx-widget] .left-2{left:.5rem}[data-opencx-widget] .left-\\[50\\%\\]{left:50%}[data-opencx-widget] .right-4{right:1rem}[data-opencx-widget] .top-0{top:0}[data-opencx-widget] .top-4{top:1rem}[data-opencx-widget] .top-\\[50\\%\\]{top:50%}[data-opencx-widget] .isolate{isolation:isolate}[data-opencx-widget] .z-10{z-index:10}[data-opencx-widget] .z-50{z-index:50}[data-opencx-widget] .-mx-1{margin-left:-.25rem;margin-right:-.25rem}[data-opencx-widget] .my-1{margin-top:.25rem;margin-bottom:.25rem}[data-opencx-widget] .mb-2{margin-bottom:.5rem}[data-opencx-widget] .ml-auto{margin-left:auto}[data-opencx-widget] .mt-0\\.5{margin-top:.125rem}[data-opencx-widget] .mt-auto{margin-top:auto}[data-opencx-widget] .line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}[data-opencx-widget] .line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}[data-opencx-widget] .block{display:block}[data-opencx-widget] .inline-block{display:inline-block}[data-opencx-widget] .inline{display:inline}[data-opencx-widget] .flex{display:flex}[data-opencx-widget] .inline-flex{display:inline-flex}[data-opencx-widget] .grid{display:grid}[data-opencx-widget] .contents{display:contents}[data-opencx-widget] .hidden{display:none}[data-opencx-widget] .aspect-square{aspect-ratio:1 / 1}[data-opencx-widget] .size-10{width:2.5rem;height:2.5rem}[data-opencx-widget] .size-12{width:3rem;height:3rem}[data-opencx-widget] .size-16{width:4rem;height:4rem}[data-opencx-widget] .size-3{width:.75rem;height:.75rem}[data-opencx-widget] .size-3\\.5{width:.875rem;height:.875rem}[data-opencx-widget] .size-4{width:1rem;height:1rem}[data-opencx-widget] .size-6{width:1.5rem;height:1.5rem}[data-opencx-widget] .size-8{width:2rem;height:2rem}[data-opencx-widget] .size-\\[24px\\]{width:24px;height:24px}[data-opencx-widget] .size-\\[48px\\]{width:48px;height:48px}[data-opencx-widget] .size-auto{width:auto;height:auto}[data-opencx-widget] .size-fit{width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content}[data-opencx-widget] .size-full{width:100%;height:100%}[data-opencx-widget] .h-10{height:2.5rem}[data-opencx-widget] .h-2{height:.5rem}[data-opencx-widget] .h-3\\.5{height:.875rem}[data-opencx-widget] .h-4{height:1rem}[data-opencx-widget] .h-5{height:1.25rem}[data-opencx-widget] .h-8{height:2rem}[data-opencx-widget] .h-\\[500px\\]{height:500px}[data-opencx-widget] .h-\\[600px\\]{height:600px}[data-opencx-widget] .h-fit{height:-moz-fit-content;height:fit-content}[data-opencx-widget] .h-full{height:100%}[data-opencx-widget] .h-px{height:1px}[data-opencx-widget] .max-h-\\[600px\\]{max-height:600px}[data-opencx-widget] .max-h-full{max-height:100%}[data-opencx-widget] .min-h-12{min-height:3rem}[data-opencx-widget] .min-h-\\[500px\\]{min-height:500px}[data-opencx-widget] .w-1\\/2{width:50%}[data-opencx-widget] .w-10{width:2.5rem}[data-opencx-widget] .w-2{width:.5rem}[data-opencx-widget] .w-3\\.5{width:.875rem}[data-opencx-widget] .w-4{width:1rem}[data-opencx-widget] .w-5\\/6{width:83.333333%}[data-opencx-widget] .w-60{width:15rem}[data-opencx-widget] .w-9{width:2.25rem}[data-opencx-widget] .w-\\[400px\\]{width:400px}[data-opencx-widget] .w-\\[800px\\]{width:800px}[data-opencx-widget] .w-auto{width:auto}[data-opencx-widget] .w-fit{width:-moz-fit-content;width:fit-content}[data-opencx-widget] .w-full{width:100%}[data-opencx-widget] .min-w-56{min-width:14rem}[data-opencx-widget] .min-w-\\[400px\\]{min-width:400px}[data-opencx-widget] .min-w-\\[8rem\\]{min-width:8rem}[data-opencx-widget] .max-w-\\[320px\\]{max-width:320px}[data-opencx-widget] .max-w-\\[800px\\]{max-width:800px}[data-opencx-widget] .max-w-full{max-width:100%}[data-opencx-widget] .max-w-lg{max-width:32rem}[data-opencx-widget] .max-w-xs{max-width:20rem}[data-opencx-widget] .flex-1{flex:1 1 0%}[data-opencx-widget] .shrink-0{flex-shrink:0}[data-opencx-widget] .translate-x-\\[-50\\%\\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .translate-x-\\[var\\(--opencx-wobble-x\\)\\]{--tw-translate-x: var(--opencx-wobble-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .translate-y-\\[-50\\%\\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .translate-y-\\[var\\(--opencx-wobble-y\\)\\]{--tw-translate-y: var(--opencx-wobble-y);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .scale-\\[1\\.01\\]{--tw-scale-x: 1.01;--tw-scale-y: 1.01;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .scale-\\[1\\.02\\]{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .scale-\\[1\\.1\\]{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .scale-\\[1\\]{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}[data-opencx-widget] .animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}[data-opencx-widget] .animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}[data-opencx-widget] .animate-spin{animation:spin 1s linear infinite}[data-opencx-widget] .cursor-default{cursor:default}[data-opencx-widget] .cursor-not-allowed{cursor:not-allowed}[data-opencx-widget] .cursor-pointer{cursor:pointer}[data-opencx-widget] .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-opencx-widget] .resize-none{resize:none}[data-opencx-widget] .flex-row{flex-direction:row}[data-opencx-widget] .flex-col{flex-direction:column}[data-opencx-widget] .flex-col-reverse{flex-direction:column-reverse}[data-opencx-widget] .flex-wrap{flex-wrap:wrap}[data-opencx-widget] .items-start{align-items:flex-start}[data-opencx-widget] .items-end{align-items:flex-end}[data-opencx-widget] .items-center{align-items:center}[data-opencx-widget] .justify-start{justify-content:flex-start}[data-opencx-widget] .justify-end{justify-content:flex-end}[data-opencx-widget] .justify-center{justify-content:center}[data-opencx-widget] .justify-between{justify-content:space-between}[data-opencx-widget] .gap-0{gap:0px}[data-opencx-widget] .gap-0\\.5{gap:.125rem}[data-opencx-widget] .gap-1{gap:.25rem}[data-opencx-widget] .gap-2{gap:.5rem}[data-opencx-widget] .gap-4{gap:1rem}[data-opencx-widget] .gap-\\[1px\\]{gap:1px}[data-opencx-widget] .space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}[data-opencx-widget] .space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}[data-opencx-widget] .space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}[data-opencx-widget] .space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}[data-opencx-widget] .overflow-auto{overflow:auto}[data-opencx-widget] .overflow-hidden{overflow:hidden}[data-opencx-widget] .overflow-scroll{overflow:scroll}[data-opencx-widget] .scroll-smooth{scroll-behavior:smooth}[data-opencx-widget] .text-ellipsis{text-overflow:ellipsis}[data-opencx-widget] .whitespace-normal{white-space:normal}[data-opencx-widget] .whitespace-nowrap{white-space:nowrap}[data-opencx-widget] .whitespace-pre-wrap{white-space:pre-wrap}[data-opencx-widget] .break-words{overflow-wrap:break-word}[data-opencx-widget] .rounded-2xl{border-radius:1rem}[data-opencx-widget] .rounded-3xl{border-radius:1.5rem}[data-opencx-widget] .rounded-full{border-radius:9999px}[data-opencx-widget] .rounded-lg{border-radius:.5rem}[data-opencx-widget] .rounded-md{border-radius:.375rem}[data-opencx-widget] .rounded-sm{border-radius:.125rem}[data-opencx-widget] .rounded-xl{border-radius:.75rem}[data-opencx-widget] .rounded-t-3xl{border-top-left-radius:1.5rem;border-top-right-radius:1.5rem}[data-opencx-widget] .border{border-width:1px}[data-opencx-widget] .border-2{border-width:2px}[data-opencx-widget] .border-b{border-bottom-width:1px}[data-opencx-widget] .border-none{border-style:none}[data-opencx-widget] .border-destructive{border-color:hsl(var(--opencx-destructive))}[data-opencx-widget] .border-input{border-color:hsl(var(--opencx-input))}[data-opencx-widget] .border-muted{border-color:hsl(var(--opencx-muted))}[data-opencx-widget] .border-primary{border-color:hsl(var(--opencx-primary))}[data-opencx-widget] .border-transparent{border-color:transparent}[data-opencx-widget] .bg-background{background-color:hsl(var(--opencx-background))}[data-opencx-widget] .bg-black\\/50{background-color:#00000080}[data-opencx-widget] .bg-black\\/80{background-color:#000c}[data-opencx-widget] .bg-destructive{background-color:hsl(var(--opencx-destructive))}[data-opencx-widget] .bg-muted{background-color:hsl(var(--opencx-muted))}[data-opencx-widget] .bg-primary{background-color:hsl(var(--opencx-primary))}[data-opencx-widget] .bg-secondary{background-color:hsl(var(--opencx-secondary))}[data-opencx-widget] .bg-transparent{background-color:transparent}[data-opencx-widget] .bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}[data-opencx-widget] .fill-current{fill:currentColor}[data-opencx-widget] .object-contain{-o-object-fit:contain;object-fit:contain}[data-opencx-widget] .object-cover{-o-object-fit:cover;object-fit:cover}[data-opencx-widget] .p-0{padding:0}[data-opencx-widget] .p-1{padding:.25rem}[data-opencx-widget] .p-2{padding:.5rem}[data-opencx-widget] .p-4{padding:1rem}[data-opencx-widget] .p-6{padding:1.5rem}[data-opencx-widget] .px-2{padding-left:.5rem;padding-right:.5rem}[data-opencx-widget] .px-3{padding-left:.75rem;padding-right:.75rem}[data-opencx-widget] .px-4{padding-left:1rem;padding-right:1rem}[data-opencx-widget] .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}[data-opencx-widget] .py-12{padding-top:3rem;padding-bottom:3rem}[data-opencx-widget] .py-2{padding-top:.5rem;padding-bottom:.5rem}[data-opencx-widget] .pb-0{padding-bottom:0}[data-opencx-widget] .pl-2{padding-left:.5rem}[data-opencx-widget] .pl-3{padding-left:.75rem}[data-opencx-widget] .pl-8{padding-left:2rem}[data-opencx-widget] .pr-2{padding-right:.5rem}[data-opencx-widget] .pt-0{padding-top:0}[data-opencx-widget] .text-center{text-align:center}[data-opencx-widget] .text-start{text-align:start}[data-opencx-widget] .align-middle{vertical-align:middle}[data-opencx-widget] .font-inter{font-family:Inter,Rubik,serif,sans-serif}[data-opencx-widget] .text-2xl{font-size:1.5rem;line-height:2rem}[data-opencx-widget] .text-\\[10px\\]{font-size:10px}[data-opencx-widget] .text-lg{font-size:1.125rem;line-height:1.75rem}[data-opencx-widget] .text-sm{font-size:.875rem;line-height:1.25rem}[data-opencx-widget] .text-xl{font-size:1.25rem;line-height:1.75rem}[data-opencx-widget] .text-xs{font-size:.75rem;line-height:1rem}[data-opencx-widget] .font-bold{font-weight:700}[data-opencx-widget] .font-medium{font-weight:500}[data-opencx-widget] .font-semibold{font-weight:600}[data-opencx-widget] .leading-none{line-height:1}[data-opencx-widget] .leading-relaxed{line-height:1.625}[data-opencx-widget] .leading-snug{line-height:1.375}[data-opencx-widget] .leading-tight{line-height:1.25}[data-opencx-widget] .tracking-tight{letter-spacing:-.025em}[data-opencx-widget] .tracking-widest{letter-spacing:.1em}[data-opencx-widget] .text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}[data-opencx-widget] .text-destructive{color:hsl(var(--opencx-destructive))}[data-opencx-widget] .text-destructive-foreground{color:hsl(var(--opencx-destructive-foreground))}[data-opencx-widget] .text-emerald-500{--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity))}[data-opencx-widget] .text-foreground{color:hsl(var(--opencx-foreground))}[data-opencx-widget] .text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}[data-opencx-widget] .text-muted-foreground{color:hsl(var(--opencx-muted-foreground))}[data-opencx-widget] .text-muted-foreground\\/70{color:hsl(var(--opencx-muted-foreground) / .7)}[data-opencx-widget] .text-primary{color:hsl(var(--opencx-primary))}[data-opencx-widget] .text-primary-foreground{color:hsl(var(--opencx-primary-foreground))}[data-opencx-widget] .text-primary-foreground\\/90{color:hsl(var(--opencx-primary-foreground) / .9)}[data-opencx-widget] .text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}[data-opencx-widget] .text-secondary-foreground{color:hsl(var(--opencx-secondary-foreground))}[data-opencx-widget] .underline{text-decoration-line:underline}[data-opencx-widget] .underline-offset-4{text-underline-offset:4px}[data-opencx-widget] .antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[data-opencx-widget] .opacity-0{opacity:0}[data-opencx-widget] .opacity-5{opacity:.05}[data-opencx-widget] .opacity-50{opacity:.5}[data-opencx-widget] .opacity-60{opacity:.6}[data-opencx-widget] .opacity-70{opacity:.7}[data-opencx-widget] .opacity-95{opacity:.95}[data-opencx-widget] .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .outline-none{outline:2px solid transparent;outline-offset:2px}[data-opencx-widget] .outline{outline-style:solid}[data-opencx-widget] .outline-8{outline-width:8px}[data-opencx-widget] .outline-background{outline-color:hsl(var(--opencx-background))}[data-opencx-widget] .ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-opencx-widget] .ring-offset-background{--tw-ring-offset-color: hsl(var(--opencx-background))}[data-opencx-widget] .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-opencx-widget] .backdrop-blur{--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-opencx-widget] .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-opencx-widget] .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-opencx-widget] .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-opencx-widget] .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-opencx-widget] .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-opencx-widget] .duration-200{transition-duration:.2s}[data-opencx-widget] .ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}[data-opencx-widget] .animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}[data-opencx-widget] .fade-in-0{--tw-enter-opacity: 0}[data-opencx-widget] .zoom-in-95{--tw-enter-scale: .95}[data-opencx-widget] .duration-200{animation-duration:.2s}[data-opencx-widget] .ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}[data-opencx-widget] .\\[animation-delay\\:-0\\.15s\\]{animation-delay:-.15s}[data-opencx-widget] .\\[animation-delay\\:-0\\.3s\\]{animation-delay:-.3s}[data-opencx-widget] .\\[background\\:radial-gradient\\(50\\%_50\\%_at_50\\%_100\\%\\,hsl\\(var\\(--opencx-primary-foreground\\)\\)_-75\\%\\,hsl\\(var\\(--opencx-primary\\)\\)_100\\%\\)\\]{background:radial-gradient(50% 50% at 50% 100%,hsl(var(--opencx-primary-foreground)) -75%,hsl(var(--opencx-primary)))}[data-opencx-widget] .\\[word-break\\:break-word\\]{word-break:break-word}[data-opencx-widget] .required:after{content:" *";color:red}[data-opencx-widget] .file\\:border-0::file-selector-button{border-width:0px}[data-opencx-widget] .file\\:bg-transparent::file-selector-button{background-color:transparent}[data-opencx-widget] .file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}[data-opencx-widget] .file\\:font-medium::file-selector-button{font-weight:500}[data-opencx-widget] .file\\:text-primary-foreground::file-selector-button{color:hsl(var(--opencx-primary-foreground))}[data-opencx-widget] .placeholder\\:text-muted-foreground::-moz-placeholder{color:hsl(var(--opencx-muted-foreground))}[data-opencx-widget] .placeholder\\:text-muted-foreground::placeholder{color:hsl(var(--opencx-muted-foreground))}[data-opencx-widget] .hover\\:bg-accent:hover{background-color:hsl(var(--opencx-accent))}[data-opencx-widget] .hover\\:bg-green-50\\/50:hover{background-color:#f0fdf480}[data-opencx-widget] .hover\\:bg-red-50\\/50:hover{background-color:#fef2f280}[data-opencx-widget] .hover\\:text-accent-foreground:hover{color:hsl(var(--opencx-accent-foreground))}[data-opencx-widget] .hover\\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}[data-opencx-widget] .hover\\:text-green-500:hover{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}[data-opencx-widget] .hover\\:text-primary:hover{color:hsl(var(--opencx-primary))}[data-opencx-widget] .hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}[data-opencx-widget] .hover\\:underline:hover{text-decoration-line:underline}[data-opencx-widget] .hover\\:opacity-100:hover{opacity:1}[data-opencx-widget] .focus\\:bg-accent:focus{background-color:hsl(var(--opencx-accent))}[data-opencx-widget] .focus\\:text-accent-foreground:focus{color:hsl(var(--opencx-accent-foreground))}[data-opencx-widget] .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}[data-opencx-widget] .focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-opencx-widget] .focus\\:ring-ring:focus{--tw-ring-color: hsl(var(--opencx-ring))}[data-opencx-widget] .focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}[data-opencx-widget] .focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}[data-opencx-widget] .focus-visible\\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-opencx-widget] .focus-visible\\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--opencx-ring))}[data-opencx-widget] .focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}[data-opencx-widget] .focus-visible\\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--opencx-background))}[data-opencx-widget] .active\\:scale-90:active{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .active\\:shadow-none:active{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-opencx-widget] .hover\\:active\\:scale-95:active:hover{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .disabled\\:pointer-events-none:disabled{pointer-events:none}[data-opencx-widget] .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}[data-opencx-widget] .disabled\\:opacity-50:disabled{opacity:.5}[data-opencx-widget] .group:hover .group-hover\\:opacity-100{opacity:1}[data-opencx-widget] .group:hover .group-hover\\:active\\:scale-90:active,[data-opencx-widget] .group:active .group-active\\:scale-90{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}[data-opencx-widget] .data-\\[state\\=checked\\]\\:translate-x-4[data-state=checked]{--tw-translate-x: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .data-\\[state\\=unchecked\\]\\:translate-x-0[data-state=unchecked]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .data-\\[state\\=checked\\]\\:bg-primary[data-state=checked]{background-color:hsl(var(--opencx-primary))}[data-opencx-widget] .data-\\[state\\=open\\]\\:bg-accent[data-state=open]{background-color:hsl(var(--opencx-accent))}[data-opencx-widget] .data-\\[state\\=unchecked\\]\\:bg-input[data-state=unchecked]{background-color:hsl(var(--opencx-input))}[data-opencx-widget] .data-\\[state\\=open\\]\\:text-muted-foreground[data-state=open]{color:hsl(var(--opencx-muted-foreground))}[data-opencx-widget] .data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}[data-opencx-widget] .data-\\[state\\=open\\]\\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}[data-opencx-widget] .data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}[data-opencx-widget] .data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}[data-opencx-widget] .data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}[data-opencx-widget] .data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}[data-opencx-widget] .data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}[data-opencx-widget] .data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}[data-opencx-widget] .data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}[data-opencx-widget] .data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}[data-opencx-widget] .data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}[data-opencx-widget] .data-\\[state\\=closed\\]\\:slide-out-to-left-1\\/2[data-state=closed]{--tw-exit-translate-x: -50%}[data-opencx-widget] .data-\\[state\\=closed\\]\\:slide-out-to-top-\\[48\\%\\][data-state=closed]{--tw-exit-translate-y: -48%}[data-opencx-widget] .data-\\[state\\=open\\]\\:slide-in-from-left-1\\/2[data-state=open]{--tw-enter-translate-x: -50%}[data-opencx-widget] .data-\\[state\\=open\\]\\:slide-in-from-top-\\[48\\%\\][data-state=open]{--tw-enter-translate-y: -48%}[data-opencx-widget] .prose-a\\:underline :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-line:underline}[data-opencx-widget] .prose-a\\:decoration-primary :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-color:hsl(var(--opencx-primary))}@media (min-width: 640px){[data-opencx-widget] .sm\\:flex-row{flex-direction:row}[data-opencx-widget] .sm\\:justify-end{justify-content:flex-end}[data-opencx-widget] .sm\\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}[data-opencx-widget] .sm\\:rounded-lg{border-radius:.5rem}[data-opencx-widget] .sm\\:text-left{text-align:left}}[data-opencx-widget] .rtl\\:-scale-100:where([dir=rtl],[dir=rtl] *){--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-opencx-widget] .rtl\\:flex-row-reverse:where([dir=rtl],[dir=rtl] *){flex-direction:row-reverse}[data-opencx-widget] .rtl\\:text-right:where([dir=rtl],[dir=rtl] *){text-align:right}[data-opencx-widget] .rtl\\:placeholder\\:text-right:where([dir=rtl],[dir=rtl] *)::-moz-placeholder{text-align:right}[data-opencx-widget] .rtl\\:placeholder\\:text-right:where([dir=rtl],[dir=rtl] *)::placeholder{text-align:right}[data-opencx-widget] .\\[\\&_span\\]\\:size-1 span{width:.25rem;height:.25rem}[data-opencx-widget] .\\[\\&_span\\]\\:bg-secondary-foreground span{background-color:hsl(var(--opencx-secondary-foreground))}[data-opencx-widget] .\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}[data-opencx-widget] .\\[\\&_svg\\]\\:size-4 svg{width:1rem;height:1rem}[data-opencx-widget] .\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}[data-opencx-widget] .\\[\\&_svg\\]\\:text-muted-foreground\\/70 svg{color:hsl(var(--opencx-muted-foreground) / .7)}';
|
|
19058
19061
|
function A2({ className: e }) {
|
|
19059
19062
|
return /* @__PURE__ */ z(
|
|
19060
19063
|
"svg",
|
|
@@ -19135,7 +19138,7 @@ const N2 = `<!DOCTYPE html>
|
|
|
19135
19138
|
<html>
|
|
19136
19139
|
<head>
|
|
19137
19140
|
<style>
|
|
19138
|
-
${
|
|
19141
|
+
${fa}
|
|
19139
19142
|
html, body {
|
|
19140
19143
|
height: 100%;
|
|
19141
19144
|
width: 100%;
|
|
@@ -19151,12 +19154,12 @@ html, body {
|
|
|
19151
19154
|
function I2({ isOpen: e }) {
|
|
19152
19155
|
const { theme: t } = pt();
|
|
19153
19156
|
return /* @__PURE__ */ b(
|
|
19154
|
-
|
|
19157
|
+
pa,
|
|
19155
19158
|
{
|
|
19156
19159
|
initialContent: N2,
|
|
19157
19160
|
style: {
|
|
19158
|
-
height: `calc(
|
|
19159
|
-
width: `calc(
|
|
19161
|
+
height: `calc(48px + ${In.x * 2}px)`,
|
|
19162
|
+
width: `calc(48px + ${In.y * 2}px)`,
|
|
19160
19163
|
fontSize: "16px",
|
|
19161
19164
|
position: "fixed",
|
|
19162
19165
|
zIndex: 1e7,
|
|
@@ -19176,9 +19179,11 @@ function I2({ isOpen: e }) {
|
|
|
19176
19179
|
justifyContent: "center"
|
|
19177
19180
|
},
|
|
19178
19181
|
children: /* @__PURE__ */ b(
|
|
19179
|
-
|
|
19182
|
+
Tr.PopoverTrigger,
|
|
19180
19183
|
{
|
|
19181
|
-
className: q(
|
|
19184
|
+
className: q(
|
|
19185
|
+
"size-[48px] font-inter flex items-center justify-center"
|
|
19186
|
+
),
|
|
19182
19187
|
children: /* @__PURE__ */ b(Xe, { children: /* @__PURE__ */ z(
|
|
19183
19188
|
"div",
|
|
19184
19189
|
{
|
|
@@ -19201,7 +19206,7 @@ function I2({ isOpen: e }) {
|
|
|
19201
19206
|
initial: { rotate: 45 },
|
|
19202
19207
|
animate: { rotate: 0 }
|
|
19203
19208
|
},
|
|
19204
|
-
children: /* @__PURE__ */ b(Vu, { className: "size-
|
|
19209
|
+
children: /* @__PURE__ */ b(Vu, { className: "size-[24px]" })
|
|
19205
19210
|
},
|
|
19206
19211
|
"x-icon"
|
|
19207
19212
|
) : /* @__PURE__ */ b(
|
|
@@ -19212,11 +19217,11 @@ function I2({ isOpen: e }) {
|
|
|
19212
19217
|
initial: { rotate: 45 },
|
|
19213
19218
|
animate: { rotate: 0 }
|
|
19214
19219
|
},
|
|
19215
|
-
children: /* @__PURE__ */ b(A2, { className: "size-
|
|
19220
|
+
children: /* @__PURE__ */ b(A2, { className: "size-[24px] mt-0.5 opacity-95" })
|
|
19216
19221
|
},
|
|
19217
19222
|
"message-icon"
|
|
19218
19223
|
) }),
|
|
19219
|
-
/* @__PURE__ */ b(k2, { className: "absolute inset-0 opacity-5 size-
|
|
19224
|
+
/* @__PURE__ */ b(k2, { className: "absolute inset-0 opacity-5 size-[48px]" })
|
|
19220
19225
|
]
|
|
19221
19226
|
}
|
|
19222
19227
|
) })
|
|
@@ -19229,7 +19234,7 @@ function I2({ isOpen: e }) {
|
|
|
19229
19234
|
}
|
|
19230
19235
|
function S2() {
|
|
19231
19236
|
return /* @__PURE__ */ b(ke, { children: /* @__PURE__ */ z(ie, { className: "flex flex-row items-end w-full gap-1 animate-pulse", children: [
|
|
19232
|
-
/* @__PURE__ */ b("div", { className: "flex items-center gap-1", children: /* @__PURE__ */ b(fn, { children: /* @__PURE__ */ b(
|
|
19237
|
+
/* @__PURE__ */ b("div", { className: "flex items-center gap-1", children: /* @__PURE__ */ b(fn, { children: /* @__PURE__ */ b(Zn, {}) }) }),
|
|
19233
19238
|
/* @__PURE__ */ z("div", { className: "flex items-center [&_span]:bg-secondary-foreground [&_span]:size-1 gap-1 p-2 rounded-xl bg-secondary border", children: [
|
|
19234
19239
|
/* @__PURE__ */ b(yt.span, { className: "rounded-full animate-bounce [animation-delay:-0.3s]" }),
|
|
19235
19240
|
/* @__PURE__ */ b(yt.span, { className: "rounded-full animate-bounce [animation-delay:-0.15s]" }),
|
|
@@ -19251,7 +19256,7 @@ const O2 = `<!DOCTYPE html>
|
|
|
19251
19256
|
<html>
|
|
19252
19257
|
<head>
|
|
19253
19258
|
<style>
|
|
19254
|
-
${
|
|
19259
|
+
${fa}
|
|
19255
19260
|
html, body {
|
|
19256
19261
|
height: 100%;
|
|
19257
19262
|
width: 100%;
|
|
@@ -19265,12 +19270,12 @@ html, body {
|
|
|
19265
19270
|
</body>
|
|
19266
19271
|
</html>`;
|
|
19267
19272
|
function R2() {
|
|
19268
|
-
const e = rn(), t =
|
|
19269
|
-
return /* @__PURE__ */ z(
|
|
19270
|
-
/* @__PURE__ */ b("style", { children:
|
|
19273
|
+
const e = rn(), t = Fn(), { theme: n } = pt(), [r, a] = Re(!1);
|
|
19274
|
+
return /* @__PURE__ */ z(Tr.Root, { open: r, onOpenChange: a, children: [
|
|
19275
|
+
/* @__PURE__ */ b("style", { children: fa }),
|
|
19271
19276
|
/* @__PURE__ */ b(I2, { isOpen: r }),
|
|
19272
19277
|
/* @__PURE__ */ b(
|
|
19273
|
-
|
|
19278
|
+
Tr.Content,
|
|
19274
19279
|
{
|
|
19275
19280
|
onInteractOutside: (i) => i.preventDefault(),
|
|
19276
19281
|
side: "top",
|
|
@@ -19278,7 +19283,10 @@ function R2() {
|
|
|
19278
19283
|
forceMount: !0,
|
|
19279
19284
|
style: {
|
|
19280
19285
|
zIndex: 1e6,
|
|
19281
|
-
fontSize: "16px"
|
|
19286
|
+
fontSize: "16px",
|
|
19287
|
+
// @ts-expect-error this is a valid css variable
|
|
19288
|
+
"--opencx-widget-width": `${ya}px`,
|
|
19289
|
+
"--opencx-widget-height": `${kn}px`
|
|
19282
19290
|
},
|
|
19283
19291
|
sideOffset: 8,
|
|
19284
19292
|
"data-opencx-widget": !0,
|
|
@@ -19304,15 +19312,16 @@ function R2() {
|
|
|
19304
19312
|
}
|
|
19305
19313
|
},
|
|
19306
19314
|
children: /* @__PURE__ */ b(
|
|
19307
|
-
|
|
19315
|
+
pa,
|
|
19308
19316
|
{
|
|
19309
19317
|
initialContent: O2,
|
|
19310
19318
|
allowFullScreen: !0,
|
|
19311
19319
|
"data-opencx-widget": !0,
|
|
19312
19320
|
style: {
|
|
19313
|
-
|
|
19314
|
-
width:
|
|
19315
|
-
|
|
19321
|
+
minWidth: ya,
|
|
19322
|
+
width: "var(--opencx-widget-width)",
|
|
19323
|
+
maxHeight: "75dvh",
|
|
19324
|
+
minHeight: kn,
|
|
19316
19325
|
height: "var(--opencx-widget-height)",
|
|
19317
19326
|
overflow: "hidden",
|
|
19318
19327
|
/** outline is better than border because of box sizing; the outline wouldn't affect the content inside... the border will mess up how the children's border radius sits with the parent */
|
|
@@ -19320,9 +19329,9 @@ function R2() {
|
|
|
19320
19329
|
outlineColor: "hsl(0 0% 50% / .5)",
|
|
19321
19330
|
borderRadius: "32px",
|
|
19322
19331
|
boxShadow: "0 25px 50px -12px rgb(0 0 0 / 0.25)",
|
|
19323
|
-
transitionProperty: "
|
|
19324
|
-
transitionTimingFunction: "
|
|
19325
|
-
transitionDuration: "
|
|
19332
|
+
transitionProperty: "all",
|
|
19333
|
+
transitionTimingFunction: "cubic-bezier(0.16, 1, 0.3, 1)",
|
|
19334
|
+
transitionDuration: "800ms"
|
|
19326
19335
|
},
|
|
19327
19336
|
children: /* @__PURE__ */ b(
|
|
19328
19337
|
Dl,
|
|
@@ -19340,9 +19349,7 @@ function R2() {
|
|
|
19340
19349
|
"div",
|
|
19341
19350
|
{
|
|
19342
19351
|
style: {
|
|
19343
|
-
...Wi(
|
|
19344
|
-
{ primary: n == null ? void 0 : n.primaryColor }
|
|
19345
|
-
)
|
|
19352
|
+
...Wi({ primary: n == null ? void 0 : n.primaryColor })
|
|
19346
19353
|
},
|
|
19347
19354
|
"data-version": e.version,
|
|
19348
19355
|
"data-opencx-widget": !0,
|
|
@@ -19375,11 +19382,11 @@ const D2 = [
|
|
|
19375
19382
|
},
|
|
19376
19383
|
{
|
|
19377
19384
|
key: "bot_message",
|
|
19378
|
-
component:
|
|
19385
|
+
component: Hr
|
|
19379
19386
|
},
|
|
19380
19387
|
{
|
|
19381
19388
|
key: "agent_message",
|
|
19382
|
-
component:
|
|
19389
|
+
component: Hr
|
|
19383
19390
|
}
|
|
19384
19391
|
], v2 = {
|
|
19385
19392
|
get: async (e) => localStorage.getItem(e),
|