@sampleapp.ai/sdk 1.0.40 → 1.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as D from "react";
|
|
2
|
-
import Re, { useState as ke, useEffect as Me, forwardRef as
|
|
2
|
+
import Re, { useState as ke, useEffect as Me, forwardRef as sc, useRef as Ie, useMemo as Kt, createContext as Rr, createElement as br, useContext as dt, useLayoutEffect as wD, useImperativeHandle as kG, useCallback as Pe, memo as Md, useId as C$, Fragment as xG, useInsertionEffect as I$, Component as S$ } from "react";
|
|
3
3
|
import * as cP from "react-dom/client";
|
|
4
4
|
import { createRoot as M$ } from "react-dom/client";
|
|
5
|
-
import { jsxs as
|
|
5
|
+
import { jsxs as ie, jsx as E, Fragment as qt } from "react/jsx-runtime";
|
|
6
6
|
import * as EG from "react-dom";
|
|
7
7
|
import T$ from "react-dom";
|
|
8
8
|
const N$ = ({ settings: e, onClick: t }) => {
|
|
@@ -12,7 +12,7 @@ const N$ = ({ settings: e, onClick: t }) => {
|
|
|
12
12
|
});
|
|
13
13
|
document.dispatchEvent(n), t?.();
|
|
14
14
|
};
|
|
15
|
-
return /* @__PURE__ */
|
|
15
|
+
return /* @__PURE__ */ ie(
|
|
16
16
|
"button",
|
|
17
17
|
{
|
|
18
18
|
style: {
|
|
@@ -94,7 +94,7 @@ const N$ = ({ settings: e, onClick: t }) => {
|
|
|
94
94
|
return document.body.style.overflow = "hidden", () => {
|
|
95
95
|
document.body.style.overflow = "";
|
|
96
96
|
};
|
|
97
|
-
}, [r]), r ? /* @__PURE__ */
|
|
97
|
+
}, [r]), r ? /* @__PURE__ */ ie(qt, { children: [
|
|
98
98
|
/* @__PURE__ */ E(
|
|
99
99
|
"div",
|
|
100
100
|
{
|
|
@@ -112,7 +112,7 @@ const N$ = ({ settings: e, onClick: t }) => {
|
|
|
112
112
|
onClick: i
|
|
113
113
|
}
|
|
114
114
|
),
|
|
115
|
-
/* @__PURE__ */
|
|
115
|
+
/* @__PURE__ */ ie(
|
|
116
116
|
"div",
|
|
117
117
|
{
|
|
118
118
|
style: {
|
|
@@ -133,7 +133,7 @@ const N$ = ({ settings: e, onClick: t }) => {
|
|
|
133
133
|
},
|
|
134
134
|
onClick: (c) => c.stopPropagation(),
|
|
135
135
|
children: [
|
|
136
|
-
/* @__PURE__ */
|
|
136
|
+
/* @__PURE__ */ ie(
|
|
137
137
|
"div",
|
|
138
138
|
{
|
|
139
139
|
style: {
|
|
@@ -145,7 +145,7 @@ const N$ = ({ settings: e, onClick: t }) => {
|
|
|
145
145
|
background: `linear-gradient(135deg, ${e.baseSettings.primaryBrandColor}10, ${e.baseSettings.primaryBrandColor}05)`
|
|
146
146
|
},
|
|
147
147
|
children: [
|
|
148
|
-
/* @__PURE__ */
|
|
148
|
+
/* @__PURE__ */ ie("div", { style: { display: "flex", alignItems: "center", gap: "12px" }, children: [
|
|
149
149
|
e.aiChatSettings?.aiAssistantAvatar && /* @__PURE__ */ E(
|
|
150
150
|
"img",
|
|
151
151
|
{
|
|
@@ -205,7 +205,7 @@ const N$ = ({ settings: e, onClick: t }) => {
|
|
|
205
205
|
]
|
|
206
206
|
}
|
|
207
207
|
),
|
|
208
|
-
/* @__PURE__ */
|
|
208
|
+
/* @__PURE__ */ ie(
|
|
209
209
|
"div",
|
|
210
210
|
{
|
|
211
211
|
style: {
|
|
@@ -214,7 +214,7 @@ const N$ = ({ settings: e, onClick: t }) => {
|
|
|
214
214
|
overflowY: "auto"
|
|
215
215
|
},
|
|
216
216
|
children: [
|
|
217
|
-
/* @__PURE__ */
|
|
217
|
+
/* @__PURE__ */ ie("div", { style: { position: "relative", marginBottom: "24px" }, children: [
|
|
218
218
|
/* @__PURE__ */ E(
|
|
219
219
|
"input",
|
|
220
220
|
{
|
|
@@ -273,7 +273,7 @@ const N$ = ({ settings: e, onClick: t }) => {
|
|
|
273
273
|
}
|
|
274
274
|
)
|
|
275
275
|
] }),
|
|
276
|
-
e.aiChatSettings?.exampleQuestions && e.aiChatSettings.exampleQuestions.length > 0 && /* @__PURE__ */
|
|
276
|
+
e.aiChatSettings?.exampleQuestions && e.aiChatSettings.exampleQuestions.length > 0 && /* @__PURE__ */ ie("div", { children: [
|
|
277
277
|
/* @__PURE__ */ E(
|
|
278
278
|
"p",
|
|
279
279
|
{
|
|
@@ -379,7 +379,7 @@ const N$ = ({ settings: e, onClick: t }) => {
|
|
|
379
379
|
// @ts-ignore - CSS custom properties are valid
|
|
380
380
|
"--placeholder-color": _$
|
|
381
381
|
};
|
|
382
|
-
return o.disabled && (s.cursor = "not-allowed", s.opacity = 0.5), /* @__PURE__ */
|
|
382
|
+
return o.disabled && (s.cursor = "not-allowed", s.opacity = 0.5), /* @__PURE__ */ ie(qt, { children: [
|
|
383
383
|
/* @__PURE__ */ E("style", { children: `
|
|
384
384
|
.textarea-with-placeholder::placeholder {
|
|
385
385
|
color: var(--placeholder-color);
|
|
@@ -836,7 +836,7 @@ const H$ = {
|
|
|
836
836
|
size: e = 20,
|
|
837
837
|
className: t = "",
|
|
838
838
|
style: r = {}
|
|
839
|
-
}) => /* @__PURE__ */
|
|
839
|
+
}) => /* @__PURE__ */ ie(qt, { children: [
|
|
840
840
|
/* @__PURE__ */ E("style", { children: `
|
|
841
841
|
@keyframes icon-spin {
|
|
842
842
|
from { transform: rotate(0deg); }
|
|
@@ -867,7 +867,7 @@ const H$ = {
|
|
|
867
867
|
size: e = 20,
|
|
868
868
|
className: t = "",
|
|
869
869
|
style: r = {}
|
|
870
|
-
}) => /* @__PURE__ */
|
|
870
|
+
}) => /* @__PURE__ */ ie(
|
|
871
871
|
"svg",
|
|
872
872
|
{
|
|
873
873
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -888,7 +888,7 @@ const H$ = {
|
|
|
888
888
|
/* @__PURE__ */ E("path", { d: "M12 19V5" })
|
|
889
889
|
]
|
|
890
890
|
}
|
|
891
|
-
), IG =
|
|
891
|
+
), IG = sc(
|
|
892
892
|
({
|
|
893
893
|
texts: e,
|
|
894
894
|
typingSpeed: t = 30,
|
|
@@ -950,7 +950,7 @@ const H$ = {
|
|
|
950
950
|
}
|
|
951
951
|
g?.(H);
|
|
952
952
|
};
|
|
953
|
-
return /* @__PURE__ */
|
|
953
|
+
return /* @__PURE__ */ ie("div", { style: { position: "relative", width: "100%" }, children: [
|
|
954
954
|
Q && /* @__PURE__ */ E(
|
|
955
955
|
"div",
|
|
956
956
|
{
|
|
@@ -969,7 +969,7 @@ const H$ = {
|
|
|
969
969
|
paddingBottom: "0",
|
|
970
970
|
marginTop: "5px"
|
|
971
971
|
},
|
|
972
|
-
children: /* @__PURE__ */
|
|
972
|
+
children: /* @__PURE__ */ ie(
|
|
973
973
|
"p",
|
|
974
974
|
{
|
|
975
975
|
style: {
|
|
@@ -1203,7 +1203,7 @@ const qs = {
|
|
|
1203
1203
|
console.error("Submit error:", H);
|
|
1204
1204
|
}
|
|
1205
1205
|
};
|
|
1206
|
-
return /* @__PURE__ */ E("div", { children: /* @__PURE__ */
|
|
1206
|
+
return /* @__PURE__ */ E("div", { children: /* @__PURE__ */ ie(
|
|
1207
1207
|
"div",
|
|
1208
1208
|
{
|
|
1209
1209
|
style: {
|
|
@@ -1289,8 +1289,8 @@ const qs = {
|
|
|
1289
1289
|
paddingTop: "0.5rem",
|
|
1290
1290
|
paddingBottom: "0.5rem"
|
|
1291
1291
|
},
|
|
1292
|
-
children: /* @__PURE__ */
|
|
1293
|
-
/* @__PURE__ */
|
|
1292
|
+
children: /* @__PURE__ */ ie("div", { style: { display: "flex", flexDirection: "column", gap: "4px" }, children: [
|
|
1293
|
+
/* @__PURE__ */ ie(
|
|
1294
1294
|
"div",
|
|
1295
1295
|
{
|
|
1296
1296
|
style: {
|
|
@@ -1475,25 +1475,25 @@ const qs = {
|
|
|
1475
1475
|
description: t = "Fully isolated with Shadow DOM - host styles can't affect this!"
|
|
1476
1476
|
}) => {
|
|
1477
1477
|
const [r, o] = ke(0), [a, n] = ke(!1);
|
|
1478
|
-
return /* @__PURE__ */ E("div", { className: "flex flex-col items-center p-4", children: /* @__PURE__ */ E("div", { className: "relative rounded-[2.5rem] p-2 bg-gradient-to-br from-zinc-700 to-zinc-900 shadow-2xl shadow-black/50", children: /* @__PURE__ */ E("div", { className: "rounded-[2rem] p-1 bg-black", children: /* @__PURE__ */
|
|
1478
|
+
return /* @__PURE__ */ E("div", { className: "flex flex-col items-center p-4", children: /* @__PURE__ */ E("div", { className: "relative rounded-[2.5rem] p-2 bg-gradient-to-br from-zinc-700 to-zinc-900 shadow-2xl shadow-black/50", children: /* @__PURE__ */ E("div", { className: "rounded-[2rem] p-1 bg-black", children: /* @__PURE__ */ ie("div", { className: "rounded-[1.75rem] w-[280px] h-[560px] bg-gradient-to-br from-slate-900 via-slate-800 to-slate-900 overflow-hidden flex flex-col relative", children: [
|
|
1479
1479
|
/* @__PURE__ */ E("div", { className: "absolute top-0 left-1/2 -translate-x-1/2 w-32 h-6 bg-black rounded-b-xl z-10" }),
|
|
1480
|
-
/* @__PURE__ */
|
|
1480
|
+
/* @__PURE__ */ ie("div", { className: "pt-8 px-6 pb-2 flex justify-between items-center text-white text-xs font-semibold", children: [
|
|
1481
1481
|
/* @__PURE__ */ E("span", { children: "9:41" }),
|
|
1482
|
-
/* @__PURE__ */
|
|
1482
|
+
/* @__PURE__ */ ie("div", { className: "flex items-center gap-1", children: [
|
|
1483
1483
|
/* @__PURE__ */ E("div", { className: "w-4 h-2 border border-white rounded-sm relative", children: /* @__PURE__ */ E("div", { className: "absolute inset-0.5 bg-white rounded-sm" }) }),
|
|
1484
1484
|
/* @__PURE__ */ E("div", { className: "flex gap-0.5", children: [1, 2, 3, 4].map((i) => /* @__PURE__ */ E("div", { className: "w-0.5 h-2 bg-white rounded-full" }, i)) })
|
|
1485
1485
|
] })
|
|
1486
1486
|
] }),
|
|
1487
|
-
/* @__PURE__ */
|
|
1488
|
-
/* @__PURE__ */
|
|
1487
|
+
/* @__PURE__ */ ie("div", { className: "flex-1 px-6 py-4 overflow-y-auto", children: [
|
|
1488
|
+
/* @__PURE__ */ ie("div", { className: "mb-6", children: [
|
|
1489
1489
|
/* @__PURE__ */ E("h2", { className: "text-2xl font-bold text-white mb-2", children: e }),
|
|
1490
1490
|
/* @__PURE__ */ E("p", { className: "text-sm text-slate-400", children: t })
|
|
1491
1491
|
] }),
|
|
1492
|
-
/* @__PURE__ */ E("div", { className: "bg-white/10 backdrop-blur-sm rounded-2xl p-6 mb-6 border border-white/20", children: /* @__PURE__ */
|
|
1492
|
+
/* @__PURE__ */ E("div", { className: "bg-white/10 backdrop-blur-sm rounded-2xl p-6 mb-6 border border-white/20", children: /* @__PURE__ */ ie("div", { className: "flex flex-col items-center", children: [
|
|
1493
1493
|
/* @__PURE__ */ E("span", { className: "text-slate-400 text-sm font-medium mb-2", children: "Counter" }),
|
|
1494
1494
|
/* @__PURE__ */ E("span", { className: "text-6xl font-bold text-white", children: r })
|
|
1495
1495
|
] }) }),
|
|
1496
|
-
/* @__PURE__ */
|
|
1496
|
+
/* @__PURE__ */ ie("div", { className: "flex flex-col gap-3 mb-6", children: [
|
|
1497
1497
|
/* @__PURE__ */ E(
|
|
1498
1498
|
"button",
|
|
1499
1499
|
{
|
|
@@ -1513,7 +1513,7 @@ const qs = {
|
|
|
1513
1513
|
}
|
|
1514
1514
|
)
|
|
1515
1515
|
] }),
|
|
1516
|
-
/* @__PURE__ */
|
|
1516
|
+
/* @__PURE__ */ ie("div", { className: "flex items-center justify-center gap-2 mb-6", children: [
|
|
1517
1517
|
/* @__PURE__ */ E(
|
|
1518
1518
|
"div",
|
|
1519
1519
|
{
|
|
@@ -1522,14 +1522,14 @@ const qs = {
|
|
|
1522
1522
|
),
|
|
1523
1523
|
/* @__PURE__ */ E("span", { className: "text-xs text-slate-400", children: a ? "Button hovered" : "Idle" })
|
|
1524
1524
|
] }),
|
|
1525
|
-
/* @__PURE__ */
|
|
1525
|
+
/* @__PURE__ */ ie("div", { className: "bg-white/5 backdrop-blur-sm rounded-xl p-4 border border-white/10", children: [
|
|
1526
1526
|
/* @__PURE__ */ E("p", { className: "text-xs font-semibold text-slate-300 mb-3 uppercase tracking-wide", children: "Features" }),
|
|
1527
1527
|
/* @__PURE__ */ E("ul", { className: "space-y-2", children: [
|
|
1528
1528
|
"Tailwind utility classes",
|
|
1529
1529
|
"CSS variable theming",
|
|
1530
1530
|
"Hover/active states",
|
|
1531
1531
|
"Shadow DOM isolation"
|
|
1532
|
-
].map((i, s) => /* @__PURE__ */
|
|
1532
|
+
].map((i, s) => /* @__PURE__ */ ie(
|
|
1533
1533
|
"li",
|
|
1534
1534
|
{
|
|
1535
1535
|
className: "flex items-center gap-3 text-sm text-slate-300",
|
|
@@ -1575,7 +1575,7 @@ const W$ = ({
|
|
|
1575
1575
|
imageUrl: a
|
|
1576
1576
|
}) => {
|
|
1577
1577
|
const n = e || "", i = t || "", s = G$(n);
|
|
1578
|
-
return /* @__PURE__ */
|
|
1578
|
+
return /* @__PURE__ */ ie(
|
|
1579
1579
|
"div",
|
|
1580
1580
|
{
|
|
1581
1581
|
onClick: () => {
|
|
@@ -1586,8 +1586,8 @@ const W$ = ({
|
|
|
1586
1586
|
},
|
|
1587
1587
|
className: "group relative block min-w-[240px] w-full h-[200px] border border-zinc-200 dark:border-[#333] bg-zinc-50 dark:bg-[#0a0a0a] rounded-lg overflow-hidden transition-all duration-100 ease-out hover:border-zinc-300 dark:hover:border-[#444] focus-visible:outline-none cursor-pointer",
|
|
1588
1588
|
children: [
|
|
1589
|
-
/* @__PURE__ */
|
|
1590
|
-
/* @__PURE__ */
|
|
1589
|
+
/* @__PURE__ */ ie("div", { className: "flex flex-col gap-1 px-6 py-5", children: [
|
|
1590
|
+
/* @__PURE__ */ ie("div", { className: "flex items-center max-w-max pr-2.5", children: [
|
|
1591
1591
|
/* @__PURE__ */ E("h3", { className: "text-[16px] font-medium m-0 w-max whitespace-nowrap overflow-hidden text-ellipsis flex-1 mr-0 text-zinc-900 dark:text-white", children: n }),
|
|
1592
1592
|
/* @__PURE__ */ E(
|
|
1593
1593
|
"svg",
|
|
@@ -1624,7 +1624,7 @@ const W$ = ({
|
|
|
1624
1624
|
"div",
|
|
1625
1625
|
{
|
|
1626
1626
|
className: `w-full h-full bg-gradient-to-br ${s} flex items-center justify-center`,
|
|
1627
|
-
children: /* @__PURE__ */
|
|
1627
|
+
children: /* @__PURE__ */ ie("div", { className: "w-full px-6 space-y-2", children: [
|
|
1628
1628
|
/* @__PURE__ */ E("div", { className: "h-2 bg-white/20 rounded w-1/2 mx-auto" }),
|
|
1629
1629
|
/* @__PURE__ */ E("div", { className: "h-1.5 bg-white/10 rounded w-3/4 mx-auto" }),
|
|
1630
1630
|
/* @__PURE__ */ E("div", { className: "h-1.5 bg-white/10 rounded w-2/3 mx-auto" })
|
|
@@ -1638,7 +1638,7 @@ const W$ = ({
|
|
|
1638
1638
|
value: e,
|
|
1639
1639
|
onChange: t,
|
|
1640
1640
|
placeholder: r = "Search sample apps..."
|
|
1641
|
-
}) => /* @__PURE__ */
|
|
1641
|
+
}) => /* @__PURE__ */ ie("div", { className: "relative max-w-md mx-auto", children: [
|
|
1642
1642
|
/* @__PURE__ */ E("div", { className: "absolute inset-y-0 left-4 flex items-center pointer-events-none", children: /* @__PURE__ */ E(
|
|
1643
1643
|
"svg",
|
|
1644
1644
|
{
|
|
@@ -2049,7 +2049,7 @@ function lee(e, ...t) {
|
|
|
2049
2049
|
const Ge = (e) => {
|
|
2050
2050
|
const t = (r) => r[e] || [];
|
|
2051
2051
|
return t.isThemeGetter = !0, t;
|
|
2052
|
-
}, RG = /^\[(?:([a-z-]+):)?(.+)\]$/i, uee = /^\d+\/\d+$/, pee = /* @__PURE__ */ new Set(["px", "full", "screen"]), hee = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, gee = /\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$/, bee = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, fee = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, yee = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ar = (e) => js(e) || pee.has(e) || uee.test(e), Dr = (e) =>
|
|
2052
|
+
}, RG = /^\[(?:([a-z-]+):)?(.+)\]$/i, uee = /^\d+\/\d+$/, pee = /* @__PURE__ */ new Set(["px", "full", "screen"]), hee = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, gee = /\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$/, bee = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, fee = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, yee = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ar = (e) => js(e) || pee.has(e) || uee.test(e), Dr = (e) => cc(e, "length", Cee), js = (e) => !!e && !Number.isNaN(Number(e)), RS = (e) => cc(e, "number", js), Ac = (e) => !!e && Number.isInteger(Number(e)), mee = (e) => e.endsWith("%") && js(e.slice(0, -1)), Oe = (e) => RG.test(e), Br = (e) => hee.test(e), wee = /* @__PURE__ */ new Set(["length", "size", "percentage"]), vee = (e) => cc(e, wee, OG), Aee = (e) => cc(e, "position", OG), kee = /* @__PURE__ */ new Set(["image", "url"]), xee = (e) => cc(e, kee, See), Eee = (e) => cc(e, "", Iee), kc = () => !0, cc = (e, t, r) => {
|
|
2053
2053
|
const o = RG.exec(e);
|
|
2054
2054
|
return o ? o[1] ? typeof t == "string" ? o[1] === t : t.has(o[1]) : r(o[2]) : !1;
|
|
2055
2055
|
}, Cee = (e) => (
|
|
@@ -2063,7 +2063,7 @@ const Ge = (e) => {
|
|
|
2063
2063
|
cacheSize: 500,
|
|
2064
2064
|
separator: ":",
|
|
2065
2065
|
theme: {
|
|
2066
|
-
colors: [
|
|
2066
|
+
colors: [kc],
|
|
2067
2067
|
spacing: [Ar, Dr],
|
|
2068
2068
|
blur: ["none", "", Br, Oe],
|
|
2069
2069
|
brightness: H(),
|
|
@@ -2303,7 +2303,7 @@ const Ge = (e) => {
|
|
|
2303
2303
|
* @see https://tailwindcss.com/docs/z-index
|
|
2304
2304
|
*/
|
|
2305
2305
|
z: [{
|
|
2306
|
-
z: ["auto",
|
|
2306
|
+
z: ["auto", Ac, Oe]
|
|
2307
2307
|
}],
|
|
2308
2308
|
// Flexbox and Grid
|
|
2309
2309
|
/**
|
|
@@ -2353,14 +2353,14 @@ const Ge = (e) => {
|
|
|
2353
2353
|
* @see https://tailwindcss.com/docs/order
|
|
2354
2354
|
*/
|
|
2355
2355
|
order: [{
|
|
2356
|
-
order: ["first", "last", "none",
|
|
2356
|
+
order: ["first", "last", "none", Ac, Oe]
|
|
2357
2357
|
}],
|
|
2358
2358
|
/**
|
|
2359
2359
|
* Grid Template Columns
|
|
2360
2360
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
2361
2361
|
*/
|
|
2362
2362
|
"grid-cols": [{
|
|
2363
|
-
"grid-cols": [
|
|
2363
|
+
"grid-cols": [kc]
|
|
2364
2364
|
}],
|
|
2365
2365
|
/**
|
|
2366
2366
|
* Grid Column Start / End
|
|
@@ -2368,7 +2368,7 @@ const Ge = (e) => {
|
|
|
2368
2368
|
*/
|
|
2369
2369
|
"col-start-end": [{
|
|
2370
2370
|
col: ["auto", {
|
|
2371
|
-
span: ["full",
|
|
2371
|
+
span: ["full", Ac, Oe]
|
|
2372
2372
|
}, Oe]
|
|
2373
2373
|
}],
|
|
2374
2374
|
/**
|
|
@@ -2390,7 +2390,7 @@ const Ge = (e) => {
|
|
|
2390
2390
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
2391
2391
|
*/
|
|
2392
2392
|
"grid-rows": [{
|
|
2393
|
-
"grid-rows": [
|
|
2393
|
+
"grid-rows": [kc]
|
|
2394
2394
|
}],
|
|
2395
2395
|
/**
|
|
2396
2396
|
* Grid Row Start / End
|
|
@@ -2398,7 +2398,7 @@ const Ge = (e) => {
|
|
|
2398
2398
|
*/
|
|
2399
2399
|
"row-start-end": [{
|
|
2400
2400
|
row: ["auto", {
|
|
2401
|
-
span: [
|
|
2401
|
+
span: [Ac, Oe]
|
|
2402
2402
|
}, Oe]
|
|
2403
2403
|
}],
|
|
2404
2404
|
/**
|
|
@@ -2753,7 +2753,7 @@ const Ge = (e) => {
|
|
|
2753
2753
|
* @see https://tailwindcss.com/docs/font-family
|
|
2754
2754
|
*/
|
|
2755
2755
|
"font-family": [{
|
|
2756
|
-
font: [
|
|
2756
|
+
font: [kc]
|
|
2757
2757
|
}],
|
|
2758
2758
|
/**
|
|
2759
2759
|
* Font Variant Numeric
|
|
@@ -3438,7 +3438,7 @@ const Ge = (e) => {
|
|
|
3438
3438
|
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
3439
3439
|
*/
|
|
3440
3440
|
"shadow-color": [{
|
|
3441
|
-
shadow: [
|
|
3441
|
+
shadow: [kc]
|
|
3442
3442
|
}],
|
|
3443
3443
|
/**
|
|
3444
3444
|
* Opacity
|
|
@@ -3717,7 +3717,7 @@ const Ge = (e) => {
|
|
|
3717
3717
|
* @see https://tailwindcss.com/docs/rotate
|
|
3718
3718
|
*/
|
|
3719
3719
|
rotate: [{
|
|
3720
|
-
rotate: [
|
|
3720
|
+
rotate: [Ac, Oe]
|
|
3721
3721
|
}],
|
|
3722
3722
|
/**
|
|
3723
3723
|
* Translate X
|
|
@@ -4090,7 +4090,7 @@ const Ge = (e) => {
|
|
|
4090
4090
|
function Ne(...e) {
|
|
4091
4091
|
return Tee(K$(e));
|
|
4092
4092
|
}
|
|
4093
|
-
function
|
|
4093
|
+
function Nc({ className: e, ...t }) {
|
|
4094
4094
|
return /* @__PURE__ */ E(
|
|
4095
4095
|
"div",
|
|
4096
4096
|
{
|
|
@@ -4158,24 +4158,24 @@ const Lee = ({
|
|
|
4158
4158
|
return m || y;
|
|
4159
4159
|
});
|
|
4160
4160
|
}, [g, c]);
|
|
4161
|
-
return /* @__PURE__ */
|
|
4161
|
+
return /* @__PURE__ */ ie("div", { className: "min-h-screen bg-white dark:bg-black", children: [
|
|
4162
4162
|
/* @__PURE__ */ E("div", { className: "pt-16 pb-12 px-4 md:px-6", children: /* @__PURE__ */ E("div", { className: "max-w-[1400px] mx-auto", children: /* @__PURE__ */ E(Y$, { value: c, onChange: l }) }) }),
|
|
4163
|
-
/* @__PURE__ */ E("div", { className: "px-4 md:px-6 pb-16", children: /* @__PURE__ */ E("div", { className: "max-w-[1400px] mx-auto", children: a ? /* @__PURE__ */ E("div", { className: "grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-4", children: [...Array(6)].map((f, b) => /* @__PURE__ */
|
|
4163
|
+
/* @__PURE__ */ E("div", { className: "px-4 md:px-6 pb-16", children: /* @__PURE__ */ E("div", { className: "max-w-[1400px] mx-auto", children: a ? /* @__PURE__ */ E("div", { className: "grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-4", children: [...Array(6)].map((f, b) => /* @__PURE__ */ ie(
|
|
4164
4164
|
"div",
|
|
4165
4165
|
{
|
|
4166
4166
|
className: "relative block min-w-[240px] w-full h-[200px] border border-zinc-200 dark:border-[#333] bg-zinc-50 dark:bg-[#0a0a0a] rounded-lg overflow-hidden",
|
|
4167
4167
|
children: [
|
|
4168
|
-
/* @__PURE__ */
|
|
4169
|
-
/* @__PURE__ */ E("div", { className: "flex items-center max-w-max pr-2.5", children: /* @__PURE__ */ E(
|
|
4170
|
-
/* @__PURE__ */ E(
|
|
4171
|
-
/* @__PURE__ */ E(
|
|
4168
|
+
/* @__PURE__ */ ie("div", { className: "flex flex-col gap-1 px-6 py-5", children: [
|
|
4169
|
+
/* @__PURE__ */ E("div", { className: "flex items-center max-w-max pr-2.5", children: /* @__PURE__ */ E(Nc, { className: "h-5 w-32 bg-zinc-200 dark:bg-zinc-800" }) }),
|
|
4170
|
+
/* @__PURE__ */ E(Nc, { className: "h-4 w-full bg-zinc-200 dark:bg-zinc-800 mt-1" }),
|
|
4171
|
+
/* @__PURE__ */ E(Nc, { className: "h-4 w-3/4 bg-zinc-200 dark:bg-zinc-800 mt-1" })
|
|
4172
4172
|
] }),
|
|
4173
|
-
/* @__PURE__ */ E("div", { className: "absolute top-[110px] -right-10 w-[300px] h-[100px] rounded-lg border border-zinc-200 dark:border-[#333] overflow-hidden shadow-lg rotate-[-5deg]", children: /* @__PURE__ */ E(
|
|
4173
|
+
/* @__PURE__ */ E("div", { className: "absolute top-[110px] -right-10 w-[300px] h-[100px] rounded-lg border border-zinc-200 dark:border-[#333] overflow-hidden shadow-lg rotate-[-5deg]", children: /* @__PURE__ */ E(Nc, { className: "w-full h-full bg-zinc-200 dark:bg-zinc-800" }) })
|
|
4174
4174
|
]
|
|
4175
4175
|
},
|
|
4176
4176
|
b
|
|
4177
|
-
)) }) : i && !r ? /* @__PURE__ */
|
|
4178
|
-
/* @__PURE__ */
|
|
4177
|
+
)) }) : i && !r ? /* @__PURE__ */ ie("div", { className: "col-span-full text-center py-16", children: [
|
|
4178
|
+
/* @__PURE__ */ ie("p", { className: "text-red-500 text-lg", children: [
|
|
4179
4179
|
"Error: ",
|
|
4180
4180
|
i
|
|
4181
4181
|
] }),
|
|
@@ -4377,7 +4377,7 @@ function _ee({
|
|
|
4377
4377
|
className: "flex flex-wrap items-center gap-6",
|
|
4378
4378
|
children: l.map((u) => {
|
|
4379
4379
|
const p = u.id === "useCase" ? s : c;
|
|
4380
|
-
return /* @__PURE__ */
|
|
4380
|
+
return /* @__PURE__ */ ie(
|
|
4381
4381
|
"div",
|
|
4382
4382
|
{
|
|
4383
4383
|
className: "flex items-center flex-wrap gap-3",
|
|
@@ -4401,7 +4401,7 @@ function _ee({
|
|
|
4401
4401
|
g.value
|
|
4402
4402
|
);
|
|
4403
4403
|
}) }) }),
|
|
4404
|
-
/* @__PURE__ */
|
|
4404
|
+
/* @__PURE__ */ ie("div", { className: "block md:hidden relative", children: [
|
|
4405
4405
|
/* @__PURE__ */ E(
|
|
4406
4406
|
"select",
|
|
4407
4407
|
{
|
|
@@ -4451,7 +4451,7 @@ function Dee({
|
|
|
4451
4451
|
children: r,
|
|
4452
4452
|
textColorStyle: o
|
|
4453
4453
|
}) {
|
|
4454
|
-
return /* @__PURE__ */
|
|
4454
|
+
return /* @__PURE__ */ ie("div", { className: "flex flex-col h-full", children: [
|
|
4455
4455
|
e && /* @__PURE__ */ E("header", { className: "flex h-20 shrink-0 items-center gap-2 transition-[width,height] ease-linear group-has-[[data-collapsible=icon]]/sidebar-wrapper:h-12 w-full", children: /* @__PURE__ */ E("div", { className: "flex items-center w-full", children: e }) }),
|
|
4456
4456
|
/* @__PURE__ */ E(
|
|
4457
4457
|
"div",
|
|
@@ -4594,7 +4594,7 @@ function BG({
|
|
|
4594
4594
|
[Ke.panelSize]: parseFloat("" + B.flexGrow).toFixed(1)
|
|
4595
4595
|
});
|
|
4596
4596
|
}
|
|
4597
|
-
const hs =
|
|
4597
|
+
const hs = sc((e, t) => br(BG, {
|
|
4598
4598
|
...e,
|
|
4599
4599
|
forwardedRef: t
|
|
4600
4600
|
}));
|
|
@@ -4933,7 +4933,7 @@ function Rs({
|
|
|
4933
4933
|
r = s;
|
|
4934
4934
|
return r = Math.min(i, r), r = parseFloat(r.toFixed(xD)), r;
|
|
4935
4935
|
}
|
|
4936
|
-
function
|
|
4936
|
+
function Lc({
|
|
4937
4937
|
delta: e,
|
|
4938
4938
|
initialLayout: t,
|
|
4939
4939
|
panelConstraints: r,
|
|
@@ -5161,7 +5161,7 @@ function $ee({
|
|
|
5161
5161
|
minSize: S = 0
|
|
5162
5162
|
} = A.constraints;
|
|
5163
5163
|
if (C != null && k) {
|
|
5164
|
-
const O =
|
|
5164
|
+
const O = Lc({
|
|
5165
5165
|
delta: Mt(C, x) ? S - x : x - C,
|
|
5166
5166
|
initialLayout: o,
|
|
5167
5167
|
panelConstraints: c.map((T) => T.constraints),
|
|
@@ -5425,10 +5425,10 @@ function mP({
|
|
|
5425
5425
|
}
|
|
5426
5426
|
return r;
|
|
5427
5427
|
}
|
|
5428
|
-
const ste = 100,
|
|
5429
|
-
getItem: (e) => (yP(
|
|
5428
|
+
const ste = 100, Rc = {
|
|
5429
|
+
getItem: (e) => (yP(Rc), Rc.getItem(e)),
|
|
5430
5430
|
setItem: (e, t) => {
|
|
5431
|
-
yP(
|
|
5431
|
+
yP(Rc), Rc.setItem(e, t);
|
|
5432
5432
|
}
|
|
5433
5433
|
}, wP = {};
|
|
5434
5434
|
function $G({
|
|
@@ -5440,7 +5440,7 @@ function $G({
|
|
|
5440
5440
|
id: n = null,
|
|
5441
5441
|
onLayout: i = null,
|
|
5442
5442
|
keyboardResizeBy: s = null,
|
|
5443
|
-
storage: c =
|
|
5443
|
+
storage: c = Rc,
|
|
5444
5444
|
style: l,
|
|
5445
5445
|
tagName: u = "div",
|
|
5446
5446
|
...p
|
|
@@ -5521,7 +5521,7 @@ function $G({
|
|
|
5521
5521
|
} = so(le, R, re);
|
|
5522
5522
|
if (De(ve != null, `Panel size not found for panel "${R.id}"`), !Er(ve, he)) {
|
|
5523
5523
|
C.current.set(R.id, ve);
|
|
5524
|
-
const Se = Ns(le, R) === le.length - 1 ? ve - he : he - ve, xe =
|
|
5524
|
+
const Se = Ns(le, R) === le.length - 1 ? ve - he : he - ve, xe = Lc({
|
|
5525
5525
|
delta: Se,
|
|
5526
5526
|
initialLayout: re,
|
|
5527
5527
|
panelConstraints: ce,
|
|
@@ -5547,7 +5547,7 @@ function $G({
|
|
|
5547
5547
|
pivotIndices: Se
|
|
5548
5548
|
} = so(ce, R, le), xe = K ?? pe;
|
|
5549
5549
|
if (Er(se, ve)) {
|
|
5550
|
-
const M = C.current.get(R.id), ae = M != null && M >= xe ? M : xe, j = Ns(ce, R) === ce.length - 1 ? se - ae : ae - se, z =
|
|
5550
|
+
const M = C.current.get(R.id), ae = M != null && M >= xe ? M : xe, j = Ns(ce, R) === ce.length - 1 ? se - ae : ae - se, z = Lc({
|
|
5551
5551
|
delta: j,
|
|
5552
5552
|
initialLayout: le,
|
|
5553
5553
|
panelConstraints: he,
|
|
@@ -5660,7 +5660,7 @@ function $G({
|
|
|
5660
5660
|
let z = tte(ce, R, ve, se, Se, he);
|
|
5661
5661
|
const Y = ve === "horizontal";
|
|
5662
5662
|
Y && K && (z = -z);
|
|
5663
|
-
const de = ae.map((me) => me.constraints), ue =
|
|
5663
|
+
const de = ae.map((me) => me.constraints), ue = Lc({
|
|
5664
5664
|
delta: z,
|
|
5665
5665
|
initialLayout: $ ?? M,
|
|
5666
5666
|
panelConstraints: de,
|
|
@@ -5681,7 +5681,7 @@ function $G({
|
|
|
5681
5681
|
pivotIndices: se
|
|
5682
5682
|
} = so(ce, R, le);
|
|
5683
5683
|
De(ve != null, `Panel size not found for panel "${R.id}"`);
|
|
5684
|
-
const Se = Ns(ce, R) === ce.length - 1 ? ve - K : K - ve, xe =
|
|
5684
|
+
const Se = Ns(ce, R) === ce.length - 1 ? ve - K : K - ve, xe = Lc({
|
|
5685
5685
|
delta: Se,
|
|
5686
5686
|
initialLayout: le,
|
|
5687
5687
|
panelConstraints: he,
|
|
@@ -5773,7 +5773,7 @@ function $G({
|
|
|
5773
5773
|
[Ke.groupId]: g
|
|
5774
5774
|
}));
|
|
5775
5775
|
}
|
|
5776
|
-
const G7 =
|
|
5776
|
+
const G7 = sc((e, t) => br($G, {
|
|
5777
5777
|
...e,
|
|
5778
5778
|
forwardedRef: t
|
|
5779
5779
|
}));
|
|
@@ -5974,7 +5974,7 @@ function dte({
|
|
|
5974
5974
|
"w-full h-full max-w-full max-h-full min-h-0 min-w-0 overflow-hidden",
|
|
5975
5975
|
e
|
|
5976
5976
|
),
|
|
5977
|
-
children: /* @__PURE__ */
|
|
5977
|
+
children: /* @__PURE__ */ ie(G7, { direction: "horizontal", className: "w-full h-full", children: [
|
|
5978
5978
|
/* @__PURE__ */ E(hs, { defaultSize: 37, minSize: 20, order: 1, children: /* @__PURE__ */ E("div", { className: "h-full w-full", children: /* @__PURE__ */ E("div", { className: "flex-1 flex flex-col min-h-0 h-full", children: t }) }) }),
|
|
5979
5979
|
/* @__PURE__ */ E(W7, { className: "w-0 relative group flex-shrink-0", children: /* @__PURE__ */ E("div", { className: "absolute inset-y-0 left-1/2 -translate-x-1/2 w-2 -ml-0.5 group-hover:bg-blue-400/20 transition-colors flex justify-center items-center", children: /* @__PURE__ */ E("div", { className: "h-full w-px group-hover:bg-blue-400 transition-colors" }) }) }),
|
|
5980
5980
|
/* @__PURE__ */ E(hs, { defaultSize: 63, minSize: 40, order: 2, children: /* @__PURE__ */ E("div", { className: "h-full w-full", children: /* @__PURE__ */ E("div", { className: "flex-1 flex flex-col min-h-0 h-full", children: r }) }) })
|
|
@@ -6180,7 +6180,7 @@ SD.prototype.defined = !0;
|
|
|
6180
6180
|
function xP(e, t, r) {
|
|
6181
6181
|
r && (e[t] = r);
|
|
6182
6182
|
}
|
|
6183
|
-
function
|
|
6183
|
+
function dc(e) {
|
|
6184
6184
|
const t = {}, r = {};
|
|
6185
6185
|
for (const [o, a] of Object.entries(e.properties)) {
|
|
6186
6186
|
const n = new SD(
|
|
@@ -6193,7 +6193,7 @@ function lc(e) {
|
|
|
6193
6193
|
}
|
|
6194
6194
|
return new Td(t, r, e.space);
|
|
6195
6195
|
}
|
|
6196
|
-
const oW =
|
|
6196
|
+
const oW = dc({
|
|
6197
6197
|
properties: {
|
|
6198
6198
|
ariaActiveDescendant: null,
|
|
6199
6199
|
ariaAtomic: ot,
|
|
@@ -6255,7 +6255,7 @@ function aW(e, t) {
|
|
|
6255
6255
|
function nW(e, t) {
|
|
6256
6256
|
return aW(e, t.toLowerCase());
|
|
6257
6257
|
}
|
|
6258
|
-
const yte =
|
|
6258
|
+
const yte = dc({
|
|
6259
6259
|
attributes: {
|
|
6260
6260
|
acceptcharset: "accept-charset",
|
|
6261
6261
|
classname: "class",
|
|
@@ -6616,7 +6616,7 @@ const yte = lc({
|
|
|
6616
6616
|
},
|
|
6617
6617
|
space: "html",
|
|
6618
6618
|
transform: nW
|
|
6619
|
-
}), mte =
|
|
6619
|
+
}), mte = dc({
|
|
6620
6620
|
attributes: {
|
|
6621
6621
|
accentHeight: "accent-height",
|
|
6622
6622
|
alignmentBaseline: "alignment-baseline",
|
|
@@ -7175,7 +7175,7 @@ const yte = lc({
|
|
|
7175
7175
|
},
|
|
7176
7176
|
space: "svg",
|
|
7177
7177
|
transform: aW
|
|
7178
|
-
}), iW =
|
|
7178
|
+
}), iW = dc({
|
|
7179
7179
|
properties: {
|
|
7180
7180
|
xLinkActuate: null,
|
|
7181
7181
|
xLinkArcRole: null,
|
|
@@ -7189,12 +7189,12 @@ const yte = lc({
|
|
|
7189
7189
|
transform(e, t) {
|
|
7190
7190
|
return "xlink:" + t.slice(5).toLowerCase();
|
|
7191
7191
|
}
|
|
7192
|
-
}), sW =
|
|
7192
|
+
}), sW = dc({
|
|
7193
7193
|
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
7194
7194
|
properties: { xmlnsXLink: null, xmlns: null },
|
|
7195
7195
|
space: "xmlns",
|
|
7196
7196
|
transform: nW
|
|
7197
|
-
}), cW =
|
|
7197
|
+
}), cW = dc({
|
|
7198
7198
|
properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
|
|
7199
7199
|
space: "xml",
|
|
7200
7200
|
transform(e, t) {
|
|
@@ -7370,10 +7370,10 @@ function Cte() {
|
|
|
7370
7370
|
}
|
|
7371
7371
|
return Cs;
|
|
7372
7372
|
}
|
|
7373
|
-
var
|
|
7373
|
+
var xc = {}, MP;
|
|
7374
7374
|
function Ite() {
|
|
7375
|
-
if (MP) return
|
|
7376
|
-
MP = 1, Object.defineProperty(
|
|
7375
|
+
if (MP) return xc;
|
|
7376
|
+
MP = 1, Object.defineProperty(xc, "__esModule", { value: !0 }), xc.camelCase = void 0;
|
|
7377
7377
|
var e = /^--[a-zA-Z0-9_-]+$/, t = /-([a-z])/g, r = /^[^-]+$/, o = /^-(webkit|moz|ms|o|khtml)-/, a = /^-(ms)-/, n = function(l) {
|
|
7378
7378
|
return !l || r.test(l) || e.test(l);
|
|
7379
7379
|
}, i = function(l, u) {
|
|
@@ -7383,13 +7383,13 @@ function Ite() {
|
|
|
7383
7383
|
}, c = function(l, u) {
|
|
7384
7384
|
return u === void 0 && (u = {}), n(l) ? l : (l = l.toLowerCase(), u.reactCompat ? l = l.replace(a, s) : l = l.replace(o, s), l.replace(t, i));
|
|
7385
7385
|
};
|
|
7386
|
-
return
|
|
7386
|
+
return xc.camelCase = c, xc;
|
|
7387
7387
|
}
|
|
7388
|
-
var
|
|
7388
|
+
var Ec, TP;
|
|
7389
7389
|
function Ste() {
|
|
7390
|
-
if (TP) return
|
|
7390
|
+
if (TP) return Ec;
|
|
7391
7391
|
TP = 1;
|
|
7392
|
-
var e =
|
|
7392
|
+
var e = Ec && Ec.__importDefault || function(a) {
|
|
7393
7393
|
return a && a.__esModule ? a : { default: a };
|
|
7394
7394
|
}, t = e(Cte()), r = Ite();
|
|
7395
7395
|
function o(a, n) {
|
|
@@ -7398,7 +7398,7 @@ function Ste() {
|
|
|
7398
7398
|
s && c && (i[(0, r.camelCase)(s, n)] = c);
|
|
7399
7399
|
}), i;
|
|
7400
7400
|
}
|
|
7401
|
-
return o.default = o,
|
|
7401
|
+
return o.default = o, Ec = o, Ec;
|
|
7402
7402
|
}
|
|
7403
7403
|
var Mte = Ste();
|
|
7404
7404
|
const Tte = /* @__PURE__ */ Z7(Mte), X7 = lW("end"), yr = lW("start");
|
|
@@ -7419,7 +7419,7 @@ function Nte(e) {
|
|
|
7419
7419
|
if (t && r)
|
|
7420
7420
|
return { start: t, end: r };
|
|
7421
7421
|
}
|
|
7422
|
-
function
|
|
7422
|
+
function Pc(e) {
|
|
7423
7423
|
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? NP(e.position) : "start" in e || "end" in e ? NP(e) : "line" in e || "column" in e ? x_(e) : "";
|
|
7424
7424
|
}
|
|
7425
7425
|
function x_(e) {
|
|
@@ -7502,7 +7502,7 @@ class bt extends Error {
|
|
|
7502
7502
|
c && (n.place = c.position);
|
|
7503
7503
|
}
|
|
7504
7504
|
const s = n.place && "start" in n.place ? n.place.start : n.place;
|
|
7505
|
-
this.ancestors = n.ancestors || void 0, this.cause = n.cause || void 0, this.column = s ? s.column : void 0, this.fatal = void 0, this.file = "", this.message = a, this.line = s ? s.line : void 0, this.name =
|
|
7505
|
+
this.ancestors = n.ancestors || void 0, this.cause = n.cause || void 0, this.column = s ? s.column : void 0, this.fatal = void 0, this.file = "", this.message = a, this.line = s ? s.line : void 0, this.name = Pc(n.place) || "1:1", this.place = n.place || void 0, this.reason = this.message, this.ruleId = n.ruleId || void 0, this.source = n.source || void 0, this.stack = i && n.cause && typeof n.cause.stack == "string" ? n.cause.stack : "", this.actual = void 0, this.expected = void 0, this.note = void 0, this.url = void 0;
|
|
7506
7506
|
}
|
|
7507
7507
|
}
|
|
7508
7508
|
bt.prototype.file = "";
|
|
@@ -8182,7 +8182,7 @@ function oo(e) {
|
|
|
8182
8182
|
return r !== null && r > -1 && e.test(String.fromCharCode(r));
|
|
8183
8183
|
}
|
|
8184
8184
|
}
|
|
8185
|
-
function
|
|
8185
|
+
function lc(e) {
|
|
8186
8186
|
const t = [];
|
|
8187
8187
|
let r = -1, o = 0, a = 0;
|
|
8188
8188
|
for (; ++r < e.length; ) {
|
|
@@ -8364,7 +8364,7 @@ function cre(e) {
|
|
|
8364
8364
|
function dre(e, t, r) {
|
|
8365
8365
|
return Fe(e, e.attempt(this.parser.constructs.document, t, r), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
8366
8366
|
}
|
|
8367
|
-
function
|
|
8367
|
+
function ec(e) {
|
|
8368
8368
|
if (e === null || qe(e) || bs(e))
|
|
8369
8369
|
return 1;
|
|
8370
8370
|
if (K7(e))
|
|
@@ -8440,7 +8440,7 @@ function lre(e, t) {
|
|
|
8440
8440
|
return e;
|
|
8441
8441
|
}
|
|
8442
8442
|
function ure(e, t) {
|
|
8443
|
-
const r = this.parser.constructs.attentionMarkers.null, o = this.previous, a =
|
|
8443
|
+
const r = this.parser.constructs.attentionMarkers.null, o = this.previous, a = ec(o);
|
|
8444
8444
|
let n;
|
|
8445
8445
|
return i;
|
|
8446
8446
|
function i(c) {
|
|
@@ -8449,7 +8449,7 @@ function ure(e, t) {
|
|
|
8449
8449
|
function s(c) {
|
|
8450
8450
|
if (c === n)
|
|
8451
8451
|
return e.consume(c), s;
|
|
8452
|
-
const l = e.exit("attentionSequence"), u =
|
|
8452
|
+
const l = e.exit("attentionSequence"), u = ec(c), p = !u || u === 2 && a || r.includes(c), g = !a || a === 2 && u || r.includes(o);
|
|
8453
8453
|
return l._open = !!(n === 42 ? p : p && (a || !g)), l._close = !!(n === 42 ? g : g && (u || !p)), t(c);
|
|
8454
8454
|
}
|
|
8455
8455
|
}
|
|
@@ -8831,7 +8831,7 @@ class Tre {
|
|
|
8831
8831
|
const a = r || 0;
|
|
8832
8832
|
this.setCursor(Math.trunc(t));
|
|
8833
8833
|
const n = this.right.splice(this.right.length - a, Number.POSITIVE_INFINITY);
|
|
8834
|
-
return o &&
|
|
8834
|
+
return o && Cc(this.left, o), n.reverse();
|
|
8835
8835
|
}
|
|
8836
8836
|
/**
|
|
8837
8837
|
* Remove and return the highest-numbered item in the array, so
|
|
@@ -8866,7 +8866,7 @@ class Tre {
|
|
|
8866
8866
|
* Nothing.
|
|
8867
8867
|
*/
|
|
8868
8868
|
pushMany(t) {
|
|
8869
|
-
this.setCursor(Number.POSITIVE_INFINITY),
|
|
8869
|
+
this.setCursor(Number.POSITIVE_INFINITY), Cc(this.left, t);
|
|
8870
8870
|
}
|
|
8871
8871
|
/**
|
|
8872
8872
|
* Inserts a single item to the low-numbered side of the array;
|
|
@@ -8890,7 +8890,7 @@ class Tre {
|
|
|
8890
8890
|
* Nothing.
|
|
8891
8891
|
*/
|
|
8892
8892
|
unshiftMany(t) {
|
|
8893
|
-
this.setCursor(0),
|
|
8893
|
+
this.setCursor(0), Cc(this.right, t.reverse());
|
|
8894
8894
|
}
|
|
8895
8895
|
/**
|
|
8896
8896
|
* Move the cursor to a specific position in the array. Requires
|
|
@@ -8908,14 +8908,14 @@ class Tre {
|
|
|
8908
8908
|
if (!(t === this.left.length || t > this.left.length && this.right.length === 0 || t < 0 && this.left.length === 0))
|
|
8909
8909
|
if (t < this.left.length) {
|
|
8910
8910
|
const r = this.left.splice(t, Number.POSITIVE_INFINITY);
|
|
8911
|
-
|
|
8911
|
+
Cc(this.right, r.reverse());
|
|
8912
8912
|
} else {
|
|
8913
8913
|
const r = this.right.splice(this.left.length + this.right.length - t, Number.POSITIVE_INFINITY);
|
|
8914
|
-
|
|
8914
|
+
Cc(this.left, r.reverse());
|
|
8915
8915
|
}
|
|
8916
8916
|
}
|
|
8917
8917
|
}
|
|
8918
|
-
function
|
|
8918
|
+
function Cc(e, t) {
|
|
8919
8919
|
let r = 0;
|
|
8920
8920
|
if (t.length < 1e4)
|
|
8921
8921
|
e.push(...t);
|
|
@@ -9088,7 +9088,7 @@ function EW(e, t, r, o, a, n) {
|
|
|
9088
9088
|
return g === i || g === 92 ? (e.consume(g), u) : u(g);
|
|
9089
9089
|
}
|
|
9090
9090
|
}
|
|
9091
|
-
function
|
|
9091
|
+
function zc(e, t) {
|
|
9092
9092
|
let r;
|
|
9093
9093
|
return o;
|
|
9094
9094
|
function o(a) {
|
|
@@ -9125,7 +9125,7 @@ function zre(e, t, r) {
|
|
|
9125
9125
|
return a = Gt(o.sliceSerialize(o.events[o.events.length - 1][1]).slice(1, -1)), h === 58 ? (e.enter("definitionMarker"), e.consume(h), e.exit("definitionMarker"), c) : r(h);
|
|
9126
9126
|
}
|
|
9127
9127
|
function c(h) {
|
|
9128
|
-
return qe(h) ?
|
|
9128
|
+
return qe(h) ? zc(e, l)(h) : l(h);
|
|
9129
9129
|
}
|
|
9130
9130
|
function l(h) {
|
|
9131
9131
|
return kW(
|
|
@@ -9153,7 +9153,7 @@ function zre(e, t, r) {
|
|
|
9153
9153
|
function Fre(e, t, r) {
|
|
9154
9154
|
return o;
|
|
9155
9155
|
function o(s) {
|
|
9156
|
-
return qe(s) ?
|
|
9156
|
+
return qe(s) ? zc(e, a)(s) : r(s);
|
|
9157
9157
|
}
|
|
9158
9158
|
function a(s) {
|
|
9159
9159
|
return EW(e, n, r, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(s);
|
|
@@ -9614,13 +9614,13 @@ function soe(e, t, r) {
|
|
|
9614
9614
|
return e.enter("resource"), e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), a;
|
|
9615
9615
|
}
|
|
9616
9616
|
function a(p) {
|
|
9617
|
-
return qe(p) ?
|
|
9617
|
+
return qe(p) ? zc(e, n)(p) : n(p);
|
|
9618
9618
|
}
|
|
9619
9619
|
function n(p) {
|
|
9620
9620
|
return p === 41 ? u(p) : kW(e, i, s, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(p);
|
|
9621
9621
|
}
|
|
9622
9622
|
function i(p) {
|
|
9623
|
-
return qe(p) ?
|
|
9623
|
+
return qe(p) ? zc(e, c)(p) : u(p);
|
|
9624
9624
|
}
|
|
9625
9625
|
function s(p) {
|
|
9626
9626
|
return r(p);
|
|
@@ -9629,7 +9629,7 @@ function soe(e, t, r) {
|
|
|
9629
9629
|
return p === 34 || p === 39 || p === 40 ? EW(e, l, r, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(p) : u(p);
|
|
9630
9630
|
}
|
|
9631
9631
|
function l(p) {
|
|
9632
|
-
return qe(p) ?
|
|
9632
|
+
return qe(p) ? zc(e, u)(p) : u(p);
|
|
9633
9633
|
}
|
|
9634
9634
|
function u(p) {
|
|
9635
9635
|
return p === 41 ? (e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), e.exit("resource"), t) : r(p);
|
|
@@ -10436,12 +10436,12 @@ function Koe(e) {
|
|
|
10436
10436
|
const r = {};
|
|
10437
10437
|
return o;
|
|
10438
10438
|
function o(X) {
|
|
10439
|
-
let
|
|
10439
|
+
let ne = {
|
|
10440
10440
|
type: "root",
|
|
10441
10441
|
children: []
|
|
10442
10442
|
};
|
|
10443
10443
|
const fe = {
|
|
10444
|
-
stack: [
|
|
10444
|
+
stack: [ne],
|
|
10445
10445
|
tokenStack: [],
|
|
10446
10446
|
config: t,
|
|
10447
10447
|
enter: s,
|
|
@@ -10469,7 +10469,7 @@ function Koe(e) {
|
|
|
10469
10469
|
const je = fe.tokenStack[fe.tokenStack.length - 1];
|
|
10470
10470
|
(je[1] || UP).call(fe, void 0, je[0]);
|
|
10471
10471
|
}
|
|
10472
|
-
for (
|
|
10472
|
+
for (ne.position = {
|
|
10473
10473
|
start: Pr(X.length > 0 ? X[0][1].start : {
|
|
10474
10474
|
line: 1,
|
|
10475
10475
|
column: 1,
|
|
@@ -10481,11 +10481,11 @@ function Koe(e) {
|
|
|
10481
10481
|
offset: 0
|
|
10482
10482
|
})
|
|
10483
10483
|
}, Be = -1; ++Be < t.transforms.length; )
|
|
10484
|
-
|
|
10485
|
-
return
|
|
10484
|
+
ne = t.transforms[Be](ne) || ne;
|
|
10485
|
+
return ne;
|
|
10486
10486
|
}
|
|
10487
|
-
function a(X,
|
|
10488
|
-
let Ee =
|
|
10487
|
+
function a(X, ne, fe) {
|
|
10488
|
+
let Ee = ne - 1, Be = -1, je = !1, $e, He, st, nt;
|
|
10489
10489
|
for (; ++Ee <= fe; ) {
|
|
10490
10490
|
const Qe = X[Ee];
|
|
10491
10491
|
switch (Qe[1].type) {
|
|
@@ -10532,12 +10532,12 @@ function Koe(e) {
|
|
|
10532
10532
|
}
|
|
10533
10533
|
}
|
|
10534
10534
|
}
|
|
10535
|
-
return X[
|
|
10535
|
+
return X[ne][1]._spread = je, fe;
|
|
10536
10536
|
}
|
|
10537
|
-
function n(X,
|
|
10537
|
+
function n(X, ne) {
|
|
10538
10538
|
return fe;
|
|
10539
10539
|
function fe(Ee) {
|
|
10540
|
-
s.call(this, X(Ee), Ee),
|
|
10540
|
+
s.call(this, X(Ee), Ee), ne && ne.call(this, Ee);
|
|
10541
10541
|
}
|
|
10542
10542
|
}
|
|
10543
10543
|
function i() {
|
|
@@ -10546,24 +10546,24 @@ function Koe(e) {
|
|
|
10546
10546
|
children: []
|
|
10547
10547
|
});
|
|
10548
10548
|
}
|
|
10549
|
-
function s(X,
|
|
10550
|
-
this.stack[this.stack.length - 1].children.push(X), this.stack.push(X), this.tokenStack.push([
|
|
10551
|
-
start: Pr(
|
|
10549
|
+
function s(X, ne, fe) {
|
|
10550
|
+
this.stack[this.stack.length - 1].children.push(X), this.stack.push(X), this.tokenStack.push([ne, fe || void 0]), X.position = {
|
|
10551
|
+
start: Pr(ne.start),
|
|
10552
10552
|
// @ts-expect-error: `end` will be patched later.
|
|
10553
10553
|
end: void 0
|
|
10554
10554
|
};
|
|
10555
10555
|
}
|
|
10556
10556
|
function c(X) {
|
|
10557
|
-
return
|
|
10558
|
-
function
|
|
10557
|
+
return ne;
|
|
10558
|
+
function ne(fe) {
|
|
10559
10559
|
X && X.call(this, fe), l.call(this, fe);
|
|
10560
10560
|
}
|
|
10561
10561
|
}
|
|
10562
|
-
function l(X,
|
|
10562
|
+
function l(X, ne) {
|
|
10563
10563
|
const fe = this.stack.pop(), Ee = this.tokenStack.pop();
|
|
10564
10564
|
if (Ee)
|
|
10565
|
-
Ee[0].type !== X.type && (
|
|
10566
|
-
else throw new Error("Cannot close `" + X.type + "` (" +
|
|
10565
|
+
Ee[0].type !== X.type && (ne ? ne.call(this, X, Ee[0]) : (Ee[1] || UP).call(this, X, Ee[0]));
|
|
10566
|
+
else throw new Error("Cannot close `" + X.type + "` (" + Pc({
|
|
10567
10567
|
start: X.start,
|
|
10568
10568
|
end: X.end
|
|
10569
10569
|
}) + "): it’s not open");
|
|
@@ -10577,54 +10577,54 @@ function Koe(e) {
|
|
|
10577
10577
|
}
|
|
10578
10578
|
function g(X) {
|
|
10579
10579
|
if (this.data.expectingFirstListItemValue) {
|
|
10580
|
-
const
|
|
10581
|
-
|
|
10580
|
+
const ne = this.stack[this.stack.length - 2];
|
|
10581
|
+
ne.start = Number.parseInt(this.sliceSerialize(X), 10), this.data.expectingFirstListItemValue = void 0;
|
|
10582
10582
|
}
|
|
10583
10583
|
}
|
|
10584
10584
|
function h() {
|
|
10585
|
-
const X = this.resume(),
|
|
10586
|
-
|
|
10585
|
+
const X = this.resume(), ne = this.stack[this.stack.length - 1];
|
|
10586
|
+
ne.lang = X;
|
|
10587
10587
|
}
|
|
10588
10588
|
function f() {
|
|
10589
|
-
const X = this.resume(),
|
|
10590
|
-
|
|
10589
|
+
const X = this.resume(), ne = this.stack[this.stack.length - 1];
|
|
10590
|
+
ne.meta = X;
|
|
10591
10591
|
}
|
|
10592
10592
|
function b() {
|
|
10593
10593
|
this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
|
|
10594
10594
|
}
|
|
10595
10595
|
function m() {
|
|
10596
|
-
const X = this.resume(),
|
|
10597
|
-
|
|
10596
|
+
const X = this.resume(), ne = this.stack[this.stack.length - 1];
|
|
10597
|
+
ne.value = X.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
|
|
10598
10598
|
}
|
|
10599
10599
|
function y() {
|
|
10600
|
-
const X = this.resume(),
|
|
10601
|
-
|
|
10600
|
+
const X = this.resume(), ne = this.stack[this.stack.length - 1];
|
|
10601
|
+
ne.value = X.replace(/(\r?\n|\r)$/g, "");
|
|
10602
10602
|
}
|
|
10603
10603
|
function w(X) {
|
|
10604
|
-
const
|
|
10605
|
-
fe.label =
|
|
10604
|
+
const ne = this.resume(), fe = this.stack[this.stack.length - 1];
|
|
10605
|
+
fe.label = ne, fe.identifier = Gt(this.sliceSerialize(X)).toLowerCase();
|
|
10606
10606
|
}
|
|
10607
10607
|
function A() {
|
|
10608
|
-
const X = this.resume(),
|
|
10609
|
-
|
|
10608
|
+
const X = this.resume(), ne = this.stack[this.stack.length - 1];
|
|
10609
|
+
ne.title = X;
|
|
10610
10610
|
}
|
|
10611
10611
|
function C() {
|
|
10612
|
-
const X = this.resume(),
|
|
10613
|
-
|
|
10612
|
+
const X = this.resume(), ne = this.stack[this.stack.length - 1];
|
|
10613
|
+
ne.url = X;
|
|
10614
10614
|
}
|
|
10615
10615
|
function x(X) {
|
|
10616
|
-
const
|
|
10617
|
-
if (!
|
|
10616
|
+
const ne = this.stack[this.stack.length - 1];
|
|
10617
|
+
if (!ne.depth) {
|
|
10618
10618
|
const fe = this.sliceSerialize(X).length;
|
|
10619
|
-
|
|
10619
|
+
ne.depth = fe;
|
|
10620
10620
|
}
|
|
10621
10621
|
}
|
|
10622
10622
|
function k() {
|
|
10623
10623
|
this.data.setextHeadingSlurpLineEnding = !0;
|
|
10624
10624
|
}
|
|
10625
10625
|
function S(X) {
|
|
10626
|
-
const
|
|
10627
|
-
|
|
10626
|
+
const ne = this.stack[this.stack.length - 1];
|
|
10627
|
+
ne.depth = this.sliceSerialize(X).codePointAt(0) === 61 ? 1 : 2;
|
|
10628
10628
|
}
|
|
10629
10629
|
function O() {
|
|
10630
10630
|
this.data.setextHeadingSlurpLineEnding = void 0;
|
|
@@ -10639,38 +10639,38 @@ function Koe(e) {
|
|
|
10639
10639
|
}, fe.push(Ee)), this.stack.push(Ee);
|
|
10640
10640
|
}
|
|
10641
10641
|
function N(X) {
|
|
10642
|
-
const
|
|
10643
|
-
|
|
10642
|
+
const ne = this.stack.pop();
|
|
10643
|
+
ne.value += this.sliceSerialize(X), ne.position.end = Pr(X.end);
|
|
10644
10644
|
}
|
|
10645
10645
|
function q(X) {
|
|
10646
|
-
const
|
|
10646
|
+
const ne = this.stack[this.stack.length - 1];
|
|
10647
10647
|
if (this.data.atHardBreak) {
|
|
10648
|
-
const fe =
|
|
10648
|
+
const fe = ne.children[ne.children.length - 1];
|
|
10649
10649
|
fe.position.end = Pr(X.end), this.data.atHardBreak = void 0;
|
|
10650
10650
|
return;
|
|
10651
10651
|
}
|
|
10652
|
-
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(
|
|
10652
|
+
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(ne.type) && (T.call(this, X), N.call(this, X));
|
|
10653
10653
|
}
|
|
10654
10654
|
function L() {
|
|
10655
10655
|
this.data.atHardBreak = !0;
|
|
10656
10656
|
}
|
|
10657
10657
|
function B() {
|
|
10658
|
-
const X = this.resume(),
|
|
10659
|
-
|
|
10658
|
+
const X = this.resume(), ne = this.stack[this.stack.length - 1];
|
|
10659
|
+
ne.value = X;
|
|
10660
10660
|
}
|
|
10661
10661
|
function I() {
|
|
10662
|
-
const X = this.resume(),
|
|
10663
|
-
|
|
10662
|
+
const X = this.resume(), ne = this.stack[this.stack.length - 1];
|
|
10663
|
+
ne.value = X;
|
|
10664
10664
|
}
|
|
10665
10665
|
function F() {
|
|
10666
|
-
const X = this.resume(),
|
|
10667
|
-
|
|
10666
|
+
const X = this.resume(), ne = this.stack[this.stack.length - 1];
|
|
10667
|
+
ne.value = X;
|
|
10668
10668
|
}
|
|
10669
10669
|
function J() {
|
|
10670
10670
|
const X = this.stack[this.stack.length - 1];
|
|
10671
10671
|
if (this.data.inReference) {
|
|
10672
|
-
const
|
|
10673
|
-
X.type += "Reference", X.referenceType =
|
|
10672
|
+
const ne = this.data.referenceType || "shortcut";
|
|
10673
|
+
X.type += "Reference", X.referenceType = ne, delete X.url, delete X.title;
|
|
10674
10674
|
} else
|
|
10675
10675
|
delete X.identifier, delete X.label;
|
|
10676
10676
|
this.data.referenceType = void 0;
|
|
@@ -10678,31 +10678,31 @@ function Koe(e) {
|
|
|
10678
10678
|
function W() {
|
|
10679
10679
|
const X = this.stack[this.stack.length - 1];
|
|
10680
10680
|
if (this.data.inReference) {
|
|
10681
|
-
const
|
|
10682
|
-
X.type += "Reference", X.referenceType =
|
|
10681
|
+
const ne = this.data.referenceType || "shortcut";
|
|
10682
|
+
X.type += "Reference", X.referenceType = ne, delete X.url, delete X.title;
|
|
10683
10683
|
} else
|
|
10684
10684
|
delete X.identifier, delete X.label;
|
|
10685
10685
|
this.data.referenceType = void 0;
|
|
10686
10686
|
}
|
|
10687
10687
|
function Z(X) {
|
|
10688
|
-
const
|
|
10689
|
-
fe.label = Yoe(
|
|
10688
|
+
const ne = this.sliceSerialize(X), fe = this.stack[this.stack.length - 2];
|
|
10689
|
+
fe.label = Yoe(ne), fe.identifier = Gt(ne).toLowerCase();
|
|
10690
10690
|
}
|
|
10691
10691
|
function Q() {
|
|
10692
|
-
const X = this.stack[this.stack.length - 1],
|
|
10692
|
+
const X = this.stack[this.stack.length - 1], ne = this.resume(), fe = this.stack[this.stack.length - 1];
|
|
10693
10693
|
if (this.data.inReference = !0, fe.type === "link") {
|
|
10694
10694
|
const Ee = X.children;
|
|
10695
10695
|
fe.children = Ee;
|
|
10696
10696
|
} else
|
|
10697
|
-
fe.alt =
|
|
10697
|
+
fe.alt = ne;
|
|
10698
10698
|
}
|
|
10699
10699
|
function _() {
|
|
10700
|
-
const X = this.resume(),
|
|
10701
|
-
|
|
10700
|
+
const X = this.resume(), ne = this.stack[this.stack.length - 1];
|
|
10701
|
+
ne.url = X;
|
|
10702
10702
|
}
|
|
10703
10703
|
function H() {
|
|
10704
|
-
const X = this.resume(),
|
|
10705
|
-
|
|
10704
|
+
const X = this.resume(), ne = this.stack[this.stack.length - 1];
|
|
10705
|
+
ne.title = X;
|
|
10706
10706
|
}
|
|
10707
10707
|
function V() {
|
|
10708
10708
|
this.data.inReference = void 0;
|
|
@@ -10711,32 +10711,32 @@ function Koe(e) {
|
|
|
10711
10711
|
this.data.referenceType = "collapsed";
|
|
10712
10712
|
}
|
|
10713
10713
|
function K(X) {
|
|
10714
|
-
const
|
|
10715
|
-
fe.label =
|
|
10714
|
+
const ne = this.resume(), fe = this.stack[this.stack.length - 1];
|
|
10715
|
+
fe.label = ne, fe.identifier = Gt(this.sliceSerialize(X)).toLowerCase(), this.data.referenceType = "full";
|
|
10716
10716
|
}
|
|
10717
10717
|
function re(X) {
|
|
10718
10718
|
this.data.characterReferenceType = X.type;
|
|
10719
10719
|
}
|
|
10720
10720
|
function le(X) {
|
|
10721
|
-
const
|
|
10721
|
+
const ne = this.sliceSerialize(X), fe = this.data.characterReferenceType;
|
|
10722
10722
|
let Ee;
|
|
10723
|
-
fe ? (Ee = yW(
|
|
10723
|
+
fe ? (Ee = yW(ne, fe === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : Ee = RD(ne);
|
|
10724
10724
|
const Be = this.stack[this.stack.length - 1];
|
|
10725
10725
|
Be.value += Ee;
|
|
10726
10726
|
}
|
|
10727
10727
|
function ce(X) {
|
|
10728
|
-
const
|
|
10729
|
-
|
|
10728
|
+
const ne = this.stack.pop();
|
|
10729
|
+
ne.position.end = Pr(X.end);
|
|
10730
10730
|
}
|
|
10731
10731
|
function he(X) {
|
|
10732
10732
|
N.call(this, X);
|
|
10733
|
-
const
|
|
10734
|
-
|
|
10733
|
+
const ne = this.stack[this.stack.length - 1];
|
|
10734
|
+
ne.url = this.sliceSerialize(X);
|
|
10735
10735
|
}
|
|
10736
10736
|
function ve(X) {
|
|
10737
10737
|
N.call(this, X);
|
|
10738
|
-
const
|
|
10739
|
-
|
|
10738
|
+
const ne = this.stack[this.stack.length - 1];
|
|
10739
|
+
ne.url = "mailto:" + this.sliceSerialize(X);
|
|
10740
10740
|
}
|
|
10741
10741
|
function se() {
|
|
10742
10742
|
return {
|
|
@@ -10887,13 +10887,13 @@ function Joe(e, t) {
|
|
|
10887
10887
|
}
|
|
10888
10888
|
}
|
|
10889
10889
|
function UP(e, t) {
|
|
10890
|
-
throw e ? new Error("Cannot close `" + e.type + "` (" +
|
|
10890
|
+
throw e ? new Error("Cannot close `" + e.type + "` (" + Pc({
|
|
10891
10891
|
start: e.start,
|
|
10892
10892
|
end: e.end
|
|
10893
|
-
}) + "): a different token (`" + t.type + "`, " +
|
|
10893
|
+
}) + "): a different token (`" + t.type + "`, " + Pc({
|
|
10894
10894
|
start: t.start,
|
|
10895
10895
|
end: t.end
|
|
10896
|
-
}) + ") is open") : new Error("Cannot close document, a token (`" + t.type + "`, " +
|
|
10896
|
+
}) + ") is open") : new Error("Cannot close document, a token (`" + t.type + "`, " + Pc({
|
|
10897
10897
|
start: t.start,
|
|
10898
10898
|
end: t.end
|
|
10899
10899
|
}) + ") is still open");
|
|
@@ -10958,7 +10958,7 @@ function aae(e, t) {
|
|
|
10958
10958
|
return e.patch(t, r), e.applyData(t, r);
|
|
10959
10959
|
}
|
|
10960
10960
|
function nae(e, t) {
|
|
10961
|
-
const r = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", o = String(t.identifier).toUpperCase(), a =
|
|
10961
|
+
const r = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", o = String(t.identifier).toUpperCase(), a = lc(o.toLowerCase()), n = e.footnoteOrder.indexOf(o);
|
|
10962
10962
|
let i, s = e.footnoteCounts.get(o);
|
|
10963
10963
|
s === void 0 ? (s = 0, e.footnoteOrder.push(o), i = e.footnoteOrder.length) : i = n + 1, s += 1, e.footnoteCounts.set(o, s);
|
|
10964
10964
|
const c = {
|
|
@@ -11010,13 +11010,13 @@ function cae(e, t) {
|
|
|
11010
11010
|
const r = String(t.identifier).toUpperCase(), o = e.definitionById.get(r);
|
|
11011
11011
|
if (!o)
|
|
11012
11012
|
return TW(e, t);
|
|
11013
|
-
const a = { src:
|
|
11013
|
+
const a = { src: lc(o.url || ""), alt: t.alt };
|
|
11014
11014
|
o.title !== null && o.title !== void 0 && (a.title = o.title);
|
|
11015
11015
|
const n = { type: "element", tagName: "img", properties: a, children: [] };
|
|
11016
11016
|
return e.patch(t, n), e.applyData(t, n);
|
|
11017
11017
|
}
|
|
11018
11018
|
function dae(e, t) {
|
|
11019
|
-
const r = { src:
|
|
11019
|
+
const r = { src: lc(t.url) };
|
|
11020
11020
|
t.alt !== null && t.alt !== void 0 && (r.alt = t.alt), t.title !== null && t.title !== void 0 && (r.title = t.title);
|
|
11021
11021
|
const o = { type: "element", tagName: "img", properties: r, children: [] };
|
|
11022
11022
|
return e.patch(t, o), e.applyData(t, o);
|
|
@@ -11036,7 +11036,7 @@ function uae(e, t) {
|
|
|
11036
11036
|
const r = String(t.identifier).toUpperCase(), o = e.definitionById.get(r);
|
|
11037
11037
|
if (!o)
|
|
11038
11038
|
return TW(e, t);
|
|
11039
|
-
const a = { href:
|
|
11039
|
+
const a = { href: lc(o.url || "") };
|
|
11040
11040
|
o.title !== null && o.title !== void 0 && (a.title = o.title);
|
|
11041
11041
|
const n = {
|
|
11042
11042
|
type: "element",
|
|
@@ -11047,7 +11047,7 @@ function uae(e, t) {
|
|
|
11047
11047
|
return e.patch(t, n), e.applyData(t, n);
|
|
11048
11048
|
}
|
|
11049
11049
|
function pae(e, t) {
|
|
11050
|
-
const r = { href:
|
|
11050
|
+
const r = { href: lc(t.url) };
|
|
11051
11051
|
t.title !== null && t.title !== void 0 && (r.title = t.title);
|
|
11052
11052
|
const o = {
|
|
11053
11053
|
type: "element",
|
|
@@ -11263,7 +11263,7 @@ const Cae = {
|
|
|
11263
11263
|
};
|
|
11264
11264
|
function Yd() {
|
|
11265
11265
|
}
|
|
11266
|
-
const LW = -1, $7 = 0,
|
|
11266
|
+
const LW = -1, $7 = 0, Fc = 1, E7 = 2, _D = 3, DD = 4, BD = 5, PD = 6, RW = 7, OW = 8, VP = typeof self == "object" ? self : globalThis, Iae = (e, t) => {
|
|
11267
11267
|
const r = (a, n) => (e.set(n, a), a), o = (a) => {
|
|
11268
11268
|
if (e.has(a))
|
|
11269
11269
|
return e.get(a);
|
|
@@ -11272,7 +11272,7 @@ const LW = -1, $7 = 0, Hc = 1, E7 = 2, _D = 3, DD = 4, BD = 5, PD = 6, RW = 7, O
|
|
|
11272
11272
|
case $7:
|
|
11273
11273
|
case LW:
|
|
11274
11274
|
return r(i, a);
|
|
11275
|
-
case
|
|
11275
|
+
case Fc: {
|
|
11276
11276
|
const s = r([], a);
|
|
11277
11277
|
for (const c of i)
|
|
11278
11278
|
s.push(o(c));
|
|
@@ -11320,14 +11320,14 @@ const LW = -1, $7 = 0, Hc = 1, E7 = 2, _D = 3, DD = 4, BD = 5, PD = 6, RW = 7, O
|
|
|
11320
11320
|
return r(new VP[n](i), a);
|
|
11321
11321
|
};
|
|
11322
11322
|
return o;
|
|
11323
|
-
}, GP = (e) => Iae(/* @__PURE__ */ new Map(), e)(0), Is = "", { toString: Sae } = {}, { keys: Mae } = Object,
|
|
11323
|
+
}, GP = (e) => Iae(/* @__PURE__ */ new Map(), e)(0), Is = "", { toString: Sae } = {}, { keys: Mae } = Object, Ic = (e) => {
|
|
11324
11324
|
const t = typeof e;
|
|
11325
11325
|
if (t !== "object" || !e)
|
|
11326
11326
|
return [$7, t];
|
|
11327
11327
|
const r = Sae.call(e).slice(8, -1);
|
|
11328
11328
|
switch (r) {
|
|
11329
11329
|
case "Array":
|
|
11330
|
-
return [
|
|
11330
|
+
return [Fc, Is];
|
|
11331
11331
|
case "Object":
|
|
11332
11332
|
return [E7, Is];
|
|
11333
11333
|
case "Date":
|
|
@@ -11339,9 +11339,9 @@ const LW = -1, $7 = 0, Hc = 1, E7 = 2, _D = 3, DD = 4, BD = 5, PD = 6, RW = 7, O
|
|
|
11339
11339
|
case "Set":
|
|
11340
11340
|
return [PD, Is];
|
|
11341
11341
|
case "DataView":
|
|
11342
|
-
return [
|
|
11342
|
+
return [Fc, r];
|
|
11343
11343
|
}
|
|
11344
|
-
return r.includes("Array") ? [
|
|
11344
|
+
return r.includes("Array") ? [Fc, r] : r.includes("Error") ? [RW, r] : [E7, r];
|
|
11345
11345
|
}, Zd = ([e, t]) => e === $7 && (t === "function" || t === "symbol"), Tae = (e, t, r, o) => {
|
|
11346
11346
|
const a = (i, s) => {
|
|
11347
11347
|
const c = o.push(i) - 1;
|
|
@@ -11349,7 +11349,7 @@ const LW = -1, $7 = 0, Hc = 1, E7 = 2, _D = 3, DD = 4, BD = 5, PD = 6, RW = 7, O
|
|
|
11349
11349
|
}, n = (i) => {
|
|
11350
11350
|
if (r.has(i))
|
|
11351
11351
|
return r.get(i);
|
|
11352
|
-
let [s, c] =
|
|
11352
|
+
let [s, c] = Ic(i);
|
|
11353
11353
|
switch (s) {
|
|
11354
11354
|
case $7: {
|
|
11355
11355
|
let u = i;
|
|
@@ -11368,7 +11368,7 @@ const LW = -1, $7 = 0, Hc = 1, E7 = 2, _D = 3, DD = 4, BD = 5, PD = 6, RW = 7, O
|
|
|
11368
11368
|
}
|
|
11369
11369
|
return a([s, u], i);
|
|
11370
11370
|
}
|
|
11371
|
-
case
|
|
11371
|
+
case Fc: {
|
|
11372
11372
|
if (c) {
|
|
11373
11373
|
let g = i;
|
|
11374
11374
|
return c === "DataView" ? g = new Uint8Array(i.buffer) : c === "ArrayBuffer" && (g = new Uint8Array(i)), a([c, [...g]], i);
|
|
@@ -11392,7 +11392,7 @@ const LW = -1, $7 = 0, Hc = 1, E7 = 2, _D = 3, DD = 4, BD = 5, PD = 6, RW = 7, O
|
|
|
11392
11392
|
return n(i.toJSON());
|
|
11393
11393
|
const u = [], p = a([s, u], i);
|
|
11394
11394
|
for (const g of Mae(i))
|
|
11395
|
-
(e || !Zd(
|
|
11395
|
+
(e || !Zd(Ic(i[g]))) && u.push([n(g), n(i[g])]);
|
|
11396
11396
|
return p;
|
|
11397
11397
|
}
|
|
11398
11398
|
case _D:
|
|
@@ -11404,13 +11404,13 @@ const LW = -1, $7 = 0, Hc = 1, E7 = 2, _D = 3, DD = 4, BD = 5, PD = 6, RW = 7, O
|
|
|
11404
11404
|
case BD: {
|
|
11405
11405
|
const u = [], p = a([s, u], i);
|
|
11406
11406
|
for (const [g, h] of i)
|
|
11407
|
-
(e || !(Zd(
|
|
11407
|
+
(e || !(Zd(Ic(g)) || Zd(Ic(h)))) && u.push([n(g), n(h)]);
|
|
11408
11408
|
return p;
|
|
11409
11409
|
}
|
|
11410
11410
|
case PD: {
|
|
11411
11411
|
const u = [], p = a([s, u], i);
|
|
11412
11412
|
for (const g of i)
|
|
11413
|
-
(e || !Zd(
|
|
11413
|
+
(e || !Zd(Ic(g))) && u.push(n(g));
|
|
11414
11414
|
return p;
|
|
11415
11415
|
}
|
|
11416
11416
|
}
|
|
@@ -11421,7 +11421,7 @@ const LW = -1, $7 = 0, Hc = 1, E7 = 2, _D = 3, DD = 4, BD = 5, PD = 6, RW = 7, O
|
|
|
11421
11421
|
}, WP = (e, { json: t, lossy: r } = {}) => {
|
|
11422
11422
|
const o = [];
|
|
11423
11423
|
return Tae(!(t || r), !!t, /* @__PURE__ */ new Map(), o)(e), o;
|
|
11424
|
-
},
|
|
11424
|
+
}, tc = typeof structuredClone == "function" ? (
|
|
11425
11425
|
/* c8 ignore start */
|
|
11426
11426
|
(e, t) => t && ("json" in t || "lossy" in t) ? GP(WP(e, t)) : structuredClone(e)
|
|
11427
11427
|
) : (e, t) => GP(WP(e, t));
|
|
@@ -11448,7 +11448,7 @@ function Rae(e) {
|
|
|
11448
11448
|
);
|
|
11449
11449
|
if (!l)
|
|
11450
11450
|
continue;
|
|
11451
|
-
const u = e.all(l), p = String(l.identifier).toUpperCase(), g =
|
|
11451
|
+
const u = e.all(l), p = String(l.identifier).toUpperCase(), g = lc(p.toLowerCase());
|
|
11452
11452
|
let h = 0;
|
|
11453
11453
|
const f = [], b = e.footnoteCounts.get(p);
|
|
11454
11454
|
for (; b !== void 0 && ++h <= b; ) {
|
|
@@ -11490,7 +11490,7 @@ function Rae(e) {
|
|
|
11490
11490
|
type: "element",
|
|
11491
11491
|
tagName: n,
|
|
11492
11492
|
properties: {
|
|
11493
|
-
...
|
|
11493
|
+
...tc(i),
|
|
11494
11494
|
id: "footnote-label"
|
|
11495
11495
|
},
|
|
11496
11496
|
children: [{ type: "text", value: a }]
|
|
@@ -11672,10 +11672,10 @@ function qae(e, t) {
|
|
|
11672
11672
|
return h(s, u, p);
|
|
11673
11673
|
if (s.options.passThrough && s.options.passThrough.includes(g)) {
|
|
11674
11674
|
if ("children" in u) {
|
|
11675
|
-
const { children: b, ...m } = u, y =
|
|
11675
|
+
const { children: b, ...m } = u, y = tc(m);
|
|
11676
11676
|
return y.children = s.all(u), y;
|
|
11677
11677
|
}
|
|
11678
|
-
return
|
|
11678
|
+
return tc(u);
|
|
11679
11679
|
}
|
|
11680
11680
|
return (s.options.unknownHandler || Vae)(s, u, p);
|
|
11681
11681
|
}
|
|
@@ -11712,7 +11712,7 @@ function Qae(e, t) {
|
|
|
11712
11712
|
const i = "children" in r ? r.children : [r];
|
|
11713
11713
|
r = { type: "element", tagName: o, properties: {}, children: i };
|
|
11714
11714
|
}
|
|
11715
|
-
r.type === "element" && n && Object.assign(r.properties,
|
|
11715
|
+
r.type === "element" && n && Object.assign(r.properties, tc(n)), "children" in r && r.children && a !== null && a !== void 0 && (r.children = a);
|
|
11716
11716
|
}
|
|
11717
11717
|
return r;
|
|
11718
11718
|
}
|
|
@@ -13014,7 +13014,7 @@ function Ane(e, t) {
|
|
|
13014
13014
|
components: a,
|
|
13015
13015
|
ignoreInvalidStyle: !0,
|
|
13016
13016
|
jsx: E,
|
|
13017
|
-
jsxs:
|
|
13017
|
+
jsxs: ie,
|
|
13018
13018
|
passKeys: !0,
|
|
13019
13019
|
passNode: !0
|
|
13020
13020
|
});
|
|
@@ -13611,7 +13611,7 @@ function pd(e) {
|
|
|
13611
13611
|
return "&#x" + e.toString(16).toUpperCase() + ";";
|
|
13612
13612
|
}
|
|
13613
13613
|
function C7(e, t, r) {
|
|
13614
|
-
const o =
|
|
13614
|
+
const o = ec(e), a = ec(t);
|
|
13615
13615
|
return o === void 0 ? a === void 0 ? (
|
|
13616
13616
|
// Letter inside:
|
|
13617
13617
|
// we have to encode *both* letters for `_` as it is looser.
|
|
@@ -14689,11 +14689,11 @@ function yse(e) {
|
|
|
14689
14689
|
return l === 126 && u[u.length - 1][1].type !== "characterEscape" ? c(f) : (i.enter("strikethroughSequenceTemporary"), h(f));
|
|
14690
14690
|
}
|
|
14691
14691
|
function h(f) {
|
|
14692
|
-
const b =
|
|
14692
|
+
const b = ec(l);
|
|
14693
14693
|
if (f === 126)
|
|
14694
14694
|
return p > 1 ? c(f) : (i.consume(f), p++, h);
|
|
14695
14695
|
if (p < 2 && !r) return c(f);
|
|
14696
|
-
const m = i.exit("strikethroughSequenceTemporary"), y =
|
|
14696
|
+
const m = i.exit("strikethroughSequenceTemporary"), y = ec(f);
|
|
14697
14697
|
return m._open = !y || y === 2 && !!b, m._close = !b || b === 2 && !!y, s(f);
|
|
14698
14698
|
}
|
|
14699
14699
|
}
|
|
@@ -15608,11 +15608,11 @@ function ace(e, t) {
|
|
|
15608
15608
|
mode: (e.data || {}).quirksMode ? "quirks" : "no-quirks",
|
|
15609
15609
|
childNodes: []
|
|
15610
15610
|
};
|
|
15611
|
-
return r.childNodes = jD(e.children, r, t),
|
|
15611
|
+
return r.childNodes = jD(e.children, r, t), uc(e, r), r;
|
|
15612
15612
|
}
|
|
15613
15613
|
function nce(e, t) {
|
|
15614
15614
|
const r = { nodeName: "#document-fragment", childNodes: [] };
|
|
15615
|
-
return r.childNodes = jD(e.children, r, t),
|
|
15615
|
+
return r.childNodes = jD(e.children, r, t), uc(e, r), r;
|
|
15616
15616
|
}
|
|
15617
15617
|
function ice(e) {
|
|
15618
15618
|
const t = {
|
|
@@ -15622,7 +15622,7 @@ function ice(e) {
|
|
|
15622
15622
|
systemId: "",
|
|
15623
15623
|
parentNode: null
|
|
15624
15624
|
};
|
|
15625
|
-
return
|
|
15625
|
+
return uc(e, t), t;
|
|
15626
15626
|
}
|
|
15627
15627
|
function sce(e) {
|
|
15628
15628
|
const t = {
|
|
@@ -15630,7 +15630,7 @@ function sce(e) {
|
|
|
15630
15630
|
value: e.value,
|
|
15631
15631
|
parentNode: null
|
|
15632
15632
|
};
|
|
15633
|
-
return
|
|
15633
|
+
return uc(e, t), t;
|
|
15634
15634
|
}
|
|
15635
15635
|
function cce(e) {
|
|
15636
15636
|
const t = {
|
|
@@ -15638,7 +15638,7 @@ function cce(e) {
|
|
|
15638
15638
|
data: e.value,
|
|
15639
15639
|
parentNode: null
|
|
15640
15640
|
};
|
|
15641
|
-
return
|
|
15641
|
+
return uc(e, t), t;
|
|
15642
15642
|
}
|
|
15643
15643
|
function dce(e, t) {
|
|
15644
15644
|
const r = t;
|
|
@@ -15666,7 +15666,7 @@ function dce(e, t) {
|
|
|
15666
15666
|
childNodes: [],
|
|
15667
15667
|
parentNode: null
|
|
15668
15668
|
};
|
|
15669
|
-
return s.childNodes = jD(e.children, s, o),
|
|
15669
|
+
return s.childNodes = jD(e.children, s, o), uc(e, s), e.tagName === "template" && e.content && (s.content = nce(e.content, o)), s;
|
|
15670
15670
|
}
|
|
15671
15671
|
function lce(e, t, r) {
|
|
15672
15672
|
const o = Y7(e, t);
|
|
@@ -15693,7 +15693,7 @@ function jD(e, t, r) {
|
|
|
15693
15693
|
}
|
|
15694
15694
|
return a;
|
|
15695
15695
|
}
|
|
15696
|
-
function
|
|
15696
|
+
function uc(e, t) {
|
|
15697
15697
|
const r = e.position;
|
|
15698
15698
|
r && r.start && r.end && (r.start.offset, r.end.offset, t.sourceCodeLocation = {
|
|
15699
15699
|
startLine: r.start.line,
|
|
@@ -16305,7 +16305,7 @@ const Ice = /* @__PURE__ */ new Map([
|
|
|
16305
16305
|
[te.WBR, v.WBR],
|
|
16306
16306
|
[te.XMP, v.XMP]
|
|
16307
16307
|
]);
|
|
16308
|
-
function
|
|
16308
|
+
function pc(e) {
|
|
16309
16309
|
var t;
|
|
16310
16310
|
return (t = Ice.get(e)) !== null && t !== void 0 ? t : v.UNKNOWN;
|
|
16311
16311
|
}
|
|
@@ -16415,14 +16415,14 @@ const tt = {
|
|
|
16415
16415
|
function Mce(e) {
|
|
16416
16416
|
return e >= P.DIGIT_0 && e <= P.DIGIT_9;
|
|
16417
16417
|
}
|
|
16418
|
-
function
|
|
16418
|
+
function Oc(e) {
|
|
16419
16419
|
return e >= P.LATIN_CAPITAL_A && e <= P.LATIN_CAPITAL_Z;
|
|
16420
16420
|
}
|
|
16421
16421
|
function Tce(e) {
|
|
16422
16422
|
return e >= P.LATIN_SMALL_A && e <= P.LATIN_SMALL_Z;
|
|
16423
16423
|
}
|
|
16424
16424
|
function zr(e) {
|
|
16425
|
-
return Tce(e) ||
|
|
16425
|
+
return Tce(e) || Oc(e);
|
|
16426
16426
|
}
|
|
16427
16427
|
function fz(e) {
|
|
16428
16428
|
return zr(e) || Mce(e);
|
|
@@ -16587,7 +16587,7 @@ class Lce {
|
|
|
16587
16587
|
}
|
|
16588
16588
|
emitCurrentTagToken() {
|
|
16589
16589
|
const t = this.currentToken;
|
|
16590
|
-
this.prepareToken(t), t.tagID =
|
|
16590
|
+
this.prepareToken(t), t.tagID = pc(t.tagName), t.type === ze.START_TAG ? (this.lastStartTagName = t.tagName, this.handler.onStartTag(t)) : (t.attrs.length > 0 && this._err(oe.endTagWithAttributes), t.selfClosing && this._err(oe.endTagWithTrailingSolidus), this.handler.onEndTag(t)), this.preprocessor.dropParsedChunk();
|
|
16591
16591
|
}
|
|
16592
16592
|
emitCurrentComment(t) {
|
|
16593
16593
|
this.prepareToken(t), this.handler.onComment(t), this.preprocessor.dropParsedChunk();
|
|
@@ -17134,7 +17134,7 @@ class Lce {
|
|
|
17134
17134
|
break;
|
|
17135
17135
|
}
|
|
17136
17136
|
default:
|
|
17137
|
-
r.tagName += String.fromCodePoint(
|
|
17137
|
+
r.tagName += String.fromCodePoint(Oc(t) ? Jd(t) : t);
|
|
17138
17138
|
}
|
|
17139
17139
|
}
|
|
17140
17140
|
// RCDATA less-than sign state
|
|
@@ -17466,7 +17466,7 @@ class Lce {
|
|
|
17466
17466
|
break;
|
|
17467
17467
|
}
|
|
17468
17468
|
default:
|
|
17469
|
-
this.currentAttr.name += String.fromCodePoint(
|
|
17469
|
+
this.currentAttr.name += String.fromCodePoint(Oc(t) ? Jd(t) : t);
|
|
17470
17470
|
}
|
|
17471
17471
|
}
|
|
17472
17472
|
// After attribute name state
|
|
@@ -17867,7 +17867,7 @@ class Lce {
|
|
|
17867
17867
|
// Before DOCTYPE name state
|
|
17868
17868
|
//------------------------------------------------------------------
|
|
17869
17869
|
_stateBeforeDoctypeName(t) {
|
|
17870
|
-
if (
|
|
17870
|
+
if (Oc(t))
|
|
17871
17871
|
this._createDoctypeToken(String.fromCharCode(Jd(t))), this.state = U.DOCTYPE_NAME;
|
|
17872
17872
|
else
|
|
17873
17873
|
switch (t) {
|
|
@@ -17921,7 +17921,7 @@ class Lce {
|
|
|
17921
17921
|
break;
|
|
17922
17922
|
}
|
|
17923
17923
|
default:
|
|
17924
|
-
r.name += String.fromCodePoint(
|
|
17924
|
+
r.name += String.fromCodePoint(Oc(t) ? Jd(t) : t);
|
|
17925
17925
|
}
|
|
17926
17926
|
}
|
|
17927
17927
|
// After DOCTYPE name state
|
|
@@ -19078,7 +19078,7 @@ function QD(e) {
|
|
|
19078
19078
|
}
|
|
19079
19079
|
function ede(e) {
|
|
19080
19080
|
const t = Kce.get(e.tagName);
|
|
19081
|
-
t != null && (e.tagName = t, e.tagID =
|
|
19081
|
+
t != null && (e.tagName = t, e.tagID = pc(e.tagName));
|
|
19082
19082
|
}
|
|
19083
19083
|
function tde(e, t) {
|
|
19084
19084
|
return t === ge.MATHML && (e === v.MI || e === v.MO || e === v.MN || e === v.MS || e === v.MTEXT);
|
|
@@ -19119,7 +19119,7 @@ class Cz {
|
|
|
19119
19119
|
this.fragmentContext = o, this.scriptHandler = a, this.currentToken = null, this.stopped = !1, this.insertionMode = G.INITIAL, this.originalInsertionMode = G.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 = {
|
|
19120
19120
|
...Ez,
|
|
19121
19121
|
...t
|
|
19122
|
-
}, this.treeAdapter = this.options.treeAdapter, this.onParseError = this.options.onParseError, this.onParseError && (this.options.sourceCodeLocationInfo = !0), this.document = r ?? this.treeAdapter.createDocument(), this.tokenizer = new Lce(this.options, this), this.activeFormattingElements = new Fce(this.treeAdapter), this.fragmentContextID = o ?
|
|
19122
|
+
}, this.treeAdapter = this.options.treeAdapter, this.onParseError = this.options.onParseError, this.onParseError && (this.options.sourceCodeLocationInfo = !0), this.document = r ?? this.treeAdapter.createDocument(), this.tokenizer = new Lce(this.options, this), this.activeFormattingElements = new Fce(this.treeAdapter), this.fragmentContextID = o ? pc(this.treeAdapter.getTagName(o)) : v.UNKNOWN, this._setContextModes(o ?? this.document, this.fragmentContextID), this.openElements = new zce(this.document, this.treeAdapter, this);
|
|
19123
19123
|
}
|
|
19124
19124
|
// API
|
|
19125
19125
|
static parse(t, r) {
|
|
@@ -19520,27 +19520,27 @@ class Cz {
|
|
|
19520
19520
|
}
|
|
19521
19521
|
switch (this.insertionMode) {
|
|
19522
19522
|
case G.INITIAL: {
|
|
19523
|
-
|
|
19523
|
+
Sc(this, t);
|
|
19524
19524
|
break;
|
|
19525
19525
|
}
|
|
19526
19526
|
case G.BEFORE_HTML: {
|
|
19527
|
-
|
|
19527
|
+
Hc(this, t);
|
|
19528
19528
|
break;
|
|
19529
19529
|
}
|
|
19530
19530
|
case G.BEFORE_HEAD: {
|
|
19531
|
-
|
|
19531
|
+
Uc(this, t);
|
|
19532
19532
|
break;
|
|
19533
19533
|
}
|
|
19534
19534
|
case G.IN_HEAD: {
|
|
19535
|
-
|
|
19535
|
+
qc(this, t);
|
|
19536
19536
|
break;
|
|
19537
19537
|
}
|
|
19538
19538
|
case G.IN_HEAD_NO_SCRIPT: {
|
|
19539
|
-
|
|
19539
|
+
jc(this, t);
|
|
19540
19540
|
break;
|
|
19541
19541
|
}
|
|
19542
19542
|
case G.AFTER_HEAD: {
|
|
19543
|
-
|
|
19543
|
+
Qc(this, t);
|
|
19544
19544
|
break;
|
|
19545
19545
|
}
|
|
19546
19546
|
case G.IN_BODY:
|
|
@@ -19588,27 +19588,27 @@ class Cz {
|
|
|
19588
19588
|
}
|
|
19589
19589
|
switch (this.insertionMode) {
|
|
19590
19590
|
case G.INITIAL: {
|
|
19591
|
-
|
|
19591
|
+
Sc(this, t);
|
|
19592
19592
|
break;
|
|
19593
19593
|
}
|
|
19594
19594
|
case G.BEFORE_HTML: {
|
|
19595
|
-
|
|
19595
|
+
Hc(this, t);
|
|
19596
19596
|
break;
|
|
19597
19597
|
}
|
|
19598
19598
|
case G.BEFORE_HEAD: {
|
|
19599
|
-
|
|
19599
|
+
Uc(this, t);
|
|
19600
19600
|
break;
|
|
19601
19601
|
}
|
|
19602
19602
|
case G.IN_HEAD: {
|
|
19603
|
-
|
|
19603
|
+
qc(this, t);
|
|
19604
19604
|
break;
|
|
19605
19605
|
}
|
|
19606
19606
|
case G.IN_HEAD_NO_SCRIPT: {
|
|
19607
|
-
|
|
19607
|
+
jc(this, t);
|
|
19608
19608
|
break;
|
|
19609
19609
|
}
|
|
19610
19610
|
case G.AFTER_HEAD: {
|
|
19611
|
-
|
|
19611
|
+
Qc(this, t);
|
|
19612
19612
|
break;
|
|
19613
19613
|
}
|
|
19614
19614
|
case G.TEXT: {
|
|
@@ -19664,7 +19664,7 @@ class Cz {
|
|
|
19664
19664
|
break;
|
|
19665
19665
|
}
|
|
19666
19666
|
case G.IN_TABLE_TEXT: {
|
|
19667
|
-
|
|
19667
|
+
Mc(this, t);
|
|
19668
19668
|
break;
|
|
19669
19669
|
}
|
|
19670
19670
|
case G.AFTER_BODY: {
|
|
@@ -19693,7 +19693,7 @@ class Cz {
|
|
|
19693
19693
|
break;
|
|
19694
19694
|
}
|
|
19695
19695
|
case G.IN_TABLE_TEXT: {
|
|
19696
|
-
|
|
19696
|
+
Mc(this, t);
|
|
19697
19697
|
break;
|
|
19698
19698
|
}
|
|
19699
19699
|
}
|
|
@@ -19720,7 +19720,7 @@ class Cz {
|
|
|
19720
19720
|
_startTagOutsideForeignContent(t) {
|
|
19721
19721
|
switch (this.insertionMode) {
|
|
19722
19722
|
case G.INITIAL: {
|
|
19723
|
-
|
|
19723
|
+
Sc(this, t);
|
|
19724
19724
|
break;
|
|
19725
19725
|
}
|
|
19726
19726
|
case G.BEFORE_HTML: {
|
|
@@ -19748,11 +19748,11 @@ class Cz {
|
|
|
19748
19748
|
break;
|
|
19749
19749
|
}
|
|
19750
19750
|
case G.IN_TABLE: {
|
|
19751
|
-
|
|
19751
|
+
rc(this, t);
|
|
19752
19752
|
break;
|
|
19753
19753
|
}
|
|
19754
19754
|
case G.IN_TABLE_TEXT: {
|
|
19755
|
-
|
|
19755
|
+
Mc(this, t);
|
|
19756
19756
|
break;
|
|
19757
19757
|
}
|
|
19758
19758
|
case G.IN_CAPTION: {
|
|
@@ -19817,7 +19817,7 @@ class Cz {
|
|
|
19817
19817
|
_endTagOutsideForeignContent(t) {
|
|
19818
19818
|
switch (this.insertionMode) {
|
|
19819
19819
|
case G.INITIAL: {
|
|
19820
|
-
|
|
19820
|
+
Sc(this, t);
|
|
19821
19821
|
break;
|
|
19822
19822
|
}
|
|
19823
19823
|
case G.BEFORE_HTML: {
|
|
@@ -19853,7 +19853,7 @@ class Cz {
|
|
|
19853
19853
|
break;
|
|
19854
19854
|
}
|
|
19855
19855
|
case G.IN_TABLE_TEXT: {
|
|
19856
|
-
|
|
19856
|
+
Mc(this, t);
|
|
19857
19857
|
break;
|
|
19858
19858
|
}
|
|
19859
19859
|
case G.IN_CAPTION: {
|
|
@@ -19910,27 +19910,27 @@ class Cz {
|
|
|
19910
19910
|
onEof(t) {
|
|
19911
19911
|
switch (this.insertionMode) {
|
|
19912
19912
|
case G.INITIAL: {
|
|
19913
|
-
|
|
19913
|
+
Sc(this, t);
|
|
19914
19914
|
break;
|
|
19915
19915
|
}
|
|
19916
19916
|
case G.BEFORE_HTML: {
|
|
19917
|
-
|
|
19917
|
+
Hc(this, t);
|
|
19918
19918
|
break;
|
|
19919
19919
|
}
|
|
19920
19920
|
case G.BEFORE_HEAD: {
|
|
19921
|
-
|
|
19921
|
+
Uc(this, t);
|
|
19922
19922
|
break;
|
|
19923
19923
|
}
|
|
19924
19924
|
case G.IN_HEAD: {
|
|
19925
|
-
|
|
19925
|
+
qc(this, t);
|
|
19926
19926
|
break;
|
|
19927
19927
|
}
|
|
19928
19928
|
case G.IN_HEAD_NO_SCRIPT: {
|
|
19929
|
-
|
|
19929
|
+
jc(this, t);
|
|
19930
19930
|
break;
|
|
19931
19931
|
}
|
|
19932
19932
|
case G.AFTER_HEAD: {
|
|
19933
|
-
|
|
19933
|
+
Qc(this, t);
|
|
19934
19934
|
break;
|
|
19935
19935
|
}
|
|
19936
19936
|
case G.IN_BODY:
|
|
@@ -19950,7 +19950,7 @@ class Cz {
|
|
|
19950
19950
|
break;
|
|
19951
19951
|
}
|
|
19952
19952
|
case G.IN_TABLE_TEXT: {
|
|
19953
|
-
|
|
19953
|
+
Mc(this, t);
|
|
19954
19954
|
break;
|
|
19955
19955
|
}
|
|
19956
19956
|
case G.IN_TEMPLATE: {
|
|
@@ -20042,7 +20042,7 @@ function ude(e, t) {
|
|
|
20042
20042
|
return e.openElements.replace(t.element, o), t.element = o, o;
|
|
20043
20043
|
}
|
|
20044
20044
|
function pde(e, t, r) {
|
|
20045
|
-
const o = e.treeAdapter.getTagName(t), a =
|
|
20045
|
+
const o = e.treeAdapter.getTagName(t), a = pc(o);
|
|
20046
20046
|
if (e._isElementCausesFosterParenting(a))
|
|
20047
20047
|
e._fosterParentElement(r);
|
|
20048
20048
|
else {
|
|
@@ -20095,17 +20095,17 @@ function fde(e, t) {
|
|
|
20095
20095
|
const r = t.forceQuirks ? zt.QUIRKS : Gce(t);
|
|
20096
20096
|
Vce(t) || e._err(t, oe.nonConformingDoctype), e.treeAdapter.setDocumentMode(e.document, r), e.insertionMode = G.BEFORE_HTML;
|
|
20097
20097
|
}
|
|
20098
|
-
function
|
|
20098
|
+
function Sc(e, t) {
|
|
20099
20099
|
e._err(t, oe.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document, zt.QUIRKS), e.insertionMode = G.BEFORE_HTML, e._processToken(t);
|
|
20100
20100
|
}
|
|
20101
20101
|
function yde(e, t) {
|
|
20102
|
-
t.tagID === v.HTML ? (e._insertElement(t, ge.HTML), e.insertionMode = G.BEFORE_HEAD) :
|
|
20102
|
+
t.tagID === v.HTML ? (e._insertElement(t, ge.HTML), e.insertionMode = G.BEFORE_HEAD) : Hc(e, t);
|
|
20103
20103
|
}
|
|
20104
20104
|
function mde(e, t) {
|
|
20105
20105
|
const r = t.tagID;
|
|
20106
|
-
(r === v.HTML || r === v.HEAD || r === v.BODY || r === v.BR) &&
|
|
20106
|
+
(r === v.HTML || r === v.HEAD || r === v.BODY || r === v.BR) && Hc(e, t);
|
|
20107
20107
|
}
|
|
20108
|
-
function
|
|
20108
|
+
function Hc(e, t) {
|
|
20109
20109
|
e._insertFakeRootElement(), e.insertionMode = G.BEFORE_HEAD, e._processToken(t);
|
|
20110
20110
|
}
|
|
20111
20111
|
function wde(e, t) {
|
|
@@ -20119,14 +20119,14 @@ function wde(e, t) {
|
|
|
20119
20119
|
break;
|
|
20120
20120
|
}
|
|
20121
20121
|
default:
|
|
20122
|
-
|
|
20122
|
+
Uc(e, t);
|
|
20123
20123
|
}
|
|
20124
20124
|
}
|
|
20125
20125
|
function vde(e, t) {
|
|
20126
20126
|
const r = t.tagID;
|
|
20127
|
-
r === v.HEAD || r === v.BODY || r === v.HTML || r === v.BR ?
|
|
20127
|
+
r === v.HEAD || r === v.BODY || r === v.HTML || r === v.BR ? Uc(e, t) : e._err(t, oe.endTagWithoutMatchingOpenElement);
|
|
20128
20128
|
}
|
|
20129
|
-
function
|
|
20129
|
+
function Uc(e, t) {
|
|
20130
20130
|
e._insertFakeElement(te.HEAD, v.HEAD), e.headElement = e.openElements.current, e.insertionMode = G.IN_HEAD, e._processToken(t);
|
|
20131
20131
|
}
|
|
20132
20132
|
function Jt(e, t) {
|
|
@@ -20169,7 +20169,7 @@ function Jt(e, t) {
|
|
|
20169
20169
|
break;
|
|
20170
20170
|
}
|
|
20171
20171
|
default:
|
|
20172
|
-
|
|
20172
|
+
qc(e, t);
|
|
20173
20173
|
}
|
|
20174
20174
|
}
|
|
20175
20175
|
function Ade(e, t) {
|
|
@@ -20181,7 +20181,7 @@ function Ade(e, t) {
|
|
|
20181
20181
|
case v.BODY:
|
|
20182
20182
|
case v.BR:
|
|
20183
20183
|
case v.HTML: {
|
|
20184
|
-
|
|
20184
|
+
qc(e, t);
|
|
20185
20185
|
break;
|
|
20186
20186
|
}
|
|
20187
20187
|
case v.TEMPLATE: {
|
|
@@ -20195,7 +20195,7 @@ function Ade(e, t) {
|
|
|
20195
20195
|
function ws(e, t) {
|
|
20196
20196
|
e.openElements.tmplCount > 0 ? (e.openElements.generateImpliedEndTagsThoroughly(), e.openElements.currentTagId !== v.TEMPLATE && e._err(t, oe.closingOfElementWithOpenChildElements), e.openElements.popUntilTagNamePopped(v.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode()) : e._err(t, oe.endTagWithoutMatchingOpenElement);
|
|
20197
20197
|
}
|
|
20198
|
-
function
|
|
20198
|
+
function qc(e, t) {
|
|
20199
20199
|
e.openElements.pop(), e.insertionMode = G.AFTER_HEAD, e._processToken(t);
|
|
20200
20200
|
}
|
|
20201
20201
|
function kde(e, t) {
|
|
@@ -20219,7 +20219,7 @@ function kde(e, t) {
|
|
|
20219
20219
|
break;
|
|
20220
20220
|
}
|
|
20221
20221
|
default:
|
|
20222
|
-
|
|
20222
|
+
jc(e, t);
|
|
20223
20223
|
}
|
|
20224
20224
|
}
|
|
20225
20225
|
function xde(e, t) {
|
|
@@ -20229,14 +20229,14 @@ function xde(e, t) {
|
|
|
20229
20229
|
break;
|
|
20230
20230
|
}
|
|
20231
20231
|
case v.BR: {
|
|
20232
|
-
|
|
20232
|
+
jc(e, t);
|
|
20233
20233
|
break;
|
|
20234
20234
|
}
|
|
20235
20235
|
default:
|
|
20236
20236
|
e._err(t, oe.endTagWithoutMatchingOpenElement);
|
|
20237
20237
|
}
|
|
20238
20238
|
}
|
|
20239
|
-
function
|
|
20239
|
+
function jc(e, t) {
|
|
20240
20240
|
const r = t.type === ze.EOF ? oe.openElementsLeftAfterEof : oe.disallowedContentInNoscriptInHead;
|
|
20241
20241
|
e._err(t, r), e.openElements.pop(), e.insertionMode = G.IN_HEAD, e._processToken(t);
|
|
20242
20242
|
}
|
|
@@ -20272,7 +20272,7 @@ function Ede(e, t) {
|
|
|
20272
20272
|
break;
|
|
20273
20273
|
}
|
|
20274
20274
|
default:
|
|
20275
|
-
|
|
20275
|
+
Qc(e, t);
|
|
20276
20276
|
}
|
|
20277
20277
|
}
|
|
20278
20278
|
function Cde(e, t) {
|
|
@@ -20280,7 +20280,7 @@ function Cde(e, t) {
|
|
|
20280
20280
|
case v.BODY:
|
|
20281
20281
|
case v.HTML:
|
|
20282
20282
|
case v.BR: {
|
|
20283
|
-
|
|
20283
|
+
Qc(e, t);
|
|
20284
20284
|
break;
|
|
20285
20285
|
}
|
|
20286
20286
|
case v.TEMPLATE: {
|
|
@@ -20291,7 +20291,7 @@ function Cde(e, t) {
|
|
|
20291
20291
|
e._err(t, oe.endTagWithoutMatchingOpenElement);
|
|
20292
20292
|
}
|
|
20293
20293
|
}
|
|
20294
|
-
function
|
|
20294
|
+
function Qc(e, t) {
|
|
20295
20295
|
e._insertFakeElement(te.BODY, v.BODY), e.insertionMode = G.IN_BODY, oS(e, t);
|
|
20296
20296
|
}
|
|
20297
20297
|
function oS(e, t) {
|
|
@@ -20849,7 +20849,7 @@ function mle(e, t) {
|
|
|
20849
20849
|
function wle(e, t) {
|
|
20850
20850
|
!e.formElement && e.openElements.tmplCount === 0 && (e._insertElement(t, ge.HTML), e.formElement = e.openElements.current, e.openElements.pop());
|
|
20851
20851
|
}
|
|
20852
|
-
function
|
|
20852
|
+
function rc(e, t) {
|
|
20853
20853
|
switch (t.tagID) {
|
|
20854
20854
|
case v.TD:
|
|
20855
20855
|
case v.TH:
|
|
@@ -20933,7 +20933,7 @@ function NY(e, t) {
|
|
|
20933
20933
|
function LY(e, t) {
|
|
20934
20934
|
e.pendingCharacterTokens.push(t), e.hasNonWhitespacePendingCharacterToken = !0;
|
|
20935
20935
|
}
|
|
20936
|
-
function
|
|
20936
|
+
function Mc(e, t) {
|
|
20937
20937
|
let r = 0;
|
|
20938
20938
|
if (e.hasNonWhitespacePendingCharacterToken)
|
|
20939
20939
|
for (; r < e.pendingCharacterTokens.length; r++)
|
|
@@ -20946,7 +20946,7 @@ function Tc(e, t) {
|
|
|
20946
20946
|
const RY = /* @__PURE__ */ new Set([v.CAPTION, v.COL, v.COLGROUP, v.TBODY, v.TD, v.TFOOT, v.TH, v.THEAD, v.TR]);
|
|
20947
20947
|
function vle(e, t) {
|
|
20948
20948
|
const r = t.tagID;
|
|
20949
|
-
RY.has(r) ? e.openElements.hasInTableScope(v.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(v.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = G.IN_TABLE,
|
|
20949
|
+
RY.has(r) ? e.openElements.hasInTableScope(v.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(v.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = G.IN_TABLE, rc(e, t)) : ft(e, t);
|
|
20950
20950
|
}
|
|
20951
20951
|
function Ale(e, t) {
|
|
20952
20952
|
const r = t.tagID;
|
|
@@ -21025,11 +21025,11 @@ function nS(e, t) {
|
|
|
21025
21025
|
case v.TBODY:
|
|
21026
21026
|
case v.TFOOT:
|
|
21027
21027
|
case v.THEAD: {
|
|
21028
|
-
e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = G.IN_TABLE,
|
|
21028
|
+
e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = G.IN_TABLE, rc(e, t));
|
|
21029
21029
|
break;
|
|
21030
21030
|
}
|
|
21031
21031
|
default:
|
|
21032
|
-
|
|
21032
|
+
rc(e, t);
|
|
21033
21033
|
}
|
|
21034
21034
|
}
|
|
21035
21035
|
function D_(e, t) {
|
|
@@ -21076,7 +21076,7 @@ function iS(e, t) {
|
|
|
21076
21076
|
break;
|
|
21077
21077
|
}
|
|
21078
21078
|
default:
|
|
21079
|
-
|
|
21079
|
+
rc(e, t);
|
|
21080
21080
|
}
|
|
21081
21081
|
}
|
|
21082
21082
|
function OY(e, t) {
|
|
@@ -21219,7 +21219,7 @@ function Sle(e, t) {
|
|
|
21219
21219
|
case v.TBODY:
|
|
21220
21220
|
case v.TFOOT:
|
|
21221
21221
|
case v.THEAD: {
|
|
21222
|
-
e.tmplInsertionModeStack[0] = G.IN_TABLE, e.insertionMode = G.IN_TABLE,
|
|
21222
|
+
e.tmplInsertionModeStack[0] = G.IN_TABLE, e.insertionMode = G.IN_TABLE, rc(e, t);
|
|
21223
21223
|
break;
|
|
21224
21224
|
}
|
|
21225
21225
|
case v.COL: {
|
|
@@ -21374,7 +21374,7 @@ function FY(e, t) {
|
|
|
21374
21374
|
stitches: !1,
|
|
21375
21375
|
options: t || {}
|
|
21376
21376
|
};
|
|
21377
|
-
o(e, a),
|
|
21377
|
+
o(e, a), hc(a, yr());
|
|
21378
21378
|
const n = r ? a.parser.document : a.parser.getFragment(), i = Jse(n, {
|
|
21379
21379
|
// To do: support `space`?
|
|
21380
21380
|
file: a.options.file
|
|
@@ -21410,7 +21410,7 @@ function Qle(e, t) {
|
|
|
21410
21410
|
chars: e.value,
|
|
21411
21411
|
location: _d(e)
|
|
21412
21412
|
};
|
|
21413
|
-
|
|
21413
|
+
hc(t, yr(e)), t.parser.currentToken = r, t.parser._processToken(t.parser.currentToken);
|
|
21414
21414
|
}
|
|
21415
21415
|
function Vle(e, t) {
|
|
21416
21416
|
const r = {
|
|
@@ -21421,7 +21421,7 @@ function Vle(e, t) {
|
|
|
21421
21421
|
systemId: "",
|
|
21422
21422
|
location: _d(e)
|
|
21423
21423
|
};
|
|
21424
|
-
|
|
21424
|
+
hc(t, yr(e)), t.parser.currentToken = r, t.parser._processToken(t.parser.currentToken);
|
|
21425
21425
|
}
|
|
21426
21426
|
function Gle(e, t) {
|
|
21427
21427
|
t.stitches = !0;
|
|
@@ -21441,7 +21441,7 @@ function UY(e, t) {
|
|
|
21441
21441
|
data: r,
|
|
21442
21442
|
location: _d(e)
|
|
21443
21443
|
};
|
|
21444
|
-
|
|
21444
|
+
hc(t, yr(e)), t.parser.currentToken = o, t.parser._processToken(t.parser.currentToken);
|
|
21445
21445
|
}
|
|
21446
21446
|
function Wle(e, t) {
|
|
21447
21447
|
if (t.parser.tokenizer.preprocessor.html = "", t.parser.tokenizer.preprocessor.pos = -1, t.parser.tokenizer.preprocessor.lastGapPos = -2, t.parser.tokenizer.preprocessor.gapStack = [], t.parser.tokenizer.preprocessor.skipNextNewLine = !1, t.parser.tokenizer.preprocessor.lastChunkWritten = !1, t.parser.tokenizer.preprocessor.endOfChunkHit = !1, t.parser.tokenizer.preprocessor.isEol = !1, qY(t, yr(e)), t.parser.tokenizer.write(
|
|
@@ -21466,7 +21466,7 @@ function Yle(e, t) {
|
|
|
21466
21466
|
throw Ule.has(r.type) && (o = ". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"), new Error("Cannot compile `" + r.type + "` node" + o);
|
|
21467
21467
|
}
|
|
21468
21468
|
}
|
|
21469
|
-
function
|
|
21469
|
+
function hc(e, t) {
|
|
21470
21470
|
qY(e, t);
|
|
21471
21471
|
const r = e.parser.tokenizer.currentCharacterToken;
|
|
21472
21472
|
r && r.location && (r.location.endLine = e.parser.tokenizer.preprocessor.line, r.location.endCol = e.parser.tokenizer.preprocessor.col + 1, r.location.endOffset = e.parser.tokenizer.preprocessor.offset + 1, e.parser.currentToken = r, e.parser._processToken(e.parser.currentToken)), e.parser.tokenizer.paused = !1, e.parser.tokenizer.inLoop = !1, e.parser.tokenizer.active = !1, e.parser.tokenizer.returnState = tt.DATA, e.parser.tokenizer.charRefCode = -1, e.parser.tokenizer.consumedAfterSnapshot = -1, e.parser.tokenizer.currentLocation = null, e.parser.tokenizer.currentCharacterToken = null, e.parser.tokenizer.currentToken = null, e.parser.tokenizer.currentAttr = { name: "", value: "" };
|
|
@@ -21487,7 +21487,7 @@ function qY(e, t) {
|
|
|
21487
21487
|
function Zle(e, t) {
|
|
21488
21488
|
const r = e.tagName.toLowerCase();
|
|
21489
21489
|
if (t.parser.tokenizer.state === tt.PLAINTEXT) return;
|
|
21490
|
-
|
|
21490
|
+
hc(t, yr(e));
|
|
21491
21491
|
const o = t.parser.openElements.current;
|
|
21492
21492
|
let a = "namespaceURI" in o ? o.namespaceURI : ts.html;
|
|
21493
21493
|
a === ts.html && r === "svg" && (a = ts.svg);
|
|
@@ -21498,7 +21498,7 @@ function Zle(e, t) {
|
|
|
21498
21498
|
), i = {
|
|
21499
21499
|
type: ze.START_TAG,
|
|
21500
21500
|
tagName: r,
|
|
21501
|
-
tagID:
|
|
21501
|
+
tagID: pc(r),
|
|
21502
21502
|
// We always send start and end tags.
|
|
21503
21503
|
selfClosing: !1,
|
|
21504
21504
|
ackSelfClosing: !1,
|
|
@@ -21512,11 +21512,11 @@ function Zle(e, t) {
|
|
|
21512
21512
|
function Xle(e, t) {
|
|
21513
21513
|
const r = e.tagName.toLowerCase();
|
|
21514
21514
|
if (!t.parser.tokenizer.inForeignNode && uce.includes(r) || t.parser.tokenizer.state === tt.PLAINTEXT) return;
|
|
21515
|
-
|
|
21515
|
+
hc(t, X7(e));
|
|
21516
21516
|
const o = {
|
|
21517
21517
|
type: ze.END_TAG,
|
|
21518
21518
|
tagName: r,
|
|
21519
|
-
tagID:
|
|
21519
|
+
tagID: pc(r),
|
|
21520
21520
|
selfClosing: !1,
|
|
21521
21521
|
ackSelfClosing: !1,
|
|
21522
21522
|
attrs: [],
|
|
@@ -21552,7 +21552,7 @@ function _d(e) {
|
|
|
21552
21552
|
};
|
|
21553
21553
|
}
|
|
21554
21554
|
function Jle(e) {
|
|
21555
|
-
return "children" in e ?
|
|
21555
|
+
return "children" in e ? tc({ ...e, children: [] }) : tc(e);
|
|
21556
21556
|
}
|
|
21557
21557
|
function $le(e) {
|
|
21558
21558
|
return function(t, r) {
|
|
@@ -21584,7 +21584,7 @@ var o1e = {
|
|
|
21584
21584
|
strokeLinecap: "round",
|
|
21585
21585
|
strokeLinejoin: "round"
|
|
21586
21586
|
};
|
|
21587
|
-
const QY =
|
|
21587
|
+
const QY = sc(
|
|
21588
21588
|
({
|
|
21589
21589
|
color: e = "currentColor",
|
|
21590
21590
|
size: t = 24,
|
|
@@ -21614,7 +21614,7 @@ const QY = cc(
|
|
|
21614
21614
|
)
|
|
21615
21615
|
);
|
|
21616
21616
|
const d = (e, t) => {
|
|
21617
|
-
const r =
|
|
21617
|
+
const r = sc(
|
|
21618
21618
|
({ className: o, ...a }, n) => br(QY, {
|
|
21619
21619
|
ref: n,
|
|
21620
21620
|
iconNode: t,
|
|
@@ -24424,7 +24424,7 @@ const Khe = [
|
|
|
24424
24424
|
["path", { d: "M7 14c3.22-2.91 4.29-8.75 5-12 1.66 2.38 4.94 9 5 12", key: "hqx58h" }],
|
|
24425
24425
|
["path", { d: "M22 9c-4.29 0-7.14-2.33-10-7 5.71 0 10 4.67 10 7Z", key: "eykp1o" }]
|
|
24426
24426
|
], _2 = d("cherry", Khe);
|
|
24427
|
-
const Jhe = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]],
|
|
24427
|
+
const Jhe = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Vc = d("chevron-down", Jhe);
|
|
24428
24428
|
const $he = [
|
|
24429
24429
|
["path", { d: "m17 18-6-6 6-6", key: "1yerx2" }],
|
|
24430
24430
|
["path", { d: "M7 6v12", key: "1p53r6" }]
|
|
@@ -24433,7 +24433,7 @@ const ege = [
|
|
|
24433
24433
|
["path", { d: "m7 18 6-6-6-6", key: "lwmzdw" }],
|
|
24434
24434
|
["path", { d: "M17 6v12", key: "1o0aio" }]
|
|
24435
24435
|
], B2 = d("chevron-last", ege);
|
|
24436
|
-
const tge = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]],
|
|
24436
|
+
const tge = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], Gc = d("chevron-left", tge);
|
|
24437
24437
|
const rge = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], is = d("chevron-right", rge);
|
|
24438
24438
|
const oge = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]], P2 = d("chevron-up", oge);
|
|
24439
24439
|
const age = [
|
|
@@ -24756,7 +24756,7 @@ const ibe = [
|
|
|
24756
24756
|
["path", { d: "m15 9-6 6", key: "1uzhvr" }],
|
|
24757
24757
|
["path", { d: "m9 9 6 6", key: "z0biqf" }]
|
|
24758
24758
|
], ba = d("circle-x", ibe);
|
|
24759
|
-
const sbe = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]],
|
|
24759
|
+
const sbe = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]], Wc = d("circle", sbe);
|
|
24760
24760
|
const cbe = [
|
|
24761
24761
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
24762
24762
|
["path", { d: "M11 9h4a2 2 0 0 0 2-2V3", key: "1ve2rv" }],
|
|
@@ -26133,7 +26133,7 @@ const vme = [
|
|
|
26133
26133
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
26134
26134
|
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
26135
26135
|
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
26136
|
-
],
|
|
26136
|
+
], Yc = d("external-link", vme);
|
|
26137
26137
|
const Ame = [
|
|
26138
26138
|
["path", { d: "m15 18-.722-3.25", key: "1j64jw" }],
|
|
26139
26139
|
["path", { d: "M2 8a10.645 10.645 0 0 0 20 0", key: "1e7gxb" }],
|
|
@@ -29655,7 +29655,7 @@ const v3e = [
|
|
|
29655
29655
|
["path", { d: "m21 3-7 7", key: "1l2asr" }],
|
|
29656
29656
|
["path", { d: "m3 21 7-7", key: "tjx5ai" }],
|
|
29657
29657
|
["path", { d: "M9 21H3v-6", key: "wtvkvv" }]
|
|
29658
|
-
],
|
|
29658
|
+
], Ys = d("maximize-2", v3e);
|
|
29659
29659
|
const A3e = [
|
|
29660
29660
|
["path", { d: "M8 3H5a2 2 0 0 0-2 2v3", key: "1dcmit" }],
|
|
29661
29661
|
["path", { d: "M21 8V5a2 2 0 0 0-2-2h-3", key: "1e4gt3" }],
|
|
@@ -30161,7 +30161,7 @@ const pxe = [
|
|
|
30161
30161
|
["path", { d: "M20 10h-6V4", key: "mjg0md" }],
|
|
30162
30162
|
["path", { d: "m3 21 7-7", key: "tjx5ai" }],
|
|
30163
30163
|
["path", { d: "M4 14h6v6", key: "rmj7iw" }]
|
|
30164
|
-
],
|
|
30164
|
+
], Zs = d("minimize-2", pxe);
|
|
30165
30165
|
const hxe = [
|
|
30166
30166
|
["path", { d: "M8 3v3a2 2 0 0 1-2 2H3", key: "hohbtr" }],
|
|
30167
30167
|
["path", { d: "M21 8h-3a2 2 0 0 1-2-2V3", key: "5jw1f3" }],
|
|
@@ -31948,7 +31948,7 @@ const rCe = [
|
|
|
31948
31948
|
["path", { d: "M21 3v5h-5", key: "1q7to0" }],
|
|
31949
31949
|
["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
|
|
31950
31950
|
["path", { d: "M8 16H3v5", key: "1cv678" }]
|
|
31951
|
-
],
|
|
31951
|
+
], Xs = d("refresh-cw", rCe);
|
|
31952
31952
|
const oCe = [
|
|
31953
31953
|
[
|
|
31954
31954
|
"path",
|
|
@@ -36086,10 +36086,10 @@ const vLe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
36086
36086
|
CheckLine: R2,
|
|
36087
36087
|
ChefHat: O2,
|
|
36088
36088
|
Cherry: _2,
|
|
36089
|
-
ChevronDown:
|
|
36089
|
+
ChevronDown: Vc,
|
|
36090
36090
|
ChevronFirst: D2,
|
|
36091
36091
|
ChevronLast: B2,
|
|
36092
|
-
ChevronLeft:
|
|
36092
|
+
ChevronLeft: Gc,
|
|
36093
36093
|
ChevronRight: is,
|
|
36094
36094
|
ChevronUp: P2,
|
|
36095
36095
|
ChevronsDown: F2,
|
|
@@ -36105,7 +36105,7 @@ const vLe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
36105
36105
|
Church: W2,
|
|
36106
36106
|
Cigarette: Z2,
|
|
36107
36107
|
CigaretteOff: Y2,
|
|
36108
|
-
Circle:
|
|
36108
|
+
Circle: Wc,
|
|
36109
36109
|
CircleAlert: qr,
|
|
36110
36110
|
CircleArrowDown: qo,
|
|
36111
36111
|
CircleArrowLeft: jo,
|
|
@@ -36324,7 +36324,7 @@ const vLe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
36324
36324
|
Euro: rf,
|
|
36325
36325
|
EvCharger: of,
|
|
36326
36326
|
Expand: af,
|
|
36327
|
-
ExternalLink:
|
|
36327
|
+
ExternalLink: Yc,
|
|
36328
36328
|
Eye: cf,
|
|
36329
36329
|
EyeClosed: nf,
|
|
36330
36330
|
EyeOff: sf,
|
|
@@ -36703,7 +36703,7 @@ const vLe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
36703
36703
|
MarsStroke: bA,
|
|
36704
36704
|
Martini: yA,
|
|
36705
36705
|
Maximize: mA,
|
|
36706
|
-
Maximize2:
|
|
36706
|
+
Maximize2: Ys,
|
|
36707
36707
|
Medal: wA,
|
|
36708
36708
|
Megaphone: AA,
|
|
36709
36709
|
MegaphoneOff: vA,
|
|
@@ -36749,7 +36749,7 @@ const vLe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
36749
36749
|
Milk: ik,
|
|
36750
36750
|
MilkOff: nk,
|
|
36751
36751
|
Minimize: sk,
|
|
36752
|
-
Minimize2:
|
|
36752
|
+
Minimize2: Zs,
|
|
36753
36753
|
Minus: ck,
|
|
36754
36754
|
Monitor: Ak,
|
|
36755
36755
|
MonitorCheck: dk,
|
|
@@ -36953,7 +36953,7 @@ const vLe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
36953
36953
|
RedoDot: Mx,
|
|
36954
36954
|
RefreshCcw: Lx,
|
|
36955
36955
|
RefreshCcwDot: Nx,
|
|
36956
|
-
RefreshCw:
|
|
36956
|
+
RefreshCw: Xs,
|
|
36957
36957
|
RefreshCwOff: Rx,
|
|
36958
36958
|
Refrigerator: Ox,
|
|
36959
36959
|
Regex: _x,
|
|
@@ -38153,20 +38153,20 @@ const VY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
38153
38153
|
ChefHatIcon: O2,
|
|
38154
38154
|
Cherry: _2,
|
|
38155
38155
|
CherryIcon: _2,
|
|
38156
|
-
ChevronDown:
|
|
38156
|
+
ChevronDown: Vc,
|
|
38157
38157
|
ChevronDownCircle: Ko,
|
|
38158
38158
|
ChevronDownCircleIcon: Ko,
|
|
38159
|
-
ChevronDownIcon:
|
|
38159
|
+
ChevronDownIcon: Vc,
|
|
38160
38160
|
ChevronDownSquare: Xn,
|
|
38161
38161
|
ChevronDownSquareIcon: Xn,
|
|
38162
38162
|
ChevronFirst: D2,
|
|
38163
38163
|
ChevronFirstIcon: D2,
|
|
38164
38164
|
ChevronLast: B2,
|
|
38165
38165
|
ChevronLastIcon: B2,
|
|
38166
|
-
ChevronLeft:
|
|
38166
|
+
ChevronLeft: Gc,
|
|
38167
38167
|
ChevronLeftCircle: Jo,
|
|
38168
38168
|
ChevronLeftCircleIcon: Jo,
|
|
38169
|
-
ChevronLeftIcon:
|
|
38169
|
+
ChevronLeftIcon: Gc,
|
|
38170
38170
|
ChevronLeftSquare: Kn,
|
|
38171
38171
|
ChevronLeftSquareIcon: Kn,
|
|
38172
38172
|
ChevronRight: is,
|
|
@@ -38209,7 +38209,7 @@ const VY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
38209
38209
|
CigaretteIcon: Z2,
|
|
38210
38210
|
CigaretteOff: Y2,
|
|
38211
38211
|
CigaretteOffIcon: Y2,
|
|
38212
|
-
Circle:
|
|
38212
|
+
Circle: Wc,
|
|
38213
38213
|
CircleAlert: qr,
|
|
38214
38214
|
CircleAlertIcon: qr,
|
|
38215
38215
|
CircleArrowDown: qo,
|
|
@@ -38262,7 +38262,7 @@ const VY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
38262
38262
|
CircleGaugeIcon: ra,
|
|
38263
38263
|
CircleHelp: er,
|
|
38264
38264
|
CircleHelpIcon: er,
|
|
38265
|
-
CircleIcon:
|
|
38265
|
+
CircleIcon: Wc,
|
|
38266
38266
|
CircleMinus: oa,
|
|
38267
38267
|
CircleMinusIcon: oa,
|
|
38268
38268
|
CircleOff: ah,
|
|
@@ -38683,8 +38683,8 @@ const VY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
38683
38683
|
EvChargerIcon: of,
|
|
38684
38684
|
Expand: af,
|
|
38685
38685
|
ExpandIcon: af,
|
|
38686
|
-
ExternalLink:
|
|
38687
|
-
ExternalLinkIcon:
|
|
38686
|
+
ExternalLink: Yc,
|
|
38687
|
+
ExternalLinkIcon: Yc,
|
|
38688
38688
|
Eye: cf,
|
|
38689
38689
|
EyeClosed: nf,
|
|
38690
38690
|
EyeClosedIcon: nf,
|
|
@@ -39849,12 +39849,12 @@ const VY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39849
39849
|
LucideCheckSquare2: Zn,
|
|
39850
39850
|
LucideChefHat: O2,
|
|
39851
39851
|
LucideCherry: _2,
|
|
39852
|
-
LucideChevronDown:
|
|
39852
|
+
LucideChevronDown: Vc,
|
|
39853
39853
|
LucideChevronDownCircle: Ko,
|
|
39854
39854
|
LucideChevronDownSquare: Xn,
|
|
39855
39855
|
LucideChevronFirst: D2,
|
|
39856
39856
|
LucideChevronLast: B2,
|
|
39857
|
-
LucideChevronLeft:
|
|
39857
|
+
LucideChevronLeft: Gc,
|
|
39858
39858
|
LucideChevronLeftCircle: Jo,
|
|
39859
39859
|
LucideChevronLeftSquare: Kn,
|
|
39860
39860
|
LucideChevronRight: is,
|
|
@@ -39877,7 +39877,7 @@ const VY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39877
39877
|
LucideChurch: W2,
|
|
39878
39878
|
LucideCigarette: Z2,
|
|
39879
39879
|
LucideCigaretteOff: Y2,
|
|
39880
|
-
LucideCircle:
|
|
39880
|
+
LucideCircle: Wc,
|
|
39881
39881
|
LucideCircleAlert: qr,
|
|
39882
39882
|
LucideCircleArrowDown: qo,
|
|
39883
39883
|
LucideCircleArrowLeft: jo,
|
|
@@ -40114,7 +40114,7 @@ const VY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40114
40114
|
LucideEuro: rf,
|
|
40115
40115
|
LucideEvCharger: of,
|
|
40116
40116
|
LucideExpand: af,
|
|
40117
|
-
LucideExternalLink:
|
|
40117
|
+
LucideExternalLink: Yc,
|
|
40118
40118
|
LucideEye: cf,
|
|
40119
40119
|
LucideEyeClosed: nf,
|
|
40120
40120
|
LucideEyeOff: sf,
|
|
@@ -40545,7 +40545,7 @@ const VY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40545
40545
|
LucideMarsStroke: bA,
|
|
40546
40546
|
LucideMartini: yA,
|
|
40547
40547
|
LucideMaximize: mA,
|
|
40548
|
-
LucideMaximize2:
|
|
40548
|
+
LucideMaximize2: Ys,
|
|
40549
40549
|
LucideMedal: wA,
|
|
40550
40550
|
LucideMegaphone: AA,
|
|
40551
40551
|
LucideMegaphoneOff: vA,
|
|
@@ -40594,7 +40594,7 @@ const VY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40594
40594
|
LucideMilk: ik,
|
|
40595
40595
|
LucideMilkOff: nk,
|
|
40596
40596
|
LucideMinimize: sk,
|
|
40597
|
-
LucideMinimize2:
|
|
40597
|
+
LucideMinimize2: Zs,
|
|
40598
40598
|
LucideMinus: ck,
|
|
40599
40599
|
LucideMinusCircle: oa,
|
|
40600
40600
|
LucideMinusSquare: pi,
|
|
@@ -40834,7 +40834,7 @@ const VY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
40834
40834
|
LucideRedoDot: Mx,
|
|
40835
40835
|
LucideRefreshCcw: Lx,
|
|
40836
40836
|
LucideRefreshCcwDot: Nx,
|
|
40837
|
-
LucideRefreshCw:
|
|
40837
|
+
LucideRefreshCw: Xs,
|
|
40838
40838
|
LucideRefreshCwOff: Rx,
|
|
40839
40839
|
LucideRefrigerator: Ox,
|
|
40840
40840
|
LucideRegex: _x,
|
|
@@ -41406,8 +41406,8 @@ const VY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41406
41406
|
Martini: yA,
|
|
41407
41407
|
MartiniIcon: yA,
|
|
41408
41408
|
Maximize: mA,
|
|
41409
|
-
Maximize2:
|
|
41410
|
-
Maximize2Icon:
|
|
41409
|
+
Maximize2: Ys,
|
|
41410
|
+
Maximize2Icon: Ys,
|
|
41411
41411
|
MaximizeIcon: mA,
|
|
41412
41412
|
Medal: wA,
|
|
41413
41413
|
MedalIcon: wA,
|
|
@@ -41504,8 +41504,8 @@ const VY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41504
41504
|
MilkOff: nk,
|
|
41505
41505
|
MilkOffIcon: nk,
|
|
41506
41506
|
Minimize: sk,
|
|
41507
|
-
Minimize2:
|
|
41508
|
-
Minimize2Icon:
|
|
41507
|
+
Minimize2: Zs,
|
|
41508
|
+
Minimize2Icon: Zs,
|
|
41509
41509
|
MinimizeIcon: sk,
|
|
41510
41510
|
Minus: ck,
|
|
41511
41511
|
MinusCircle: oa,
|
|
@@ -41985,8 +41985,8 @@ const VY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41985
41985
|
RefreshCcwDot: Nx,
|
|
41986
41986
|
RefreshCcwDotIcon: Nx,
|
|
41987
41987
|
RefreshCcwIcon: Lx,
|
|
41988
|
-
RefreshCw:
|
|
41989
|
-
RefreshCwIcon:
|
|
41988
|
+
RefreshCw: Xs,
|
|
41989
|
+
RefreshCwIcon: Xs,
|
|
41990
41990
|
RefreshCwOff: Rx,
|
|
41991
41991
|
RefreshCwOffIcon: Rx,
|
|
41992
41992
|
Refrigerator: Ox,
|
|
@@ -44470,7 +44470,7 @@ function u_e() {
|
|
|
44470
44470
|
return (re.position.indent || re.position.start) && (re.indent = re.position.indent || [], re.position = re.position.start), _(R, re);
|
|
44471
44471
|
}
|
|
44472
44472
|
function _(R, K) {
|
|
44473
|
-
var re = K.additional, le = K.nonTerminated, ce = K.text, he = K.reference, ve = K.warning, se = K.textContext, pe = K.referenceContext, Se = K.warningContext, xe = K.position, M = K.indent || [], ae = R.length, $ = 0, j = -1, z = xe.column || 1, Y = xe.line || 1, de = "", ue = [], ee, me, Ae, be, X,
|
|
44473
|
+
var re = K.additional, le = K.nonTerminated, ce = K.text, he = K.reference, ve = K.warning, se = K.textContext, pe = K.referenceContext, Se = K.warningContext, xe = K.position, M = K.indent || [], ae = R.length, $ = 0, j = -1, z = xe.column || 1, Y = xe.line || 1, de = "", ue = [], ee, me, Ae, be, X, ne, fe, Ee, Be, je, $e, He, st, nt, Qe, yt, pt, Ot, rt;
|
|
44474
44474
|
for (typeof re == "string" && (re = re.charCodeAt(0)), yt = _r(), Ee = ve ? no : c, $--, ae++; ++$ < ae; )
|
|
44475
44475
|
if (X === p && (z = M[j] || 1), X = R.charCodeAt($), X === f) {
|
|
44476
44476
|
if (fe = R.charCodeAt($ + 1), fe === u || fe === p || fe === g || fe === h || fe === f || fe === m || fe !== fe || re && fe === re) {
|
|
@@ -44479,9 +44479,9 @@ function u_e() {
|
|
|
44479
44479
|
}
|
|
44480
44480
|
for (st = $ + 1, He = st, rt = st, fe === w ? (rt = ++He, fe = R.charCodeAt(rt), fe === A || fe === C ? (nt = S, rt = ++He) : nt = O) : nt = k, ee = "", $e = "", be = "", Qe = N[nt], rt--; ++rt < ae && (fe = R.charCodeAt(rt), !!Qe(fe)); )
|
|
44481
44481
|
be += s(fe), nt === k && i.call(e, be) && (ee = be, $e = e[be]);
|
|
44482
|
-
Ae = R.charCodeAt(rt) === b, Ae && (rt++, me = nt === k ? n(be) : !1, me && (ee = be, $e = me)), Ot = 1 + rt - st, !Ae && !le || (be ? nt === k ? (Ae && !$e ? Ee(F, 1) : (ee !== be && (rt = He + ee.length, Ot = 1 + rt - He, Ae = !1), Ae || (Be = ee ? q : B, K.attribute ? (fe = R.charCodeAt(rt), fe === y ? (Ee(Be, Ot), $e = null) : a(fe) ? $e = null : Ee(Be, Ot)) : Ee(Be, Ot))),
|
|
44482
|
+
Ae = R.charCodeAt(rt) === b, Ae && (rt++, me = nt === k ? n(be) : !1, me && (ee = be, $e = me)), Ot = 1 + rt - st, !Ae && !le || (be ? nt === k ? (Ae && !$e ? Ee(F, 1) : (ee !== be && (rt = He + ee.length, Ot = 1 + rt - He, Ae = !1), Ae || (Be = ee ? q : B, K.attribute ? (fe = R.charCodeAt(rt), fe === y ? (Ee(Be, Ot), $e = null) : a(fe) ? $e = null : Ee(Be, Ot)) : Ee(Be, Ot))), ne = $e) : (Ae || Ee(L, Ot), ne = parseInt(be, T[nt]), H(ne) ? (Ee(W, Ot), ne = s(x)) : ne in t ? (Ee(J, Ot), ne = t[ne]) : (je = "", V(ne) && Ee(J, Ot), ne > 65535 && (ne -= 65536, je += s(ne >>> 10 | 55296), ne = 56320 | ne & 1023), ne = je + s(ne))) : nt !== k && Ee(I, Ot)), ne ? (io(), yt = _r(), $ = rt - 1, z += rt - st + 1, ue.push(ne), pt = _r(), pt.offset++, he && he.call(
|
|
44483
44483
|
pe,
|
|
44484
|
-
|
|
44484
|
+
ne,
|
|
44485
44485
|
{ start: yt, end: pt },
|
|
44486
44486
|
R.slice(st - 1, rt)
|
|
44487
44487
|
), yt = pt) : (be = R.slice(st - 1, rt), de += be, z += be.length, $ = rt - 1);
|
|
@@ -65784,8 +65784,8 @@ const mQ = {
|
|
|
65784
65784
|
}
|
|
65785
65785
|
) })
|
|
65786
65786
|
}
|
|
65787
|
-
) }) : /* @__PURE__ */
|
|
65788
|
-
/* @__PURE__ */
|
|
65787
|
+
) }) : /* @__PURE__ */ ie("div", { className: Ne("relative w-full border rounded-lg mb-4", o), children: [
|
|
65788
|
+
/* @__PURE__ */ ie("div", { className: "flex items-center justify-between px-4 py-2 bg-zinc-100 dark:bg-zinc-900 text-primary border-b rounded-t-md", children: [
|
|
65789
65789
|
/* @__PURE__ */ E("span", { className: "text-xs text-primary font-mono", children: e || r || "" }),
|
|
65790
65790
|
/* @__PURE__ */ E(
|
|
65791
65791
|
"button",
|
|
@@ -65869,8 +65869,8 @@ const aFe = ({ children: e }) => {
|
|
|
65869
65869
|
console.error("Failed to copy code:", l);
|
|
65870
65870
|
}
|
|
65871
65871
|
};
|
|
65872
|
-
return /* @__PURE__ */
|
|
65873
|
-
/* @__PURE__ */
|
|
65872
|
+
return /* @__PURE__ */ ie("div", { className: "relative my-4 rounded-lg border border-zinc-200 bg-white shadow-sm dark:border-zinc-800 dark:bg-zinc-950", children: [
|
|
65873
|
+
/* @__PURE__ */ ie("div", { className: "flex items-center justify-between border-b border-zinc-200 bg-zinc-50/80 dark:border-zinc-800 dark:bg-zinc-900/80", children: [
|
|
65874
65874
|
/* @__PURE__ */ E("div", { className: "flex overflow-x-auto", children: s.map((l, u) => /* @__PURE__ */ E(
|
|
65875
65875
|
"button",
|
|
65876
65876
|
{
|
|
@@ -65940,7 +65940,7 @@ const aFe = ({ children: e }) => {
|
|
|
65940
65940
|
}
|
|
65941
65941
|
return "";
|
|
65942
65942
|
}, u = l(t).trim();
|
|
65943
|
-
return /* @__PURE__ */
|
|
65943
|
+
return /* @__PURE__ */ ie(
|
|
65944
65944
|
"div",
|
|
65945
65945
|
{
|
|
65946
65946
|
className: Ne(
|
|
@@ -65958,7 +65958,7 @@ const aFe = ({ children: e }) => {
|
|
|
65958
65958
|
"bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-[#0066FF] dark:focus-visible:ring-[#66A3FF]",
|
|
65959
65959
|
i && "bg-zinc-100 dark:bg-zinc-800"
|
|
65960
65960
|
),
|
|
65961
|
-
children: /* @__PURE__ */
|
|
65961
|
+
children: /* @__PURE__ */ ie("div", { className: "flex items-center gap-2", children: [
|
|
65962
65962
|
/* @__PURE__ */ E(
|
|
65963
65963
|
is,
|
|
65964
65964
|
{
|
|
@@ -66013,7 +66013,7 @@ const aFe = ({ children: e }) => {
|
|
|
66013
66013
|
children: r
|
|
66014
66014
|
}
|
|
66015
66015
|
);
|
|
66016
|
-
},
|
|
66016
|
+
}, gc = ({ children: e, className: t, icon: r }) => /* @__PURE__ */ ie(
|
|
66017
66017
|
"div",
|
|
66018
66018
|
{
|
|
66019
66019
|
className: Ne(
|
|
@@ -66026,42 +66026,42 @@ const aFe = ({ children: e }) => {
|
|
|
66026
66026
|
]
|
|
66027
66027
|
}
|
|
66028
66028
|
), vQ = ({ children: e }) => /* @__PURE__ */ E(
|
|
66029
|
-
|
|
66029
|
+
gc,
|
|
66030
66030
|
{
|
|
66031
66031
|
className: "border-emerald-200 bg-emerald-100 text-emerald-900 dark:border-emerald-800/30 dark:bg-emerald-900/30 dark:text-emerald-200",
|
|
66032
66032
|
icon: /* @__PURE__ */ E(xr, { className: "h-5 w-5 text-emerald-500 dark:text-emerald-400" }),
|
|
66033
66033
|
children: e
|
|
66034
66034
|
}
|
|
66035
66035
|
), AQ = ({ children: e }) => /* @__PURE__ */ E(
|
|
66036
|
-
|
|
66036
|
+
gc,
|
|
66037
66037
|
{
|
|
66038
66038
|
className: "border-red-200 bg-red-100 text-red-900 dark:border-red-800/30 dark:bg-red-900/30 dark:text-red-200",
|
|
66039
66039
|
icon: /* @__PURE__ */ E(Ft, { className: "h-5 w-5 text-red-500 dark:text-red-400" }),
|
|
66040
66040
|
children: e
|
|
66041
66041
|
}
|
|
66042
66042
|
), kQ = ({ children: e }) => /* @__PURE__ */ E(
|
|
66043
|
-
|
|
66043
|
+
gc,
|
|
66044
66044
|
{
|
|
66045
66045
|
className: "border-blue-200 bg-blue-100 text-blue-900 dark:border-blue-800/30 dark:bg-blue-900/30 dark:text-blue-200",
|
|
66046
66046
|
icon: /* @__PURE__ */ E(Xc, { className: "h-5 w-5 text-blue-500 dark:text-blue-400" }),
|
|
66047
66047
|
children: e
|
|
66048
66048
|
}
|
|
66049
66049
|
), xQ = ({ children: e }) => /* @__PURE__ */ E(
|
|
66050
|
-
|
|
66050
|
+
gc,
|
|
66051
66051
|
{
|
|
66052
66052
|
className: "border-neutral-200 bg-neutral-100 text-neutral-900 dark:border-neutral-800 dark:bg-neutral-900/40 dark:text-neutral-200",
|
|
66053
66053
|
icon: /* @__PURE__ */ E(qr, { className: "h-5 w-5 text-neutral-500 dark:text-neutral-400" }),
|
|
66054
66054
|
children: e
|
|
66055
66055
|
}
|
|
66056
66056
|
), EQ = ({ children: e }) => /* @__PURE__ */ E(
|
|
66057
|
-
|
|
66057
|
+
gc,
|
|
66058
66058
|
{
|
|
66059
66059
|
className: "border-emerald-200 bg-emerald-100 text-emerald-900 dark:border-emerald-800/30 dark:bg-emerald-900/30 dark:text-emerald-200",
|
|
66060
66060
|
icon: /* @__PURE__ */ E(Jc, { className: "h-5 w-5 text-emerald-500 dark:text-emerald-400" }),
|
|
66061
66061
|
children: e
|
|
66062
66062
|
}
|
|
66063
66063
|
), CQ = ({ children: e }) => /* @__PURE__ */ E(
|
|
66064
|
-
|
|
66064
|
+
gc,
|
|
66065
66065
|
{
|
|
66066
66066
|
className: "border-amber-200 bg-amber-100 text-amber-900 dark:border-amber-800/30 dark:bg-amber-900/30 dark:text-amber-200",
|
|
66067
66067
|
icon: /* @__PURE__ */ E(Ft, { className: "h-5 w-5 text-amber-500 dark:text-amber-400" }),
|
|
@@ -66097,7 +66097,7 @@ const aFe = ({ children: e }) => {
|
|
|
66097
66097
|
horizontal: n = !1,
|
|
66098
66098
|
className: i
|
|
66099
66099
|
}) => {
|
|
66100
|
-
const s = r ? VY[r] : null, c = () => /* @__PURE__ */
|
|
66100
|
+
const s = r ? VY[r] : null, c = () => /* @__PURE__ */ ie(qt, { children: [
|
|
66101
66101
|
a && /* @__PURE__ */ E("div", { className: "overflow-hidden rounded-t-lg", children: /* @__PURE__ */ E(
|
|
66102
66102
|
"img",
|
|
66103
66103
|
{
|
|
@@ -66114,7 +66114,7 @@ const aFe = ({ children: e }) => {
|
|
|
66114
66114
|
n ? "flex-row items-start space-x-4 space-y-0" : "",
|
|
66115
66115
|
a ? "p-4" : "p-6"
|
|
66116
66116
|
),
|
|
66117
|
-
children: /* @__PURE__ */
|
|
66117
|
+
children: /* @__PURE__ */ ie("div", { className: "flex-1", children: [
|
|
66118
66118
|
s && /* @__PURE__ */ E(s, { className: "mb-2 h-5 w-5 text-[#0066FF] dark:text-[#66A3FF]" }),
|
|
66119
66119
|
/* @__PURE__ */ E("h3", { className: "font-bold text-zinc-900 dark:text-zinc-100", children: e }),
|
|
66120
66120
|
/* @__PURE__ */ E("p", { className: "mt-2 text-zinc-600 dark:text-zinc-400", children: t })
|
|
@@ -66298,7 +66298,7 @@ function uFe({
|
|
|
66298
66298
|
}
|
|
66299
66299
|
return e;
|
|
66300
66300
|
}, [e, c, l]);
|
|
66301
|
-
return /* @__PURE__ */
|
|
66301
|
+
return /* @__PURE__ */ ie(
|
|
66302
66302
|
"div",
|
|
66303
66303
|
{
|
|
66304
66304
|
ref: i,
|
|
@@ -67121,14 +67121,14 @@ var aHe = function() {
|
|
|
67121
67121
|
right: t[2],
|
|
67122
67122
|
gap: Math.max(0, o - r + t[2] - t[0])
|
|
67123
67123
|
};
|
|
67124
|
-
}, dHe = wZ(),
|
|
67124
|
+
}, dHe = wZ(), Ks = "data-scroll-locked", lHe = function(e, t, r, o) {
|
|
67125
67125
|
var a = e.left, n = e.top, i = e.right, s = e.gap;
|
|
67126
67126
|
return r === void 0 && (r = "margin"), `
|
|
67127
67127
|
.`.concat(VFe, ` {
|
|
67128
67128
|
overflow: hidden `).concat(o, `;
|
|
67129
67129
|
padding-right: `).concat(s, "px ").concat(o, `;
|
|
67130
67130
|
}
|
|
67131
|
-
body[`).concat(
|
|
67131
|
+
body[`).concat(Ks, `] {
|
|
67132
67132
|
overflow: hidden `).concat(o, `;
|
|
67133
67133
|
overscroll-behavior: contain;
|
|
67134
67134
|
`).concat([
|
|
@@ -67161,18 +67161,18 @@ var aHe = function() {
|
|
|
67161
67161
|
margin-right: 0 `).concat(o, `;
|
|
67162
67162
|
}
|
|
67163
67163
|
|
|
67164
|
-
body[`).concat(
|
|
67164
|
+
body[`).concat(Ks, `] {
|
|
67165
67165
|
`).concat(GFe, ": ").concat(s, `px;
|
|
67166
67166
|
}
|
|
67167
67167
|
`);
|
|
67168
67168
|
}, PQ = function() {
|
|
67169
|
-
var e = parseInt(document.body.getAttribute(
|
|
67169
|
+
var e = parseInt(document.body.getAttribute(Ks) || "0", 10);
|
|
67170
67170
|
return isFinite(e) ? e : 0;
|
|
67171
67171
|
}, uHe = function() {
|
|
67172
67172
|
D.useEffect(function() {
|
|
67173
|
-
return document.body.setAttribute(
|
|
67173
|
+
return document.body.setAttribute(Ks, (PQ() + 1).toString()), function() {
|
|
67174
67174
|
var e = PQ() - 1;
|
|
67175
|
-
e <= 0 ? document.body.removeAttribute(
|
|
67175
|
+
e <= 0 ? document.body.removeAttribute(Ks) : document.body.setAttribute(Ks, e.toString());
|
|
67176
67176
|
};
|
|
67177
67177
|
}, []);
|
|
67178
67178
|
}, pHe = function(e) {
|
|
@@ -67554,7 +67554,7 @@ var _He = D.forwardRef(
|
|
|
67554
67554
|
), RZ = D.forwardRef(
|
|
67555
67555
|
(e, t) => {
|
|
67556
67556
|
const { __scopeDialog: r, trapFocus: o, onOpenAutoFocus: a, onCloseAutoFocus: n, ...i } = e, s = $t(fs, r), c = D.useRef(null), l = it(t, c);
|
|
67557
|
-
return bZ(), /* @__PURE__ */
|
|
67557
|
+
return bZ(), /* @__PURE__ */ ie(qt, { children: [
|
|
67558
67558
|
/* @__PURE__ */ E(
|
|
67559
67559
|
aB,
|
|
67560
67560
|
{
|
|
@@ -67578,7 +67578,7 @@ var _He = D.forwardRef(
|
|
|
67578
67578
|
)
|
|
67579
67579
|
}
|
|
67580
67580
|
),
|
|
67581
|
-
/* @__PURE__ */
|
|
67581
|
+
/* @__PURE__ */ ie(qt, { children: [
|
|
67582
67582
|
/* @__PURE__ */ E(BHe, { titleId: s.titleId }),
|
|
67583
67583
|
/* @__PURE__ */ E(zHe, { contentRef: c, descriptionId: s.descriptionId })
|
|
67584
67584
|
] })
|
|
@@ -67648,9 +67648,9 @@ const qHe = FHe, jHe = HHe, QZ = D.forwardRef(({ className: e, ...t }, r) => /*
|
|
|
67648
67648
|
}
|
|
67649
67649
|
));
|
|
67650
67650
|
QZ.displayName = HZ.displayName;
|
|
67651
|
-
const VZ = D.forwardRef(({ className: e, children: t, ...r }, o) => /* @__PURE__ */
|
|
67651
|
+
const VZ = D.forwardRef(({ className: e, children: t, ...r }, o) => /* @__PURE__ */ ie(jHe, { children: [
|
|
67652
67652
|
/* @__PURE__ */ E(QZ, {}),
|
|
67653
|
-
/* @__PURE__ */
|
|
67653
|
+
/* @__PURE__ */ ie(
|
|
67654
67654
|
UZ,
|
|
67655
67655
|
{
|
|
67656
67656
|
ref: o,
|
|
@@ -67661,7 +67661,7 @@ const VZ = D.forwardRef(({ className: e, children: t, ...r }, o) => /* @__PURE__
|
|
|
67661
67661
|
...r,
|
|
67662
67662
|
children: [
|
|
67663
67663
|
t,
|
|
67664
|
-
/* @__PURE__ */
|
|
67664
|
+
/* @__PURE__ */ ie(UHe, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
|
|
67665
67665
|
/* @__PURE__ */ E(ed, { className: "h-4 w-4" }),
|
|
67666
67666
|
/* @__PURE__ */ E("span", { className: "sr-only", children: "Close" })
|
|
67667
67667
|
] })
|
|
@@ -67793,9 +67793,9 @@ const GHe = ({
|
|
|
67793
67793
|
apiKey: n
|
|
67794
67794
|
}) => {
|
|
67795
67795
|
const [i, s] = Re.useState(!1), [c, l] = Re.useState(!1), u = typeof window < "u" && window.SAMPLEAPP_MAIN_URL ? window.SAMPLEAPP_MAIN_URL : "https://sampleapp.ai", p = Re.useMemo(() => a ? `npx sampleappai add "${typeof window < "u" && window.SAMPLEAPP_API_URL ? window.SAMPLEAPP_API_URL : u.replace("sampleapp.ai", "api.sampleapp.ai")}/api/v1/sdk/download-code?sandbox_id=${a}"` : "", [a, u]);
|
|
67796
|
-
return /* @__PURE__ */
|
|
67797
|
-
/* @__PURE__ */
|
|
67798
|
-
/* @__PURE__ */
|
|
67796
|
+
return /* @__PURE__ */ ie(qt, { children: [
|
|
67797
|
+
/* @__PURE__ */ ie("div", { className: "flex items-center gap-2", children: [
|
|
67798
|
+
/* @__PURE__ */ ie(
|
|
67799
67799
|
"button",
|
|
67800
67800
|
{
|
|
67801
67801
|
type: "button",
|
|
@@ -67810,7 +67810,7 @@ const GHe = ({
|
|
|
67810
67810
|
]
|
|
67811
67811
|
}
|
|
67812
67812
|
),
|
|
67813
|
-
/* @__PURE__ */
|
|
67813
|
+
/* @__PURE__ */ ie(
|
|
67814
67814
|
"button",
|
|
67815
67815
|
{
|
|
67816
67816
|
type: "button",
|
|
@@ -67831,17 +67831,17 @@ const GHe = ({
|
|
|
67831
67831
|
}
|
|
67832
67832
|
)
|
|
67833
67833
|
] }),
|
|
67834
|
-
/* @__PURE__ */ E(qHe, { open: i, onOpenChange: s, children: /* @__PURE__ */
|
|
67835
|
-
/* @__PURE__ */
|
|
67836
|
-
/* @__PURE__ */
|
|
67834
|
+
/* @__PURE__ */ E(qHe, { open: i, onOpenChange: s, children: /* @__PURE__ */ ie(VZ, { className: "max-w-[90vw] sm:max-w-md w-full", children: [
|
|
67835
|
+
/* @__PURE__ */ ie(GZ, { children: [
|
|
67836
|
+
/* @__PURE__ */ ie(WZ, { className: "flex items-center gap-2", children: [
|
|
67837
67837
|
/* @__PURE__ */ E(YO, { className: "w-5 h-5" }),
|
|
67838
67838
|
"Add to VS Code"
|
|
67839
67839
|
] }),
|
|
67840
67840
|
/* @__PURE__ */ E(YZ, { children: "Copy the command and paste it in VSCode terminal" })
|
|
67841
67841
|
] }),
|
|
67842
|
-
/* @__PURE__ */
|
|
67843
|
-
/* @__PURE__ */
|
|
67844
|
-
/* @__PURE__ */
|
|
67842
|
+
/* @__PURE__ */ ie("div", { className: "flex flex-col gap-4 py-2 overflow-hidden", children: [
|
|
67843
|
+
/* @__PURE__ */ ie("div", { className: "flex flex-col gap-2 overflow-hidden", children: [
|
|
67844
|
+
/* @__PURE__ */ ie("div", { className: "flex items-center gap-2", children: [
|
|
67845
67845
|
/* @__PURE__ */ E(
|
|
67846
67846
|
"div",
|
|
67847
67847
|
{
|
|
@@ -67852,7 +67852,7 @@ const GHe = ({
|
|
|
67852
67852
|
),
|
|
67853
67853
|
/* @__PURE__ */ E("p", { className: "text-sm font-medium", children: "Copy this command" })
|
|
67854
67854
|
] }),
|
|
67855
|
-
/* @__PURE__ */
|
|
67855
|
+
/* @__PURE__ */ ie("div", { className: "flex items-center gap-2 overflow-hidden", children: [
|
|
67856
67856
|
/* @__PURE__ */ E("code", { className: "flex-1 bg-zinc-100 dark:bg-zinc-800 px-3 py-2.5 rounded-md text-xs font-mono truncate block max-w-[calc(100%-3rem)]", children: p || "npx sampleappai add <download-url>" }),
|
|
67857
67857
|
/* @__PURE__ */ E(
|
|
67858
67858
|
"button",
|
|
@@ -67867,8 +67867,8 @@ const GHe = ({
|
|
|
67867
67867
|
)
|
|
67868
67868
|
] })
|
|
67869
67869
|
] }),
|
|
67870
|
-
/* @__PURE__ */
|
|
67871
|
-
/* @__PURE__ */
|
|
67870
|
+
/* @__PURE__ */ ie("div", { className: "flex flex-col gap-2", children: [
|
|
67871
|
+
/* @__PURE__ */ ie("div", { className: "flex items-center gap-2", children: [
|
|
67872
67872
|
/* @__PURE__ */ E(
|
|
67873
67873
|
"div",
|
|
67874
67874
|
{
|
|
@@ -67879,7 +67879,7 @@ const GHe = ({
|
|
|
67879
67879
|
),
|
|
67880
67880
|
/* @__PURE__ */ E("p", { className: "text-sm font-medium", children: "Open VSCode and paste in terminal" })
|
|
67881
67881
|
] }),
|
|
67882
|
-
/* @__PURE__ */
|
|
67882
|
+
/* @__PURE__ */ ie(
|
|
67883
67883
|
"button",
|
|
67884
67884
|
{
|
|
67885
67885
|
type: "button",
|
|
@@ -68032,7 +68032,7 @@ const GHe = ({
|
|
|
68032
68032
|
color: k,
|
|
68033
68033
|
className: S,
|
|
68034
68034
|
...O
|
|
68035
|
-
}) => !y || !w || !A || !C || !x || !k ? /* @__PURE__ */ E("div", { className: S, children: m }) : /* @__PURE__ */
|
|
68035
|
+
}) => !y || !w || !A || !C || !x || !k ? /* @__PURE__ */ E("div", { className: S, children: m }) : /* @__PURE__ */ ie("div", { className: S, children: [
|
|
68036
68036
|
/* @__PURE__ */ E(
|
|
68037
68037
|
WHe,
|
|
68038
68038
|
{
|
|
@@ -68057,7 +68057,7 @@ const GHe = ({
|
|
|
68057
68057
|
color: k,
|
|
68058
68058
|
className: S,
|
|
68059
68059
|
...O
|
|
68060
|
-
}) => !y || !w || !A || !C || !x || !k ? /* @__PURE__ */ E("div", { className: S, children: m }) : /* @__PURE__ */
|
|
68060
|
+
}) => !y || !w || !A || !C || !x || !k ? /* @__PURE__ */ E("div", { className: S, children: m }) : /* @__PURE__ */ ie("div", { className: S, children: [
|
|
68061
68061
|
/* @__PURE__ */ E(
|
|
68062
68062
|
YHe,
|
|
68063
68063
|
{
|
|
@@ -68084,7 +68084,7 @@ const GHe = ({
|
|
|
68084
68084
|
preloadedvmurl: O,
|
|
68085
68085
|
className: T,
|
|
68086
68086
|
...N
|
|
68087
|
-
}) => !y || !w || !A || !C || !x ? /* @__PURE__ */ E("div", { className: T, children: m }) : /* @__PURE__ */
|
|
68087
|
+
}) => !y || !w || !A || !C || !x ? /* @__PURE__ */ E("div", { className: T, children: m }) : /* @__PURE__ */ ie("div", { className: T, children: [
|
|
68088
68088
|
/* @__PURE__ */ E(
|
|
68089
68089
|
ZHe,
|
|
68090
68090
|
{
|
|
@@ -68109,7 +68109,7 @@ const GHe = ({
|
|
|
68109
68109
|
...C
|
|
68110
68110
|
}) => {
|
|
68111
68111
|
const x = a || "#3b82f6", k = i || w, S = s;
|
|
68112
|
-
return !y || !x ? /* @__PURE__ */ E("div", { className: A, children: m }) : /* @__PURE__ */
|
|
68112
|
+
return !y || !x ? /* @__PURE__ */ E("div", { className: A, children: m }) : /* @__PURE__ */ ie("div", { className: Ne("my-6", A), children: [
|
|
68113
68113
|
/* @__PURE__ */ E(
|
|
68114
68114
|
GHe,
|
|
68115
68115
|
{
|
|
@@ -68303,7 +68303,7 @@ function eUe({
|
|
|
68303
68303
|
apiKey: u
|
|
68304
68304
|
}) {
|
|
68305
68305
|
const [p, g] = ke("console"), h = Kt(() => p === "console", [p]);
|
|
68306
|
-
return /* @__PURE__ */ E("div", { className: "flex-1 min-h-0 relative flex flex-col", children: /* @__PURE__ */
|
|
68306
|
+
return /* @__PURE__ */ E("div", { className: "flex-1 min-h-0 relative flex flex-col", children: /* @__PURE__ */ ie("div", { className: "h-[calc(100vh-9.5rem)] min-h-0 overflow-hidden flex-1 flex flex-col", children: [
|
|
68307
68307
|
/* @__PURE__ */ E("div", { className: "flex-1 min-h-0 overflow-y-auto", children: h && (typeof e == "string" ? /* @__PURE__ */ E("div", { className: "h-full flex flex-col", children: /* @__PURE__ */ E("div", { className: "flex-1 px-8 ", children: /* @__PURE__ */ E(
|
|
68308
68308
|
dB,
|
|
68309
68309
|
{
|
|
@@ -68325,7 +68325,7 @@ function eUe({
|
|
|
68325
68325
|
themeColor: i
|
|
68326
68326
|
}
|
|
68327
68327
|
)) }),
|
|
68328
|
-
/* @__PURE__ */ E("div", { className: "relative", children: /* @__PURE__ */
|
|
68328
|
+
/* @__PURE__ */ E("div", { className: "relative", children: /* @__PURE__ */ ie("div", { className: "flex flex-row w-full items-center text-xs justify-center opacity-30 mt-1 pb-2 bg-background", children: [
|
|
68329
68329
|
/* @__PURE__ */ E("span", { className: "text-zinc-600 dark:text-gray-300", children: "Powered by" }),
|
|
68330
68330
|
/* @__PURE__ */ E("span", { className: "hover:bg-accent rounded-sm p-1 mx-1", children: /* @__PURE__ */ E($He, { width: 100, href: "https://sampleapp.ai" }) })
|
|
68331
68331
|
] }) })
|
|
@@ -68348,10 +68348,10 @@ const Sr = (e, t, r) => r > t ? t : r < e ? e : r;
|
|
|
68348
68348
|
function q_(e, t) {
|
|
68349
68349
|
return t ? `${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}` : e;
|
|
68350
68350
|
}
|
|
68351
|
-
let
|
|
68351
|
+
let bc = () => {
|
|
68352
68352
|
}, Mr = () => {
|
|
68353
68353
|
};
|
|
68354
|
-
process.env.NODE_ENV !== "production" && (
|
|
68354
|
+
process.env.NODE_ENV !== "production" && (bc = (e, t, r) => {
|
|
68355
68355
|
!e && typeof console < "u" && console.warn(q_(t, r));
|
|
68356
68356
|
}, Mr = (e, t, r) => {
|
|
68357
68357
|
if (!e)
|
|
@@ -68525,15 +68525,15 @@ const xt = {
|
|
|
68525
68525
|
set: (e) => {
|
|
68526
68526
|
f7 = e, queueMicrotask(hUe);
|
|
68527
68527
|
}
|
|
68528
|
-
}, pX = (e) => (t) => typeof t == "string" && t.startsWith(e), wB = /* @__PURE__ */ pX("--"), gUe = /* @__PURE__ */ pX("var(--"), vB = (e) => gUe(e) ? bUe.test(e.split("/*")[0].trim()) : !1, bUe = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,
|
|
68528
|
+
}, pX = (e) => (t) => typeof t == "string" && t.startsWith(e), wB = /* @__PURE__ */ pX("--"), gUe = /* @__PURE__ */ pX("var(--"), vB = (e) => gUe(e) ? bUe.test(e.split("/*")[0].trim()) : !1, bUe = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, fc = {
|
|
68529
68529
|
test: (e) => typeof e == "number",
|
|
68530
68530
|
parse: parseFloat,
|
|
68531
68531
|
transform: (e) => e
|
|
68532
68532
|
}, yd = {
|
|
68533
|
-
...
|
|
68533
|
+
...fc,
|
|
68534
68534
|
transform: (e) => Sr(0, 1, e)
|
|
68535
68535
|
}, sl = {
|
|
68536
|
-
...
|
|
68536
|
+
...fc,
|
|
68537
68537
|
default: 1
|
|
68538
68538
|
}, rd = (e) => Math.round(e * 1e5) / 1e5, AB = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
|
|
68539
68539
|
function fUe(e) {
|
|
@@ -68550,7 +68550,7 @@ const yUe = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\
|
|
|
68550
68550
|
alpha: s !== void 0 ? parseFloat(s) : 1
|
|
68551
68551
|
};
|
|
68552
68552
|
}, mUe = (e) => Sr(0, 255, e), XO = {
|
|
68553
|
-
...
|
|
68553
|
+
...fc,
|
|
68554
68554
|
transform: (e) => Math.round(mUe(e))
|
|
68555
68555
|
}, rs = {
|
|
68556
68556
|
test: /* @__PURE__ */ kB("rgb", "red"),
|
|
@@ -68659,7 +68659,7 @@ const Xe = (e, t, r) => e + (t - e) * r, JO = (e, t, r) => {
|
|
|
68659
68659
|
}, NUe = [j_, rs, Ds], LUe = (e) => NUe.find((t) => t.test(e));
|
|
68660
68660
|
function GQ(e) {
|
|
68661
68661
|
const t = LUe(e);
|
|
68662
|
-
if (
|
|
68662
|
+
if (bc(!!t, `'${e}' is not an animatable color. Use the equivalent color code instead.`, "color-not-animatable"), !t)
|
|
68663
68663
|
return !1;
|
|
68664
68664
|
let r = t.parse(e);
|
|
68665
68665
|
return t === Ds && (r = TUe(r)), r;
|
|
@@ -68708,7 +68708,7 @@ function DUe(e, t) {
|
|
|
68708
68708
|
}
|
|
68709
68709
|
const BUe = (e, t) => {
|
|
68710
68710
|
const r = $r.createTransformer(t), o = md(e), a = md(t);
|
|
68711
|
-
return o.indexes.var.length === a.indexes.var.length && o.indexes.color.length === a.indexes.color.length && o.indexes.number.length >= a.indexes.number.length ? Q_.has(e) && !a.values.length || Q_.has(t) && !o.values.length ? RUe(e, t) : Bd(mX(DUe(o, a), a.values), r) : (
|
|
68711
|
+
return o.indexes.var.length === a.indexes.var.length && o.indexes.color.length === a.indexes.color.length && o.indexes.number.length >= a.indexes.number.length ? Q_.has(e) && !a.values.length || Q_.has(t) && !o.values.length ? RUe(e, t) : Bd(mX(DUe(o, a), a.values), r) : (bc(!0, `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`, "complex-values-different"), N7(e, t));
|
|
68712
68712
|
};
|
|
68713
68713
|
function wX(e, t, r) {
|
|
68714
68714
|
return typeof e == "number" && typeof t == "number" && typeof r == "number" ? Xe(e, t, r) : xB(e)(e, t);
|
|
@@ -68783,7 +68783,7 @@ const Ze = {
|
|
|
68783
68783
|
}, $O = 1e-3;
|
|
68784
68784
|
function HUe({ duration: e = Ze.duration, bounce: t = Ze.bounce, velocity: r = Ze.velocity, mass: o = Ze.mass }) {
|
|
68785
68785
|
let a, n;
|
|
68786
|
-
|
|
68786
|
+
bc(e <= /* @__PURE__ */ Wt(Ze.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
|
|
68787
68787
|
let i = 1 - t;
|
|
68788
68788
|
i = Sr(Ze.minDamping, Ze.maxDamping, i), e = Sr(Ze.minDuration, Ze.maxDuration, /* @__PURE__ */ pr(e)), i < 1 ? (a = (l) => {
|
|
68789
68789
|
const u = l * i, p = u * e, g = u - r, h = V_(l, i), f = Math.exp(-p);
|
|
@@ -69219,7 +69219,7 @@ const aqe = (e, t) => {
|
|
|
69219
69219
|
function nqe(e) {
|
|
69220
69220
|
return parseFloat(e.trim());
|
|
69221
69221
|
}
|
|
69222
|
-
const
|
|
69222
|
+
const yc = [
|
|
69223
69223
|
"transformPerspective",
|
|
69224
69224
|
"x",
|
|
69225
69225
|
"y",
|
|
@@ -69237,7 +69237,7 @@ const mc = [
|
|
|
69237
69237
|
"skew",
|
|
69238
69238
|
"skewX",
|
|
69239
69239
|
"skewY"
|
|
69240
|
-
],
|
|
69240
|
+
], mc = new Set(yc), JQ = (e) => e === fc || e === Te, iqe = /* @__PURE__ */ new Set(["x", "y", "z"]), sqe = yc.filter((e) => !iqe.has(e));
|
|
69241
69241
|
function cqe(e) {
|
|
69242
69242
|
const t = [];
|
|
69243
69243
|
return sqe.forEach((r) => {
|
|
@@ -69342,20 +69342,20 @@ const CX = /* @__PURE__ */ gqe(() => {
|
|
|
69342
69342
|
return !1;
|
|
69343
69343
|
}
|
|
69344
69344
|
return !0;
|
|
69345
|
-
}, "linearEasing"),
|
|
69345
|
+
}, "linearEasing"), _c = ([e, t, r, o]) => `cubic-bezier(${e}, ${t}, ${r}, ${o})`, $Q = {
|
|
69346
69346
|
linear: "linear",
|
|
69347
69347
|
ease: "ease",
|
|
69348
69348
|
easeIn: "ease-in",
|
|
69349
69349
|
easeOut: "ease-out",
|
|
69350
69350
|
easeInOut: "ease-in-out",
|
|
69351
|
-
circIn: /* @__PURE__ */
|
|
69352
|
-
circOut: /* @__PURE__ */
|
|
69353
|
-
backIn: /* @__PURE__ */
|
|
69354
|
-
backOut: /* @__PURE__ */
|
|
69351
|
+
circIn: /* @__PURE__ */ _c([0, 0.65, 0.55, 1]),
|
|
69352
|
+
circOut: /* @__PURE__ */ _c([0.55, 0, 1, 0.45]),
|
|
69353
|
+
backIn: /* @__PURE__ */ _c([0.31, 0.01, 0.66, -0.59]),
|
|
69354
|
+
backOut: /* @__PURE__ */ _c([0.33, 1.53, 0.69, 0.99])
|
|
69355
69355
|
};
|
|
69356
69356
|
function IX(e, t) {
|
|
69357
69357
|
if (e)
|
|
69358
|
-
return typeof e == "function" ? CX() ? vX(e, t) : "ease-out" : lX(e) ?
|
|
69358
|
+
return typeof e == "function" ? CX() ? vX(e, t) : "ease-out" : lX(e) ? _c(e) : Array.isArray(e) ? e.map((r) => IX(r, t) || $Q.easeOut) : $Q[e];
|
|
69359
69359
|
}
|
|
69360
69360
|
function bqe(e, t, r, { delay: o = 0, duration: a = 300, repeat: n = 0, repeatType: i = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {
|
|
69361
69361
|
const u = {
|
|
@@ -69525,7 +69525,7 @@ function kqe(e, t, r, o) {
|
|
|
69525
69525
|
if (t === "display" || t === "visibility")
|
|
69526
69526
|
return !0;
|
|
69527
69527
|
const n = e[e.length - 1], i = tV(a, t), s = tV(n, t);
|
|
69528
|
-
return
|
|
69528
|
+
return bc(i === s, `You are trying to animate ${t} from "${a}" to "${n}". "${i ? n : a}" is not an animatable value.`, "value-not-animatable"), !i || !s ? !1 : Aqe(e) || (r === "spring" || SX(r)) && o;
|
|
69529
69529
|
}
|
|
69530
69530
|
function eD(e) {
|
|
69531
69531
|
e.duration = 0, e.type;
|
|
@@ -69665,11 +69665,11 @@ const NX = /* @__PURE__ */ new Set([
|
|
|
69665
69665
|
"left",
|
|
69666
69666
|
"right",
|
|
69667
69667
|
"bottom",
|
|
69668
|
-
...
|
|
69668
|
+
...yc
|
|
69669
69669
|
]), Lqe = {
|
|
69670
69670
|
test: (e) => e === "auto",
|
|
69671
69671
|
parse: (e) => e
|
|
69672
|
-
}, LX = (e) => (t) => t.test(e), RX = [
|
|
69672
|
+
}, LX = (e) => (t) => t.test(e), RX = [fc, Te, hr, Ur, AUe, vUe, Lqe], rV = (e) => RX.find(LX(e));
|
|
69673
69673
|
function Rqe(e) {
|
|
69674
69674
|
return typeof e == "number" ? e === 0 : e !== null ? e === "none" || e === "0" || $Z(e) : !0;
|
|
69675
69675
|
}
|
|
@@ -69692,7 +69692,7 @@ const Dqe = /\b([a-z-]*)\(.*?\)/gu, tD = {
|
|
|
69692
69692
|
return t ? t.map(_qe).join(" ") : e;
|
|
69693
69693
|
}
|
|
69694
69694
|
}, oV = {
|
|
69695
|
-
...
|
|
69695
|
+
...fc,
|
|
69696
69696
|
transform: Math.round
|
|
69697
69697
|
}, Bqe = {
|
|
69698
69698
|
rotate: Ur,
|
|
@@ -70060,7 +70060,7 @@ class Qqe {
|
|
|
70060
70060
|
this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
|
|
70061
70061
|
}
|
|
70062
70062
|
}
|
|
70063
|
-
function
|
|
70063
|
+
function oc(e, t) {
|
|
70064
70064
|
return new Qqe(e, t);
|
|
70065
70065
|
}
|
|
70066
70066
|
const { schedule: LB } = /* @__PURE__ */ uX(queueMicrotask, !1), jt = {
|
|
@@ -70202,15 +70202,15 @@ const UX = Rr({ strict: !1 }), cV = {
|
|
|
70202
70202
|
pan: ["onPan", "onPanStart", "onPanSessionStart", "onPanEnd"],
|
|
70203
70203
|
inView: ["whileInView", "onViewportEnter", "onViewportLeave"],
|
|
70204
70204
|
layout: ["layout", "layoutId"]
|
|
70205
|
-
},
|
|
70205
|
+
}, ac = {};
|
|
70206
70206
|
for (const e in cV)
|
|
70207
|
-
|
|
70207
|
+
ac[e] = {
|
|
70208
70208
|
isEnabled: (t) => cV[e].some((r) => !!t[r])
|
|
70209
70209
|
};
|
|
70210
70210
|
function tje(e) {
|
|
70211
70211
|
for (const t in e)
|
|
70212
|
-
|
|
70213
|
-
...
|
|
70212
|
+
ac[t] = {
|
|
70213
|
+
...ac[t],
|
|
70214
70214
|
...e[t]
|
|
70215
70215
|
};
|
|
70216
70216
|
}
|
|
@@ -70309,18 +70309,18 @@ function sje(e) {
|
|
|
70309
70309
|
vd[t] = e[t], wB(t) && (vd[t].isCSSVariable = !0);
|
|
70310
70310
|
}
|
|
70311
70311
|
function QX(e, { layout: t, layoutId: r }) {
|
|
70312
|
-
return
|
|
70312
|
+
return mc.has(e) || e.startsWith("origin") || (t || r !== void 0) && (!!vd[e] || e === "opacity");
|
|
70313
70313
|
}
|
|
70314
70314
|
const cje = {
|
|
70315
70315
|
x: "translateX",
|
|
70316
70316
|
y: "translateY",
|
|
70317
70317
|
z: "translateZ",
|
|
70318
70318
|
transformPerspective: "perspective"
|
|
70319
|
-
}, dje =
|
|
70319
|
+
}, dje = yc.length;
|
|
70320
70320
|
function lje(e, t, r) {
|
|
70321
70321
|
let o = "", a = !0;
|
|
70322
70322
|
for (let n = 0; n < dje; n++) {
|
|
70323
|
-
const i =
|
|
70323
|
+
const i = yc[n], s = e[i];
|
|
70324
70324
|
if (s === void 0)
|
|
70325
70325
|
continue;
|
|
70326
70326
|
let c = !0;
|
|
@@ -70341,7 +70341,7 @@ function DB(e, t, r) {
|
|
|
70341
70341
|
let i = !1, s = !1;
|
|
70342
70342
|
for (const c in t) {
|
|
70343
70343
|
const l = t[c];
|
|
70344
|
-
if (
|
|
70344
|
+
if (mc.has(c)) {
|
|
70345
70345
|
i = !0;
|
|
70346
70346
|
continue;
|
|
70347
70347
|
} else if (wB(c)) {
|
|
@@ -70560,7 +70560,7 @@ function XX(e, t, r) {
|
|
|
70560
70560
|
const o = FB(e, t, r);
|
|
70561
70561
|
for (const a in e)
|
|
70562
70562
|
if (gt(e[a]) || gt(t[a])) {
|
|
70563
|
-
const n =
|
|
70563
|
+
const n = yc.indexOf(a) !== -1 ? "attr" + a.charAt(0).toUpperCase() + a.substring(1) : a;
|
|
70564
70564
|
o[n] = e[a];
|
|
70565
70565
|
}
|
|
70566
70566
|
return o;
|
|
@@ -70651,10 +70651,10 @@ function t_(e, { forwardMotionProps: t = !1 } = {}, r, o) {
|
|
|
70651
70651
|
const f = Lje(u);
|
|
70652
70652
|
l = f.MeasureLayout, g.visualElement = Sje(e, h, u, o, f.ProjectionNode);
|
|
70653
70653
|
}
|
|
70654
|
-
return
|
|
70654
|
+
return ie(yS.Provider, { value: g, children: [l && g.visualElement ? E(l, { visualElement: g.visualElement, ...u }) : null, wje(e, s, Cje(h, g.visualElement, c), h, p, t)] });
|
|
70655
70655
|
}
|
|
70656
70656
|
n.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;
|
|
70657
|
-
const i =
|
|
70657
|
+
const i = sc(n);
|
|
70658
70658
|
return i[Eje] = e, i;
|
|
70659
70659
|
}
|
|
70660
70660
|
function Tje({ layoutId: e }) {
|
|
@@ -70665,11 +70665,11 @@ function Nje(e, t) {
|
|
|
70665
70665
|
const r = dt(UX).strict;
|
|
70666
70666
|
if (process.env.NODE_ENV !== "production" && t && r) {
|
|
70667
70667
|
const o = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
|
|
70668
|
-
e.ignoreStrict ?
|
|
70668
|
+
e.ignoreStrict ? bc(!1, o, "lazy-strict-mode") : Mr(!1, o, "lazy-strict-mode");
|
|
70669
70669
|
}
|
|
70670
70670
|
}
|
|
70671
70671
|
function Lje(e) {
|
|
70672
|
-
const { drag: t, layout: r } =
|
|
70672
|
+
const { drag: t, layout: r } = ac;
|
|
70673
70673
|
if (!t && !r)
|
|
70674
70674
|
return {};
|
|
70675
70675
|
const o = { ...t, ...r };
|
|
@@ -70800,14 +70800,14 @@ function Fje(e, t, r) {
|
|
|
70800
70800
|
if (gt(a))
|
|
70801
70801
|
e.addValue(o, a);
|
|
70802
70802
|
else if (gt(n))
|
|
70803
|
-
e.addValue(o,
|
|
70803
|
+
e.addValue(o, oc(a, { owner: e }));
|
|
70804
70804
|
else if (n !== a)
|
|
70805
70805
|
if (e.hasValue(o)) {
|
|
70806
70806
|
const i = e.getValue(o);
|
|
70807
70807
|
i.liveStyle === !0 ? i.jump(a) : i.hasAnimated || i.set(a);
|
|
70808
70808
|
} else {
|
|
70809
70809
|
const i = e.getStaticValue(o);
|
|
70810
|
-
e.addValue(o,
|
|
70810
|
+
e.addValue(o, oc(i !== void 0 ? i : a, { owner: e }));
|
|
70811
70811
|
}
|
|
70812
70812
|
}
|
|
70813
70813
|
for (const o in r)
|
|
@@ -70870,7 +70870,7 @@ class Hje {
|
|
|
70870
70870
|
}
|
|
70871
70871
|
bindToMotionValue(t, r) {
|
|
70872
70872
|
this.valueSubscriptions.has(t) && this.valueSubscriptions.get(t)();
|
|
70873
|
-
const o =
|
|
70873
|
+
const o = mc.has(t);
|
|
70874
70874
|
o && this.onBindTransform && this.onBindTransform();
|
|
70875
70875
|
const a = r.on("change", (i) => {
|
|
70876
70876
|
this.latestValues[t] = i, this.props.onUpdate && Ye.preRender(this.notifyUpdate), o && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
|
|
@@ -70885,8 +70885,8 @@ class Hje {
|
|
|
70885
70885
|
}
|
|
70886
70886
|
updateFeatures() {
|
|
70887
70887
|
let t = "animation";
|
|
70888
|
-
for (t in
|
|
70889
|
-
const r =
|
|
70888
|
+
for (t in ac) {
|
|
70889
|
+
const r = ac[t];
|
|
70890
70890
|
if (!r)
|
|
70891
70891
|
continue;
|
|
70892
70892
|
const { isEnabled: o, Feature: a } = r;
|
|
@@ -70981,7 +70981,7 @@ class Hje {
|
|
|
70981
70981
|
if (this.props.values && this.props.values[t])
|
|
70982
70982
|
return this.props.values[t];
|
|
70983
70983
|
let o = this.values.get(t);
|
|
70984
|
-
return o === void 0 && r !== void 0 && (o =
|
|
70984
|
+
return o === void 0 && r !== void 0 && (o = oc(r === null ? void 0 : r, { owner: this }), this.addValue(t, o)), o;
|
|
70985
70985
|
}
|
|
70986
70986
|
/**
|
|
70987
70987
|
* If we're trying to animate to a previously unencountered value,
|
|
@@ -71063,7 +71063,7 @@ class qje extends nK {
|
|
|
71063
71063
|
super(...arguments), this.type = "html", this.renderInstance = iK;
|
|
71064
71064
|
}
|
|
71065
71065
|
readValueFromInstance(t, r) {
|
|
71066
|
-
if (
|
|
71066
|
+
if (mc.has(r))
|
|
71067
71067
|
return this.projection?.isProjecting ? Z_(r) : aqe(t, r);
|
|
71068
71068
|
{
|
|
71069
71069
|
const o = Uje(t), a = (wB(r) ? o.getPropertyValue(r) : o[r]) || 0;
|
|
@@ -71118,7 +71118,7 @@ class Qje extends nK {
|
|
|
71118
71118
|
return t[r];
|
|
71119
71119
|
}
|
|
71120
71120
|
readValueFromInstance(t, r) {
|
|
71121
|
-
if (
|
|
71121
|
+
if (mc.has(r)) {
|
|
71122
71122
|
const o = OX(r);
|
|
71123
71123
|
return o && o.default || 0;
|
|
71124
71124
|
}
|
|
@@ -71140,19 +71140,19 @@ class Qje extends nK {
|
|
|
71140
71140
|
const Vje = (e, t) => PB(e) ? new Qje(t) : new qje(t, {
|
|
71141
71141
|
allowProjection: e !== xG
|
|
71142
71142
|
});
|
|
71143
|
-
function
|
|
71143
|
+
function Js(e, t, r) {
|
|
71144
71144
|
const o = e.getProps();
|
|
71145
71145
|
return zB(o, t, r !== void 0 ? r : o.custom, e);
|
|
71146
71146
|
}
|
|
71147
71147
|
const nD = (e) => Array.isArray(e);
|
|
71148
71148
|
function Gje(e, t, r) {
|
|
71149
|
-
e.hasValue(t) ? e.getValue(t).set(r) : e.addValue(t,
|
|
71149
|
+
e.hasValue(t) ? e.getValue(t).set(r) : e.addValue(t, oc(r));
|
|
71150
71150
|
}
|
|
71151
71151
|
function Wje(e) {
|
|
71152
71152
|
return nD(e) ? e[e.length - 1] || 0 : e;
|
|
71153
71153
|
}
|
|
71154
71154
|
function Yje(e, t) {
|
|
71155
|
-
const r =
|
|
71155
|
+
const r = Js(e, t);
|
|
71156
71156
|
let { transitionEnd: o = {}, transition: a = {}, ...n } = r || {};
|
|
71157
71157
|
n = { ...n, ...o };
|
|
71158
71158
|
for (const i in n) {
|
|
@@ -71197,7 +71197,7 @@ const Jje = {
|
|
|
71197
71197
|
type: "keyframes",
|
|
71198
71198
|
ease: [0.25, 0.1, 0.35, 1],
|
|
71199
71199
|
duration: 0.3
|
|
71200
|
-
}, rQe = (e, { keyframes: t }) => t.length > 2 ? eQe :
|
|
71200
|
+
}, rQe = (e, { keyframes: t }) => t.length > 2 ? eQe : mc.has(e) ? e.startsWith("scale") ? $je(t[1]) : Jje : tQe;
|
|
71201
71201
|
function oQe({ when: e, delay: t, delayChildren: r, staggerChildren: o, staggerDirection: a, repeat: n, repeatType: i, repeatDelay: s, from: c, elapsed: l, ...u }) {
|
|
71202
71202
|
return !!Object.keys(u).length;
|
|
71203
71203
|
}
|
|
@@ -71275,7 +71275,7 @@ function lK(e, t, r, o = 0, a = 1) {
|
|
|
71275
71275
|
return typeof r == "function" ? r(n, i) : a === 1 ? n * o : s - n * o;
|
|
71276
71276
|
}
|
|
71277
71277
|
function sD(e, t, r = {}) {
|
|
71278
|
-
const o =
|
|
71278
|
+
const o = Js(e, t, r.type === "exit" ? e.presenceContext?.custom : void 0);
|
|
71279
71279
|
let { transition: a = e.getDefaultTransition() || {} } = o || {};
|
|
71280
71280
|
r.transitionOverride && (a = r.transitionOverride);
|
|
71281
71281
|
const n = o ? () => Promise.all(dK(e, o, r)) : () => Promise.resolve(), i = e.variantChildren && e.variantChildren.size ? (c = 0) => {
|
|
@@ -71306,7 +71306,7 @@ function iQe(e, t, r = {}) {
|
|
|
71306
71306
|
} else if (typeof t == "string")
|
|
71307
71307
|
o = sD(e, t, r);
|
|
71308
71308
|
else {
|
|
71309
|
-
const a = typeof t == "function" ?
|
|
71309
|
+
const a = typeof t == "function" ? Js(e, t, r.custom) : t;
|
|
71310
71310
|
o = Promise.all(dK(e, a, r));
|
|
71311
71311
|
}
|
|
71312
71312
|
return o.then(() => {
|
|
@@ -71346,7 +71346,7 @@ function lQe(e) {
|
|
|
71346
71346
|
function uQe(e) {
|
|
71347
71347
|
let t = lQe(e), r = wV(), o = !0;
|
|
71348
71348
|
const a = (c) => (l, u) => {
|
|
71349
|
-
const p =
|
|
71349
|
+
const p = Js(e, u, c === "exit" ? e.presenceContext?.custom : void 0);
|
|
71350
71350
|
if (p) {
|
|
71351
71351
|
const { transition: g, transitionEnd: h, ...f } = p;
|
|
71352
71352
|
l = { ...l, ...f, ...h };
|
|
@@ -71395,7 +71395,7 @@ function uQe(e) {
|
|
|
71395
71395
|
O && (!F || T) && p.push(...N.map((W) => {
|
|
71396
71396
|
const Z = { type: y };
|
|
71397
71397
|
if (typeof W == "string" && o && !F && e.manuallyAnimateOnMount && e.parent) {
|
|
71398
|
-
const { parent: Q } = e, _ =
|
|
71398
|
+
const { parent: Q } = e, _ = Js(Q, W);
|
|
71399
71399
|
if (Q.enteringChildren && _) {
|
|
71400
71400
|
const { delayChildren: H } = _.transition || {};
|
|
71401
71401
|
Z.delay = lK(Q.enteringChildren, e, H);
|
|
@@ -71410,7 +71410,7 @@ function uQe(e) {
|
|
|
71410
71410
|
if (g.size) {
|
|
71411
71411
|
const m = {};
|
|
71412
71412
|
if (typeof l.initial != "boolean") {
|
|
71413
|
-
const y =
|
|
71413
|
+
const y = Js(e, Array.isArray(l.initial) ? l.initial[0] : l.initial);
|
|
71414
71414
|
y && y.transition && (m.transition = y.transition);
|
|
71415
71415
|
}
|
|
71416
71416
|
g.forEach((y) => {
|
|
@@ -71995,7 +71995,7 @@ const w7 = {
|
|
|
71995
71995
|
function NV(e, t) {
|
|
71996
71996
|
return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
|
|
71997
71997
|
}
|
|
71998
|
-
const
|
|
71998
|
+
const Tc = {
|
|
71999
71999
|
correct: (e, t) => {
|
|
72000
72000
|
if (!t.target)
|
|
72001
72001
|
return e;
|
|
@@ -72065,7 +72065,7 @@ function mK(e) {
|
|
|
72065
72065
|
}
|
|
72066
72066
|
const HQe = {
|
|
72067
72067
|
borderRadius: {
|
|
72068
|
-
...
|
|
72068
|
+
...Tc,
|
|
72069
72069
|
applyTo: [
|
|
72070
72070
|
"borderTopLeftRadius",
|
|
72071
72071
|
"borderTopRightRadius",
|
|
@@ -72073,14 +72073,14 @@ const HQe = {
|
|
|
72073
72073
|
"borderBottomRightRadius"
|
|
72074
72074
|
]
|
|
72075
72075
|
},
|
|
72076
|
-
borderTopLeftRadius:
|
|
72077
|
-
borderTopRightRadius:
|
|
72078
|
-
borderBottomLeftRadius:
|
|
72079
|
-
borderBottomRightRadius:
|
|
72076
|
+
borderTopLeftRadius: Tc,
|
|
72077
|
+
borderTopRightRadius: Tc,
|
|
72078
|
+
borderBottomLeftRadius: Tc,
|
|
72079
|
+
borderBottomRightRadius: Tc,
|
|
72080
72080
|
boxShadow: zQe
|
|
72081
72081
|
};
|
|
72082
72082
|
function UQe(e, t, r) {
|
|
72083
|
-
const o = gt(e) ? e :
|
|
72083
|
+
const o = gt(e) ? e : oc(e);
|
|
72084
72084
|
return o.start(UB("", o, t, r)), o.animation;
|
|
72085
72085
|
}
|
|
72086
72086
|
const qQe = (e, t) => e.depth - t.depth;
|
|
@@ -72569,7 +72569,7 @@ function EK({ attachResizeListener: e, defaultParent: t, measureScroll: r, check
|
|
|
72569
72569
|
}
|
|
72570
72570
|
startAnimation(i) {
|
|
72571
72571
|
this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation && (Jr(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = Ye.update(() => {
|
|
72572
|
-
w7.hasAnimatedSinceResize = !0, this.motionValue || (this.motionValue =
|
|
72572
|
+
w7.hasAnimatedSinceResize = !0, this.motionValue || (this.motionValue = oc(0)), this.currentAnimation = UQe(this.motionValue, [0, 1e3], {
|
|
72573
72573
|
...i,
|
|
72574
72574
|
velocity: 0,
|
|
72575
72575
|
isSync: !0,
|
|
@@ -72990,7 +72990,7 @@ function _Ve({
|
|
|
72990
72990
|
setCurrentView: n
|
|
72991
72991
|
}) {
|
|
72992
72992
|
const i = t === "pill" ? "relative inline-flex items-center bg-muted/30 rounded-full p-1 border border-border/50" : "relative inline-flex items-center bg-muted/30 rounded-lg p-1", s = t === "pill" ? "rounded-full" : "rounded-md", c = t === "pill" ? "rounded-full" : "rounded-md", l = t === "pill" ? "px-5 py-2" : "px-4 py-1.5";
|
|
72993
|
-
return /* @__PURE__ */ E("div", { className: i, children: o.map((u) => /* @__PURE__ */
|
|
72993
|
+
return /* @__PURE__ */ E("div", { className: i, children: o.map((u) => /* @__PURE__ */ ie(
|
|
72994
72994
|
"button",
|
|
72995
72995
|
{
|
|
72996
72996
|
onClick: () => n(u.id),
|
|
@@ -73091,7 +73091,7 @@ function Nr(e, t) {
|
|
|
73091
73091
|
function Lr(e) {
|
|
73092
73092
|
return e.split("-")[0];
|
|
73093
73093
|
}
|
|
73094
|
-
function
|
|
73094
|
+
function wc(e) {
|
|
73095
73095
|
return e.split("-")[1];
|
|
73096
73096
|
}
|
|
73097
73097
|
function qB(e) {
|
|
@@ -73109,7 +73109,7 @@ function QB(e) {
|
|
|
73109
73109
|
}
|
|
73110
73110
|
function HVe(e, t, r) {
|
|
73111
73111
|
r === void 0 && (r = !1);
|
|
73112
|
-
const o =
|
|
73112
|
+
const o = wc(e), a = QB(e), n = jB(a);
|
|
73113
73113
|
let i = a === "x" ? o === (r ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
|
|
73114
73114
|
return t.reference[n] > t.floating[n] && (i = B7(i)), [i, B7(i)];
|
|
73115
73115
|
}
|
|
@@ -73134,7 +73134,7 @@ function QVe(e, t, r) {
|
|
|
73134
73134
|
}
|
|
73135
73135
|
}
|
|
73136
73136
|
function VVe(e, t, r, o) {
|
|
73137
|
-
const a =
|
|
73137
|
+
const a = wc(e);
|
|
73138
73138
|
let n = QVe(Lr(e), r === "start", o);
|
|
73139
73139
|
return a && (n = n.map((i) => i + "-" + a), t && (n = n.concat(n.map(uD)))), n;
|
|
73140
73140
|
}
|
|
@@ -73214,7 +73214,7 @@ function rG(e, t, r) {
|
|
|
73214
73214
|
y: o.y
|
|
73215
73215
|
};
|
|
73216
73216
|
}
|
|
73217
|
-
switch (
|
|
73217
|
+
switch (wc(t)) {
|
|
73218
73218
|
case "start":
|
|
73219
73219
|
h[i] -= g * (r && l ? -1 : 1);
|
|
73220
73220
|
break;
|
|
@@ -73354,7 +73354,7 @@ const YVe = (e) => ({
|
|
|
73354
73354
|
}, h = QB(a), f = jB(h), b = await i.getDimensions(l), m = h === "y", y = m ? "top" : "left", w = m ? "bottom" : "right", A = m ? "clientHeight" : "clientWidth", C = n.reference[f] + n.reference[h] - g[h] - n.floating[f], x = g[h] - n.reference[h], k = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(l));
|
|
73355
73355
|
let S = k ? k[A] : 0;
|
|
73356
73356
|
(!S || !await (i.isElement == null ? void 0 : i.isElement(k))) && (S = s.floating[A] || n.floating[f]);
|
|
73357
|
-
const O = C / 2 - x / 2, T = S / 2 - b[f] / 2 - 1, N = eo(p[y], T), q = eo(p[w], T), L = N, B = S - b[f] - q, I = S / 2 - b[f] / 2 + O, F = lD(L, I, B), J = !c.arrow &&
|
|
73357
|
+
const O = C / 2 - x / 2, T = S / 2 - b[f] / 2 - 1, N = eo(p[y], T), q = eo(p[w], T), L = N, B = S - b[f] - q, I = S / 2 - b[f] / 2 + O, F = lD(L, I, B), J = !c.arrow && wc(a) != null && I !== F && n.reference[f] / 2 - (I < L ? N : q) - b[f] / 2 < 0, W = J ? I < L ? I - L : I - B : 0;
|
|
73358
73358
|
return {
|
|
73359
73359
|
[h]: g[h] + W,
|
|
73360
73360
|
data: {
|
|
@@ -73507,7 +73507,7 @@ async function KVe(e, t) {
|
|
|
73507
73507
|
placement: r,
|
|
73508
73508
|
platform: o,
|
|
73509
73509
|
elements: a
|
|
73510
|
-
} = e, n = await (o.isRTL == null ? void 0 : o.isRTL(a.floating)), i = Lr(r), s =
|
|
73510
|
+
} = e, n = await (o.isRTL == null ? void 0 : o.isRTL(a.floating)), i = Lr(r), s = wc(r), c = ur(r) === "y", l = NK.has(i) ? -1 : 1, u = n && c ? -1 : 1, p = Nr(t, e);
|
|
73511
73511
|
let {
|
|
73512
73512
|
mainAxis: g,
|
|
73513
73513
|
crossAxis: h,
|
|
@@ -73664,7 +73664,7 @@ const JVe = function(e) {
|
|
|
73664
73664
|
apply: c = () => {
|
|
73665
73665
|
},
|
|
73666
73666
|
...l
|
|
73667
|
-
} = Nr(e, t), u = await kd(t, l), p = Lr(a), g =
|
|
73667
|
+
} = Nr(e, t), u = await kd(t, l), p = Lr(a), g = wc(a), h = ur(a) === "y", {
|
|
73668
73668
|
width: f,
|
|
73669
73669
|
height: b
|
|
73670
73670
|
} = n.floating;
|
|
@@ -73693,7 +73693,7 @@ const JVe = function(e) {
|
|
|
73693
73693
|
function vS() {
|
|
73694
73694
|
return typeof window < "u";
|
|
73695
73695
|
}
|
|
73696
|
-
function
|
|
73696
|
+
function vc(e) {
|
|
73697
73697
|
return LK(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
73698
73698
|
}
|
|
73699
73699
|
function Rt(e) {
|
|
@@ -73728,7 +73728,7 @@ function Hd(e) {
|
|
|
73728
73728
|
}
|
|
73729
73729
|
const oGe = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
73730
73730
|
function aGe(e) {
|
|
73731
|
-
return oGe.has(
|
|
73731
|
+
return oGe.has(vc(e));
|
|
73732
73732
|
}
|
|
73733
73733
|
const nGe = [":popover-open", ":modal"];
|
|
73734
73734
|
function AS(e) {
|
|
@@ -73747,7 +73747,7 @@ function VB(e) {
|
|
|
73747
73747
|
}
|
|
73748
73748
|
function dGe(e) {
|
|
73749
73749
|
let t = to(e);
|
|
73750
|
-
for (; fr(t) && !
|
|
73750
|
+
for (; fr(t) && !nc(t); ) {
|
|
73751
73751
|
if (VB(t))
|
|
73752
73752
|
return t;
|
|
73753
73753
|
if (AS(t))
|
|
@@ -73760,8 +73760,8 @@ function GB() {
|
|
|
73760
73760
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
73761
73761
|
}
|
|
73762
73762
|
const lGe = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
73763
|
-
function
|
|
73764
|
-
return lGe.has(
|
|
73763
|
+
function nc(e) {
|
|
73764
|
+
return lGe.has(vc(e));
|
|
73765
73765
|
}
|
|
73766
73766
|
function Xt(e) {
|
|
73767
73767
|
return Rt(e).getComputedStyle(e);
|
|
@@ -73776,7 +73776,7 @@ function kS(e) {
|
|
|
73776
73776
|
};
|
|
73777
73777
|
}
|
|
73778
73778
|
function to(e) {
|
|
73779
|
-
if (
|
|
73779
|
+
if (vc(e) === "html")
|
|
73780
73780
|
return e;
|
|
73781
73781
|
const t = (
|
|
73782
73782
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
@@ -73789,7 +73789,7 @@ function to(e) {
|
|
|
73789
73789
|
}
|
|
73790
73790
|
function RK(e) {
|
|
73791
73791
|
const t = to(e);
|
|
73792
|
-
return
|
|
73792
|
+
return nc(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : fr(t) && Hd(t) ? t : RK(t);
|
|
73793
73793
|
}
|
|
73794
73794
|
function xd(e, t, r) {
|
|
73795
73795
|
var o;
|
|
@@ -73817,7 +73817,7 @@ function OK(e) {
|
|
|
73817
73817
|
function WB(e) {
|
|
73818
73818
|
return Zt(e) ? e : e.contextElement;
|
|
73819
73819
|
}
|
|
73820
|
-
function
|
|
73820
|
+
function $s(e) {
|
|
73821
73821
|
const t = WB(e);
|
|
73822
73822
|
if (!fr(t))
|
|
73823
73823
|
return gr(1);
|
|
@@ -73847,14 +73847,14 @@ function ys(e, t, r, o) {
|
|
|
73847
73847
|
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
|
73848
73848
|
const a = e.getBoundingClientRect(), n = WB(e);
|
|
73849
73849
|
let i = gr(1);
|
|
73850
|
-
t && (o ? Zt(o) && (i =
|
|
73850
|
+
t && (o ? Zt(o) && (i = $s(o)) : i = $s(e));
|
|
73851
73851
|
const s = pGe(n, r, o) ? _K(n) : gr(0);
|
|
73852
73852
|
let c = (a.left + s.x) / i.x, l = (a.top + s.y) / i.y, u = a.width / i.x, p = a.height / i.y;
|
|
73853
73853
|
if (n) {
|
|
73854
73854
|
const g = Rt(n), h = o && Zt(o) ? Rt(o) : o;
|
|
73855
73855
|
let f = g, b = pD(f);
|
|
73856
73856
|
for (; b && o && h !== f; ) {
|
|
73857
|
-
const m =
|
|
73857
|
+
const m = $s(b), y = b.getBoundingClientRect(), w = Xt(b), A = y.left + (b.clientLeft + parseFloat(w.paddingLeft)) * m.x, C = y.top + (b.clientTop + parseFloat(w.paddingTop)) * m.y;
|
|
73858
73858
|
c *= m.x, l *= m.y, u *= m.x, p *= m.y, c += A, l += C, f = Rt(b), b = pD(f);
|
|
73859
73859
|
}
|
|
73860
73860
|
}
|
|
@@ -73891,9 +73891,9 @@ function hGe(e) {
|
|
|
73891
73891
|
scrollTop: 0
|
|
73892
73892
|
}, l = gr(1);
|
|
73893
73893
|
const u = gr(0), p = fr(o);
|
|
73894
|
-
if ((p || !p && !n) && ((
|
|
73894
|
+
if ((p || !p && !n) && ((vc(o) !== "body" || Hd(i)) && (c = kS(o)), fr(o))) {
|
|
73895
73895
|
const h = ys(o);
|
|
73896
|
-
l =
|
|
73896
|
+
l = $s(o), u.x = h.x + o.clientLeft, u.y = h.y + o.clientTop;
|
|
73897
73897
|
}
|
|
73898
73898
|
const g = i && !p && !n ? DK(i, c) : gr(0);
|
|
73899
73899
|
return {
|
|
@@ -73940,7 +73940,7 @@ function fGe(e, t) {
|
|
|
73940
73940
|
}
|
|
73941
73941
|
const yGe = /* @__PURE__ */ new Set(["absolute", "fixed"]);
|
|
73942
73942
|
function mGe(e, t) {
|
|
73943
|
-
const r = ys(e, !0, t === "fixed"), o = r.top + e.clientTop, a = r.left + e.clientLeft, n = fr(e) ?
|
|
73943
|
+
const r = ys(e, !0, t === "fixed"), o = r.top + e.clientTop, a = r.left + e.clientLeft, n = fr(e) ? $s(e) : gr(1), i = e.clientWidth * n.x, s = e.clientHeight * n.y, c = a * n.x, l = o * n.y;
|
|
73944
73944
|
return {
|
|
73945
73945
|
width: i,
|
|
73946
73946
|
height: s,
|
|
@@ -73969,16 +73969,16 @@ function sG(e, t, r) {
|
|
|
73969
73969
|
}
|
|
73970
73970
|
function BK(e, t) {
|
|
73971
73971
|
const r = to(e);
|
|
73972
|
-
return r === t || !Zt(r) ||
|
|
73972
|
+
return r === t || !Zt(r) || nc(r) ? !1 : Xt(r).position === "fixed" || BK(r, t);
|
|
73973
73973
|
}
|
|
73974
73974
|
function wGe(e, t) {
|
|
73975
73975
|
const r = t.get(e);
|
|
73976
73976
|
if (r)
|
|
73977
73977
|
return r;
|
|
73978
|
-
let o = xd(e, [], !1).filter((s) => Zt(s) &&
|
|
73978
|
+
let o = xd(e, [], !1).filter((s) => Zt(s) && vc(s) !== "body"), a = null;
|
|
73979
73979
|
const n = Xt(e).position === "fixed";
|
|
73980
73980
|
let i = n ? to(e) : e;
|
|
73981
|
-
for (; Zt(i) && !
|
|
73981
|
+
for (; Zt(i) && !nc(i); ) {
|
|
73982
73982
|
const s = Xt(i), c = VB(i);
|
|
73983
73983
|
!c && s.position === "fixed" && (a = null), (n ? !c && !a : !c && s.position === "static" && !!a && yGe.has(a.position) || Hd(i) && !c && BK(e, i)) ? o = o.filter((u) => u !== i) : a = s, i = to(i);
|
|
73984
73984
|
}
|
|
@@ -74023,7 +74023,7 @@ function kGe(e, t, r) {
|
|
|
74023
74023
|
c.x = xS(a);
|
|
74024
74024
|
}
|
|
74025
74025
|
if (o || !o && !n)
|
|
74026
|
-
if ((
|
|
74026
|
+
if ((vc(t) !== "body" || Hd(a)) && (s = kS(t)), o) {
|
|
74027
74027
|
const h = ys(t, !0, n, t);
|
|
74028
74028
|
c.x = h.x + t.clientLeft, c.y = h.y + t.clientTop;
|
|
74029
74029
|
} else a && l();
|
|
@@ -74053,7 +74053,7 @@ function PK(e, t) {
|
|
|
74053
74053
|
return r;
|
|
74054
74054
|
if (!fr(e)) {
|
|
74055
74055
|
let a = to(e);
|
|
74056
|
-
for (; a && !
|
|
74056
|
+
for (; a && !nc(a); ) {
|
|
74057
74057
|
if (Zt(a) && !l_(a))
|
|
74058
74058
|
return a;
|
|
74059
74059
|
a = to(a);
|
|
@@ -74063,7 +74063,7 @@ function PK(e, t) {
|
|
|
74063
74063
|
let o = cG(e, t);
|
|
74064
74064
|
for (; o && aGe(o) && l_(o); )
|
|
74065
74065
|
o = cG(o, t);
|
|
74066
|
-
return o &&
|
|
74066
|
+
return o && nc(o) && l_(o) && !VB(o) ? r : o || dGe(e) || r;
|
|
74067
74067
|
}
|
|
74068
74068
|
const xGe = async function(e) {
|
|
74069
74069
|
const t = this.getOffsetParent || PK, r = this.getDimensions, o = await r(e.floating);
|
|
@@ -74088,7 +74088,7 @@ const CGe = {
|
|
|
74088
74088
|
getElementRects: xGe,
|
|
74089
74089
|
getClientRects: gGe,
|
|
74090
74090
|
getDimensions: AGe,
|
|
74091
|
-
getScale:
|
|
74091
|
+
getScale: $s,
|
|
74092
74092
|
isElement: Zt,
|
|
74093
74093
|
isRTL: EGe
|
|
74094
74094
|
};
|
|
@@ -75189,9 +75189,9 @@ var _We = "MenuArrow", xJ = D.forwardRef(
|
|
|
75189
75189
|
}
|
|
75190
75190
|
);
|
|
75191
75191
|
xJ.displayName = _We;
|
|
75192
|
-
var DWe = "MenuSub", [UXe, EJ] = ks(DWe),
|
|
75192
|
+
var DWe = "MenuSub", [UXe, EJ] = ks(DWe), Dc = "MenuSubTrigger", CJ = D.forwardRef(
|
|
75193
75193
|
(e, t) => {
|
|
75194
|
-
const r = xs(
|
|
75194
|
+
const r = xs(Dc, e.__scopeMenu), o = jd(Dc, e.__scopeMenu), a = EJ(Dc, e.__scopeMenu), n = JB(Dc, e.__scopeMenu), i = D.useRef(null), { pointerGraceTimerRef: s, onPointerGraceIntentChange: c } = n, l = { __scopeMenu: e.__scopeMenu }, u = D.useCallback(() => {
|
|
75195
75195
|
i.current && window.clearTimeout(i.current), i.current = null;
|
|
75196
75196
|
}, []);
|
|
75197
75197
|
return D.useEffect(() => u, [u]), D.useEffect(() => {
|
|
@@ -75256,7 +75256,7 @@ var DWe = "MenuSub", [UXe, EJ] = ks(DWe), Bc = "MenuSubTrigger", CJ = D.forwardR
|
|
|
75256
75256
|
) });
|
|
75257
75257
|
}
|
|
75258
75258
|
);
|
|
75259
|
-
CJ.displayName =
|
|
75259
|
+
CJ.displayName = Dc;
|
|
75260
75260
|
var IJ = "MenuSubContent", SJ = D.forwardRef(
|
|
75261
75261
|
(e, t) => {
|
|
75262
75262
|
const r = lJ(Ut, e.__scopeMenu), { forceMount: o = r.forceMount, ...a } = e, n = xs(Ut, e.__scopeMenu), i = jd(Ut, e.__scopeMenu), s = EJ(IJ, e.__scopeMenu), c = D.useRef(null), l = it(t, c);
|
|
@@ -75510,7 +75510,7 @@ var mYe = "DropdownMenuSubContent", jJ = D.forwardRef((e, t) => {
|
|
|
75510
75510
|
});
|
|
75511
75511
|
jJ.displayName = mYe;
|
|
75512
75512
|
var wYe = NJ, vYe = RJ, AYe = OJ, QJ = DJ, VJ = BJ, GJ = PJ, WJ = zJ, YJ = FJ, ZJ = HJ, XJ = UJ, KJ = qJ, JJ = jJ;
|
|
75513
|
-
const kYe = wYe, xYe = vYe, EYe = D.forwardRef(({ className: e, inset: t, children: r, hideChevron: o, ...a }, n) => /* @__PURE__ */
|
|
75513
|
+
const kYe = wYe, xYe = vYe, EYe = D.forwardRef(({ className: e, inset: t, children: r, hideChevron: o, ...a }, n) => /* @__PURE__ */ ie(
|
|
75514
75514
|
KJ,
|
|
75515
75515
|
{
|
|
75516
75516
|
ref: n,
|
|
@@ -75566,7 +75566,7 @@ const e$ = D.forwardRef(({ className: e, inset: t, ...r }, o) => /* @__PURE__ */
|
|
|
75566
75566
|
}
|
|
75567
75567
|
));
|
|
75568
75568
|
e$.displayName = GJ.displayName;
|
|
75569
|
-
const IYe = D.forwardRef(({ className: e, children: t, checked: r, ...o }, a) => /* @__PURE__ */
|
|
75569
|
+
const IYe = D.forwardRef(({ className: e, children: t, checked: r, ...o }, a) => /* @__PURE__ */ ie(
|
|
75570
75570
|
WJ,
|
|
75571
75571
|
{
|
|
75572
75572
|
ref: a,
|
|
@@ -75583,7 +75583,7 @@ const IYe = D.forwardRef(({ className: e, children: t, checked: r, ...o }, a) =>
|
|
|
75583
75583
|
}
|
|
75584
75584
|
));
|
|
75585
75585
|
IYe.displayName = WJ.displayName;
|
|
75586
|
-
const SYe = D.forwardRef(({ className: e, children: t, ...r }, o) => /* @__PURE__ */
|
|
75586
|
+
const SYe = D.forwardRef(({ className: e, children: t, ...r }, o) => /* @__PURE__ */ ie(
|
|
75587
75587
|
YJ,
|
|
75588
75588
|
{
|
|
75589
75589
|
ref: o,
|
|
@@ -75593,7 +75593,7 @@ const SYe = D.forwardRef(({ className: e, children: t, ...r }, o) => /* @__PURE_
|
|
|
75593
75593
|
),
|
|
75594
75594
|
...r,
|
|
75595
75595
|
children: [
|
|
75596
|
-
/* @__PURE__ */ E("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ E(ZJ, { children: /* @__PURE__ */ E(
|
|
75596
|
+
/* @__PURE__ */ E("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ E(ZJ, { children: /* @__PURE__ */ E(Wc, { className: "h-2 w-2 fill-current" }) }) }),
|
|
75597
75597
|
t
|
|
75598
75598
|
]
|
|
75599
75599
|
}
|
|
@@ -75901,9 +75901,9 @@ function bD({
|
|
|
75901
75901
|
}
|
|
75902
75902
|
}
|
|
75903
75903
|
);
|
|
75904
|
-
return /* @__PURE__ */
|
|
75905
|
-
!i && !s && /* @__PURE__ */ E("div", { className: "bg-black border-b border-zinc-800 flex-shrink-0", children: /* @__PURE__ */
|
|
75906
|
-
/* @__PURE__ */
|
|
75904
|
+
return /* @__PURE__ */ ie("div", { className: "flex h-full w-full flex-col", children: [
|
|
75905
|
+
!i && !s && /* @__PURE__ */ E("div", { className: "bg-black border-b border-zinc-800 flex-shrink-0", children: /* @__PURE__ */ ie("div", { className: "flex items-center gap-1.5 px-2 py-1.5 h-[2.38rem]", children: [
|
|
75906
|
+
/* @__PURE__ */ ie("div", { className: "flex gap-0.5", children: [
|
|
75907
75907
|
/* @__PURE__ */ E(
|
|
75908
75908
|
"button",
|
|
75909
75909
|
{
|
|
@@ -75912,7 +75912,7 @@ function bD({
|
|
|
75912
75912
|
className: "p-1 hover:bg-zinc-900 rounded disabled:opacity-30 disabled:hover:bg-transparent transition-colors",
|
|
75913
75913
|
title: "Back",
|
|
75914
75914
|
children: /* @__PURE__ */ E(
|
|
75915
|
-
|
|
75915
|
+
Gc,
|
|
75916
75916
|
{
|
|
75917
75917
|
size: 14,
|
|
75918
75918
|
className: "text-zinc-400"
|
|
@@ -75943,7 +75943,7 @@ function bD({
|
|
|
75943
75943
|
className: "p-1 hover:bg-zinc-900 rounded transition-colors",
|
|
75944
75944
|
title: "Refresh",
|
|
75945
75945
|
children: /* @__PURE__ */ E(
|
|
75946
|
-
|
|
75946
|
+
Xs,
|
|
75947
75947
|
{
|
|
75948
75948
|
size: 14,
|
|
75949
75949
|
className: `text-zinc-400 ${h ? "animate-spin" : ""}`
|
|
@@ -75952,7 +75952,7 @@ function bD({
|
|
|
75952
75952
|
}
|
|
75953
75953
|
)
|
|
75954
75954
|
] }),
|
|
75955
|
-
/* @__PURE__ */
|
|
75955
|
+
/* @__PURE__ */ ie("div", { className: "flex-1 flex items-center gap-1.5 px-2 py-1 bg-zinc-950 rounded text-zinc-400 focus-within:bg-zinc-900 transition-colors", children: [
|
|
75956
75956
|
b ? /* @__PURE__ */ E(
|
|
75957
75957
|
Ft,
|
|
75958
75958
|
{
|
|
@@ -75984,13 +75984,13 @@ function bD({
|
|
|
75984
75984
|
className: "p-1 hover:bg-zinc-900 rounded transition-colors",
|
|
75985
75985
|
title: l ? "Exit fullscreen" : "Fullscreen preview",
|
|
75986
75986
|
children: l ? /* @__PURE__ */ E(
|
|
75987
|
-
|
|
75987
|
+
Zs,
|
|
75988
75988
|
{
|
|
75989
75989
|
size: 14,
|
|
75990
75990
|
className: "text-zinc-400"
|
|
75991
75991
|
}
|
|
75992
75992
|
) : /* @__PURE__ */ E(
|
|
75993
|
-
|
|
75993
|
+
Ys,
|
|
75994
75994
|
{
|
|
75995
75995
|
size: 14,
|
|
75996
75996
|
className: "text-zinc-400"
|
|
@@ -76010,7 +76010,7 @@ function bD({
|
|
|
76010
76010
|
tabIndex: -1,
|
|
76011
76011
|
type: "button",
|
|
76012
76012
|
children: /* @__PURE__ */ E(
|
|
76013
|
-
|
|
76013
|
+
Yc,
|
|
76014
76014
|
{
|
|
76015
76015
|
size: 14,
|
|
76016
76016
|
className: "text-zinc-400"
|
|
@@ -76018,7 +76018,7 @@ function bD({
|
|
|
76018
76018
|
)
|
|
76019
76019
|
}
|
|
76020
76020
|
),
|
|
76021
|
-
/* @__PURE__ */
|
|
76021
|
+
/* @__PURE__ */ ie(kYe, { children: [
|
|
76022
76022
|
/* @__PURE__ */ E(xYe, { asChild: !0, children: /* @__PURE__ */ E(
|
|
76023
76023
|
"button",
|
|
76024
76024
|
{
|
|
@@ -76053,11 +76053,11 @@ function bD({
|
|
|
76053
76053
|
] })
|
|
76054
76054
|
] })
|
|
76055
76055
|
] }) }),
|
|
76056
|
-
b && /* @__PURE__ */ E("div", { className: "p-4 bg-red-950 border-b border-red-800 text-red-200 text-sm", children: /* @__PURE__ */
|
|
76056
|
+
b && /* @__PURE__ */ E("div", { className: "p-4 bg-red-950 border-b border-red-800 text-red-200 text-sm", children: /* @__PURE__ */ ie("div", { className: "flex items-center gap-2", children: [
|
|
76057
76057
|
/* @__PURE__ */ E(Ft, { size: 16 }),
|
|
76058
76058
|
/* @__PURE__ */ E("span", { children: b })
|
|
76059
76059
|
] }) }),
|
|
76060
|
-
/* @__PURE__ */ E("div", { ref: g, className: "flex-1 min-h-0 relative", children: c && c.includes("env is required") ? /* @__PURE__ */ E("div", { className: "h-full w-full flex items-center justify-center bg-zinc-900", children: /* @__PURE__ */
|
|
76060
|
+
/* @__PURE__ */ E("div", { ref: g, className: "flex-1 min-h-0 relative", children: c && c.includes("env is required") ? /* @__PURE__ */ E("div", { className: "h-full w-full flex items-center justify-center bg-zinc-900", children: /* @__PURE__ */ ie("div", { className: "max-w-md mx-auto p-8 text-center", children: [
|
|
76061
76061
|
/* @__PURE__ */ E("div", { className: "mb-4 flex justify-center", children: /* @__PURE__ */ E(
|
|
76062
76062
|
Ft,
|
|
76063
76063
|
{
|
|
@@ -76066,7 +76066,7 @@ function bD({
|
|
|
76066
76066
|
}
|
|
76067
76067
|
) }),
|
|
76068
76068
|
/* @__PURE__ */ E("h2", { className: "text-xl font-semibold text-zinc-100 mb-2", children: "Environment Variables Required" }),
|
|
76069
|
-
/* @__PURE__ */
|
|
76069
|
+
/* @__PURE__ */ ie("p", { className: "text-sm text-zinc-400 mb-4", children: [
|
|
76070
76070
|
"This sandbox doesn't have a published URL and needs to be started dynamically. Please provide the",
|
|
76071
76071
|
" ",
|
|
76072
76072
|
/* @__PURE__ */ E("code", { className: "px-1.5 py-0.5 bg-zinc-800 rounded text-xs font-mono", children: "env" }),
|
|
@@ -76077,7 +76077,7 @@ function bD({
|
|
|
76077
76077
|
" ",
|
|
76078
76078
|
"component."
|
|
76079
76079
|
] }),
|
|
76080
|
-
/* @__PURE__ */
|
|
76080
|
+
/* @__PURE__ */ ie("div", { className: "mt-6 p-4 bg-zinc-800 rounded-lg text-left", children: [
|
|
76081
76081
|
/* @__PURE__ */ E("p", { className: "text-xs font-mono text-zinc-300 mb-2", children: "Example:" }),
|
|
76082
76082
|
/* @__PURE__ */ E("pre", { className: "text-xs text-zinc-400 overflow-x-auto", children: `<Sandbox
|
|
76083
76083
|
apiKey="your-api-key"
|
|
@@ -76088,9 +76088,9 @@ function bD({
|
|
|
76088
76088
|
}}
|
|
76089
76089
|
/>` })
|
|
76090
76090
|
] })
|
|
76091
|
-
] }) }) : /* @__PURE__ */
|
|
76091
|
+
] }) }) : /* @__PURE__ */ ie(qt, { children: [
|
|
76092
76092
|
ve(),
|
|
76093
|
-
h && /* @__PURE__ */ E("div", { className: "absolute inset-0 bg-zinc-800 bg-opacity-50 flex items-center justify-center z-10", children: /* @__PURE__ */
|
|
76093
|
+
h && /* @__PURE__ */ E("div", { className: "absolute inset-0 bg-zinc-800 bg-opacity-50 flex items-center justify-center z-10", children: /* @__PURE__ */ ie("div", { className: "text-sm text-zinc-400 bg-black p-3 rounded-lg shadow-md", children: [
|
|
76094
76094
|
"Loading ",
|
|
76095
76095
|
T,
|
|
76096
76096
|
"..."
|
|
@@ -77481,17 +77481,17 @@ function NYe() {
|
|
|
77481
77481
|
M.pending_buf[M.pending++] = ae >>> 8 & 255, M.pending_buf[M.pending++] = 255 & ae;
|
|
77482
77482
|
}
|
|
77483
77483
|
function re(M, ae) {
|
|
77484
|
-
var $, j, z = M.max_chain_length, Y = M.strstart, de = M.prev_length, ue = M.nice_match, ee = M.strstart > M.w_size - q ? M.strstart - (M.w_size - q) : 0, me = M.window, Ae = M.w_mask, be = M.prev, X = M.strstart + N,
|
|
77484
|
+
var $, j, z = M.max_chain_length, Y = M.strstart, de = M.prev_length, ue = M.nice_match, ee = M.strstart > M.w_size - q ? M.strstart - (M.w_size - q) : 0, me = M.window, Ae = M.w_mask, be = M.prev, X = M.strstart + N, ne = me[Y + de - 1], fe = me[Y + de];
|
|
77485
77485
|
M.prev_length >= M.good_match && (z >>= 2), ue > M.lookahead && (ue = M.lookahead);
|
|
77486
77486
|
do
|
|
77487
|
-
if (me[($ = ae) + de] === fe && me[$ + de - 1] ===
|
|
77487
|
+
if (me[($ = ae) + de] === fe && me[$ + de - 1] === ne && me[$] === me[Y] && me[++$] === me[Y + 1]) {
|
|
77488
77488
|
Y += 2, $++;
|
|
77489
77489
|
do
|
|
77490
77490
|
;
|
|
77491
77491
|
while (me[++Y] === me[++$] && me[++Y] === me[++$] && me[++Y] === me[++$] && me[++Y] === me[++$] && me[++Y] === me[++$] && me[++Y] === me[++$] && me[++Y] === me[++$] && me[++Y] === me[++$] && Y < X);
|
|
77492
77492
|
if (j = N - (X - Y), Y = X - N, de < j) {
|
|
77493
77493
|
if (M.match_start = ae, ue <= (de = j)) break;
|
|
77494
|
-
|
|
77494
|
+
ne = me[Y + de - 1], fe = me[Y + de];
|
|
77495
77495
|
}
|
|
77496
77496
|
}
|
|
77497
77497
|
while ((ae = be[ae & Ae]) > ee && --z != 0);
|
|
@@ -77629,17 +77629,17 @@ function NYe() {
|
|
|
77629
77629
|
}
|
|
77630
77630
|
return ee.insert = 0, me === g ? (V(ee, !0), ee.strm.avail_out === 0 ? J : W) : ee.last_lit && (V(ee, !1), ee.strm.avail_out === 0) ? I : F;
|
|
77631
77631
|
})(j, ae) : j.strategy === 3 ? (function(ee, me) {
|
|
77632
|
-
for (var Ae, be, X,
|
|
77632
|
+
for (var Ae, be, X, ne, fe = ee.window; ; ) {
|
|
77633
77633
|
if (ee.lookahead <= N) {
|
|
77634
77634
|
if (le(ee), ee.lookahead <= N && me === p) return I;
|
|
77635
77635
|
if (ee.lookahead === 0) break;
|
|
77636
77636
|
}
|
|
77637
77637
|
if (ee.match_length = 0, ee.lookahead >= T && 0 < ee.strstart && (be = fe[X = ee.strstart - 1]) === fe[++X] && be === fe[++X] && be === fe[++X]) {
|
|
77638
|
-
|
|
77638
|
+
ne = ee.strstart + N;
|
|
77639
77639
|
do
|
|
77640
77640
|
;
|
|
77641
|
-
while (be === fe[++X] && be === fe[++X] && be === fe[++X] && be === fe[++X] && be === fe[++X] && be === fe[++X] && be === fe[++X] && be === fe[++X] && X <
|
|
77642
|
-
ee.match_length = N - (
|
|
77641
|
+
while (be === fe[++X] && be === fe[++X] && be === fe[++X] && be === fe[++X] && be === fe[++X] && be === fe[++X] && be === fe[++X] && be === fe[++X] && X < ne);
|
|
77642
|
+
ee.match_length = N - (ne - X), ee.match_length > ee.lookahead && (ee.match_length = ee.lookahead);
|
|
77643
77643
|
}
|
|
77644
77644
|
if (ee.match_length >= T ? (Ae = s._tr_tally(ee, 1, ee.match_length - T), ee.lookahead -= ee.match_length, ee.strstart += ee.match_length, ee.match_length = 0) : (Ae = s._tr_tally(ee, 0, ee.window[ee.strstart]), ee.lookahead--, ee.strstart++), Ae && (V(ee, !1), ee.strm.avail_out === 0)) return I;
|
|
77645
77645
|
}
|
|
@@ -78246,10 +78246,10 @@ function NYe() {
|
|
|
78246
78246
|
re(z, A, Y);
|
|
78247
78247
|
}
|
|
78248
78248
|
function xe(z, Y) {
|
|
78249
|
-
var de, ue, ee, me = Y.dyn_tree, Ae = Y.stat_desc.static_tree, be = Y.stat_desc.has_stree, X = Y.stat_desc.elems,
|
|
78250
|
-
for (z.heap_len = 0, z.heap_max = b, de = 0; de < X; de++) me[2 * de] !== 0 ? (z.heap[++z.heap_len] =
|
|
78251
|
-
for (; z.heap_len < 2; ) me[2 * (ee = z.heap[++z.heap_len] =
|
|
78252
|
-
for (Y.max_code =
|
|
78249
|
+
var de, ue, ee, me = Y.dyn_tree, Ae = Y.stat_desc.static_tree, be = Y.stat_desc.has_stree, X = Y.stat_desc.elems, ne = -1;
|
|
78250
|
+
for (z.heap_len = 0, z.heap_max = b, de = 0; de < X; de++) me[2 * de] !== 0 ? (z.heap[++z.heap_len] = ne = de, z.depth[de] = 0) : me[2 * de + 1] = 0;
|
|
78251
|
+
for (; z.heap_len < 2; ) me[2 * (ee = z.heap[++z.heap_len] = ne < 2 ? ++ne : 0)] = 1, z.depth[ee] = 0, z.opt_len--, be && (z.static_len -= Ae[2 * ee + 1]);
|
|
78252
|
+
for (Y.max_code = ne, de = z.heap_len >> 1; 1 <= de; de--) pe(z, me, de);
|
|
78253
78253
|
for (ee = X; de = z.heap[1], z.heap[1] = z.heap[z.heap_len--], pe(z, me, 1), ue = z.heap[1], z.heap[--z.heap_max] = de, z.heap[--z.heap_max] = ue, me[2 * ee] = me[2 * de] + me[2 * ue], z.depth[ee] = (z.depth[de] >= z.depth[ue] ? z.depth[de] : z.depth[ue]) + 1, me[2 * de + 1] = me[2 * ue + 1] = ee, z.heap[1] = ee++, pe(z, me, 1), 2 <= z.heap_len; ) ;
|
|
78254
78254
|
z.heap[--z.heap_max] = z.heap[1], (function(fe, Ee) {
|
|
78255
78255
|
var Be, je, $e, He, st, nt, Qe = Ee.dyn_tree, yt = Ee.max_code, pt = Ee.stat_desc.static_tree, Ot = Ee.stat_desc.has_stree, rt = Ee.stat_desc.extra_bits, _r = Ee.stat_desc.extra_base, no = Ee.stat_desc.max_length, io = 0;
|
|
@@ -78262,18 +78262,18 @@ function NYe() {
|
|
|
78262
78262
|
} while (0 < io);
|
|
78263
78263
|
for (He = no; He !== 0; He--) for (je = fe.bl_count[He]; je !== 0; ) yt < ($e = fe.heap[--Be]) || (Qe[2 * $e + 1] !== He && (fe.opt_len += (He - Qe[2 * $e + 1]) * Qe[2 * $e], Qe[2 * $e + 1] = He), je--);
|
|
78264
78264
|
}
|
|
78265
|
-
})(z, Y), ce(me,
|
|
78265
|
+
})(z, Y), ce(me, ne, z.bl_count);
|
|
78266
78266
|
}
|
|
78267
78267
|
function M(z, Y, de) {
|
|
78268
|
-
var ue, ee, me = -1, Ae = Y[1], be = 0, X = 7,
|
|
78269
|
-
for (Ae === 0 && (X = 138,
|
|
78268
|
+
var ue, ee, me = -1, Ae = Y[1], be = 0, X = 7, ne = 4;
|
|
78269
|
+
for (Ae === 0 && (X = 138, ne = 3), Y[2 * (de + 1) + 1] = 65535, ue = 0; ue <= de; ue++) ee = Ae, Ae = Y[2 * (ue + 1) + 1], ++be < X && ee === Ae || (be < ne ? z.bl_tree[2 * ee] += be : ee !== 0 ? (ee !== me && z.bl_tree[2 * ee]++, z.bl_tree[2 * C]++) : be <= 10 ? z.bl_tree[2 * x]++ : z.bl_tree[2 * k]++, me = ee, ne = (be = 0) === Ae ? (X = 138, 3) : ee === Ae ? (X = 6, 3) : (X = 7, 4));
|
|
78270
78270
|
}
|
|
78271
78271
|
function ae(z, Y, de) {
|
|
78272
|
-
var ue, ee, me = -1, Ae = Y[1], be = 0, X = 7,
|
|
78273
|
-
for (Ae === 0 && (X = 138,
|
|
78274
|
-
if (be <
|
|
78272
|
+
var ue, ee, me = -1, Ae = Y[1], be = 0, X = 7, ne = 4;
|
|
78273
|
+
for (Ae === 0 && (X = 138, ne = 3), ue = 0; ue <= de; ue++) if (ee = Ae, Ae = Y[2 * (ue + 1) + 1], !(++be < X && ee === Ae)) {
|
|
78274
|
+
if (be < ne) for (; re(z, ee, z.bl_tree), --be != 0; ) ;
|
|
78275
78275
|
else ee !== 0 ? (ee !== me && (re(z, ee, z.bl_tree), be--), re(z, C, z.bl_tree), K(z, be - 3, 2)) : be <= 10 ? (re(z, x, z.bl_tree), K(z, be - 3, 3)) : (re(z, k, z.bl_tree), K(z, be - 11, 7));
|
|
78276
|
-
me = ee,
|
|
78276
|
+
me = ee, ne = (be = 0) === Ae ? (X = 138, 3) : ee === Ae ? (X = 6, 3) : (X = 7, 4);
|
|
78277
78277
|
}
|
|
78278
78278
|
}
|
|
78279
78279
|
c(Q);
|
|
@@ -78300,8 +78300,8 @@ function NYe() {
|
|
|
78300
78300
|
}, a._tr_stored_block = j, a._tr_flush_block = function(z, Y, de, ue) {
|
|
78301
78301
|
var ee, me, Ae = 0;
|
|
78302
78302
|
0 < z.level ? (z.strm.data_type === 2 && (z.strm.data_type = (function(be) {
|
|
78303
|
-
var X,
|
|
78304
|
-
for (X = 0; X <= 31; X++,
|
|
78303
|
+
var X, ne = 4093624447;
|
|
78304
|
+
for (X = 0; X <= 31; X++, ne >>>= 1) if (1 & ne && be.dyn_ltree[2 * X] !== 0) return i;
|
|
78305
78305
|
if (be.dyn_ltree[18] !== 0 || be.dyn_ltree[20] !== 0 || be.dyn_ltree[26] !== 0) return s;
|
|
78306
78306
|
for (X = 32; X < p; X++) if (be.dyn_ltree[2 * X] !== 0) return s;
|
|
78307
78307
|
return i;
|
|
@@ -78309,10 +78309,10 @@ function NYe() {
|
|
|
78309
78309
|
var X;
|
|
78310
78310
|
for (M(be, be.dyn_ltree, be.l_desc.max_code), M(be, be.dyn_dtree, be.d_desc.max_code), xe(be, be.bl_desc), X = f - 1; 3 <= X && be.bl_tree[2 * N[X] + 1] === 0; X--) ;
|
|
78311
78311
|
return be.opt_len += 3 * (X + 1) + 5 + 5 + 4, X;
|
|
78312
|
-
})(z), ee = z.opt_len + 3 + 7 >>> 3, (me = z.static_len + 3 + 7 >>> 3) <= ee && (ee = me)) : ee = me = de + 5, de + 4 <= ee && Y !== -1 ? j(z, Y, de, ue) : z.strategy === 4 || me === ee ? (K(z, 2 + (ue ? 1 : 0), 3), Se(z, q, L)) : (K(z, 4 + (ue ? 1 : 0), 3), (function(be, X,
|
|
78312
|
+
})(z), ee = z.opt_len + 3 + 7 >>> 3, (me = z.static_len + 3 + 7 >>> 3) <= ee && (ee = me)) : ee = me = de + 5, de + 4 <= ee && Y !== -1 ? j(z, Y, de, ue) : z.strategy === 4 || me === ee ? (K(z, 2 + (ue ? 1 : 0), 3), Se(z, q, L)) : (K(z, 4 + (ue ? 1 : 0), 3), (function(be, X, ne, fe) {
|
|
78313
78313
|
var Ee;
|
|
78314
|
-
for (K(be, X - 257, 5), K(be,
|
|
78315
|
-
ae(be, be.dyn_ltree, X - 1), ae(be, be.dyn_dtree,
|
|
78314
|
+
for (K(be, X - 257, 5), K(be, ne - 1, 5), K(be, fe - 4, 4), Ee = 0; Ee < fe; Ee++) K(be, be.bl_tree[2 * N[Ee] + 1], 3);
|
|
78315
|
+
ae(be, be.dyn_ltree, X - 1), ae(be, be.dyn_dtree, ne - 1);
|
|
78316
78316
|
})(z, z.l_desc.max_code + 1, z.d_desc.max_code + 1, Ae + 1), Se(z, z.dyn_ltree, z.dyn_dtree)), he(z), ue && ve(z);
|
|
78317
78317
|
}, a._tr_tally = function(z, Y, de) {
|
|
78318
78318
|
return z.pending_buf[z.d_buf + 2 * z.last_lit] = Y >>> 8 & 255, z.pending_buf[z.d_buf + 2 * z.last_lit + 1] = 255 & Y, z.pending_buf[z.l_buf + z.last_lit] = 255 & de, z.last_lit++, Y === 0 ? z.dyn_ltree[2 * de]++ : (z.matches++, Y--, z.dyn_ltree[2 * (I[de] + p + 1)]++, z.dyn_dtree[2 * V(Y)]++), z.last_lit === z.lit_bufsize - 1;
|
|
@@ -78573,9 +78573,9 @@ function PYe({
|
|
|
78573
78573
|
}), () => {
|
|
78574
78574
|
o = !1;
|
|
78575
78575
|
};
|
|
78576
|
-
}, [e, t, r]), /* @__PURE__ */ E("div", { className: "h-[calc(100vh-12.9rem)] w-full", children: /* @__PURE__ */
|
|
78576
|
+
}, [e, t, r]), /* @__PURE__ */ E("div", { className: "h-[calc(100vh-12.9rem)] w-full", children: /* @__PURE__ */ ie(G7, { direction: "horizontal", className: "relative h-full", children: [
|
|
78577
78577
|
/* @__PURE__ */ E(hs, { defaultSize: 25, minSize: 15, maxSize: 50, order: 1, children: /* @__PURE__ */ E("div", { className: "h-full", children: /* @__PURE__ */ E(DYe, { isGenerating: !1 }) }) }),
|
|
78578
|
-
/* @__PURE__ */ E(W7, { className: "w-0 relative group flex-shrink-0", children: /* @__PURE__ */
|
|
78578
|
+
/* @__PURE__ */ E(W7, { className: "w-0 relative group flex-shrink-0", children: /* @__PURE__ */ ie("div", { className: "absolute inset-y-0 left-1/2 -translate-x-1/2 w-2 -ml-1 transition-colors flex justify-center items-center bg-transparent", children: [
|
|
78579
78579
|
/* @__PURE__ */ E("div", { className: "absolute inset-y-0 left-0 w-1/2 group-hover:bg-blue-400/20 transition-colors" }),
|
|
78580
78580
|
/* @__PURE__ */ E("div", { className: "absolute inset-y-0 right-0 w-1/2 group-hover:bg-blue-400/20 transition-colors" }),
|
|
78581
78581
|
/* @__PURE__ */ E("div", { className: "h-full w-px bg-border group-hover:bg-blue-400 transition-colors relative z-10" })
|
|
@@ -78605,7 +78605,7 @@ const fD = ({
|
|
|
78605
78605
|
// Default blue
|
|
78606
78606
|
}) => {
|
|
78607
78607
|
const a = t.split(""), n = a$(o), i = ul(o, 60), s = ul(o, 40), c = ul(o, 20), l = n ? `rgba(${n.r}, ${n.g}, ${n.b}, 0.3)` : "rgba(59, 130, 246, 0.3)", u = ul(o, 30);
|
|
78608
|
-
return /* @__PURE__ */
|
|
78608
|
+
return /* @__PURE__ */ ie(
|
|
78609
78609
|
"div",
|
|
78610
78610
|
{
|
|
78611
78611
|
className: [
|
|
@@ -78616,7 +78616,7 @@ const fD = ({
|
|
|
78616
78616
|
background: `linear-gradient(to bottom, ${u}, #0f172a, black)`
|
|
78617
78617
|
},
|
|
78618
78618
|
children: [
|
|
78619
|
-
/* @__PURE__ */
|
|
78619
|
+
/* @__PURE__ */ ie(
|
|
78620
78620
|
"div",
|
|
78621
78621
|
{
|
|
78622
78622
|
className: "relative flex items-center justify-center font-inter select-none",
|
|
@@ -78709,7 +78709,7 @@ function zYe({
|
|
|
78709
78709
|
return () => clearTimeout(p);
|
|
78710
78710
|
} else
|
|
78711
78711
|
u(!0);
|
|
78712
|
-
}, [r, i]), /* @__PURE__ */
|
|
78712
|
+
}, [r, i]), /* @__PURE__ */ ie("div", { children: [
|
|
78713
78713
|
/* @__PURE__ */ E("div", { className: "flex justify-center border-b", children: /* @__PURE__ */ E(
|
|
78714
78714
|
_Ve,
|
|
78715
78715
|
{
|
|
@@ -78748,15 +78748,15 @@ function zYe({
|
|
|
78748
78748
|
reloadSignal: e,
|
|
78749
78749
|
useVm: o,
|
|
78750
78750
|
sandboxError: i,
|
|
78751
|
-
children: t !== "hidden" && /* @__PURE__ */
|
|
78752
|
-
t === "error" && /* @__PURE__ */ E("div", { className: "w-full h-full bg-red-950 text-red-200 flex items-center justify-center", children: /* @__PURE__ */
|
|
78751
|
+
children: t !== "hidden" && /* @__PURE__ */ ie("div", { className: "absolute inset-0 z-20 flex items-center justify-center", children: [
|
|
78752
|
+
t === "error" && /* @__PURE__ */ E("div", { className: "w-full h-full bg-red-950 text-red-200 flex items-center justify-center", children: /* @__PURE__ */ ie("div", { className: "text-center", children: [
|
|
78753
78753
|
/* @__PURE__ */ E("div", { className: "text-2xl font-semibold", children: "Service Unavailable" }),
|
|
78754
78754
|
/* @__PURE__ */ E("div", { className: "text-sm mt-2 opacity-80", children: "Elevated error rates detected. Initiating rollback..." })
|
|
78755
78755
|
] }) }),
|
|
78756
|
-
t === "rebuilding" && /* @__PURE__ */ E("div", { className: "w-full h-full bg-amber-900 text-amber-100 flex items-center justify-center", children: /* @__PURE__ */
|
|
78756
|
+
t === "rebuilding" && /* @__PURE__ */ E("div", { className: "w-full h-full bg-amber-900 text-amber-100 flex items-center justify-center", children: /* @__PURE__ */ ie("div", { className: "text-center", children: [
|
|
78757
78757
|
/* @__PURE__ */ E("div", { className: "text-2xl font-semibold", children: "Rebuilding preview…" }),
|
|
78758
78758
|
/* @__PURE__ */ E("div", { className: "text-sm mt-2 opacity-80", children: "Applying safe configuration" }),
|
|
78759
|
-
/* @__PURE__ */
|
|
78759
|
+
/* @__PURE__ */ ie("div", { className: "mt-4 inline-flex items-center gap-2", children: [
|
|
78760
78760
|
/* @__PURE__ */ E("span", { className: "h-2 w-2 rounded-full bg-amber-300 animate-pulse" }),
|
|
78761
78761
|
/* @__PURE__ */ E("span", { className: "h-2 w-2 rounded-full bg-amber-300 animate-pulse [animation-delay:150ms]" }),
|
|
78762
78762
|
/* @__PURE__ */ E("span", { className: "h-2 w-2 rounded-full bg-amber-300 animate-pulse [animation-delay:300ms]" })
|
|
@@ -78917,7 +78917,7 @@ function XYe() {
|
|
|
78917
78917
|
}, o);
|
|
78918
78918
|
};
|
|
78919
78919
|
}
|
|
78920
|
-
function
|
|
78920
|
+
function Bc(e) {
|
|
78921
78921
|
return function t() {
|
|
78922
78922
|
for (var r = this, o = arguments.length, a = new Array(o), n = 0; n < o; n++)
|
|
78923
78923
|
a[n] = arguments[n];
|
|
@@ -78969,7 +78969,7 @@ var aZe = {
|
|
|
78969
78969
|
changeType: "provided value of changes should be an object",
|
|
78970
78970
|
changeField: 'it seams you want to change a field in the state which is not specified in the "initial" state',
|
|
78971
78971
|
default: "an unknown error accured in `state-local` package"
|
|
78972
|
-
}, Xr =
|
|
78972
|
+
}, Xr = Bc(oZe)(aZe), pl = {
|
|
78973
78973
|
changes: $Ye,
|
|
78974
78974
|
selector: eZe,
|
|
78975
78975
|
handler: tZe,
|
|
@@ -78980,7 +78980,7 @@ function nZe(e) {
|
|
|
78980
78980
|
pl.initial(e), pl.handler(t);
|
|
78981
78981
|
var r = {
|
|
78982
78982
|
current: e
|
|
78983
|
-
}, o =
|
|
78983
|
+
}, o = Bc(cZe)(r, t), a = Bc(sZe)(r), n = Bc(pl.changes)(e), i = Bc(iZe)(r);
|
|
78984
78984
|
function s() {
|
|
78985
78985
|
var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function(u) {
|
|
78986
78986
|
return u;
|
|
@@ -79451,7 +79451,7 @@ function YZe({ themeColor: e }) {
|
|
|
79451
79451
|
x && x.editor.setTheme("custom-dark");
|
|
79452
79452
|
}, [c]);
|
|
79453
79453
|
const A = wG(u, 0.2), C = wG(u, 0.3);
|
|
79454
|
-
return /* @__PURE__ */
|
|
79454
|
+
return /* @__PURE__ */ ie("div", { className: "flex-1 flex flex-col min-h-0 h-full rounded-b-lg overflow-hidden", children: [
|
|
79455
79455
|
/* @__PURE__ */ E("div", { className: "flex-1 min-h-0 relative rounded-b-lg overflow-hidden", children: /* @__PURE__ */ E(
|
|
79456
79456
|
WZe,
|
|
79457
79457
|
{
|
|
@@ -79666,13 +79666,13 @@ var aP = "TooltipPortal", [tXe, rXe] = TS(aP, {
|
|
|
79666
79666
|
return /* @__PURE__ */ E(tXe, { scope: t, forceMount: r, children: /* @__PURE__ */ E(wr, { present: r || n.open, children: /* @__PURE__ */ E(gS, { asChild: !0, container: a, children: o }) }) });
|
|
79667
79667
|
};
|
|
79668
79668
|
m$.displayName = aP;
|
|
79669
|
-
var
|
|
79669
|
+
var ic = "TooltipContent", w$ = D.forwardRef(
|
|
79670
79670
|
(e, t) => {
|
|
79671
|
-
const r = rXe(
|
|
79671
|
+
const r = rXe(ic, e.__scopeTooltip), { forceMount: o = r.forceMount, side: a = "top", ...n } = e, i = Gd(ic, e.__scopeTooltip);
|
|
79672
79672
|
return /* @__PURE__ */ E(wr, { present: o || i.open, children: i.disableHoverableContent ? /* @__PURE__ */ E(v$, { side: a, ...n, ref: t }) : /* @__PURE__ */ E(oXe, { side: a, ...n, ref: t }) });
|
|
79673
79673
|
}
|
|
79674
79674
|
), oXe = D.forwardRef((e, t) => {
|
|
79675
|
-
const r = Gd(
|
|
79675
|
+
const r = Gd(ic, e.__scopeTooltip), o = oP(ic, e.__scopeTooltip), a = D.useRef(null), n = it(t, a), [i, s] = D.useState(null), { trigger: c, onClose: l } = r, u = a.current, { onPointerInTransitChange: p } = o, g = D.useCallback(() => {
|
|
79676
79676
|
s(null), p(!1);
|
|
79677
79677
|
}, [p]), h = D.useCallback(
|
|
79678
79678
|
(f, b) => {
|
|
@@ -79706,7 +79706,7 @@ var sc = "TooltipContent", w$ = D.forwardRef(
|
|
|
79706
79706
|
onEscapeKeyDown: n,
|
|
79707
79707
|
onPointerDownOutside: i,
|
|
79708
79708
|
...s
|
|
79709
|
-
} = e, c = Gd(
|
|
79709
|
+
} = e, c = Gd(ic, r), l = NS(r), { onClose: u } = c;
|
|
79710
79710
|
return D.useEffect(() => (document.addEventListener(yD, u), () => document.removeEventListener(yD, u)), [u]), D.useEffect(() => {
|
|
79711
79711
|
if (c.trigger) {
|
|
79712
79712
|
const p = (g) => {
|
|
@@ -79723,7 +79723,7 @@ var sc = "TooltipContent", w$ = D.forwardRef(
|
|
|
79723
79723
|
onPointerDownOutside: i,
|
|
79724
79724
|
onFocusOutside: (p) => p.preventDefault(),
|
|
79725
79725
|
onDismiss: u,
|
|
79726
|
-
children: /* @__PURE__ */
|
|
79726
|
+
children: /* @__PURE__ */ ie(
|
|
79727
79727
|
JK,
|
|
79728
79728
|
{
|
|
79729
79729
|
"data-state": c.stateAttribute,
|
|
@@ -79748,7 +79748,7 @@ var sc = "TooltipContent", w$ = D.forwardRef(
|
|
|
79748
79748
|
);
|
|
79749
79749
|
}
|
|
79750
79750
|
);
|
|
79751
|
-
w$.displayName =
|
|
79751
|
+
w$.displayName = ic;
|
|
79752
79752
|
var A$ = "TooltipArrow", sXe = D.forwardRef(
|
|
79753
79753
|
(e, t) => {
|
|
79754
79754
|
const { __scopeTooltip: r, ...o } = e, a = NS(r);
|
|
@@ -79994,8 +79994,8 @@ function AXe({ themeColor: e }) {
|
|
|
79994
79994
|
className: "flex items-center gap-1 px-2 py-1.5 overflow-x-auto no-scrollbar [-ms-overflow-style:none] [scrollbar-width:none] flex-1",
|
|
79995
79995
|
children: C.map(([k, S]) => {
|
|
79996
79996
|
const O = k.split("/").pop() || k, T = k === f, N = k in g, L = w(O).icon;
|
|
79997
|
-
return /* @__PURE__ */
|
|
79998
|
-
/* @__PURE__ */ E(vXe, { asChild: !0, children: /* @__PURE__ */
|
|
79997
|
+
return /* @__PURE__ */ ie(wXe, { children: [
|
|
79998
|
+
/* @__PURE__ */ E(vXe, { asChild: !0, children: /* @__PURE__ */ ie(
|
|
79999
79999
|
"button",
|
|
80000
80000
|
{
|
|
80001
80001
|
ref: (B) => {
|
|
@@ -80187,15 +80187,15 @@ function xXe({
|
|
|
80187
80187
|
useVm: o,
|
|
80188
80188
|
isGuardian: l,
|
|
80189
80189
|
sandboxError: f,
|
|
80190
|
-
children: t !== "hidden" && /* @__PURE__ */
|
|
80191
|
-
t === "error" && /* @__PURE__ */ E("div", { className: "w-full h-full bg-red-950 text-red-200 flex items-center justify-center", children: /* @__PURE__ */
|
|
80190
|
+
children: t !== "hidden" && /* @__PURE__ */ ie("div", { className: "absolute inset-0 z-20 flex items-center justify-center", children: [
|
|
80191
|
+
t === "error" && /* @__PURE__ */ E("div", { className: "w-full h-full bg-red-950 text-red-200 flex items-center justify-center", children: /* @__PURE__ */ ie("div", { className: "text-center", children: [
|
|
80192
80192
|
/* @__PURE__ */ E("div", { className: "text-2xl font-semibold", children: "Service Unavailable" }),
|
|
80193
80193
|
/* @__PURE__ */ E("div", { className: "text-sm mt-2 opacity-80", children: "Elevated error rates detected. Initiating rollback..." })
|
|
80194
80194
|
] }) }),
|
|
80195
|
-
t === "rebuilding" && /* @__PURE__ */ E("div", { className: "w-full h-full bg-amber-900 text-amber-100 flex items-center justify-center", children: /* @__PURE__ */
|
|
80195
|
+
t === "rebuilding" && /* @__PURE__ */ E("div", { className: "w-full h-full bg-amber-900 text-amber-100 flex items-center justify-center", children: /* @__PURE__ */ ie("div", { className: "text-center", children: [
|
|
80196
80196
|
/* @__PURE__ */ E("div", { className: "text-2xl font-semibold", children: "Rebuilding preview…" }),
|
|
80197
80197
|
/* @__PURE__ */ E("div", { className: "text-sm mt-2 opacity-80", children: "Applying safe configuration" }),
|
|
80198
|
-
/* @__PURE__ */
|
|
80198
|
+
/* @__PURE__ */ ie("div", { className: "mt-4 inline-flex items-center gap-2", children: [
|
|
80199
80199
|
/* @__PURE__ */ E("span", { className: "h-2 w-2 rounded-full bg-amber-300 animate-pulse" }),
|
|
80200
80200
|
/* @__PURE__ */ E("span", { className: "h-2 w-2 rounded-full bg-amber-300 animate-pulse [animation-delay:150ms]" }),
|
|
80201
80201
|
/* @__PURE__ */ E("span", { className: "h-2 w-2 rounded-full bg-amber-300 animate-pulse [animation-delay:300ms]" })
|
|
@@ -80203,8 +80203,8 @@ function xXe({
|
|
|
80203
80203
|
] }) })
|
|
80204
80204
|
] })
|
|
80205
80205
|
}
|
|
80206
|
-
) }) : /* @__PURE__ */ E("div", { className: "h-full w-full flex flex-col", children: /* @__PURE__ */
|
|
80207
|
-
s && !c && /* @__PURE__ */
|
|
80206
|
+
) }) : /* @__PURE__ */ E("div", { className: "h-full w-full flex flex-col", children: /* @__PURE__ */ ie(G7, { direction: "vertical", className: "relative h-full", children: [
|
|
80207
|
+
s && !c && /* @__PURE__ */ ie(qt, { children: [
|
|
80208
80208
|
/* @__PURE__ */ E(hs, { defaultSize: 68, minSize: 20, maxSize: 80, order: 1, children: /* @__PURE__ */ E("div", { ref: T, className: "h-full w-full relative", children: S ? /* @__PURE__ */ E("div", { className: "h-full w-full relative overflow-hidden", children: /* @__PURE__ */ E(
|
|
80209
80209
|
fD,
|
|
80210
80210
|
{
|
|
@@ -80224,15 +80224,15 @@ function xXe({
|
|
|
80224
80224
|
useVm: o,
|
|
80225
80225
|
isGuardian: l,
|
|
80226
80226
|
sandboxError: f,
|
|
80227
|
-
children: t !== "hidden" && /* @__PURE__ */
|
|
80228
|
-
t === "error" && /* @__PURE__ */ E("div", { className: "w-full h-full bg-red-950 text-red-200 flex items-center justify-center", children: /* @__PURE__ */
|
|
80227
|
+
children: t !== "hidden" && /* @__PURE__ */ ie("div", { className: "absolute inset-0 z-20 flex items-center justify-center", children: [
|
|
80228
|
+
t === "error" && /* @__PURE__ */ E("div", { className: "w-full h-full bg-red-950 text-red-200 flex items-center justify-center", children: /* @__PURE__ */ ie("div", { className: "text-center", children: [
|
|
80229
80229
|
/* @__PURE__ */ E("div", { className: "text-2xl font-semibold", children: "Service Unavailable" }),
|
|
80230
80230
|
/* @__PURE__ */ E("div", { className: "text-sm mt-2 opacity-80", children: "Elevated error rates detected. Initiating rollback..." })
|
|
80231
80231
|
] }) }),
|
|
80232
|
-
t === "rebuilding" && /* @__PURE__ */ E("div", { className: "w-full h-full bg-amber-900 text-amber-100 flex items-center justify-center", children: /* @__PURE__ */
|
|
80232
|
+
t === "rebuilding" && /* @__PURE__ */ E("div", { className: "w-full h-full bg-amber-900 text-amber-100 flex items-center justify-center", children: /* @__PURE__ */ ie("div", { className: "text-center", children: [
|
|
80233
80233
|
/* @__PURE__ */ E("div", { className: "text-2xl font-semibold", children: "Rebuilding preview…" }),
|
|
80234
80234
|
/* @__PURE__ */ E("div", { className: "text-sm mt-2 opacity-80", children: "Applying safe configuration" }),
|
|
80235
|
-
/* @__PURE__ */
|
|
80235
|
+
/* @__PURE__ */ ie("div", { className: "mt-4 inline-flex items-center gap-2", children: [
|
|
80236
80236
|
/* @__PURE__ */ E("span", { className: "h-2 w-2 rounded-full bg-amber-300 animate-pulse" }),
|
|
80237
80237
|
/* @__PURE__ */ E("span", { className: "h-2 w-2 rounded-full bg-amber-300 animate-pulse [animation-delay:150ms]" }),
|
|
80238
80238
|
/* @__PURE__ */ E("span", { className: "h-2 w-2 rounded-full bg-amber-300 animate-pulse [animation-delay:300ms]" })
|
|
@@ -80250,10 +80250,10 @@ function xXe({
|
|
|
80250
80250
|
minSize: 20,
|
|
80251
80251
|
maxSize: s ? 80 : 100,
|
|
80252
80252
|
order: 2,
|
|
80253
|
-
children: /* @__PURE__ */ E("div", { className: "h-full w-full flex flex-col", children: /* @__PURE__ */ E("div", { className: "flex-1 min-h-0 flex flex-col", children: /* @__PURE__ */
|
|
80254
|
-
/* @__PURE__ */
|
|
80253
|
+
children: /* @__PURE__ */ E("div", { className: "h-full w-full flex flex-col", children: /* @__PURE__ */ E("div", { className: "flex-1 min-h-0 flex flex-col", children: /* @__PURE__ */ ie(qt, { children: [
|
|
80254
|
+
/* @__PURE__ */ ie("div", { className: "flex items-center justify-between border-b border-zinc-800 bg-zinc-900", children: [
|
|
80255
80255
|
/* @__PURE__ */ E(AXe, { themeColor: N }),
|
|
80256
|
-
/* @__PURE__ */ E("div", { className: "px-2 flex-shrink-0", children: /* @__PURE__ */
|
|
80256
|
+
/* @__PURE__ */ E("div", { className: "px-2 flex-shrink-0", children: /* @__PURE__ */ ie(
|
|
80257
80257
|
"button",
|
|
80258
80258
|
{
|
|
80259
80259
|
type: "button",
|
|
@@ -80282,8 +80282,8 @@ function EXe({
|
|
|
80282
80282
|
// <-- NEW PROP
|
|
80283
80283
|
}) {
|
|
80284
80284
|
const { isBrowserMaximized: n, setIsBrowserMaximized: i } = Yt(), s = Vd(), c = s.isFrame && s.theme ? s.theme : o;
|
|
80285
|
-
return /* @__PURE__ */
|
|
80286
|
-
/* @__PURE__ */
|
|
80285
|
+
return /* @__PURE__ */ ie("div", { className: "w-full flex items-center justify-between px-4 py-[0.32rem] border-b bg-black rounded-t-lg", children: [
|
|
80286
|
+
/* @__PURE__ */ ie(
|
|
80287
80287
|
"button",
|
|
80288
80288
|
{
|
|
80289
80289
|
onClick: t,
|
|
@@ -80298,7 +80298,7 @@ function EXe({
|
|
|
80298
80298
|
transform: e ? "rotate(0deg)" : "rotate(180deg)",
|
|
80299
80299
|
color: c
|
|
80300
80300
|
},
|
|
80301
|
-
children: /* @__PURE__ */ E(
|
|
80301
|
+
children: /* @__PURE__ */ E(Vc, { className: "w-4 h-4" })
|
|
80302
80302
|
}
|
|
80303
80303
|
),
|
|
80304
80304
|
/* @__PURE__ */ E(
|
|
@@ -80312,22 +80312,7 @@ function EXe({
|
|
|
80312
80312
|
]
|
|
80313
80313
|
}
|
|
80314
80314
|
),
|
|
80315
|
-
/* @__PURE__ */
|
|
80316
|
-
a && /* @__PURE__ */ ne(
|
|
80317
|
-
"a",
|
|
80318
|
-
{
|
|
80319
|
-
href: a,
|
|
80320
|
-
target: "_blank",
|
|
80321
|
-
rel: "noopener noreferrer",
|
|
80322
|
-
title: "Open in new tab",
|
|
80323
|
-
style: { color: c },
|
|
80324
|
-
className: "p-1.5 rounded transition-colors hover:bg-zinc-800",
|
|
80325
|
-
children: [
|
|
80326
|
-
/* @__PURE__ */ E(Ys, { className: "w-4 h-4" }),
|
|
80327
|
-
/* @__PURE__ */ E("span", { className: "sr-only", children: "Open external link" })
|
|
80328
|
-
]
|
|
80329
|
-
}
|
|
80330
|
-
),
|
|
80315
|
+
/* @__PURE__ */ ie("div", { className: "flex items-center gap-2", children: [
|
|
80331
80316
|
/* @__PURE__ */ E(
|
|
80332
80317
|
"button",
|
|
80333
80318
|
{
|
|
@@ -80335,7 +80320,7 @@ function EXe({
|
|
|
80335
80320
|
className: "p-1.5 rounded transition-colors hover:bg-zinc-800",
|
|
80336
80321
|
title: "Refresh preview",
|
|
80337
80322
|
style: { color: c },
|
|
80338
|
-
children: /* @__PURE__ */ E(
|
|
80323
|
+
children: /* @__PURE__ */ E(Xs, { className: "w-4 h-4" })
|
|
80339
80324
|
}
|
|
80340
80325
|
),
|
|
80341
80326
|
/* @__PURE__ */ E(
|
|
@@ -80345,7 +80330,7 @@ function EXe({
|
|
|
80345
80330
|
className: "p-1.5 rounded transition-colors hover:bg-zinc-800",
|
|
80346
80331
|
title: n ? "Exit fullscreen" : "Fullscreen preview",
|
|
80347
80332
|
style: { color: c },
|
|
80348
|
-
children: n ? /* @__PURE__ */ E(
|
|
80333
|
+
children: n ? /* @__PURE__ */ E(Zs, { className: "w-4 h-4" }) : /* @__PURE__ */ E(Ys, { className: "w-4 h-4" })
|
|
80349
80334
|
}
|
|
80350
80335
|
)
|
|
80351
80336
|
] })
|
|
@@ -80385,7 +80370,7 @@ function y_({
|
|
|
80385
80370
|
codeZipFile: a,
|
|
80386
80371
|
sandboxError: f
|
|
80387
80372
|
}
|
|
80388
|
-
) : i === "top-down" ? /* @__PURE__ */
|
|
80373
|
+
) : i === "top-down" ? /* @__PURE__ */ ie("div", { className: "h-full w-full flex flex-col", children: [
|
|
80389
80374
|
c && /* @__PURE__ */ E(
|
|
80390
80375
|
EXe,
|
|
80391
80376
|
{
|
|
@@ -80838,14 +80823,14 @@ function TXe({
|
|
|
80838
80823
|
}) {
|
|
80839
80824
|
const c = Vd(), l = o && c.framework ? c.framework : r, u = e[t];
|
|
80840
80825
|
if (!u)
|
|
80841
|
-
return /* @__PURE__ */ E("div", { className: "flex items-center justify-center h-screen", children: /* @__PURE__ */
|
|
80826
|
+
return /* @__PURE__ */ E("div", { className: "flex items-center justify-center h-screen", children: /* @__PURE__ */ ie("p", { className: "text-red-500", children: [
|
|
80842
80827
|
'Use case "',
|
|
80843
80828
|
t,
|
|
80844
80829
|
'" not found'
|
|
80845
80830
|
] }) });
|
|
80846
80831
|
const p = u.frameworks[l];
|
|
80847
80832
|
if (!p)
|
|
80848
|
-
return /* @__PURE__ */ E("div", { className: "flex items-center justify-center h-screen", children: /* @__PURE__ */
|
|
80833
|
+
return /* @__PURE__ */ E("div", { className: "flex items-center justify-center h-screen", children: /* @__PURE__ */ ie("p", { className: "text-red-500", children: [
|
|
80849
80834
|
'Framework "',
|
|
80850
80835
|
l,
|
|
80851
80836
|
'" not found in use case "',
|
|
@@ -80921,9 +80906,9 @@ function QXe({
|
|
|
80921
80906
|
f = !0;
|
|
80922
80907
|
};
|
|
80923
80908
|
}, [e, t, o]), s)
|
|
80924
|
-
return /* @__PURE__ */ E("div", { className: "h-screen w-screen bg-white dark:bg-black", children: /* @__PURE__ */ E(
|
|
80909
|
+
return /* @__PURE__ */ E("div", { className: "h-screen w-screen bg-white dark:bg-black", children: /* @__PURE__ */ E(Nc, { className: "w-full h-full bg-zinc-100 dark:bg-zinc-900" }) });
|
|
80925
80910
|
if (l)
|
|
80926
|
-
return /* @__PURE__ */ E("div", { className: "flex items-center justify-center h-screen bg-white dark:bg-black", children: /* @__PURE__ */
|
|
80911
|
+
return /* @__PURE__ */ E("div", { className: "flex items-center justify-center h-screen bg-white dark:bg-black", children: /* @__PURE__ */ ie("div", { className: "text-red-500", children: [
|
|
80927
80912
|
"Error: ",
|
|
80928
80913
|
l
|
|
80929
80914
|
] }) });
|