@olonjs/core 1.1.10 → 1.1.12
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.d.ts +126 -8
- package/dist/olonjs-core-runtime.js +1228 -1075
- package/dist/olonjs-core.js +6080 -5617
- package/dist/olonjs-core.umd.cjs +42 -42
- package/dist/runtime.d.ts +126 -8
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Link as
|
|
1
|
+
import At, { useContext as _e, createContext as Oe, Component as ot, useMemo as fe, useState as nt, useEffect as se, forwardRef as st, createElement as Ie, useRef as Ue, useLayoutEffect as _t } from "react";
|
|
2
|
+
import { Link as Ot, createRoutesFromElements as Pt, createBrowserRouter as zt, RouterProvider as Nt, ScrollRestoration as It, Outlet as $t, useLocation as Mt, Route as xe } from "react-router-dom";
|
|
3
3
|
import { z as I } from "zod";
|
|
4
|
-
var
|
|
4
|
+
var we = { exports: {} }, de = {};
|
|
5
5
|
/**
|
|
6
6
|
* @license React
|
|
7
7
|
* react-jsx-runtime.production.js
|
|
@@ -11,12 +11,12 @@ var xe = { exports: {} }, le = {};
|
|
|
11
11
|
* This source code is licensed under the MIT license found in the
|
|
12
12
|
* LICENSE file in the root directory of this source tree.
|
|
13
13
|
*/
|
|
14
|
-
var
|
|
15
|
-
function
|
|
16
|
-
if (
|
|
17
|
-
|
|
14
|
+
var Ge;
|
|
15
|
+
function Lt() {
|
|
16
|
+
if (Ge) return de;
|
|
17
|
+
Ge = 1;
|
|
18
18
|
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
19
|
-
function r
|
|
19
|
+
function o(r, n, s) {
|
|
20
20
|
var a = null;
|
|
21
21
|
if (s !== void 0 && (a = "" + s), n.key !== void 0 && (a = "" + n.key), "key" in n) {
|
|
22
22
|
s = {};
|
|
@@ -25,15 +25,15 @@ function $t() {
|
|
|
25
25
|
} else s = n;
|
|
26
26
|
return n = s.ref, {
|
|
27
27
|
$$typeof: e,
|
|
28
|
-
type:
|
|
28
|
+
type: r,
|
|
29
29
|
key: a,
|
|
30
30
|
ref: n !== void 0 ? n : null,
|
|
31
31
|
props: s
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
return
|
|
34
|
+
return de.Fragment = t, de.jsx = o, de.jsxs = o, de;
|
|
35
35
|
}
|
|
36
|
-
var
|
|
36
|
+
var ue = {};
|
|
37
37
|
/**
|
|
38
38
|
* @license React
|
|
39
39
|
* react-jsx-runtime.development.js
|
|
@@ -43,24 +43,24 @@ var ce = {};
|
|
|
43
43
|
* This source code is licensed under the MIT license found in the
|
|
44
44
|
* LICENSE file in the root directory of this source tree.
|
|
45
45
|
*/
|
|
46
|
-
var
|
|
47
|
-
function
|
|
48
|
-
return
|
|
46
|
+
var Ve;
|
|
47
|
+
function Dt() {
|
|
48
|
+
return Ve || (Ve = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
49
49
|
function e(i) {
|
|
50
50
|
if (i == null) return null;
|
|
51
51
|
if (typeof i == "function")
|
|
52
52
|
return i.$$typeof === Y ? null : i.displayName || i.name || null;
|
|
53
53
|
if (typeof i == "string") return i;
|
|
54
54
|
switch (i) {
|
|
55
|
-
case
|
|
55
|
+
case E:
|
|
56
56
|
return "Fragment";
|
|
57
57
|
case W:
|
|
58
58
|
return "Profiler";
|
|
59
|
-
case
|
|
59
|
+
case R:
|
|
60
60
|
return "StrictMode";
|
|
61
|
-
case
|
|
61
|
+
case _:
|
|
62
62
|
return "Suspense";
|
|
63
|
-
case
|
|
63
|
+
case $:
|
|
64
64
|
return "SuspenseList";
|
|
65
65
|
case J:
|
|
66
66
|
return "Activity";
|
|
@@ -69,18 +69,18 @@ function Lt() {
|
|
|
69
69
|
switch (typeof i.tag == "number" && console.error(
|
|
70
70
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
71
71
|
), i.$$typeof) {
|
|
72
|
-
case
|
|
72
|
+
case C:
|
|
73
73
|
return "Portal";
|
|
74
|
-
case
|
|
74
|
+
case T:
|
|
75
75
|
return i.displayName || "Context";
|
|
76
|
-
case E:
|
|
77
|
-
return (i._context.displayName || "Context") + ".Consumer";
|
|
78
76
|
case k:
|
|
77
|
+
return (i._context.displayName || "Context") + ".Consumer";
|
|
78
|
+
case j:
|
|
79
79
|
var x = i.render;
|
|
80
80
|
return i = i.displayName, i || (i = x.displayName || x.name || "", i = i !== "" ? "ForwardRef(" + i + ")" : "ForwardRef"), i;
|
|
81
|
-
case
|
|
81
|
+
case m:
|
|
82
82
|
return x = i.displayName || null, x !== null ? x : e(i.type) || "Memo";
|
|
83
|
-
case
|
|
83
|
+
case A:
|
|
84
84
|
x = i._payload, i = i._init;
|
|
85
85
|
try {
|
|
86
86
|
return e(i(x));
|
|
@@ -92,7 +92,7 @@ function Lt() {
|
|
|
92
92
|
function t(i) {
|
|
93
93
|
return "" + i;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function o(i) {
|
|
96
96
|
try {
|
|
97
97
|
t(i);
|
|
98
98
|
var x = !1;
|
|
@@ -101,17 +101,17 @@ function Lt() {
|
|
|
101
101
|
}
|
|
102
102
|
if (x) {
|
|
103
103
|
x = console;
|
|
104
|
-
var
|
|
105
|
-
return
|
|
104
|
+
var O = x.error, z = typeof Symbol == "function" && Symbol.toStringTag && i[Symbol.toStringTag] || i.constructor.name || "Object";
|
|
105
|
+
return O.call(
|
|
106
106
|
x,
|
|
107
107
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
108
|
-
|
|
108
|
+
z
|
|
109
109
|
), t(i);
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
if (i ===
|
|
114
|
-
if (typeof i == "object" && i !== null && i.$$typeof ===
|
|
112
|
+
function r(i) {
|
|
113
|
+
if (i === E) return "<>";
|
|
114
|
+
if (typeof i == "object" && i !== null && i.$$typeof === A)
|
|
115
115
|
return "<...>";
|
|
116
116
|
try {
|
|
117
117
|
var x = e(i);
|
|
@@ -135,32 +135,32 @@ function Lt() {
|
|
|
135
135
|
return i.key !== void 0;
|
|
136
136
|
}
|
|
137
137
|
function c(i, x) {
|
|
138
|
-
function
|
|
138
|
+
function O() {
|
|
139
139
|
B || (B = !0, console.error(
|
|
140
140
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
141
141
|
x
|
|
142
142
|
));
|
|
143
143
|
}
|
|
144
|
-
|
|
145
|
-
get:
|
|
144
|
+
O.isReactWarning = !0, Object.defineProperty(i, "key", {
|
|
145
|
+
get: O,
|
|
146
146
|
configurable: !0
|
|
147
147
|
});
|
|
148
148
|
}
|
|
149
149
|
function l() {
|
|
150
150
|
var i = e(this.type);
|
|
151
|
-
return
|
|
151
|
+
return F[i] || (F[i] = !0, console.error(
|
|
152
152
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
153
153
|
)), i = this.props.ref, i !== void 0 ? i : null;
|
|
154
154
|
}
|
|
155
|
-
function
|
|
156
|
-
var
|
|
155
|
+
function d(i, x, O, z, M, L) {
|
|
156
|
+
var P = O.ref;
|
|
157
157
|
return i = {
|
|
158
|
-
$$typeof:
|
|
158
|
+
$$typeof: S,
|
|
159
159
|
type: i,
|
|
160
160
|
key: x,
|
|
161
|
-
props:
|
|
162
|
-
_owner:
|
|
163
|
-
}, (
|
|
161
|
+
props: O,
|
|
162
|
+
_owner: z
|
|
163
|
+
}, (P !== void 0 ? P : null) !== null ? Object.defineProperty(i, "ref", {
|
|
164
164
|
enumerable: !1,
|
|
165
165
|
get: l
|
|
166
166
|
}) : Object.defineProperty(i, "ref", { enumerable: !1, value: null }), i._store = {}, Object.defineProperty(i._store, "validated", {
|
|
@@ -177,143 +177,143 @@ function Lt() {
|
|
|
177
177
|
configurable: !1,
|
|
178
178
|
enumerable: !1,
|
|
179
179
|
writable: !0,
|
|
180
|
-
value:
|
|
180
|
+
value: M
|
|
181
181
|
}), Object.defineProperty(i, "_debugTask", {
|
|
182
182
|
configurable: !1,
|
|
183
183
|
enumerable: !1,
|
|
184
184
|
writable: !0,
|
|
185
|
-
value:
|
|
185
|
+
value: L
|
|
186
186
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
187
187
|
}
|
|
188
|
-
function
|
|
189
|
-
var
|
|
190
|
-
if (
|
|
191
|
-
if (
|
|
192
|
-
if (
|
|
193
|
-
for (
|
|
194
|
-
h(
|
|
195
|
-
Object.freeze && Object.freeze(
|
|
188
|
+
function g(i, x, O, z, M, L) {
|
|
189
|
+
var P = x.children;
|
|
190
|
+
if (P !== void 0)
|
|
191
|
+
if (z)
|
|
192
|
+
if (K(P)) {
|
|
193
|
+
for (z = 0; z < P.length; z++)
|
|
194
|
+
h(P[z]);
|
|
195
|
+
Object.freeze && Object.freeze(P);
|
|
196
196
|
} else
|
|
197
197
|
console.error(
|
|
198
198
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
199
199
|
);
|
|
200
|
-
else h(
|
|
200
|
+
else h(P);
|
|
201
201
|
if (X.call(x, "key")) {
|
|
202
|
-
|
|
203
|
-
var H = Object.keys(x).filter(function(
|
|
204
|
-
return
|
|
202
|
+
P = e(i);
|
|
203
|
+
var H = Object.keys(x).filter(function(he) {
|
|
204
|
+
return he !== "key";
|
|
205
205
|
});
|
|
206
|
-
|
|
206
|
+
z = 0 < H.length ? "{key: someKey, " + H.join(": ..., ") + ": ...}" : "{key: someKey}", y[P + z] || (H = 0 < H.length ? "{" + H.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
207
207
|
`A props object containing a "key" prop is being spread into JSX:
|
|
208
208
|
let props = %s;
|
|
209
209
|
<%s {...props} />
|
|
210
210
|
React keys must be passed directly to JSX without using spread:
|
|
211
211
|
let props = %s;
|
|
212
212
|
<%s key={someKey} {...props} />`,
|
|
213
|
+
z,
|
|
213
214
|
P,
|
|
214
|
-
_,
|
|
215
215
|
H,
|
|
216
|
-
|
|
217
|
-
),
|
|
216
|
+
P
|
|
217
|
+
), y[P + z] = !0);
|
|
218
218
|
}
|
|
219
|
-
if (
|
|
220
|
-
|
|
221
|
-
for (var
|
|
222
|
-
|
|
223
|
-
} else
|
|
224
|
-
return
|
|
225
|
-
|
|
219
|
+
if (P = null, O !== void 0 && (o(O), P = "" + O), a(x) && (o(x.key), P = "" + x.key), "key" in x) {
|
|
220
|
+
O = {};
|
|
221
|
+
for (var N in x)
|
|
222
|
+
N !== "key" && (O[N] = x[N]);
|
|
223
|
+
} else O = x;
|
|
224
|
+
return P && c(
|
|
225
|
+
O,
|
|
226
226
|
typeof i == "function" ? i.displayName || i.name || "Unknown" : i
|
|
227
|
-
),
|
|
227
|
+
), d(
|
|
228
228
|
i,
|
|
229
|
-
|
|
230
|
-
|
|
229
|
+
P,
|
|
230
|
+
O,
|
|
231
231
|
n(),
|
|
232
|
-
|
|
233
|
-
|
|
232
|
+
M,
|
|
233
|
+
L
|
|
234
234
|
);
|
|
235
235
|
}
|
|
236
236
|
function h(i) {
|
|
237
|
-
|
|
237
|
+
b(i) ? i._store && (i._store.validated = 1) : typeof i == "object" && i !== null && i.$$typeof === A && (i._payload.status === "fulfilled" ? b(i._payload.value) && i._payload.value._store && (i._payload.value._store.validated = 1) : i._store && (i._store.validated = 1));
|
|
238
238
|
}
|
|
239
|
-
function
|
|
240
|
-
return typeof i == "object" && i !== null && i.$$typeof ===
|
|
239
|
+
function b(i) {
|
|
240
|
+
return typeof i == "object" && i !== null && i.$$typeof === S;
|
|
241
241
|
}
|
|
242
|
-
var
|
|
242
|
+
var v = At, S = Symbol.for("react.transitional.element"), C = Symbol.for("react.portal"), E = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"), W = Symbol.for("react.profiler"), k = Symbol.for("react.consumer"), T = Symbol.for("react.context"), j = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), $ = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), J = Symbol.for("react.activity"), Y = Symbol.for("react.client.reference"), V = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, X = Object.prototype.hasOwnProperty, K = Array.isArray, G = console.createTask ? console.createTask : function() {
|
|
243
243
|
return null;
|
|
244
244
|
};
|
|
245
|
-
|
|
245
|
+
v = {
|
|
246
246
|
react_stack_bottom_frame: function(i) {
|
|
247
247
|
return i();
|
|
248
248
|
}
|
|
249
249
|
};
|
|
250
|
-
var B,
|
|
251
|
-
|
|
250
|
+
var B, F = {}, q = v.react_stack_bottom_frame.bind(
|
|
251
|
+
v,
|
|
252
252
|
s
|
|
253
|
-
)(),
|
|
254
|
-
|
|
255
|
-
var
|
|
256
|
-
return
|
|
253
|
+
)(), Q = G(r(s)), y = {};
|
|
254
|
+
ue.Fragment = E, ue.jsx = function(i, x, O) {
|
|
255
|
+
var z = 1e4 > V.recentlyCreatedOwnerStacks++;
|
|
256
|
+
return g(
|
|
257
257
|
i,
|
|
258
258
|
x,
|
|
259
|
-
|
|
259
|
+
O,
|
|
260
260
|
!1,
|
|
261
|
-
|
|
262
|
-
|
|
261
|
+
z ? Error("react-stack-top-frame") : q,
|
|
262
|
+
z ? G(r(i)) : Q
|
|
263
263
|
);
|
|
264
|
-
},
|
|
265
|
-
var
|
|
266
|
-
return
|
|
264
|
+
}, ue.jsxs = function(i, x, O) {
|
|
265
|
+
var z = 1e4 > V.recentlyCreatedOwnerStacks++;
|
|
266
|
+
return g(
|
|
267
267
|
i,
|
|
268
268
|
x,
|
|
269
|
-
|
|
269
|
+
O,
|
|
270
270
|
!0,
|
|
271
|
-
|
|
272
|
-
|
|
271
|
+
z ? Error("react-stack-top-frame") : q,
|
|
272
|
+
z ? G(r(i)) : Q
|
|
273
273
|
);
|
|
274
274
|
};
|
|
275
|
-
})()),
|
|
275
|
+
})()), ue;
|
|
276
276
|
}
|
|
277
|
-
var
|
|
278
|
-
function
|
|
279
|
-
return
|
|
277
|
+
var Je;
|
|
278
|
+
function Ft() {
|
|
279
|
+
return Je || (Je = 1, process.env.NODE_ENV === "production" ? we.exports = Lt() : we.exports = Dt()), we.exports;
|
|
280
280
|
}
|
|
281
|
-
var u =
|
|
282
|
-
function
|
|
281
|
+
var u = Ft();
|
|
282
|
+
function ae(e) {
|
|
283
283
|
return typeof e == "object" && e !== null;
|
|
284
284
|
}
|
|
285
|
-
function
|
|
286
|
-
if (!
|
|
285
|
+
function Re(e) {
|
|
286
|
+
if (!ae(e)) return !1;
|
|
287
287
|
const t = Object.getPrototypeOf(e);
|
|
288
288
|
return t === Object.prototype || t === null;
|
|
289
289
|
}
|
|
290
|
-
function
|
|
291
|
-
return
|
|
290
|
+
function Wt(e) {
|
|
291
|
+
return ae(e) && typeof e.$ref == "string" && e.$ref.trim().length > 0;
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function Bt(e) {
|
|
294
294
|
return e.replace(/~1/g, "/").replace(/~0/g, "~");
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function Ye(e, t) {
|
|
297
297
|
if (!t || t === "#") return e;
|
|
298
|
-
const
|
|
299
|
-
if (!
|
|
300
|
-
let
|
|
301
|
-
for (const n of
|
|
302
|
-
const s =
|
|
303
|
-
if (Array.isArray(
|
|
298
|
+
const o = t.startsWith("#") ? t.slice(1) : t;
|
|
299
|
+
if (!o || o === "/") return e;
|
|
300
|
+
let r = e;
|
|
301
|
+
for (const n of o.replace(/^\//, "").split("/")) {
|
|
302
|
+
const s = Bt(n);
|
|
303
|
+
if (Array.isArray(r)) {
|
|
304
304
|
const a = Number(s);
|
|
305
|
-
if (!Number.isInteger(a) || a < 0 || a >=
|
|
306
|
-
|
|
305
|
+
if (!Number.isInteger(a) || a < 0 || a >= r.length) return;
|
|
306
|
+
r = r[a];
|
|
307
307
|
continue;
|
|
308
308
|
}
|
|
309
|
-
if (!
|
|
310
|
-
|
|
309
|
+
if (!ae(r) || !(s in r)) return;
|
|
310
|
+
r = r[s];
|
|
311
311
|
}
|
|
312
|
-
return
|
|
312
|
+
return r;
|
|
313
313
|
}
|
|
314
|
-
function
|
|
315
|
-
const
|
|
316
|
-
for (const s of
|
|
314
|
+
function ce(e) {
|
|
315
|
+
const r = e.trim().replace(/\\/g, "/").replace(/^\/+/, "").split("/"), n = [];
|
|
316
|
+
for (const s of r)
|
|
317
317
|
if (!(!s || s === ".")) {
|
|
318
318
|
if (s === "..") {
|
|
319
319
|
n.length > 0 && n.pop();
|
|
@@ -323,144 +323,213 @@ function ie(e) {
|
|
|
323
323
|
}
|
|
324
324
|
return n.join("/");
|
|
325
325
|
}
|
|
326
|
-
function
|
|
327
|
-
const t =
|
|
328
|
-
return
|
|
326
|
+
function Ut(e) {
|
|
327
|
+
const t = ce(e), o = t.lastIndexOf("/");
|
|
328
|
+
return o === -1 ? "" : t.slice(0, o);
|
|
329
329
|
}
|
|
330
|
-
function
|
|
331
|
-
const
|
|
332
|
-
|
|
333
|
-
const n =
|
|
334
|
-
return s &&
|
|
330
|
+
function Gt(e, t) {
|
|
331
|
+
const o = /* @__PURE__ */ new Set(), r = ce(e);
|
|
332
|
+
r && o.add(r);
|
|
333
|
+
const n = Ut(t), s = ce(n ? `${n}/${e}` : e);
|
|
334
|
+
return s && o.add(s), Array.from(o);
|
|
335
335
|
}
|
|
336
|
-
function
|
|
337
|
-
return Array.isArray(e) ? e.map((t) =>
|
|
338
|
-
Object.entries(e).map(([t,
|
|
336
|
+
function pe(e) {
|
|
337
|
+
return Array.isArray(e) ? e.map((t) => pe(t)) : Re(e) ? Object.fromEntries(
|
|
338
|
+
Object.entries(e).map(([t, o]) => [t, pe(o)])
|
|
339
339
|
) : e;
|
|
340
340
|
}
|
|
341
|
-
function
|
|
342
|
-
for (const
|
|
343
|
-
const n =
|
|
344
|
-
n && e.set(n,
|
|
341
|
+
function le(e, t, o) {
|
|
342
|
+
for (const r of t) {
|
|
343
|
+
const n = ce(r);
|
|
344
|
+
n && e.set(n, o);
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function Vt(e, t) {
|
|
348
|
+
const o = {};
|
|
349
|
+
for (const [r, n] of Object.entries(e ?? {})) {
|
|
350
|
+
const s = t == null ? void 0 : t[r];
|
|
351
|
+
if (!s)
|
|
352
|
+
throw new Error(`[JsonPages] Missing collection schema for "${r}".`);
|
|
353
|
+
try {
|
|
354
|
+
o[r] = s.parse(n);
|
|
355
|
+
} catch (a) {
|
|
356
|
+
const c = a instanceof Error && a.message ? `: ${a.message}` : "";
|
|
357
|
+
throw new Error(`[JsonPages] Invalid collection "${r}"${c}`);
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
return o;
|
|
361
|
+
}
|
|
362
|
+
function Jt(e, t) {
|
|
363
|
+
if (!e) return null;
|
|
364
|
+
const o = t[e.source];
|
|
365
|
+
if (!ae(o)) return null;
|
|
366
|
+
const r = o[e.paramValue];
|
|
367
|
+
return r === void 0 ? null : {
|
|
368
|
+
...e,
|
|
369
|
+
currentItem: r
|
|
370
|
+
};
|
|
371
|
+
}
|
|
372
|
+
function Yt({
|
|
348
373
|
pages: e,
|
|
349
374
|
siteConfig: t,
|
|
350
|
-
themeConfig:
|
|
351
|
-
menuConfig:
|
|
352
|
-
|
|
375
|
+
themeConfig: o,
|
|
376
|
+
menuConfig: r,
|
|
377
|
+
collections: n,
|
|
378
|
+
refDocuments: s
|
|
353
379
|
}) {
|
|
354
|
-
const
|
|
355
|
-
for (const [
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
for (const [
|
|
359
|
-
const
|
|
360
|
-
|
|
380
|
+
const a = /* @__PURE__ */ new Map();
|
|
381
|
+
for (const [c, l] of Object.entries(s ?? {}))
|
|
382
|
+
le(a, [c], l);
|
|
383
|
+
le(a, ["site.json", "config/site.json", "src/data/config/site.json"], t), le(a, ["theme.json", "config/theme.json", "src/data/config/theme.json"], o), le(a, ["menu.json", "config/menu.json", "src/data/config/menu.json"], r);
|
|
384
|
+
for (const [c, l] of Object.entries(e)) {
|
|
385
|
+
const d = c.replace(/^\/+|\/+$/g, "") || "home";
|
|
386
|
+
le(a, [`pages/${d}.json`, `src/data/pages/${d}.json`], l);
|
|
361
387
|
}
|
|
362
|
-
|
|
388
|
+
for (const [c, l] of Object.entries(n ?? {})) {
|
|
389
|
+
const d = c.replace(/^\/+|\/+$/g, "");
|
|
390
|
+
d && le(a, [
|
|
391
|
+
`collections/${d}/${d}.json`,
|
|
392
|
+
`src/data/collections/${d}/${d}.json`
|
|
393
|
+
], l);
|
|
394
|
+
}
|
|
395
|
+
return a;
|
|
363
396
|
}
|
|
364
|
-
function
|
|
365
|
-
|
|
366
|
-
if (
|
|
367
|
-
const a =
|
|
368
|
-
if (
|
|
369
|
-
const
|
|
370
|
-
return l
|
|
397
|
+
function qt(e, t, o) {
|
|
398
|
+
var a, c, l;
|
|
399
|
+
if (e.trim() === "collection:current") {
|
|
400
|
+
const d = (a = o.collectionContext) == null ? void 0 : a.currentItem;
|
|
401
|
+
if (d === void 0) return null;
|
|
402
|
+
const g = ((c = o.collectionContext) == null ? void 0 : c.source) ?? "current";
|
|
403
|
+
return (l = o.collectionContext) == null || l.paramValue, {
|
|
404
|
+
value: d,
|
|
405
|
+
documentPath: `collections/${g}/${g}.json`
|
|
406
|
+
};
|
|
407
|
+
}
|
|
408
|
+
const [r, n = ""] = e.split("#"), s = n ? `/${n.replace(/^\//, "")}` : "";
|
|
409
|
+
if (!r) {
|
|
410
|
+
const d = ce(t), g = o.documents.get(d);
|
|
411
|
+
if (g === void 0) return null;
|
|
412
|
+
const h = Ye(g, s);
|
|
413
|
+
return h === void 0 ? null : { value: h, documentPath: d };
|
|
371
414
|
}
|
|
372
|
-
for (const
|
|
373
|
-
const
|
|
374
|
-
if (
|
|
375
|
-
const
|
|
376
|
-
if (
|
|
377
|
-
return { value:
|
|
415
|
+
for (const d of Gt(r, t)) {
|
|
416
|
+
const g = o.documents.get(d);
|
|
417
|
+
if (g === void 0) continue;
|
|
418
|
+
const h = Ye(g, s);
|
|
419
|
+
if (h !== void 0)
|
|
420
|
+
return { value: h, documentPath: d };
|
|
378
421
|
}
|
|
379
422
|
return null;
|
|
380
423
|
}
|
|
381
|
-
function
|
|
424
|
+
function ne(e, t, o) {
|
|
382
425
|
if (Array.isArray(e))
|
|
383
|
-
return e.map((
|
|
384
|
-
if (!
|
|
426
|
+
return e.map((r) => ne(r, t, o));
|
|
427
|
+
if (!Re(e))
|
|
385
428
|
return e;
|
|
386
|
-
if (
|
|
387
|
-
const
|
|
388
|
-
if (
|
|
389
|
-
return console.warn("[JsonPages] Circular $ref skipped", e.$ref),
|
|
390
|
-
if (
|
|
391
|
-
const l =
|
|
392
|
-
if (
|
|
393
|
-
const
|
|
394
|
-
|
|
429
|
+
if (Wt(e)) {
|
|
430
|
+
const r = `${ce(t)}::${e.$ref}`;
|
|
431
|
+
if (o.stack.includes(r))
|
|
432
|
+
return console.warn("[JsonPages] Circular $ref skipped", e.$ref), pe(e);
|
|
433
|
+
if (o.cache.has(r)) {
|
|
434
|
+
const l = pe(o.cache.get(r)), d = Object.entries(e).filter(([h]) => h !== "$ref");
|
|
435
|
+
if (d.length === 0) return l;
|
|
436
|
+
const g = Object.fromEntries(
|
|
437
|
+
d.map(([h, b]) => [h, ne(b, t, o)])
|
|
395
438
|
);
|
|
396
|
-
return
|
|
439
|
+
return Re(l) ? { ...l, ...g } : l;
|
|
397
440
|
}
|
|
398
|
-
const n =
|
|
441
|
+
const n = qt(e.$ref, t, o);
|
|
399
442
|
if (!n)
|
|
400
443
|
return console.warn("[JsonPages] Unresolved $ref", e.$ref), Object.fromEntries(
|
|
401
|
-
Object.entries(e).map(([l,
|
|
444
|
+
Object.entries(e).map(([l, d]) => [l, ne(d, t, o)])
|
|
402
445
|
);
|
|
403
|
-
|
|
404
|
-
const s =
|
|
405
|
-
|
|
446
|
+
o.stack.push(r);
|
|
447
|
+
const s = ne(n.value, n.documentPath, o);
|
|
448
|
+
o.stack.pop(), o.cache.set(r, pe(s));
|
|
406
449
|
const a = Object.entries(e).filter(([l]) => l !== "$ref");
|
|
407
450
|
if (a.length === 0) return s;
|
|
408
451
|
const c = Object.fromEntries(
|
|
409
|
-
a.map(([l,
|
|
452
|
+
a.map(([l, d]) => [l, ne(d, t, o)])
|
|
410
453
|
);
|
|
411
|
-
return
|
|
454
|
+
return Re(s) ? { ...s, ...c } : s;
|
|
412
455
|
}
|
|
413
456
|
return Object.fromEntries(
|
|
414
|
-
Object.entries(e).map(([
|
|
457
|
+
Object.entries(e).map(([r, n]) => [r, ne(n, t, o)])
|
|
415
458
|
);
|
|
416
459
|
}
|
|
417
|
-
function
|
|
418
|
-
return
|
|
419
|
-
documents:
|
|
460
|
+
function ke(e, t, o, r) {
|
|
461
|
+
return ne(e, t, {
|
|
462
|
+
documents: o,
|
|
420
463
|
cache: /* @__PURE__ */ new Map(),
|
|
421
|
-
stack: []
|
|
464
|
+
stack: [],
|
|
465
|
+
collectionContext: r
|
|
422
466
|
});
|
|
423
467
|
}
|
|
424
|
-
function
|
|
425
|
-
|
|
468
|
+
function at(e, t, o) {
|
|
469
|
+
const r = e.collection;
|
|
470
|
+
if (!r) return null;
|
|
471
|
+
const n = String(r.source), s = r.paramKey, a = t[s];
|
|
472
|
+
if (!a) return null;
|
|
473
|
+
const c = o == null ? void 0 : o[n];
|
|
474
|
+
if (!ae(c)) return null;
|
|
475
|
+
const l = c[a];
|
|
476
|
+
return l === void 0 ? null : {
|
|
477
|
+
source: n,
|
|
478
|
+
paramKey: s,
|
|
479
|
+
paramValue: a,
|
|
480
|
+
currentItem: l
|
|
481
|
+
};
|
|
482
|
+
}
|
|
483
|
+
function Ht(e) {
|
|
484
|
+
return ae(e) && typeof e.label == "string" && typeof e.href == "string";
|
|
426
485
|
}
|
|
427
|
-
function
|
|
428
|
-
if (!
|
|
486
|
+
function Zt(e) {
|
|
487
|
+
if (!ae(e)) return null;
|
|
429
488
|
const t = e.menu;
|
|
430
|
-
return Array.isArray(t) && t.every(
|
|
489
|
+
return Array.isArray(t) && t.every(Ht) ? t : null;
|
|
431
490
|
}
|
|
432
|
-
function
|
|
433
|
-
const
|
|
434
|
-
if (
|
|
491
|
+
function je(e, t) {
|
|
492
|
+
const o = Zt(e.data);
|
|
493
|
+
if (o) return o;
|
|
435
494
|
if (e.type === "header") return Array.isArray(t) ? t : [];
|
|
436
495
|
}
|
|
437
|
-
function
|
|
438
|
-
const t =
|
|
496
|
+
function De(e) {
|
|
497
|
+
const t = Vt(e.collections, e.collectionSchemas), o = Jt(e.collectionContext, t), r = Yt({
|
|
498
|
+
...e,
|
|
499
|
+
collections: t
|
|
500
|
+
});
|
|
439
501
|
return {
|
|
440
502
|
pages: Object.fromEntries(
|
|
441
|
-
Object.entries(e.pages).map(([
|
|
442
|
-
|
|
443
|
-
|
|
503
|
+
Object.entries(e.pages).map(([n, s]) => [
|
|
504
|
+
n,
|
|
505
|
+
ke(
|
|
506
|
+
s,
|
|
507
|
+
`pages/${n.replace(/^\/+|\/+$/g, "") || "home"}.json`,
|
|
508
|
+
r,
|
|
509
|
+
o
|
|
510
|
+
)
|
|
444
511
|
])
|
|
445
512
|
),
|
|
446
|
-
siteConfig:
|
|
447
|
-
themeConfig:
|
|
448
|
-
menuConfig:
|
|
513
|
+
siteConfig: ke(e.siteConfig, "config/site.json", r),
|
|
514
|
+
themeConfig: ke(e.themeConfig, "config/theme.json", r),
|
|
515
|
+
menuConfig: ke(e.menuConfig, "config/menu.json", r),
|
|
516
|
+
collections: t,
|
|
517
|
+
collectionContext: o
|
|
449
518
|
};
|
|
450
519
|
}
|
|
451
|
-
function
|
|
520
|
+
function Xt() {
|
|
452
521
|
if (typeof window > "u") return null;
|
|
453
522
|
const e = window;
|
|
454
523
|
return e.__olonWebMcpTools__ || (e.__olonWebMcpTools__ = /* @__PURE__ */ new Map()), e.__olonWebMcpTools__;
|
|
455
524
|
}
|
|
456
|
-
async function
|
|
525
|
+
async function qe(e) {
|
|
457
526
|
const t = window.location.pathname.replace(/\/admin(\/.*)?$/, "").replace(/\/$/, "");
|
|
458
527
|
if (e === "olon://pages" || e === "olon://pages/") {
|
|
459
|
-
const
|
|
460
|
-
if (!
|
|
528
|
+
const o = await fetch(`${t}/mcp-manifest.json`);
|
|
529
|
+
if (!o.ok)
|
|
461
530
|
throw new Error(`Resource not found: ${e} (at ${t}/mcp-manifest.json)`);
|
|
462
531
|
return {
|
|
463
|
-
pages: ((await
|
|
532
|
+
pages: ((await o.json()).pages || []).map((n) => {
|
|
464
533
|
const s = n;
|
|
465
534
|
return {
|
|
466
535
|
slug: s.slug,
|
|
@@ -471,45 +540,45 @@ async function Ye(e) {
|
|
|
471
540
|
};
|
|
472
541
|
}
|
|
473
542
|
if (e.startsWith("olon://pages/")) {
|
|
474
|
-
const
|
|
475
|
-
if (!
|
|
476
|
-
throw new Error(`Resource not found: ${e} (at ${t}/pages/${
|
|
477
|
-
return await
|
|
543
|
+
const o = e.replace("olon://pages/", ""), r = await fetch(`${t}/pages/${o}.json`);
|
|
544
|
+
if (!r.ok)
|
|
545
|
+
throw new Error(`Resource not found: ${e} (at ${t}/pages/${o}.json)`);
|
|
546
|
+
return await r.json();
|
|
478
547
|
}
|
|
479
548
|
throw new Error(`Unsupported URI scheme: ${e}`);
|
|
480
549
|
}
|
|
481
|
-
function
|
|
482
|
-
var
|
|
550
|
+
function Kt() {
|
|
551
|
+
var o;
|
|
483
552
|
if (typeof window > "u" || typeof navigator > "u") return;
|
|
484
553
|
const e = navigator;
|
|
485
|
-
if (typeof ((
|
|
486
|
-
const t =
|
|
487
|
-
t && (e.modelContext || (e.modelContext = {}), e.modelContext.registerTool = (
|
|
554
|
+
if (typeof ((o = e.modelContext) == null ? void 0 : o.registerTool) == "function") return;
|
|
555
|
+
const t = Xt();
|
|
556
|
+
t && (e.modelContext || (e.modelContext = {}), e.modelContext.registerTool = (r, n) => {
|
|
488
557
|
var s;
|
|
489
|
-
t.set(
|
|
490
|
-
t.get(
|
|
558
|
+
t.set(r.name, r), (s = n == null ? void 0 : n.signal) == null || s.addEventListener("abort", () => {
|
|
559
|
+
t.get(r.name) === r && t.delete(r.name);
|
|
491
560
|
});
|
|
492
|
-
}, e.modelContext.unregisterTool = (
|
|
493
|
-
t.delete(
|
|
494
|
-
}, e.modelContext.readResource = async (
|
|
495
|
-
listTools: () => Array.from(t.values()).map(({ execute:
|
|
496
|
-
executeTool: async (
|
|
497
|
-
const s = t.get(
|
|
561
|
+
}, e.modelContext.unregisterTool = (r) => {
|
|
562
|
+
t.delete(r);
|
|
563
|
+
}, e.modelContext.readResource = async (r) => qe(r), e.modelContextProtocol = {
|
|
564
|
+
listTools: () => Array.from(t.values()).map(({ execute: r, ...n }) => n),
|
|
565
|
+
executeTool: async (r, n) => {
|
|
566
|
+
const s = t.get(r);
|
|
498
567
|
if (!s)
|
|
499
|
-
throw new Error(`WebMCP tool "${
|
|
568
|
+
throw new Error(`WebMCP tool "${r}" is not registered.`);
|
|
500
569
|
const a = n ? JSON.parse(n) : {}, c = await s.execute(a);
|
|
501
570
|
return JSON.stringify(c);
|
|
502
571
|
},
|
|
503
|
-
readResource: async (
|
|
572
|
+
readResource: async (r) => JSON.stringify(await qe(r))
|
|
504
573
|
});
|
|
505
574
|
}
|
|
506
|
-
function
|
|
575
|
+
function Qt(e) {
|
|
507
576
|
return `/schemas/${e}.schema.json`;
|
|
508
577
|
}
|
|
509
|
-
function
|
|
578
|
+
function er(e) {
|
|
510
579
|
return `/mcp-manifests/${e}.json`;
|
|
511
580
|
}
|
|
512
|
-
const
|
|
581
|
+
const tr = () => /* @__PURE__ */ u.jsxs(
|
|
513
582
|
"div",
|
|
514
583
|
{
|
|
515
584
|
style: {
|
|
@@ -524,7 +593,7 @@ const Zt = () => /* @__PURE__ */ u.jsxs(
|
|
|
524
593
|
/* @__PURE__ */ u.jsx("h1", { className: "text-6xl font-bold text-[var(--local-text)] mb-4", children: "404" }),
|
|
525
594
|
/* @__PURE__ */ u.jsx("p", { className: "text-xl text-[var(--local-text-muted)] mb-8", children: "Page not found" }),
|
|
526
595
|
/* @__PURE__ */ u.jsx(
|
|
527
|
-
|
|
596
|
+
Ot,
|
|
528
597
|
{
|
|
529
598
|
to: "/",
|
|
530
599
|
className: "inline-flex items-center gap-2 px-6 py-3 rounded-[var(--local-radius-md)] bg-[var(--local-primary)] text-[var(--local-bg)] font-semibold text-sm hover:opacity-90 transition-opacity",
|
|
@@ -533,8 +602,8 @@ const Zt = () => /* @__PURE__ */ u.jsxs(
|
|
|
533
602
|
)
|
|
534
603
|
]
|
|
535
604
|
}
|
|
536
|
-
),
|
|
537
|
-
|
|
605
|
+
), it = Oe(void 0), rr = ({ config: e, children: t }) => /* @__PURE__ */ u.jsx(
|
|
606
|
+
it.Provider,
|
|
538
607
|
{
|
|
539
608
|
value: {
|
|
540
609
|
registry: e.registry,
|
|
@@ -547,83 +616,83 @@ const Zt = () => /* @__PURE__ */ u.jsxs(
|
|
|
547
616
|
children: t
|
|
548
617
|
}
|
|
549
618
|
);
|
|
550
|
-
function
|
|
551
|
-
const e =
|
|
619
|
+
function or() {
|
|
620
|
+
const e = _e(it);
|
|
552
621
|
if (e === void 0)
|
|
553
622
|
throw new Error("useConfig must be used within ConfigProvider");
|
|
554
623
|
return e;
|
|
555
624
|
}
|
|
556
|
-
const
|
|
557
|
-
function
|
|
625
|
+
const ze = /* @__PURE__ */ new Set();
|
|
626
|
+
function nr(e) {
|
|
558
627
|
return e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/[_\s]+/g, "-").toLowerCase();
|
|
559
628
|
}
|
|
560
|
-
function
|
|
561
|
-
return Object.entries(e).forEach(([
|
|
562
|
-
const s = [...t,
|
|
629
|
+
function lt(e, t = [], o = {}) {
|
|
630
|
+
return Object.entries(e).forEach(([r, n]) => {
|
|
631
|
+
const s = [...t, nr(r)];
|
|
563
632
|
if (typeof n == "string" || typeof n == "number") {
|
|
564
|
-
|
|
633
|
+
o[`--theme-${s.join("-")}`] = String(n);
|
|
565
634
|
return;
|
|
566
635
|
}
|
|
567
|
-
n && typeof n == "object" && !Array.isArray(n) &&
|
|
568
|
-
}),
|
|
636
|
+
n && typeof n == "object" && !Array.isArray(n) && lt(n, s, o);
|
|
637
|
+
}), o;
|
|
569
638
|
}
|
|
570
|
-
function U(e, t,
|
|
571
|
-
|
|
639
|
+
function U(e, t, o, r) {
|
|
640
|
+
r && (e[t] = `var(${o})`);
|
|
572
641
|
}
|
|
573
|
-
function
|
|
574
|
-
const t =
|
|
575
|
-
return U(
|
|
576
|
-
|
|
642
|
+
function sr(e) {
|
|
643
|
+
const t = lt(e.tokens), o = { ...t };
|
|
644
|
+
return U(o, "--theme-primary", "--theme-colors-primary", t["--theme-colors-primary"]), U(o, "--theme-secondary", "--theme-colors-secondary", t["--theme-colors-secondary"]), U(o, "--theme-accent", "--theme-colors-accent", t["--theme-colors-accent"]), U(o, "--theme-background", "--theme-colors-background", t["--theme-colors-background"]), U(o, "--theme-surface", "--theme-colors-surface", t["--theme-colors-surface"]), U(o, "--theme-surface-alt", "--theme-colors-surface-alt", t["--theme-colors-surface-alt"]), U(o, "--theme-text", "--theme-colors-text", t["--theme-colors-text"]), U(o, "--theme-text-muted", "--theme-colors-text-muted", t["--theme-colors-text-muted"]), U(o, "--theme-border", "--theme-colors-border", t["--theme-colors-border"]), U(
|
|
645
|
+
o,
|
|
577
646
|
"--theme-font-primary",
|
|
578
647
|
"--theme-typography-font-family-primary",
|
|
579
648
|
t["--theme-typography-font-family-primary"]
|
|
580
649
|
), U(
|
|
581
|
-
|
|
650
|
+
o,
|
|
582
651
|
"--theme-font-mono",
|
|
583
652
|
"--theme-typography-font-family-mono",
|
|
584
653
|
t["--theme-typography-font-family-mono"]
|
|
585
654
|
), U(
|
|
586
|
-
|
|
655
|
+
o,
|
|
587
656
|
"--theme-font-display",
|
|
588
657
|
"--theme-typography-font-family-display",
|
|
589
658
|
t["--theme-typography-font-family-display"]
|
|
590
|
-
), U(
|
|
659
|
+
), U(o, "--theme-radius-sm", "--theme-border-radius-sm", t["--theme-border-radius-sm"]), U(o, "--theme-radius-md", "--theme-border-radius-md", t["--theme-border-radius-md"]), U(o, "--theme-radius-lg", "--theme-border-radius-lg", t["--theme-border-radius-lg"]), o;
|
|
591
660
|
}
|
|
592
|
-
const
|
|
661
|
+
const ct = {
|
|
593
662
|
setTheme: (e) => {
|
|
594
|
-
const t = document.documentElement,
|
|
595
|
-
|
|
596
|
-
t.style.removeProperty(
|
|
597
|
-
}),
|
|
598
|
-
t.style.setProperty(
|
|
663
|
+
const t = document.documentElement, o = sr(e);
|
|
664
|
+
ze.forEach((r) => {
|
|
665
|
+
t.style.removeProperty(r);
|
|
666
|
+
}), ze.clear(), Object.entries(o).forEach(([r, n]) => {
|
|
667
|
+
t.style.setProperty(r, n), ze.add(r);
|
|
599
668
|
});
|
|
600
669
|
}
|
|
601
|
-
},
|
|
602
|
-
function
|
|
670
|
+
}, ar = /^[a-zA-Z][a-zA-Z\d+\-.]*:/;
|
|
671
|
+
function $e(e) {
|
|
603
672
|
const t = typeof e == "string" ? e.trim() : "";
|
|
604
673
|
if (!t || t === "/") return "/";
|
|
605
|
-
const
|
|
606
|
-
return
|
|
674
|
+
const r = (t.startsWith("/") ? t : `/${t}`).replace(/\/+$/, "");
|
|
675
|
+
return r.length > 0 ? `${r}/` : "/";
|
|
607
676
|
}
|
|
608
|
-
function
|
|
609
|
-
const
|
|
610
|
-
if (!
|
|
611
|
-
if (
|
|
612
|
-
const
|
|
613
|
-
if (
|
|
677
|
+
function Se(e, t) {
|
|
678
|
+
const o = e.trim();
|
|
679
|
+
if (!o) return $e(t);
|
|
680
|
+
if (ar.test(o) || o.startsWith("#")) return o;
|
|
681
|
+
const r = $e(t), n = o.startsWith("/") ? o : `/${o}`;
|
|
682
|
+
if (r === "/") return n;
|
|
614
683
|
const s = n.replace(/^\/+/, "");
|
|
615
|
-
return `${
|
|
684
|
+
return `${r}${s}`;
|
|
616
685
|
}
|
|
617
|
-
const
|
|
618
|
-
class
|
|
686
|
+
const dt = Oe({}), Po = () => _e(dt);
|
|
687
|
+
class ir extends ot {
|
|
619
688
|
constructor(t) {
|
|
620
689
|
super(t), this.state = { hasError: !1, error: null };
|
|
621
690
|
}
|
|
622
691
|
static getDerivedStateFromError(t) {
|
|
623
692
|
return { hasError: !0, error: t };
|
|
624
693
|
}
|
|
625
|
-
componentDidCatch(t,
|
|
626
|
-
console.error("[JsonPages Engine]", t,
|
|
694
|
+
componentDidCatch(t, o) {
|
|
695
|
+
console.error("[JsonPages Engine]", t, o);
|
|
627
696
|
}
|
|
628
697
|
render() {
|
|
629
698
|
return this.state.hasError && this.state.error ? /* @__PURE__ */ u.jsxs(
|
|
@@ -662,105 +731,113 @@ class or extends rt {
|
|
|
662
731
|
) : this.props.children;
|
|
663
732
|
}
|
|
664
733
|
}
|
|
665
|
-
function
|
|
734
|
+
function lr() {
|
|
666
735
|
return /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
|
667
|
-
/* @__PURE__ */ u.jsx(
|
|
668
|
-
/* @__PURE__ */ u.jsx(
|
|
736
|
+
/* @__PURE__ */ u.jsx(It, {}),
|
|
737
|
+
/* @__PURE__ */ u.jsx($t, {})
|
|
669
738
|
] });
|
|
670
739
|
}
|
|
671
|
-
function
|
|
672
|
-
var
|
|
740
|
+
function cr({ config: e, routesBuilder: t, adminCss: o = "" }) {
|
|
741
|
+
var J, Y, V, X, K, G, B;
|
|
673
742
|
const {
|
|
674
|
-
registry:
|
|
743
|
+
registry: r = {},
|
|
675
744
|
schemas: n = {},
|
|
676
745
|
basePath: s = "/",
|
|
677
746
|
pages: a = {},
|
|
678
747
|
siteConfig: c,
|
|
679
748
|
themeConfig: l,
|
|
680
|
-
menuConfig:
|
|
749
|
+
menuConfig: d,
|
|
750
|
+
collections: g,
|
|
751
|
+
collectionSchemas: h,
|
|
681
752
|
refDocuments: b,
|
|
682
|
-
themeCss:
|
|
683
|
-
addSection:
|
|
684
|
-
NotFoundComponent:
|
|
685
|
-
} = e,
|
|
686
|
-
saveToFile: (
|
|
687
|
-
hotSave: (
|
|
688
|
-
coldSave: (
|
|
689
|
-
showLocalSave: ((
|
|
690
|
-
showHotSave: ((
|
|
691
|
-
showColdSave: ((
|
|
692
|
-
},
|
|
693
|
-
() =>
|
|
753
|
+
themeCss: v,
|
|
754
|
+
addSection: S,
|
|
755
|
+
NotFoundComponent: C = tr
|
|
756
|
+
} = e, E = (S == null ? void 0 : S.addableSectionTypes) ?? Object.keys(n).filter((F) => F !== "header" && F !== "footer"), R = {
|
|
757
|
+
saveToFile: (J = e.persistence) == null ? void 0 : J.saveToFile,
|
|
758
|
+
hotSave: (Y = e.persistence) == null ? void 0 : Y.hotSave,
|
|
759
|
+
coldSave: (V = e.persistence) == null ? void 0 : V.coldSave,
|
|
760
|
+
showLocalSave: ((X = e.persistence) == null ? void 0 : X.showLocalSave) ?? !0,
|
|
761
|
+
showHotSave: ((K = e.persistence) == null ? void 0 : K.showHotSave) ?? !1,
|
|
762
|
+
showColdSave: ((G = e.persistence) == null ? void 0 : G.showColdSave) ?? !1
|
|
763
|
+
}, W = typeof (v == null ? void 0 : v.tenant) == "string" ? v.tenant : "", k = typeof (v == null ? void 0 : v.admin) == "string" ? v.admin : o, T = fe(
|
|
764
|
+
() => De({
|
|
694
765
|
pages: a,
|
|
695
766
|
siteConfig: c,
|
|
696
767
|
themeConfig: l,
|
|
697
|
-
menuConfig:
|
|
768
|
+
menuConfig: d,
|
|
769
|
+
collections: g,
|
|
770
|
+
collectionSchemas: h,
|
|
698
771
|
refDocuments: b
|
|
699
772
|
}),
|
|
700
|
-
[a, c, l,
|
|
701
|
-
), [
|
|
702
|
-
|
|
703
|
-
var
|
|
773
|
+
[a, c, l, d, g, h, b]
|
|
774
|
+
), [j, _] = nt(!1), $ = $e(s);
|
|
775
|
+
se(() => {
|
|
776
|
+
var F, q;
|
|
704
777
|
try {
|
|
705
|
-
(
|
|
706
|
-
} catch (
|
|
707
|
-
console.warn("[JsonPages] setTheme failed",
|
|
778
|
+
(F = T.themeConfig) != null && F.tokens && ct.setTheme(T.themeConfig);
|
|
779
|
+
} catch (Q) {
|
|
780
|
+
console.warn("[JsonPages] setTheme failed", Q);
|
|
708
781
|
}
|
|
709
|
-
(
|
|
710
|
-
}, [
|
|
711
|
-
const
|
|
712
|
-
registry:
|
|
782
|
+
(q = e.webmcp) != null && q.enabled && Kt(), _(!0);
|
|
783
|
+
}, [T.themeConfig, (B = e.webmcp) == null ? void 0 : B.enabled]);
|
|
784
|
+
const m = {
|
|
785
|
+
registry: r,
|
|
713
786
|
schemas: n,
|
|
714
787
|
pageRegistry: a,
|
|
715
788
|
siteConfig: c,
|
|
716
|
-
menuConfig:
|
|
717
|
-
themeConfig:
|
|
789
|
+
menuConfig: d,
|
|
790
|
+
themeConfig: T.themeConfig,
|
|
791
|
+
collections: g,
|
|
792
|
+
collectionSchemas: h,
|
|
718
793
|
refDocuments: b,
|
|
719
|
-
addSectionConfig:
|
|
720
|
-
addableSectionTypes:
|
|
794
|
+
addSectionConfig: S,
|
|
795
|
+
addableSectionTypes: E,
|
|
721
796
|
webmcp: e.webmcp,
|
|
722
|
-
persistence:
|
|
723
|
-
routerBasePath:
|
|
724
|
-
tenantCss:
|
|
725
|
-
adminCss:
|
|
726
|
-
NotFoundComponent:
|
|
727
|
-
},
|
|
728
|
-
const
|
|
729
|
-
return
|
|
797
|
+
persistence: R,
|
|
798
|
+
routerBasePath: $,
|
|
799
|
+
tenantCss: W,
|
|
800
|
+
adminCss: k,
|
|
801
|
+
NotFoundComponent: C
|
|
802
|
+
}, A = fe(() => {
|
|
803
|
+
const F = Pt(t(m));
|
|
804
|
+
return zt(F, { basename: $ });
|
|
730
805
|
}, [
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
806
|
+
C,
|
|
807
|
+
S,
|
|
808
|
+
E,
|
|
809
|
+
k,
|
|
810
|
+
T.themeConfig,
|
|
811
|
+
d,
|
|
812
|
+
g,
|
|
813
|
+
h,
|
|
737
814
|
a,
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
815
|
+
R.coldSave,
|
|
816
|
+
R.hotSave,
|
|
817
|
+
R.saveToFile,
|
|
818
|
+
R.showColdSave,
|
|
819
|
+
R.showHotSave,
|
|
820
|
+
R.showLocalSave,
|
|
744
821
|
b,
|
|
745
|
-
|
|
822
|
+
$,
|
|
746
823
|
n,
|
|
747
824
|
c,
|
|
748
|
-
|
|
825
|
+
W,
|
|
749
826
|
e.webmcp,
|
|
750
827
|
t
|
|
751
828
|
]);
|
|
752
|
-
return
|
|
753
|
-
|
|
829
|
+
return j ? /* @__PURE__ */ u.jsx(ir, { children: /* @__PURE__ */ u.jsx(dt.Provider, { value: e.iconRegistry ?? {}, children: /* @__PURE__ */ u.jsx(
|
|
830
|
+
rr,
|
|
754
831
|
{
|
|
755
832
|
config: {
|
|
756
|
-
registry:
|
|
833
|
+
registry: r,
|
|
757
834
|
schemas: n,
|
|
758
835
|
tenantId: e.tenantId ?? "default",
|
|
759
|
-
basePath:
|
|
836
|
+
basePath: $,
|
|
760
837
|
assets: e.assets,
|
|
761
838
|
overlayDisabledSectionTypes: e.overlayDisabledSectionTypes
|
|
762
839
|
},
|
|
763
|
-
children: /* @__PURE__ */ u.jsx(
|
|
840
|
+
children: /* @__PURE__ */ u.jsx(Nt, { router: A })
|
|
764
841
|
}
|
|
765
842
|
) }) }) : /* @__PURE__ */ u.jsx(
|
|
766
843
|
"div",
|
|
@@ -779,23 +856,23 @@ function sr({ config: e, routesBuilder: t, adminCss: r = "" }) {
|
|
|
779
856
|
}
|
|
780
857
|
);
|
|
781
858
|
}
|
|
782
|
-
const
|
|
859
|
+
const ut = Oe(void 0), dr = ({ mode: e, children: t }) => (se(() => {
|
|
783
860
|
if (e !== "studio") return;
|
|
784
|
-
const
|
|
785
|
-
|
|
861
|
+
const o = new MutationObserver((r) => {
|
|
862
|
+
r.forEach((n) => {
|
|
786
863
|
n.addedNodes.forEach((s) => {
|
|
787
864
|
s instanceof HTMLElement && s.hasAttribute("data-radix-portal") && s.setAttribute("data-jp-studio-portal", "true");
|
|
788
865
|
});
|
|
789
866
|
});
|
|
790
867
|
});
|
|
791
|
-
return
|
|
792
|
-
}, [e]), /* @__PURE__ */ u.jsx(
|
|
793
|
-
const e =
|
|
868
|
+
return o.observe(document.body, { childList: !0 }), () => o.disconnect();
|
|
869
|
+
}, [e]), /* @__PURE__ */ u.jsx(ut.Provider, { value: { mode: e }, children: t })), ur = () => {
|
|
870
|
+
const e = _e(ut);
|
|
794
871
|
if (e === void 0)
|
|
795
872
|
throw new Error("useStudio must be used within a StudioProvider");
|
|
796
873
|
return e;
|
|
797
874
|
};
|
|
798
|
-
function
|
|
875
|
+
function mr(e, t) {
|
|
799
876
|
return t.header != null && e["global-header"] !== !1;
|
|
800
877
|
}
|
|
801
878
|
/**
|
|
@@ -804,14 +881,14 @@ function lr(e, t) {
|
|
|
804
881
|
* This source code is licensed under the ISC license.
|
|
805
882
|
* See the LICENSE file in the root directory of this source tree.
|
|
806
883
|
*/
|
|
807
|
-
const
|
|
884
|
+
const fr = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), mt = (...e) => e.filter((t, o, r) => !!t && t.trim() !== "" && r.indexOf(t) === o).join(" ").trim();
|
|
808
885
|
/**
|
|
809
886
|
* @license lucide-react v0.474.0 - ISC
|
|
810
887
|
*
|
|
811
888
|
* This source code is licensed under the ISC license.
|
|
812
889
|
* See the LICENSE file in the root directory of this source tree.
|
|
813
890
|
*/
|
|
814
|
-
var
|
|
891
|
+
var pr = {
|
|
815
892
|
xmlns: "http://www.w3.org/2000/svg",
|
|
816
893
|
width: 24,
|
|
817
894
|
height: 24,
|
|
@@ -828,30 +905,30 @@ var dr = {
|
|
|
828
905
|
* This source code is licensed under the ISC license.
|
|
829
906
|
* See the LICENSE file in the root directory of this source tree.
|
|
830
907
|
*/
|
|
831
|
-
const
|
|
908
|
+
const gr = st(
|
|
832
909
|
({
|
|
833
910
|
color: e = "currentColor",
|
|
834
911
|
size: t = 24,
|
|
835
|
-
strokeWidth:
|
|
836
|
-
absoluteStrokeWidth:
|
|
912
|
+
strokeWidth: o = 2,
|
|
913
|
+
absoluteStrokeWidth: r,
|
|
837
914
|
className: n = "",
|
|
838
915
|
children: s,
|
|
839
916
|
iconNode: a,
|
|
840
917
|
...c
|
|
841
|
-
}, l) =>
|
|
918
|
+
}, l) => Ie(
|
|
842
919
|
"svg",
|
|
843
920
|
{
|
|
844
921
|
ref: l,
|
|
845
|
-
...
|
|
922
|
+
...pr,
|
|
846
923
|
width: t,
|
|
847
924
|
height: t,
|
|
848
925
|
stroke: e,
|
|
849
|
-
strokeWidth:
|
|
850
|
-
className:
|
|
926
|
+
strokeWidth: r ? Number(o) * 24 / Number(t) : o,
|
|
927
|
+
className: mt("lucide", n),
|
|
851
928
|
...c
|
|
852
929
|
},
|
|
853
930
|
[
|
|
854
|
-
...a.map(([
|
|
931
|
+
...a.map(([d, g]) => Ie(d, g)),
|
|
855
932
|
...Array.isArray(s) ? s : [s]
|
|
856
933
|
]
|
|
857
934
|
)
|
|
@@ -862,16 +939,16 @@ const ur = nt(
|
|
|
862
939
|
* This source code is licensed under the ISC license.
|
|
863
940
|
* See the LICENSE file in the root directory of this source tree.
|
|
864
941
|
*/
|
|
865
|
-
const
|
|
866
|
-
const
|
|
867
|
-
({ className:
|
|
942
|
+
const Fe = (e, t) => {
|
|
943
|
+
const o = st(
|
|
944
|
+
({ className: r, ...n }, s) => Ie(gr, {
|
|
868
945
|
ref: s,
|
|
869
946
|
iconNode: t,
|
|
870
|
-
className:
|
|
947
|
+
className: mt(`lucide-${fr(e)}`, r),
|
|
871
948
|
...n
|
|
872
949
|
})
|
|
873
950
|
);
|
|
874
|
-
return
|
|
951
|
+
return o.displayName = `${e}`, o;
|
|
875
952
|
};
|
|
876
953
|
/**
|
|
877
954
|
* @license lucide-react v0.474.0 - ISC
|
|
@@ -879,21 +956,21 @@ const De = (e, t) => {
|
|
|
879
956
|
* This source code is licensed under the ISC license.
|
|
880
957
|
* See the LICENSE file in the root directory of this source tree.
|
|
881
958
|
*/
|
|
882
|
-
const
|
|
959
|
+
const hr = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], br = Fe("ChevronDown", hr);
|
|
883
960
|
/**
|
|
884
961
|
* @license lucide-react v0.474.0 - ISC
|
|
885
962
|
*
|
|
886
963
|
* This source code is licensed under the ISC license.
|
|
887
964
|
* See the LICENSE file in the root directory of this source tree.
|
|
888
965
|
*/
|
|
889
|
-
const
|
|
966
|
+
const yr = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]], vr = Fe("ChevronUp", yr);
|
|
890
967
|
/**
|
|
891
968
|
* @license lucide-react v0.474.0 - ISC
|
|
892
969
|
*
|
|
893
970
|
* This source code is licensed under the ISC license.
|
|
894
971
|
* See the LICENSE file in the root directory of this source tree.
|
|
895
972
|
*/
|
|
896
|
-
const
|
|
973
|
+
const xr = [
|
|
897
974
|
[
|
|
898
975
|
"path",
|
|
899
976
|
{
|
|
@@ -903,128 +980,128 @@ const hr = [
|
|
|
903
980
|
],
|
|
904
981
|
["path", { d: "M12 9v4", key: "juzpu7" }],
|
|
905
982
|
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
906
|
-
],
|
|
907
|
-
function
|
|
908
|
-
var t,
|
|
909
|
-
if (typeof e == "string" || typeof e == "number")
|
|
983
|
+
], wr = Fe("TriangleAlert", xr);
|
|
984
|
+
function ft(e) {
|
|
985
|
+
var t, o, r = "";
|
|
986
|
+
if (typeof e == "string" || typeof e == "number") r += e;
|
|
910
987
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
911
988
|
var n = e.length;
|
|
912
|
-
for (t = 0; t < n; t++) e[t] && (
|
|
913
|
-
} else for (
|
|
914
|
-
return
|
|
915
|
-
}
|
|
916
|
-
function yr() {
|
|
917
|
-
for (var e, t, r = 0, o = "", n = arguments.length; r < n; r++) (e = arguments[r]) && (t = mt(e)) && (o && (o += " "), o += t);
|
|
918
|
-
return o;
|
|
989
|
+
for (t = 0; t < n; t++) e[t] && (o = ft(e[t])) && (r && (r += " "), r += o);
|
|
990
|
+
} else for (o in e) e[o] && (r && (r += " "), r += o);
|
|
991
|
+
return r;
|
|
919
992
|
}
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
for (let o = 0; o < e.length; o++)
|
|
923
|
-
r[o] = e[o];
|
|
924
|
-
for (let o = 0; o < t.length; o++)
|
|
925
|
-
r[e.length + o] = t[o];
|
|
993
|
+
function kr() {
|
|
994
|
+
for (var e, t, o = 0, r = "", n = arguments.length; o < n; o++) (e = arguments[o]) && (t = ft(e)) && (r && (r += " "), r += t);
|
|
926
995
|
return r;
|
|
927
|
-
}
|
|
996
|
+
}
|
|
997
|
+
const jr = (e, t) => {
|
|
998
|
+
const o = new Array(e.length + t.length);
|
|
999
|
+
for (let r = 0; r < e.length; r++)
|
|
1000
|
+
o[r] = e[r];
|
|
1001
|
+
for (let r = 0; r < t.length; r++)
|
|
1002
|
+
o[e.length + r] = t[r];
|
|
1003
|
+
return o;
|
|
1004
|
+
}, Sr = (e, t) => ({
|
|
928
1005
|
classGroupId: e,
|
|
929
1006
|
validator: t
|
|
930
|
-
}),
|
|
1007
|
+
}), pt = (e = /* @__PURE__ */ new Map(), t = null, o) => ({
|
|
931
1008
|
nextPart: e,
|
|
932
1009
|
validators: t,
|
|
933
|
-
classGroupId:
|
|
934
|
-
}),
|
|
935
|
-
const t =
|
|
936
|
-
conflictingClassGroups:
|
|
937
|
-
conflictingClassGroupModifiers:
|
|
1010
|
+
classGroupId: o
|
|
1011
|
+
}), Ae = "-", He = [], Cr = "arbitrary..", Er = (e) => {
|
|
1012
|
+
const t = Rr(e), {
|
|
1013
|
+
conflictingClassGroups: o,
|
|
1014
|
+
conflictingClassGroupModifiers: r
|
|
938
1015
|
} = e;
|
|
939
1016
|
return {
|
|
940
1017
|
getClassGroupId: (a) => {
|
|
941
1018
|
if (a.startsWith("[") && a.endsWith("]"))
|
|
942
|
-
return
|
|
943
|
-
const c = a.split(
|
|
944
|
-
return
|
|
1019
|
+
return Tr(a);
|
|
1020
|
+
const c = a.split(Ae), l = c[0] === "" && c.length > 1 ? 1 : 0;
|
|
1021
|
+
return gt(c, l, t);
|
|
945
1022
|
},
|
|
946
1023
|
getConflictingClassGroupIds: (a, c) => {
|
|
947
1024
|
if (c) {
|
|
948
|
-
const l =
|
|
949
|
-
return l ?
|
|
1025
|
+
const l = r[a], d = o[a];
|
|
1026
|
+
return l ? d ? jr(d, l) : l : d || He;
|
|
950
1027
|
}
|
|
951
|
-
return
|
|
1028
|
+
return o[a] || He;
|
|
952
1029
|
}
|
|
953
1030
|
};
|
|
954
|
-
},
|
|
1031
|
+
}, gt = (e, t, o) => {
|
|
955
1032
|
if (e.length - t === 0)
|
|
956
|
-
return
|
|
957
|
-
const n = e[t], s =
|
|
1033
|
+
return o.classGroupId;
|
|
1034
|
+
const n = e[t], s = o.nextPart.get(n);
|
|
958
1035
|
if (s) {
|
|
959
|
-
const
|
|
960
|
-
if (
|
|
1036
|
+
const d = gt(e, t + 1, s);
|
|
1037
|
+
if (d) return d;
|
|
961
1038
|
}
|
|
962
|
-
const a =
|
|
1039
|
+
const a = o.validators;
|
|
963
1040
|
if (a === null)
|
|
964
1041
|
return;
|
|
965
|
-
const c = t === 0 ? e.join(
|
|
966
|
-
for (let
|
|
967
|
-
const
|
|
968
|
-
if (
|
|
969
|
-
return
|
|
1042
|
+
const c = t === 0 ? e.join(Ae) : e.slice(t).join(Ae), l = a.length;
|
|
1043
|
+
for (let d = 0; d < l; d++) {
|
|
1044
|
+
const g = a[d];
|
|
1045
|
+
if (g.validator(c))
|
|
1046
|
+
return g.classGroupId;
|
|
970
1047
|
}
|
|
971
|
-
},
|
|
972
|
-
const t = e.slice(1, -1),
|
|
973
|
-
return
|
|
974
|
-
})(),
|
|
1048
|
+
}, Tr = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
1049
|
+
const t = e.slice(1, -1), o = t.indexOf(":"), r = t.slice(0, o);
|
|
1050
|
+
return r ? Cr + r : void 0;
|
|
1051
|
+
})(), Rr = (e) => {
|
|
975
1052
|
const {
|
|
976
1053
|
theme: t,
|
|
977
|
-
classGroups:
|
|
1054
|
+
classGroups: o
|
|
978
1055
|
} = e;
|
|
979
|
-
return
|
|
980
|
-
},
|
|
981
|
-
const
|
|
982
|
-
for (const
|
|
983
|
-
const n = e[
|
|
984
|
-
|
|
1056
|
+
return Ar(o, t);
|
|
1057
|
+
}, Ar = (e, t) => {
|
|
1058
|
+
const o = pt();
|
|
1059
|
+
for (const r in e) {
|
|
1060
|
+
const n = e[r];
|
|
1061
|
+
We(n, o, r, t);
|
|
985
1062
|
}
|
|
986
|
-
return
|
|
987
|
-
},
|
|
1063
|
+
return o;
|
|
1064
|
+
}, We = (e, t, o, r) => {
|
|
988
1065
|
const n = e.length;
|
|
989
1066
|
for (let s = 0; s < n; s++) {
|
|
990
1067
|
const a = e[s];
|
|
991
|
-
|
|
1068
|
+
_r(a, t, o, r);
|
|
992
1069
|
}
|
|
993
|
-
},
|
|
1070
|
+
}, _r = (e, t, o, r) => {
|
|
994
1071
|
if (typeof e == "string") {
|
|
995
|
-
|
|
1072
|
+
Or(e, t, o);
|
|
996
1073
|
return;
|
|
997
1074
|
}
|
|
998
1075
|
if (typeof e == "function") {
|
|
999
|
-
|
|
1076
|
+
Pr(e, t, o, r);
|
|
1000
1077
|
return;
|
|
1001
1078
|
}
|
|
1002
|
-
|
|
1003
|
-
},
|
|
1004
|
-
const
|
|
1005
|
-
|
|
1006
|
-
},
|
|
1007
|
-
if (
|
|
1008
|
-
|
|
1079
|
+
zr(e, t, o, r);
|
|
1080
|
+
}, Or = (e, t, o) => {
|
|
1081
|
+
const r = e === "" ? t : ht(t, e);
|
|
1082
|
+
r.classGroupId = o;
|
|
1083
|
+
}, Pr = (e, t, o, r) => {
|
|
1084
|
+
if (Nr(e)) {
|
|
1085
|
+
We(e(r), t, o, r);
|
|
1009
1086
|
return;
|
|
1010
1087
|
}
|
|
1011
|
-
t.validators === null && (t.validators = []), t.validators.push(
|
|
1012
|
-
},
|
|
1088
|
+
t.validators === null && (t.validators = []), t.validators.push(Sr(o, e));
|
|
1089
|
+
}, zr = (e, t, o, r) => {
|
|
1013
1090
|
const n = Object.entries(e), s = n.length;
|
|
1014
1091
|
for (let a = 0; a < s; a++) {
|
|
1015
1092
|
const [c, l] = n[a];
|
|
1016
|
-
|
|
1093
|
+
We(l, ht(t, c), o, r);
|
|
1017
1094
|
}
|
|
1018
|
-
},
|
|
1019
|
-
let
|
|
1020
|
-
const
|
|
1095
|
+
}, ht = (e, t) => {
|
|
1096
|
+
let o = e;
|
|
1097
|
+
const r = t.split(Ae), n = r.length;
|
|
1021
1098
|
for (let s = 0; s < n; s++) {
|
|
1022
|
-
const a =
|
|
1023
|
-
let c =
|
|
1024
|
-
c || (c =
|
|
1099
|
+
const a = r[s];
|
|
1100
|
+
let c = o.nextPart.get(a);
|
|
1101
|
+
c || (c = pt(), o.nextPart.set(a, c)), o = c;
|
|
1025
1102
|
}
|
|
1026
|
-
return
|
|
1027
|
-
},
|
|
1103
|
+
return o;
|
|
1104
|
+
}, Nr = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Ir = (e) => {
|
|
1028
1105
|
if (e < 1)
|
|
1029
1106
|
return {
|
|
1030
1107
|
get: () => {
|
|
@@ -1032,178 +1109,178 @@ const xr = (e, t) => {
|
|
|
1032
1109
|
set: () => {
|
|
1033
1110
|
}
|
|
1034
1111
|
};
|
|
1035
|
-
let t = 0,
|
|
1112
|
+
let t = 0, o = /* @__PURE__ */ Object.create(null), r = /* @__PURE__ */ Object.create(null);
|
|
1036
1113
|
const n = (s, a) => {
|
|
1037
|
-
|
|
1114
|
+
o[s] = a, t++, t > e && (t = 0, r = o, o = /* @__PURE__ */ Object.create(null));
|
|
1038
1115
|
};
|
|
1039
1116
|
return {
|
|
1040
1117
|
get(s) {
|
|
1041
|
-
let a =
|
|
1118
|
+
let a = o[s];
|
|
1042
1119
|
if (a !== void 0)
|
|
1043
1120
|
return a;
|
|
1044
|
-
if ((a =
|
|
1121
|
+
if ((a = r[s]) !== void 0)
|
|
1045
1122
|
return n(s, a), a;
|
|
1046
1123
|
},
|
|
1047
1124
|
set(s, a) {
|
|
1048
|
-
s in
|
|
1125
|
+
s in o ? o[s] = a : n(s, a);
|
|
1049
1126
|
}
|
|
1050
1127
|
};
|
|
1051
|
-
},
|
|
1128
|
+
}, Me = "!", Ze = ":", $r = [], Xe = (e, t, o, r, n) => ({
|
|
1052
1129
|
modifiers: e,
|
|
1053
1130
|
hasImportantModifier: t,
|
|
1054
|
-
baseClassName:
|
|
1055
|
-
maybePostfixModifierPosition:
|
|
1131
|
+
baseClassName: o,
|
|
1132
|
+
maybePostfixModifierPosition: r,
|
|
1056
1133
|
isExternal: n
|
|
1057
|
-
}),
|
|
1134
|
+
}), Mr = (e) => {
|
|
1058
1135
|
const {
|
|
1059
1136
|
prefix: t,
|
|
1060
|
-
experimentalParseClassName:
|
|
1137
|
+
experimentalParseClassName: o
|
|
1061
1138
|
} = e;
|
|
1062
|
-
let
|
|
1139
|
+
let r = (n) => {
|
|
1063
1140
|
const s = [];
|
|
1064
|
-
let a = 0, c = 0, l = 0,
|
|
1065
|
-
const
|
|
1066
|
-
for (let
|
|
1067
|
-
const
|
|
1141
|
+
let a = 0, c = 0, l = 0, d;
|
|
1142
|
+
const g = n.length;
|
|
1143
|
+
for (let C = 0; C < g; C++) {
|
|
1144
|
+
const E = n[C];
|
|
1068
1145
|
if (a === 0 && c === 0) {
|
|
1069
|
-
if (
|
|
1070
|
-
s.push(n.slice(l,
|
|
1146
|
+
if (E === Ze) {
|
|
1147
|
+
s.push(n.slice(l, C)), l = C + 1;
|
|
1071
1148
|
continue;
|
|
1072
1149
|
}
|
|
1073
|
-
if (
|
|
1074
|
-
|
|
1150
|
+
if (E === "/") {
|
|
1151
|
+
d = C;
|
|
1075
1152
|
continue;
|
|
1076
1153
|
}
|
|
1077
1154
|
}
|
|
1078
|
-
|
|
1155
|
+
E === "[" ? a++ : E === "]" ? a-- : E === "(" ? c++ : E === ")" && c--;
|
|
1079
1156
|
}
|
|
1080
1157
|
const h = s.length === 0 ? n : n.slice(l);
|
|
1081
|
-
let
|
|
1082
|
-
h.endsWith(
|
|
1158
|
+
let b = h, v = !1;
|
|
1159
|
+
h.endsWith(Me) ? (b = h.slice(0, -1), v = !0) : (
|
|
1083
1160
|
/**
|
|
1084
1161
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
1085
1162
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
1086
1163
|
*/
|
|
1087
|
-
h.startsWith(
|
|
1164
|
+
h.startsWith(Me) && (b = h.slice(1), v = !0)
|
|
1088
1165
|
);
|
|
1089
|
-
const
|
|
1090
|
-
return Xe(s,
|
|
1166
|
+
const S = d && d > l ? d - l : void 0;
|
|
1167
|
+
return Xe(s, v, b, S);
|
|
1091
1168
|
};
|
|
1092
1169
|
if (t) {
|
|
1093
|
-
const n = t +
|
|
1094
|
-
|
|
1170
|
+
const n = t + Ze, s = r;
|
|
1171
|
+
r = (a) => a.startsWith(n) ? s(a.slice(n.length)) : Xe($r, !1, a, void 0, !0);
|
|
1095
1172
|
}
|
|
1096
|
-
if (
|
|
1097
|
-
const n =
|
|
1098
|
-
|
|
1173
|
+
if (o) {
|
|
1174
|
+
const n = r;
|
|
1175
|
+
r = (s) => o({
|
|
1099
1176
|
className: s,
|
|
1100
1177
|
parseClassName: n
|
|
1101
1178
|
});
|
|
1102
1179
|
}
|
|
1103
|
-
return
|
|
1104
|
-
},
|
|
1180
|
+
return r;
|
|
1181
|
+
}, Lr = (e) => {
|
|
1105
1182
|
const t = /* @__PURE__ */ new Map();
|
|
1106
|
-
return e.orderSensitiveModifiers.forEach((
|
|
1107
|
-
t.set(
|
|
1108
|
-
}), (
|
|
1109
|
-
const
|
|
1183
|
+
return e.orderSensitiveModifiers.forEach((o, r) => {
|
|
1184
|
+
t.set(o, 1e6 + r);
|
|
1185
|
+
}), (o) => {
|
|
1186
|
+
const r = [];
|
|
1110
1187
|
let n = [];
|
|
1111
|
-
for (let s = 0; s <
|
|
1112
|
-
const a =
|
|
1113
|
-
c || l ? (n.length > 0 && (n.sort(),
|
|
1188
|
+
for (let s = 0; s < o.length; s++) {
|
|
1189
|
+
const a = o[s], c = a[0] === "[", l = t.has(a);
|
|
1190
|
+
c || l ? (n.length > 0 && (n.sort(), r.push(...n), n = []), r.push(a)) : n.push(a);
|
|
1114
1191
|
}
|
|
1115
|
-
return n.length > 0 && (n.sort(),
|
|
1192
|
+
return n.length > 0 && (n.sort(), r.push(...n)), r;
|
|
1116
1193
|
};
|
|
1117
|
-
},
|
|
1118
|
-
cache:
|
|
1119
|
-
parseClassName:
|
|
1120
|
-
sortModifiers:
|
|
1121
|
-
...
|
|
1122
|
-
}),
|
|
1194
|
+
}, Dr = (e) => ({
|
|
1195
|
+
cache: Ir(e.cacheSize),
|
|
1196
|
+
parseClassName: Mr(e),
|
|
1197
|
+
sortModifiers: Lr(e),
|
|
1198
|
+
...Er(e)
|
|
1199
|
+
}), Fr = /\s+/, Wr = (e, t) => {
|
|
1123
1200
|
const {
|
|
1124
|
-
parseClassName:
|
|
1125
|
-
getClassGroupId:
|
|
1201
|
+
parseClassName: o,
|
|
1202
|
+
getClassGroupId: r,
|
|
1126
1203
|
getConflictingClassGroupIds: n,
|
|
1127
1204
|
sortModifiers: s
|
|
1128
|
-
} = t, a = [], c = e.trim().split(
|
|
1205
|
+
} = t, a = [], c = e.trim().split(Fr);
|
|
1129
1206
|
let l = "";
|
|
1130
|
-
for (let
|
|
1131
|
-
const
|
|
1207
|
+
for (let d = c.length - 1; d >= 0; d -= 1) {
|
|
1208
|
+
const g = c[d], {
|
|
1132
1209
|
isExternal: h,
|
|
1133
|
-
modifiers:
|
|
1134
|
-
hasImportantModifier:
|
|
1135
|
-
baseClassName:
|
|
1136
|
-
maybePostfixModifierPosition:
|
|
1137
|
-
} =
|
|
1210
|
+
modifiers: b,
|
|
1211
|
+
hasImportantModifier: v,
|
|
1212
|
+
baseClassName: S,
|
|
1213
|
+
maybePostfixModifierPosition: C
|
|
1214
|
+
} = o(g);
|
|
1138
1215
|
if (h) {
|
|
1139
|
-
l =
|
|
1216
|
+
l = g + (l.length > 0 ? " " + l : l);
|
|
1140
1217
|
continue;
|
|
1141
1218
|
}
|
|
1142
|
-
let
|
|
1143
|
-
if (!
|
|
1144
|
-
if (!
|
|
1145
|
-
l =
|
|
1219
|
+
let E = !!C, R = r(E ? S.substring(0, C) : S);
|
|
1220
|
+
if (!R) {
|
|
1221
|
+
if (!E) {
|
|
1222
|
+
l = g + (l.length > 0 ? " " + l : l);
|
|
1146
1223
|
continue;
|
|
1147
1224
|
}
|
|
1148
|
-
if (
|
|
1149
|
-
l =
|
|
1225
|
+
if (R = r(S), !R) {
|
|
1226
|
+
l = g + (l.length > 0 ? " " + l : l);
|
|
1150
1227
|
continue;
|
|
1151
1228
|
}
|
|
1152
|
-
|
|
1229
|
+
E = !1;
|
|
1153
1230
|
}
|
|
1154
|
-
const W =
|
|
1155
|
-
if (a.indexOf(
|
|
1231
|
+
const W = b.length === 0 ? "" : b.length === 1 ? b[0] : s(b).join(":"), k = v ? W + Me : W, T = k + R;
|
|
1232
|
+
if (a.indexOf(T) > -1)
|
|
1156
1233
|
continue;
|
|
1157
|
-
a.push(
|
|
1158
|
-
const
|
|
1159
|
-
for (let
|
|
1160
|
-
const
|
|
1161
|
-
a.push(
|
|
1234
|
+
a.push(T);
|
|
1235
|
+
const j = n(R, E);
|
|
1236
|
+
for (let _ = 0; _ < j.length; ++_) {
|
|
1237
|
+
const $ = j[_];
|
|
1238
|
+
a.push(k + $);
|
|
1162
1239
|
}
|
|
1163
|
-
l =
|
|
1240
|
+
l = g + (l.length > 0 ? " " + l : l);
|
|
1164
1241
|
}
|
|
1165
1242
|
return l;
|
|
1166
|
-
},
|
|
1167
|
-
let t = 0,
|
|
1243
|
+
}, Br = (...e) => {
|
|
1244
|
+
let t = 0, o, r, n = "";
|
|
1168
1245
|
for (; t < e.length; )
|
|
1169
|
-
(
|
|
1246
|
+
(o = e[t++]) && (r = bt(o)) && (n && (n += " "), n += r);
|
|
1170
1247
|
return n;
|
|
1171
|
-
},
|
|
1248
|
+
}, bt = (e) => {
|
|
1172
1249
|
if (typeof e == "string")
|
|
1173
1250
|
return e;
|
|
1174
|
-
let t,
|
|
1175
|
-
for (let
|
|
1176
|
-
e[
|
|
1177
|
-
return
|
|
1178
|
-
},
|
|
1179
|
-
let
|
|
1251
|
+
let t, o = "";
|
|
1252
|
+
for (let r = 0; r < e.length; r++)
|
|
1253
|
+
e[r] && (t = bt(e[r])) && (o && (o += " "), o += t);
|
|
1254
|
+
return o;
|
|
1255
|
+
}, Ur = (e, ...t) => {
|
|
1256
|
+
let o, r, n, s;
|
|
1180
1257
|
const a = (l) => {
|
|
1181
|
-
const
|
|
1182
|
-
return
|
|
1258
|
+
const d = t.reduce((g, h) => h(g), e());
|
|
1259
|
+
return o = Dr(d), r = o.cache.get, n = o.cache.set, s = c, c(l);
|
|
1183
1260
|
}, c = (l) => {
|
|
1184
|
-
const
|
|
1185
|
-
if (
|
|
1186
|
-
return
|
|
1187
|
-
const
|
|
1188
|
-
return n(l,
|
|
1261
|
+
const d = r(l);
|
|
1262
|
+
if (d)
|
|
1263
|
+
return d;
|
|
1264
|
+
const g = Wr(l, o);
|
|
1265
|
+
return n(l, g), g;
|
|
1189
1266
|
};
|
|
1190
|
-
return s = a, (...l) => s(
|
|
1191
|
-
},
|
|
1192
|
-
const t = (
|
|
1267
|
+
return s = a, (...l) => s(Br(...l));
|
|
1268
|
+
}, Gr = [], D = (e) => {
|
|
1269
|
+
const t = (o) => o[e] || Gr;
|
|
1193
1270
|
return t.isThemeGetter = !0, t;
|
|
1194
|
-
},
|
|
1271
|
+
}, yt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, vt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Vr = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Jr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Yr = /\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$/, qr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Hr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Zr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ee = (e) => Vr.test(e), w = (e) => !!e && !Number.isNaN(Number(e)), te = (e) => !!e && Number.isInteger(Number(e)), Ne = (e) => e.endsWith("%") && w(e.slice(0, -1)), Z = (e) => Jr.test(e), xt = () => !0, Xr = (e) => (
|
|
1195
1272
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
1196
1273
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
1197
1274
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
1198
|
-
|
|
1199
|
-
),
|
|
1200
|
-
const
|
|
1201
|
-
return
|
|
1202
|
-
},
|
|
1203
|
-
const
|
|
1204
|
-
return
|
|
1205
|
-
},
|
|
1206
|
-
const e =
|
|
1275
|
+
Yr.test(e) && !qr.test(e)
|
|
1276
|
+
), Be = () => !1, Kr = (e) => Hr.test(e), Qr = (e) => Zr.test(e), eo = (e) => !f(e) && !p(e), to = (e) => re(e, jt, Be), f = (e) => yt.test(e), oe = (e) => re(e, St, Xr), Ke = (e) => re(e, co, w), ro = (e) => re(e, Et, xt), oo = (e) => re(e, Ct, Be), Qe = (e) => re(e, wt, Be), no = (e) => re(e, kt, Qr), Ce = (e) => re(e, Tt, Kr), p = (e) => vt.test(e), me = (e) => ie(e, St), so = (e) => ie(e, Ct), et = (e) => ie(e, wt), ao = (e) => ie(e, jt), io = (e) => ie(e, kt), Ee = (e) => ie(e, Tt, !0), lo = (e) => ie(e, Et, !0), re = (e, t, o) => {
|
|
1277
|
+
const r = yt.exec(e);
|
|
1278
|
+
return r ? r[1] ? t(r[1]) : o(r[2]) : !1;
|
|
1279
|
+
}, ie = (e, t, o = !1) => {
|
|
1280
|
+
const r = vt.exec(e);
|
|
1281
|
+
return r ? r[1] ? t(r[1]) : o : !1;
|
|
1282
|
+
}, wt = (e) => e === "position" || e === "percentage", kt = (e) => e === "image" || e === "url", jt = (e) => e === "length" || e === "size" || e === "bg-size", St = (e) => e === "length", co = (e) => e === "number", Ct = (e) => e === "family-name", Et = (e) => e === "number" || e === "weight", Tt = (e) => e === "shadow", uo = () => {
|
|
1283
|
+
const e = D("color"), t = D("font"), o = D("text"), r = D("font-weight"), n = D("tracking"), s = D("leading"), a = D("breakpoint"), c = D("container"), l = D("spacing"), d = D("radius"), g = D("shadow"), h = D("inset-shadow"), b = D("text-shadow"), v = D("drop-shadow"), S = D("blur"), C = D("perspective"), E = D("aspect"), R = D("ease"), W = D("animate"), k = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], T = () => [
|
|
1207
1284
|
"center",
|
|
1208
1285
|
"top",
|
|
1209
1286
|
"bottom",
|
|
@@ -1221,51 +1298,51 @@ const xr = (e, t) => {
|
|
|
1221
1298
|
"bottom-left",
|
|
1222
1299
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
1223
1300
|
"left-bottom"
|
|
1224
|
-
],
|
|
1225
|
-
span: ["full",
|
|
1226
|
-
},
|
|
1301
|
+
], j = () => [...T(), p, f], _ = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", "contain", "none"], m = () => [p, f, l], A = () => [ee, "full", "auto", ...m()], J = () => [te, "none", "subgrid", p, f], Y = () => ["auto", {
|
|
1302
|
+
span: ["full", te, p, f]
|
|
1303
|
+
}, te, p, f], V = () => [te, "auto", p, f], X = () => ["auto", "min", "max", "fr", p, f], K = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], G = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], B = () => ["auto", ...m()], F = () => [ee, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...m()], q = () => [ee, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...m()], Q = () => [ee, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...m()], y = () => [e, p, f], i = () => [...T(), et, Qe, {
|
|
1227
1304
|
position: [p, f]
|
|
1228
1305
|
}], x = () => ["no-repeat", {
|
|
1229
1306
|
repeat: ["", "x", "y", "space", "round"]
|
|
1230
|
-
}],
|
|
1307
|
+
}], O = () => ["auto", "cover", "contain", ao, to, {
|
|
1231
1308
|
size: [p, f]
|
|
1232
|
-
}],
|
|
1309
|
+
}], z = () => [Ne, me, oe], M = () => [
|
|
1233
1310
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1234
1311
|
"",
|
|
1235
1312
|
"none",
|
|
1236
1313
|
"full",
|
|
1237
|
-
|
|
1314
|
+
d,
|
|
1238
1315
|
p,
|
|
1239
1316
|
f
|
|
1240
|
-
],
|
|
1317
|
+
], L = () => ["", w, me, oe], P = () => ["solid", "dashed", "dotted", "double"], H = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], N = () => [w, Ne, et, Qe], he = () => [
|
|
1241
1318
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1242
1319
|
"",
|
|
1243
1320
|
"none",
|
|
1244
|
-
|
|
1321
|
+
S,
|
|
1245
1322
|
p,
|
|
1246
1323
|
f
|
|
1247
|
-
], be = () => ["none",
|
|
1324
|
+
], be = () => ["none", w, p, f], ye = () => ["none", w, p, f], Pe = () => [w, p, f], ve = () => [ee, "full", ...m()];
|
|
1248
1325
|
return {
|
|
1249
1326
|
cacheSize: 500,
|
|
1250
1327
|
theme: {
|
|
1251
1328
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
1252
1329
|
aspect: ["video"],
|
|
1253
|
-
blur: [
|
|
1254
|
-
breakpoint: [
|
|
1330
|
+
blur: [Z],
|
|
1331
|
+
breakpoint: [Z],
|
|
1255
1332
|
color: [xt],
|
|
1256
|
-
container: [
|
|
1257
|
-
"drop-shadow": [
|
|
1333
|
+
container: [Z],
|
|
1334
|
+
"drop-shadow": [Z],
|
|
1258
1335
|
ease: ["in", "out", "in-out"],
|
|
1259
|
-
font: [
|
|
1336
|
+
font: [eo],
|
|
1260
1337
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
1261
|
-
"inset-shadow": [
|
|
1338
|
+
"inset-shadow": [Z],
|
|
1262
1339
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
1263
1340
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
1264
|
-
radius: [
|
|
1265
|
-
shadow: [
|
|
1266
|
-
spacing: ["px",
|
|
1267
|
-
text: [
|
|
1268
|
-
"text-shadow": [
|
|
1341
|
+
radius: [Z],
|
|
1342
|
+
shadow: [Z],
|
|
1343
|
+
spacing: ["px", w],
|
|
1344
|
+
text: [Z],
|
|
1345
|
+
"text-shadow": [Z],
|
|
1269
1346
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
1270
1347
|
},
|
|
1271
1348
|
classGroups: {
|
|
@@ -1277,7 +1354,7 @@ const xr = (e, t) => {
|
|
|
1277
1354
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
1278
1355
|
*/
|
|
1279
1356
|
aspect: [{
|
|
1280
|
-
aspect: ["auto", "square",
|
|
1357
|
+
aspect: ["auto", "square", ee, f, p, E]
|
|
1281
1358
|
}],
|
|
1282
1359
|
/**
|
|
1283
1360
|
* Container
|
|
@@ -1290,21 +1367,21 @@ const xr = (e, t) => {
|
|
|
1290
1367
|
* @see https://tailwindcss.com/docs/columns
|
|
1291
1368
|
*/
|
|
1292
1369
|
columns: [{
|
|
1293
|
-
columns: [
|
|
1370
|
+
columns: [w, f, p, c]
|
|
1294
1371
|
}],
|
|
1295
1372
|
/**
|
|
1296
1373
|
* Break After
|
|
1297
1374
|
* @see https://tailwindcss.com/docs/break-after
|
|
1298
1375
|
*/
|
|
1299
1376
|
"break-after": [{
|
|
1300
|
-
"break-after":
|
|
1377
|
+
"break-after": k()
|
|
1301
1378
|
}],
|
|
1302
1379
|
/**
|
|
1303
1380
|
* Break Before
|
|
1304
1381
|
* @see https://tailwindcss.com/docs/break-before
|
|
1305
1382
|
*/
|
|
1306
1383
|
"break-before": [{
|
|
1307
|
-
"break-before":
|
|
1384
|
+
"break-before": k()
|
|
1308
1385
|
}],
|
|
1309
1386
|
/**
|
|
1310
1387
|
* Break Inside
|
|
@@ -1368,49 +1445,49 @@ const xr = (e, t) => {
|
|
|
1368
1445
|
* @see https://tailwindcss.com/docs/object-position
|
|
1369
1446
|
*/
|
|
1370
1447
|
"object-position": [{
|
|
1371
|
-
object:
|
|
1448
|
+
object: j()
|
|
1372
1449
|
}],
|
|
1373
1450
|
/**
|
|
1374
1451
|
* Overflow
|
|
1375
1452
|
* @see https://tailwindcss.com/docs/overflow
|
|
1376
1453
|
*/
|
|
1377
1454
|
overflow: [{
|
|
1378
|
-
overflow:
|
|
1455
|
+
overflow: _()
|
|
1379
1456
|
}],
|
|
1380
1457
|
/**
|
|
1381
1458
|
* Overflow X
|
|
1382
1459
|
* @see https://tailwindcss.com/docs/overflow
|
|
1383
1460
|
*/
|
|
1384
1461
|
"overflow-x": [{
|
|
1385
|
-
"overflow-x":
|
|
1462
|
+
"overflow-x": _()
|
|
1386
1463
|
}],
|
|
1387
1464
|
/**
|
|
1388
1465
|
* Overflow Y
|
|
1389
1466
|
* @see https://tailwindcss.com/docs/overflow
|
|
1390
1467
|
*/
|
|
1391
1468
|
"overflow-y": [{
|
|
1392
|
-
"overflow-y":
|
|
1469
|
+
"overflow-y": _()
|
|
1393
1470
|
}],
|
|
1394
1471
|
/**
|
|
1395
1472
|
* Overscroll Behavior
|
|
1396
1473
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1397
1474
|
*/
|
|
1398
1475
|
overscroll: [{
|
|
1399
|
-
overscroll:
|
|
1476
|
+
overscroll: $()
|
|
1400
1477
|
}],
|
|
1401
1478
|
/**
|
|
1402
1479
|
* Overscroll Behavior X
|
|
1403
1480
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1404
1481
|
*/
|
|
1405
1482
|
"overscroll-x": [{
|
|
1406
|
-
"overscroll-x":
|
|
1483
|
+
"overscroll-x": $()
|
|
1407
1484
|
}],
|
|
1408
1485
|
/**
|
|
1409
1486
|
* Overscroll Behavior Y
|
|
1410
1487
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1411
1488
|
*/
|
|
1412
1489
|
"overscroll-y": [{
|
|
1413
|
-
"overscroll-y":
|
|
1490
|
+
"overscroll-y": $()
|
|
1414
1491
|
}],
|
|
1415
1492
|
/**
|
|
1416
1493
|
* Position
|
|
@@ -1422,21 +1499,21 @@ const xr = (e, t) => {
|
|
|
1422
1499
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1423
1500
|
*/
|
|
1424
1501
|
inset: [{
|
|
1425
|
-
inset:
|
|
1502
|
+
inset: A()
|
|
1426
1503
|
}],
|
|
1427
1504
|
/**
|
|
1428
1505
|
* Inset Inline
|
|
1429
1506
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1430
1507
|
*/
|
|
1431
1508
|
"inset-x": [{
|
|
1432
|
-
"inset-x":
|
|
1509
|
+
"inset-x": A()
|
|
1433
1510
|
}],
|
|
1434
1511
|
/**
|
|
1435
1512
|
* Inset Block
|
|
1436
1513
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1437
1514
|
*/
|
|
1438
1515
|
"inset-y": [{
|
|
1439
|
-
"inset-y":
|
|
1516
|
+
"inset-y": A()
|
|
1440
1517
|
}],
|
|
1441
1518
|
/**
|
|
1442
1519
|
* Inset Inline Start
|
|
@@ -1444,12 +1521,12 @@ const xr = (e, t) => {
|
|
|
1444
1521
|
* @todo class group will be renamed to `inset-s` in next major release
|
|
1445
1522
|
*/
|
|
1446
1523
|
start: [{
|
|
1447
|
-
"inset-s":
|
|
1524
|
+
"inset-s": A(),
|
|
1448
1525
|
/**
|
|
1449
1526
|
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
|
|
1450
1527
|
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
1451
1528
|
*/
|
|
1452
|
-
start:
|
|
1529
|
+
start: A()
|
|
1453
1530
|
}],
|
|
1454
1531
|
/**
|
|
1455
1532
|
* Inset Inline End
|
|
@@ -1457,54 +1534,54 @@ const xr = (e, t) => {
|
|
|
1457
1534
|
* @todo class group will be renamed to `inset-e` in next major release
|
|
1458
1535
|
*/
|
|
1459
1536
|
end: [{
|
|
1460
|
-
"inset-e":
|
|
1537
|
+
"inset-e": A(),
|
|
1461
1538
|
/**
|
|
1462
1539
|
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
|
|
1463
1540
|
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
1464
1541
|
*/
|
|
1465
|
-
end:
|
|
1542
|
+
end: A()
|
|
1466
1543
|
}],
|
|
1467
1544
|
/**
|
|
1468
1545
|
* Inset Block Start
|
|
1469
1546
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1470
1547
|
*/
|
|
1471
1548
|
"inset-bs": [{
|
|
1472
|
-
"inset-bs":
|
|
1549
|
+
"inset-bs": A()
|
|
1473
1550
|
}],
|
|
1474
1551
|
/**
|
|
1475
1552
|
* Inset Block End
|
|
1476
1553
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1477
1554
|
*/
|
|
1478
1555
|
"inset-be": [{
|
|
1479
|
-
"inset-be":
|
|
1556
|
+
"inset-be": A()
|
|
1480
1557
|
}],
|
|
1481
1558
|
/**
|
|
1482
1559
|
* Top
|
|
1483
1560
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1484
1561
|
*/
|
|
1485
1562
|
top: [{
|
|
1486
|
-
top:
|
|
1563
|
+
top: A()
|
|
1487
1564
|
}],
|
|
1488
1565
|
/**
|
|
1489
1566
|
* Right
|
|
1490
1567
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1491
1568
|
*/
|
|
1492
1569
|
right: [{
|
|
1493
|
-
right:
|
|
1570
|
+
right: A()
|
|
1494
1571
|
}],
|
|
1495
1572
|
/**
|
|
1496
1573
|
* Bottom
|
|
1497
1574
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1498
1575
|
*/
|
|
1499
1576
|
bottom: [{
|
|
1500
|
-
bottom:
|
|
1577
|
+
bottom: A()
|
|
1501
1578
|
}],
|
|
1502
1579
|
/**
|
|
1503
1580
|
* Left
|
|
1504
1581
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1505
1582
|
*/
|
|
1506
1583
|
left: [{
|
|
1507
|
-
left:
|
|
1584
|
+
left: A()
|
|
1508
1585
|
}],
|
|
1509
1586
|
/**
|
|
1510
1587
|
* Visibility
|
|
@@ -1516,7 +1593,7 @@ const xr = (e, t) => {
|
|
|
1516
1593
|
* @see https://tailwindcss.com/docs/z-index
|
|
1517
1594
|
*/
|
|
1518
1595
|
z: [{
|
|
1519
|
-
z: [
|
|
1596
|
+
z: [te, "auto", p, f]
|
|
1520
1597
|
}],
|
|
1521
1598
|
// ------------------------
|
|
1522
1599
|
// --- Flexbox and Grid ---
|
|
@@ -1526,7 +1603,7 @@ const xr = (e, t) => {
|
|
|
1526
1603
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
1527
1604
|
*/
|
|
1528
1605
|
basis: [{
|
|
1529
|
-
basis: [
|
|
1606
|
+
basis: [ee, "full", "auto", c, ...m()]
|
|
1530
1607
|
}],
|
|
1531
1608
|
/**
|
|
1532
1609
|
* Flex Direction
|
|
@@ -1547,28 +1624,28 @@ const xr = (e, t) => {
|
|
|
1547
1624
|
* @see https://tailwindcss.com/docs/flex
|
|
1548
1625
|
*/
|
|
1549
1626
|
flex: [{
|
|
1550
|
-
flex: [
|
|
1627
|
+
flex: [w, ee, "auto", "initial", "none", f]
|
|
1551
1628
|
}],
|
|
1552
1629
|
/**
|
|
1553
1630
|
* Flex Grow
|
|
1554
1631
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
1555
1632
|
*/
|
|
1556
1633
|
grow: [{
|
|
1557
|
-
grow: ["",
|
|
1634
|
+
grow: ["", w, p, f]
|
|
1558
1635
|
}],
|
|
1559
1636
|
/**
|
|
1560
1637
|
* Flex Shrink
|
|
1561
1638
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1562
1639
|
*/
|
|
1563
1640
|
shrink: [{
|
|
1564
|
-
shrink: ["",
|
|
1641
|
+
shrink: ["", w, p, f]
|
|
1565
1642
|
}],
|
|
1566
1643
|
/**
|
|
1567
1644
|
* Order
|
|
1568
1645
|
* @see https://tailwindcss.com/docs/order
|
|
1569
1646
|
*/
|
|
1570
1647
|
order: [{
|
|
1571
|
-
order: [
|
|
1648
|
+
order: [te, "first", "last", "none", p, f]
|
|
1572
1649
|
}],
|
|
1573
1650
|
/**
|
|
1574
1651
|
* Grid Template Columns
|
|
@@ -1652,56 +1729,56 @@ const xr = (e, t) => {
|
|
|
1652
1729
|
* @see https://tailwindcss.com/docs/gap
|
|
1653
1730
|
*/
|
|
1654
1731
|
gap: [{
|
|
1655
|
-
gap:
|
|
1732
|
+
gap: m()
|
|
1656
1733
|
}],
|
|
1657
1734
|
/**
|
|
1658
1735
|
* Gap X
|
|
1659
1736
|
* @see https://tailwindcss.com/docs/gap
|
|
1660
1737
|
*/
|
|
1661
1738
|
"gap-x": [{
|
|
1662
|
-
"gap-x":
|
|
1739
|
+
"gap-x": m()
|
|
1663
1740
|
}],
|
|
1664
1741
|
/**
|
|
1665
1742
|
* Gap Y
|
|
1666
1743
|
* @see https://tailwindcss.com/docs/gap
|
|
1667
1744
|
*/
|
|
1668
1745
|
"gap-y": [{
|
|
1669
|
-
"gap-y":
|
|
1746
|
+
"gap-y": m()
|
|
1670
1747
|
}],
|
|
1671
1748
|
/**
|
|
1672
1749
|
* Justify Content
|
|
1673
1750
|
* @see https://tailwindcss.com/docs/justify-content
|
|
1674
1751
|
*/
|
|
1675
1752
|
"justify-content": [{
|
|
1676
|
-
justify: [...
|
|
1753
|
+
justify: [...K(), "normal"]
|
|
1677
1754
|
}],
|
|
1678
1755
|
/**
|
|
1679
1756
|
* Justify Items
|
|
1680
1757
|
* @see https://tailwindcss.com/docs/justify-items
|
|
1681
1758
|
*/
|
|
1682
1759
|
"justify-items": [{
|
|
1683
|
-
"justify-items": [...
|
|
1760
|
+
"justify-items": [...G(), "normal"]
|
|
1684
1761
|
}],
|
|
1685
1762
|
/**
|
|
1686
1763
|
* Justify Self
|
|
1687
1764
|
* @see https://tailwindcss.com/docs/justify-self
|
|
1688
1765
|
*/
|
|
1689
1766
|
"justify-self": [{
|
|
1690
|
-
"justify-self": ["auto", ...
|
|
1767
|
+
"justify-self": ["auto", ...G()]
|
|
1691
1768
|
}],
|
|
1692
1769
|
/**
|
|
1693
1770
|
* Align Content
|
|
1694
1771
|
* @see https://tailwindcss.com/docs/align-content
|
|
1695
1772
|
*/
|
|
1696
1773
|
"align-content": [{
|
|
1697
|
-
content: ["normal", ...
|
|
1774
|
+
content: ["normal", ...K()]
|
|
1698
1775
|
}],
|
|
1699
1776
|
/**
|
|
1700
1777
|
* Align Items
|
|
1701
1778
|
* @see https://tailwindcss.com/docs/align-items
|
|
1702
1779
|
*/
|
|
1703
1780
|
"align-items": [{
|
|
1704
|
-
items: [...
|
|
1781
|
+
items: [...G(), {
|
|
1705
1782
|
baseline: ["", "last"]
|
|
1706
1783
|
}]
|
|
1707
1784
|
}],
|
|
@@ -1710,7 +1787,7 @@ const xr = (e, t) => {
|
|
|
1710
1787
|
* @see https://tailwindcss.com/docs/align-self
|
|
1711
1788
|
*/
|
|
1712
1789
|
"align-self": [{
|
|
1713
|
-
self: ["auto", ...
|
|
1790
|
+
self: ["auto", ...G(), {
|
|
1714
1791
|
baseline: ["", "last"]
|
|
1715
1792
|
}]
|
|
1716
1793
|
}],
|
|
@@ -1719,21 +1796,21 @@ const xr = (e, t) => {
|
|
|
1719
1796
|
* @see https://tailwindcss.com/docs/place-content
|
|
1720
1797
|
*/
|
|
1721
1798
|
"place-content": [{
|
|
1722
|
-
"place-content":
|
|
1799
|
+
"place-content": K()
|
|
1723
1800
|
}],
|
|
1724
1801
|
/**
|
|
1725
1802
|
* Place Items
|
|
1726
1803
|
* @see https://tailwindcss.com/docs/place-items
|
|
1727
1804
|
*/
|
|
1728
1805
|
"place-items": [{
|
|
1729
|
-
"place-items": [...
|
|
1806
|
+
"place-items": [...G(), "baseline"]
|
|
1730
1807
|
}],
|
|
1731
1808
|
/**
|
|
1732
1809
|
* Place Self
|
|
1733
1810
|
* @see https://tailwindcss.com/docs/place-self
|
|
1734
1811
|
*/
|
|
1735
1812
|
"place-self": [{
|
|
1736
|
-
"place-self": ["auto", ...
|
|
1813
|
+
"place-self": ["auto", ...G()]
|
|
1737
1814
|
}],
|
|
1738
1815
|
// Spacing
|
|
1739
1816
|
/**
|
|
@@ -1741,77 +1818,77 @@ const xr = (e, t) => {
|
|
|
1741
1818
|
* @see https://tailwindcss.com/docs/padding
|
|
1742
1819
|
*/
|
|
1743
1820
|
p: [{
|
|
1744
|
-
p:
|
|
1821
|
+
p: m()
|
|
1745
1822
|
}],
|
|
1746
1823
|
/**
|
|
1747
1824
|
* Padding Inline
|
|
1748
1825
|
* @see https://tailwindcss.com/docs/padding
|
|
1749
1826
|
*/
|
|
1750
1827
|
px: [{
|
|
1751
|
-
px:
|
|
1828
|
+
px: m()
|
|
1752
1829
|
}],
|
|
1753
1830
|
/**
|
|
1754
1831
|
* Padding Block
|
|
1755
1832
|
* @see https://tailwindcss.com/docs/padding
|
|
1756
1833
|
*/
|
|
1757
1834
|
py: [{
|
|
1758
|
-
py:
|
|
1835
|
+
py: m()
|
|
1759
1836
|
}],
|
|
1760
1837
|
/**
|
|
1761
1838
|
* Padding Inline Start
|
|
1762
1839
|
* @see https://tailwindcss.com/docs/padding
|
|
1763
1840
|
*/
|
|
1764
1841
|
ps: [{
|
|
1765
|
-
ps:
|
|
1842
|
+
ps: m()
|
|
1766
1843
|
}],
|
|
1767
1844
|
/**
|
|
1768
1845
|
* Padding Inline End
|
|
1769
1846
|
* @see https://tailwindcss.com/docs/padding
|
|
1770
1847
|
*/
|
|
1771
1848
|
pe: [{
|
|
1772
|
-
pe:
|
|
1849
|
+
pe: m()
|
|
1773
1850
|
}],
|
|
1774
1851
|
/**
|
|
1775
1852
|
* Padding Block Start
|
|
1776
1853
|
* @see https://tailwindcss.com/docs/padding
|
|
1777
1854
|
*/
|
|
1778
1855
|
pbs: [{
|
|
1779
|
-
pbs:
|
|
1856
|
+
pbs: m()
|
|
1780
1857
|
}],
|
|
1781
1858
|
/**
|
|
1782
1859
|
* Padding Block End
|
|
1783
1860
|
* @see https://tailwindcss.com/docs/padding
|
|
1784
1861
|
*/
|
|
1785
1862
|
pbe: [{
|
|
1786
|
-
pbe:
|
|
1863
|
+
pbe: m()
|
|
1787
1864
|
}],
|
|
1788
1865
|
/**
|
|
1789
1866
|
* Padding Top
|
|
1790
1867
|
* @see https://tailwindcss.com/docs/padding
|
|
1791
1868
|
*/
|
|
1792
1869
|
pt: [{
|
|
1793
|
-
pt:
|
|
1870
|
+
pt: m()
|
|
1794
1871
|
}],
|
|
1795
1872
|
/**
|
|
1796
1873
|
* Padding Right
|
|
1797
1874
|
* @see https://tailwindcss.com/docs/padding
|
|
1798
1875
|
*/
|
|
1799
1876
|
pr: [{
|
|
1800
|
-
pr:
|
|
1877
|
+
pr: m()
|
|
1801
1878
|
}],
|
|
1802
1879
|
/**
|
|
1803
1880
|
* Padding Bottom
|
|
1804
1881
|
* @see https://tailwindcss.com/docs/padding
|
|
1805
1882
|
*/
|
|
1806
1883
|
pb: [{
|
|
1807
|
-
pb:
|
|
1884
|
+
pb: m()
|
|
1808
1885
|
}],
|
|
1809
1886
|
/**
|
|
1810
1887
|
* Padding Left
|
|
1811
1888
|
* @see https://tailwindcss.com/docs/padding
|
|
1812
1889
|
*/
|
|
1813
1890
|
pl: [{
|
|
1814
|
-
pl:
|
|
1891
|
+
pl: m()
|
|
1815
1892
|
}],
|
|
1816
1893
|
/**
|
|
1817
1894
|
* Margin
|
|
@@ -1895,7 +1972,7 @@ const xr = (e, t) => {
|
|
|
1895
1972
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1896
1973
|
*/
|
|
1897
1974
|
"space-x": [{
|
|
1898
|
-
"space-x":
|
|
1975
|
+
"space-x": m()
|
|
1899
1976
|
}],
|
|
1900
1977
|
/**
|
|
1901
1978
|
* Space Between X Reverse
|
|
@@ -1907,7 +1984,7 @@ const xr = (e, t) => {
|
|
|
1907
1984
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1908
1985
|
*/
|
|
1909
1986
|
"space-y": [{
|
|
1910
|
-
"space-y":
|
|
1987
|
+
"space-y": m()
|
|
1911
1988
|
}],
|
|
1912
1989
|
/**
|
|
1913
1990
|
* Space Between Y Reverse
|
|
@@ -1922,56 +1999,56 @@ const xr = (e, t) => {
|
|
|
1922
1999
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1923
2000
|
*/
|
|
1924
2001
|
size: [{
|
|
1925
|
-
size:
|
|
2002
|
+
size: F()
|
|
1926
2003
|
}],
|
|
1927
2004
|
/**
|
|
1928
2005
|
* Inline Size
|
|
1929
2006
|
* @see https://tailwindcss.com/docs/width
|
|
1930
2007
|
*/
|
|
1931
2008
|
"inline-size": [{
|
|
1932
|
-
inline: ["auto", ...
|
|
2009
|
+
inline: ["auto", ...q()]
|
|
1933
2010
|
}],
|
|
1934
2011
|
/**
|
|
1935
2012
|
* Min-Inline Size
|
|
1936
2013
|
* @see https://tailwindcss.com/docs/min-width
|
|
1937
2014
|
*/
|
|
1938
2015
|
"min-inline-size": [{
|
|
1939
|
-
"min-inline": ["auto", ...
|
|
2016
|
+
"min-inline": ["auto", ...q()]
|
|
1940
2017
|
}],
|
|
1941
2018
|
/**
|
|
1942
2019
|
* Max-Inline Size
|
|
1943
2020
|
* @see https://tailwindcss.com/docs/max-width
|
|
1944
2021
|
*/
|
|
1945
2022
|
"max-inline-size": [{
|
|
1946
|
-
"max-inline": ["none", ...
|
|
2023
|
+
"max-inline": ["none", ...q()]
|
|
1947
2024
|
}],
|
|
1948
2025
|
/**
|
|
1949
2026
|
* Block Size
|
|
1950
2027
|
* @see https://tailwindcss.com/docs/height
|
|
1951
2028
|
*/
|
|
1952
2029
|
"block-size": [{
|
|
1953
|
-
block: ["auto", ...
|
|
2030
|
+
block: ["auto", ...Q()]
|
|
1954
2031
|
}],
|
|
1955
2032
|
/**
|
|
1956
2033
|
* Min-Block Size
|
|
1957
2034
|
* @see https://tailwindcss.com/docs/min-height
|
|
1958
2035
|
*/
|
|
1959
2036
|
"min-block-size": [{
|
|
1960
|
-
"min-block": ["auto", ...
|
|
2037
|
+
"min-block": ["auto", ...Q()]
|
|
1961
2038
|
}],
|
|
1962
2039
|
/**
|
|
1963
2040
|
* Max-Block Size
|
|
1964
2041
|
* @see https://tailwindcss.com/docs/max-height
|
|
1965
2042
|
*/
|
|
1966
2043
|
"max-block-size": [{
|
|
1967
|
-
"max-block": ["none", ...
|
|
2044
|
+
"max-block": ["none", ...Q()]
|
|
1968
2045
|
}],
|
|
1969
2046
|
/**
|
|
1970
2047
|
* Width
|
|
1971
2048
|
* @see https://tailwindcss.com/docs/width
|
|
1972
2049
|
*/
|
|
1973
2050
|
w: [{
|
|
1974
|
-
w: [c, "screen", ...
|
|
2051
|
+
w: [c, "screen", ...F()]
|
|
1975
2052
|
}],
|
|
1976
2053
|
/**
|
|
1977
2054
|
* Min-Width
|
|
@@ -1983,7 +2060,7 @@ const xr = (e, t) => {
|
|
|
1983
2060
|
"screen",
|
|
1984
2061
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1985
2062
|
"none",
|
|
1986
|
-
...
|
|
2063
|
+
...F()
|
|
1987
2064
|
]
|
|
1988
2065
|
}],
|
|
1989
2066
|
/**
|
|
@@ -2001,7 +2078,7 @@ const xr = (e, t) => {
|
|
|
2001
2078
|
{
|
|
2002
2079
|
screen: [a]
|
|
2003
2080
|
},
|
|
2004
|
-
...
|
|
2081
|
+
...F()
|
|
2005
2082
|
]
|
|
2006
2083
|
}],
|
|
2007
2084
|
/**
|
|
@@ -2009,21 +2086,21 @@ const xr = (e, t) => {
|
|
|
2009
2086
|
* @see https://tailwindcss.com/docs/height
|
|
2010
2087
|
*/
|
|
2011
2088
|
h: [{
|
|
2012
|
-
h: ["screen", "lh", ...
|
|
2089
|
+
h: ["screen", "lh", ...F()]
|
|
2013
2090
|
}],
|
|
2014
2091
|
/**
|
|
2015
2092
|
* Min-Height
|
|
2016
2093
|
* @see https://tailwindcss.com/docs/min-height
|
|
2017
2094
|
*/
|
|
2018
2095
|
"min-h": [{
|
|
2019
|
-
"min-h": ["screen", "lh", "none", ...
|
|
2096
|
+
"min-h": ["screen", "lh", "none", ...F()]
|
|
2020
2097
|
}],
|
|
2021
2098
|
/**
|
|
2022
2099
|
* Max-Height
|
|
2023
2100
|
* @see https://tailwindcss.com/docs/max-height
|
|
2024
2101
|
*/
|
|
2025
2102
|
"max-h": [{
|
|
2026
|
-
"max-h": ["screen", "lh", ...
|
|
2103
|
+
"max-h": ["screen", "lh", ...F()]
|
|
2027
2104
|
}],
|
|
2028
2105
|
// ------------------
|
|
2029
2106
|
// --- Typography ---
|
|
@@ -2033,7 +2110,7 @@ const xr = (e, t) => {
|
|
|
2033
2110
|
* @see https://tailwindcss.com/docs/font-size
|
|
2034
2111
|
*/
|
|
2035
2112
|
"font-size": [{
|
|
2036
|
-
text: ["base",
|
|
2113
|
+
text: ["base", o, me, oe]
|
|
2037
2114
|
}],
|
|
2038
2115
|
/**
|
|
2039
2116
|
* Font Smoothing
|
|
@@ -2050,21 +2127,21 @@ const xr = (e, t) => {
|
|
|
2050
2127
|
* @see https://tailwindcss.com/docs/font-weight
|
|
2051
2128
|
*/
|
|
2052
2129
|
"font-weight": [{
|
|
2053
|
-
font: [
|
|
2130
|
+
font: [r, lo, ro]
|
|
2054
2131
|
}],
|
|
2055
2132
|
/**
|
|
2056
2133
|
* Font Stretch
|
|
2057
2134
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
2058
2135
|
*/
|
|
2059
2136
|
"font-stretch": [{
|
|
2060
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
2137
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Ne, f]
|
|
2061
2138
|
}],
|
|
2062
2139
|
/**
|
|
2063
2140
|
* Font Family
|
|
2064
2141
|
* @see https://tailwindcss.com/docs/font-family
|
|
2065
2142
|
*/
|
|
2066
2143
|
"font-family": [{
|
|
2067
|
-
font: [
|
|
2144
|
+
font: [so, oo, t]
|
|
2068
2145
|
}],
|
|
2069
2146
|
/**
|
|
2070
2147
|
* Font Feature Settings
|
|
@@ -2115,7 +2192,7 @@ const xr = (e, t) => {
|
|
|
2115
2192
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
2116
2193
|
*/
|
|
2117
2194
|
"line-clamp": [{
|
|
2118
|
-
"line-clamp": [
|
|
2195
|
+
"line-clamp": [w, "none", p, Ke]
|
|
2119
2196
|
}],
|
|
2120
2197
|
/**
|
|
2121
2198
|
* Line Height
|
|
@@ -2125,7 +2202,7 @@ const xr = (e, t) => {
|
|
|
2125
2202
|
leading: [
|
|
2126
2203
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
2127
2204
|
s,
|
|
2128
|
-
...
|
|
2205
|
+
...m()
|
|
2129
2206
|
]
|
|
2130
2207
|
}],
|
|
2131
2208
|
/**
|
|
@@ -2162,14 +2239,14 @@ const xr = (e, t) => {
|
|
|
2162
2239
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
2163
2240
|
*/
|
|
2164
2241
|
"placeholder-color": [{
|
|
2165
|
-
placeholder:
|
|
2242
|
+
placeholder: y()
|
|
2166
2243
|
}],
|
|
2167
2244
|
/**
|
|
2168
2245
|
* Text Color
|
|
2169
2246
|
* @see https://tailwindcss.com/docs/text-color
|
|
2170
2247
|
*/
|
|
2171
2248
|
"text-color": [{
|
|
2172
|
-
text:
|
|
2249
|
+
text: y()
|
|
2173
2250
|
}],
|
|
2174
2251
|
/**
|
|
2175
2252
|
* Text Decoration
|
|
@@ -2181,28 +2258,28 @@ const xr = (e, t) => {
|
|
|
2181
2258
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
2182
2259
|
*/
|
|
2183
2260
|
"text-decoration-style": [{
|
|
2184
|
-
decoration: [...
|
|
2261
|
+
decoration: [...P(), "wavy"]
|
|
2185
2262
|
}],
|
|
2186
2263
|
/**
|
|
2187
2264
|
* Text Decoration Thickness
|
|
2188
2265
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
2189
2266
|
*/
|
|
2190
2267
|
"text-decoration-thickness": [{
|
|
2191
|
-
decoration: [
|
|
2268
|
+
decoration: [w, "from-font", "auto", p, oe]
|
|
2192
2269
|
}],
|
|
2193
2270
|
/**
|
|
2194
2271
|
* Text Decoration Color
|
|
2195
2272
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
2196
2273
|
*/
|
|
2197
2274
|
"text-decoration-color": [{
|
|
2198
|
-
decoration:
|
|
2275
|
+
decoration: y()
|
|
2199
2276
|
}],
|
|
2200
2277
|
/**
|
|
2201
2278
|
* Text Underline Offset
|
|
2202
2279
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
2203
2280
|
*/
|
|
2204
2281
|
"underline-offset": [{
|
|
2205
|
-
"underline-offset": [
|
|
2282
|
+
"underline-offset": [w, "auto", p, f]
|
|
2206
2283
|
}],
|
|
2207
2284
|
/**
|
|
2208
2285
|
* Text Transform
|
|
@@ -2226,7 +2303,7 @@ const xr = (e, t) => {
|
|
|
2226
2303
|
* @see https://tailwindcss.com/docs/text-indent
|
|
2227
2304
|
*/
|
|
2228
2305
|
indent: [{
|
|
2229
|
-
indent:
|
|
2306
|
+
indent: m()
|
|
2230
2307
|
}],
|
|
2231
2308
|
/**
|
|
2232
2309
|
* Vertical Alignment
|
|
@@ -2313,7 +2390,7 @@ const xr = (e, t) => {
|
|
|
2313
2390
|
* @see https://tailwindcss.com/docs/background-size
|
|
2314
2391
|
*/
|
|
2315
2392
|
"bg-size": [{
|
|
2316
|
-
bg:
|
|
2393
|
+
bg: O()
|
|
2317
2394
|
}],
|
|
2318
2395
|
/**
|
|
2319
2396
|
* Background Image
|
|
@@ -2323,59 +2400,59 @@ const xr = (e, t) => {
|
|
|
2323
2400
|
bg: ["none", {
|
|
2324
2401
|
linear: [{
|
|
2325
2402
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
2326
|
-
},
|
|
2403
|
+
}, te, p, f],
|
|
2327
2404
|
radial: ["", p, f],
|
|
2328
|
-
conic: [
|
|
2329
|
-
},
|
|
2405
|
+
conic: [te, p, f]
|
|
2406
|
+
}, io, no]
|
|
2330
2407
|
}],
|
|
2331
2408
|
/**
|
|
2332
2409
|
* Background Color
|
|
2333
2410
|
* @see https://tailwindcss.com/docs/background-color
|
|
2334
2411
|
*/
|
|
2335
2412
|
"bg-color": [{
|
|
2336
|
-
bg:
|
|
2413
|
+
bg: y()
|
|
2337
2414
|
}],
|
|
2338
2415
|
/**
|
|
2339
2416
|
* Gradient Color Stops From Position
|
|
2340
2417
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2341
2418
|
*/
|
|
2342
2419
|
"gradient-from-pos": [{
|
|
2343
|
-
from:
|
|
2420
|
+
from: z()
|
|
2344
2421
|
}],
|
|
2345
2422
|
/**
|
|
2346
2423
|
* Gradient Color Stops Via Position
|
|
2347
2424
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2348
2425
|
*/
|
|
2349
2426
|
"gradient-via-pos": [{
|
|
2350
|
-
via:
|
|
2427
|
+
via: z()
|
|
2351
2428
|
}],
|
|
2352
2429
|
/**
|
|
2353
2430
|
* Gradient Color Stops To Position
|
|
2354
2431
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2355
2432
|
*/
|
|
2356
2433
|
"gradient-to-pos": [{
|
|
2357
|
-
to:
|
|
2434
|
+
to: z()
|
|
2358
2435
|
}],
|
|
2359
2436
|
/**
|
|
2360
2437
|
* Gradient Color Stops From
|
|
2361
2438
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2362
2439
|
*/
|
|
2363
2440
|
"gradient-from": [{
|
|
2364
|
-
from:
|
|
2441
|
+
from: y()
|
|
2365
2442
|
}],
|
|
2366
2443
|
/**
|
|
2367
2444
|
* Gradient Color Stops Via
|
|
2368
2445
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2369
2446
|
*/
|
|
2370
2447
|
"gradient-via": [{
|
|
2371
|
-
via:
|
|
2448
|
+
via: y()
|
|
2372
2449
|
}],
|
|
2373
2450
|
/**
|
|
2374
2451
|
* Gradient Color Stops To
|
|
2375
2452
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2376
2453
|
*/
|
|
2377
2454
|
"gradient-to": [{
|
|
2378
|
-
to:
|
|
2455
|
+
to: y()
|
|
2379
2456
|
}],
|
|
2380
2457
|
// ---------------
|
|
2381
2458
|
// --- Borders ---
|
|
@@ -2385,189 +2462,189 @@ const xr = (e, t) => {
|
|
|
2385
2462
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2386
2463
|
*/
|
|
2387
2464
|
rounded: [{
|
|
2388
|
-
rounded:
|
|
2465
|
+
rounded: M()
|
|
2389
2466
|
}],
|
|
2390
2467
|
/**
|
|
2391
2468
|
* Border Radius Start
|
|
2392
2469
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2393
2470
|
*/
|
|
2394
2471
|
"rounded-s": [{
|
|
2395
|
-
"rounded-s":
|
|
2472
|
+
"rounded-s": M()
|
|
2396
2473
|
}],
|
|
2397
2474
|
/**
|
|
2398
2475
|
* Border Radius End
|
|
2399
2476
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2400
2477
|
*/
|
|
2401
2478
|
"rounded-e": [{
|
|
2402
|
-
"rounded-e":
|
|
2479
|
+
"rounded-e": M()
|
|
2403
2480
|
}],
|
|
2404
2481
|
/**
|
|
2405
2482
|
* Border Radius Top
|
|
2406
2483
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2407
2484
|
*/
|
|
2408
2485
|
"rounded-t": [{
|
|
2409
|
-
"rounded-t":
|
|
2486
|
+
"rounded-t": M()
|
|
2410
2487
|
}],
|
|
2411
2488
|
/**
|
|
2412
2489
|
* Border Radius Right
|
|
2413
2490
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2414
2491
|
*/
|
|
2415
2492
|
"rounded-r": [{
|
|
2416
|
-
"rounded-r":
|
|
2493
|
+
"rounded-r": M()
|
|
2417
2494
|
}],
|
|
2418
2495
|
/**
|
|
2419
2496
|
* Border Radius Bottom
|
|
2420
2497
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2421
2498
|
*/
|
|
2422
2499
|
"rounded-b": [{
|
|
2423
|
-
"rounded-b":
|
|
2500
|
+
"rounded-b": M()
|
|
2424
2501
|
}],
|
|
2425
2502
|
/**
|
|
2426
2503
|
* Border Radius Left
|
|
2427
2504
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2428
2505
|
*/
|
|
2429
2506
|
"rounded-l": [{
|
|
2430
|
-
"rounded-l":
|
|
2507
|
+
"rounded-l": M()
|
|
2431
2508
|
}],
|
|
2432
2509
|
/**
|
|
2433
2510
|
* Border Radius Start Start
|
|
2434
2511
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2435
2512
|
*/
|
|
2436
2513
|
"rounded-ss": [{
|
|
2437
|
-
"rounded-ss":
|
|
2514
|
+
"rounded-ss": M()
|
|
2438
2515
|
}],
|
|
2439
2516
|
/**
|
|
2440
2517
|
* Border Radius Start End
|
|
2441
2518
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2442
2519
|
*/
|
|
2443
2520
|
"rounded-se": [{
|
|
2444
|
-
"rounded-se":
|
|
2521
|
+
"rounded-se": M()
|
|
2445
2522
|
}],
|
|
2446
2523
|
/**
|
|
2447
2524
|
* Border Radius End End
|
|
2448
2525
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2449
2526
|
*/
|
|
2450
2527
|
"rounded-ee": [{
|
|
2451
|
-
"rounded-ee":
|
|
2528
|
+
"rounded-ee": M()
|
|
2452
2529
|
}],
|
|
2453
2530
|
/**
|
|
2454
2531
|
* Border Radius End Start
|
|
2455
2532
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2456
2533
|
*/
|
|
2457
2534
|
"rounded-es": [{
|
|
2458
|
-
"rounded-es":
|
|
2535
|
+
"rounded-es": M()
|
|
2459
2536
|
}],
|
|
2460
2537
|
/**
|
|
2461
2538
|
* Border Radius Top Left
|
|
2462
2539
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2463
2540
|
*/
|
|
2464
2541
|
"rounded-tl": [{
|
|
2465
|
-
"rounded-tl":
|
|
2542
|
+
"rounded-tl": M()
|
|
2466
2543
|
}],
|
|
2467
2544
|
/**
|
|
2468
2545
|
* Border Radius Top Right
|
|
2469
2546
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2470
2547
|
*/
|
|
2471
2548
|
"rounded-tr": [{
|
|
2472
|
-
"rounded-tr":
|
|
2549
|
+
"rounded-tr": M()
|
|
2473
2550
|
}],
|
|
2474
2551
|
/**
|
|
2475
2552
|
* Border Radius Bottom Right
|
|
2476
2553
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2477
2554
|
*/
|
|
2478
2555
|
"rounded-br": [{
|
|
2479
|
-
"rounded-br":
|
|
2556
|
+
"rounded-br": M()
|
|
2480
2557
|
}],
|
|
2481
2558
|
/**
|
|
2482
2559
|
* Border Radius Bottom Left
|
|
2483
2560
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2484
2561
|
*/
|
|
2485
2562
|
"rounded-bl": [{
|
|
2486
|
-
"rounded-bl":
|
|
2563
|
+
"rounded-bl": M()
|
|
2487
2564
|
}],
|
|
2488
2565
|
/**
|
|
2489
2566
|
* Border Width
|
|
2490
2567
|
* @see https://tailwindcss.com/docs/border-width
|
|
2491
2568
|
*/
|
|
2492
2569
|
"border-w": [{
|
|
2493
|
-
border:
|
|
2570
|
+
border: L()
|
|
2494
2571
|
}],
|
|
2495
2572
|
/**
|
|
2496
2573
|
* Border Width Inline
|
|
2497
2574
|
* @see https://tailwindcss.com/docs/border-width
|
|
2498
2575
|
*/
|
|
2499
2576
|
"border-w-x": [{
|
|
2500
|
-
"border-x":
|
|
2577
|
+
"border-x": L()
|
|
2501
2578
|
}],
|
|
2502
2579
|
/**
|
|
2503
2580
|
* Border Width Block
|
|
2504
2581
|
* @see https://tailwindcss.com/docs/border-width
|
|
2505
2582
|
*/
|
|
2506
2583
|
"border-w-y": [{
|
|
2507
|
-
"border-y":
|
|
2584
|
+
"border-y": L()
|
|
2508
2585
|
}],
|
|
2509
2586
|
/**
|
|
2510
2587
|
* Border Width Inline Start
|
|
2511
2588
|
* @see https://tailwindcss.com/docs/border-width
|
|
2512
2589
|
*/
|
|
2513
2590
|
"border-w-s": [{
|
|
2514
|
-
"border-s":
|
|
2591
|
+
"border-s": L()
|
|
2515
2592
|
}],
|
|
2516
2593
|
/**
|
|
2517
2594
|
* Border Width Inline End
|
|
2518
2595
|
* @see https://tailwindcss.com/docs/border-width
|
|
2519
2596
|
*/
|
|
2520
2597
|
"border-w-e": [{
|
|
2521
|
-
"border-e":
|
|
2598
|
+
"border-e": L()
|
|
2522
2599
|
}],
|
|
2523
2600
|
/**
|
|
2524
2601
|
* Border Width Block Start
|
|
2525
2602
|
* @see https://tailwindcss.com/docs/border-width
|
|
2526
2603
|
*/
|
|
2527
2604
|
"border-w-bs": [{
|
|
2528
|
-
"border-bs":
|
|
2605
|
+
"border-bs": L()
|
|
2529
2606
|
}],
|
|
2530
2607
|
/**
|
|
2531
2608
|
* Border Width Block End
|
|
2532
2609
|
* @see https://tailwindcss.com/docs/border-width
|
|
2533
2610
|
*/
|
|
2534
2611
|
"border-w-be": [{
|
|
2535
|
-
"border-be":
|
|
2612
|
+
"border-be": L()
|
|
2536
2613
|
}],
|
|
2537
2614
|
/**
|
|
2538
2615
|
* Border Width Top
|
|
2539
2616
|
* @see https://tailwindcss.com/docs/border-width
|
|
2540
2617
|
*/
|
|
2541
2618
|
"border-w-t": [{
|
|
2542
|
-
"border-t":
|
|
2619
|
+
"border-t": L()
|
|
2543
2620
|
}],
|
|
2544
2621
|
/**
|
|
2545
2622
|
* Border Width Right
|
|
2546
2623
|
* @see https://tailwindcss.com/docs/border-width
|
|
2547
2624
|
*/
|
|
2548
2625
|
"border-w-r": [{
|
|
2549
|
-
"border-r":
|
|
2626
|
+
"border-r": L()
|
|
2550
2627
|
}],
|
|
2551
2628
|
/**
|
|
2552
2629
|
* Border Width Bottom
|
|
2553
2630
|
* @see https://tailwindcss.com/docs/border-width
|
|
2554
2631
|
*/
|
|
2555
2632
|
"border-w-b": [{
|
|
2556
|
-
"border-b":
|
|
2633
|
+
"border-b": L()
|
|
2557
2634
|
}],
|
|
2558
2635
|
/**
|
|
2559
2636
|
* Border Width Left
|
|
2560
2637
|
* @see https://tailwindcss.com/docs/border-width
|
|
2561
2638
|
*/
|
|
2562
2639
|
"border-w-l": [{
|
|
2563
|
-
"border-l":
|
|
2640
|
+
"border-l": L()
|
|
2564
2641
|
}],
|
|
2565
2642
|
/**
|
|
2566
2643
|
* Divide Width X
|
|
2567
2644
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2568
2645
|
*/
|
|
2569
2646
|
"divide-x": [{
|
|
2570
|
-
"divide-x":
|
|
2647
|
+
"divide-x": L()
|
|
2571
2648
|
}],
|
|
2572
2649
|
/**
|
|
2573
2650
|
* Divide Width X Reverse
|
|
@@ -2579,7 +2656,7 @@ const xr = (e, t) => {
|
|
|
2579
2656
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2580
2657
|
*/
|
|
2581
2658
|
"divide-y": [{
|
|
2582
|
-
"divide-y":
|
|
2659
|
+
"divide-y": L()
|
|
2583
2660
|
}],
|
|
2584
2661
|
/**
|
|
2585
2662
|
* Divide Width Y Reverse
|
|
@@ -2591,126 +2668,126 @@ const xr = (e, t) => {
|
|
|
2591
2668
|
* @see https://tailwindcss.com/docs/border-style
|
|
2592
2669
|
*/
|
|
2593
2670
|
"border-style": [{
|
|
2594
|
-
border: [...
|
|
2671
|
+
border: [...P(), "hidden", "none"]
|
|
2595
2672
|
}],
|
|
2596
2673
|
/**
|
|
2597
2674
|
* Divide Style
|
|
2598
2675
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
2599
2676
|
*/
|
|
2600
2677
|
"divide-style": [{
|
|
2601
|
-
divide: [...
|
|
2678
|
+
divide: [...P(), "hidden", "none"]
|
|
2602
2679
|
}],
|
|
2603
2680
|
/**
|
|
2604
2681
|
* Border Color
|
|
2605
2682
|
* @see https://tailwindcss.com/docs/border-color
|
|
2606
2683
|
*/
|
|
2607
2684
|
"border-color": [{
|
|
2608
|
-
border:
|
|
2685
|
+
border: y()
|
|
2609
2686
|
}],
|
|
2610
2687
|
/**
|
|
2611
2688
|
* Border Color Inline
|
|
2612
2689
|
* @see https://tailwindcss.com/docs/border-color
|
|
2613
2690
|
*/
|
|
2614
2691
|
"border-color-x": [{
|
|
2615
|
-
"border-x":
|
|
2692
|
+
"border-x": y()
|
|
2616
2693
|
}],
|
|
2617
2694
|
/**
|
|
2618
2695
|
* Border Color Block
|
|
2619
2696
|
* @see https://tailwindcss.com/docs/border-color
|
|
2620
2697
|
*/
|
|
2621
2698
|
"border-color-y": [{
|
|
2622
|
-
"border-y":
|
|
2699
|
+
"border-y": y()
|
|
2623
2700
|
}],
|
|
2624
2701
|
/**
|
|
2625
2702
|
* Border Color Inline Start
|
|
2626
2703
|
* @see https://tailwindcss.com/docs/border-color
|
|
2627
2704
|
*/
|
|
2628
2705
|
"border-color-s": [{
|
|
2629
|
-
"border-s":
|
|
2706
|
+
"border-s": y()
|
|
2630
2707
|
}],
|
|
2631
2708
|
/**
|
|
2632
2709
|
* Border Color Inline End
|
|
2633
2710
|
* @see https://tailwindcss.com/docs/border-color
|
|
2634
2711
|
*/
|
|
2635
2712
|
"border-color-e": [{
|
|
2636
|
-
"border-e":
|
|
2713
|
+
"border-e": y()
|
|
2637
2714
|
}],
|
|
2638
2715
|
/**
|
|
2639
2716
|
* Border Color Block Start
|
|
2640
2717
|
* @see https://tailwindcss.com/docs/border-color
|
|
2641
2718
|
*/
|
|
2642
2719
|
"border-color-bs": [{
|
|
2643
|
-
"border-bs":
|
|
2720
|
+
"border-bs": y()
|
|
2644
2721
|
}],
|
|
2645
2722
|
/**
|
|
2646
2723
|
* Border Color Block End
|
|
2647
2724
|
* @see https://tailwindcss.com/docs/border-color
|
|
2648
2725
|
*/
|
|
2649
2726
|
"border-color-be": [{
|
|
2650
|
-
"border-be":
|
|
2727
|
+
"border-be": y()
|
|
2651
2728
|
}],
|
|
2652
2729
|
/**
|
|
2653
2730
|
* Border Color Top
|
|
2654
2731
|
* @see https://tailwindcss.com/docs/border-color
|
|
2655
2732
|
*/
|
|
2656
2733
|
"border-color-t": [{
|
|
2657
|
-
"border-t":
|
|
2734
|
+
"border-t": y()
|
|
2658
2735
|
}],
|
|
2659
2736
|
/**
|
|
2660
2737
|
* Border Color Right
|
|
2661
2738
|
* @see https://tailwindcss.com/docs/border-color
|
|
2662
2739
|
*/
|
|
2663
2740
|
"border-color-r": [{
|
|
2664
|
-
"border-r":
|
|
2741
|
+
"border-r": y()
|
|
2665
2742
|
}],
|
|
2666
2743
|
/**
|
|
2667
2744
|
* Border Color Bottom
|
|
2668
2745
|
* @see https://tailwindcss.com/docs/border-color
|
|
2669
2746
|
*/
|
|
2670
2747
|
"border-color-b": [{
|
|
2671
|
-
"border-b":
|
|
2748
|
+
"border-b": y()
|
|
2672
2749
|
}],
|
|
2673
2750
|
/**
|
|
2674
2751
|
* Border Color Left
|
|
2675
2752
|
* @see https://tailwindcss.com/docs/border-color
|
|
2676
2753
|
*/
|
|
2677
2754
|
"border-color-l": [{
|
|
2678
|
-
"border-l":
|
|
2755
|
+
"border-l": y()
|
|
2679
2756
|
}],
|
|
2680
2757
|
/**
|
|
2681
2758
|
* Divide Color
|
|
2682
2759
|
* @see https://tailwindcss.com/docs/divide-color
|
|
2683
2760
|
*/
|
|
2684
2761
|
"divide-color": [{
|
|
2685
|
-
divide:
|
|
2762
|
+
divide: y()
|
|
2686
2763
|
}],
|
|
2687
2764
|
/**
|
|
2688
2765
|
* Outline Style
|
|
2689
2766
|
* @see https://tailwindcss.com/docs/outline-style
|
|
2690
2767
|
*/
|
|
2691
2768
|
"outline-style": [{
|
|
2692
|
-
outline: [...
|
|
2769
|
+
outline: [...P(), "none", "hidden"]
|
|
2693
2770
|
}],
|
|
2694
2771
|
/**
|
|
2695
2772
|
* Outline Offset
|
|
2696
2773
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2697
2774
|
*/
|
|
2698
2775
|
"outline-offset": [{
|
|
2699
|
-
"outline-offset": [
|
|
2776
|
+
"outline-offset": [w, p, f]
|
|
2700
2777
|
}],
|
|
2701
2778
|
/**
|
|
2702
2779
|
* Outline Width
|
|
2703
2780
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2704
2781
|
*/
|
|
2705
2782
|
"outline-w": [{
|
|
2706
|
-
outline: ["",
|
|
2783
|
+
outline: ["", w, me, oe]
|
|
2707
2784
|
}],
|
|
2708
2785
|
/**
|
|
2709
2786
|
* Outline Color
|
|
2710
2787
|
* @see https://tailwindcss.com/docs/outline-color
|
|
2711
2788
|
*/
|
|
2712
2789
|
"outline-color": [{
|
|
2713
|
-
outline:
|
|
2790
|
+
outline: y()
|
|
2714
2791
|
}],
|
|
2715
2792
|
// ---------------
|
|
2716
2793
|
// --- Effects ---
|
|
@@ -2724,9 +2801,9 @@ const xr = (e, t) => {
|
|
|
2724
2801
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2725
2802
|
"",
|
|
2726
2803
|
"none",
|
|
2727
|
-
|
|
2804
|
+
g,
|
|
2728
2805
|
Ee,
|
|
2729
|
-
|
|
2806
|
+
Ce
|
|
2730
2807
|
]
|
|
2731
2808
|
}],
|
|
2732
2809
|
/**
|
|
@@ -2734,28 +2811,28 @@ const xr = (e, t) => {
|
|
|
2734
2811
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
2735
2812
|
*/
|
|
2736
2813
|
"shadow-color": [{
|
|
2737
|
-
shadow:
|
|
2814
|
+
shadow: y()
|
|
2738
2815
|
}],
|
|
2739
2816
|
/**
|
|
2740
2817
|
* Inset Box Shadow
|
|
2741
2818
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
2742
2819
|
*/
|
|
2743
2820
|
"inset-shadow": [{
|
|
2744
|
-
"inset-shadow": ["none", h, Ee,
|
|
2821
|
+
"inset-shadow": ["none", h, Ee, Ce]
|
|
2745
2822
|
}],
|
|
2746
2823
|
/**
|
|
2747
2824
|
* Inset Box Shadow Color
|
|
2748
2825
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
2749
2826
|
*/
|
|
2750
2827
|
"inset-shadow-color": [{
|
|
2751
|
-
"inset-shadow":
|
|
2828
|
+
"inset-shadow": y()
|
|
2752
2829
|
}],
|
|
2753
2830
|
/**
|
|
2754
2831
|
* Ring Width
|
|
2755
2832
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
2756
2833
|
*/
|
|
2757
2834
|
"ring-w": [{
|
|
2758
|
-
ring:
|
|
2835
|
+
ring: L()
|
|
2759
2836
|
}],
|
|
2760
2837
|
/**
|
|
2761
2838
|
* Ring Width Inset
|
|
@@ -2769,7 +2846,7 @@ const xr = (e, t) => {
|
|
|
2769
2846
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
2770
2847
|
*/
|
|
2771
2848
|
"ring-color": [{
|
|
2772
|
-
ring:
|
|
2849
|
+
ring: y()
|
|
2773
2850
|
}],
|
|
2774
2851
|
/**
|
|
2775
2852
|
* Ring Offset Width
|
|
@@ -2778,7 +2855,7 @@ const xr = (e, t) => {
|
|
|
2778
2855
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2779
2856
|
*/
|
|
2780
2857
|
"ring-offset-w": [{
|
|
2781
|
-
"ring-offset": [
|
|
2858
|
+
"ring-offset": [w, oe]
|
|
2782
2859
|
}],
|
|
2783
2860
|
/**
|
|
2784
2861
|
* Ring Offset Color
|
|
@@ -2787,42 +2864,42 @@ const xr = (e, t) => {
|
|
|
2787
2864
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2788
2865
|
*/
|
|
2789
2866
|
"ring-offset-color": [{
|
|
2790
|
-
"ring-offset":
|
|
2867
|
+
"ring-offset": y()
|
|
2791
2868
|
}],
|
|
2792
2869
|
/**
|
|
2793
2870
|
* Inset Ring Width
|
|
2794
2871
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2795
2872
|
*/
|
|
2796
2873
|
"inset-ring-w": [{
|
|
2797
|
-
"inset-ring":
|
|
2874
|
+
"inset-ring": L()
|
|
2798
2875
|
}],
|
|
2799
2876
|
/**
|
|
2800
2877
|
* Inset Ring Color
|
|
2801
2878
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
2802
2879
|
*/
|
|
2803
2880
|
"inset-ring-color": [{
|
|
2804
|
-
"inset-ring":
|
|
2881
|
+
"inset-ring": y()
|
|
2805
2882
|
}],
|
|
2806
2883
|
/**
|
|
2807
2884
|
* Text Shadow
|
|
2808
2885
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2809
2886
|
*/
|
|
2810
2887
|
"text-shadow": [{
|
|
2811
|
-
"text-shadow": ["none",
|
|
2888
|
+
"text-shadow": ["none", b, Ee, Ce]
|
|
2812
2889
|
}],
|
|
2813
2890
|
/**
|
|
2814
2891
|
* Text Shadow Color
|
|
2815
2892
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
2816
2893
|
*/
|
|
2817
2894
|
"text-shadow-color": [{
|
|
2818
|
-
"text-shadow":
|
|
2895
|
+
"text-shadow": y()
|
|
2819
2896
|
}],
|
|
2820
2897
|
/**
|
|
2821
2898
|
* Opacity
|
|
2822
2899
|
* @see https://tailwindcss.com/docs/opacity
|
|
2823
2900
|
*/
|
|
2824
2901
|
opacity: [{
|
|
2825
|
-
opacity: [
|
|
2902
|
+
opacity: [w, p, f]
|
|
2826
2903
|
}],
|
|
2827
2904
|
/**
|
|
2828
2905
|
* Mix Blend Mode
|
|
@@ -2857,106 +2934,106 @@ const xr = (e, t) => {
|
|
|
2857
2934
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2858
2935
|
*/
|
|
2859
2936
|
"mask-image-linear-pos": [{
|
|
2860
|
-
"mask-linear": [
|
|
2937
|
+
"mask-linear": [w]
|
|
2861
2938
|
}],
|
|
2862
2939
|
"mask-image-linear-from-pos": [{
|
|
2863
|
-
"mask-linear-from":
|
|
2940
|
+
"mask-linear-from": N()
|
|
2864
2941
|
}],
|
|
2865
2942
|
"mask-image-linear-to-pos": [{
|
|
2866
|
-
"mask-linear-to":
|
|
2943
|
+
"mask-linear-to": N()
|
|
2867
2944
|
}],
|
|
2868
2945
|
"mask-image-linear-from-color": [{
|
|
2869
|
-
"mask-linear-from":
|
|
2946
|
+
"mask-linear-from": y()
|
|
2870
2947
|
}],
|
|
2871
2948
|
"mask-image-linear-to-color": [{
|
|
2872
|
-
"mask-linear-to":
|
|
2949
|
+
"mask-linear-to": y()
|
|
2873
2950
|
}],
|
|
2874
2951
|
"mask-image-t-from-pos": [{
|
|
2875
|
-
"mask-t-from":
|
|
2952
|
+
"mask-t-from": N()
|
|
2876
2953
|
}],
|
|
2877
2954
|
"mask-image-t-to-pos": [{
|
|
2878
|
-
"mask-t-to":
|
|
2955
|
+
"mask-t-to": N()
|
|
2879
2956
|
}],
|
|
2880
2957
|
"mask-image-t-from-color": [{
|
|
2881
|
-
"mask-t-from":
|
|
2958
|
+
"mask-t-from": y()
|
|
2882
2959
|
}],
|
|
2883
2960
|
"mask-image-t-to-color": [{
|
|
2884
|
-
"mask-t-to":
|
|
2961
|
+
"mask-t-to": y()
|
|
2885
2962
|
}],
|
|
2886
2963
|
"mask-image-r-from-pos": [{
|
|
2887
|
-
"mask-r-from":
|
|
2964
|
+
"mask-r-from": N()
|
|
2888
2965
|
}],
|
|
2889
2966
|
"mask-image-r-to-pos": [{
|
|
2890
|
-
"mask-r-to":
|
|
2967
|
+
"mask-r-to": N()
|
|
2891
2968
|
}],
|
|
2892
2969
|
"mask-image-r-from-color": [{
|
|
2893
|
-
"mask-r-from":
|
|
2970
|
+
"mask-r-from": y()
|
|
2894
2971
|
}],
|
|
2895
2972
|
"mask-image-r-to-color": [{
|
|
2896
|
-
"mask-r-to":
|
|
2973
|
+
"mask-r-to": y()
|
|
2897
2974
|
}],
|
|
2898
2975
|
"mask-image-b-from-pos": [{
|
|
2899
|
-
"mask-b-from":
|
|
2976
|
+
"mask-b-from": N()
|
|
2900
2977
|
}],
|
|
2901
2978
|
"mask-image-b-to-pos": [{
|
|
2902
|
-
"mask-b-to":
|
|
2979
|
+
"mask-b-to": N()
|
|
2903
2980
|
}],
|
|
2904
2981
|
"mask-image-b-from-color": [{
|
|
2905
|
-
"mask-b-from":
|
|
2982
|
+
"mask-b-from": y()
|
|
2906
2983
|
}],
|
|
2907
2984
|
"mask-image-b-to-color": [{
|
|
2908
|
-
"mask-b-to":
|
|
2985
|
+
"mask-b-to": y()
|
|
2909
2986
|
}],
|
|
2910
2987
|
"mask-image-l-from-pos": [{
|
|
2911
|
-
"mask-l-from":
|
|
2988
|
+
"mask-l-from": N()
|
|
2912
2989
|
}],
|
|
2913
2990
|
"mask-image-l-to-pos": [{
|
|
2914
|
-
"mask-l-to":
|
|
2991
|
+
"mask-l-to": N()
|
|
2915
2992
|
}],
|
|
2916
2993
|
"mask-image-l-from-color": [{
|
|
2917
|
-
"mask-l-from":
|
|
2994
|
+
"mask-l-from": y()
|
|
2918
2995
|
}],
|
|
2919
2996
|
"mask-image-l-to-color": [{
|
|
2920
|
-
"mask-l-to":
|
|
2997
|
+
"mask-l-to": y()
|
|
2921
2998
|
}],
|
|
2922
2999
|
"mask-image-x-from-pos": [{
|
|
2923
|
-
"mask-x-from":
|
|
3000
|
+
"mask-x-from": N()
|
|
2924
3001
|
}],
|
|
2925
3002
|
"mask-image-x-to-pos": [{
|
|
2926
|
-
"mask-x-to":
|
|
3003
|
+
"mask-x-to": N()
|
|
2927
3004
|
}],
|
|
2928
3005
|
"mask-image-x-from-color": [{
|
|
2929
|
-
"mask-x-from":
|
|
3006
|
+
"mask-x-from": y()
|
|
2930
3007
|
}],
|
|
2931
3008
|
"mask-image-x-to-color": [{
|
|
2932
|
-
"mask-x-to":
|
|
3009
|
+
"mask-x-to": y()
|
|
2933
3010
|
}],
|
|
2934
3011
|
"mask-image-y-from-pos": [{
|
|
2935
|
-
"mask-y-from":
|
|
3012
|
+
"mask-y-from": N()
|
|
2936
3013
|
}],
|
|
2937
3014
|
"mask-image-y-to-pos": [{
|
|
2938
|
-
"mask-y-to":
|
|
3015
|
+
"mask-y-to": N()
|
|
2939
3016
|
}],
|
|
2940
3017
|
"mask-image-y-from-color": [{
|
|
2941
|
-
"mask-y-from":
|
|
3018
|
+
"mask-y-from": y()
|
|
2942
3019
|
}],
|
|
2943
3020
|
"mask-image-y-to-color": [{
|
|
2944
|
-
"mask-y-to":
|
|
3021
|
+
"mask-y-to": y()
|
|
2945
3022
|
}],
|
|
2946
3023
|
"mask-image-radial": [{
|
|
2947
3024
|
"mask-radial": [p, f]
|
|
2948
3025
|
}],
|
|
2949
3026
|
"mask-image-radial-from-pos": [{
|
|
2950
|
-
"mask-radial-from":
|
|
3027
|
+
"mask-radial-from": N()
|
|
2951
3028
|
}],
|
|
2952
3029
|
"mask-image-radial-to-pos": [{
|
|
2953
|
-
"mask-radial-to":
|
|
3030
|
+
"mask-radial-to": N()
|
|
2954
3031
|
}],
|
|
2955
3032
|
"mask-image-radial-from-color": [{
|
|
2956
|
-
"mask-radial-from":
|
|
3033
|
+
"mask-radial-from": y()
|
|
2957
3034
|
}],
|
|
2958
3035
|
"mask-image-radial-to-color": [{
|
|
2959
|
-
"mask-radial-to":
|
|
3036
|
+
"mask-radial-to": y()
|
|
2960
3037
|
}],
|
|
2961
3038
|
"mask-image-radial-shape": [{
|
|
2962
3039
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -2968,22 +3045,22 @@ const xr = (e, t) => {
|
|
|
2968
3045
|
}]
|
|
2969
3046
|
}],
|
|
2970
3047
|
"mask-image-radial-pos": [{
|
|
2971
|
-
"mask-radial-at":
|
|
3048
|
+
"mask-radial-at": T()
|
|
2972
3049
|
}],
|
|
2973
3050
|
"mask-image-conic-pos": [{
|
|
2974
|
-
"mask-conic": [
|
|
3051
|
+
"mask-conic": [w]
|
|
2975
3052
|
}],
|
|
2976
3053
|
"mask-image-conic-from-pos": [{
|
|
2977
|
-
"mask-conic-from":
|
|
3054
|
+
"mask-conic-from": N()
|
|
2978
3055
|
}],
|
|
2979
3056
|
"mask-image-conic-to-pos": [{
|
|
2980
|
-
"mask-conic-to":
|
|
3057
|
+
"mask-conic-to": N()
|
|
2981
3058
|
}],
|
|
2982
3059
|
"mask-image-conic-from-color": [{
|
|
2983
|
-
"mask-conic-from":
|
|
3060
|
+
"mask-conic-from": y()
|
|
2984
3061
|
}],
|
|
2985
3062
|
"mask-image-conic-to-color": [{
|
|
2986
|
-
"mask-conic-to":
|
|
3063
|
+
"mask-conic-to": y()
|
|
2987
3064
|
}],
|
|
2988
3065
|
/**
|
|
2989
3066
|
* Mask Mode
|
|
@@ -3018,7 +3095,7 @@ const xr = (e, t) => {
|
|
|
3018
3095
|
* @see https://tailwindcss.com/docs/mask-size
|
|
3019
3096
|
*/
|
|
3020
3097
|
"mask-size": [{
|
|
3021
|
-
mask:
|
|
3098
|
+
mask: O()
|
|
3022
3099
|
}],
|
|
3023
3100
|
/**
|
|
3024
3101
|
* Mask Type
|
|
@@ -3055,21 +3132,21 @@ const xr = (e, t) => {
|
|
|
3055
3132
|
* @see https://tailwindcss.com/docs/blur
|
|
3056
3133
|
*/
|
|
3057
3134
|
blur: [{
|
|
3058
|
-
blur:
|
|
3135
|
+
blur: he()
|
|
3059
3136
|
}],
|
|
3060
3137
|
/**
|
|
3061
3138
|
* Brightness
|
|
3062
3139
|
* @see https://tailwindcss.com/docs/brightness
|
|
3063
3140
|
*/
|
|
3064
3141
|
brightness: [{
|
|
3065
|
-
brightness: [
|
|
3142
|
+
brightness: [w, p, f]
|
|
3066
3143
|
}],
|
|
3067
3144
|
/**
|
|
3068
3145
|
* Contrast
|
|
3069
3146
|
* @see https://tailwindcss.com/docs/contrast
|
|
3070
3147
|
*/
|
|
3071
3148
|
contrast: [{
|
|
3072
|
-
contrast: [
|
|
3149
|
+
contrast: [w, p, f]
|
|
3073
3150
|
}],
|
|
3074
3151
|
/**
|
|
3075
3152
|
* Drop Shadow
|
|
@@ -3080,9 +3157,9 @@ const xr = (e, t) => {
|
|
|
3080
3157
|
// Deprecated since Tailwind CSS v4.0.0
|
|
3081
3158
|
"",
|
|
3082
3159
|
"none",
|
|
3083
|
-
|
|
3160
|
+
v,
|
|
3084
3161
|
Ee,
|
|
3085
|
-
|
|
3162
|
+
Ce
|
|
3086
3163
|
]
|
|
3087
3164
|
}],
|
|
3088
3165
|
/**
|
|
@@ -3090,42 +3167,42 @@ const xr = (e, t) => {
|
|
|
3090
3167
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
3091
3168
|
*/
|
|
3092
3169
|
"drop-shadow-color": [{
|
|
3093
|
-
"drop-shadow":
|
|
3170
|
+
"drop-shadow": y()
|
|
3094
3171
|
}],
|
|
3095
3172
|
/**
|
|
3096
3173
|
* Grayscale
|
|
3097
3174
|
* @see https://tailwindcss.com/docs/grayscale
|
|
3098
3175
|
*/
|
|
3099
3176
|
grayscale: [{
|
|
3100
|
-
grayscale: ["",
|
|
3177
|
+
grayscale: ["", w, p, f]
|
|
3101
3178
|
}],
|
|
3102
3179
|
/**
|
|
3103
3180
|
* Hue Rotate
|
|
3104
3181
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
3105
3182
|
*/
|
|
3106
3183
|
"hue-rotate": [{
|
|
3107
|
-
"hue-rotate": [
|
|
3184
|
+
"hue-rotate": [w, p, f]
|
|
3108
3185
|
}],
|
|
3109
3186
|
/**
|
|
3110
3187
|
* Invert
|
|
3111
3188
|
* @see https://tailwindcss.com/docs/invert
|
|
3112
3189
|
*/
|
|
3113
3190
|
invert: [{
|
|
3114
|
-
invert: ["",
|
|
3191
|
+
invert: ["", w, p, f]
|
|
3115
3192
|
}],
|
|
3116
3193
|
/**
|
|
3117
3194
|
* Saturate
|
|
3118
3195
|
* @see https://tailwindcss.com/docs/saturate
|
|
3119
3196
|
*/
|
|
3120
3197
|
saturate: [{
|
|
3121
|
-
saturate: [
|
|
3198
|
+
saturate: [w, p, f]
|
|
3122
3199
|
}],
|
|
3123
3200
|
/**
|
|
3124
3201
|
* Sepia
|
|
3125
3202
|
* @see https://tailwindcss.com/docs/sepia
|
|
3126
3203
|
*/
|
|
3127
3204
|
sepia: [{
|
|
3128
|
-
sepia: ["",
|
|
3205
|
+
sepia: ["", w, p, f]
|
|
3129
3206
|
}],
|
|
3130
3207
|
/**
|
|
3131
3208
|
* Backdrop Filter
|
|
@@ -3145,63 +3222,63 @@ const xr = (e, t) => {
|
|
|
3145
3222
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
3146
3223
|
*/
|
|
3147
3224
|
"backdrop-blur": [{
|
|
3148
|
-
"backdrop-blur":
|
|
3225
|
+
"backdrop-blur": he()
|
|
3149
3226
|
}],
|
|
3150
3227
|
/**
|
|
3151
3228
|
* Backdrop Brightness
|
|
3152
3229
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
3153
3230
|
*/
|
|
3154
3231
|
"backdrop-brightness": [{
|
|
3155
|
-
"backdrop-brightness": [
|
|
3232
|
+
"backdrop-brightness": [w, p, f]
|
|
3156
3233
|
}],
|
|
3157
3234
|
/**
|
|
3158
3235
|
* Backdrop Contrast
|
|
3159
3236
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
3160
3237
|
*/
|
|
3161
3238
|
"backdrop-contrast": [{
|
|
3162
|
-
"backdrop-contrast": [
|
|
3239
|
+
"backdrop-contrast": [w, p, f]
|
|
3163
3240
|
}],
|
|
3164
3241
|
/**
|
|
3165
3242
|
* Backdrop Grayscale
|
|
3166
3243
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
3167
3244
|
*/
|
|
3168
3245
|
"backdrop-grayscale": [{
|
|
3169
|
-
"backdrop-grayscale": ["",
|
|
3246
|
+
"backdrop-grayscale": ["", w, p, f]
|
|
3170
3247
|
}],
|
|
3171
3248
|
/**
|
|
3172
3249
|
* Backdrop Hue Rotate
|
|
3173
3250
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
3174
3251
|
*/
|
|
3175
3252
|
"backdrop-hue-rotate": [{
|
|
3176
|
-
"backdrop-hue-rotate": [
|
|
3253
|
+
"backdrop-hue-rotate": [w, p, f]
|
|
3177
3254
|
}],
|
|
3178
3255
|
/**
|
|
3179
3256
|
* Backdrop Invert
|
|
3180
3257
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
3181
3258
|
*/
|
|
3182
3259
|
"backdrop-invert": [{
|
|
3183
|
-
"backdrop-invert": ["",
|
|
3260
|
+
"backdrop-invert": ["", w, p, f]
|
|
3184
3261
|
}],
|
|
3185
3262
|
/**
|
|
3186
3263
|
* Backdrop Opacity
|
|
3187
3264
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
3188
3265
|
*/
|
|
3189
3266
|
"backdrop-opacity": [{
|
|
3190
|
-
"backdrop-opacity": [
|
|
3267
|
+
"backdrop-opacity": [w, p, f]
|
|
3191
3268
|
}],
|
|
3192
3269
|
/**
|
|
3193
3270
|
* Backdrop Saturate
|
|
3194
3271
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
3195
3272
|
*/
|
|
3196
3273
|
"backdrop-saturate": [{
|
|
3197
|
-
"backdrop-saturate": [
|
|
3274
|
+
"backdrop-saturate": [w, p, f]
|
|
3198
3275
|
}],
|
|
3199
3276
|
/**
|
|
3200
3277
|
* Backdrop Sepia
|
|
3201
3278
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
3202
3279
|
*/
|
|
3203
3280
|
"backdrop-sepia": [{
|
|
3204
|
-
"backdrop-sepia": ["",
|
|
3281
|
+
"backdrop-sepia": ["", w, p, f]
|
|
3205
3282
|
}],
|
|
3206
3283
|
// --------------
|
|
3207
3284
|
// --- Tables ---
|
|
@@ -3218,21 +3295,21 @@ const xr = (e, t) => {
|
|
|
3218
3295
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
3219
3296
|
*/
|
|
3220
3297
|
"border-spacing": [{
|
|
3221
|
-
"border-spacing":
|
|
3298
|
+
"border-spacing": m()
|
|
3222
3299
|
}],
|
|
3223
3300
|
/**
|
|
3224
3301
|
* Border Spacing X
|
|
3225
3302
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
3226
3303
|
*/
|
|
3227
3304
|
"border-spacing-x": [{
|
|
3228
|
-
"border-spacing-x":
|
|
3305
|
+
"border-spacing-x": m()
|
|
3229
3306
|
}],
|
|
3230
3307
|
/**
|
|
3231
3308
|
* Border Spacing Y
|
|
3232
3309
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
3233
3310
|
*/
|
|
3234
3311
|
"border-spacing-y": [{
|
|
3235
|
-
"border-spacing-y":
|
|
3312
|
+
"border-spacing-y": m()
|
|
3236
3313
|
}],
|
|
3237
3314
|
/**
|
|
3238
3315
|
* Table Layout
|
|
@@ -3270,21 +3347,21 @@ const xr = (e, t) => {
|
|
|
3270
3347
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
3271
3348
|
*/
|
|
3272
3349
|
duration: [{
|
|
3273
|
-
duration: [
|
|
3350
|
+
duration: [w, "initial", p, f]
|
|
3274
3351
|
}],
|
|
3275
3352
|
/**
|
|
3276
3353
|
* Transition Timing Function
|
|
3277
3354
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
3278
3355
|
*/
|
|
3279
3356
|
ease: [{
|
|
3280
|
-
ease: ["linear", "initial",
|
|
3357
|
+
ease: ["linear", "initial", R, p, f]
|
|
3281
3358
|
}],
|
|
3282
3359
|
/**
|
|
3283
3360
|
* Transition Delay
|
|
3284
3361
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
3285
3362
|
*/
|
|
3286
3363
|
delay: [{
|
|
3287
|
-
delay: [
|
|
3364
|
+
delay: [w, p, f]
|
|
3288
3365
|
}],
|
|
3289
3366
|
/**
|
|
3290
3367
|
* Animation
|
|
@@ -3308,14 +3385,14 @@ const xr = (e, t) => {
|
|
|
3308
3385
|
* @see https://tailwindcss.com/docs/perspective
|
|
3309
3386
|
*/
|
|
3310
3387
|
perspective: [{
|
|
3311
|
-
perspective: [
|
|
3388
|
+
perspective: [C, p, f]
|
|
3312
3389
|
}],
|
|
3313
3390
|
/**
|
|
3314
3391
|
* Perspective Origin
|
|
3315
3392
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
3316
3393
|
*/
|
|
3317
3394
|
"perspective-origin": [{
|
|
3318
|
-
"perspective-origin":
|
|
3395
|
+
"perspective-origin": j()
|
|
3319
3396
|
}],
|
|
3320
3397
|
/**
|
|
3321
3398
|
* Rotate
|
|
@@ -3350,28 +3427,28 @@ const xr = (e, t) => {
|
|
|
3350
3427
|
* @see https://tailwindcss.com/docs/scale
|
|
3351
3428
|
*/
|
|
3352
3429
|
scale: [{
|
|
3353
|
-
scale:
|
|
3430
|
+
scale: ye()
|
|
3354
3431
|
}],
|
|
3355
3432
|
/**
|
|
3356
3433
|
* Scale X
|
|
3357
3434
|
* @see https://tailwindcss.com/docs/scale
|
|
3358
3435
|
*/
|
|
3359
3436
|
"scale-x": [{
|
|
3360
|
-
"scale-x":
|
|
3437
|
+
"scale-x": ye()
|
|
3361
3438
|
}],
|
|
3362
3439
|
/**
|
|
3363
3440
|
* Scale Y
|
|
3364
3441
|
* @see https://tailwindcss.com/docs/scale
|
|
3365
3442
|
*/
|
|
3366
3443
|
"scale-y": [{
|
|
3367
|
-
"scale-y":
|
|
3444
|
+
"scale-y": ye()
|
|
3368
3445
|
}],
|
|
3369
3446
|
/**
|
|
3370
3447
|
* Scale Z
|
|
3371
3448
|
* @see https://tailwindcss.com/docs/scale
|
|
3372
3449
|
*/
|
|
3373
3450
|
"scale-z": [{
|
|
3374
|
-
"scale-z":
|
|
3451
|
+
"scale-z": ye()
|
|
3375
3452
|
}],
|
|
3376
3453
|
/**
|
|
3377
3454
|
* Scale 3D
|
|
@@ -3383,21 +3460,21 @@ const xr = (e, t) => {
|
|
|
3383
3460
|
* @see https://tailwindcss.com/docs/skew
|
|
3384
3461
|
*/
|
|
3385
3462
|
skew: [{
|
|
3386
|
-
skew:
|
|
3463
|
+
skew: Pe()
|
|
3387
3464
|
}],
|
|
3388
3465
|
/**
|
|
3389
3466
|
* Skew X
|
|
3390
3467
|
* @see https://tailwindcss.com/docs/skew
|
|
3391
3468
|
*/
|
|
3392
3469
|
"skew-x": [{
|
|
3393
|
-
"skew-x":
|
|
3470
|
+
"skew-x": Pe()
|
|
3394
3471
|
}],
|
|
3395
3472
|
/**
|
|
3396
3473
|
* Skew Y
|
|
3397
3474
|
* @see https://tailwindcss.com/docs/skew
|
|
3398
3475
|
*/
|
|
3399
3476
|
"skew-y": [{
|
|
3400
|
-
"skew-y":
|
|
3477
|
+
"skew-y": Pe()
|
|
3401
3478
|
}],
|
|
3402
3479
|
/**
|
|
3403
3480
|
* Transform
|
|
@@ -3411,7 +3488,7 @@ const xr = (e, t) => {
|
|
|
3411
3488
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
3412
3489
|
*/
|
|
3413
3490
|
"transform-origin": [{
|
|
3414
|
-
origin:
|
|
3491
|
+
origin: j()
|
|
3415
3492
|
}],
|
|
3416
3493
|
/**
|
|
3417
3494
|
* Transform Style
|
|
@@ -3425,28 +3502,28 @@ const xr = (e, t) => {
|
|
|
3425
3502
|
* @see https://tailwindcss.com/docs/translate
|
|
3426
3503
|
*/
|
|
3427
3504
|
translate: [{
|
|
3428
|
-
translate:
|
|
3505
|
+
translate: ve()
|
|
3429
3506
|
}],
|
|
3430
3507
|
/**
|
|
3431
3508
|
* Translate X
|
|
3432
3509
|
* @see https://tailwindcss.com/docs/translate
|
|
3433
3510
|
*/
|
|
3434
3511
|
"translate-x": [{
|
|
3435
|
-
"translate-x":
|
|
3512
|
+
"translate-x": ve()
|
|
3436
3513
|
}],
|
|
3437
3514
|
/**
|
|
3438
3515
|
* Translate Y
|
|
3439
3516
|
* @see https://tailwindcss.com/docs/translate
|
|
3440
3517
|
*/
|
|
3441
3518
|
"translate-y": [{
|
|
3442
|
-
"translate-y":
|
|
3519
|
+
"translate-y": ve()
|
|
3443
3520
|
}],
|
|
3444
3521
|
/**
|
|
3445
3522
|
* Translate Z
|
|
3446
3523
|
* @see https://tailwindcss.com/docs/translate
|
|
3447
3524
|
*/
|
|
3448
3525
|
"translate-z": [{
|
|
3449
|
-
"translate-z":
|
|
3526
|
+
"translate-z": ve()
|
|
3450
3527
|
}],
|
|
3451
3528
|
/**
|
|
3452
3529
|
* Translate None
|
|
@@ -3461,7 +3538,7 @@ const xr = (e, t) => {
|
|
|
3461
3538
|
* @see https://tailwindcss.com/docs/accent-color
|
|
3462
3539
|
*/
|
|
3463
3540
|
accent: [{
|
|
3464
|
-
accent:
|
|
3541
|
+
accent: y()
|
|
3465
3542
|
}],
|
|
3466
3543
|
/**
|
|
3467
3544
|
* Appearance
|
|
@@ -3475,7 +3552,7 @@ const xr = (e, t) => {
|
|
|
3475
3552
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
3476
3553
|
*/
|
|
3477
3554
|
"caret-color": [{
|
|
3478
|
-
caret:
|
|
3555
|
+
caret: y()
|
|
3479
3556
|
}],
|
|
3480
3557
|
/**
|
|
3481
3558
|
* Color Scheme
|
|
@@ -3524,154 +3601,154 @@ const xr = (e, t) => {
|
|
|
3524
3601
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3525
3602
|
*/
|
|
3526
3603
|
"scroll-m": [{
|
|
3527
|
-
"scroll-m":
|
|
3604
|
+
"scroll-m": m()
|
|
3528
3605
|
}],
|
|
3529
3606
|
/**
|
|
3530
3607
|
* Scroll Margin Inline
|
|
3531
3608
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3532
3609
|
*/
|
|
3533
3610
|
"scroll-mx": [{
|
|
3534
|
-
"scroll-mx":
|
|
3611
|
+
"scroll-mx": m()
|
|
3535
3612
|
}],
|
|
3536
3613
|
/**
|
|
3537
3614
|
* Scroll Margin Block
|
|
3538
3615
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3539
3616
|
*/
|
|
3540
3617
|
"scroll-my": [{
|
|
3541
|
-
"scroll-my":
|
|
3618
|
+
"scroll-my": m()
|
|
3542
3619
|
}],
|
|
3543
3620
|
/**
|
|
3544
3621
|
* Scroll Margin Inline Start
|
|
3545
3622
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3546
3623
|
*/
|
|
3547
3624
|
"scroll-ms": [{
|
|
3548
|
-
"scroll-ms":
|
|
3625
|
+
"scroll-ms": m()
|
|
3549
3626
|
}],
|
|
3550
3627
|
/**
|
|
3551
3628
|
* Scroll Margin Inline End
|
|
3552
3629
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3553
3630
|
*/
|
|
3554
3631
|
"scroll-me": [{
|
|
3555
|
-
"scroll-me":
|
|
3632
|
+
"scroll-me": m()
|
|
3556
3633
|
}],
|
|
3557
3634
|
/**
|
|
3558
3635
|
* Scroll Margin Block Start
|
|
3559
3636
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3560
3637
|
*/
|
|
3561
3638
|
"scroll-mbs": [{
|
|
3562
|
-
"scroll-mbs":
|
|
3639
|
+
"scroll-mbs": m()
|
|
3563
3640
|
}],
|
|
3564
3641
|
/**
|
|
3565
3642
|
* Scroll Margin Block End
|
|
3566
3643
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3567
3644
|
*/
|
|
3568
3645
|
"scroll-mbe": [{
|
|
3569
|
-
"scroll-mbe":
|
|
3646
|
+
"scroll-mbe": m()
|
|
3570
3647
|
}],
|
|
3571
3648
|
/**
|
|
3572
3649
|
* Scroll Margin Top
|
|
3573
3650
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3574
3651
|
*/
|
|
3575
3652
|
"scroll-mt": [{
|
|
3576
|
-
"scroll-mt":
|
|
3653
|
+
"scroll-mt": m()
|
|
3577
3654
|
}],
|
|
3578
3655
|
/**
|
|
3579
3656
|
* Scroll Margin Right
|
|
3580
3657
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3581
3658
|
*/
|
|
3582
3659
|
"scroll-mr": [{
|
|
3583
|
-
"scroll-mr":
|
|
3660
|
+
"scroll-mr": m()
|
|
3584
3661
|
}],
|
|
3585
3662
|
/**
|
|
3586
3663
|
* Scroll Margin Bottom
|
|
3587
3664
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3588
3665
|
*/
|
|
3589
3666
|
"scroll-mb": [{
|
|
3590
|
-
"scroll-mb":
|
|
3667
|
+
"scroll-mb": m()
|
|
3591
3668
|
}],
|
|
3592
3669
|
/**
|
|
3593
3670
|
* Scroll Margin Left
|
|
3594
3671
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3595
3672
|
*/
|
|
3596
3673
|
"scroll-ml": [{
|
|
3597
|
-
"scroll-ml":
|
|
3674
|
+
"scroll-ml": m()
|
|
3598
3675
|
}],
|
|
3599
3676
|
/**
|
|
3600
3677
|
* Scroll Padding
|
|
3601
3678
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3602
3679
|
*/
|
|
3603
3680
|
"scroll-p": [{
|
|
3604
|
-
"scroll-p":
|
|
3681
|
+
"scroll-p": m()
|
|
3605
3682
|
}],
|
|
3606
3683
|
/**
|
|
3607
3684
|
* Scroll Padding Inline
|
|
3608
3685
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3609
3686
|
*/
|
|
3610
3687
|
"scroll-px": [{
|
|
3611
|
-
"scroll-px":
|
|
3688
|
+
"scroll-px": m()
|
|
3612
3689
|
}],
|
|
3613
3690
|
/**
|
|
3614
3691
|
* Scroll Padding Block
|
|
3615
3692
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3616
3693
|
*/
|
|
3617
3694
|
"scroll-py": [{
|
|
3618
|
-
"scroll-py":
|
|
3695
|
+
"scroll-py": m()
|
|
3619
3696
|
}],
|
|
3620
3697
|
/**
|
|
3621
3698
|
* Scroll Padding Inline Start
|
|
3622
3699
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3623
3700
|
*/
|
|
3624
3701
|
"scroll-ps": [{
|
|
3625
|
-
"scroll-ps":
|
|
3702
|
+
"scroll-ps": m()
|
|
3626
3703
|
}],
|
|
3627
3704
|
/**
|
|
3628
3705
|
* Scroll Padding Inline End
|
|
3629
3706
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3630
3707
|
*/
|
|
3631
3708
|
"scroll-pe": [{
|
|
3632
|
-
"scroll-pe":
|
|
3709
|
+
"scroll-pe": m()
|
|
3633
3710
|
}],
|
|
3634
3711
|
/**
|
|
3635
3712
|
* Scroll Padding Block Start
|
|
3636
3713
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3637
3714
|
*/
|
|
3638
3715
|
"scroll-pbs": [{
|
|
3639
|
-
"scroll-pbs":
|
|
3716
|
+
"scroll-pbs": m()
|
|
3640
3717
|
}],
|
|
3641
3718
|
/**
|
|
3642
3719
|
* Scroll Padding Block End
|
|
3643
3720
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3644
3721
|
*/
|
|
3645
3722
|
"scroll-pbe": [{
|
|
3646
|
-
"scroll-pbe":
|
|
3723
|
+
"scroll-pbe": m()
|
|
3647
3724
|
}],
|
|
3648
3725
|
/**
|
|
3649
3726
|
* Scroll Padding Top
|
|
3650
3727
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3651
3728
|
*/
|
|
3652
3729
|
"scroll-pt": [{
|
|
3653
|
-
"scroll-pt":
|
|
3730
|
+
"scroll-pt": m()
|
|
3654
3731
|
}],
|
|
3655
3732
|
/**
|
|
3656
3733
|
* Scroll Padding Right
|
|
3657
3734
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3658
3735
|
*/
|
|
3659
3736
|
"scroll-pr": [{
|
|
3660
|
-
"scroll-pr":
|
|
3737
|
+
"scroll-pr": m()
|
|
3661
3738
|
}],
|
|
3662
3739
|
/**
|
|
3663
3740
|
* Scroll Padding Bottom
|
|
3664
3741
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3665
3742
|
*/
|
|
3666
3743
|
"scroll-pb": [{
|
|
3667
|
-
"scroll-pb":
|
|
3744
|
+
"scroll-pb": m()
|
|
3668
3745
|
}],
|
|
3669
3746
|
/**
|
|
3670
3747
|
* Scroll Padding Left
|
|
3671
3748
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3672
3749
|
*/
|
|
3673
3750
|
"scroll-pl": [{
|
|
3674
|
-
"scroll-pl":
|
|
3751
|
+
"scroll-pl": m()
|
|
3675
3752
|
}],
|
|
3676
3753
|
/**
|
|
3677
3754
|
* Scroll Snap Align
|
|
@@ -3749,21 +3826,21 @@ const xr = (e, t) => {
|
|
|
3749
3826
|
* @see https://tailwindcss.com/docs/fill
|
|
3750
3827
|
*/
|
|
3751
3828
|
fill: [{
|
|
3752
|
-
fill: ["none", ...
|
|
3829
|
+
fill: ["none", ...y()]
|
|
3753
3830
|
}],
|
|
3754
3831
|
/**
|
|
3755
3832
|
* Stroke Width
|
|
3756
3833
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3757
3834
|
*/
|
|
3758
3835
|
"stroke-w": [{
|
|
3759
|
-
stroke: [
|
|
3836
|
+
stroke: [w, me, oe, Ke]
|
|
3760
3837
|
}],
|
|
3761
3838
|
/**
|
|
3762
3839
|
* Stroke
|
|
3763
3840
|
* @see https://tailwindcss.com/docs/stroke
|
|
3764
3841
|
*/
|
|
3765
3842
|
stroke: [{
|
|
3766
|
-
stroke: ["none", ...
|
|
3843
|
+
stroke: ["none", ...y()]
|
|
3767
3844
|
}],
|
|
3768
3845
|
// ---------------------
|
|
3769
3846
|
// --- Accessibility ---
|
|
@@ -3831,23 +3908,23 @@ const xr = (e, t) => {
|
|
|
3831
3908
|
},
|
|
3832
3909
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3833
3910
|
};
|
|
3834
|
-
},
|
|
3911
|
+
}, mo = /* @__PURE__ */ Ur(uo);
|
|
3835
3912
|
function Le(...e) {
|
|
3836
|
-
return
|
|
3913
|
+
return mo(kr(e));
|
|
3837
3914
|
}
|
|
3838
|
-
class
|
|
3915
|
+
class fo extends ot {
|
|
3839
3916
|
constructor(t) {
|
|
3840
3917
|
super(t), this.state = { hasError: !1 };
|
|
3841
3918
|
}
|
|
3842
3919
|
static getDerivedStateFromError() {
|
|
3843
3920
|
return { hasError: !0 };
|
|
3844
3921
|
}
|
|
3845
|
-
componentDidCatch(t,
|
|
3846
|
-
console.error(`[JsonPages] Component Crash [${this.props.type}]:`, t,
|
|
3922
|
+
componentDidCatch(t, o) {
|
|
3923
|
+
console.error(`[JsonPages] Component Crash [${this.props.type}]:`, t, o);
|
|
3847
3924
|
}
|
|
3848
3925
|
render() {
|
|
3849
3926
|
return this.state.hasError ? /* @__PURE__ */ u.jsxs("div", { className: "p-8 m-4 bg-amber-500/5 border-2 border-dashed border-amber-500/20 rounded-xl flex flex-col items-center text-center gap-3", children: [
|
|
3850
|
-
/* @__PURE__ */ u.jsx(
|
|
3927
|
+
/* @__PURE__ */ u.jsx(wr, { className: "text-amber-500", size: 32 }),
|
|
3851
3928
|
/* @__PURE__ */ u.jsxs("div", { className: "space-y-1", children: [
|
|
3852
3929
|
/* @__PURE__ */ u.jsx("h4", { className: "text-sm font-bold text-amber-200 uppercase tracking-tight", children: "Component Error" }),
|
|
3853
3930
|
/* @__PURE__ */ u.jsxs("p", { className: "text-xs text-amber-500/70 font-mono", children: [
|
|
@@ -3859,7 +3936,7 @@ class lo extends rt {
|
|
|
3859
3936
|
] }) : this.props.children;
|
|
3860
3937
|
}
|
|
3861
3938
|
}
|
|
3862
|
-
const
|
|
3939
|
+
const po = ({ type: e, scope: t, isSelected: o, sectionId: r, sectionIndex: n = 0, totalSections: s = 0, onReorder: a }) => {
|
|
3863
3940
|
const c = typeof n == "number" && n > 0 && a, l = typeof n == "number" && n < s - 1 && a;
|
|
3864
3941
|
return /* @__PURE__ */ u.jsx(
|
|
3865
3942
|
"div",
|
|
@@ -3869,7 +3946,7 @@ const co = ({ type: e, scope: t, isSelected: r, sectionId: o, sectionIndex: n =
|
|
|
3869
3946
|
className: Le(
|
|
3870
3947
|
"absolute inset-0 pointer-events-none transition-all duration-200 z-[50]",
|
|
3871
3948
|
"border-2 border-transparent group-hover:border-blue-400/50 group-hover:border-dashed",
|
|
3872
|
-
|
|
3949
|
+
o && "border-2 border-blue-600 border-solid bg-blue-500/5"
|
|
3873
3950
|
),
|
|
3874
3951
|
children: /* @__PURE__ */ u.jsxs(
|
|
3875
3952
|
"div",
|
|
@@ -3877,36 +3954,36 @@ const co = ({ type: e, scope: t, isSelected: r, sectionId: o, sectionIndex: n =
|
|
|
3877
3954
|
className: Le(
|
|
3878
3955
|
"absolute top-0 right-0 flex flex-nowrap items-center gap-1 pl-1 pr-2 py-1 text-[9px] font-black uppercase tracking-widest transition-opacity pointer-events-auto",
|
|
3879
3956
|
"bg-blue-600 text-white",
|
|
3880
|
-
|
|
3957
|
+
o || "group-hover:opacity-100 opacity-0"
|
|
3881
3958
|
),
|
|
3882
3959
|
children: [
|
|
3883
|
-
a &&
|
|
3960
|
+
a && r != null && /* @__PURE__ */ u.jsxs("span", { className: "shrink-0 flex items-center gap-0.5", children: [
|
|
3884
3961
|
/* @__PURE__ */ u.jsx(
|
|
3885
3962
|
"button",
|
|
3886
3963
|
{
|
|
3887
3964
|
type: "button",
|
|
3888
|
-
onClick: (
|
|
3889
|
-
|
|
3965
|
+
onClick: (d) => {
|
|
3966
|
+
d.stopPropagation(), c && a(r, n - 1);
|
|
3890
3967
|
},
|
|
3891
3968
|
disabled: !c,
|
|
3892
3969
|
className: "inline-flex items-center justify-center min-w-[18px] min-h-[18px] rounded bg-white/20 hover:bg-white/30 disabled:opacity-30 disabled:pointer-events-none",
|
|
3893
3970
|
title: "Move section up",
|
|
3894
3971
|
"aria-label": "Move section up",
|
|
3895
|
-
children: /* @__PURE__ */ u.jsx(
|
|
3972
|
+
children: /* @__PURE__ */ u.jsx(vr, { size: 12, strokeWidth: 2.5 })
|
|
3896
3973
|
}
|
|
3897
3974
|
),
|
|
3898
3975
|
/* @__PURE__ */ u.jsx(
|
|
3899
3976
|
"button",
|
|
3900
3977
|
{
|
|
3901
3978
|
type: "button",
|
|
3902
|
-
onClick: (
|
|
3903
|
-
|
|
3979
|
+
onClick: (d) => {
|
|
3980
|
+
d.stopPropagation(), l && a(r, n + 2);
|
|
3904
3981
|
},
|
|
3905
3982
|
disabled: !l,
|
|
3906
3983
|
className: "inline-flex items-center justify-center min-w-[18px] min-h-[18px] rounded bg-white/20 hover:bg-white/30 disabled:opacity-30 disabled:pointer-events-none",
|
|
3907
3984
|
title: "Move section down",
|
|
3908
3985
|
"aria-label": "Move section down",
|
|
3909
|
-
children: /* @__PURE__ */ u.jsx(
|
|
3986
|
+
children: /* @__PURE__ */ u.jsx(br, { size: 12, strokeWidth: 2.5 })
|
|
3910
3987
|
}
|
|
3911
3988
|
)
|
|
3912
3989
|
] }),
|
|
@@ -3918,135 +3995,135 @@ const co = ({ type: e, scope: t, isSelected: r, sectionId: o, sectionIndex: n =
|
|
|
3918
3995
|
)
|
|
3919
3996
|
}
|
|
3920
3997
|
);
|
|
3921
|
-
},
|
|
3998
|
+
}, Te = ({
|
|
3922
3999
|
section: e,
|
|
3923
4000
|
menu: t,
|
|
3924
|
-
selectedId:
|
|
3925
|
-
reorderable:
|
|
4001
|
+
selectedId: o,
|
|
4002
|
+
reorderable: r,
|
|
3926
4003
|
sectionIndex: n,
|
|
3927
4004
|
totalSections: s,
|
|
3928
4005
|
onReorder: a
|
|
3929
4006
|
}) => {
|
|
3930
|
-
const { mode: c } =
|
|
3931
|
-
if (!
|
|
4007
|
+
const { mode: c } = ur(), { registry: l, overlayDisabledSectionTypes: d } = or(), g = c === "studio", h = g && o === e.id, b = l[e.type], v = e.type === "header" || e.type === "footer" ? "global" : "local", S = Array.isArray(d) ? d.includes(e.type) : !1, C = e.type === "header" && typeof e.settings == "object" && e.settings !== null && "sticky" in e.settings && !!e.settings.sticky;
|
|
4008
|
+
if (!b)
|
|
3932
4009
|
return /* @__PURE__ */ u.jsxs("div", { className: "p-6 m-4 bg-red-500/10 text-red-400 border border-red-500/20 rounded-lg text-sm font-mono", children: [
|
|
3933
4010
|
/* @__PURE__ */ u.jsx("strong", { children: "Missing Component:" }),
|
|
3934
4011
|
" ",
|
|
3935
4012
|
e.type
|
|
3936
4013
|
] });
|
|
3937
|
-
const
|
|
3938
|
-
const W =
|
|
4014
|
+
const E = () => {
|
|
4015
|
+
const W = b;
|
|
3939
4016
|
return t ? /* @__PURE__ */ u.jsx(W, { data: e.data, settings: e.settings, menu: t }) : /* @__PURE__ */ u.jsx(W, { data: e.data, settings: e.settings });
|
|
3940
|
-
},
|
|
4017
|
+
}, R = typeof e.data == "object" && e.data !== null && "anchorId" in e.data ? String(e.data.anchorId ?? "") : void 0;
|
|
3941
4018
|
return /* @__PURE__ */ u.jsxs(
|
|
3942
4019
|
"div",
|
|
3943
4020
|
{
|
|
3944
|
-
id:
|
|
3945
|
-
"data-section-id":
|
|
3946
|
-
"data-section-type":
|
|
3947
|
-
"data-section-scope":
|
|
3948
|
-
...
|
|
4021
|
+
id: R || void 0,
|
|
4022
|
+
"data-section-id": g ? e.id : void 0,
|
|
4023
|
+
"data-section-type": g ? e.type : void 0,
|
|
4024
|
+
"data-section-scope": g ? v : void 0,
|
|
4025
|
+
...g && h ? { "data-jp-selected": !0 } : {},
|
|
3949
4026
|
className: Le(
|
|
3950
4027
|
"relative w-full",
|
|
3951
|
-
|
|
3952
|
-
|
|
4028
|
+
g && !S && "group cursor-pointer",
|
|
4029
|
+
g && C ? "sticky top-0 z-[60]" : e.type === "header" ? "relative" : "relative z-0",
|
|
3953
4030
|
h && "z-[70]"
|
|
3954
4031
|
),
|
|
3955
4032
|
children: [
|
|
3956
|
-
/* @__PURE__ */ u.jsx("div", { className: e.type === "header" ? "relative" : "relative z-0", children: /* @__PURE__ */ u.jsx(
|
|
3957
|
-
|
|
3958
|
-
|
|
4033
|
+
/* @__PURE__ */ u.jsx("div", { className: e.type === "header" ? "relative" : "relative z-0", children: /* @__PURE__ */ u.jsx(fo, { type: e.type, children: E() }) }),
|
|
4034
|
+
g && !S && /* @__PURE__ */ u.jsx(
|
|
4035
|
+
po,
|
|
3959
4036
|
{
|
|
3960
4037
|
type: e.type,
|
|
3961
|
-
scope:
|
|
4038
|
+
scope: v,
|
|
3962
4039
|
isSelected: !!h,
|
|
3963
|
-
sectionId:
|
|
3964
|
-
sectionIndex:
|
|
3965
|
-
totalSections:
|
|
3966
|
-
onReorder:
|
|
4040
|
+
sectionId: r && v === "local" ? e.id : void 0,
|
|
4041
|
+
sectionIndex: r && v === "local" ? n : void 0,
|
|
4042
|
+
totalSections: r && v === "local" ? s : void 0,
|
|
4043
|
+
onReorder: r && v === "local" ? a : void 0
|
|
3967
4044
|
}
|
|
3968
4045
|
)
|
|
3969
4046
|
]
|
|
3970
4047
|
}
|
|
3971
4048
|
);
|
|
3972
|
-
},
|
|
3973
|
-
|
|
4049
|
+
}, go = (e) => {
|
|
4050
|
+
se(() => {
|
|
3974
4051
|
document.title = e.title;
|
|
3975
4052
|
let t = document.querySelector('meta[name="description"]');
|
|
3976
4053
|
t || (t = document.createElement("meta"), t.setAttribute("name", "description"), document.head.appendChild(t)), t.setAttribute("content", e.description);
|
|
3977
4054
|
}, [e.title, e.description]);
|
|
3978
|
-
},
|
|
4055
|
+
}, ho = "application/json", bo = ({
|
|
3979
4056
|
pageConfig: e,
|
|
3980
4057
|
siteConfig: t,
|
|
3981
|
-
menuConfig:
|
|
3982
|
-
selectedId:
|
|
4058
|
+
menuConfig: o,
|
|
4059
|
+
selectedId: r,
|
|
3983
4060
|
onReorder: n,
|
|
3984
4061
|
scrollToSectionId: s,
|
|
3985
4062
|
onActiveSectionChange: a
|
|
3986
4063
|
}) => {
|
|
3987
|
-
|
|
3988
|
-
const [c, l] =
|
|
3989
|
-
|
|
3990
|
-
const h =
|
|
3991
|
-
var
|
|
3992
|
-
(
|
|
4064
|
+
go(e.meta);
|
|
4065
|
+
const [c, l] = nt(null), d = Ue({}), g = Ue(a);
|
|
4066
|
+
g.current = a;
|
|
4067
|
+
const h = mr(e, t), b = h ? t.header ?? null : null, v = t.footer ?? null, S = (k) => {
|
|
4068
|
+
var T;
|
|
4069
|
+
(T = g.current) == null || T.call(g, k);
|
|
3993
4070
|
};
|
|
3994
|
-
|
|
4071
|
+
se(() => {
|
|
3995
4072
|
if (!s) return;
|
|
3996
|
-
const
|
|
3997
|
-
|
|
3998
|
-
}, [s]),
|
|
3999
|
-
if (!
|
|
4000
|
-
const
|
|
4001
|
-
...
|
|
4002
|
-
...e.sections.map((
|
|
4003
|
-
...
|
|
4004
|
-
],
|
|
4005
|
-
(
|
|
4006
|
-
|
|
4073
|
+
const k = d.current[s];
|
|
4074
|
+
k && k.scrollIntoView({ behavior: "smooth", block: "center" });
|
|
4075
|
+
}, [s]), se(() => {
|
|
4076
|
+
if (!g.current) return;
|
|
4077
|
+
const T = [
|
|
4078
|
+
...b ? [b.id] : [],
|
|
4079
|
+
...e.sections.map((m) => m.id),
|
|
4080
|
+
...v ? [v.id] : []
|
|
4081
|
+
], j = new IntersectionObserver(
|
|
4082
|
+
(m) => {
|
|
4083
|
+
m.forEach((A) => {
|
|
4007
4084
|
var J;
|
|
4008
|
-
if (
|
|
4009
|
-
const Y =
|
|
4010
|
-
Y && ((J =
|
|
4085
|
+
if (A.isIntersecting && A.intersectionRatio > 0.5) {
|
|
4086
|
+
const Y = A.target.getAttribute("data-section-id");
|
|
4087
|
+
Y && ((J = g.current) == null || J.call(g, Y));
|
|
4011
4088
|
}
|
|
4012
4089
|
});
|
|
4013
4090
|
},
|
|
4014
4091
|
{ threshold: [0, 0.5, 1], rootMargin: "-20% 0px -20% 0px" }
|
|
4015
4092
|
);
|
|
4016
|
-
let
|
|
4017
|
-
const
|
|
4018
|
-
|
|
4019
|
-
const
|
|
4020
|
-
|
|
4093
|
+
let _ = !1;
|
|
4094
|
+
const $ = requestAnimationFrame(() => {
|
|
4095
|
+
_ || T.forEach((m) => {
|
|
4096
|
+
const A = d.current[m];
|
|
4097
|
+
A && j.observe(A);
|
|
4021
4098
|
});
|
|
4022
4099
|
});
|
|
4023
4100
|
return () => {
|
|
4024
|
-
|
|
4101
|
+
_ = !0, cancelAnimationFrame($), j.disconnect();
|
|
4025
4102
|
};
|
|
4026
|
-
}, [
|
|
4027
|
-
const
|
|
4028
|
-
|
|
4029
|
-
},
|
|
4103
|
+
}, [v, b, e.sections, e["global-header"], h]);
|
|
4104
|
+
const C = (k, T) => {
|
|
4105
|
+
k.preventDefault(), k.dataTransfer.dropEffect = "move", l(T);
|
|
4106
|
+
}, E = () => {
|
|
4030
4107
|
l(null);
|
|
4031
|
-
},
|
|
4032
|
-
if (
|
|
4108
|
+
}, R = (k, T) => {
|
|
4109
|
+
if (k.preventDefault(), l(null), !!n)
|
|
4033
4110
|
try {
|
|
4034
|
-
const
|
|
4035
|
-
typeof
|
|
4111
|
+
const j = k.dataTransfer.getData(ho), { sectionId: _ } = JSON.parse(j);
|
|
4112
|
+
typeof _ == "string" && n(_, T);
|
|
4036
4113
|
} catch {
|
|
4037
4114
|
}
|
|
4038
4115
|
}, W = () => {
|
|
4039
|
-
const
|
|
4040
|
-
const
|
|
4041
|
-
return
|
|
4116
|
+
const k = typeof n == "function", T = e.sections.map((j, _) => {
|
|
4117
|
+
const $ = c === _;
|
|
4118
|
+
return k ? /* @__PURE__ */ u.jsxs(
|
|
4042
4119
|
"div",
|
|
4043
4120
|
{
|
|
4044
|
-
ref: (
|
|
4045
|
-
|
|
4121
|
+
ref: (m) => {
|
|
4122
|
+
d.current[j.id] = m;
|
|
4046
4123
|
},
|
|
4047
|
-
"data-section-id":
|
|
4124
|
+
"data-section-id": j.id,
|
|
4048
4125
|
style: { position: "relative" },
|
|
4049
|
-
onMouseEnter: () =>
|
|
4126
|
+
onMouseEnter: () => S(j.id),
|
|
4050
4127
|
children: [
|
|
4051
4128
|
/* @__PURE__ */ u.jsx(
|
|
4052
4129
|
"div",
|
|
@@ -4060,52 +4137,52 @@ const co = ({ type: e, scope: t, isSelected: r, sectionId: o, sectionIndex: n =
|
|
|
4060
4137
|
height: 12,
|
|
4061
4138
|
zIndex: 55,
|
|
4062
4139
|
pointerEvents: "auto",
|
|
4063
|
-
backgroundColor:
|
|
4064
|
-
borderTop:
|
|
4140
|
+
backgroundColor: $ ? "rgba(59, 130, 246, 0.4)" : "transparent",
|
|
4141
|
+
borderTop: $ ? "2px solid rgb(96, 165, 250)" : "2px solid transparent"
|
|
4065
4142
|
},
|
|
4066
|
-
onDragOver: (
|
|
4067
|
-
onDragLeave:
|
|
4068
|
-
onDrop: (
|
|
4143
|
+
onDragOver: (m) => C(m, _),
|
|
4144
|
+
onDragLeave: E,
|
|
4145
|
+
onDrop: (m) => R(m, _)
|
|
4069
4146
|
}
|
|
4070
4147
|
),
|
|
4071
4148
|
/* @__PURE__ */ u.jsx(
|
|
4072
|
-
|
|
4149
|
+
Te,
|
|
4073
4150
|
{
|
|
4074
|
-
section:
|
|
4075
|
-
menu:
|
|
4076
|
-
selectedId:
|
|
4151
|
+
section: j,
|
|
4152
|
+
menu: je(j, o.main ?? []),
|
|
4153
|
+
selectedId: r,
|
|
4077
4154
|
reorderable: !0,
|
|
4078
|
-
sectionIndex:
|
|
4155
|
+
sectionIndex: _,
|
|
4079
4156
|
totalSections: e.sections.length,
|
|
4080
4157
|
onReorder: n
|
|
4081
4158
|
}
|
|
4082
4159
|
)
|
|
4083
4160
|
]
|
|
4084
4161
|
},
|
|
4085
|
-
|
|
4162
|
+
j.id
|
|
4086
4163
|
) : /* @__PURE__ */ u.jsx(
|
|
4087
4164
|
"div",
|
|
4088
4165
|
{
|
|
4089
|
-
ref: (
|
|
4090
|
-
|
|
4166
|
+
ref: (m) => {
|
|
4167
|
+
d.current[j.id] = m;
|
|
4091
4168
|
},
|
|
4092
|
-
"data-section-id":
|
|
4093
|
-
onMouseEnter: () =>
|
|
4169
|
+
"data-section-id": j.id,
|
|
4170
|
+
onMouseEnter: () => S(j.id),
|
|
4094
4171
|
children: /* @__PURE__ */ u.jsx(
|
|
4095
|
-
|
|
4172
|
+
Te,
|
|
4096
4173
|
{
|
|
4097
|
-
section:
|
|
4098
|
-
menu:
|
|
4099
|
-
selectedId:
|
|
4174
|
+
section: j,
|
|
4175
|
+
menu: je(j, o.main ?? []),
|
|
4176
|
+
selectedId: r
|
|
4100
4177
|
}
|
|
4101
4178
|
)
|
|
4102
4179
|
},
|
|
4103
|
-
|
|
4180
|
+
j.id
|
|
4104
4181
|
);
|
|
4105
4182
|
});
|
|
4106
|
-
if (
|
|
4107
|
-
const
|
|
4108
|
-
|
|
4183
|
+
if (k && T.length > 0) {
|
|
4184
|
+
const j = e.sections.length, _ = c === j;
|
|
4185
|
+
T.push(
|
|
4109
4186
|
/* @__PURE__ */ u.jsx(
|
|
4110
4187
|
"div",
|
|
4111
4188
|
{
|
|
@@ -4118,60 +4195,60 @@ const co = ({ type: e, scope: t, isSelected: r, sectionId: o, sectionIndex: n =
|
|
|
4118
4195
|
minHeight: 24,
|
|
4119
4196
|
zIndex: 55,
|
|
4120
4197
|
pointerEvents: "auto",
|
|
4121
|
-
backgroundColor:
|
|
4122
|
-
borderTop:
|
|
4198
|
+
backgroundColor: _ ? "rgba(59, 130, 246, 0.4)" : "transparent",
|
|
4199
|
+
borderTop: _ ? "2px solid rgb(96, 165, 250)" : "2px solid transparent"
|
|
4123
4200
|
},
|
|
4124
|
-
onDragOver: (
|
|
4125
|
-
onDragLeave:
|
|
4126
|
-
onDrop: (
|
|
4201
|
+
onDragOver: ($) => C($, j),
|
|
4202
|
+
onDragLeave: E,
|
|
4203
|
+
onDrop: ($) => R($, j)
|
|
4127
4204
|
},
|
|
4128
4205
|
"jp-drop-after-last"
|
|
4129
4206
|
)
|
|
4130
4207
|
);
|
|
4131
4208
|
}
|
|
4132
|
-
return
|
|
4209
|
+
return T;
|
|
4133
4210
|
};
|
|
4134
4211
|
return /* @__PURE__ */ u.jsxs("div", { className: "min-h-screen flex flex-col bg-[var(--color-background)]", children: [
|
|
4135
|
-
|
|
4212
|
+
b != null && /* @__PURE__ */ u.jsx(
|
|
4136
4213
|
"div",
|
|
4137
4214
|
{
|
|
4138
|
-
ref: (
|
|
4139
|
-
|
|
4215
|
+
ref: (k) => {
|
|
4216
|
+
d.current[b.id] = k;
|
|
4140
4217
|
},
|
|
4141
|
-
"data-section-id":
|
|
4142
|
-
onMouseEnter: () =>
|
|
4218
|
+
"data-section-id": b.id,
|
|
4219
|
+
onMouseEnter: () => S(b.id),
|
|
4143
4220
|
children: /* @__PURE__ */ u.jsx(
|
|
4144
|
-
|
|
4221
|
+
Te,
|
|
4145
4222
|
{
|
|
4146
|
-
section:
|
|
4147
|
-
menu:
|
|
4148
|
-
selectedId:
|
|
4223
|
+
section: b,
|
|
4224
|
+
menu: je(b, o.main ?? []),
|
|
4225
|
+
selectedId: r
|
|
4149
4226
|
}
|
|
4150
4227
|
)
|
|
4151
4228
|
}
|
|
4152
4229
|
),
|
|
4153
4230
|
/* @__PURE__ */ u.jsx("main", { className: "flex-1", children: W() }),
|
|
4154
|
-
|
|
4231
|
+
v != null && /* @__PURE__ */ u.jsx(
|
|
4155
4232
|
"div",
|
|
4156
4233
|
{
|
|
4157
|
-
ref: (
|
|
4158
|
-
|
|
4234
|
+
ref: (k) => {
|
|
4235
|
+
d.current[v.id] = k;
|
|
4159
4236
|
},
|
|
4160
|
-
"data-section-id":
|
|
4161
|
-
onMouseEnter: () =>
|
|
4237
|
+
"data-section-id": v.id,
|
|
4238
|
+
onMouseEnter: () => S(v.id),
|
|
4162
4239
|
children: /* @__PURE__ */ u.jsx(
|
|
4163
|
-
|
|
4240
|
+
Te,
|
|
4164
4241
|
{
|
|
4165
|
-
section:
|
|
4166
|
-
menu:
|
|
4167
|
-
selectedId:
|
|
4242
|
+
section: v,
|
|
4243
|
+
menu: je(v, o.main ?? []),
|
|
4244
|
+
selectedId: r
|
|
4168
4245
|
}
|
|
4169
4246
|
)
|
|
4170
4247
|
}
|
|
4171
4248
|
)
|
|
4172
4249
|
] });
|
|
4173
|
-
},
|
|
4174
|
-
const n = `jp-theme-${e}`, s = e === "tenant" ? t :
|
|
4250
|
+
}, yo = ({ mode: e, tenantCss: t, adminCss: o, children: r }) => (_t(() => {
|
|
4251
|
+
const n = `jp-theme-${e}`, s = e === "tenant" ? t : o;
|
|
4175
4252
|
if (!document.getElementById(n) && s) {
|
|
4176
4253
|
const a = document.createElement("style");
|
|
4177
4254
|
a.id = n, a.innerHTML = s, document.head.appendChild(a);
|
|
@@ -4180,23 +4257,23 @@ const co = ({ type: e, scope: t, isSelected: r, sectionId: o, sectionIndex: n =
|
|
|
4180
4257
|
const a = document.getElementById(n);
|
|
4181
4258
|
a && a.remove();
|
|
4182
4259
|
};
|
|
4183
|
-
}, [e, t,
|
|
4184
|
-
function
|
|
4260
|
+
}, [e, t, o]), /* @__PURE__ */ u.jsx(u.Fragment, { children: r }));
|
|
4261
|
+
function tt(e, t) {
|
|
4185
4262
|
if (typeof document > "u") return;
|
|
4186
|
-
const
|
|
4187
|
-
let
|
|
4188
|
-
|
|
4263
|
+
const o = `link[rel="${e}"]`;
|
|
4264
|
+
let r = document.head.querySelector(o);
|
|
4265
|
+
r || (r = document.createElement("link"), r.rel = e, document.head.appendChild(r)), r.href = t;
|
|
4189
4266
|
}
|
|
4190
|
-
function
|
|
4267
|
+
function vo(e, t, o) {
|
|
4191
4268
|
if (typeof document > "u") return;
|
|
4192
|
-
const
|
|
4193
|
-
let n = document.getElementById(
|
|
4194
|
-
n || (n = document.createElement("script"), n.type = "application/ld+json", n.id =
|
|
4269
|
+
const r = "olonjs-webmcp-jsonld";
|
|
4270
|
+
let n = document.getElementById(r);
|
|
4271
|
+
n || (n = document.createElement("script"), n.type = "application/ld+json", n.id = r, document.head.appendChild(n)), n.textContent = JSON.stringify({
|
|
4195
4272
|
"@context": "https://schema.org",
|
|
4196
4273
|
"@type": "WebPage",
|
|
4197
4274
|
name: e,
|
|
4198
4275
|
description: t,
|
|
4199
|
-
url:
|
|
4276
|
+
url: o,
|
|
4200
4277
|
subjectOf: {
|
|
4201
4278
|
"@type": "CreativeWork",
|
|
4202
4279
|
additionalType: "mcp-manifest",
|
|
@@ -4204,95 +4281,167 @@ function bo(e, t, r) {
|
|
|
4204
4281
|
}
|
|
4205
4282
|
});
|
|
4206
4283
|
}
|
|
4207
|
-
function
|
|
4284
|
+
function ge(e) {
|
|
4208
4285
|
return e.split("/").map((t) => t.trim()).filter(Boolean).join("/");
|
|
4209
4286
|
}
|
|
4210
|
-
function
|
|
4211
|
-
const
|
|
4287
|
+
function xo(e, t = "") {
|
|
4288
|
+
const o = ge(t);
|
|
4212
4289
|
let n = e.replace(/\/+/g, "/");
|
|
4213
|
-
if (
|
|
4214
|
-
const a = `/${
|
|
4290
|
+
if (o) {
|
|
4291
|
+
const a = `/${o}`;
|
|
4215
4292
|
n === a ? n = "/" : n.startsWith(`${a}/`) && (n = n.slice(a.length));
|
|
4216
4293
|
}
|
|
4217
|
-
return
|
|
4294
|
+
return ge(n) || "home";
|
|
4218
4295
|
}
|
|
4219
|
-
function
|
|
4220
|
-
const r =
|
|
4221
|
-
return
|
|
4296
|
+
function wo(e, t) {
|
|
4297
|
+
const o = ge(e).split("/").filter(Boolean), r = ge(t).split("/").filter(Boolean);
|
|
4298
|
+
if (o.length !== r.length) return null;
|
|
4299
|
+
const n = {};
|
|
4300
|
+
for (let s = 0; s < o.length; s += 1) {
|
|
4301
|
+
const a = o[s], c = r[s], l = a.match(/^\[([A-Za-z0-9_-]+)\]$/);
|
|
4302
|
+
if (l) {
|
|
4303
|
+
n[l[1]] = c;
|
|
4304
|
+
continue;
|
|
4305
|
+
}
|
|
4306
|
+
if (a !== c) return null;
|
|
4307
|
+
}
|
|
4308
|
+
return n;
|
|
4222
4309
|
}
|
|
4223
|
-
|
|
4310
|
+
function Rt(e, t) {
|
|
4311
|
+
const o = ge(t) || "home", r = e[o];
|
|
4312
|
+
if (r)
|
|
4313
|
+
return {
|
|
4314
|
+
page: r,
|
|
4315
|
+
registrySlug: o,
|
|
4316
|
+
requestedSlug: o,
|
|
4317
|
+
params: {}
|
|
4318
|
+
};
|
|
4319
|
+
for (const [n, s] of Object.entries(e)) {
|
|
4320
|
+
const a = wo(s.slug || n, o);
|
|
4321
|
+
if (a)
|
|
4322
|
+
return {
|
|
4323
|
+
page: s,
|
|
4324
|
+
registrySlug: n,
|
|
4325
|
+
requestedSlug: o,
|
|
4326
|
+
params: a
|
|
4327
|
+
};
|
|
4328
|
+
}
|
|
4329
|
+
}
|
|
4330
|
+
const rt = ({
|
|
4224
4331
|
pageRegistry: e,
|
|
4225
4332
|
siteConfig: t,
|
|
4226
|
-
menuConfig:
|
|
4227
|
-
themeConfig:
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4333
|
+
menuConfig: o,
|
|
4334
|
+
themeConfig: r,
|
|
4335
|
+
collections: n,
|
|
4336
|
+
collectionSchemas: s,
|
|
4337
|
+
refDocuments: a,
|
|
4338
|
+
tenantCss: c,
|
|
4339
|
+
adminCss: l,
|
|
4340
|
+
NotFoundComponent: d
|
|
4232
4341
|
}) => {
|
|
4233
|
-
const
|
|
4234
|
-
() =>
|
|
4235
|
-
|
|
4342
|
+
const g = Mt(), h = xo(g.pathname), b = fe(
|
|
4343
|
+
() => Rt(e, h),
|
|
4344
|
+
[e, h]
|
|
4345
|
+
), v = fe(
|
|
4346
|
+
() => b ? at(b.page, b.params, n) : null,
|
|
4347
|
+
[n, b]
|
|
4348
|
+
), S = fe(
|
|
4349
|
+
() => De({
|
|
4350
|
+
pages: b ? { [b.registrySlug]: b.page } : {},
|
|
4236
4351
|
siteConfig: t,
|
|
4237
|
-
themeConfig:
|
|
4238
|
-
menuConfig:
|
|
4239
|
-
|
|
4352
|
+
themeConfig: r,
|
|
4353
|
+
menuConfig: o,
|
|
4354
|
+
collections: n,
|
|
4355
|
+
collectionSchemas: s,
|
|
4356
|
+
collectionContext: v,
|
|
4357
|
+
refDocuments: a
|
|
4240
4358
|
}),
|
|
4241
|
-
[
|
|
4242
|
-
),
|
|
4243
|
-
return
|
|
4244
|
-
var
|
|
4359
|
+
[b, t, r, o, n, s, v, a]
|
|
4360
|
+
), C = b ? S.pages[b.registrySlug] : void 0;
|
|
4361
|
+
return se(() => {
|
|
4362
|
+
var E;
|
|
4245
4363
|
try {
|
|
4246
|
-
(
|
|
4247
|
-
} catch (
|
|
4248
|
-
console.warn("[JsonPages] visitor theme resolution failed",
|
|
4364
|
+
(E = S.themeConfig) != null && E.tokens && ct.setTheme(S.themeConfig);
|
|
4365
|
+
} catch (R) {
|
|
4366
|
+
console.warn("[JsonPages] visitor theme resolution failed", R);
|
|
4249
4367
|
}
|
|
4250
|
-
}, [
|
|
4251
|
-
var
|
|
4252
|
-
if (!
|
|
4253
|
-
const
|
|
4254
|
-
|
|
4255
|
-
}, [
|
|
4256
|
-
|
|
4368
|
+
}, [S.themeConfig]), se(() => {
|
|
4369
|
+
var W, k;
|
|
4370
|
+
if (!C) return;
|
|
4371
|
+
const E = typeof ((W = C.meta) == null ? void 0 : W.title) == "string" ? C.meta.title : h, R = typeof ((k = C.meta) == null ? void 0 : k.description) == "string" ? C.meta.description : "";
|
|
4372
|
+
tt("mcp-manifest", er(h)), tt("olon-contract", Qt(h)), vo(E, R, h === "home" ? "/" : `/${h}`);
|
|
4373
|
+
}, [C, h]), C ? /* @__PURE__ */ u.jsx(yo, { mode: "tenant", tenantCss: c, adminCss: l, children: /* @__PURE__ */ u.jsx(dr, { mode: "visitor", children: /* @__PURE__ */ u.jsx(
|
|
4374
|
+
bo,
|
|
4257
4375
|
{
|
|
4258
|
-
pageConfig:
|
|
4259
|
-
siteConfig:
|
|
4260
|
-
menuConfig:
|
|
4376
|
+
pageConfig: C,
|
|
4377
|
+
siteConfig: S.siteConfig,
|
|
4378
|
+
menuConfig: S.menuConfig
|
|
4261
4379
|
}
|
|
4262
|
-
) }) }) : /* @__PURE__ */ u.jsx(
|
|
4380
|
+
) }) }) : /* @__PURE__ */ u.jsx(d, {});
|
|
4263
4381
|
};
|
|
4264
|
-
function
|
|
4382
|
+
function ko(e) {
|
|
4265
4383
|
const t = {
|
|
4266
4384
|
pageRegistry: e.pageRegistry,
|
|
4267
4385
|
siteConfig: e.siteConfig,
|
|
4268
4386
|
menuConfig: e.menuConfig,
|
|
4269
4387
|
themeConfig: e.themeConfig,
|
|
4388
|
+
collections: e.collections,
|
|
4389
|
+
collectionSchemas: e.collectionSchemas,
|
|
4270
4390
|
refDocuments: e.refDocuments,
|
|
4271
4391
|
tenantCss: e.tenantCss,
|
|
4272
4392
|
adminCss: e.adminCss,
|
|
4273
4393
|
// empty string at the Core level for runtime; ignored by ThemeLoader in tenant mode
|
|
4274
4394
|
NotFoundComponent: e.NotFoundComponent
|
|
4275
4395
|
};
|
|
4276
|
-
return /* @__PURE__ */ u.jsxs(
|
|
4277
|
-
/* @__PURE__ */ u.jsx(
|
|
4278
|
-
/* @__PURE__ */ u.jsx(
|
|
4279
|
-
/* @__PURE__ */ u.jsx(
|
|
4396
|
+
return /* @__PURE__ */ u.jsxs(xe, { element: /* @__PURE__ */ u.jsx(lr, {}), children: [
|
|
4397
|
+
/* @__PURE__ */ u.jsx(xe, { path: "/", element: /* @__PURE__ */ u.jsx(rt, { ...t }) }),
|
|
4398
|
+
/* @__PURE__ */ u.jsx(xe, { path: "/*", element: /* @__PURE__ */ u.jsx(rt, { ...t }) }),
|
|
4399
|
+
/* @__PURE__ */ u.jsx(xe, { path: "*", element: /* @__PURE__ */ u.jsx(e.NotFoundComponent, {}) })
|
|
4280
4400
|
] });
|
|
4281
4401
|
}
|
|
4282
|
-
function
|
|
4283
|
-
return /* @__PURE__ */ u.jsx(
|
|
4402
|
+
function zo({ config: e }) {
|
|
4403
|
+
return /* @__PURE__ */ u.jsx(cr, { config: e, routesBuilder: ko });
|
|
4284
4404
|
}
|
|
4285
|
-
|
|
4286
|
-
const
|
|
4287
|
-
if (!
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4405
|
+
function No(e) {
|
|
4406
|
+
const t = Rt(e.pages, e.slug);
|
|
4407
|
+
if (!t) return null;
|
|
4408
|
+
const o = at(
|
|
4409
|
+
t.page,
|
|
4410
|
+
t.params,
|
|
4411
|
+
e.collections
|
|
4412
|
+
), r = De({
|
|
4413
|
+
pages: { [t.registrySlug]: t.page },
|
|
4414
|
+
siteConfig: e.siteConfig,
|
|
4415
|
+
themeConfig: e.themeConfig,
|
|
4416
|
+
menuConfig: e.menuConfig,
|
|
4417
|
+
collections: e.collections,
|
|
4418
|
+
collectionSchemas: e.collectionSchemas,
|
|
4419
|
+
collectionContext: o,
|
|
4420
|
+
refDocuments: e.refDocuments
|
|
4421
|
+
});
|
|
4422
|
+
return {
|
|
4423
|
+
page: {
|
|
4424
|
+
...r.pages[t.registrySlug] ?? t.page,
|
|
4425
|
+
slug: t.requestedSlug
|
|
4426
|
+
},
|
|
4427
|
+
siteConfig: r.siteConfig,
|
|
4428
|
+
themeConfig: r.themeConfig,
|
|
4429
|
+
menuConfig: r.menuConfig,
|
|
4430
|
+
pageMatch: t,
|
|
4431
|
+
collectionContext: r.collectionContext
|
|
4432
|
+
};
|
|
4433
|
+
}
|
|
4434
|
+
const jo = /\.(jpg|jpeg|png|gif|svg|pdf|webp|mp4|webm|ogg)$/i, So = /^[a-zA-Z][a-zA-Z\d+\-.]*:/, Co = (e) => So.test(e), Io = (e, t = "default", o = "/") => {
|
|
4435
|
+
const r = e.trim();
|
|
4436
|
+
if (!r || Co(r) || r.startsWith("#"))
|
|
4437
|
+
return r;
|
|
4438
|
+
if (r.startsWith("/assets/") || r.startsWith("/uploaded-assets/")) return Se(r, o);
|
|
4439
|
+
if (r.startsWith("assets/")) return Se(`/${r}`, o);
|
|
4440
|
+
if (!jo.test(r))
|
|
4441
|
+
return Se(r.startsWith("/") ? r : `/${r}`, o);
|
|
4442
|
+
const s = r.replace(/^\//, "");
|
|
4443
|
+
return Se(`/assets/${t}/${s}`, o);
|
|
4444
|
+
}, $o = {
|
|
4296
4445
|
UPDATE_DRAFTS: "jsonpages:update-drafts",
|
|
4297
4446
|
SYNC_SELECTION: "jsonpages:sync-selection",
|
|
4298
4447
|
SECTION_SELECT: "jsonpages:section-select",
|
|
@@ -4304,44 +4453,46 @@ const xo = /\.(jpg|jpeg|png|gif|svg|pdf|webp|mp4|webm|ogg)$/i, vo = /^[a-zA-Z][a
|
|
|
4304
4453
|
STAGE_READY: "jsonpages:stage-ready",
|
|
4305
4454
|
WEBMCP_TOOL_CALL: "olonjs:webmcp:tool-call",
|
|
4306
4455
|
WEBMCP_TOOL_RESULT: "olonjs:webmcp:tool-result"
|
|
4307
|
-
},
|
|
4456
|
+
}, Mo = I.object({
|
|
4308
4457
|
url: I.string(),
|
|
4309
4458
|
alt: I.string().optional()
|
|
4310
|
-
}).describe("ui:image-picker"),
|
|
4459
|
+
}).describe("ui:image-picker"), Lo = I.object({
|
|
4311
4460
|
id: I.string().optional(),
|
|
4312
4461
|
anchorId: I.string().optional().describe("ui:text")
|
|
4313
|
-
}),
|
|
4462
|
+
}), Do = I.object({
|
|
4314
4463
|
id: I.string().optional()
|
|
4315
|
-
}),
|
|
4464
|
+
}), Fo = I.object({
|
|
4465
|
+
id: I.string()
|
|
4466
|
+
}), Wo = I.object({
|
|
4316
4467
|
paddingTop: I.enum(["none", "sm", "md", "lg", "xl", "2xl"]).default("md").describe("ui:select"),
|
|
4317
4468
|
paddingBottom: I.enum(["none", "sm", "md", "lg", "xl", "2xl"]).default("md").describe("ui:select"),
|
|
4318
4469
|
theme: I.enum(["dark", "light", "accent"]).default("dark").describe("ui:select"),
|
|
4319
4470
|
container: I.enum(["boxed", "fluid"]).default("boxed").describe("ui:select")
|
|
4320
|
-
}),
|
|
4471
|
+
}), Bo = I.object({
|
|
4321
4472
|
id: I.string().optional(),
|
|
4322
4473
|
label: I.string().describe("ui:text"),
|
|
4323
4474
|
href: I.string().describe("ui:text"),
|
|
4324
4475
|
variant: I.enum(["primary", "secondary", "accent"]).default("primary").describe("ui:select")
|
|
4325
|
-
}),
|
|
4476
|
+
}), Uo = I.object({
|
|
4326
4477
|
recipientEmail: I.string().optional().describe("ui:text")
|
|
4327
4478
|
});
|
|
4328
|
-
function
|
|
4479
|
+
function Eo(e) {
|
|
4329
4480
|
const t = e.split(`
|
|
4330
4481
|
`).map((n) => n.trimEnd()).filter((n) => n.length > 0);
|
|
4331
4482
|
if (t.length === 0) return null;
|
|
4332
|
-
let
|
|
4333
|
-
const
|
|
4483
|
+
let o = "message";
|
|
4484
|
+
const r = [];
|
|
4334
4485
|
for (const n of t) {
|
|
4335
4486
|
if (n.startsWith("event:")) {
|
|
4336
|
-
|
|
4487
|
+
o = n.slice(6).trim();
|
|
4337
4488
|
continue;
|
|
4338
4489
|
}
|
|
4339
|
-
n.startsWith("data:") &&
|
|
4490
|
+
n.startsWith("data:") && r.push(n.slice(5).trim());
|
|
4340
4491
|
}
|
|
4341
|
-
return { event:
|
|
4492
|
+
return { event: o, data: r.join(`
|
|
4342
4493
|
`) };
|
|
4343
4494
|
}
|
|
4344
|
-
async function
|
|
4495
|
+
async function Go(e) {
|
|
4345
4496
|
var a;
|
|
4346
4497
|
const t = await fetch(`${e.apiBaseUrl}/save-stream`, {
|
|
4347
4498
|
method: "POST",
|
|
@@ -4360,30 +4511,30 @@ async function Mo(e) {
|
|
|
4360
4511
|
const c = await t.json().catch(() => ({}));
|
|
4361
4512
|
throw new Error(c.message ?? `Cloud save stream failed: ${t.status}`);
|
|
4362
4513
|
}
|
|
4363
|
-
const
|
|
4514
|
+
const o = t.body.getReader(), r = new TextDecoder();
|
|
4364
4515
|
let n = "", s = !1;
|
|
4365
4516
|
for (; ; ) {
|
|
4366
|
-
const { value: c, done: l } = await
|
|
4367
|
-
l ? n +=
|
|
4368
|
-
const
|
|
4517
|
+
const { value: c, done: l } = await o.read();
|
|
4518
|
+
l ? n += r.decode() : n += r.decode(c, { stream: !0 });
|
|
4519
|
+
const d = n.split(`
|
|
4369
4520
|
|
|
4370
4521
|
`);
|
|
4371
|
-
n = l ? "" :
|
|
4372
|
-
for (const
|
|
4373
|
-
const h =
|
|
4522
|
+
n = l ? "" : d.pop() ?? "";
|
|
4523
|
+
for (const g of d) {
|
|
4524
|
+
const h = Eo(g);
|
|
4374
4525
|
if (h && h.data) {
|
|
4375
4526
|
if (h.event === "step") {
|
|
4376
|
-
const
|
|
4377
|
-
e.onStep(
|
|
4527
|
+
const b = JSON.parse(h.data);
|
|
4528
|
+
e.onStep(b);
|
|
4378
4529
|
} else if (h.event === "log") {
|
|
4379
|
-
const
|
|
4380
|
-
(a = e.onLog) == null || a.call(e,
|
|
4530
|
+
const b = JSON.parse(h.data);
|
|
4531
|
+
(a = e.onLog) == null || a.call(e, b);
|
|
4381
4532
|
} else if (h.event === "error") {
|
|
4382
|
-
const
|
|
4383
|
-
throw new Error(
|
|
4533
|
+
const b = JSON.parse(h.data);
|
|
4534
|
+
throw new Error(b.message ?? "Cloud save failed.");
|
|
4384
4535
|
} else if (h.event === "done") {
|
|
4385
|
-
const
|
|
4386
|
-
e.onDone(
|
|
4536
|
+
const b = JSON.parse(h.data);
|
|
4537
|
+
e.onDone(b), s = !0;
|
|
4387
4538
|
}
|
|
4388
4539
|
}
|
|
4389
4540
|
}
|
|
@@ -4392,7 +4543,7 @@ async function Mo(e) {
|
|
|
4392
4543
|
if (!s)
|
|
4393
4544
|
throw new Error("Cloud save stream ended before completion.");
|
|
4394
4545
|
}
|
|
4395
|
-
const
|
|
4546
|
+
const Vo = [
|
|
4396
4547
|
{
|
|
4397
4548
|
id: "commit",
|
|
4398
4549
|
label: "Commit",
|
|
@@ -4429,38 +4580,40 @@ const Do = [
|
|
|
4429
4580
|
glyph: "✦",
|
|
4430
4581
|
duration: 1600
|
|
4431
4582
|
}
|
|
4432
|
-
],
|
|
4433
|
-
function
|
|
4434
|
-
return
|
|
4583
|
+
], To = { status: "idle", message: "" }, Ro = Oe({});
|
|
4584
|
+
function Jo(e) {
|
|
4585
|
+
return _e(Ro)[e] ?? To;
|
|
4435
4586
|
}
|
|
4436
4587
|
export {
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4588
|
+
Do as BaseArrayItem,
|
|
4589
|
+
Fo as BaseCollectionItem,
|
|
4590
|
+
Lo as BaseSectionData,
|
|
4591
|
+
Wo as BaseSectionSettingsSchema,
|
|
4592
|
+
rr as ConfigProvider,
|
|
4593
|
+
Bo as CtaSchema,
|
|
4594
|
+
Vo as DEPLOY_STEPS,
|
|
4595
|
+
tr as DefaultNotFound,
|
|
4596
|
+
dt as IconRegistryContext,
|
|
4597
|
+
Mo as ImageSelectionSchema,
|
|
4598
|
+
Ro as OlonFormsContext,
|
|
4599
|
+
zo as OlonJSEngine,
|
|
4600
|
+
bo as PageRenderer,
|
|
4601
|
+
$o as STUDIO_EVENTS,
|
|
4602
|
+
Te as SectionRenderer,
|
|
4603
|
+
dr as StudioProvider,
|
|
4604
|
+
yo as ThemeLoader,
|
|
4605
|
+
Uo as WithFormRecipient,
|
|
4606
|
+
sr as buildThemeVariableMap,
|
|
4455
4607
|
Le as cn,
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4608
|
+
$e as normalizeBasePath,
|
|
4609
|
+
Io as resolveAssetUrl,
|
|
4610
|
+
No as resolvePublicPageDocument,
|
|
4611
|
+
De as resolveRuntimeConfig,
|
|
4612
|
+
Go as startCloudSaveStream,
|
|
4613
|
+
ct as themeManager,
|
|
4614
|
+
or as useConfig,
|
|
4615
|
+
Jo as useFormState,
|
|
4616
|
+
Po as useIconRegistry,
|
|
4617
|
+
ur as useStudio,
|
|
4618
|
+
Se as withBasePath
|
|
4466
4619
|
};
|