@photon-ai/pho-ui 4.2.0 → 4.3.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/chunks/animated-height-I44sUq0n.js +48 -0
- package/dist/chunks/animated-height-I44sUq0n.js.map +1 -0
- package/dist/chunks/{basic-page-C3qjXfBe.js → basic-page-OrUVXKrx.js} +407 -407
- package/dist/chunks/basic-page-OrUVXKrx.js.map +1 -0
- package/dist/chunks/card-N-tvFsuV.js +64 -0
- package/dist/chunks/card-N-tvFsuV.js.map +1 -0
- package/dist/chunks/collapsible-Dv306QOT.js +40 -0
- package/dist/chunks/collapsible-Dv306QOT.js.map +1 -0
- package/dist/chunks/{command-CTYrSz9a.js → command-Cn000hMK.js} +3 -3
- package/dist/chunks/{command-CTYrSz9a.js.map → command-Cn000hMK.js.map} +1 -1
- package/dist/chunks/{data-table-BeUwsjmX.js → data-table-Mog6m3d9.js} +2 -2
- package/dist/chunks/{data-table-BeUwsjmX.js.map → data-table-Mog6m3d9.js.map} +1 -1
- package/dist/chunks/date-picker-CZbcNIe-.js +428 -0
- package/dist/chunks/date-picker-CZbcNIe-.js.map +1 -0
- package/dist/chunks/{dialog-BwfUFn6B.js → dialog-BOz_xOrn.js} +47 -51
- package/dist/chunks/{dialog-BwfUFn6B.js.map → dialog-BOz_xOrn.js.map} +1 -1
- package/dist/chunks/{filter-bar-D9lBBr4z.js → filter-bar-Cr_1zBFq.js} +2 -2
- package/dist/chunks/{filter-bar-D9lBBr4z.js.map → filter-bar-Cr_1zBFq.js.map} +1 -1
- package/dist/chunks/{sidebar-DRPe5CAh.js → sidebar-bLsjo_yb.js} +2 -2
- package/dist/chunks/{sidebar-DRPe5CAh.js.map → sidebar-bLsjo_yb.js.map} +1 -1
- package/dist/chunks/{trace-Hku-rImp.js → trace-CjOi3_IP.js} +2 -2
- package/dist/chunks/{trace-Hku-rImp.js.map → trace-CjOi3_IP.js.map} +1 -1
- package/dist/components/accordion.js +3 -3
- package/dist/components/accordion.js.map +1 -1
- package/dist/components/card.js +1 -1
- package/dist/components/collapsible.js +1 -1
- package/dist/components/command.js +1 -1
- package/dist/components/data-table.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/filter-bar.js +1 -1
- package/dist/components/trace.js +1 -1
- package/dist/index.js +8 -8
- package/dist/sections/basic-page.js +2 -2
- package/dist/sections/sidebar.js +1 -1
- package/dist/src/components/card/card.d.ts +20 -4
- package/dist/src/components/collapsible/collapsible.d.ts +1 -1
- package/dist/src/components/date-picker/date-picker.d.ts +25 -2
- package/dist/src/components/date-picker/index.d.ts +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/sections/basic-page/basic-page.d.ts +5 -5
- package/dist/src/utils/animated-height.d.ts +6 -0
- package/package.json +1 -1
- package/dist/chunks/animated-height-CCO-Ocoz.js +0 -48
- package/dist/chunks/animated-height-CCO-Ocoz.js.map +0 -1
- package/dist/chunks/basic-page-C3qjXfBe.js.map +0 -1
- package/dist/chunks/card-DhDwtSi9.js +0 -56
- package/dist/chunks/card-DhDwtSi9.js.map +0 -1
- package/dist/chunks/collapsible-if7ncPbI.js +0 -28
- package/dist/chunks/collapsible-if7ncPbI.js.map +0 -1
- package/dist/chunks/date-picker-Ddeo1fNE.js +0 -422
- package/dist/chunks/date-picker-Ddeo1fNE.js.map +0 -1
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as p } from "./cn-ChIgwEl3.js";
|
|
3
3
|
import { n as Ge } from "./link-provider-DXzDQ08N.js";
|
|
4
|
-
import { FADE_ENTRANCE as
|
|
4
|
+
import { FADE_ENTRANCE as ca, FADE_SWAP as ua, SPRING_ENTRANCE as da, TRAVEL_LINEAR as pa, fadeThroughBlur as te } from "../motion.js";
|
|
5
5
|
import { a as Z, o as ve } from "./button-CdqS_t5a.js";
|
|
6
|
-
import { t as
|
|
7
|
-
import { n as
|
|
6
|
+
import { t as ma } from "./error-BAQgnde7.js";
|
|
7
|
+
import { n as fa, t as ha } from "./IconArrowsMinimize-BfPUGuCB.js";
|
|
8
8
|
import { t as ie } from "./IconChevronLeft-CSWMKQ4C.js";
|
|
9
|
-
import { t as
|
|
9
|
+
import { t as ga } from "./IconChevronRight-CzoJnYNI.js";
|
|
10
10
|
import { t as Te } from "./IconSearch-BKAHkLyX.js";
|
|
11
|
-
import { i as ye, n as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
11
|
+
import { i as ye, n as ba, o as va, r as ya } from "./data-table-Mog6m3d9.js";
|
|
12
|
+
import { t as xa } from "./IconX-pZ9vrtSr.js";
|
|
13
|
+
import { t as wa } from "./toast-72Wwlzg9.js";
|
|
14
14
|
import { t as pe } from "./input-group-fc9_jD4d.js";
|
|
15
|
-
import { t as
|
|
15
|
+
import { t as Na } from "./animated-height-I44sUq0n.js";
|
|
16
16
|
import { n as xe, t as J } from "./scroll-area-Zik8t1Mk.js";
|
|
17
|
-
import { i as
|
|
18
|
-
import { t as
|
|
17
|
+
import { i as Aa } from "./checkbox-CLPmblNA.js";
|
|
18
|
+
import { t as _a } from "./form-AiHbbw4m.js";
|
|
19
19
|
import { i as K } from "./menu-BQeprfxB.js";
|
|
20
|
-
import { t as
|
|
20
|
+
import { t as Ca } from "./ghost-search-AmVXd0zE.js";
|
|
21
21
|
import { t as W } from "./tooltip-BTF7GChl.js";
|
|
22
|
-
import { Children as ee, Fragment as
|
|
23
|
-
import { Fragment as Ne, jsx as
|
|
24
|
-
import { AnimatePresence as $, motion as A, useIsPresent as
|
|
22
|
+
import { Children as ee, Fragment as Ea, createContext as z, isValidElement as Ve, useCallback as we, useContext as R, useEffect as O, useId as ka, useLayoutEffect as H, useMemo as q, useRef as C, useState as w, useSyncExternalStore as ce } from "react";
|
|
23
|
+
import { Fragment as Ne, jsx as a, jsxs as y } from "react/jsx-runtime";
|
|
24
|
+
import { AnimatePresence as $, motion as A, useIsPresent as Sa, useReducedMotion as M } from "motion/react";
|
|
25
25
|
import { Dialog as ne } from "@base-ui/react/dialog";
|
|
26
26
|
import { createPortal as Pe } from "react-dom";
|
|
27
|
-
var Ae = "rounded-base border border-pho-secondary bg-pho-primary", se = "divide-y divide-pho-secondary [&>:has(+[data-basic-page-alert])]:border-b-0", $e = `${Ae} ${se} gap-0`, Ie = "flex min-w-0 flex-col gap-3 rounded-base border border-pho-secondary bg-pho-page p-5",
|
|
28
|
-
function
|
|
29
|
-
return Math.round(
|
|
27
|
+
var Ae = "rounded-base border border-pho-secondary bg-pho-primary", se = "divide-y divide-pho-secondary [&>:has(+[data-basic-page-alert])]:border-b-0", $e = `${Ae} ${se} gap-0`, Ie = "flex min-w-0 flex-col gap-3 rounded-base border border-pho-secondary bg-pho-page p-5", Ra = "flex min-h-[4.25rem] min-w-0 flex-col gap-3 px-5 py-4 sm:flex-row sm:items-center sm:justify-between sm:gap-6", Ta = "flex flex-col gap-3 px-5 py-4", Pa = "-mx-5 -mb-4 flex items-center rounded-b-[calc(0.75rem-1px)] bg-pho-secondary py-1 pr-3 pl-5", Ia = "-mx-2 -mt-1.5 flex items-center rounded-sm bg-pho-secondary px-2 py-0.5", I = da, D = ca, j = 12, qe = z(null), Oa = 768;
|
|
28
|
+
function Ba(e, t = "default") {
|
|
29
|
+
return Math.round(t === "wide" ? Math.min(Math.max(e * (2 / 3), 448), 768) : Math.min(Math.max(e * 0.4, 320), 448));
|
|
30
30
|
}
|
|
31
31
|
var We = z(null), je = z(null);
|
|
32
|
-
function
|
|
33
|
-
const [
|
|
32
|
+
function La(e) {
|
|
33
|
+
const [t, n] = w(null), [r, s] = w(!1), [l, u] = w(!1), [c, i] = w(!1), [d, f] = w(() => ({
|
|
34
34
|
width: typeof window > "u" ? 0 : window.innerWidth,
|
|
35
35
|
height: null
|
|
36
36
|
}));
|
|
@@ -49,29 +49,29 @@ function Lt(e) {
|
|
|
49
49
|
return g.observe(o), m != null && g.observe(m), () => g.disconnect();
|
|
50
50
|
}, [e, r]), {
|
|
51
51
|
host: q(() => ({
|
|
52
|
-
slot:
|
|
53
|
-
paneNarrow: d.width <
|
|
52
|
+
slot: t,
|
|
53
|
+
paneNarrow: d.width < Oa,
|
|
54
54
|
paneWidth: d.width,
|
|
55
55
|
paneHeight: d.height,
|
|
56
56
|
setOpen: u,
|
|
57
57
|
setAsPage: i,
|
|
58
58
|
setPresent: s
|
|
59
|
-
}), [
|
|
59
|
+
}), [t, d]),
|
|
60
60
|
setSlot: n,
|
|
61
61
|
open: l,
|
|
62
62
|
asPage: c
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function Ma(e) {
|
|
66
66
|
return e == null ? window.scrollY : e.scrollTop;
|
|
67
67
|
}
|
|
68
|
-
function Oe(e,
|
|
69
|
-
e == null ? window.scrollTo({ top:
|
|
68
|
+
function Oe(e, t) {
|
|
69
|
+
e == null ? window.scrollTo({ top: t }) : e.scrollTop = t;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Da({ condense: e = !0, width: t, prerendered: n = !1, className: r, children: s, ref: l, ...u }) {
|
|
72
72
|
const c = R(ue)?.adopt ?? !1, i = R(je), [d, f] = w(!1), o = C(0), m = we((B) => {
|
|
73
73
|
o.current += B ? 1 : -1, f(o.current > 0);
|
|
74
|
-
}, []), h =
|
|
74
|
+
}, []), h = t === "wide" || t == null && d, [g] = w(va), b = C(null), N = q(() => ({
|
|
75
75
|
ref: b,
|
|
76
76
|
prerendered: n
|
|
77
77
|
}), [n]), [v, _] = w(null), [x, E] = w(null), T = q(() => ({
|
|
@@ -82,27 +82,27 @@ function Dt({ condense: e = !0, width: a, prerendered: n = !1, className: r, chi
|
|
|
82
82
|
if (i != null)
|
|
83
83
|
return i.setBack(x), () => i.setBack(null);
|
|
84
84
|
}, [i, x]);
|
|
85
|
-
const { host: P, setSlot: F, open: G, asPage: Y } =
|
|
85
|
+
const { host: P, setSlot: F, open: G, asPage: Y } = La(b), V = G && Y, U = C(!1), ae = C(0);
|
|
86
86
|
H(() => {
|
|
87
87
|
const B = b.current;
|
|
88
88
|
if (V === U.current || B == null) return;
|
|
89
89
|
U.current = V;
|
|
90
90
|
const L = Ee(B);
|
|
91
|
-
V ? (
|
|
91
|
+
V ? (ae.current = Ma(L), Oe(L, 0)) : Oe(L, ae.current);
|
|
92
92
|
}, [V]);
|
|
93
|
-
const S = e ? /* @__PURE__ */
|
|
93
|
+
const S = e ? /* @__PURE__ */ a(Ha, {
|
|
94
94
|
title: v,
|
|
95
95
|
tail: i == null ? x : null,
|
|
96
96
|
silent: V || i != null
|
|
97
|
-
}) : null, k = /* @__PURE__ */
|
|
97
|
+
}) : null, k = /* @__PURE__ */ a("div", {
|
|
98
98
|
"data-basic-page-column": "",
|
|
99
99
|
className: p("mx-auto flex w-full min-w-0 flex-1 flex-col px-5 pt-12 pb-12 *:min-w-0", h ? "max-w-[84rem] md:px-8" : "max-w-[44.5rem]", c || i != null ? "[&_[data-basic-page-back]]:hidden" : "has-[[data-basic-page-back]]:pt-16"),
|
|
100
|
-
children: e ? /* @__PURE__ */
|
|
100
|
+
children: e ? /* @__PURE__ */ a(Ce.Provider, {
|
|
101
101
|
value: T,
|
|
102
102
|
children: s
|
|
103
103
|
}) : s
|
|
104
104
|
});
|
|
105
|
-
return /* @__PURE__ */
|
|
105
|
+
return /* @__PURE__ */ a("div", {
|
|
106
106
|
"data-basic-page-root": "",
|
|
107
107
|
"data-basic-page-width": h ? "wide" : void 0,
|
|
108
108
|
"data-basic-page-prerendered": n ? "" : void 0,
|
|
@@ -111,11 +111,11 @@ function Dt({ condense: e = !0, width: a, prerendered: n = !1, className: r, chi
|
|
|
111
111
|
ref: (B) => {
|
|
112
112
|
b.current = B, typeof l == "function" ? l(B) : l != null && (l.current = B);
|
|
113
113
|
},
|
|
114
|
-
children: /* @__PURE__ */
|
|
114
|
+
children: /* @__PURE__ */ a(qe.Provider, {
|
|
115
115
|
value: N,
|
|
116
|
-
children: /* @__PURE__ */
|
|
116
|
+
children: /* @__PURE__ */ a(We.Provider, {
|
|
117
117
|
value: P,
|
|
118
|
-
children: /* @__PURE__ */
|
|
118
|
+
children: /* @__PURE__ */ a(ya.Provider, {
|
|
119
119
|
value: m,
|
|
120
120
|
children: /* @__PURE__ */ y(ye.Provider, {
|
|
121
121
|
value: g,
|
|
@@ -123,7 +123,7 @@ function Dt({ condense: e = !0, width: a, prerendered: n = !1, className: r, chi
|
|
|
123
123
|
"data-basic-page-main": "",
|
|
124
124
|
className: p("flex min-w-0 flex-1 flex-col", V && "hidden"),
|
|
125
125
|
children: [S, k]
|
|
126
|
-
}), /* @__PURE__ */
|
|
126
|
+
}), /* @__PURE__ */ a("div", {
|
|
127
127
|
ref: F,
|
|
128
128
|
className: "contents"
|
|
129
129
|
})]
|
|
@@ -134,8 +134,8 @@ function Dt({ condense: e = !0, width: a, prerendered: n = !1, className: r, chi
|
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
136
|
var me = /* @__PURE__ */ new Set();
|
|
137
|
-
function
|
|
138
|
-
const r = M(), [s, l] = w(() => !n && me.size > 0), u = R(ue), c =
|
|
137
|
+
function Ha({ title: e, tail: t, silent: n = !1 }) {
|
|
138
|
+
const r = M(), [s, l] = w(() => !n && me.size > 0), u = R(ue), c = ka();
|
|
139
139
|
H(() => {
|
|
140
140
|
if (!(!s || n))
|
|
141
141
|
return me.add(c), () => {
|
|
@@ -154,7 +154,7 @@ function Ht({ title: e, tail: a, silent: n = !1 }) {
|
|
|
154
154
|
u.store.set(c, {
|
|
155
155
|
condensed: s,
|
|
156
156
|
title: e?.label ?? null,
|
|
157
|
-
back:
|
|
157
|
+
back: t
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
}, [
|
|
@@ -162,7 +162,7 @@ function Ht({ title: e, tail: a, silent: n = !1 }) {
|
|
|
162
162
|
c,
|
|
163
163
|
s,
|
|
164
164
|
e,
|
|
165
|
-
|
|
165
|
+
t,
|
|
166
166
|
n
|
|
167
167
|
]), O(() => {
|
|
168
168
|
if (u != null)
|
|
@@ -178,11 +178,11 @@ function Ht({ title: e, tail: a, silent: n = !1 }) {
|
|
|
178
178
|
const o = new IntersectionObserver(([m]) => l(m != null && !m.isIntersecting), { root: Ee(i) });
|
|
179
179
|
return o.observe(i), () => o.disconnect();
|
|
180
180
|
}, [i]);
|
|
181
|
-
const d = r ? 0 : -
|
|
182
|
-
return /* @__PURE__ */
|
|
181
|
+
const d = r ? 0 : -Ya, f = r ? "blur(0px)" : `blur(${xe}px)`;
|
|
182
|
+
return /* @__PURE__ */ a("div", {
|
|
183
183
|
"data-basic-page-condense": "",
|
|
184
184
|
className: "sticky top-0 z-20 h-0 overflow-visible",
|
|
185
|
-
children: /* @__PURE__ */
|
|
185
|
+
children: /* @__PURE__ */ a($, {
|
|
186
186
|
initial: !1,
|
|
187
187
|
children: s && !(u?.adopt ?? !1) && /* @__PURE__ */ y(A.div, {
|
|
188
188
|
initial: { opacity: 0 },
|
|
@@ -190,21 +190,21 @@ function Ht({ title: e, tail: a, silent: n = !1 }) {
|
|
|
190
190
|
exit: { opacity: 0 },
|
|
191
191
|
transition: le,
|
|
192
192
|
className: "border-pho-secondary bg-pho-page/85 relative grid h-12 grid-cols-[1fr_minmax(0,auto)_1fr] items-center border-b px-3 backdrop-blur",
|
|
193
|
-
children: [/* @__PURE__ */
|
|
193
|
+
children: [/* @__PURE__ */ a("div", {
|
|
194
194
|
className: "flex min-w-0 items-center justify-start",
|
|
195
|
-
children:
|
|
195
|
+
children: t != null && /* @__PURE__ */ a(ve, {
|
|
196
196
|
variant: "ghost",
|
|
197
197
|
size: "sm",
|
|
198
|
-
href:
|
|
199
|
-
onClick:
|
|
200
|
-
prefix: /* @__PURE__ */
|
|
198
|
+
href: t.href,
|
|
199
|
+
onClick: t.onClick,
|
|
200
|
+
prefix: /* @__PURE__ */ a("span", {
|
|
201
201
|
className: "inline-flex [&>svg]:size-[1.125em] [&>svg]:shrink-0",
|
|
202
|
-
children: /* @__PURE__ */
|
|
202
|
+
children: /* @__PURE__ */ a(ie, {})
|
|
203
203
|
}),
|
|
204
204
|
className: "min-w-max",
|
|
205
|
-
children:
|
|
205
|
+
children: t.label
|
|
206
206
|
})
|
|
207
|
-
}), /* @__PURE__ */
|
|
207
|
+
}), /* @__PURE__ */ a(A.span, {
|
|
208
208
|
initial: {
|
|
209
209
|
opacity: 0,
|
|
210
210
|
y: d,
|
|
@@ -222,7 +222,7 @@ function Ht({ title: e, tail: a, silent: n = !1 }) {
|
|
|
222
222
|
},
|
|
223
223
|
transition: {
|
|
224
224
|
...le,
|
|
225
|
-
y:
|
|
225
|
+
y: Qa
|
|
226
226
|
},
|
|
227
227
|
className: "text-pho-primary block max-w-full min-w-0 truncate text-center text-base font-medium",
|
|
228
228
|
children: e?.label
|
|
@@ -231,28 +231,28 @@ function Ht({ title: e, tail: a, silent: n = !1 }) {
|
|
|
231
231
|
})
|
|
232
232
|
});
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function Fa(e) {
|
|
235
235
|
return e.normalize("NFKD").replace(/[\u0300-\u036f]/g, "").toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "");
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function za(e) {
|
|
238
238
|
if (!(typeof e != "string" && typeof e != "number"))
|
|
239
|
-
return
|
|
239
|
+
return Fa(String(e)) || void 0;
|
|
240
240
|
}
|
|
241
|
-
function _e(e,
|
|
241
|
+
function _e(e, t) {
|
|
242
242
|
if (e !== "")
|
|
243
|
-
return e ??
|
|
243
|
+
return e ?? za(t);
|
|
244
244
|
}
|
|
245
|
-
var
|
|
245
|
+
var Ga = (e) => `basic-page-morph-${e}`, Va = { layout: I }, Be = 10, Le = {
|
|
246
246
|
delay: 0.2,
|
|
247
247
|
duration: 0.12,
|
|
248
248
|
ease: "easeOut"
|
|
249
|
-
}, $
|
|
249
|
+
}, $a = {
|
|
250
250
|
duration: 0.18,
|
|
251
251
|
ease: "easeOut"
|
|
252
|
-
},
|
|
252
|
+
}, qa = -8, Wa = {
|
|
253
253
|
duration: 0.16,
|
|
254
254
|
ease: "easeOut"
|
|
255
|
-
},
|
|
255
|
+
}, ja = {
|
|
256
256
|
delay: 0.14,
|
|
257
257
|
duration: 0.16,
|
|
258
258
|
ease: "easeOut"
|
|
@@ -260,10 +260,10 @@ var Gt = (e) => `basic-page-morph-${e}`, Vt = { layout: I }, Be = 10, Le = {
|
|
|
260
260
|
duration: 0.12,
|
|
261
261
|
ease: "easeOut"
|
|
262
262
|
}, X = [];
|
|
263
|
-
function
|
|
264
|
-
const
|
|
265
|
-
|
|
266
|
-
const n =
|
|
263
|
+
function Ka(e) {
|
|
264
|
+
const t = C({ labels: e });
|
|
265
|
+
t.current.labels = e, H(() => {
|
|
266
|
+
const n = t.current;
|
|
267
267
|
return X.push(n), () => {
|
|
268
268
|
X.splice(X.indexOf(n), 1);
|
|
269
269
|
};
|
|
@@ -271,8 +271,8 @@ function Kt(e) {
|
|
|
271
271
|
}
|
|
272
272
|
function Xe() {
|
|
273
273
|
const [e] = w(() => {
|
|
274
|
-
const
|
|
275
|
-
return
|
|
274
|
+
const t = X[X.length - 1];
|
|
275
|
+
return t ? { labels: [...t.labels] } : null;
|
|
276
276
|
});
|
|
277
277
|
return e;
|
|
278
278
|
}
|
|
@@ -282,7 +282,7 @@ var Ce = z(null), ge = {
|
|
|
282
282
|
back: null
|
|
283
283
|
}, ue = z(null), de = () => () => {
|
|
284
284
|
}, Me = () => ge;
|
|
285
|
-
function
|
|
285
|
+
function Xa({ adopt: e = !0, children: t }) {
|
|
286
286
|
const [n] = w(() => {
|
|
287
287
|
let s = ge, l = null;
|
|
288
288
|
const u = /* @__PURE__ */ new Set(), c = () => {
|
|
@@ -304,34 +304,34 @@ function Xt({ adopt: e = !0, children: a }) {
|
|
|
304
304
|
store: n,
|
|
305
305
|
adopt: e
|
|
306
306
|
}), [n, e]);
|
|
307
|
-
return /* @__PURE__ */
|
|
307
|
+
return /* @__PURE__ */ a(ue.Provider, {
|
|
308
308
|
value: r,
|
|
309
|
-
children:
|
|
309
|
+
children: t
|
|
310
310
|
});
|
|
311
311
|
}
|
|
312
312
|
function kn() {
|
|
313
313
|
const e = R(ue);
|
|
314
314
|
return ce(e?.store.subscribe ?? de, e?.store.get ?? Me, e?.store.get ?? Me);
|
|
315
315
|
}
|
|
316
|
-
var le =
|
|
316
|
+
var le = ua, Qa = pa, Ya = -8;
|
|
317
317
|
function Ee(e) {
|
|
318
318
|
if (typeof getComputedStyle != "function") return null;
|
|
319
|
-
for (let
|
|
320
|
-
const { overflowY: n } = getComputedStyle(
|
|
321
|
-
if (n === "auto" || n === "scroll") return
|
|
319
|
+
for (let t = e.parentElement; t != null && t !== document.body; t = t.parentElement) {
|
|
320
|
+
const { overflowY: n } = getComputedStyle(t);
|
|
321
|
+
if (n === "auto" || n === "scroll") return t;
|
|
322
322
|
}
|
|
323
323
|
return null;
|
|
324
324
|
}
|
|
325
|
-
var fe = /* @__PURE__ */ new Map(),
|
|
326
|
-
function
|
|
327
|
-
const
|
|
328
|
-
return !
|
|
325
|
+
var fe = /* @__PURE__ */ new Map(), Ua = 96;
|
|
326
|
+
function Ja(e) {
|
|
327
|
+
const t = e.closest("[data-basic-page-root]"), n = t?.querySelector("[data-basic-page-column]");
|
|
328
|
+
return !t || !n ? 0 : n.getBoundingClientRect().left - t.getBoundingClientRect().left;
|
|
329
329
|
}
|
|
330
330
|
function Qe(e) {
|
|
331
|
-
const [
|
|
331
|
+
const [t] = w(() => {
|
|
332
332
|
if (e == null) return !1;
|
|
333
333
|
const r = fe.get(e);
|
|
334
|
-
return r != null && r.visible && r.el.isConnected &&
|
|
334
|
+
return r != null && r.visible && r.el.isConnected && Ja(r.el) <= Ua;
|
|
335
335
|
}), n = C(null);
|
|
336
336
|
return O(() => {
|
|
337
337
|
if (e == null || typeof IntersectionObserver > "u") return;
|
|
@@ -347,11 +347,11 @@ function Qe(e) {
|
|
|
347
347
|
s.disconnect(), fe.delete(e);
|
|
348
348
|
};
|
|
349
349
|
}, [e]), {
|
|
350
|
-
fly:
|
|
350
|
+
fly: t,
|
|
351
351
|
ref: n
|
|
352
352
|
};
|
|
353
353
|
}
|
|
354
|
-
var
|
|
354
|
+
var Za = {
|
|
355
355
|
fade: {
|
|
356
356
|
initial: { opacity: 0 },
|
|
357
357
|
animate: { opacity: 1 },
|
|
@@ -374,17 +374,17 @@ var Zt = {
|
|
|
374
374
|
slide: {
|
|
375
375
|
initial: { x: "-100%" },
|
|
376
376
|
animate: { x: 0 },
|
|
377
|
-
transition: { x:
|
|
377
|
+
transition: { x: ja }
|
|
378
378
|
}
|
|
379
379
|
};
|
|
380
|
-
function Ye({ morphId: e, fromClassName:
|
|
381
|
-
const [c, i] = w(!1), d = !n && s != null ?
|
|
380
|
+
function Ye({ morphId: e, fromClassName: t, fly: n, morphRef: r, arrival: s, className: l, children: u }) {
|
|
381
|
+
const [c, i] = w(!1), d = !n && s != null ? Za[s] : null;
|
|
382
382
|
return /* @__PURE__ */ y(A.span, {
|
|
383
383
|
ref: r,
|
|
384
|
-
layoutId:
|
|
384
|
+
layoutId: Ga(e),
|
|
385
385
|
initial: d?.initial,
|
|
386
386
|
animate: d?.animate,
|
|
387
|
-
transition: n ?
|
|
387
|
+
transition: n ? Va : {
|
|
388
388
|
layout: { duration: 0 },
|
|
389
389
|
...d?.transition
|
|
390
390
|
},
|
|
@@ -393,20 +393,20 @@ function Ye({ morphId: e, fromClassName: a, fly: n, morphRef: r, arrival: s, cla
|
|
|
393
393
|
},
|
|
394
394
|
onLayoutAnimationComplete: () => i(!1),
|
|
395
395
|
className: p("relative inline-block", l),
|
|
396
|
-
children: [u, c && /* @__PURE__ */
|
|
396
|
+
children: [u, c && /* @__PURE__ */ a(A.span, {
|
|
397
397
|
"aria-hidden": !0,
|
|
398
398
|
initial: { opacity: 1 },
|
|
399
399
|
animate: { opacity: 0 },
|
|
400
|
-
transition: $
|
|
400
|
+
transition: $a,
|
|
401
401
|
onAnimationComplete: () => i(!1),
|
|
402
|
-
className: p("absolute inset-0",
|
|
402
|
+
className: p("absolute inset-0", t),
|
|
403
403
|
children: u
|
|
404
404
|
})]
|
|
405
405
|
});
|
|
406
406
|
}
|
|
407
407
|
var De = "max-w-full min-w-0 truncate align-top";
|
|
408
|
-
function
|
|
409
|
-
const c = _e(e, l), i = M(), d = Se(n === !0), f = Qe(
|
|
408
|
+
function et({ id: e, morphId: t, enter: n, trailing: r, className: s, children: l, ...u }) {
|
|
409
|
+
const c = _e(e, l), i = M(), d = Se(n === !0), f = Qe(t), o = Xe(), m = !i && (t != null || d === !0), h = d || o != null ? "rise" : void 0, g = R(Ce), b = C(null);
|
|
410
410
|
H(() => {
|
|
411
411
|
if (g != null)
|
|
412
412
|
return g.setTitle({
|
|
@@ -418,15 +418,15 @@ function ea({ id: e, morphId: a, enter: n, trailing: r, className: s, children:
|
|
|
418
418
|
H(() => {
|
|
419
419
|
X.length > 0 && v(!1);
|
|
420
420
|
}, []);
|
|
421
|
-
const _ = r != null && r !== !1, x = !i && (
|
|
422
|
-
morphId:
|
|
421
|
+
const _ = r != null && r !== !1, x = !i && (t != null ? f.fly || h != null : d === !0), E = t != null && !i ? /* @__PURE__ */ a(Ye, {
|
|
422
|
+
morphId: t,
|
|
423
423
|
fromClassName: "text-pho-secondary",
|
|
424
424
|
fly: f.fly,
|
|
425
425
|
morphRef: f.ref,
|
|
426
426
|
arrival: h,
|
|
427
427
|
className: De,
|
|
428
428
|
children: l
|
|
429
|
-
}) : d && !i ? /* @__PURE__ */
|
|
429
|
+
}) : d && !i ? /* @__PURE__ */ a(A.span, {
|
|
430
430
|
initial: {
|
|
431
431
|
opacity: 0,
|
|
432
432
|
y: j
|
|
@@ -441,7 +441,7 @@ function ea({ id: e, morphId: a, enter: n, trailing: r, className: s, children:
|
|
|
441
441
|
},
|
|
442
442
|
className: p("inline-block", De),
|
|
443
443
|
children: l
|
|
444
|
-
}) : _ ? /* @__PURE__ */
|
|
444
|
+
}) : _ ? /* @__PURE__ */ a("span", {
|
|
445
445
|
className: "min-w-0 truncate",
|
|
446
446
|
children: l
|
|
447
447
|
}) : l;
|
|
@@ -457,7 +457,7 @@ function ea({ id: e, morphId: a, enter: n, trailing: r, className: s, children:
|
|
|
457
457
|
},
|
|
458
458
|
children: [_ ? /* @__PURE__ */ y("span", {
|
|
459
459
|
className: "flex max-w-full min-w-0 items-center gap-2",
|
|
460
|
-
children: [E, x ? /* @__PURE__ */
|
|
460
|
+
children: [E, x ? /* @__PURE__ */ a(A.span, {
|
|
461
461
|
"data-basic-page-title-trailing": "",
|
|
462
462
|
initial: {
|
|
463
463
|
opacity: 0,
|
|
@@ -473,34 +473,34 @@ function ea({ id: e, morphId: a, enter: n, trailing: r, className: s, children:
|
|
|
473
473
|
},
|
|
474
474
|
className: "shrink-0",
|
|
475
475
|
children: r
|
|
476
|
-
}) : /* @__PURE__ */
|
|
476
|
+
}) : /* @__PURE__ */ a("span", {
|
|
477
477
|
"data-basic-page-title-trailing": "",
|
|
478
478
|
className: "shrink-0",
|
|
479
479
|
children: r
|
|
480
480
|
})]
|
|
481
|
-
}) : E, N && /* @__PURE__ */
|
|
481
|
+
}) : E, N && /* @__PURE__ */ a(A.span, {
|
|
482
482
|
"aria-hidden": !0,
|
|
483
483
|
initial: { opacity: 1 },
|
|
484
484
|
animate: { opacity: 0 },
|
|
485
485
|
transition: Ke,
|
|
486
486
|
onAnimationComplete: () => v(!1),
|
|
487
|
-
className: p("text-pho-secondary pointer-events-none absolute inline-flex items-center",
|
|
488
|
-
children: /* @__PURE__ */
|
|
487
|
+
className: p("text-pho-secondary pointer-events-none absolute inline-flex items-center", Ht),
|
|
488
|
+
children: /* @__PURE__ */ a(ie, {})
|
|
489
489
|
})]
|
|
490
490
|
});
|
|
491
491
|
}
|
|
492
492
|
var Ue = z(!1);
|
|
493
|
-
function
|
|
494
|
-
const e = R(Ue),
|
|
493
|
+
function at() {
|
|
494
|
+
const e = R(Ue), t = M(), [n] = w(() => e && !t);
|
|
495
495
|
return n;
|
|
496
496
|
}
|
|
497
|
-
var
|
|
497
|
+
var tt = {
|
|
498
498
|
height: 0,
|
|
499
499
|
opacity: 0,
|
|
500
500
|
paddingTop: 0,
|
|
501
501
|
paddingBottom: 0,
|
|
502
502
|
borderTopWidth: 0
|
|
503
|
-
},
|
|
503
|
+
}, nt = {
|
|
504
504
|
y: I,
|
|
505
505
|
opacity: D,
|
|
506
506
|
height: I,
|
|
@@ -509,7 +509,7 @@ var aa = {
|
|
|
509
509
|
borderTopWidth: I
|
|
510
510
|
};
|
|
511
511
|
function ke() {
|
|
512
|
-
const e =
|
|
512
|
+
const e = at(), t = Sa(), n = M();
|
|
513
513
|
return {
|
|
514
514
|
initial: e ? {
|
|
515
515
|
opacity: 0,
|
|
@@ -519,52 +519,52 @@ function ke() {
|
|
|
519
519
|
opacity: 1,
|
|
520
520
|
y: 0
|
|
521
521
|
},
|
|
522
|
-
exit:
|
|
523
|
-
transition: n ? { duration: 0 } :
|
|
524
|
-
leaving: !
|
|
522
|
+
exit: tt,
|
|
523
|
+
transition: n ? { duration: 0 } : nt,
|
|
524
|
+
leaving: !t
|
|
525
525
|
};
|
|
526
526
|
}
|
|
527
|
-
var
|
|
528
|
-
function Je(e,
|
|
527
|
+
var rt = typeof process < "u" && process.env.NODE_ENV !== "production";
|
|
528
|
+
function Je(e, t, n, r) {
|
|
529
529
|
O(() => {
|
|
530
|
-
if (!
|
|
530
|
+
if (!rt || e.current == null || typeof getComputedStyle != "function") return;
|
|
531
531
|
const s = (u) => {
|
|
532
532
|
const c = getComputedStyle(u).rowGap;
|
|
533
533
|
return c === "" || c === "normal" ? null : parseFloat(c);
|
|
534
534
|
}, l = s(e.current);
|
|
535
|
-
l != null && l !== n && console.warn(`[BasicPage.${
|
|
535
|
+
l != null && l !== n && console.warn(`[BasicPage.${t}] spaced at ${l}px instead of ${n}px. Spacing is the system's: Stack gap-10 between blocks, a block gap-3, Fields gap-5. Remove the class and move the wrapper instead.`, e.current);
|
|
536
536
|
for (const u of Array.from(e.current.children)) {
|
|
537
537
|
const c = r(u);
|
|
538
538
|
if (c == null || getComputedStyle(u).display === "contents") continue;
|
|
539
539
|
const i = s(u);
|
|
540
|
-
i != null && i !== c && console.warn(`[BasicPage.${
|
|
540
|
+
i != null && i !== c && console.warn(`[BasicPage.${t}] a child is spaced at ${i}px instead of ${c}px. Spacing is the system's: Stack gap-10 between blocks, a block gap-3, Fields gap-5. Remove the class and move the wrapper instead.`, u);
|
|
541
541
|
}
|
|
542
542
|
});
|
|
543
543
|
}
|
|
544
|
-
function
|
|
545
|
-
return Array.from(e.querySelectorAll("[data-basic-page-stack], [data-basic-page-title], [data-basic-page-header]")).some((
|
|
544
|
+
function it(e) {
|
|
545
|
+
return Array.from(e.querySelectorAll("[data-basic-page-stack], [data-basic-page-title], [data-basic-page-header]")).some((t) => t.closest('[aria-busy="true"]') != null);
|
|
546
546
|
}
|
|
547
|
-
var
|
|
548
|
-
function
|
|
549
|
-
return ce(de,
|
|
547
|
+
var st = () => !1, lt = () => !0;
|
|
548
|
+
function ot() {
|
|
549
|
+
return ce(de, st, lt);
|
|
550
550
|
}
|
|
551
|
-
function Se(e,
|
|
552
|
-
const n = R(qe), r =
|
|
551
|
+
function Se(e, t = !1) {
|
|
552
|
+
const n = R(qe), r = ot(), [s] = w(() => {
|
|
553
553
|
if (r || !e || n?.prerendered) return !1;
|
|
554
|
-
if (
|
|
554
|
+
if (t) return !0;
|
|
555
555
|
if (document.querySelector("[data-basic-page-prerendered]") != null) return !1;
|
|
556
556
|
const l = n ? n.ref.current : document;
|
|
557
|
-
return l == null || !
|
|
557
|
+
return l == null || !it(l);
|
|
558
558
|
});
|
|
559
559
|
return s;
|
|
560
560
|
}
|
|
561
|
-
function re({ enter: e, className:
|
|
561
|
+
function re({ enter: e, className: t, children: n, ref: r, ...s }) {
|
|
562
562
|
const l = M(), u = C(null);
|
|
563
563
|
Je(u, "Stack", 40, (m) => m.hasAttribute("data-basic-page-fields") ? 20 : m.hasAttribute("data-basic-page-card") || m.hasAttribute("data-basic-page-onboard") || m.hasAttribute("data-basic-page-header") || m.hasAttribute("data-basic-page-columns") || m.hasAttribute("data-data-table") ? null : 12);
|
|
564
564
|
const c = Se(e ?? !0, e === !0), i = s["aria-busy"], d = i === !0 || i === "true", f = C(d), o = f.current && !d;
|
|
565
565
|
return O(() => {
|
|
566
566
|
f.current = d;
|
|
567
|
-
}), /* @__PURE__ */
|
|
567
|
+
}), /* @__PURE__ */ a(A.div, {
|
|
568
568
|
ref: (m) => {
|
|
569
569
|
u.current = m, typeof r == "function" ? r(m) : r != null && (r.current = m);
|
|
570
570
|
},
|
|
@@ -581,18 +581,18 @@ function re({ enter: e, className: a, children: n, ref: r, ...s }) {
|
|
|
581
581
|
y: I,
|
|
582
582
|
opacity: D
|
|
583
583
|
},
|
|
584
|
-
className: p("mt-7 flex min-w-0 flex-col gap-10", "[&:has(>*:first-child:not([data-basic-page-callout])>[data-basic-page-header]:first-child)]:mt-6 [&:has(>*:first-child:not([data-basic-page-callout])>h2:first-child)]:mt-6 [&:has(>[data-basic-page-header]:first-child)]:mt-6 [&:has(>h2:first-child)]:mt-6", "*:min-w-0 [&>*:not([data-basic-page-fields]):not([data-basic-page-card]):not([data-basic-page-callout]):not([data-basic-page-onboard]):not([data-basic-page-header]):not([data-basic-page-columns]):not([data-data-table])]:flex [&>*:not([data-basic-page-fields]):not([data-basic-page-card]):not([data-basic-page-callout]):not([data-basic-page-onboard]):not([data-basic-page-header]):not([data-basic-page-columns]):not([data-data-table])]:flex-col [&>*:not([data-basic-page-fields]):not([data-basic-page-card]):not([data-basic-page-callout]):not([data-basic-page-onboard]):not([data-basic-page-header]):not([data-basic-page-columns]):not([data-data-table])]:gap-3",
|
|
584
|
+
className: p("mt-7 flex min-w-0 flex-col gap-10", "[&:has(>*:first-child:not([data-basic-page-callout])>[data-basic-page-header]:first-child)]:mt-6 [&:has(>*:first-child:not([data-basic-page-callout])>h2:first-child)]:mt-6 [&:has(>[data-basic-page-header]:first-child)]:mt-6 [&:has(>h2:first-child)]:mt-6", "*:min-w-0 [&>*:not([data-basic-page-fields]):not([data-basic-page-card]):not([data-basic-page-callout]):not([data-basic-page-onboard]):not([data-basic-page-header]):not([data-basic-page-columns]):not([data-data-table])]:flex [&>*:not([data-basic-page-fields]):not([data-basic-page-card]):not([data-basic-page-callout]):not([data-basic-page-onboard]):not([data-basic-page-header]):not([data-basic-page-columns]):not([data-data-table])]:flex-col [&>*:not([data-basic-page-fields]):not([data-basic-page-card]):not([data-basic-page-callout]):not([data-basic-page-onboard]):not([data-basic-page-header]):not([data-basic-page-columns]):not([data-data-table])]:gap-3", t),
|
|
585
585
|
...s,
|
|
586
|
-
children: /* @__PURE__ */
|
|
586
|
+
children: /* @__PURE__ */ a(Ue.Provider, {
|
|
587
587
|
value: o,
|
|
588
588
|
children: n
|
|
589
589
|
})
|
|
590
590
|
});
|
|
591
591
|
}
|
|
592
|
-
var He = "@container grid min-w-0 grid-cols-[minmax(0,1fr)_auto_auto] mb-3 [&>:not([data-basic-page-search]):not([data-basic-page-header-action])]:col-start-1 [&>:nth-child(1_of_:not([data-basic-page-search]):not([data-basic-page-header-action])):nth-last-child(1_of_:not([data-basic-page-search]):not([data-basic-page-header-action]))]:row-span-2 [&>:nth-child(1_of_:not([data-basic-page-search]):not([data-basic-page-header-action])):nth-last-child(1_of_:not([data-basic-page-search]):not([data-basic-page-header-action]))]:self-center [&>:nth-child(1_of_:not([data-basic-page-search]):not([data-basic-page-header-action])):not(:nth-last-child(1_of_:not([data-basic-page-search]):not([data-basic-page-header-action])))]:self-end [&>:not([data-basic-page-search]):not([data-basic-page-header-action]):not(:nth-child(1_of_:not([data-basic-page-search]):not([data-basic-page-header-action])))]:self-start [[data-basic-page-callout]_&]:mb-0 [[data-basic-page-stack]>*>&]:mb-0";
|
|
593
|
-
function
|
|
592
|
+
var He = "@container grid min-w-0 grid-cols-[minmax(0,1fr)_auto_auto] mb-3 gap-y-0 [&>:not([data-basic-page-search]):not([data-basic-page-header-action])]:col-start-1 [&>:nth-child(1_of_:not([data-basic-page-search]):not([data-basic-page-header-action])):nth-last-child(1_of_:not([data-basic-page-search]):not([data-basic-page-header-action]))]:row-span-2 [&>:nth-child(1_of_:not([data-basic-page-search]):not([data-basic-page-header-action])):nth-last-child(1_of_:not([data-basic-page-search]):not([data-basic-page-header-action]))]:self-center [&>:nth-child(1_of_:not([data-basic-page-search]):not([data-basic-page-header-action])):not(:nth-last-child(1_of_:not([data-basic-page-search]):not([data-basic-page-header-action])))]:self-end [&>:not([data-basic-page-search]):not([data-basic-page-header-action]):not(:nth-child(1_of_:not([data-basic-page-search]):not([data-basic-page-header-action])))]:self-start [[data-basic-page-callout]_&]:mb-0 [[data-basic-page-stack]>*>&]:mb-0";
|
|
593
|
+
function ct({ enter: e, className: t, ...n }) {
|
|
594
594
|
const r = M();
|
|
595
|
-
return Se(e === !0) && !r ? /* @__PURE__ */
|
|
595
|
+
return Se(e === !0) && !r ? /* @__PURE__ */ a(A.div, {
|
|
596
596
|
initial: {
|
|
597
597
|
opacity: 0,
|
|
598
598
|
y: j
|
|
@@ -605,86 +605,86 @@ function ca({ enter: e, className: a, ...n }) {
|
|
|
605
605
|
y: I,
|
|
606
606
|
opacity: D
|
|
607
607
|
},
|
|
608
|
-
className: p(He,
|
|
608
|
+
className: p(He, t),
|
|
609
609
|
...n,
|
|
610
610
|
"data-basic-page-header": ""
|
|
611
|
-
}) : /* @__PURE__ */
|
|
612
|
-
className: p(He,
|
|
611
|
+
}) : /* @__PURE__ */ a("div", {
|
|
612
|
+
className: p(He, t),
|
|
613
613
|
...n,
|
|
614
614
|
"data-basic-page-header": ""
|
|
615
615
|
});
|
|
616
616
|
}
|
|
617
|
-
function
|
|
618
|
-
return /* @__PURE__ */
|
|
617
|
+
function ut({ className: e, ...t }) {
|
|
618
|
+
return /* @__PURE__ */ a("div", {
|
|
619
619
|
"data-basic-page-header-action": "",
|
|
620
620
|
className: p("flex items-center gap-2", "[[data-basic-page-header]>&]:col-start-3 [[data-basic-page-header]>&]:row-span-2 [[data-basic-page-header]>&]:row-start-1 [[data-basic-page-header]>&]:mr-5 [[data-basic-page-header]>&]:ml-4 [[data-basic-page-header]>&]:self-start [[data-basic-page-header]>&]:justify-self-end", "[[data-basic-page-callout]_[data-basic-page-header]>&]:mr-0", e),
|
|
621
|
-
...
|
|
621
|
+
...t
|
|
622
622
|
});
|
|
623
623
|
}
|
|
624
|
-
function
|
|
624
|
+
function dt({ id: e, className: t, children: n, ...r }) {
|
|
625
625
|
const s = _e(e, n);
|
|
626
|
-
return /* @__PURE__ */
|
|
626
|
+
return /* @__PURE__ */ a("h2", {
|
|
627
627
|
id: s,
|
|
628
|
-
className: p("text-display-xs text-pho-primary max-w-full min-w-0 scroll-mt-12 truncate px-5 font-medium", "mb-3 [[data-basic-page-callout]_&]:mb-0 [[data-basic-page-header]>&]:mb-0 [[data-basic-page-stack]>*>&]:mb-0",
|
|
628
|
+
className: p("text-display-xs text-pho-primary max-w-full min-w-0 scroll-mt-12 truncate px-5 font-medium", "mb-3 [[data-basic-page-callout]_&]:mb-0 [[data-basic-page-header]>&]:mb-0 [[data-basic-page-stack]>*>&]:mb-0", t),
|
|
629
629
|
...r,
|
|
630
630
|
children: n
|
|
631
631
|
});
|
|
632
632
|
}
|
|
633
|
-
function Ze({ className: e, ...
|
|
634
|
-
return /* @__PURE__ */
|
|
633
|
+
function Ze({ className: e, ...t }) {
|
|
634
|
+
return /* @__PURE__ */ a("p", {
|
|
635
635
|
className: p("text-display-xs text-pho-description px-5 font-normal", e),
|
|
636
|
-
...
|
|
636
|
+
...t
|
|
637
637
|
});
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function pt({ one: e, other: t, ...n }) {
|
|
640
640
|
const r = R(ye), s = ce(r?.subscribe ?? de, () => r?.get().api ?? null, () => null);
|
|
641
641
|
if (s == null) return null;
|
|
642
|
-
const l = s.query.trim() !== "" ? `${s.matched} of ${s.total}.` : `${s.total} ${s.total === 1 ? e :
|
|
643
|
-
return /* @__PURE__ */
|
|
642
|
+
const l = s.query.trim() !== "" ? `${s.matched} of ${s.total}.` : `${s.total} ${s.total === 1 ? e : t}.`;
|
|
643
|
+
return /* @__PURE__ */ a(Ze, {
|
|
644
644
|
...n,
|
|
645
645
|
children: l
|
|
646
646
|
});
|
|
647
647
|
}
|
|
648
|
-
function
|
|
649
|
-
return /* @__PURE__ */
|
|
648
|
+
function mt({ className: e, ...t }) {
|
|
649
|
+
return /* @__PURE__ */ a("p", {
|
|
650
650
|
className: p("text-pho-description px-5 text-xs font-normal", "mt-3 [[data-basic-page-callout]_&]:mt-0 [[data-basic-page-stack]>*>&]:mt-0", e),
|
|
651
|
-
...
|
|
651
|
+
...t
|
|
652
652
|
});
|
|
653
653
|
}
|
|
654
|
-
function
|
|
655
|
-
const s = /* @__PURE__ */
|
|
656
|
-
return e ? /* @__PURE__ */
|
|
657
|
-
className: p(Ae, "min-h-0 gap-0
|
|
654
|
+
function ft({ animateHeight: e, className: t, children: n, ...r }) {
|
|
655
|
+
const s = /* @__PURE__ */ a($, { children: ee.toArray(n) });
|
|
656
|
+
return e ? /* @__PURE__ */ a("div", {
|
|
657
|
+
className: p(Ae, "min-h-0 gap-0", t),
|
|
658
658
|
...r,
|
|
659
659
|
"data-basic-page-card": "",
|
|
660
|
-
children: /* @__PURE__ */
|
|
660
|
+
children: /* @__PURE__ */ a(Na, {
|
|
661
661
|
transition: I,
|
|
662
662
|
className: se,
|
|
663
663
|
children: s
|
|
664
664
|
})
|
|
665
|
-
}) : /* @__PURE__ */
|
|
666
|
-
className: p($e,
|
|
665
|
+
}) : /* @__PURE__ */ a("div", {
|
|
666
|
+
className: p($e, t),
|
|
667
667
|
...r,
|
|
668
668
|
"data-basic-page-card": "",
|
|
669
669
|
children: s
|
|
670
670
|
});
|
|
671
671
|
}
|
|
672
|
-
function
|
|
672
|
+
function ht({ className: e, ...t }) {
|
|
673
673
|
const { leaving: n, ...r } = ke();
|
|
674
|
-
return /* @__PURE__ */
|
|
674
|
+
return /* @__PURE__ */ a(A.div, {
|
|
675
675
|
...r,
|
|
676
|
-
className: p(
|
|
677
|
-
...
|
|
676
|
+
className: p(Ta, n && "overflow-hidden", e),
|
|
677
|
+
...t
|
|
678
678
|
});
|
|
679
679
|
}
|
|
680
|
-
function
|
|
681
|
-
return /* @__PURE__ */
|
|
682
|
-
className: p(e ?
|
|
680
|
+
function gt({ divided: e = !1, className: t, ...n }) {
|
|
681
|
+
return /* @__PURE__ */ a("div", {
|
|
682
|
+
className: p(e ? Ia : Pa, t),
|
|
683
683
|
...n
|
|
684
684
|
});
|
|
685
685
|
}
|
|
686
|
-
function
|
|
687
|
-
if (
|
|
686
|
+
function bt({ className: e, icon: t, children: n, ...r }) {
|
|
687
|
+
if (t == null || t === !1 || t === !0) return /* @__PURE__ */ a("div", {
|
|
688
688
|
className: p(Ie, e),
|
|
689
689
|
...r,
|
|
690
690
|
"data-basic-page-callout": "",
|
|
@@ -697,39 +697,39 @@ function ba({ className: e, icon: a, children: n, ...r }) {
|
|
|
697
697
|
"data-basic-page-callout": "",
|
|
698
698
|
children: [/* @__PURE__ */ y("div", {
|
|
699
699
|
className: "relative",
|
|
700
|
-
children: [/* @__PURE__ */
|
|
700
|
+
children: [/* @__PURE__ */ a("div", {
|
|
701
701
|
className: "min-w-0 pr-16",
|
|
702
702
|
children: s
|
|
703
|
-
}), /* @__PURE__ */
|
|
703
|
+
}), /* @__PURE__ */ a("div", {
|
|
704
704
|
"aria-hidden": !0,
|
|
705
705
|
className: "text-pho-primary pointer-events-none absolute top-0 right-0 size-14 opacity-[0.275] [&>svg]:size-full",
|
|
706
|
-
children:
|
|
706
|
+
children: t
|
|
707
707
|
})]
|
|
708
708
|
}), l]
|
|
709
709
|
});
|
|
710
710
|
}
|
|
711
|
-
function
|
|
711
|
+
function vt({ id: e, className: t, children: n, ...r }) {
|
|
712
712
|
const s = _e(e, n);
|
|
713
|
-
return /* @__PURE__ */
|
|
713
|
+
return /* @__PURE__ */ a("h2", {
|
|
714
714
|
id: s,
|
|
715
|
-
className: p("text-display-xs text-pho-primary max-w-full min-w-0 scroll-mt-12 truncate font-medium",
|
|
715
|
+
className: p("text-display-xs text-pho-primary max-w-full min-w-0 scroll-mt-12 truncate font-medium", t),
|
|
716
716
|
...r,
|
|
717
717
|
children: n
|
|
718
718
|
});
|
|
719
719
|
}
|
|
720
|
-
function
|
|
721
|
-
return /* @__PURE__ */
|
|
720
|
+
function yt({ className: e, ...t }) {
|
|
721
|
+
return /* @__PURE__ */ a("p", {
|
|
722
722
|
className: p("text-display-xs text-pho-description font-normal", e),
|
|
723
|
-
...
|
|
723
|
+
...t
|
|
724
724
|
});
|
|
725
725
|
}
|
|
726
|
-
var
|
|
727
|
-
function
|
|
726
|
+
var ea = z(null), aa = z(!1);
|
|
727
|
+
function xt({ className: e, children: t, ...n }) {
|
|
728
728
|
let r = !1;
|
|
729
|
-
const s = ee.toArray(
|
|
729
|
+
const s = ee.toArray(t).map((l, u) => {
|
|
730
730
|
if (!Ve(l)) return l;
|
|
731
731
|
let c;
|
|
732
|
-
return l.props.done ? c = "done" : r ? c = "upcoming" : (r = !0, c = l.props.working ? "working" : l.props.pending ? "pending" : "current"), /* @__PURE__ */
|
|
732
|
+
return l.props.done ? c = "done" : r ? c = "upcoming" : (r = !0, c = l.props.working ? "working" : l.props.pending ? "pending" : "current"), /* @__PURE__ */ a(ea.Provider, {
|
|
733
733
|
value: {
|
|
734
734
|
number: u + 1,
|
|
735
735
|
state: c
|
|
@@ -737,48 +737,48 @@ function xa({ className: e, children: a, ...n }) {
|
|
|
737
737
|
children: l
|
|
738
738
|
}, l.key ?? u);
|
|
739
739
|
});
|
|
740
|
-
return /* @__PURE__ */
|
|
740
|
+
return /* @__PURE__ */ a("ol", {
|
|
741
741
|
className: p($e, "m-0 list-none p-0", e),
|
|
742
742
|
...n,
|
|
743
743
|
"data-basic-page-onboard": "",
|
|
744
744
|
children: s
|
|
745
745
|
});
|
|
746
746
|
}
|
|
747
|
-
var
|
|
747
|
+
var wt = "relative grid size-5 shrink-0 place-items-center rounded-full border text-xs font-medium tabular-nums transition-[background-color,border-color,color] duration-200 ease-out *:[grid-area:1/1]", Nt = {
|
|
748
748
|
done: "border-pho-ink text-pho-primary",
|
|
749
749
|
current: "bg-pho-brand-solid text-pho-on-brand border-transparent",
|
|
750
750
|
working: "border-transparent text-pho-primary",
|
|
751
751
|
pending: "border-pho-ink text-pho-primary border-dashed",
|
|
752
752
|
upcoming: "border-pho-primary text-pho-description"
|
|
753
|
-
},
|
|
753
|
+
}, At = "pointer-events-none absolute -inset-px rounded-full border border-pho-ink opacity-30", _t = "pointer-events-none absolute -inset-px rounded-full border border-pho-ink border-r-transparent border-b-transparent border-l-transparent animate-pho-spinner", Ct = {
|
|
754
754
|
done: "Done.",
|
|
755
755
|
working: "In progress.",
|
|
756
756
|
pending: "Waiting."
|
|
757
757
|
};
|
|
758
|
-
function
|
|
759
|
-
const f = R(
|
|
760
|
-
return /* @__PURE__ */
|
|
758
|
+
function Et({ icon: e, aside: t, title: n, description: r, done: s, working: l, pending: u, className: c, children: i, ...d }) {
|
|
759
|
+
const f = R(ea), o = f?.state ?? (s ? "done" : l ? "working" : u ? "pending" : "current"), m = M(), h = o === "current" || o === "working" || o === "pending", g = o === "upcoming", b = Ct[o], N = i != null && i !== !1, v = e != null && e !== !1, _ = t != null && t !== !1;
|
|
760
|
+
return /* @__PURE__ */ a("li", {
|
|
761
761
|
"data-basic-page-step": o,
|
|
762
762
|
"aria-current": h ? "step" : void 0,
|
|
763
763
|
className: p("relative m-0 grid min-w-0 grid-cols-[auto_minmax(0,1fr)] grid-rows-[auto_minmax(0,1fr)] items-center gap-x-3 px-5 py-4", "transition-[background-color] duration-200 ease-out first:rounded-t-[calc(0.75rem-1px)] last:rounded-b-[calc(0.75rem-1px)] motion-reduce:transition-none", h && "bg-pho-page", c),
|
|
764
764
|
...d,
|
|
765
|
-
children: /* @__PURE__ */ y(
|
|
765
|
+
children: /* @__PURE__ */ y(aa.Provider, {
|
|
766
766
|
value: !0,
|
|
767
767
|
children: [
|
|
768
768
|
/* @__PURE__ */ y("span", {
|
|
769
769
|
"aria-hidden": !0,
|
|
770
|
-
className: p(
|
|
771
|
-
children: [/* @__PURE__ */
|
|
770
|
+
className: p(wt, Nt[o], "col-start-1 row-start-1"),
|
|
771
|
+
children: [/* @__PURE__ */ a($, {
|
|
772
772
|
initial: !1,
|
|
773
|
-
children: o === "done" ? /* @__PURE__ */
|
|
774
|
-
...
|
|
773
|
+
children: o === "done" ? /* @__PURE__ */ a(A.span, {
|
|
774
|
+
...te(m),
|
|
775
775
|
className: "flex",
|
|
776
|
-
children: /* @__PURE__ */
|
|
777
|
-
}, "check") : /* @__PURE__ */
|
|
778
|
-
...
|
|
776
|
+
children: /* @__PURE__ */ a(Aa, { className: "size-3" })
|
|
777
|
+
}, "check") : /* @__PURE__ */ a(A.span, {
|
|
778
|
+
...te(m),
|
|
779
779
|
children: f?.number ?? 1
|
|
780
780
|
}, "number")
|
|
781
|
-
}), o === "working" ? /* @__PURE__ */ y(Ne, { children: [/* @__PURE__ */
|
|
781
|
+
}), o === "working" ? /* @__PURE__ */ y(Ne, { children: [/* @__PURE__ */ a("span", { className: At }), /* @__PURE__ */ a("span", { className: _t })] }) : null]
|
|
782
782
|
}),
|
|
783
783
|
/* @__PURE__ */ y("div", {
|
|
784
784
|
"data-basic-page-step-title": "",
|
|
@@ -788,7 +788,7 @@ function Ea({ icon: e, aside: a, title: n, description: r, done: s, working: l,
|
|
|
788
788
|
children: [b, " "]
|
|
789
789
|
}) : null, n]
|
|
790
790
|
}),
|
|
791
|
-
/* @__PURE__ */
|
|
791
|
+
/* @__PURE__ */ a(Re, {
|
|
792
792
|
show: h,
|
|
793
793
|
gap: "none",
|
|
794
794
|
clip: !1,
|
|
@@ -796,32 +796,32 @@ function Ea({ icon: e, aside: a, title: n, description: r, done: s, working: l,
|
|
|
796
796
|
children: /* @__PURE__ */ y("div", {
|
|
797
797
|
"data-basic-page-step-body": "",
|
|
798
798
|
className: "flex min-w-0 flex-1 flex-col",
|
|
799
|
-
children: [r ? /* @__PURE__ */
|
|
799
|
+
children: [r ? /* @__PURE__ */ a("div", {
|
|
800
800
|
className: "text-display-xs text-pho-description font-normal",
|
|
801
801
|
children: r
|
|
802
|
-
}) : null, N ? /* @__PURE__ */
|
|
802
|
+
}) : null, N ? /* @__PURE__ */ a("div", {
|
|
803
803
|
className: "mt-auto flex flex-wrap items-center gap-2 pt-3",
|
|
804
804
|
children: i
|
|
805
805
|
}) : null]
|
|
806
806
|
})
|
|
807
807
|
}),
|
|
808
|
-
o === "done" && N ? /* @__PURE__ */
|
|
808
|
+
o === "done" && N ? /* @__PURE__ */ a("div", {
|
|
809
809
|
className: "col-start-3 row-start-1 flex min-w-0 items-center gap-2",
|
|
810
810
|
children: i
|
|
811
|
-
}) : _ ? /* @__PURE__ */
|
|
811
|
+
}) : _ ? /* @__PURE__ */ a($, {
|
|
812
812
|
initial: !1,
|
|
813
|
-
children: h ? /* @__PURE__ */
|
|
814
|
-
...
|
|
813
|
+
children: h ? /* @__PURE__ */ a(A.div, {
|
|
814
|
+
...te(m),
|
|
815
815
|
className: "col-start-3 row-span-2 row-start-1 self-start",
|
|
816
|
-
children:
|
|
816
|
+
children: t
|
|
817
817
|
}, "aside") : null
|
|
818
|
-
}) : v ? /* @__PURE__ */
|
|
818
|
+
}) : v ? /* @__PURE__ */ a($, {
|
|
819
819
|
initial: !1,
|
|
820
|
-
children: h ? /* @__PURE__ */
|
|
820
|
+
children: h ? /* @__PURE__ */ a(A.div, {
|
|
821
821
|
"aria-hidden": !0,
|
|
822
|
-
...
|
|
822
|
+
...te(m),
|
|
823
823
|
className: "pointer-events-none col-start-3 row-span-2 row-start-1 size-14 self-start",
|
|
824
|
-
children: /* @__PURE__ */
|
|
824
|
+
children: /* @__PURE__ */ a("div", {
|
|
825
825
|
className: "text-pho-primary size-full opacity-[0.275] [&>svg]:size-full",
|
|
826
826
|
children: e
|
|
827
827
|
})
|
|
@@ -831,43 +831,43 @@ function Ea({ icon: e, aside: a, title: n, description: r, done: s, working: l,
|
|
|
831
831
|
})
|
|
832
832
|
});
|
|
833
833
|
}
|
|
834
|
-
function
|
|
834
|
+
function kt({ label: e, description: t, htmlFor: n, stacked: r = !1, className: s, children: l, ...u }) {
|
|
835
835
|
const { leaving: c, ...i } = ke();
|
|
836
836
|
return /* @__PURE__ */ y(A.div, {
|
|
837
837
|
...i,
|
|
838
|
-
className: p(
|
|
838
|
+
className: p(Ra, r && "sm:flex-col sm:items-stretch sm:justify-start sm:gap-3", c && "overflow-hidden", s),
|
|
839
839
|
...u,
|
|
840
840
|
children: [/* @__PURE__ */ y("div", {
|
|
841
841
|
className: "min-w-0",
|
|
842
|
-
children: [n ? /* @__PURE__ */
|
|
842
|
+
children: [n ? /* @__PURE__ */ a("label", {
|
|
843
843
|
htmlFor: n,
|
|
844
844
|
className: "text-pho-primary block text-base font-normal",
|
|
845
845
|
children: e
|
|
846
|
-
}) : /* @__PURE__ */
|
|
846
|
+
}) : /* @__PURE__ */ a("div", {
|
|
847
847
|
className: "text-pho-primary text-base font-normal",
|
|
848
848
|
children: e
|
|
849
|
-
}),
|
|
849
|
+
}), t ? /* @__PURE__ */ a("p", {
|
|
850
850
|
className: "text-pho-description text-xs",
|
|
851
|
-
children:
|
|
851
|
+
children: t
|
|
852
852
|
}) : null]
|
|
853
|
-
}), /* @__PURE__ */
|
|
853
|
+
}), /* @__PURE__ */ a("div", {
|
|
854
854
|
className: p("flex w-full min-w-0 items-center gap-2 sm:w-auto", r && "sm:w-full"),
|
|
855
855
|
children: l
|
|
856
856
|
})]
|
|
857
857
|
});
|
|
858
858
|
}
|
|
859
|
-
function
|
|
860
|
-
const n = R(
|
|
861
|
-
return /* @__PURE__ */
|
|
859
|
+
function St({ className: e, ...t }) {
|
|
860
|
+
const n = R(aa);
|
|
861
|
+
return /* @__PURE__ */ a("p", {
|
|
862
862
|
className: p("text-pho-description max-w-full min-w-0 truncate", n ? "text-display-xs font-normal" : "text-base", e),
|
|
863
|
-
...
|
|
863
|
+
...t
|
|
864
864
|
});
|
|
865
865
|
}
|
|
866
|
-
function
|
|
866
|
+
function Rt({ error: e, show: t, className: n, children: r, ...s }) {
|
|
867
867
|
const l = M(), u = R(Q), c = e ?? u?.error ?? void 0;
|
|
868
|
-
return /* @__PURE__ */
|
|
868
|
+
return /* @__PURE__ */ a($, {
|
|
869
869
|
initial: !1,
|
|
870
|
-
children: (
|
|
870
|
+
children: (t ?? !0) && (c != null || r != null) ? /* @__PURE__ */ a(A.div, {
|
|
871
871
|
"data-basic-page-alert": "",
|
|
872
872
|
className: "overflow-hidden",
|
|
873
873
|
initial: {
|
|
@@ -886,7 +886,7 @@ function Ra({ error: e, show: a, className: n, children: r, ...s }) {
|
|
|
886
886
|
height: I,
|
|
887
887
|
opacity: D
|
|
888
888
|
},
|
|
889
|
-
children: /* @__PURE__ */
|
|
889
|
+
children: /* @__PURE__ */ a(ma, {
|
|
890
890
|
error: c,
|
|
891
891
|
className: p("px-5 pb-3", n),
|
|
892
892
|
...s,
|
|
@@ -898,9 +898,9 @@ function Ra({ error: e, show: a, className: n, children: r, ...s }) {
|
|
|
898
898
|
function Sn() {
|
|
899
899
|
return R(Q)?.requestSave ?? null;
|
|
900
900
|
}
|
|
901
|
-
var Rn = 800, he =
|
|
902
|
-
function
|
|
903
|
-
const [i, d] = w(!1), [f, o] = w(!1), [m, h] = w(null), [g, b] = w(
|
|
901
|
+
var Rn = 800, he = wa.createToastManager(), Q = z(null);
|
|
902
|
+
function Tt({ action: e, errors: t, autoSave: n = !1, className: r, children: s, onChange: l, onBlur: u, ...c }) {
|
|
903
|
+
const [i, d] = w(!1), [f, o] = w(!1), [m, h] = w(null), [g, b] = w(t ?? {}), [N, v] = w(null), _ = C(null), x = C(null), E = C(null), T = C(!1), P = C(!1), F = C(null), G = C(async () => {
|
|
904
904
|
});
|
|
905
905
|
O(() => () => {
|
|
906
906
|
x.current != null && clearTimeout(x.current);
|
|
@@ -952,7 +952,7 @@ function Ta({ action: e, errors: a, autoSave: n = !1, className: r, children: s,
|
|
|
952
952
|
}, 800);
|
|
953
953
|
}, U = q(() => n ? (S) => {
|
|
954
954
|
S != null && (E.current = S), o(!0), V();
|
|
955
|
-
} : null, [n]),
|
|
955
|
+
} : null, [n]), ae = q(() => ({
|
|
956
956
|
pending: i,
|
|
957
957
|
dirty: f,
|
|
958
958
|
error: m,
|
|
@@ -965,9 +965,9 @@ function Ta({ action: e, errors: a, autoSave: n = !1, className: r, children: s,
|
|
|
965
965
|
N,
|
|
966
966
|
U
|
|
967
967
|
]);
|
|
968
|
-
return /* @__PURE__ */
|
|
969
|
-
value:
|
|
970
|
-
children: /* @__PURE__ */
|
|
968
|
+
return /* @__PURE__ */ a(Q.Provider, {
|
|
969
|
+
value: ae,
|
|
970
|
+
children: /* @__PURE__ */ a(_a, {
|
|
971
971
|
errors: g,
|
|
972
972
|
onFormSubmit: async (S) => {
|
|
973
973
|
if (e != null) {
|
|
@@ -990,8 +990,8 @@ function Ta({ action: e, errors: a, autoSave: n = !1, className: r, children: s,
|
|
|
990
990
|
o(!0), h(null);
|
|
991
991
|
const k = S.target.name;
|
|
992
992
|
k && k in g && b((B) => {
|
|
993
|
-
const { [k]: L, ...
|
|
994
|
-
return
|
|
993
|
+
const { [k]: L, ...oa } = B;
|
|
994
|
+
return oa;
|
|
995
995
|
}), n && (k && (E.current = k), V()), l?.(S);
|
|
996
996
|
},
|
|
997
997
|
onBlur: (S) => {
|
|
@@ -1004,7 +1004,7 @@ function Ta({ action: e, errors: a, autoSave: n = !1, className: r, children: s,
|
|
|
1004
1004
|
const k = c.ref;
|
|
1005
1005
|
typeof k == "function" ? k(S) : k != null && (k.current = S);
|
|
1006
1006
|
},
|
|
1007
|
-
children: /* @__PURE__ */
|
|
1007
|
+
children: /* @__PURE__ */ a("fieldset", {
|
|
1008
1008
|
disabled: i,
|
|
1009
1009
|
"aria-busy": i || void 0,
|
|
1010
1010
|
className: "contents",
|
|
@@ -1013,7 +1013,7 @@ function Ta({ action: e, errors: a, autoSave: n = !1, className: r, children: s,
|
|
|
1013
1013
|
})
|
|
1014
1014
|
});
|
|
1015
1015
|
}
|
|
1016
|
-
function
|
|
1016
|
+
function Pt({ name: e, className: t, ...n }) {
|
|
1017
1017
|
const r = R(Q), s = M(), l = r?.auto ?? null, u = l != null && (e == null || l.field === e), [c, i] = w(!1), d = u ? l.phase : null;
|
|
1018
1018
|
O(() => {
|
|
1019
1019
|
if (d !== "saved") return;
|
|
@@ -1022,11 +1022,11 @@ function Pa({ name: e, className: a, ...n }) {
|
|
|
1022
1022
|
return () => clearTimeout(m);
|
|
1023
1023
|
}, [d, l]);
|
|
1024
1024
|
const f = d === "saving" ? "Saving…" : d === "saved" && c ? "Saved" : null, o = s ? "blur(0px)" : `blur(${xe}px)`;
|
|
1025
|
-
return /* @__PURE__ */
|
|
1025
|
+
return /* @__PURE__ */ a("span", {
|
|
1026
1026
|
className: "grid justify-items-end",
|
|
1027
|
-
children: /* @__PURE__ */
|
|
1027
|
+
children: /* @__PURE__ */ a($, {
|
|
1028
1028
|
initial: !1,
|
|
1029
|
-
children: f != null && /* @__PURE__ */
|
|
1029
|
+
children: f != null && /* @__PURE__ */ a(A.output, {
|
|
1030
1030
|
initial: {
|
|
1031
1031
|
opacity: 0,
|
|
1032
1032
|
filter: o
|
|
@@ -1040,7 +1040,7 @@ function Pa({ name: e, className: a, ...n }) {
|
|
|
1040
1040
|
filter: o
|
|
1041
1041
|
},
|
|
1042
1042
|
transition: le,
|
|
1043
|
-
className: p("text-pho-description pl-8 [grid-area:1/1]",
|
|
1043
|
+
className: p("text-pho-description pl-8 [grid-area:1/1]", t),
|
|
1044
1044
|
style: { background: "linear-gradient(to left, var(--background-color-pho-primary) calc(100% - 2rem), transparent)" },
|
|
1045
1045
|
...n,
|
|
1046
1046
|
children: f
|
|
@@ -1048,67 +1048,67 @@ function Pa({ name: e, className: a, ...n }) {
|
|
|
1048
1048
|
})
|
|
1049
1049
|
});
|
|
1050
1050
|
}
|
|
1051
|
-
var
|
|
1052
|
-
function
|
|
1051
|
+
var It = "flex min-w-0 flex-col gap-5 p-5 [&>[data-basic-page-alert]]:-mx-5 [&>[data-basic-page-alert]]:-mt-2 [&>[data-basic-page-alert]]:-mb-5 [&>[data-basic-page-footer]]:pr-0 [&>[data-basic-page-reveal]]:flex [&>[data-basic-page-reveal]]:flex-col [&>[data-basic-page-reveal]]:gap-5";
|
|
1052
|
+
function Ot({ className: e, ...t }) {
|
|
1053
1053
|
const n = C(null);
|
|
1054
|
-
return Je(n, "Fields", 20, () => null), /* @__PURE__ */
|
|
1055
|
-
className: p(Ae,
|
|
1056
|
-
...
|
|
1054
|
+
return Je(n, "Fields", 20, () => null), /* @__PURE__ */ a("div", {
|
|
1055
|
+
className: p(Ae, It, e),
|
|
1056
|
+
...t,
|
|
1057
1057
|
ref: (r) => {
|
|
1058
1058
|
n.current = r;
|
|
1059
|
-
const s =
|
|
1059
|
+
const s = t.ref;
|
|
1060
1060
|
typeof s == "function" ? s(r) : s != null && (s.current = r);
|
|
1061
1061
|
},
|
|
1062
1062
|
"data-basic-page-fields": ""
|
|
1063
1063
|
});
|
|
1064
1064
|
}
|
|
1065
|
-
function
|
|
1066
|
-
return /* @__PURE__ */
|
|
1065
|
+
function Bt({ className: e, ...t }) {
|
|
1066
|
+
return /* @__PURE__ */ a("div", {
|
|
1067
1067
|
className: p("flex min-w-0 flex-col gap-5 *:min-w-0 sm:flex-row sm:gap-3 sm:*:flex-1", e),
|
|
1068
|
-
...
|
|
1068
|
+
...t
|
|
1069
1069
|
});
|
|
1070
1070
|
}
|
|
1071
|
-
function
|
|
1071
|
+
function Lt({ children: e = "Save changes", ...t }) {
|
|
1072
1072
|
const n = R(Q);
|
|
1073
|
-
return /* @__PURE__ */
|
|
1073
|
+
return /* @__PURE__ */ a(Z, {
|
|
1074
1074
|
type: "submit",
|
|
1075
1075
|
variant: "effect",
|
|
1076
1076
|
size: "sm",
|
|
1077
1077
|
loading: n?.pending,
|
|
1078
|
-
...
|
|
1078
|
+
...t,
|
|
1079
1079
|
children: e
|
|
1080
1080
|
});
|
|
1081
1081
|
}
|
|
1082
|
-
function
|
|
1083
|
-
const r = R(Q), s = e === "dirty" ? r?.dirty ?? !1 : e, l = /* @__PURE__ */
|
|
1082
|
+
function Mt({ show: e, className: t, ...n }) {
|
|
1083
|
+
const r = R(Q), s = e === "dirty" ? r?.dirty ?? !1 : e, l = /* @__PURE__ */ a("div", {
|
|
1084
1084
|
"data-basic-page-footer": "",
|
|
1085
|
-
className: p("flex items-center justify-end gap-3 pr-[calc(1.25rem+2.5px)]",
|
|
1085
|
+
className: p("flex items-center justify-end gap-3 pr-[calc(1.25rem+2.5px)]", t),
|
|
1086
1086
|
...n
|
|
1087
1087
|
});
|
|
1088
|
-
return s === void 0 ? l : /* @__PURE__ */
|
|
1088
|
+
return s === void 0 ? l : /* @__PURE__ */ a(Re, {
|
|
1089
1089
|
show: s,
|
|
1090
1090
|
gap: "block",
|
|
1091
1091
|
clip: !1,
|
|
1092
1092
|
children: l
|
|
1093
1093
|
});
|
|
1094
1094
|
}
|
|
1095
|
-
var
|
|
1095
|
+
var Dt = {
|
|
1096
1096
|
stack: "-2.5rem",
|
|
1097
1097
|
block: "-0.75rem",
|
|
1098
1098
|
fields: "-1.25rem",
|
|
1099
1099
|
none: "0px"
|
|
1100
1100
|
};
|
|
1101
|
-
function Re({ show: e, clip:
|
|
1102
|
-
const u = M(), c =
|
|
1101
|
+
function Re({ show: e, clip: t = !0, gap: n = "stack", dividers: r, className: s, ...l }) {
|
|
1102
|
+
const u = M(), c = Dt[r ? "none" : n], i = C(null), d = C(e !== !0);
|
|
1103
1103
|
O(() => {
|
|
1104
1104
|
d.current = !0;
|
|
1105
1105
|
}, []);
|
|
1106
1106
|
const f = () => {
|
|
1107
|
-
|
|
1107
|
+
t && i.current && (i.current.style.overflow = "hidden");
|
|
1108
1108
|
}, o = () => {
|
|
1109
1109
|
i.current && (i.current.style.overflow = "");
|
|
1110
1110
|
};
|
|
1111
|
-
return e === void 0 ? /* @__PURE__ */
|
|
1111
|
+
return e === void 0 ? /* @__PURE__ */ a(A.div, {
|
|
1112
1112
|
initial: u ? !1 : {
|
|
1113
1113
|
opacity: 0,
|
|
1114
1114
|
y: j
|
|
@@ -1123,12 +1123,12 @@ function Re({ show: e, clip: a = !0, gap: n = "stack", dividers: r, className: s
|
|
|
1123
1123
|
},
|
|
1124
1124
|
className: p(r && se, s),
|
|
1125
1125
|
...l
|
|
1126
|
-
}) : /* @__PURE__ */
|
|
1126
|
+
}) : /* @__PURE__ */ a($, {
|
|
1127
1127
|
initial: !1,
|
|
1128
|
-
children: e ? /* @__PURE__ */
|
|
1128
|
+
children: e ? /* @__PURE__ */ a(A.div, {
|
|
1129
1129
|
"data-basic-page-reveal": "",
|
|
1130
1130
|
ref: (m) => {
|
|
1131
|
-
i.current = m,
|
|
1131
|
+
i.current = m, t && m && d.current && (m.style.overflow = "hidden");
|
|
1132
1132
|
},
|
|
1133
1133
|
onAnimationStart: f,
|
|
1134
1134
|
onAnimationComplete: o,
|
|
@@ -1157,15 +1157,15 @@ function Re({ show: e, clip: a = !0, gap: n = "stack", dividers: r, className: s
|
|
|
1157
1157
|
}) : null
|
|
1158
1158
|
});
|
|
1159
1159
|
}
|
|
1160
|
-
var
|
|
1161
|
-
function
|
|
1162
|
-
return typeof window < "u" && typeof window.matchMedia == "function" && !window.matchMedia(
|
|
1160
|
+
var Ht = "top-4 left-5 h-8 text-base [&>svg]:size-[1.125em] [&>svg]:shrink-0", Ft = "(min-width: 40rem)";
|
|
1161
|
+
function zt() {
|
|
1162
|
+
return typeof window < "u" && typeof window.matchMedia == "function" && !window.matchMedia(Ft).matches;
|
|
1163
1163
|
}
|
|
1164
|
-
var
|
|
1165
|
-
function
|
|
1166
|
-
const r = ee.toArray(
|
|
1167
|
-
|
|
1168
|
-
const [u] = w(
|
|
1164
|
+
var ta = z(null);
|
|
1165
|
+
function na({ className: e, children: t, ...n }) {
|
|
1166
|
+
const r = ee.toArray(t).filter(Ve), s = r.map((_) => _.props.children ?? null), l = Xe();
|
|
1167
|
+
Ka(s);
|
|
1168
|
+
const [u] = w(zt), c = M(), i = r.length, d = Ge(), f = !u && i >= Gt, o = R(Ce), m = i > 0 ? r[i - 1]?.props : null, h = m?.children ?? "Back", g = m?.href, b = m?.onClick;
|
|
1169
1169
|
H(() => {
|
|
1170
1170
|
if (!(o == null || g == null))
|
|
1171
1171
|
return o.setTail({
|
|
@@ -1180,32 +1180,32 @@ function nt({ className: e, children: a, ...n }) {
|
|
|
1180
1180
|
b
|
|
1181
1181
|
]);
|
|
1182
1182
|
const [N, v] = w(!c && !u && l != null && l.labels.length > i);
|
|
1183
|
-
return /* @__PURE__ */
|
|
1183
|
+
return /* @__PURE__ */ a("nav", {
|
|
1184
1184
|
"aria-label": "Breadcrumb",
|
|
1185
1185
|
"data-basic-page-back": "",
|
|
1186
1186
|
className: p("absolute top-4 left-3 flex min-w-max items-center", e),
|
|
1187
1187
|
...n,
|
|
1188
1188
|
children: /* @__PURE__ */ y("ol", {
|
|
1189
1189
|
className: "m-0 flex list-none items-center p-0",
|
|
1190
|
-
children: [r.map((_, x) => f && x > 0 && x < i - 2 ? null : /* @__PURE__ */ y(
|
|
1190
|
+
children: [r.map((_, x) => f && x > 0 && x < i - 2 ? null : /* @__PURE__ */ y(Ea, { children: [f && x === i - 2 && /* @__PURE__ */ y("li", {
|
|
1191
1191
|
className: "m-0 flex items-center max-sm:hidden",
|
|
1192
|
-
children: [/* @__PURE__ */
|
|
1192
|
+
children: [/* @__PURE__ */ a("span", {
|
|
1193
1193
|
"aria-hidden": !0,
|
|
1194
1194
|
className: be,
|
|
1195
1195
|
children: oe
|
|
1196
|
-
}), /* @__PURE__ */ y(K.Root, { children: [/* @__PURE__ */
|
|
1196
|
+
}), /* @__PURE__ */ y(K.Root, { children: [/* @__PURE__ */ a(K.Trigger, { render: /* @__PURE__ */ a(Z, {
|
|
1197
1197
|
variant: "ghost",
|
|
1198
1198
|
size: "sm",
|
|
1199
1199
|
"aria-label": "Hidden pages",
|
|
1200
1200
|
className: "px-2",
|
|
1201
|
-
children:
|
|
1202
|
-
}) }), /* @__PURE__ */
|
|
1201
|
+
children: Vt
|
|
1202
|
+
}) }), /* @__PURE__ */ a(K.Portal, { children: /* @__PURE__ */ a(K.Positioner, {
|
|
1203
1203
|
align: "start",
|
|
1204
1204
|
sideOffset: 4,
|
|
1205
|
-
children: /* @__PURE__ */
|
|
1205
|
+
children: /* @__PURE__ */ a(K.Popup, { children: r.slice(1, i - 2).map((E, T) => {
|
|
1206
1206
|
const P = E.props;
|
|
1207
|
-
return /* @__PURE__ */
|
|
1208
|
-
render: /* @__PURE__ */
|
|
1207
|
+
return /* @__PURE__ */ a(K.LinkItem, {
|
|
1208
|
+
render: /* @__PURE__ */ a(d, {
|
|
1209
1209
|
href: P.href,
|
|
1210
1210
|
onClick: P.onClick
|
|
1211
1211
|
}),
|
|
@@ -1213,9 +1213,9 @@ function nt({ className: e, children: a, ...n }) {
|
|
|
1213
1213
|
}, E.key ?? T);
|
|
1214
1214
|
}) })
|
|
1215
1215
|
}) })] })]
|
|
1216
|
-
}), /* @__PURE__ */
|
|
1216
|
+
}), /* @__PURE__ */ a("li", {
|
|
1217
1217
|
className: p("m-0 flex items-center", x < i - 1 && "max-sm:hidden"),
|
|
1218
|
-
children: /* @__PURE__ */
|
|
1218
|
+
children: /* @__PURE__ */ a(ta.Provider, {
|
|
1219
1219
|
value: {
|
|
1220
1220
|
index: x,
|
|
1221
1221
|
count: i,
|
|
@@ -1224,10 +1224,10 @@ function nt({ className: e, children: a, ...n }) {
|
|
|
1224
1224
|
},
|
|
1225
1225
|
children: _
|
|
1226
1226
|
})
|
|
1227
|
-
})] }, _.key ?? x)), N && /* @__PURE__ */
|
|
1227
|
+
})] }, _.key ?? x)), N && /* @__PURE__ */ a("li", {
|
|
1228
1228
|
"aria-hidden": !0,
|
|
1229
1229
|
className: "m-0 flex items-center max-sm:hidden",
|
|
1230
|
-
children: /* @__PURE__ */
|
|
1230
|
+
children: /* @__PURE__ */ a(A.span, {
|
|
1231
1231
|
initial: { opacity: 1 },
|
|
1232
1232
|
animate: { opacity: 0 },
|
|
1233
1233
|
transition: Ke,
|
|
@@ -1239,15 +1239,15 @@ function nt({ className: e, children: a, ...n }) {
|
|
|
1239
1239
|
})
|
|
1240
1240
|
});
|
|
1241
1241
|
}
|
|
1242
|
-
var be = "text-pho-description -mx-1 inline-flex shrink-0 text-base select-none", oe = "/",
|
|
1243
|
-
function
|
|
1244
|
-
const l = R(
|
|
1242
|
+
var be = "text-pho-description -mx-1 inline-flex shrink-0 text-base select-none", oe = "/", Gt = 4, Vt = "…";
|
|
1243
|
+
function ra({ href: e, className: t, morphId: n, children: r = "Back", ...s }) {
|
|
1244
|
+
const l = R(ta), u = M(), c = n != null && !u, i = Qe(c ? n : void 0);
|
|
1245
1245
|
if (l == null) throw new Error("BasicPage.Crumb must be rendered inside BasicPage.Breadcrumbs");
|
|
1246
1246
|
const { index: d, count: f, departing: o, narrow: m } = l, h = d === 0, g = d === f - 1, b = o != null && o.labels.length < f, N = o != null && o.labels.length > f, v = g && (o == null || b || m), _ = h || g, x = h && g ? "" : h ? "max-sm:hidden" : "sm:hidden", E = o != null, T = g ? m ? N ? "slide" : "fade" : v ? "fade" : void 0 : void 0, [P, F] = w(c && m && i.fly && o != null && !N ? o.labels[o.labels.length - 1] : null), G = c && _ && !E, Y = c && !h && g && (o == null || b);
|
|
1247
|
-
return /* @__PURE__ */ y(Ne, { children: [!h && /* @__PURE__ */
|
|
1247
|
+
return /* @__PURE__ */ y(Ne, { children: [!h && /* @__PURE__ */ a("span", {
|
|
1248
1248
|
"aria-hidden": !0,
|
|
1249
1249
|
className: p(be, "max-sm:hidden"),
|
|
1250
|
-
children: Y ? /* @__PURE__ */
|
|
1250
|
+
children: Y ? /* @__PURE__ */ a(A.span, {
|
|
1251
1251
|
initial: i.fly ? {
|
|
1252
1252
|
opacity: 0,
|
|
1253
1253
|
x: Be
|
|
@@ -1260,11 +1260,11 @@ function rt({ href: e, className: a, morphId: n, children: r = "Back", ...s }) {
|
|
|
1260
1260
|
className: "inline-flex",
|
|
1261
1261
|
children: oe
|
|
1262
1262
|
}) : oe
|
|
1263
|
-
}), /* @__PURE__ */
|
|
1263
|
+
}), /* @__PURE__ */ a(ve, {
|
|
1264
1264
|
variant: "ghost",
|
|
1265
1265
|
size: "sm",
|
|
1266
1266
|
href: e,
|
|
1267
|
-
prefix: _ ? G ? /* @__PURE__ */
|
|
1267
|
+
prefix: _ ? G ? /* @__PURE__ */ a(A.span, {
|
|
1268
1268
|
initial: i.fly ? {
|
|
1269
1269
|
opacity: 0,
|
|
1270
1270
|
x: Be
|
|
@@ -1275,50 +1275,50 @@ function rt({ href: e, className: a, morphId: n, children: r = "Back", ...s }) {
|
|
|
1275
1275
|
} : { opacity: 1 },
|
|
1276
1276
|
transition: i.fly ? Le : D,
|
|
1277
1277
|
className: p("inline-flex [&>svg]:size-[1.125em] [&>svg]:shrink-0", x),
|
|
1278
|
-
children: /* @__PURE__ */
|
|
1279
|
-
}) : /* @__PURE__ */
|
|
1278
|
+
children: /* @__PURE__ */ a(ie, {})
|
|
1279
|
+
}) : /* @__PURE__ */ a("span", {
|
|
1280
1280
|
className: p("inline-flex [&>svg]:size-[1.125em] [&>svg]:shrink-0", x),
|
|
1281
|
-
children: /* @__PURE__ */
|
|
1282
|
-
}) : /* @__PURE__ */
|
|
1283
|
-
className: p("min-w-max",
|
|
1281
|
+
children: /* @__PURE__ */ a(ie, {})
|
|
1282
|
+
}) : /* @__PURE__ */ a("span", { className: "hidden" }),
|
|
1283
|
+
className: p("min-w-max", t),
|
|
1284
1284
|
...s,
|
|
1285
1285
|
children: c && n != null ? /* @__PURE__ */ y("span", {
|
|
1286
1286
|
className: p("relative block", !i.fly && T === "slide" && "overflow-hidden", !g && "max-w-40 truncate"),
|
|
1287
|
-
children: [/* @__PURE__ */
|
|
1287
|
+
children: [/* @__PURE__ */ a(Ye, {
|
|
1288
1288
|
morphId: n,
|
|
1289
1289
|
fromClassName: "text-pho-primary",
|
|
1290
1290
|
fly: i.fly,
|
|
1291
1291
|
morphRef: i.ref,
|
|
1292
1292
|
arrival: T,
|
|
1293
1293
|
children: r
|
|
1294
|
-
}), P != null && /* @__PURE__ */
|
|
1294
|
+
}), P != null && /* @__PURE__ */ a(A.span, {
|
|
1295
1295
|
"aria-hidden": !0,
|
|
1296
1296
|
initial: {
|
|
1297
1297
|
x: 0,
|
|
1298
1298
|
opacity: 1
|
|
1299
1299
|
},
|
|
1300
1300
|
animate: {
|
|
1301
|
-
x:
|
|
1301
|
+
x: qa,
|
|
1302
1302
|
opacity: 0
|
|
1303
1303
|
},
|
|
1304
|
-
transition:
|
|
1304
|
+
transition: Wa,
|
|
1305
1305
|
onAnimationComplete: () => F(null),
|
|
1306
1306
|
className: "pointer-events-none absolute inset-y-0 left-0 whitespace-nowrap",
|
|
1307
1307
|
children: P
|
|
1308
1308
|
})]
|
|
1309
|
-
}) : /* @__PURE__ */
|
|
1309
|
+
}) : /* @__PURE__ */ a("span", {
|
|
1310
1310
|
className: p("block", !g && "max-w-40 truncate"),
|
|
1311
1311
|
children: r
|
|
1312
1312
|
})
|
|
1313
1313
|
})] });
|
|
1314
1314
|
}
|
|
1315
|
-
function $
|
|
1316
|
-
return /* @__PURE__ */
|
|
1315
|
+
function $t({ className: e, ...t }) {
|
|
1316
|
+
return /* @__PURE__ */ a(na, {
|
|
1317
1317
|
className: e,
|
|
1318
|
-
children: /* @__PURE__ */
|
|
1318
|
+
children: /* @__PURE__ */ a(ra, { ...t })
|
|
1319
1319
|
});
|
|
1320
1320
|
}
|
|
1321
|
-
function
|
|
1321
|
+
function qt({ label: e, description: t, leading: n, href: r, className: s, children: l, ...u }) {
|
|
1322
1322
|
const c = Ge(), i = q(() => A.create(c), [c]), { leaving: d, ...f } = ke();
|
|
1323
1323
|
return /* @__PURE__ */ y(i, {
|
|
1324
1324
|
href: r,
|
|
@@ -1329,31 +1329,31 @@ function qa({ label: e, description: a, leading: n, href: r, className: s, child
|
|
|
1329
1329
|
className: p("flex min-w-0 flex-1 items-center", n != null && "gap-3"),
|
|
1330
1330
|
children: [n, /* @__PURE__ */ y("div", {
|
|
1331
1331
|
className: "min-w-0",
|
|
1332
|
-
children: [/* @__PURE__ */
|
|
1332
|
+
children: [/* @__PURE__ */ a("div", {
|
|
1333
1333
|
className: "flex min-w-0 items-center gap-1",
|
|
1334
|
-
children: typeof e == "string" || typeof e == "number" ? /* @__PURE__ */
|
|
1334
|
+
children: typeof e == "string" || typeof e == "number" ? /* @__PURE__ */ a("p", {
|
|
1335
1335
|
className: "text-pho-primary truncate text-base font-medium",
|
|
1336
1336
|
children: e
|
|
1337
1337
|
}) : e
|
|
1338
|
-
}),
|
|
1338
|
+
}), t ? /* @__PURE__ */ a("div", {
|
|
1339
1339
|
className: "text-pho-description truncate text-xs",
|
|
1340
|
-
children:
|
|
1340
|
+
children: t
|
|
1341
1341
|
}) : null]
|
|
1342
1342
|
})]
|
|
1343
1343
|
}), /* @__PURE__ */ y("div", {
|
|
1344
1344
|
className: "flex min-w-0 items-center justify-end gap-2",
|
|
1345
|
-
children: [l != null ? /* @__PURE__ */
|
|
1345
|
+
children: [l != null ? /* @__PURE__ */ a("div", {
|
|
1346
1346
|
className: "min-w-0",
|
|
1347
1347
|
children: l
|
|
1348
|
-
}) : null, /* @__PURE__ */
|
|
1348
|
+
}) : null, /* @__PURE__ */ a(ga, {
|
|
1349
1349
|
"aria-hidden": !0,
|
|
1350
1350
|
className: "text-pho-secondary group-hover:text-pho-secondary-hover size-4 shrink-0 transition-colors"
|
|
1351
1351
|
})]
|
|
1352
1352
|
})]
|
|
1353
1353
|
});
|
|
1354
1354
|
}
|
|
1355
|
-
function
|
|
1356
|
-
const o = R(We), m = o != null ?
|
|
1355
|
+
function Wt({ open: e, variant: t = "overlay", modal: n = !1, placeholder: r, onClose: s, width: l = "default", presentation: u, defaultPresentation: c, onPresentationChange: i, expandable: d = !0, children: f }) {
|
|
1356
|
+
const o = R(We), m = o != null ? Ba(o.paneWidth, l) : 0, h = e ?? ee.toArray(f).length > 0, { presentation: g, setPresentation: b, canChoose: N } = jt({
|
|
1357
1357
|
isOpen: h,
|
|
1358
1358
|
paneNarrow: o?.paneNarrow ?? !1,
|
|
1359
1359
|
presentation: u,
|
|
@@ -1379,17 +1379,17 @@ function Wa({ open: e, variant: a = "overlay", modal: n = !1, placeholder: r, on
|
|
|
1379
1379
|
"data-basic-page-aside": "page",
|
|
1380
1380
|
"data-basic-page-aside-expanded": o.paneNarrow ? void 0 : "",
|
|
1381
1381
|
className: "relative flex min-w-0 flex-1 flex-col",
|
|
1382
|
-
children: [T != null ? /* @__PURE__ */
|
|
1382
|
+
children: [T != null ? /* @__PURE__ */ a("span", {
|
|
1383
1383
|
className: "absolute top-2 right-2 z-30",
|
|
1384
|
-
children: /* @__PURE__ */
|
|
1384
|
+
children: /* @__PURE__ */ a(W.Provider, { children: /* @__PURE__ */ a(sa, {
|
|
1385
1385
|
label: "Show as panel",
|
|
1386
|
-
icon: /* @__PURE__ */
|
|
1386
|
+
icon: /* @__PURE__ */ a(ha, {}),
|
|
1387
1387
|
onClick: T
|
|
1388
1388
|
}) })
|
|
1389
1389
|
}) : null, f]
|
|
1390
1390
|
}) : null, o.slot);
|
|
1391
1391
|
}
|
|
1392
|
-
return
|
|
1392
|
+
return t === "inline" ? Pe(/* @__PURE__ */ a(Kt, {
|
|
1393
1393
|
width: m,
|
|
1394
1394
|
paneHeight: o.paneHeight,
|
|
1395
1395
|
onClose: s,
|
|
@@ -1397,7 +1397,7 @@ function Wa({ open: e, variant: a = "overlay", modal: n = !1, placeholder: r, on
|
|
|
1397
1397
|
open: h,
|
|
1398
1398
|
placeholder: r,
|
|
1399
1399
|
children: f
|
|
1400
|
-
}), o.slot) : /* @__PURE__ */
|
|
1400
|
+
}), o.slot) : /* @__PURE__ */ a(Xt, {
|
|
1401
1401
|
container: o.slot,
|
|
1402
1402
|
width: m,
|
|
1403
1403
|
paneHeight: o.paneHeight,
|
|
@@ -1408,22 +1408,22 @@ function Wa({ open: e, variant: a = "overlay", modal: n = !1, placeholder: r, on
|
|
|
1408
1408
|
children: f
|
|
1409
1409
|
});
|
|
1410
1410
|
}
|
|
1411
|
-
function
|
|
1411
|
+
function jt({ isOpen: e, paneNarrow: t, presentation: n, defaultPresentation: r, onPresentationChange: s }) {
|
|
1412
1412
|
const [l, u] = w(e), [c, i] = w(null);
|
|
1413
1413
|
H(() => {
|
|
1414
1414
|
e || (u(!1), i(null));
|
|
1415
1415
|
}, [e]);
|
|
1416
1416
|
const d = n != null;
|
|
1417
1417
|
return {
|
|
1418
|
-
presentation:
|
|
1418
|
+
presentation: t ? "page" : n ?? c ?? r ?? (l ? "page" : "panel"),
|
|
1419
1419
|
setPresentation: we((f) => {
|
|
1420
1420
|
d || i(f), s?.(f);
|
|
1421
1421
|
}, [d, s]),
|
|
1422
1422
|
canChoose: !d || s != null
|
|
1423
1423
|
};
|
|
1424
1424
|
}
|
|
1425
|
-
function
|
|
1426
|
-
const [e,
|
|
1425
|
+
function ia() {
|
|
1426
|
+
const [e, t] = w(null), n = q(() => ({ setBack: t }), []), r = C(null);
|
|
1427
1427
|
return {
|
|
1428
1428
|
back: e,
|
|
1429
1429
|
panel: n,
|
|
@@ -1439,50 +1439,50 @@ var Fe = {
|
|
|
1439
1439
|
size: "sm",
|
|
1440
1440
|
svgOnly: !0,
|
|
1441
1441
|
"aria-label": "Close",
|
|
1442
|
-
children: /* @__PURE__ */
|
|
1442
|
+
children: /* @__PURE__ */ a(xa, {})
|
|
1443
1443
|
};
|
|
1444
|
-
function
|
|
1445
|
-
return /* @__PURE__ */ y(W.Root, { children: [/* @__PURE__ */
|
|
1444
|
+
function sa({ label: e, icon: t, onClick: n }) {
|
|
1445
|
+
return /* @__PURE__ */ y(W.Root, { children: [/* @__PURE__ */ a(W.Trigger, { render: /* @__PURE__ */ a(Z, {
|
|
1446
1446
|
variant: "ghost",
|
|
1447
1447
|
size: "sm",
|
|
1448
1448
|
svgOnly: !0,
|
|
1449
1449
|
"aria-label": e,
|
|
1450
1450
|
onClick: n,
|
|
1451
|
-
children:
|
|
1452
|
-
}) }), /* @__PURE__ */
|
|
1451
|
+
children: t
|
|
1452
|
+
}) }), /* @__PURE__ */ a(W.Portal, { children: /* @__PURE__ */ a(W.Positioner, { children: /* @__PURE__ */ a(W.Popup, { children: e }) }) })] });
|
|
1453
1453
|
}
|
|
1454
|
-
function
|
|
1454
|
+
function la({ back: e, onClose: t, onExpand: n, closeRef: r, panel: s, children: l }) {
|
|
1455
1455
|
return /* @__PURE__ */ y(Ne, { children: [/* @__PURE__ */ y("span", {
|
|
1456
1456
|
className: "absolute top-2 right-2 z-30 flex items-center gap-0.5",
|
|
1457
|
-
children: [n != null ? /* @__PURE__ */
|
|
1457
|
+
children: [n != null ? /* @__PURE__ */ a(W.Provider, { children: /* @__PURE__ */ a(sa, {
|
|
1458
1458
|
label: "Expand",
|
|
1459
|
-
icon: /* @__PURE__ */
|
|
1459
|
+
icon: /* @__PURE__ */ a(fa, {}),
|
|
1460
1460
|
onClick: n
|
|
1461
|
-
}) }) : null, /* @__PURE__ */
|
|
1461
|
+
}) }) : null, /* @__PURE__ */ a("span", {
|
|
1462
1462
|
ref: r,
|
|
1463
1463
|
className: "contents",
|
|
1464
|
-
children: e != null ? /* @__PURE__ */
|
|
1464
|
+
children: e != null ? /* @__PURE__ */ a(ve, {
|
|
1465
1465
|
...Fe,
|
|
1466
1466
|
href: e.href,
|
|
1467
1467
|
onClick: e.onClick
|
|
1468
|
-
}) :
|
|
1468
|
+
}) : t != null ? /* @__PURE__ */ a(Z, {
|
|
1469
1469
|
...Fe,
|
|
1470
|
-
onClick:
|
|
1470
|
+
onClick: t
|
|
1471
1471
|
}) : null
|
|
1472
1472
|
})]
|
|
1473
1473
|
}), /* @__PURE__ */ y(J.Root, {
|
|
1474
1474
|
className: "min-h-0 flex-1",
|
|
1475
|
-
children: [/* @__PURE__ */
|
|
1475
|
+
children: [/* @__PURE__ */ a(J.Viewport, { children: /* @__PURE__ */ a(J.Content, {
|
|
1476
1476
|
className: "flex min-h-full flex-col",
|
|
1477
|
-
children: /* @__PURE__ */
|
|
1477
|
+
children: /* @__PURE__ */ a(je.Provider, {
|
|
1478
1478
|
value: s,
|
|
1479
1479
|
children: l
|
|
1480
1480
|
})
|
|
1481
|
-
}) }), /* @__PURE__ */
|
|
1481
|
+
}) }), /* @__PURE__ */ a(J.Scrollbar, { children: /* @__PURE__ */ a(J.Thumb, {}) })]
|
|
1482
1482
|
})] });
|
|
1483
1483
|
}
|
|
1484
|
-
function
|
|
1485
|
-
const c = M(), { back: i, panel: d, closeRef: f, leave: o } =
|
|
1484
|
+
function Kt({ width: e, paneHeight: t, onClose: n, onExpand: r, open: s, placeholder: l, children: u }) {
|
|
1485
|
+
const c = M(), { back: i, panel: d, closeRef: f, leave: o } = ia(), m = c ? "blur(0px)" : `blur(${xe}px)`, h = t ?? "100dvh";
|
|
1486
1486
|
O(() => {
|
|
1487
1487
|
const b = (N) => {
|
|
1488
1488
|
N.key !== "Escape" || N.defaultPrevented || o() && N.preventDefault();
|
|
@@ -1504,7 +1504,7 @@ function Ka({ width: e, paneHeight: a, onClose: n, onExpand: r, open: s, placeho
|
|
|
1504
1504
|
},
|
|
1505
1505
|
transition: c ? { duration: 0 } : le
|
|
1506
1506
|
};
|
|
1507
|
-
return /* @__PURE__ */
|
|
1507
|
+
return /* @__PURE__ */ a("aside", {
|
|
1508
1508
|
"data-basic-page-aside": "panel",
|
|
1509
1509
|
"data-basic-page-aside-variant": "inline",
|
|
1510
1510
|
className: "relative flex shrink-0 flex-col",
|
|
@@ -1512,15 +1512,15 @@ function Ka({ width: e, paneHeight: a, onClose: n, onExpand: r, open: s, placeho
|
|
|
1512
1512
|
width: e,
|
|
1513
1513
|
minHeight: h
|
|
1514
1514
|
},
|
|
1515
|
-
children: /* @__PURE__ */
|
|
1515
|
+
children: /* @__PURE__ */ a("div", {
|
|
1516
1516
|
className: "border-pho-secondary bg-pho-primary sticky top-0 grid border-l *:min-h-0 *:[grid-area:1/1]",
|
|
1517
1517
|
style: { height: h },
|
|
1518
|
-
children: /* @__PURE__ */
|
|
1518
|
+
children: /* @__PURE__ */ a($, {
|
|
1519
1519
|
initial: !1,
|
|
1520
|
-
children: s ? /* @__PURE__ */
|
|
1520
|
+
children: s ? /* @__PURE__ */ a(A.div, {
|
|
1521
1521
|
...g,
|
|
1522
1522
|
className: "relative flex flex-col",
|
|
1523
|
-
children: /* @__PURE__ */
|
|
1523
|
+
children: /* @__PURE__ */ a(la, {
|
|
1524
1524
|
back: i,
|
|
1525
1525
|
onClose: n,
|
|
1526
1526
|
onExpand: r,
|
|
@@ -1528,7 +1528,7 @@ function Ka({ width: e, paneHeight: a, onClose: n, onExpand: r, open: s, placeho
|
|
|
1528
1528
|
panel: d,
|
|
1529
1529
|
children: u
|
|
1530
1530
|
})
|
|
1531
|
-
}, "page") : /* @__PURE__ */
|
|
1531
|
+
}, "page") : /* @__PURE__ */ a(A.div, {
|
|
1532
1532
|
...g,
|
|
1533
1533
|
className: "flex flex-col",
|
|
1534
1534
|
children: l
|
|
@@ -1537,9 +1537,9 @@ function Ka({ width: e, paneHeight: a, onClose: n, onExpand: r, open: s, placeho
|
|
|
1537
1537
|
})
|
|
1538
1538
|
});
|
|
1539
1539
|
}
|
|
1540
|
-
function
|
|
1541
|
-
const { back: i, panel: d, closeRef: f, leave: o } =
|
|
1542
|
-
return /* @__PURE__ */
|
|
1540
|
+
function Xt({ container: e, width: t, paneHeight: n, onClose: r, onExpand: s, open: l, modal: u, children: c }) {
|
|
1541
|
+
const { back: i, panel: d, closeRef: f, leave: o } = ia(), m = n ?? "100dvh";
|
|
1542
|
+
return /* @__PURE__ */ a(ne.Root, {
|
|
1543
1543
|
open: l,
|
|
1544
1544
|
modal: u ? "trap-focus" : !1,
|
|
1545
1545
|
disablePointerDismissal: !0,
|
|
@@ -1549,21 +1549,21 @@ function Xa({ container: e, width: a, paneHeight: n, onClose: r, onExpand: s, op
|
|
|
1549
1549
|
children: /* @__PURE__ */ y(ne.Portal, {
|
|
1550
1550
|
container: e,
|
|
1551
1551
|
className: "contents",
|
|
1552
|
-
children: [u ? /* @__PURE__ */
|
|
1552
|
+
children: [u ? /* @__PURE__ */ a(ne.Backdrop, {
|
|
1553
1553
|
"data-basic-page-aside-backdrop": "",
|
|
1554
1554
|
className: p("bg-pho-overlay absolute inset-0 z-30 transition-opacity duration-200 ease-out motion-reduce:transition-none", "data-[ending-style]:opacity-0 data-[starting-style]:opacity-0"),
|
|
1555
1555
|
onClick: o
|
|
1556
|
-
}) : null, /* @__PURE__ */
|
|
1556
|
+
}) : null, /* @__PURE__ */ a(ne.Popup, {
|
|
1557
1557
|
"data-basic-page-aside": "panel",
|
|
1558
1558
|
"data-basic-page-aside-variant": "overlay",
|
|
1559
1559
|
initialFocus: u ? void 0 : !1,
|
|
1560
1560
|
finalFocus: u ? void 0 : !1,
|
|
1561
1561
|
className: p("absolute inset-y-0 right-0 z-30 flex flex-col outline-none", "transition-[translate,opacity] duration-250 ease-out motion-reduce:transition-none", "data-[ending-style]:translate-x-3 data-[ending-style]:opacity-0 data-[ending-style]:duration-200 data-[starting-style]:translate-x-3 data-[starting-style]:opacity-0"),
|
|
1562
|
-
style: { width:
|
|
1563
|
-
children: /* @__PURE__ */
|
|
1562
|
+
style: { width: t },
|
|
1563
|
+
children: /* @__PURE__ */ a("div", {
|
|
1564
1564
|
className: "border-pho-secondary bg-pho-primary shadow-pho-xl sticky top-0 flex flex-col border-l",
|
|
1565
1565
|
style: { height: m },
|
|
1566
|
-
children: /* @__PURE__ */
|
|
1566
|
+
children: /* @__PURE__ */ a(la, {
|
|
1567
1567
|
back: i,
|
|
1568
1568
|
onClose: r,
|
|
1569
1569
|
onExpand: s,
|
|
@@ -1576,8 +1576,8 @@ function Xa({ container: e, width: a, paneHeight: n, onClose: r, onExpand: s, op
|
|
|
1576
1576
|
})
|
|
1577
1577
|
});
|
|
1578
1578
|
}
|
|
1579
|
-
var
|
|
1580
|
-
function
|
|
1579
|
+
var Qt = "14rem", Yt = "transition-[width] duration-[330ms] ease-pho-spring motion-reduce:transition-none", ze = "transition-[opacity,visibility] duration-200 ease-out motion-reduce:transition-none";
|
|
1580
|
+
function Ut({ variant: e = "box", fold: t = "auto", value: n, onValueChange: r, placeholder: s, label: l, className: u, ...c }) {
|
|
1581
1581
|
const i = R(ye), d = ce(i?.subscribe ?? de, () => i?.get().api ?? null, () => null), f = n != null;
|
|
1582
1582
|
O(() => {
|
|
1583
1583
|
if (!(i == null || f))
|
|
@@ -1602,12 +1602,12 @@ function Ua({ variant: e = "box", fold: a = "auto", value: n, onValueChange: r,
|
|
|
1602
1602
|
E != null && (E.focus(), document.activeElement !== E && _++ < 5 && (v = requestAnimationFrame(x)));
|
|
1603
1603
|
};
|
|
1604
1604
|
return v = requestAnimationFrame(x), () => cancelAnimationFrame(v);
|
|
1605
|
-
}, [m]), e === "ghost") return /* @__PURE__ */
|
|
1605
|
+
}, [m]), e === "ghost") return /* @__PURE__ */ a("div", {
|
|
1606
1606
|
"data-basic-page-search": "",
|
|
1607
1607
|
"data-variant": "ghost",
|
|
1608
1608
|
className: p("flex min-w-0 flex-1", o == null && "hidden", u),
|
|
1609
1609
|
...c,
|
|
1610
|
-
children: o != null && /* @__PURE__ */
|
|
1610
|
+
children: o != null && /* @__PURE__ */ a(Ca, {
|
|
1611
1611
|
value: o.query,
|
|
1612
1612
|
onChange: o.setQuery,
|
|
1613
1613
|
placeholder: o.placeholder,
|
|
@@ -1617,16 +1617,16 @@ function Ua({ variant: e = "box", fold: a = "auto", value: n, onValueChange: r,
|
|
|
1617
1617
|
}
|
|
1618
1618
|
})
|
|
1619
1619
|
});
|
|
1620
|
-
const N =
|
|
1621
|
-
return /* @__PURE__ */
|
|
1620
|
+
const N = t === "auto";
|
|
1621
|
+
return /* @__PURE__ */ a("div", {
|
|
1622
1622
|
"data-basic-page-search": "",
|
|
1623
1623
|
"data-expanded": b || void 0,
|
|
1624
1624
|
className: p("grid min-w-0 content-center", "[[data-basic-page-header]>&]:col-start-2 [[data-basic-page-header]>&]:row-span-2 [[data-basic-page-header]>&]:row-start-1 [[data-basic-page-header]>&]:ml-4 [[data-basic-page-header]>&]:justify-items-end [[data-basic-page-header]>&]:self-start", o == null && "hidden", u),
|
|
1625
1625
|
...c,
|
|
1626
1626
|
children: o != null && /* @__PURE__ */ y("div", {
|
|
1627
|
-
className: p("grid w-9 max-w-full justify-items-end *:[grid-area:1/1]",
|
|
1628
|
-
style: b ? { width:
|
|
1629
|
-
children: [/* @__PURE__ */
|
|
1627
|
+
className: p("grid w-9 max-w-full justify-items-end *:[grid-area:1/1]", Yt, N && "@[36rem]:w-56"),
|
|
1628
|
+
style: b ? { width: Qt } : void 0,
|
|
1629
|
+
children: [/* @__PURE__ */ a(Z, {
|
|
1630
1630
|
variant: "outlined",
|
|
1631
1631
|
size: "sm",
|
|
1632
1632
|
shape: "circle",
|
|
@@ -1636,14 +1636,14 @@ function Ua({ variant: e = "box", fold: a = "auto", value: n, onValueChange: r,
|
|
|
1636
1636
|
tabIndex: b ? -1 : void 0,
|
|
1637
1637
|
onClick: () => h(!0),
|
|
1638
1638
|
className: p(ze, b ? "pointer-events-none invisible opacity-0" : "visible opacity-100", N && "@[36rem]:pointer-events-none @[36rem]:invisible @[36rem]:opacity-0"),
|
|
1639
|
-
children: /* @__PURE__ */
|
|
1640
|
-
}), /* @__PURE__ */
|
|
1639
|
+
children: /* @__PURE__ */ a(Te, {})
|
|
1640
|
+
}), /* @__PURE__ */ a("div", {
|
|
1641
1641
|
inert: !N && !b,
|
|
1642
1642
|
className: p("w-full min-w-0", ze, b ? "visible opacity-100" : "pointer-events-none invisible opacity-0", N && "@[36rem]:pointer-events-auto @[36rem]:visible @[36rem]:opacity-100"),
|
|
1643
1643
|
children: /* @__PURE__ */ y(pe.Root, {
|
|
1644
1644
|
size: "sm",
|
|
1645
1645
|
className: "w-full",
|
|
1646
|
-
children: [/* @__PURE__ */
|
|
1646
|
+
children: [/* @__PURE__ */ a(pe.Addon, { children: /* @__PURE__ */ a(Te, {}) }), /* @__PURE__ */ a(pe.Input, {
|
|
1647
1647
|
ref: g,
|
|
1648
1648
|
type: "search",
|
|
1649
1649
|
value: o.query,
|
|
@@ -1662,9 +1662,9 @@ function Ua({ variant: e = "box", fold: a = "auto", value: n, onValueChange: r,
|
|
|
1662
1662
|
})
|
|
1663
1663
|
});
|
|
1664
1664
|
}
|
|
1665
|
-
function
|
|
1665
|
+
function Jt({ header: e, main: t, side: n, foot: r, enter: s }) {
|
|
1666
1666
|
const l = n != null;
|
|
1667
|
-
return /* @__PURE__ */
|
|
1667
|
+
return /* @__PURE__ */ a("div", {
|
|
1668
1668
|
"data-basic-page-columns": "",
|
|
1669
1669
|
className: "@container w-full min-w-0",
|
|
1670
1670
|
children: /* @__PURE__ */ y("div", {
|
|
@@ -1672,19 +1672,19 @@ function Ja({ header: e, main: a, side: n, foot: r, enter: s }) {
|
|
|
1672
1672
|
children: [e, /* @__PURE__ */ y("div", {
|
|
1673
1673
|
className: p("grid gap-x-10 gap-y-4", l && "@min-[73.5rem]:grid-cols-[minmax(42rem,1fr)_minmax(29rem,32rem)] @min-[73.5rem]:grid-rows-[auto_minmax(0,1fr)]", l && "[&>[data-basic-page-columns-side]]:mt-6 @min-[73.5rem]:[&>[data-basic-page-columns-side]]:mt-7", r != null && "[&>[data-basic-page-columns-foot]]:mt-6"),
|
|
1674
1674
|
children: [
|
|
1675
|
-
/* @__PURE__ */
|
|
1675
|
+
/* @__PURE__ */ a(re, {
|
|
1676
1676
|
enter: s,
|
|
1677
1677
|
"data-basic-page-columns-main": "",
|
|
1678
1678
|
className: p("[[data-basic-page-stack]>[data-basic-page-columns]_&]:mt-0", l && "@min-[73.5rem]:col-start-1 @min-[73.5rem]:row-span-2 @min-[73.5rem]:row-start-1"),
|
|
1679
|
-
children:
|
|
1679
|
+
children: t
|
|
1680
1680
|
}),
|
|
1681
|
-
l ? /* @__PURE__ */
|
|
1681
|
+
l ? /* @__PURE__ */ a(re, {
|
|
1682
1682
|
enter: s,
|
|
1683
1683
|
"data-basic-page-columns-side": "",
|
|
1684
1684
|
className: p("[[data-basic-page-stack]>[data-basic-page-columns]_&]:mt-0", "@min-[73.5rem]:col-start-2 @min-[73.5rem]:row-start-1"),
|
|
1685
1685
|
children: n
|
|
1686
1686
|
}) : null,
|
|
1687
|
-
r != null ? /* @__PURE__ */
|
|
1687
|
+
r != null ? /* @__PURE__ */ a(re, {
|
|
1688
1688
|
enter: s,
|
|
1689
1689
|
"data-basic-page-columns-foot": "",
|
|
1690
1690
|
className: p("[[data-basic-page-stack]>[data-basic-page-columns]_&]:mt-0", l && "@min-[73.5rem]:col-start-2 @min-[73.5rem]:row-start-2 @min-[73.5rem]:self-start"),
|
|
@@ -1696,58 +1696,58 @@ function Ja({ header: e, main: a, side: n, foot: r, enter: s }) {
|
|
|
1696
1696
|
});
|
|
1697
1697
|
}
|
|
1698
1698
|
var Tn = {
|
|
1699
|
-
Root:
|
|
1700
|
-
Aside:
|
|
1701
|
-
Search:
|
|
1702
|
-
Table:
|
|
1703
|
-
CondenseScope:
|
|
1704
|
-
Breadcrumbs:
|
|
1705
|
-
Crumb:
|
|
1706
|
-
Back: $
|
|
1707
|
-
Title:
|
|
1699
|
+
Root: Da,
|
|
1700
|
+
Aside: Wt,
|
|
1701
|
+
Search: Ut,
|
|
1702
|
+
Table: ba,
|
|
1703
|
+
CondenseScope: Xa,
|
|
1704
|
+
Breadcrumbs: na,
|
|
1705
|
+
Crumb: ra,
|
|
1706
|
+
Back: $t,
|
|
1707
|
+
Title: et,
|
|
1708
1708
|
Stack: re,
|
|
1709
|
-
Columns:
|
|
1710
|
-
Header:
|
|
1711
|
-
HeaderAction:
|
|
1712
|
-
SectionTitle:
|
|
1709
|
+
Columns: Jt,
|
|
1710
|
+
Header: ct,
|
|
1711
|
+
HeaderAction: ut,
|
|
1712
|
+
SectionTitle: dt,
|
|
1713
1713
|
Description: Ze,
|
|
1714
|
-
TableCount:
|
|
1715
|
-
SectionFooter:
|
|
1716
|
-
Card:
|
|
1717
|
-
Item:
|
|
1718
|
-
ItemPanel:
|
|
1719
|
-
Callout:
|
|
1720
|
-
CalloutTitle:
|
|
1721
|
-
CalloutDescription:
|
|
1722
|
-
Onboard:
|
|
1723
|
-
Step:
|
|
1724
|
-
Row:
|
|
1725
|
-
RowLink:
|
|
1726
|
-
Value:
|
|
1727
|
-
Alert:
|
|
1728
|
-
Footer:
|
|
1729
|
-
Form:
|
|
1730
|
-
Saved:
|
|
1731
|
-
Fields:
|
|
1732
|
-
Inline:
|
|
1733
|
-
Submit:
|
|
1714
|
+
TableCount: pt,
|
|
1715
|
+
SectionFooter: mt,
|
|
1716
|
+
Card: ft,
|
|
1717
|
+
Item: ht,
|
|
1718
|
+
ItemPanel: gt,
|
|
1719
|
+
Callout: bt,
|
|
1720
|
+
CalloutTitle: vt,
|
|
1721
|
+
CalloutDescription: yt,
|
|
1722
|
+
Onboard: xt,
|
|
1723
|
+
Step: Et,
|
|
1724
|
+
Row: kt,
|
|
1725
|
+
RowLink: qt,
|
|
1726
|
+
Value: St,
|
|
1727
|
+
Alert: Rt,
|
|
1728
|
+
Footer: Mt,
|
|
1729
|
+
Form: Tt,
|
|
1730
|
+
Saved: Pt,
|
|
1731
|
+
Fields: Ot,
|
|
1732
|
+
Inline: Bt,
|
|
1733
|
+
Submit: Lt,
|
|
1734
1734
|
Reveal: Re
|
|
1735
1735
|
};
|
|
1736
1736
|
export {
|
|
1737
|
-
|
|
1737
|
+
Pa as a,
|
|
1738
1738
|
Tn as c,
|
|
1739
|
-
|
|
1739
|
+
Qa as d,
|
|
1740
1740
|
he as f,
|
|
1741
|
-
|
|
1741
|
+
Ta as i,
|
|
1742
1742
|
le as l,
|
|
1743
1743
|
kn as m,
|
|
1744
1744
|
Ie as n,
|
|
1745
|
-
|
|
1745
|
+
Ia as o,
|
|
1746
1746
|
Sn as p,
|
|
1747
1747
|
$e as r,
|
|
1748
|
-
|
|
1748
|
+
Ra as s,
|
|
1749
1749
|
Rn as t,
|
|
1750
|
-
|
|
1750
|
+
Ya as u
|
|
1751
1751
|
};
|
|
1752
1752
|
|
|
1753
|
-
//# sourceMappingURL=basic-page-
|
|
1753
|
+
//# sourceMappingURL=basic-page-OrUVXKrx.js.map
|