@openpawlabs/diy-guides-ui 1.5.5 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/GuideLayout/GuideLayout.d.ts +9 -4
- package/dist/components/GuideLayout/GuideLayout.d.ts.map +1 -1
- package/dist/components/GuideLayout/GuideLayout.stories.d.ts +2 -1
- package/dist/components/GuideLayout/GuideLayout.stories.d.ts.map +1 -1
- package/dist/components/LinkButton/LinkButton.d.ts.map +1 -1
- package/dist/diy-guides-ui.cjs +1 -1
- package/dist/diy-guides-ui.cjs.map +1 -1
- package/dist/diy-guides-ui.js +230 -202
- package/dist/diy-guides-ui.js.map +1 -1
- package/dist/stories/Welcome.stories.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/diy-guides-ui.js
CHANGED
|
@@ -3,7 +3,7 @@ var Jo = (t) => {
|
|
|
3
3
|
};
|
|
4
4
|
var Qo = (t, e, n) => e.has(t) || Jo("Cannot " + n);
|
|
5
5
|
var ei = (t, e, n) => (Qo(t, e, "read from private field"), n ? n.call(t) : e.get(t)), ti = (t, e, n) => e.has(t) ? Jo("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), pr = (t, e, n, r) => (Qo(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n);
|
|
6
|
-
import { jsx as b, Fragment as lt, jsxs as
|
|
6
|
+
import { jsx as b, Fragment as lt, jsxs as z } from "react/jsx-runtime";
|
|
7
7
|
import P, { useContext as _, createContext as q, useState as G, useRef as A, useCallback as Z, useEffect as Y, useMemo as Q, forwardRef as Ee, useReducer as Dl, cloneElement as pt, isValidElement as vt, useLayoutEffect as Nl, Children as Nt, useId as Jc } from "react";
|
|
8
8
|
import Qc, { flushSync as mo, createPortal as eu } from "react-dom";
|
|
9
9
|
const rt = {
|
|
@@ -1630,7 +1630,7 @@ const id = (t, e) => {
|
|
|
1630
1630
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
1631
1631
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
1632
1632
|
Td.test(t) && !Md.test(t)
|
|
1633
|
-
), ts = () => !1, Rd = (t) => Dd.test(t), Kd = (t) => Nd.test(t), Ad = (t) => !
|
|
1633
|
+
), ts = () => !1, Rd = (t) => Dd.test(t), Kd = (t) => Nd.test(t), Ad = (t) => !H(t) && !U(t), Od = (t) => At(t, os, ts), H = (t) => Ql.test(t), dt = (t) => At(t, is, Ld), xr = (t) => At(t, zd, oe), hi = (t) => At(t, ns, ts), Fd = (t) => At(t, rs, Kd), gn = (t) => At(t, ls, Rd), U = (t) => es.test(t), Vt = (t) => Ot(t, is), _d = (t) => Ot(t, Hd), pi = (t) => Ot(t, ns), Bd = (t) => Ot(t, os), Vd = (t) => Ot(t, rs), yn = (t) => Ot(t, ls, !0), At = (t, e, n) => {
|
|
1634
1634
|
const r = Ql.exec(t);
|
|
1635
1635
|
return r ? r[1] ? e(r[1]) : n(r[2]) : !1;
|
|
1636
1636
|
}, Ot = (t, e, n = !1) => {
|
|
@@ -1655,30 +1655,30 @@ const id = (t, e) => {
|
|
|
1655
1655
|
"bottom-left",
|
|
1656
1656
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
1657
1657
|
"left-bottom"
|
|
1658
|
-
], D = () => [...T(),
|
|
1659
|
-
span: ["full", Je,
|
|
1660
|
-
}, Je,
|
|
1661
|
-
position: [
|
|
1658
|
+
], D = () => [...T(), U, H], K = () => ["auto", "hidden", "clip", "visible", "scroll"], M = () => ["auto", "contain", "none"], I = () => [U, H, a], F = () => [wt, "full", "auto", ...I()], k = () => [Je, "none", "subgrid", U, H], O = () => ["auto", {
|
|
1659
|
+
span: ["full", Je, U, H]
|
|
1660
|
+
}, Je, U, H], W = () => [Je, "auto", U, H], V = () => ["auto", "min", "max", "fr", U, H], p = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], w = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], L = () => ["auto", ...I()], E = () => [wt, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...I()], N = () => [t, U, H], $ = () => [...T(), pi, hi, {
|
|
1661
|
+
position: [U, H]
|
|
1662
1662
|
}], S = () => ["no-repeat", {
|
|
1663
1663
|
repeat: ["", "x", "y", "space", "round"]
|
|
1664
1664
|
}], R = () => ["auto", "cover", "contain", Bd, Od, {
|
|
1665
|
-
size: [
|
|
1665
|
+
size: [U, H]
|
|
1666
1666
|
}], J = () => [$r, Vt, dt], ee = () => [
|
|
1667
1667
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1668
1668
|
"",
|
|
1669
1669
|
"none",
|
|
1670
1670
|
"full",
|
|
1671
1671
|
c,
|
|
1672
|
-
|
|
1673
|
-
|
|
1672
|
+
U,
|
|
1673
|
+
H
|
|
1674
1674
|
], te = () => ["", oe, Vt, dt], ae = () => ["solid", "dashed", "dotted", "double"], pe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], ie = () => [oe, $r, pi, hi], Se = () => [
|
|
1675
1675
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1676
1676
|
"",
|
|
1677
1677
|
"none",
|
|
1678
1678
|
m,
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
], ze = () => ["none", oe,
|
|
1679
|
+
U,
|
|
1680
|
+
H
|
|
1681
|
+
], ze = () => ["none", oe, U, H], j = () => ["none", oe, U, H], De = () => [oe, U, H], Pe = () => [wt, "full", ...I()];
|
|
1682
1682
|
return {
|
|
1683
1683
|
cacheSize: 500,
|
|
1684
1684
|
theme: {
|
|
@@ -1711,7 +1711,7 @@ const id = (t, e) => {
|
|
|
1711
1711
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
1712
1712
|
*/
|
|
1713
1713
|
aspect: [{
|
|
1714
|
-
aspect: ["auto", "square", wt,
|
|
1714
|
+
aspect: ["auto", "square", wt, H, U, y]
|
|
1715
1715
|
}],
|
|
1716
1716
|
/**
|
|
1717
1717
|
* Container
|
|
@@ -1724,7 +1724,7 @@ const id = (t, e) => {
|
|
|
1724
1724
|
* @see https://tailwindcss.com/docs/columns
|
|
1725
1725
|
*/
|
|
1726
1726
|
columns: [{
|
|
1727
|
-
columns: [oe,
|
|
1727
|
+
columns: [oe, H, U, s]
|
|
1728
1728
|
}],
|
|
1729
1729
|
/**
|
|
1730
1730
|
* Break After
|
|
@@ -1924,7 +1924,7 @@ const id = (t, e) => {
|
|
|
1924
1924
|
* @see https://tailwindcss.com/docs/z-index
|
|
1925
1925
|
*/
|
|
1926
1926
|
z: [{
|
|
1927
|
-
z: [Je, "auto",
|
|
1927
|
+
z: [Je, "auto", U, H]
|
|
1928
1928
|
}],
|
|
1929
1929
|
// ------------------------
|
|
1930
1930
|
// --- Flexbox and Grid ---
|
|
@@ -1955,28 +1955,28 @@ const id = (t, e) => {
|
|
|
1955
1955
|
* @see https://tailwindcss.com/docs/flex
|
|
1956
1956
|
*/
|
|
1957
1957
|
flex: [{
|
|
1958
|
-
flex: [oe, wt, "auto", "initial", "none",
|
|
1958
|
+
flex: [oe, wt, "auto", "initial", "none", H]
|
|
1959
1959
|
}],
|
|
1960
1960
|
/**
|
|
1961
1961
|
* Flex Grow
|
|
1962
1962
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
1963
1963
|
*/
|
|
1964
1964
|
grow: [{
|
|
1965
|
-
grow: ["", oe,
|
|
1965
|
+
grow: ["", oe, U, H]
|
|
1966
1966
|
}],
|
|
1967
1967
|
/**
|
|
1968
1968
|
* Flex Shrink
|
|
1969
1969
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1970
1970
|
*/
|
|
1971
1971
|
shrink: [{
|
|
1972
|
-
shrink: ["", oe,
|
|
1972
|
+
shrink: ["", oe, U, H]
|
|
1973
1973
|
}],
|
|
1974
1974
|
/**
|
|
1975
1975
|
* Order
|
|
1976
1976
|
* @see https://tailwindcss.com/docs/order
|
|
1977
1977
|
*/
|
|
1978
1978
|
order: [{
|
|
1979
|
-
order: [Je, "first", "last", "none",
|
|
1979
|
+
order: [Je, "first", "last", "none", U, H]
|
|
1980
1980
|
}],
|
|
1981
1981
|
/**
|
|
1982
1982
|
* Grid Template Columns
|
|
@@ -2388,21 +2388,21 @@ const id = (t, e) => {
|
|
|
2388
2388
|
* @see https://tailwindcss.com/docs/font-weight
|
|
2389
2389
|
*/
|
|
2390
2390
|
"font-weight": [{
|
|
2391
|
-
font: [r,
|
|
2391
|
+
font: [r, U, xr]
|
|
2392
2392
|
}],
|
|
2393
2393
|
/**
|
|
2394
2394
|
* Font Stretch
|
|
2395
2395
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
2396
2396
|
*/
|
|
2397
2397
|
"font-stretch": [{
|
|
2398
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", $r,
|
|
2398
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", $r, H]
|
|
2399
2399
|
}],
|
|
2400
2400
|
/**
|
|
2401
2401
|
* Font Family
|
|
2402
2402
|
* @see https://tailwindcss.com/docs/font-family
|
|
2403
2403
|
*/
|
|
2404
2404
|
"font-family": [{
|
|
2405
|
-
font: [_d,
|
|
2405
|
+
font: [_d, H, e]
|
|
2406
2406
|
}],
|
|
2407
2407
|
/**
|
|
2408
2408
|
* Font Variant Numeric
|
|
@@ -2439,14 +2439,14 @@ const id = (t, e) => {
|
|
|
2439
2439
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
2440
2440
|
*/
|
|
2441
2441
|
tracking: [{
|
|
2442
|
-
tracking: [o,
|
|
2442
|
+
tracking: [o, U, H]
|
|
2443
2443
|
}],
|
|
2444
2444
|
/**
|
|
2445
2445
|
* Line Clamp
|
|
2446
2446
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
2447
2447
|
*/
|
|
2448
2448
|
"line-clamp": [{
|
|
2449
|
-
"line-clamp": [oe, "none",
|
|
2449
|
+
"line-clamp": [oe, "none", U, xr]
|
|
2450
2450
|
}],
|
|
2451
2451
|
/**
|
|
2452
2452
|
* Line Height
|
|
@@ -2464,7 +2464,7 @@ const id = (t, e) => {
|
|
|
2464
2464
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
2465
2465
|
*/
|
|
2466
2466
|
"list-image": [{
|
|
2467
|
-
"list-image": ["none",
|
|
2467
|
+
"list-image": ["none", U, H]
|
|
2468
2468
|
}],
|
|
2469
2469
|
/**
|
|
2470
2470
|
* List Style Position
|
|
@@ -2478,7 +2478,7 @@ const id = (t, e) => {
|
|
|
2478
2478
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
2479
2479
|
*/
|
|
2480
2480
|
"list-style-type": [{
|
|
2481
|
-
list: ["disc", "decimal", "none",
|
|
2481
|
+
list: ["disc", "decimal", "none", U, H]
|
|
2482
2482
|
}],
|
|
2483
2483
|
/**
|
|
2484
2484
|
* Text Alignment
|
|
@@ -2519,7 +2519,7 @@ const id = (t, e) => {
|
|
|
2519
2519
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
2520
2520
|
*/
|
|
2521
2521
|
"text-decoration-thickness": [{
|
|
2522
|
-
decoration: [oe, "from-font", "auto",
|
|
2522
|
+
decoration: [oe, "from-font", "auto", U, dt]
|
|
2523
2523
|
}],
|
|
2524
2524
|
/**
|
|
2525
2525
|
* Text Decoration Color
|
|
@@ -2533,7 +2533,7 @@ const id = (t, e) => {
|
|
|
2533
2533
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
2534
2534
|
*/
|
|
2535
2535
|
"underline-offset": [{
|
|
2536
|
-
"underline-offset": [oe, "auto",
|
|
2536
|
+
"underline-offset": [oe, "auto", U, H]
|
|
2537
2537
|
}],
|
|
2538
2538
|
/**
|
|
2539
2539
|
* Text Transform
|
|
@@ -2564,7 +2564,7 @@ const id = (t, e) => {
|
|
|
2564
2564
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
2565
2565
|
*/
|
|
2566
2566
|
"vertical-align": [{
|
|
2567
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
2567
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", U, H]
|
|
2568
2568
|
}],
|
|
2569
2569
|
/**
|
|
2570
2570
|
* Whitespace
|
|
@@ -2599,7 +2599,7 @@ const id = (t, e) => {
|
|
|
2599
2599
|
* @see https://tailwindcss.com/docs/content
|
|
2600
2600
|
*/
|
|
2601
2601
|
content: [{
|
|
2602
|
-
content: ["none",
|
|
2602
|
+
content: ["none", U, H]
|
|
2603
2603
|
}],
|
|
2604
2604
|
// -------------------
|
|
2605
2605
|
// --- Backgrounds ---
|
|
@@ -2654,9 +2654,9 @@ const id = (t, e) => {
|
|
|
2654
2654
|
bg: ["none", {
|
|
2655
2655
|
linear: [{
|
|
2656
2656
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
2657
|
-
}, Je,
|
|
2658
|
-
radial: ["",
|
|
2659
|
-
conic: [Je,
|
|
2657
|
+
}, Je, U, H],
|
|
2658
|
+
radial: ["", U, H],
|
|
2659
|
+
conic: [Je, U, H]
|
|
2660
2660
|
}, Vd, Fd]
|
|
2661
2661
|
}],
|
|
2662
2662
|
/**
|
|
@@ -2999,7 +2999,7 @@ const id = (t, e) => {
|
|
|
2999
2999
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
3000
3000
|
*/
|
|
3001
3001
|
"outline-offset": [{
|
|
3002
|
-
"outline-offset": [oe,
|
|
3002
|
+
"outline-offset": [oe, U, H]
|
|
3003
3003
|
}],
|
|
3004
3004
|
/**
|
|
3005
3005
|
* Outline Width
|
|
@@ -3125,7 +3125,7 @@ const id = (t, e) => {
|
|
|
3125
3125
|
* @see https://tailwindcss.com/docs/opacity
|
|
3126
3126
|
*/
|
|
3127
3127
|
opacity: [{
|
|
3128
|
-
opacity: [oe,
|
|
3128
|
+
opacity: [oe, U, H]
|
|
3129
3129
|
}],
|
|
3130
3130
|
/**
|
|
3131
3131
|
* Mix Blend Mode
|
|
@@ -3247,7 +3247,7 @@ const id = (t, e) => {
|
|
|
3247
3247
|
"mask-y-to": N()
|
|
3248
3248
|
}],
|
|
3249
3249
|
"mask-image-radial": [{
|
|
3250
|
-
"mask-radial": [
|
|
3250
|
+
"mask-radial": [U, H]
|
|
3251
3251
|
}],
|
|
3252
3252
|
"mask-image-radial-from-pos": [{
|
|
3253
3253
|
"mask-radial-from": ie()
|
|
@@ -3335,7 +3335,7 @@ const id = (t, e) => {
|
|
|
3335
3335
|
* @see https://tailwindcss.com/docs/mask-image
|
|
3336
3336
|
*/
|
|
3337
3337
|
"mask-image": [{
|
|
3338
|
-
mask: ["none",
|
|
3338
|
+
mask: ["none", U, H]
|
|
3339
3339
|
}],
|
|
3340
3340
|
// ---------------
|
|
3341
3341
|
// --- Filters ---
|
|
@@ -3349,8 +3349,8 @@ const id = (t, e) => {
|
|
|
3349
3349
|
// Deprecated since Tailwind CSS v3.0.0
|
|
3350
3350
|
"",
|
|
3351
3351
|
"none",
|
|
3352
|
-
|
|
3353
|
-
|
|
3352
|
+
U,
|
|
3353
|
+
H
|
|
3354
3354
|
]
|
|
3355
3355
|
}],
|
|
3356
3356
|
/**
|
|
@@ -3365,14 +3365,14 @@ const id = (t, e) => {
|
|
|
3365
3365
|
* @see https://tailwindcss.com/docs/brightness
|
|
3366
3366
|
*/
|
|
3367
3367
|
brightness: [{
|
|
3368
|
-
brightness: [oe,
|
|
3368
|
+
brightness: [oe, U, H]
|
|
3369
3369
|
}],
|
|
3370
3370
|
/**
|
|
3371
3371
|
* Contrast
|
|
3372
3372
|
* @see https://tailwindcss.com/docs/contrast
|
|
3373
3373
|
*/
|
|
3374
3374
|
contrast: [{
|
|
3375
|
-
contrast: [oe,
|
|
3375
|
+
contrast: [oe, U, H]
|
|
3376
3376
|
}],
|
|
3377
3377
|
/**
|
|
3378
3378
|
* Drop Shadow
|
|
@@ -3400,35 +3400,35 @@ const id = (t, e) => {
|
|
|
3400
3400
|
* @see https://tailwindcss.com/docs/grayscale
|
|
3401
3401
|
*/
|
|
3402
3402
|
grayscale: [{
|
|
3403
|
-
grayscale: ["", oe,
|
|
3403
|
+
grayscale: ["", oe, U, H]
|
|
3404
3404
|
}],
|
|
3405
3405
|
/**
|
|
3406
3406
|
* Hue Rotate
|
|
3407
3407
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
3408
3408
|
*/
|
|
3409
3409
|
"hue-rotate": [{
|
|
3410
|
-
"hue-rotate": [oe,
|
|
3410
|
+
"hue-rotate": [oe, U, H]
|
|
3411
3411
|
}],
|
|
3412
3412
|
/**
|
|
3413
3413
|
* Invert
|
|
3414
3414
|
* @see https://tailwindcss.com/docs/invert
|
|
3415
3415
|
*/
|
|
3416
3416
|
invert: [{
|
|
3417
|
-
invert: ["", oe,
|
|
3417
|
+
invert: ["", oe, U, H]
|
|
3418
3418
|
}],
|
|
3419
3419
|
/**
|
|
3420
3420
|
* Saturate
|
|
3421
3421
|
* @see https://tailwindcss.com/docs/saturate
|
|
3422
3422
|
*/
|
|
3423
3423
|
saturate: [{
|
|
3424
|
-
saturate: [oe,
|
|
3424
|
+
saturate: [oe, U, H]
|
|
3425
3425
|
}],
|
|
3426
3426
|
/**
|
|
3427
3427
|
* Sepia
|
|
3428
3428
|
* @see https://tailwindcss.com/docs/sepia
|
|
3429
3429
|
*/
|
|
3430
3430
|
sepia: [{
|
|
3431
|
-
sepia: ["", oe,
|
|
3431
|
+
sepia: ["", oe, U, H]
|
|
3432
3432
|
}],
|
|
3433
3433
|
/**
|
|
3434
3434
|
* Backdrop Filter
|
|
@@ -3439,8 +3439,8 @@ const id = (t, e) => {
|
|
|
3439
3439
|
// Deprecated since Tailwind CSS v3.0.0
|
|
3440
3440
|
"",
|
|
3441
3441
|
"none",
|
|
3442
|
-
|
|
3443
|
-
|
|
3442
|
+
U,
|
|
3443
|
+
H
|
|
3444
3444
|
]
|
|
3445
3445
|
}],
|
|
3446
3446
|
/**
|
|
@@ -3455,56 +3455,56 @@ const id = (t, e) => {
|
|
|
3455
3455
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
3456
3456
|
*/
|
|
3457
3457
|
"backdrop-brightness": [{
|
|
3458
|
-
"backdrop-brightness": [oe,
|
|
3458
|
+
"backdrop-brightness": [oe, U, H]
|
|
3459
3459
|
}],
|
|
3460
3460
|
/**
|
|
3461
3461
|
* Backdrop Contrast
|
|
3462
3462
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
3463
3463
|
*/
|
|
3464
3464
|
"backdrop-contrast": [{
|
|
3465
|
-
"backdrop-contrast": [oe,
|
|
3465
|
+
"backdrop-contrast": [oe, U, H]
|
|
3466
3466
|
}],
|
|
3467
3467
|
/**
|
|
3468
3468
|
* Backdrop Grayscale
|
|
3469
3469
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
3470
3470
|
*/
|
|
3471
3471
|
"backdrop-grayscale": [{
|
|
3472
|
-
"backdrop-grayscale": ["", oe,
|
|
3472
|
+
"backdrop-grayscale": ["", oe, U, H]
|
|
3473
3473
|
}],
|
|
3474
3474
|
/**
|
|
3475
3475
|
* Backdrop Hue Rotate
|
|
3476
3476
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
3477
3477
|
*/
|
|
3478
3478
|
"backdrop-hue-rotate": [{
|
|
3479
|
-
"backdrop-hue-rotate": [oe,
|
|
3479
|
+
"backdrop-hue-rotate": [oe, U, H]
|
|
3480
3480
|
}],
|
|
3481
3481
|
/**
|
|
3482
3482
|
* Backdrop Invert
|
|
3483
3483
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
3484
3484
|
*/
|
|
3485
3485
|
"backdrop-invert": [{
|
|
3486
|
-
"backdrop-invert": ["", oe,
|
|
3486
|
+
"backdrop-invert": ["", oe, U, H]
|
|
3487
3487
|
}],
|
|
3488
3488
|
/**
|
|
3489
3489
|
* Backdrop Opacity
|
|
3490
3490
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
3491
3491
|
*/
|
|
3492
3492
|
"backdrop-opacity": [{
|
|
3493
|
-
"backdrop-opacity": [oe,
|
|
3493
|
+
"backdrop-opacity": [oe, U, H]
|
|
3494
3494
|
}],
|
|
3495
3495
|
/**
|
|
3496
3496
|
* Backdrop Saturate
|
|
3497
3497
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
3498
3498
|
*/
|
|
3499
3499
|
"backdrop-saturate": [{
|
|
3500
|
-
"backdrop-saturate": [oe,
|
|
3500
|
+
"backdrop-saturate": [oe, U, H]
|
|
3501
3501
|
}],
|
|
3502
3502
|
/**
|
|
3503
3503
|
* Backdrop Sepia
|
|
3504
3504
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
3505
3505
|
*/
|
|
3506
3506
|
"backdrop-sepia": [{
|
|
3507
|
-
"backdrop-sepia": ["", oe,
|
|
3507
|
+
"backdrop-sepia": ["", oe, U, H]
|
|
3508
3508
|
}],
|
|
3509
3509
|
// --------------
|
|
3510
3510
|
// --- Tables ---
|
|
@@ -3559,7 +3559,7 @@ const id = (t, e) => {
|
|
|
3559
3559
|
* @see https://tailwindcss.com/docs/transition-property
|
|
3560
3560
|
*/
|
|
3561
3561
|
transition: [{
|
|
3562
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
3562
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", U, H]
|
|
3563
3563
|
}],
|
|
3564
3564
|
/**
|
|
3565
3565
|
* Transition Behavior
|
|
@@ -3573,28 +3573,28 @@ const id = (t, e) => {
|
|
|
3573
3573
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
3574
3574
|
*/
|
|
3575
3575
|
duration: [{
|
|
3576
|
-
duration: [oe, "initial",
|
|
3576
|
+
duration: [oe, "initial", U, H]
|
|
3577
3577
|
}],
|
|
3578
3578
|
/**
|
|
3579
3579
|
* Transition Timing Function
|
|
3580
3580
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
3581
3581
|
*/
|
|
3582
3582
|
ease: [{
|
|
3583
|
-
ease: ["linear", "initial", x,
|
|
3583
|
+
ease: ["linear", "initial", x, U, H]
|
|
3584
3584
|
}],
|
|
3585
3585
|
/**
|
|
3586
3586
|
* Transition Delay
|
|
3587
3587
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
3588
3588
|
*/
|
|
3589
3589
|
delay: [{
|
|
3590
|
-
delay: [oe,
|
|
3590
|
+
delay: [oe, U, H]
|
|
3591
3591
|
}],
|
|
3592
3592
|
/**
|
|
3593
3593
|
* Animation
|
|
3594
3594
|
* @see https://tailwindcss.com/docs/animation
|
|
3595
3595
|
*/
|
|
3596
3596
|
animate: [{
|
|
3597
|
-
animate: ["none", v,
|
|
3597
|
+
animate: ["none", v, U, H]
|
|
3598
3598
|
}],
|
|
3599
3599
|
// ------------------
|
|
3600
3600
|
// --- Transforms ---
|
|
@@ -3611,7 +3611,7 @@ const id = (t, e) => {
|
|
|
3611
3611
|
* @see https://tailwindcss.com/docs/perspective
|
|
3612
3612
|
*/
|
|
3613
3613
|
perspective: [{
|
|
3614
|
-
perspective: [g,
|
|
3614
|
+
perspective: [g, U, H]
|
|
3615
3615
|
}],
|
|
3616
3616
|
/**
|
|
3617
3617
|
* Perspective Origin
|
|
@@ -3707,7 +3707,7 @@ const id = (t, e) => {
|
|
|
3707
3707
|
* @see https://tailwindcss.com/docs/transform
|
|
3708
3708
|
*/
|
|
3709
3709
|
transform: [{
|
|
3710
|
-
transform: [
|
|
3710
|
+
transform: [U, H, "", "none", "gpu", "cpu"]
|
|
3711
3711
|
}],
|
|
3712
3712
|
/**
|
|
3713
3713
|
* Transform Origin
|
|
@@ -3792,7 +3792,7 @@ const id = (t, e) => {
|
|
|
3792
3792
|
* @see https://tailwindcss.com/docs/cursor
|
|
3793
3793
|
*/
|
|
3794
3794
|
cursor: [{
|
|
3795
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
3795
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", U, H]
|
|
3796
3796
|
}],
|
|
3797
3797
|
/**
|
|
3798
3798
|
* Field Sizing
|
|
@@ -4014,7 +4014,7 @@ const id = (t, e) => {
|
|
|
4014
4014
|
* @see https://tailwindcss.com/docs/will-change
|
|
4015
4015
|
*/
|
|
4016
4016
|
"will-change": [{
|
|
4017
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
4017
|
+
"will-change": ["auto", "scroll", "contents", "transform", U, H]
|
|
4018
4018
|
}],
|
|
4019
4019
|
// -----------
|
|
4020
4020
|
// --- SVG ---
|
|
@@ -12500,7 +12500,7 @@ const om = (t) => /* @__PURE__ */ b(Zb, {
|
|
|
12500
12500
|
c.stopPropagation(), r == null || r(c);
|
|
12501
12501
|
},
|
|
12502
12502
|
...i,
|
|
12503
|
-
children: (c) => /* @__PURE__ */
|
|
12503
|
+
children: (c) => /* @__PURE__ */ z(Ne, {
|
|
12504
12504
|
value: a,
|
|
12505
12505
|
children: [typeof t == "function" ? t(c) : t, " "]
|
|
12506
12506
|
})
|
|
@@ -12662,7 +12662,7 @@ const om = (t) => /* @__PURE__ */ b(Zb, {
|
|
|
12662
12662
|
difficult: "Difficult"
|
|
12663
12663
|
};
|
|
12664
12664
|
function xm() {
|
|
12665
|
-
return /* @__PURE__ */
|
|
12665
|
+
return /* @__PURE__ */ z(
|
|
12666
12666
|
"svg",
|
|
12667
12667
|
{
|
|
12668
12668
|
"aria-hidden": "true",
|
|
@@ -12689,7 +12689,7 @@ function wm({
|
|
|
12689
12689
|
className: o
|
|
12690
12690
|
}) {
|
|
12691
12691
|
const i = rt[vm[t]];
|
|
12692
|
-
return /* @__PURE__ */
|
|
12692
|
+
return /* @__PURE__ */ z(
|
|
12693
12693
|
Xn,
|
|
12694
12694
|
{
|
|
12695
12695
|
variant: "soft",
|
|
@@ -12706,10 +12706,10 @@ function wm({
|
|
|
12706
12706
|
}
|
|
12707
12707
|
);
|
|
12708
12708
|
}
|
|
12709
|
-
const $l = /* @__PURE__ */ b("path", { d: "M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0ZM12 9v4M12 17h.01" }), xl = /* @__PURE__ */
|
|
12709
|
+
const $l = /* @__PURE__ */ b("path", { d: "M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0ZM12 9v4M12 17h.01" }), xl = /* @__PURE__ */ z(lt, { children: [
|
|
12710
12710
|
/* @__PURE__ */ b("circle", { cx: "12", cy: "12", r: "9" }),
|
|
12711
12711
|
/* @__PURE__ */ b("path", { d: "M12 16v-4M12 8h.01" })
|
|
12712
|
-
] }), Em = /* @__PURE__ */
|
|
12712
|
+
] }), Em = /* @__PURE__ */ z(lt, { children: [
|
|
12713
12713
|
/* @__PURE__ */ b("circle", { cx: "12", cy: "12", r: "9" }),
|
|
12714
12714
|
/* @__PURE__ */ b("path", { d: "m8.5 12 2.5 2.5 4.5-5" })
|
|
12715
12715
|
] }), Sm = {
|
|
@@ -12735,7 +12735,7 @@ function Pm({ type: t }) {
|
|
|
12735
12735
|
}
|
|
12736
12736
|
);
|
|
12737
12737
|
}
|
|
12738
|
-
function
|
|
12738
|
+
function Ag({
|
|
12739
12739
|
type: t = "caution",
|
|
12740
12740
|
title: e,
|
|
12741
12741
|
icon: n,
|
|
@@ -12743,7 +12743,7 @@ function Rg({
|
|
|
12743
12743
|
className: o
|
|
12744
12744
|
}) {
|
|
12745
12745
|
const i = e === void 0 ? Kr[t] : e, l = nu(t);
|
|
12746
|
-
return /* @__PURE__ */
|
|
12746
|
+
return /* @__PURE__ */ z(
|
|
12747
12747
|
Ht,
|
|
12748
12748
|
{
|
|
12749
12749
|
className: ne("border", o),
|
|
@@ -12753,7 +12753,7 @@ function Rg({
|
|
|
12753
12753
|
},
|
|
12754
12754
|
children: [
|
|
12755
12755
|
/* @__PURE__ */ b(Ht.Indicator, { style: { color: l }, children: n ?? /* @__PURE__ */ b(Pm, { type: t }) }),
|
|
12756
|
-
/* @__PURE__ */
|
|
12756
|
+
/* @__PURE__ */ z(Ht.Content, { children: [
|
|
12757
12757
|
i != null && /* @__PURE__ */ b(Ht.Title, { children: i }),
|
|
12758
12758
|
/* @__PURE__ */ b(Ht.Description, { children: r })
|
|
12759
12759
|
] })
|
|
@@ -13029,10 +13029,10 @@ function Vo({
|
|
|
13029
13029
|
};
|
|
13030
13030
|
return Y(() => {
|
|
13031
13031
|
f(null);
|
|
13032
|
-
}, [e]), n === "model" ? /* @__PURE__ */
|
|
13032
|
+
}, [e]), n === "model" ? /* @__PURE__ */ z("div", { ref: c, className: ne("@container relative overflow-hidden", t), children: [
|
|
13033
13033
|
/* @__PURE__ */ b(Km, { src: e, modelFileName: o }),
|
|
13034
13034
|
s
|
|
13035
|
-
] }) : /* @__PURE__ */
|
|
13035
|
+
] }) : /* @__PURE__ */ z("div", { ref: c, className: ne("@container relative overflow-hidden", t), children: [
|
|
13036
13036
|
n === "video" ? /* @__PURE__ */ b(
|
|
13037
13037
|
"video",
|
|
13038
13038
|
{
|
|
@@ -13198,7 +13198,7 @@ function Hm({
|
|
|
13198
13198
|
}, F = (k, O, W) => {
|
|
13199
13199
|
const V = W && O === o, p = rt[k.color ?? "GREY"], w = W ? "pointer-events-auto cursor-move" : "pointer-events-none", L = W ? (E) => D(E, O, k) : void 0;
|
|
13200
13200
|
if (Bc(k))
|
|
13201
|
-
return /* @__PURE__ */
|
|
13201
|
+
return /* @__PURE__ */ z("div", { children: [
|
|
13202
13202
|
/* @__PURE__ */ b(
|
|
13203
13203
|
"div",
|
|
13204
13204
|
{
|
|
@@ -13239,7 +13239,7 @@ function Hm({
|
|
|
13239
13239
|
{ corner: "sw", x: E, y: N + S, cursor: "nesw-resize" },
|
|
13240
13240
|
{ corner: "se", x: E + $, y: N + S, cursor: "nwse-resize" }
|
|
13241
13241
|
];
|
|
13242
|
-
return /* @__PURE__ */
|
|
13242
|
+
return /* @__PURE__ */ z("div", { children: [
|
|
13243
13243
|
/* @__PURE__ */ b(
|
|
13244
13244
|
"div",
|
|
13245
13245
|
{
|
|
@@ -13296,7 +13296,7 @@ function Hm({
|
|
|
13296
13296
|
O
|
|
13297
13297
|
);
|
|
13298
13298
|
};
|
|
13299
|
-
return /* @__PURE__ */
|
|
13299
|
+
return /* @__PURE__ */ z(
|
|
13300
13300
|
"div",
|
|
13301
13301
|
{
|
|
13302
13302
|
ref: c,
|
|
@@ -13332,7 +13332,7 @@ function zo({
|
|
|
13332
13332
|
layoutSettleKey: s,
|
|
13333
13333
|
className: a
|
|
13334
13334
|
}) {
|
|
13335
|
-
const c = "@container relative aspect-[4/3] overflow-hidden rounded-lg border border-default bg-default-soft", u = /* @__PURE__ */
|
|
13335
|
+
const c = "@container relative aspect-[4/3] overflow-hidden rounded-lg border border-default bg-default-soft", u = /* @__PURE__ */ z(lt, { children: [
|
|
13336
13336
|
/* @__PURE__ */ b(
|
|
13337
13337
|
Om,
|
|
13338
13338
|
{
|
|
@@ -13351,7 +13351,7 @@ function zo({
|
|
|
13351
13351
|
}
|
|
13352
13352
|
) : /* @__PURE__ */ b(fo, { annotations: r })
|
|
13353
13353
|
] });
|
|
13354
|
-
return /* @__PURE__ */ b("figure", { className: ne("flex flex-col gap-2", a), children: i && e === "image" && !l ? /* @__PURE__ */
|
|
13354
|
+
return /* @__PURE__ */ b("figure", { className: ne("flex flex-col gap-2", a), children: i && e === "image" && !l ? /* @__PURE__ */ z(St, { children: [
|
|
13355
13355
|
/* @__PURE__ */ b(
|
|
13356
13356
|
St.Trigger,
|
|
13357
13357
|
{
|
|
@@ -13360,7 +13360,7 @@ function zo({
|
|
|
13360
13360
|
children: u
|
|
13361
13361
|
}
|
|
13362
13362
|
),
|
|
13363
|
-
/* @__PURE__ */ b(St.Backdrop, { variant: "blur", children: /* @__PURE__ */ b(St.Container, { placement: "center", children: /* @__PURE__ */
|
|
13363
|
+
/* @__PURE__ */ b(St.Backdrop, { variant: "blur", children: /* @__PURE__ */ b(St.Container, { placement: "center", children: /* @__PURE__ */ z(
|
|
13364
13364
|
St.Dialog,
|
|
13365
13365
|
{
|
|
13366
13366
|
"aria-label": "Full size image",
|
|
@@ -13446,7 +13446,7 @@ function Xm(t, e, n, r, o) {
|
|
|
13446
13446
|
o
|
|
13447
13447
|
);
|
|
13448
13448
|
}
|
|
13449
|
-
function
|
|
13449
|
+
function Og({
|
|
13450
13450
|
src: t,
|
|
13451
13451
|
region: e,
|
|
13452
13452
|
onChange: n,
|
|
@@ -13491,7 +13491,7 @@ function Kg({
|
|
|
13491
13491
|
width: h.width / i.width * 100,
|
|
13492
13492
|
height: Kt(h.width) / i.height * 100
|
|
13493
13493
|
} : null;
|
|
13494
|
-
return /* @__PURE__ */
|
|
13494
|
+
return /* @__PURE__ */ z(
|
|
13495
13495
|
"div",
|
|
13496
13496
|
{
|
|
13497
13497
|
ref: o,
|
|
@@ -13560,7 +13560,7 @@ function Zm({
|
|
|
13560
13560
|
children: i,
|
|
13561
13561
|
className: l
|
|
13562
13562
|
}) {
|
|
13563
|
-
return /* @__PURE__ */
|
|
13563
|
+
return /* @__PURE__ */ z(
|
|
13564
13564
|
"li",
|
|
13565
13565
|
{
|
|
13566
13566
|
className: ne(
|
|
@@ -13576,11 +13576,11 @@ function Zm({
|
|
|
13576
13576
|
className: "size-12 shrink-0 rounded-md border border-default object-cover"
|
|
13577
13577
|
}
|
|
13578
13578
|
),
|
|
13579
|
-
/* @__PURE__ */
|
|
13579
|
+
/* @__PURE__ */ z("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
13580
13580
|
n ? /* @__PURE__ */ b(_o, { href: n, className: "font-medium", children: t }) : /* @__PURE__ */ b("span", { className: "font-medium", children: t }),
|
|
13581
13581
|
i != null && /* @__PURE__ */ b("span", { className: "text-sm text-default-500", children: i })
|
|
13582
13582
|
] }),
|
|
13583
|
-
r != null && /* @__PURE__ */
|
|
13583
|
+
r != null && /* @__PURE__ */ z("span", { className: "shrink-0 text-sm text-default-500", children: [
|
|
13584
13584
|
"×",
|
|
13585
13585
|
r
|
|
13586
13586
|
] }),
|
|
@@ -13594,12 +13594,12 @@ function Jm({
|
|
|
13594
13594
|
children: e,
|
|
13595
13595
|
className: n
|
|
13596
13596
|
}) {
|
|
13597
|
-
return /* @__PURE__ */
|
|
13597
|
+
return /* @__PURE__ */ z(Xt, { className: ne("w-full", n), children: [
|
|
13598
13598
|
t != null && /* @__PURE__ */ b(Xt.Header, { children: /* @__PURE__ */ b(Xt.Title, { children: t }) }),
|
|
13599
13599
|
/* @__PURE__ */ b(Xt.Content, { children: /* @__PURE__ */ b("ul", { className: "flex flex-col divide-y divide-default", children: e }) })
|
|
13600
13600
|
] });
|
|
13601
13601
|
}
|
|
13602
|
-
const
|
|
13602
|
+
const Fg = Object.assign(Jm, { Item: Zm });
|
|
13603
13603
|
function Hc(t) {
|
|
13604
13604
|
return null;
|
|
13605
13605
|
}
|
|
@@ -13671,7 +13671,7 @@ function tg() {
|
|
|
13671
13671
|
);
|
|
13672
13672
|
}
|
|
13673
13673
|
function ng() {
|
|
13674
|
-
return /* @__PURE__ */
|
|
13674
|
+
return /* @__PURE__ */ z(
|
|
13675
13675
|
"svg",
|
|
13676
13676
|
{
|
|
13677
13677
|
"aria-hidden": "true",
|
|
@@ -13689,15 +13689,30 @@ function ng() {
|
|
|
13689
13689
|
}
|
|
13690
13690
|
);
|
|
13691
13691
|
}
|
|
13692
|
+
function rg(t) {
|
|
13693
|
+
var r;
|
|
13694
|
+
if (!t || t === "#" || t.startsWith("blob:"))
|
|
13695
|
+
return;
|
|
13696
|
+
const n = (((r = t.replaceAll("\\", "/").split("?")[0]) == null ? void 0 : r.split("#")[0]) ?? "").split("/").pop();
|
|
13697
|
+
if (!(!n || n === "." || n === ".."))
|
|
13698
|
+
try {
|
|
13699
|
+
return decodeURIComponent(n);
|
|
13700
|
+
} catch {
|
|
13701
|
+
return n;
|
|
13702
|
+
}
|
|
13703
|
+
}
|
|
13704
|
+
function og(t, e) {
|
|
13705
|
+
return e === void 0 || e === !1 ? e : typeof e == "string" ? e || void 0 : rg(t) ?? !0;
|
|
13706
|
+
}
|
|
13692
13707
|
function po(t) {
|
|
13693
13708
|
const { href: e, download: n, external: r } = t.props;
|
|
13694
13709
|
return {
|
|
13695
13710
|
href: e,
|
|
13696
|
-
download: n,
|
|
13711
|
+
download: og(e, n),
|
|
13697
13712
|
...r ? { target: "_blank", rel: "noreferrer noopener" } : {}
|
|
13698
13713
|
};
|
|
13699
13714
|
}
|
|
13700
|
-
function
|
|
13715
|
+
function ig(t, e, n, r) {
|
|
13701
13716
|
return ne(
|
|
13702
13717
|
nt({ variant: t, size: e, fullWidth: !0 }),
|
|
13703
13718
|
"!min-h-0 !justify-center !rounded-none",
|
|
@@ -13715,7 +13730,7 @@ function bo() {
|
|
|
13715
13730
|
}
|
|
13716
13731
|
);
|
|
13717
13732
|
}
|
|
13718
|
-
function
|
|
13733
|
+
function lg({
|
|
13719
13734
|
variant: t = "primary",
|
|
13720
13735
|
size: e = "md",
|
|
13721
13736
|
icon: n,
|
|
@@ -13727,7 +13742,7 @@ function og({
|
|
|
13727
13742
|
const s = Nt.toArray(i).filter(Qm);
|
|
13728
13743
|
if (o)
|
|
13729
13744
|
return /* @__PURE__ */ b(
|
|
13730
|
-
|
|
13745
|
+
ag,
|
|
13731
13746
|
{
|
|
13732
13747
|
items: s,
|
|
13733
13748
|
variant: t,
|
|
@@ -13742,14 +13757,14 @@ function og({
|
|
|
13742
13757
|
return null;
|
|
13743
13758
|
const [a, ...c] = s;
|
|
13744
13759
|
if (c.length === 0) {
|
|
13745
|
-
const u = nt({ variant: "
|
|
13746
|
-
return /* @__PURE__ */
|
|
13760
|
+
const u = nt({ variant: "primary", size: e });
|
|
13761
|
+
return /* @__PURE__ */ z(_o, { ...po(a), className: ne(u, l), children: [
|
|
13747
13762
|
n,
|
|
13748
13763
|
a.props.children
|
|
13749
13764
|
] });
|
|
13750
13765
|
}
|
|
13751
13766
|
return /* @__PURE__ */ b(
|
|
13752
|
-
|
|
13767
|
+
sg,
|
|
13753
13768
|
{
|
|
13754
13769
|
items: s,
|
|
13755
13770
|
variant: t,
|
|
@@ -13760,7 +13775,7 @@ function og({
|
|
|
13760
13775
|
}
|
|
13761
13776
|
);
|
|
13762
13777
|
}
|
|
13763
|
-
function
|
|
13778
|
+
function sg({
|
|
13764
13779
|
items: t,
|
|
13765
13780
|
variant: e,
|
|
13766
13781
|
size: n,
|
|
@@ -13777,7 +13792,7 @@ function ig({
|
|
|
13777
13792
|
h();
|
|
13778
13793
|
const f = new ResizeObserver(h);
|
|
13779
13794
|
return f.observe(d), () => f.disconnect();
|
|
13780
|
-
}, [t, e, n]), /* @__PURE__ */
|
|
13795
|
+
}, [t, e, n]), /* @__PURE__ */ z(
|
|
13781
13796
|
"div",
|
|
13782
13797
|
{
|
|
13783
13798
|
ref: l,
|
|
@@ -13786,12 +13801,12 @@ function ig({
|
|
|
13786
13801
|
i
|
|
13787
13802
|
),
|
|
13788
13803
|
children: [
|
|
13789
|
-
/* @__PURE__ */
|
|
13804
|
+
/* @__PURE__ */ z(_o, { ...po(c), className: u, children: [
|
|
13790
13805
|
r,
|
|
13791
13806
|
c.props.children
|
|
13792
13807
|
] }),
|
|
13793
|
-
/* @__PURE__ */
|
|
13794
|
-
/* @__PURE__ */
|
|
13808
|
+
/* @__PURE__ */ z(Ut, { children: [
|
|
13809
|
+
/* @__PURE__ */ z(
|
|
13795
13810
|
Ut.Trigger,
|
|
13796
13811
|
{
|
|
13797
13812
|
"aria-label": o,
|
|
@@ -13813,11 +13828,11 @@ function ig({
|
|
|
13813
13828
|
triggerRef: l,
|
|
13814
13829
|
className: "!max-w-none !p-0",
|
|
13815
13830
|
style: s ? { minWidth: s } : void 0,
|
|
13816
|
-
children: /* @__PURE__ */ b(Ut.Menu, { className: "!gap-0 !p-0", children: t.map((d, h) => /* @__PURE__ */
|
|
13831
|
+
children: /* @__PURE__ */ b(Ut.Menu, { className: "!gap-0 !p-0", children: t.map((d, h) => /* @__PURE__ */ z(
|
|
13817
13832
|
Ut.Item,
|
|
13818
13833
|
{
|
|
13819
13834
|
...po(d),
|
|
13820
|
-
className:
|
|
13835
|
+
className: ig(
|
|
13821
13836
|
"secondary",
|
|
13822
13837
|
n,
|
|
13823
13838
|
h === t.length - 1,
|
|
@@ -13837,7 +13852,7 @@ function ig({
|
|
|
13837
13852
|
}
|
|
13838
13853
|
);
|
|
13839
13854
|
}
|
|
13840
|
-
function
|
|
13855
|
+
function ag({
|
|
13841
13856
|
items: t,
|
|
13842
13857
|
variant: e,
|
|
13843
13858
|
size: n,
|
|
@@ -13851,13 +13866,13 @@ function lg({
|
|
|
13851
13866
|
}, K = (M) => {
|
|
13852
13867
|
c != null && c !== M && (g == null || g(c, M)), D();
|
|
13853
13868
|
};
|
|
13854
|
-
return /* @__PURE__ */
|
|
13855
|
-
/* @__PURE__ */
|
|
13856
|
-
/* @__PURE__ */
|
|
13869
|
+
return /* @__PURE__ */ z("div", { className: ne("relative inline-flex flex-col items-start", l), children: [
|
|
13870
|
+
/* @__PURE__ */ z("div", { className: Co({ orientation: "horizontal" }).base(), children: [
|
|
13871
|
+
/* @__PURE__ */ z("span", { className: ne(C, "cursor-text"), children: [
|
|
13857
13872
|
r,
|
|
13858
13873
|
x ? x.props.children : /* @__PURE__ */ b("span", { className: "opacity-60", children: "Add a link" })
|
|
13859
13874
|
] }),
|
|
13860
|
-
x && y && /* @__PURE__ */
|
|
13875
|
+
x && y && /* @__PURE__ */ z(
|
|
13861
13876
|
"button",
|
|
13862
13877
|
{
|
|
13863
13878
|
type: "button",
|
|
@@ -13870,7 +13885,7 @@ function lg({
|
|
|
13870
13885
|
]
|
|
13871
13886
|
}
|
|
13872
13887
|
),
|
|
13873
|
-
/* @__PURE__ */
|
|
13888
|
+
/* @__PURE__ */ z(
|
|
13874
13889
|
"button",
|
|
13875
13890
|
{
|
|
13876
13891
|
type: "button",
|
|
@@ -13885,7 +13900,7 @@ function lg({
|
|
|
13885
13900
|
}
|
|
13886
13901
|
)
|
|
13887
13902
|
] }),
|
|
13888
|
-
s && /* @__PURE__ */
|
|
13903
|
+
s && /* @__PURE__ */ z(lt, { children: [
|
|
13889
13904
|
/* @__PURE__ */ b(
|
|
13890
13905
|
"div",
|
|
13891
13906
|
{
|
|
@@ -13894,10 +13909,10 @@ function lg({
|
|
|
13894
13909
|
"aria-hidden": "true"
|
|
13895
13910
|
}
|
|
13896
13911
|
),
|
|
13897
|
-
/* @__PURE__ */
|
|
13912
|
+
/* @__PURE__ */ z("div", { className: "absolute left-0 top-full z-50 mt-2 w-64 rounded-lg border border-default-200 bg-background p-2 shadow-lg", children: [
|
|
13898
13913
|
v.length > 0 ? /* @__PURE__ */ b("ul", { className: "flex flex-col gap-0.5", children: v.map((M, I) => {
|
|
13899
13914
|
const F = I + 1;
|
|
13900
|
-
return /* @__PURE__ */
|
|
13915
|
+
return /* @__PURE__ */ z(
|
|
13901
13916
|
"li",
|
|
13902
13917
|
{
|
|
13903
13918
|
draggable: T || void 0,
|
|
@@ -13966,8 +13981,8 @@ function lg({
|
|
|
13966
13981
|
] })
|
|
13967
13982
|
] });
|
|
13968
13983
|
}
|
|
13969
|
-
const
|
|
13970
|
-
function
|
|
13984
|
+
const _g = Object.assign(lg, { Item: Hc });
|
|
13985
|
+
function cg(t, e, n) {
|
|
13971
13986
|
const [r, o] = G(e), i = t !== void 0, l = i ? t : r, s = Z(
|
|
13972
13987
|
(a) => {
|
|
13973
13988
|
i || o(a), n == null || n(a);
|
|
@@ -13976,12 +13991,12 @@ function sg(t, e, n) {
|
|
|
13976
13991
|
);
|
|
13977
13992
|
return [l, s];
|
|
13978
13993
|
}
|
|
13979
|
-
const Wc = 3,
|
|
13994
|
+
const Wc = 3, ug = "#3ABF84", dg = "#34B07A", fg = "#0B7A47", hg = {
|
|
13980
13995
|
caution: Kr.caution,
|
|
13981
13996
|
reminder: "Reminder",
|
|
13982
13997
|
note: Kr.note
|
|
13983
13998
|
};
|
|
13984
|
-
function
|
|
13999
|
+
function pg() {
|
|
13985
14000
|
return /* @__PURE__ */ b(
|
|
13986
14001
|
"svg",
|
|
13987
14002
|
{
|
|
@@ -13997,8 +14012,8 @@ function fg() {
|
|
|
13997
14012
|
}
|
|
13998
14013
|
);
|
|
13999
14014
|
}
|
|
14000
|
-
function
|
|
14001
|
-
return /* @__PURE__ */
|
|
14015
|
+
function bg() {
|
|
14016
|
+
return /* @__PURE__ */ z(
|
|
14002
14017
|
"svg",
|
|
14003
14018
|
{
|
|
14004
14019
|
"aria-hidden": "true",
|
|
@@ -14016,7 +14031,7 @@ function hg() {
|
|
|
14016
14031
|
}
|
|
14017
14032
|
);
|
|
14018
14033
|
}
|
|
14019
|
-
function
|
|
14034
|
+
function mg() {
|
|
14020
14035
|
return /* @__PURE__ */ b(
|
|
14021
14036
|
"span",
|
|
14022
14037
|
{
|
|
@@ -14034,7 +14049,7 @@ function pg() {
|
|
|
14034
14049
|
}
|
|
14035
14050
|
);
|
|
14036
14051
|
}
|
|
14037
|
-
function
|
|
14052
|
+
function gg() {
|
|
14038
14053
|
return /* @__PURE__ */ b(
|
|
14039
14054
|
"svg",
|
|
14040
14055
|
{
|
|
@@ -14066,7 +14081,7 @@ function Gc() {
|
|
|
14066
14081
|
}
|
|
14067
14082
|
);
|
|
14068
14083
|
}
|
|
14069
|
-
function
|
|
14084
|
+
function yg() {
|
|
14070
14085
|
return /* @__PURE__ */ b(
|
|
14071
14086
|
"svg",
|
|
14072
14087
|
{
|
|
@@ -14082,7 +14097,7 @@ function mg() {
|
|
|
14082
14097
|
}
|
|
14083
14098
|
);
|
|
14084
14099
|
}
|
|
14085
|
-
function
|
|
14100
|
+
function vg() {
|
|
14086
14101
|
return /* @__PURE__ */ b(
|
|
14087
14102
|
"svg",
|
|
14088
14103
|
{
|
|
@@ -14098,8 +14113,8 @@ function gg() {
|
|
|
14098
14113
|
}
|
|
14099
14114
|
);
|
|
14100
14115
|
}
|
|
14101
|
-
function
|
|
14102
|
-
return /* @__PURE__ */
|
|
14116
|
+
function $g() {
|
|
14117
|
+
return /* @__PURE__ */ z(
|
|
14103
14118
|
"svg",
|
|
14104
14119
|
{
|
|
14105
14120
|
"aria-hidden": "true",
|
|
@@ -14117,7 +14132,7 @@ function yg() {
|
|
|
14117
14132
|
}
|
|
14118
14133
|
);
|
|
14119
14134
|
}
|
|
14120
|
-
function
|
|
14135
|
+
function xg(t) {
|
|
14121
14136
|
return vt(t) ? t.type === zo ? !0 : typeof t.type == "function" && t.type[zc] === !0 : !1;
|
|
14122
14137
|
}
|
|
14123
14138
|
function Ml(t, e) {
|
|
@@ -14135,15 +14150,15 @@ function Ml(t, e) {
|
|
|
14135
14150
|
function jc(t) {
|
|
14136
14151
|
return vt(t) && t.type === Xc;
|
|
14137
14152
|
}
|
|
14138
|
-
function
|
|
14153
|
+
function wg(t) {
|
|
14139
14154
|
return vt(t) ? Nt.toArray(t.props.children).filter(jc).length : 0;
|
|
14140
14155
|
}
|
|
14141
|
-
function
|
|
14156
|
+
function Eg(t, e = !1) {
|
|
14142
14157
|
let n = null, r = null;
|
|
14143
14158
|
for (const i of Nt.toArray(t))
|
|
14144
14159
|
vt(i) && (i.type === qc && (n = i.props.children), i.type === Yc && (r = i));
|
|
14145
|
-
const o = Nt.toArray(n).filter(
|
|
14146
|
-
return
|
|
14160
|
+
const o = Nt.toArray(n).filter(xg);
|
|
14161
|
+
return wg(r), {
|
|
14147
14162
|
figures: o.slice(0, Wc),
|
|
14148
14163
|
bullets: r
|
|
14149
14164
|
};
|
|
@@ -14164,7 +14179,7 @@ function Yc({
|
|
|
14164
14179
|
}, m = (g) => {
|
|
14165
14180
|
r != null && r !== g && (c == null || c(r, g)), f();
|
|
14166
14181
|
};
|
|
14167
|
-
return /* @__PURE__ */
|
|
14182
|
+
return /* @__PURE__ */ z("ul", { className: ne("flex flex-col gap-2", e), children: [
|
|
14168
14183
|
u.map(
|
|
14169
14184
|
(g, y) => pt(g, {
|
|
14170
14185
|
key: g.key ?? y,
|
|
@@ -14232,7 +14247,7 @@ function Xc(t) {
|
|
|
14232
14247
|
}
|
|
14233
14248
|
) : null, f = /* @__PURE__ */ b("div", { className: "min-w-0 flex-1", children: s });
|
|
14234
14249
|
else {
|
|
14235
|
-
const C = r ??
|
|
14250
|
+
const C = r ?? hg[e], T = e === "caution" ? /* @__PURE__ */ b(pg, {}) : e === "reminder" ? /* @__PURE__ */ b(mg, {}) : /* @__PURE__ */ b(bg, {});
|
|
14236
14251
|
h = i ? /* @__PURE__ */ b(
|
|
14237
14252
|
"button",
|
|
14238
14253
|
{
|
|
@@ -14242,9 +14257,9 @@ function Xc(t) {
|
|
|
14242
14257
|
className: "shrink-0 cursor-pointer rounded outline-none transition hover:opacity-70 focus-visible:ring-2 focus-visible:ring-accent",
|
|
14243
14258
|
children: T
|
|
14244
14259
|
}
|
|
14245
|
-
) : T, f = /* @__PURE__ */
|
|
14246
|
-
!o && /* @__PURE__ */
|
|
14247
|
-
/* @__PURE__ */
|
|
14260
|
+
) : T, f = /* @__PURE__ */ z("span", { className: "flex-1", children: [
|
|
14261
|
+
!o && /* @__PURE__ */ z(lt, { children: [
|
|
14262
|
+
/* @__PURE__ */ z("span", { className: "font-semibold", children: [
|
|
14248
14263
|
C,
|
|
14249
14264
|
":"
|
|
14250
14265
|
] }),
|
|
@@ -14260,12 +14275,12 @@ function Xc(t) {
|
|
|
14260
14275
|
a
|
|
14261
14276
|
);
|
|
14262
14277
|
if (!c)
|
|
14263
|
-
return /* @__PURE__ */
|
|
14278
|
+
return /* @__PURE__ */ z("li", { className: m, children: [
|
|
14264
14279
|
h,
|
|
14265
14280
|
f
|
|
14266
14281
|
] });
|
|
14267
14282
|
const { canReorder: g, isDragging: y, isOver: x, onRemove: v } = c;
|
|
14268
|
-
return /* @__PURE__ */
|
|
14283
|
+
return /* @__PURE__ */ z(
|
|
14269
14284
|
"li",
|
|
14270
14285
|
{
|
|
14271
14286
|
className: ne(
|
|
@@ -14295,7 +14310,7 @@ function Xc(t) {
|
|
|
14295
14310
|
onPointerDown: () => d(!0),
|
|
14296
14311
|
onPointerUp: () => d(!1),
|
|
14297
14312
|
className: "mt-1 shrink-0 cursor-grab text-default-400 transition hover:text-default-500",
|
|
14298
|
-
children: /* @__PURE__ */ b(
|
|
14313
|
+
children: /* @__PURE__ */ b($g, {})
|
|
14299
14314
|
}
|
|
14300
14315
|
),
|
|
14301
14316
|
h,
|
|
@@ -14314,7 +14329,7 @@ function Xc(t) {
|
|
|
14314
14329
|
}
|
|
14315
14330
|
);
|
|
14316
14331
|
}
|
|
14317
|
-
function
|
|
14332
|
+
function Sg() {
|
|
14318
14333
|
return /* @__PURE__ */ b(
|
|
14319
14334
|
"svg",
|
|
14320
14335
|
{
|
|
@@ -14330,7 +14345,7 @@ function wg() {
|
|
|
14330
14345
|
}
|
|
14331
14346
|
);
|
|
14332
14347
|
}
|
|
14333
|
-
function
|
|
14348
|
+
function Pg({
|
|
14334
14349
|
figures: t,
|
|
14335
14350
|
bullets: e,
|
|
14336
14351
|
mediaEditing: n
|
|
@@ -14344,14 +14359,14 @@ function Eg({
|
|
|
14344
14359
|
var K;
|
|
14345
14360
|
l != null && l !== D && ((K = n == null ? void 0 : n.onReorderImage) == null || K.call(n, l, D)), y();
|
|
14346
14361
|
}, v = r && ((n == null ? void 0 : n.canAddImage) ?? !0) && t.length >= 1 && t.length < Wc, C = r ? t.length >= 1 : t.length > 1, T = "aspect-[4/3] w-28 sm:w-26 lg:w-30";
|
|
14347
|
-
return /* @__PURE__ */
|
|
14348
|
-
/* @__PURE__ */ b("div", { className: "min-w-0", children: d ? r ? /* @__PURE__ */
|
|
14362
|
+
return /* @__PURE__ */ z("div", { className: "grid grid-cols-1 gap-6 sm:grid-cols-2", children: [
|
|
14363
|
+
/* @__PURE__ */ b("div", { className: "min-w-0", children: d ? r ? /* @__PURE__ */ z("div", { className: "group relative", children: [
|
|
14349
14364
|
pt(d, {
|
|
14350
14365
|
className: ne("w-full", d.props.className),
|
|
14351
14366
|
zoomable: !1
|
|
14352
14367
|
}),
|
|
14353
|
-
/* @__PURE__ */
|
|
14354
|
-
f && /* @__PURE__ */
|
|
14368
|
+
/* @__PURE__ */ z("div", { className: "absolute inset-0 flex items-center justify-center gap-2 rounded-lg opacity-0 transition group-hover:bg-foreground/40 group-hover:opacity-100 focus-within:bg-foreground/40 focus-within:opacity-100", children: [
|
|
14369
|
+
f && /* @__PURE__ */ z(
|
|
14355
14370
|
"button",
|
|
14356
14371
|
{
|
|
14357
14372
|
type: "button",
|
|
@@ -14361,12 +14376,12 @@ function Eg({
|
|
|
14361
14376
|
},
|
|
14362
14377
|
className: "flex items-center gap-1.5 rounded-md bg-background/90 px-2.5 py-1.5 text-sm font-semibold text-foreground shadow transition hover:bg-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent",
|
|
14363
14378
|
children: [
|
|
14364
|
-
/* @__PURE__ */ b(
|
|
14379
|
+
/* @__PURE__ */ b(yg, {}),
|
|
14365
14380
|
"Edit annotations"
|
|
14366
14381
|
]
|
|
14367
14382
|
}
|
|
14368
14383
|
),
|
|
14369
|
-
f && (n == null ? void 0 : n.onEditCrop) && /* @__PURE__ */
|
|
14384
|
+
f && (n == null ? void 0 : n.onEditCrop) && /* @__PURE__ */ z(
|
|
14370
14385
|
"button",
|
|
14371
14386
|
{
|
|
14372
14387
|
type: "button",
|
|
@@ -14376,7 +14391,7 @@ function Eg({
|
|
|
14376
14391
|
},
|
|
14377
14392
|
className: "flex items-center gap-1.5 rounded-md bg-background/90 px-2.5 py-1.5 text-sm font-semibold text-foreground shadow transition hover:bg-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent",
|
|
14378
14393
|
children: [
|
|
14379
|
-
/* @__PURE__ */ b(
|
|
14394
|
+
/* @__PURE__ */ b(vg, {}),
|
|
14380
14395
|
"Adjust crop"
|
|
14381
14396
|
]
|
|
14382
14397
|
}
|
|
@@ -14384,7 +14399,7 @@ function Eg({
|
|
|
14384
14399
|
] })
|
|
14385
14400
|
] }) : pt(d, {
|
|
14386
14401
|
className: ne("w-full", d.props.className)
|
|
14387
|
-
}) : r && /* @__PURE__ */
|
|
14402
|
+
}) : r && /* @__PURE__ */ z(
|
|
14388
14403
|
"button",
|
|
14389
14404
|
{
|
|
14390
14405
|
type: "button",
|
|
@@ -14394,13 +14409,13 @@ function Eg({
|
|
|
14394
14409
|
},
|
|
14395
14410
|
className: "flex aspect-[4/3] w-full flex-col items-center justify-center gap-2 rounded-lg border-2 border-dashed border-default bg-default-soft text-default-500 transition hover:border-accent hover:text-accent focus-visible:border-accent focus-visible:text-accent focus-visible:outline-none",
|
|
14396
14411
|
children: [
|
|
14397
|
-
/* @__PURE__ */ b(
|
|
14412
|
+
/* @__PURE__ */ b(gg, {}),
|
|
14398
14413
|
/* @__PURE__ */ b("span", { className: "text-sm font-medium", children: "Add image" })
|
|
14399
14414
|
]
|
|
14400
14415
|
}
|
|
14401
14416
|
) }),
|
|
14402
|
-
/* @__PURE__ */
|
|
14403
|
-
(C || v) && /* @__PURE__ */
|
|
14417
|
+
/* @__PURE__ */ z("div", { className: "flex min-w-0 flex-col gap-4", children: [
|
|
14418
|
+
(C || v) && /* @__PURE__ */ z(
|
|
14404
14419
|
"div",
|
|
14405
14420
|
{
|
|
14406
14421
|
className: "flex flex-wrap gap-2",
|
|
@@ -14408,7 +14423,7 @@ function Eg({
|
|
|
14408
14423
|
"aria-label": "Step images",
|
|
14409
14424
|
children: [
|
|
14410
14425
|
t.map(
|
|
14411
|
-
(D, K) => r ? /* @__PURE__ */
|
|
14426
|
+
(D, K) => r ? /* @__PURE__ */ z(
|
|
14412
14427
|
"div",
|
|
14413
14428
|
{
|
|
14414
14429
|
className: ne(
|
|
@@ -14509,7 +14524,7 @@ function Eg({
|
|
|
14509
14524
|
] })
|
|
14510
14525
|
] });
|
|
14511
14526
|
}
|
|
14512
|
-
function
|
|
14527
|
+
function Cg({
|
|
14513
14528
|
number: t,
|
|
14514
14529
|
title: e,
|
|
14515
14530
|
isCompleted: n,
|
|
@@ -14520,12 +14535,12 @@ function Sg({
|
|
|
14520
14535
|
children: s,
|
|
14521
14536
|
className: a
|
|
14522
14537
|
}) {
|
|
14523
|
-
const [c, u] =
|
|
14538
|
+
const [c, u] = cg(
|
|
14524
14539
|
n,
|
|
14525
14540
|
r,
|
|
14526
14541
|
o
|
|
14527
|
-
), d = Jc(), { figures: h, bullets: f } =
|
|
14528
|
-
return /* @__PURE__ */
|
|
14542
|
+
), d = Jc(), { figures: h, bullets: f } = Eg(s, l != null);
|
|
14543
|
+
return /* @__PURE__ */ z(
|
|
14529
14544
|
"section",
|
|
14530
14545
|
{
|
|
14531
14546
|
"aria-labelledby": e != null ? d : void 0,
|
|
@@ -14536,8 +14551,8 @@ function Sg({
|
|
|
14536
14551
|
a
|
|
14537
14552
|
),
|
|
14538
14553
|
children: [
|
|
14539
|
-
/* @__PURE__ */
|
|
14540
|
-
/* @__PURE__ */
|
|
14554
|
+
/* @__PURE__ */ z("header", { className: "flex flex-col gap-3 sm:flex-row sm:items-center", children: [
|
|
14555
|
+
/* @__PURE__ */ z("div", { className: "flex min-w-0 items-center gap-3 sm:flex-1", children: [
|
|
14541
14556
|
t != null && /* @__PURE__ */ b(
|
|
14542
14557
|
"span",
|
|
14543
14558
|
{
|
|
@@ -14545,7 +14560,7 @@ function Sg({
|
|
|
14545
14560
|
"flex size-8 shrink-0 items-center justify-center rounded-md text-sm font-bold tabular-nums",
|
|
14546
14561
|
c ? "bg-success text-success-foreground" : "bg-foreground text-background"
|
|
14547
14562
|
),
|
|
14548
|
-
children: c ? /* @__PURE__ */ b(
|
|
14563
|
+
children: c ? /* @__PURE__ */ b(Sg, {}) : t
|
|
14549
14564
|
}
|
|
14550
14565
|
),
|
|
14551
14566
|
e != null && /* @__PURE__ */ b(
|
|
@@ -14569,9 +14584,9 @@ function Sg({
|
|
|
14569
14584
|
c && "guide-step-complete-button"
|
|
14570
14585
|
),
|
|
14571
14586
|
style: c ? {
|
|
14572
|
-
"--guide-step-complete-bg":
|
|
14573
|
-
"--guide-step-complete-bg-hover":
|
|
14574
|
-
"--guide-step-complete-checkbox":
|
|
14587
|
+
"--guide-step-complete-bg": ug,
|
|
14588
|
+
"--guide-step-complete-bg-hover": dg,
|
|
14589
|
+
"--guide-step-complete-checkbox": fg
|
|
14575
14590
|
} : void 0,
|
|
14576
14591
|
children: /* @__PURE__ */ b(
|
|
14577
14592
|
Tn,
|
|
@@ -14580,7 +14595,7 @@ function Sg({
|
|
|
14580
14595
|
isReadOnly: !0,
|
|
14581
14596
|
"aria-hidden": !0,
|
|
14582
14597
|
className: "pointer-events-none gap-2 text-inherit",
|
|
14583
|
-
children: /* @__PURE__ */
|
|
14598
|
+
children: /* @__PURE__ */ z(Tn.Content, { className: "flex items-center gap-2 whitespace-nowrap", children: [
|
|
14584
14599
|
/* @__PURE__ */ b(Tn.Control, { children: /* @__PURE__ */ b(Tn.Indicator, {}) }),
|
|
14585
14600
|
"Mark complete"
|
|
14586
14601
|
] })
|
|
@@ -14590,7 +14605,7 @@ function Sg({
|
|
|
14590
14605
|
)
|
|
14591
14606
|
] }),
|
|
14592
14607
|
/* @__PURE__ */ b(
|
|
14593
|
-
|
|
14608
|
+
Pg,
|
|
14594
14609
|
{
|
|
14595
14610
|
figures: h,
|
|
14596
14611
|
bullets: f,
|
|
@@ -14601,21 +14616,21 @@ function Sg({
|
|
|
14601
14616
|
}
|
|
14602
14617
|
);
|
|
14603
14618
|
}
|
|
14604
|
-
const
|
|
14619
|
+
const Bg = Object.assign(Cg, {
|
|
14605
14620
|
Media: qc,
|
|
14606
14621
|
Bullets: Yc,
|
|
14607
14622
|
Bullet: Xc
|
|
14608
14623
|
});
|
|
14609
|
-
function
|
|
14624
|
+
function kg(t) {
|
|
14610
14625
|
return vt(t);
|
|
14611
14626
|
}
|
|
14612
|
-
function
|
|
14627
|
+
function Vg({
|
|
14613
14628
|
children: t,
|
|
14614
14629
|
showProgress: e = !0,
|
|
14615
14630
|
onProgressChange: n,
|
|
14616
14631
|
className: r
|
|
14617
14632
|
}) {
|
|
14618
|
-
const o = Nt.toArray(t).filter(
|
|
14633
|
+
const o = Nt.toArray(t).filter(kg), i = o.length, [l, s] = G(
|
|
14619
14634
|
() => Object.fromEntries(
|
|
14620
14635
|
o.map((c, u) => [
|
|
14621
14636
|
c.props.number ?? u + 1,
|
|
@@ -14625,8 +14640,8 @@ function _g({
|
|
|
14625
14640
|
), a = Object.values(l).filter(Boolean).length;
|
|
14626
14641
|
return Y(() => {
|
|
14627
14642
|
n == null || n({ completed: a, total: i });
|
|
14628
|
-
}, [a, i, n]), /* @__PURE__ */
|
|
14629
|
-
e && i > 0 && /* @__PURE__ */ b("div", { className: "sticky top-2 mx-2 z-10", children: /* @__PURE__ */ b(Xt, { className: "w-full px-6 py-4", children: /* @__PURE__ */
|
|
14643
|
+
}, [a, i, n]), /* @__PURE__ */ z("div", { className: ne("flex flex-col gap-8", r), children: [
|
|
14644
|
+
e && i > 0 && /* @__PURE__ */ b("div", { className: "sticky top-2 mx-2 z-10", children: /* @__PURE__ */ b(Xt, { className: "w-full px-6 py-4", children: /* @__PURE__ */ z(
|
|
14630
14645
|
Mn,
|
|
14631
14646
|
{
|
|
14632
14647
|
value: a,
|
|
@@ -14634,9 +14649,9 @@ function _g({
|
|
|
14634
14649
|
"aria-label": "Guide progress",
|
|
14635
14650
|
className: "flex flex-col gap-1.5",
|
|
14636
14651
|
children: [
|
|
14637
|
-
/* @__PURE__ */
|
|
14652
|
+
/* @__PURE__ */ z("div", { className: "flex items-center justify-between text-sm text-default-500", children: [
|
|
14638
14653
|
/* @__PURE__ */ b("span", { children: "Guide Progress" }),
|
|
14639
|
-
/* @__PURE__ */
|
|
14654
|
+
/* @__PURE__ */ z(Mn.Output, { children: [
|
|
14640
14655
|
a,
|
|
14641
14656
|
" / ",
|
|
14642
14657
|
i,
|
|
@@ -14649,7 +14664,7 @@ function _g({
|
|
|
14649
14664
|
) }) }),
|
|
14650
14665
|
/* @__PURE__ */ b("ol", { className: "flex flex-col", children: o.map((c, u) => {
|
|
14651
14666
|
const d = c.props.number ?? u + 1;
|
|
14652
|
-
return /* @__PURE__ */
|
|
14667
|
+
return /* @__PURE__ */ z("li", { children: [
|
|
14653
14668
|
pt(c, {
|
|
14654
14669
|
number: d,
|
|
14655
14670
|
isCompleted: l[d] ?? !1,
|
|
@@ -14663,50 +14678,63 @@ function _g({
|
|
|
14663
14678
|
}) })
|
|
14664
14679
|
] });
|
|
14665
14680
|
}
|
|
14666
|
-
function
|
|
14681
|
+
function Tg({
|
|
14667
14682
|
title: t,
|
|
14668
|
-
|
|
14669
|
-
|
|
14670
|
-
|
|
14671
|
-
|
|
14683
|
+
heroImage: e,
|
|
14684
|
+
heroImageAlt: n,
|
|
14685
|
+
difficulty: r,
|
|
14686
|
+
timeEstimate: o,
|
|
14687
|
+
meta: i,
|
|
14688
|
+
className: l
|
|
14672
14689
|
}) {
|
|
14673
|
-
const
|
|
14674
|
-
return /* @__PURE__ */
|
|
14690
|
+
const s = r != null || o != null, a = e != null;
|
|
14691
|
+
return /* @__PURE__ */ z(
|
|
14675
14692
|
"header",
|
|
14676
14693
|
{
|
|
14677
14694
|
className: ne(
|
|
14678
14695
|
"flex flex-col gap-4 border-b border-default pb-6 md:[grid-area:header]",
|
|
14679
|
-
|
|
14696
|
+
a && "sm:flex-row sm:items-center sm:gap-6",
|
|
14697
|
+
l
|
|
14680
14698
|
),
|
|
14681
14699
|
children: [
|
|
14682
|
-
/* @__PURE__ */
|
|
14683
|
-
|
|
14684
|
-
|
|
14685
|
-
|
|
14686
|
-
|
|
14687
|
-
|
|
14688
|
-
|
|
14700
|
+
a && /* @__PURE__ */ b("div", { className: "aspect-[4/3] h-32 shrink-0 overflow-hidden rounded-lg border border-default bg-default-100", children: /* @__PURE__ */ b(
|
|
14701
|
+
"img",
|
|
14702
|
+
{
|
|
14703
|
+
src: e,
|
|
14704
|
+
alt: n ?? "",
|
|
14705
|
+
className: "size-full object-cover"
|
|
14706
|
+
}
|
|
14707
|
+
) }),
|
|
14708
|
+
/* @__PURE__ */ z("div", { className: "flex min-w-0 flex-1 flex-col gap-4", children: [
|
|
14709
|
+
/* @__PURE__ */ z("div", { className: "flex flex-col gap-1.5", children: [
|
|
14710
|
+
/* @__PURE__ */ b("h1", { className: "text-3xl font-bold tracking-tight", children: t }),
|
|
14711
|
+
i != null && /* @__PURE__ */ b("div", { className: "text-sm text-default-500", children: i })
|
|
14712
|
+
] }),
|
|
14713
|
+
s && /* @__PURE__ */ z("div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
14714
|
+
r != null && /* @__PURE__ */ b(wm, { difficulty: r }),
|
|
14715
|
+
o != null && /* @__PURE__ */ b(Xn, { variant: "soft", color: "default", children: /* @__PURE__ */ b(Xn.Label, { children: o }) })
|
|
14716
|
+
] })
|
|
14689
14717
|
] })
|
|
14690
14718
|
]
|
|
14691
14719
|
}
|
|
14692
14720
|
);
|
|
14693
14721
|
}
|
|
14694
|
-
function
|
|
14722
|
+
function Mg({ children: t, className: e }) {
|
|
14695
14723
|
return /* @__PURE__ */ b("div", { className: ne("min-w-0 md:[grid-area:intro]", e), children: /* @__PURE__ */ b("div", { className: "max-w-prose text-default-700", children: t }) });
|
|
14696
14724
|
}
|
|
14697
|
-
function
|
|
14725
|
+
function Dg({
|
|
14698
14726
|
children: t,
|
|
14699
14727
|
className: e
|
|
14700
14728
|
}) {
|
|
14701
14729
|
return /* @__PURE__ */ b("aside", { className: ne("min-w-0 md:[grid-area:sidebar]", e), children: /* @__PURE__ */ b("div", { className: "flex flex-col gap-4", children: t }) });
|
|
14702
14730
|
}
|
|
14703
|
-
function
|
|
14731
|
+
function Ng({
|
|
14704
14732
|
children: t,
|
|
14705
14733
|
className: e
|
|
14706
14734
|
}) {
|
|
14707
14735
|
return /* @__PURE__ */ b("main", { className: ne("min-w-0 w-full md:[grid-area:main]", e), children: t });
|
|
14708
14736
|
}
|
|
14709
|
-
const
|
|
14737
|
+
const zg = Object.assign(
|
|
14710
14738
|
function({ children: e, className: n }) {
|
|
14711
14739
|
return /* @__PURE__ */ b(
|
|
14712
14740
|
"div",
|
|
@@ -14720,26 +14748,26 @@ const Bg = Object.assign(
|
|
|
14720
14748
|
);
|
|
14721
14749
|
},
|
|
14722
14750
|
{
|
|
14723
|
-
Header:
|
|
14724
|
-
Intro:
|
|
14725
|
-
Sidebar:
|
|
14726
|
-
Content:
|
|
14751
|
+
Header: Tg,
|
|
14752
|
+
Intro: Mg,
|
|
14753
|
+
Sidebar: Dg,
|
|
14754
|
+
Content: Ng
|
|
14727
14755
|
}
|
|
14728
14756
|
);
|
|
14729
14757
|
export {
|
|
14730
14758
|
rt as COLORS,
|
|
14731
|
-
|
|
14759
|
+
Ag as Callout,
|
|
14732
14760
|
ho as DISPLAY_REGION_ASPECT,
|
|
14733
14761
|
wm as DifficultyBadge,
|
|
14734
|
-
|
|
14735
|
-
|
|
14736
|
-
|
|
14737
|
-
|
|
14762
|
+
zg as GuideLayout,
|
|
14763
|
+
Bg as GuideStep,
|
|
14764
|
+
Vg as GuideStepList,
|
|
14765
|
+
_g as LinkButton,
|
|
14738
14766
|
_c as MIN_REGION_WIDTH,
|
|
14739
|
-
|
|
14767
|
+
Og as MediaCropEditor,
|
|
14740
14768
|
zo as MediaFigure,
|
|
14741
14769
|
Gm as MediaFigureThumbnail,
|
|
14742
|
-
|
|
14770
|
+
Fg as ToolList,
|
|
14743
14771
|
tu as calloutTypeColor,
|
|
14744
14772
|
nu as calloutTypeHex,
|
|
14745
14773
|
Kr as calloutTypeLabel,
|