diff --git a/docs/implementation-notes/card-execution-supplement.md b/docs/implementation-notes/card-execution-supplement.md new file mode 100644 index 0000000..a33092c --- /dev/null +++ b/docs/implementation-notes/card-execution-supplement.md @@ -0,0 +1,52 @@ +# Card execution supplement + +Date: 2026-07-31 + +## Intent + +`jtype-board-react` hosts such as jcode Cloud need to show execution receipts +next to a Card without replacing the native Card editor. The package now exposes +an additive `renderCardSupplement(card)` slot for that purpose. + +The host owns the supplement content and data. jtype continues to own Card +title, description, status, properties, relations, comments, save behavior, and +optimistic concurrency. + +## Public contract + +- `JTypeBoardProps.renderCardSupplement?: (card: BoardViewCard) => ReactNode` +- The slot renders after native Properties and Relations in the built-in + editable Card detail. +- It does not render for the explicit `readOnly` detail. +- It does not render when `onCardOpen` intercepts the built-in detail. +- Omission is a no-op. + +The slot flows through the shared component contract: + +`JTypeBoard → BoardSurface.renderCardSupplement → BoardPeek.supplement`. + +There are no Desktop/Web/Cloud platform conditionals. + +## Feature impact matrix + +| Surface | Behavior | Verification | +| --- | --- | --- | +| Desktop board | No change when the slot is omitted | Desktop build + shared board tests | +| Web board | No change when the slot is omitted | Web build + shared board tests | +| Editable `jtype-board-react` embed | Native editor plus optional host supplement | Package Playwright fixture | +| Read-only package embed | Existing non-mutating detail; no supplement | Package Playwright fixture | +| `onCardOpen` host | Host callback remains the only detail owner | Package Playwright fixture | +| Package API/artifact | New prop exported in `.d.ts`; bundle and README updated | Package build/typecheck | + +## Test cases + +1. The editable package detail retains Description and Properties and adds the + host supplement. +2. The read-only package detail does not render the editable supplement. +3. `onCardOpen` interception does not render the supplement. +4. Existing package editor tests continue to cover Card mutations and bounded + host layout. + +## Release + +Package version: `0.1.2`. diff --git a/packages/board-react/README.md b/packages/board-react/README.md index fc9aa61..3d3c81e 100644 --- a/packages/board-react/README.md +++ b/packages/board-react/README.md @@ -43,6 +43,7 @@ The wrapper fills its container — **give the parent element a height.** | `live` | `boolean` | `true` | Try the live SSE feed; see *Live updates* below. | | `pollIntervalMs` | `number` | `30000` | Polling cadence (min 5000). | | `onCardOpen` | `(card: BoardViewCard) => void` | — | Intercept card opens; replaces the built-in read-only detail panel. | +| `renderCardSupplement` | `(card: BoardViewCard) => ReactNode` | — | Add host-owned content after native Properties and Relations in the built-in editable Card detail. It is not rendered for `readOnly` or intercepted opens. | | `onConnectionChange` | `(s: 'live' \| 'polling' \| 'error') => void` | — | Observe transport state transitions. | | `locale` | `'en' \| 'zh' \| 'ja' \| 'ko'` | `'en'` | Board chrome language. The lingui instance is bundle-wide, so multiple boards on one page share the last-set locale. | | `className`, `style` | | — | Extra class/style for the wrapper element. | @@ -142,7 +143,9 @@ read-only card detail, and localized chrome. Editable embeds use the shared focused quick-create and card-detail dialogs, including description, properties, relations, and sub-cards. Explicitly read-only embeds keep the non-mutating detail; a host `onCardOpen` callback still replaces either -built-in path. +built-in path. Hosts that need execution receipts or other contextual data +without replacing the editor can use `renderCardSupplement`. The slot is +additive: jtype retains ownership of Card editing and mutations. Not yet (flag-gated later): members/assignee options, versions/activity, ticket badges (the `OCCSV-####` chip — the embed client has no ticket-index endpoint, so cards never show it even when the board configures `ticketKey`), diff --git a/packages/board-react/dist/index.d.ts b/packages/board-react/dist/index.d.ts index e6d6ccd..e617982 100644 --- a/packages/board-react/dist/index.d.ts +++ b/packages/board-react/dist/index.d.ts @@ -1,5 +1,6 @@ import { CSSProperties } from 'react'; import { ReactElement } from 'react'; +import { ReactNode } from 'react'; /** Shape of the `.board` JSON config document (mirrors WebBoardView). */ export declare type BoardConfigJSON = BoardDocumentConfig; @@ -165,7 +166,7 @@ export declare class JTypeApiError extends Error { * `client`) plus `workspaceId`+`boardRef` and it renders the same shared * BoardSurface the jtype desktop + web apps use, backed by the document API. */ -export declare function JTypeBoard({ workspaceId, boardRef, baseUrl, token, client: injectedClient, readOnly, currentUser, live, pollIntervalMs, onCardOpen, onConnectionChange, locale, className, style, }: JTypeBoardProps): ReactElement; +export declare function JTypeBoard({ workspaceId, boardRef, baseUrl, token, client: injectedClient, readOnly, currentUser, live, pollIntervalMs, onCardOpen, renderCardSupplement, onConnectionChange, locale, className, style, }: JTypeBoardProps): ReactElement; export declare type JTypeBoardConnection = 'live' | 'polling' | 'error'; @@ -235,6 +236,11 @@ export declare type JTypeBoardProps = { pollIntervalMs?: number; /** Intercept card opens (replaces the built-in editable/read-only detail). */ onCardOpen?: (card: BoardViewCard) => void; + /** + * Add host-owned content after native Properties and Relations without + * replacing jtype's editor. Not rendered for read-only or intercepted opens. + */ + renderCardSupplement?: (card: BoardViewCard) => ReactNode; /** Observe live/polling/error transitions. */ onConnectionChange?: (state: JTypeBoardConnection) => void; /** Board chrome locale (default 'en'). Shared across instances (see README). */ diff --git a/packages/board-react/dist/index.js b/packages/board-react/dist/index.js index 39acb4e..f5afa69 100644 --- a/packages/board-react/dist/index.js +++ b/packages/board-react/dist/index.js @@ -122,10 +122,10 @@ function z({ title: t, titleId: n, ...r }, i) { d: "M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z" })); } -var B = /*#__PURE__*/ e.forwardRef(z); +var ee = /*#__PURE__*/ e.forwardRef(z); //#endregion //#region node_modules/@heroicons/react/24/outline/esm/XMarkIcon.js -function V({ title: t, titleId: n, ...r }, i) { +function B({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -142,12 +142,12 @@ function V({ title: t, titleId: n, ...r }, i) { d: "M6 18 18 6M6 6l12 12" })); } -var ee = /*#__PURE__*/ e.forwardRef(V), H = (e) => typeof e == "string", te = (e) => typeof e == "function", ne = /* @__PURE__ */ new Map(), re = "en"; -function U(e) { - return [...Array.isArray(e) ? e : [e], re]; +var te = /*#__PURE__*/ e.forwardRef(B), V = (e) => typeof e == "string", ne = (e) => typeof e == "function", re = /* @__PURE__ */ new Map(), ie = "en"; +function ae(e) { + return [...Array.isArray(e) ? e : [e], ie]; } -function ie(e, t, n) { - let r = U(e); +function H(e, t, n) { + let r = ae(e); n ||= "default"; let i; if (typeof n == "string") switch (i = { @@ -164,9 +164,9 @@ function ie(e, t, n) { break; } else i = n; - return ce(() => le("date", r, n), () => new Intl.DateTimeFormat(r, i)).format(H(t) ? new Date(t) : t); + return le(() => ue("date", r, n), () => new Intl.DateTimeFormat(r, i)).format(V(t) ? new Date(t) : t); } -function ae(e, t, n) { +function oe(e, t, n) { let r; if (n ||= "default", typeof n == "string") switch (r = { second: "numeric", @@ -180,24 +180,24 @@ function ae(e, t, n) { case "short": delete r.second; } else r = n; - return ie(e, t, r); + return H(e, t, r); } -function oe(e, t, n) { - let r = U(e); - return ce(() => le("number", r, n), () => new Intl.NumberFormat(r, n)).format(t); +function se(e, t, n) { + let r = ae(e); + return le(() => ue("number", r, n), () => new Intl.NumberFormat(r, n)).format(t); } -function se(e, t, n, { offset: r = 0, ...i }) { - let a = U(e), o = t ? ce(() => le("plural-ordinal", a), () => new Intl.PluralRules(a, { type: "ordinal" })) : ce(() => le("plural-cardinal", a), () => new Intl.PluralRules(a, { type: "cardinal" })); +function ce(e, t, n, { offset: r = 0, ...i }) { + let a = ae(e), o = t ? le(() => ue("plural-ordinal", a), () => new Intl.PluralRules(a, { type: "ordinal" })) : le(() => ue("plural-cardinal", a), () => new Intl.PluralRules(a, { type: "cardinal" })); return i[n] ?? i[o.select(n - r)] ?? i.other; } -function ce(e, t) { - let n = e(), r = ne.get(n); - return r || (r = t(), ne.set(n, r)), r; +function le(e, t) { + let n = e(), r = re.get(n); + return r || (r = t(), re.set(n, r)), r; } -function le(e, t, n) { +function ue(e, t, n) { return `${e}-${t.join("-")}-${JSON.stringify(n)}`; } -var ue = /\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/, de = (e) => e.replace(/\\u([a-fA-F0-9]{4})|\\x([a-fA-F0-9]{2})/g, (e, t, n) => { +var de = /\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/, fe = (e) => e.replace(/\\u([a-fA-F0-9]{4})|\\x([a-fA-F0-9]{2})/g, (e, t, n) => { if (t) { let e = parseInt(t, 16); return String.fromCharCode(e); @@ -205,31 +205,31 @@ var ue = /\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/, de = (e) => e.replace(/\\u([a-fA let e = parseInt(n, 16); return String.fromCharCode(e); } -}), fe = "%__lingui_octothorpe__%", pe = (e, t, n = {}) => { +}), pe = "%__lingui_octothorpe__%", me = (e, t, n = {}) => { let r = t || e, i = (e) => typeof e == "object" ? e : n[e], a = (e, t) => { - let a = Object.keys(n).length ? i("number") : void 0, o = oe(r, e, a); - return t.replace(new RegExp(fe, "g"), o); + let a = Object.keys(n).length ? i("number") : void 0, o = se(r, e, a); + return t.replace(new RegExp(pe, "g"), o); }; return { plural: (e, t) => { - let { offset: n = 0 } = t, i = se(r, !1, e, t); + let { offset: n = 0 } = t, i = ce(r, !1, e, t); return a(e - n, i); }, selectordinal: (e, t) => { - let { offset: n = 0 } = t, i = se(r, !0, e, t); + let { offset: n = 0 } = t, i = ce(r, !0, e, t); return a(e - n, i); }, - select: me, - number: (e, t) => oe(r, e, i(t) || { style: t }), - date: (e, t) => ie(r, e, i(t) || t), - time: (e, t) => ae(r, e, i(t) || t) + select: he, + number: (e, t) => se(r, e, i(t) || { style: t }), + date: (e, t) => H(r, e, i(t) || t), + time: (e, t) => oe(r, e, i(t) || t) }; -}, me = (e, t) => t[e] ?? t.other; -function he(e, t, n) { +}, he = (e, t) => t[e] ?? t.other; +function ge(e, t, n) { return (r = {}, i) => { - let a = pe(t, n, i), o = (e, t = !1) => Array.isArray(e) ? e.reduce((e, n) => { - if (n === "#" && t) return e + fe; - if (H(n)) return e + n; + let a = me(t, n, i), o = (e, t = !1) => Array.isArray(e) ? e.reduce((e, n) => { + if (n === "#" && t) return e + pe; + if (V(n)) return e + n; let [i, s, c] = n, l = {}; s === "plural" || s === "selectordinal" || s === "select" ? Object.entries(c).forEach(([e, t]) => { l[e] = o(t, s === "plural" || s === "selectordinal"); @@ -241,10 +241,10 @@ function he(e, t, n) { } else u = r[i]; return u == null ? e : e + u; }, "") : e, s = o(e); - return H(s) && ue.test(s) ? de(s) : H(s) ? s : s ? String(s) : ""; + return V(s) && de.test(s) ? fe(s) : V(s) ? s : s ? String(s) : ""; }; } -var ge = class { +var _e = class { _events = {}; on(e, t) { return this._events[e] ??= /* @__PURE__ */ new Set(), this._events[e].add(t), () => this.removeListener(e, t); @@ -257,14 +257,14 @@ var ge = class { let n = this._events[e]; if (n) for (let e of [...n]) e.apply(this, t); } -}, _e = class extends ge { +}, ve = class extends _e { _locale = ""; _locales; _messages = {}; _missing; _messageCompiler; constructor(e) { - super(), e.missing != null && (this._missing = e.missing), e.messages != null && this.load(e.messages), (typeof e.locale == "string" || e.locales) && this.activate(e.locale ?? re, e.locales); + super(), e.missing != null && (this._missing = e.missing), e.messages != null && this.load(e.messages), (typeof e.locale == "string" || e.locales) && this.activate(e.locale ?? ie, e.locales); } get locale() { return this._locale; @@ -294,15 +294,15 @@ var ge = class { _(e, t, n) { if (!this.locale) throw Error("Lingui: Attempted to call a translation function without setting a locale.\nMake sure to call `i18n.activate(locale)` before using Lingui functions.\nThis issue may also occur due to a race condition in your initialization logic."); let r = n?.message; - e ||= "", H(e) || (t = e.values || t, r = e.message, e = e.id); + e ||= "", V(e) || (t = e.values || t, r = e.message, e = e.id); let i = this.messages[e], a = i === void 0, o = this._missing; - if (o && a) return te(o) ? o(this._locale, e) : o; + if (o && a) return ne(o) ? o(this._locale, e) : o; a && this.emit("missing", { id: e, locale: this._locale }); let s = i || r || e; - return H(s) && (this._messageCompiler ? s = this._messageCompiler(s) : console.warn(`Uncompiled message detected! Message: + return V(s) && (this._messageCompiler ? s = this._messageCompiler(s) : console.warn(`Uncompiled message detected! Message: > ${s} @@ -310,23 +310,23 @@ That means you use raw catalog or your catalog doesn't have a translation for th ICU features such as interpolation and plurals will not work properly for that message. Please compile your catalog first. -`)), H(s) && ue.test(s) ? de(s) : H(s) ? s : he(s, this._locale, this._locales)(t, n?.formats); +`)), V(s) && de.test(s) ? fe(s) : V(s) ? s : ge(s, this._locale, this._locales)(t, n?.formats); } t = this._.bind(this); date(e, t) { - return ie(this._locales || this._locale, e, t); + return H(this._locales || this._locale, e, t); } number(e, t) { - return oe(this._locales || this._locale, e, t); + return se(this._locales || this._locale, e, t); } }; -function ve(e = {}) { - return new _e(e); +function ye(e = {}) { + return new ve(e); } -var W = ve(); +var U = ye(); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/AdjustmentsHorizontalIcon.js -function ye({ title: t, titleId: n, ...r }, i) { +function be({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -343,10 +343,10 @@ function ye({ title: t, titleId: n, ...r }, i) { d: "M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75" })); } -var be = /*#__PURE__*/ e.forwardRef(ye); +var xe = /*#__PURE__*/ e.forwardRef(be); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/ArrowDownIcon.js -function xe({ title: t, titleId: n, ...r }, i) { +function Se({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -363,10 +363,10 @@ function xe({ title: t, titleId: n, ...r }, i) { d: "M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3" })); } -var Se = /*#__PURE__*/ e.forwardRef(xe); +var Ce = /*#__PURE__*/ e.forwardRef(Se); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/ArrowLeftIcon.js -function Ce({ title: t, titleId: n, ...r }, i) { +function we({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -383,10 +383,10 @@ function Ce({ title: t, titleId: n, ...r }, i) { d: "M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18" })); } -var we = /*#__PURE__*/ e.forwardRef(Ce); +var Te = /*#__PURE__*/ e.forwardRef(we); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/ArrowPathIcon.js -function Te({ title: t, titleId: n, ...r }, i) { +function Ee({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -403,10 +403,10 @@ function Te({ title: t, titleId: n, ...r }, i) { d: "M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99" })); } -var Ee = /*#__PURE__*/ e.forwardRef(Te); +var De = /*#__PURE__*/ e.forwardRef(Ee); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/ArrowRightIcon.js -function De({ title: t, titleId: n, ...r }, i) { +function Oe({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -423,10 +423,10 @@ function De({ title: t, titleId: n, ...r }, i) { d: "M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3" })); } -var Oe = /*#__PURE__*/ e.forwardRef(De); +var ke = /*#__PURE__*/ e.forwardRef(Oe); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/ArrowTopRightOnSquareIcon.js -function ke({ title: t, titleId: n, ...r }, i) { +function Ae({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -443,10 +443,10 @@ function ke({ title: t, titleId: n, ...r }, i) { d: "M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25" })); } -var Ae = /*#__PURE__*/ e.forwardRef(ke); +var je = /*#__PURE__*/ e.forwardRef(Ae); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/ArrowUpTrayIcon.js -function je({ title: t, titleId: n, ...r }, i) { +function Me({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -463,10 +463,10 @@ function je({ title: t, titleId: n, ...r }, i) { d: "M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5" })); } -var Me = /*#__PURE__*/ e.forwardRef(je); +var Ne = /*#__PURE__*/ e.forwardRef(Me); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/ArrowUpIcon.js -function Ne({ title: t, titleId: n, ...r }, i) { +function Pe({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -483,10 +483,10 @@ function Ne({ title: t, titleId: n, ...r }, i) { d: "M4.5 10.5 12 3m0 0 7.5 7.5M12 3v18" })); } -var Pe = /*#__PURE__*/ e.forwardRef(Ne); +var Fe = /*#__PURE__*/ e.forwardRef(Pe); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/ArrowUturnLeftIcon.js -function Fe({ title: t, titleId: n, ...r }, i) { +function Ie({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -503,10 +503,10 @@ function Fe({ title: t, titleId: n, ...r }, i) { d: "M9 15 3 9m0 0 6-6M3 9h12a6 6 0 0 1 0 12h-3" })); } -var Ie = /*#__PURE__*/ e.forwardRef(Fe); +var Le = /*#__PURE__*/ e.forwardRef(Ie); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/ArrowsPointingInIcon.js -function Le({ title: t, titleId: n, ...r }, i) { +function Re({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -523,10 +523,10 @@ function Le({ title: t, titleId: n, ...r }, i) { d: "M9 9V4.5M9 9H4.5M9 9 3.75 3.75M9 15v4.5M9 15H4.5M9 15l-5.25 5.25M15 9h4.5M15 9V4.5M15 9l5.25-5.25M15 15h4.5M15 15v4.5m0-4.5 5.25 5.25" })); } -var Re = /*#__PURE__*/ e.forwardRef(Le); +var ze = /*#__PURE__*/ e.forwardRef(Re); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/ArrowsPointingOutIcon.js -function ze({ title: t, titleId: n, ...r }, i) { +function Be({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -543,10 +543,10 @@ function ze({ title: t, titleId: n, ...r }, i) { d: "M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15" })); } -var Be = /*#__PURE__*/ e.forwardRef(ze); +var Ve = /*#__PURE__*/ e.forwardRef(Be); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/Bars3Icon.js -function Ve({ title: t, titleId: n, ...r }, i) { +function He({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -563,10 +563,10 @@ function Ve({ title: t, titleId: n, ...r }, i) { d: "M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5" })); } -var He = /*#__PURE__*/ e.forwardRef(Ve); +var Ue = /*#__PURE__*/ e.forwardRef(He); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/BarsArrowDownIcon.js -function Ue({ title: t, titleId: n, ...r }, i) { +function We({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -583,10 +583,10 @@ function Ue({ title: t, titleId: n, ...r }, i) { d: "M3 4.5h14.25M3 9h9.75M3 13.5h9.75m4.5-4.5v12m0 0-3.75-3.75M17.25 21 21 17.25" })); } -var We = /*#__PURE__*/ e.forwardRef(Ue); +var Ge = /*#__PURE__*/ e.forwardRef(We); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/BookmarkIcon.js -function Ge({ title: t, titleId: n, ...r }, i) { +function Ke({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -603,10 +603,10 @@ function Ge({ title: t, titleId: n, ...r }, i) { d: "M17.593 3.322c1.1.128 1.907 1.077 1.907 2.185V21L12 17.25 4.5 21V5.507c0-1.108.806-2.057 1.907-2.185a48.507 48.507 0 0 1 11.186 0Z" })); } -var Ke = /*#__PURE__*/ e.forwardRef(Ge); +var qe = /*#__PURE__*/ e.forwardRef(Ke); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/CalendarDaysIcon.js -function qe({ title: t, titleId: n, ...r }, i) { +function Je({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -623,10 +623,10 @@ function qe({ title: t, titleId: n, ...r }, i) { d: "M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5m-9-6h.008v.008H12v-.008ZM12 15h.008v.008H12V15Zm0 2.25h.008v.008H12v-.008ZM9.75 15h.008v.008H9.75V15Zm0 2.25h.008v.008H9.75v-.008ZM7.5 15h.008v.008H7.5V15Zm0 2.25h.008v.008H7.5v-.008Zm6.75-4.5h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V15Zm0 2.25h.008v.008h-.008v-.008Zm2.25-4.5h.008v.008H16.5v-.008Zm0 2.25h.008v.008H16.5V15Z" })); } -var Je = /*#__PURE__*/ e.forwardRef(qe); +var Ye = /*#__PURE__*/ e.forwardRef(Je); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/ChatBubbleLeftIcon.js -function Ye({ title: t, titleId: n, ...r }, i) { +function Xe({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -643,10 +643,10 @@ function Ye({ title: t, titleId: n, ...r }, i) { d: "M2.25 12.76c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.076-4.076a1.526 1.526 0 0 1 1.037-.443 48.282 48.282 0 0 0 5.68-.494c1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0 0 12 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018Z" })); } -var Xe = /*#__PURE__*/ e.forwardRef(Ye); +var Ze = /*#__PURE__*/ e.forwardRef(Xe); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js -function Ze({ title: t, titleId: n, ...r }, i) { +function Qe({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -663,10 +663,10 @@ function Ze({ title: t, titleId: n, ...r }, i) { d: "M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" })); } -var Qe = /*#__PURE__*/ e.forwardRef(Ze); +var $e = /*#__PURE__*/ e.forwardRef(Qe); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/CheckIcon.js -function $e({ title: t, titleId: n, ...r }, i) { +function et({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -683,10 +683,10 @@ function $e({ title: t, titleId: n, ...r }, i) { d: "m4.5 12.75 6 6 9-13.5" })); } -var et = /*#__PURE__*/ e.forwardRef($e); +var tt = /*#__PURE__*/ e.forwardRef(et); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/ChevronDownIcon.js -function tt({ title: t, titleId: n, ...r }, i) { +function nt({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -703,10 +703,10 @@ function tt({ title: t, titleId: n, ...r }, i) { d: "m19.5 8.25-7.5 7.5-7.5-7.5" })); } -var nt = /*#__PURE__*/ e.forwardRef(tt); +var rt = /*#__PURE__*/ e.forwardRef(nt); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/ChevronLeftIcon.js -function rt({ title: t, titleId: n, ...r }, i) { +function it({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -723,10 +723,10 @@ function rt({ title: t, titleId: n, ...r }, i) { d: "M15.75 19.5 8.25 12l7.5-7.5" })); } -var it = /*#__PURE__*/ e.forwardRef(rt); +var at = /*#__PURE__*/ e.forwardRef(it); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/ChevronRightIcon.js -function at({ title: t, titleId: n, ...r }, i) { +function ot({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -743,10 +743,10 @@ function at({ title: t, titleId: n, ...r }, i) { d: "m8.25 4.5 7.5 7.5-7.5 7.5" })); } -var ot = /*#__PURE__*/ e.forwardRef(at); +var st = /*#__PURE__*/ e.forwardRef(ot); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/ChevronUpDownIcon.js -function st({ title: t, titleId: n, ...r }, i) { +function ct({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -763,10 +763,10 @@ function st({ title: t, titleId: n, ...r }, i) { d: "M8.25 15 12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9" })); } -var ct = /*#__PURE__*/ e.forwardRef(st); +var lt = /*#__PURE__*/ e.forwardRef(ct); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/ClipboardDocumentIcon.js -function lt({ title: t, titleId: n, ...r }, i) { +function ut({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -783,10 +783,10 @@ function lt({ title: t, titleId: n, ...r }, i) { d: "M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z" })); } -var ut = /*#__PURE__*/ e.forwardRef(lt); +var dt = /*#__PURE__*/ e.forwardRef(ut); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/ClockIcon.js -function dt({ title: t, titleId: n, ...r }, i) { +function ft({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -803,10 +803,10 @@ function dt({ title: t, titleId: n, ...r }, i) { d: "M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" })); } -var ft = /*#__PURE__*/ e.forwardRef(dt); +var pt = /*#__PURE__*/ e.forwardRef(ft); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/Cog6ToothIcon.js -function pt({ title: t, titleId: n, ...r }, i) { +function mt({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -827,10 +827,10 @@ function pt({ title: t, titleId: n, ...r }, i) { d: "M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z" })); } -var mt = /*#__PURE__*/ e.forwardRef(pt); +var ht = /*#__PURE__*/ e.forwardRef(mt); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/DocumentDuplicateIcon.js -function ht({ title: t, titleId: n, ...r }, i) { +function gt({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -847,10 +847,10 @@ function ht({ title: t, titleId: n, ...r }, i) { d: "M15.75 17.25v3.375c0 .621-.504 1.125-1.125 1.125h-9.75a1.125 1.125 0 0 1-1.125-1.125V7.875c0-.621.504-1.125 1.125-1.125H6.75a9.06 9.06 0 0 1 1.5.124m7.5 10.376h3.375c.621 0 1.125-.504 1.125-1.125V11.25c0-4.46-3.243-8.161-7.5-8.876a9.06 9.06 0 0 0-1.5-.124H9.375c-.621 0-1.125.504-1.125 1.125v3.5m7.5 10.375H9.375a1.125 1.125 0 0 1-1.125-1.125v-9.25m12 6.625v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H9.75" })); } -var gt = /*#__PURE__*/ e.forwardRef(ht); +var _t = /*#__PURE__*/ e.forwardRef(gt); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/EllipsisHorizontalIcon.js -function _t({ title: t, titleId: n, ...r }, i) { +function vt({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -867,10 +867,10 @@ function _t({ title: t, titleId: n, ...r }, i) { d: "M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z" })); } -var vt = /*#__PURE__*/ e.forwardRef(_t); +var yt = /*#__PURE__*/ e.forwardRef(vt); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/ExclamationTriangleIcon.js -function yt({ title: t, titleId: n, ...r }, i) { +function bt({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -887,10 +887,10 @@ function yt({ title: t, titleId: n, ...r }, i) { d: "M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z" })); } -var bt = /*#__PURE__*/ e.forwardRef(yt); +var xt = /*#__PURE__*/ e.forwardRef(bt); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/EyeIcon.js -function xt({ title: t, titleId: n, ...r }, i) { +function St({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -911,10 +911,10 @@ function xt({ title: t, titleId: n, ...r }, i) { d: "M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z" })); } -var St = /*#__PURE__*/ e.forwardRef(xt); +var Ct = /*#__PURE__*/ e.forwardRef(St); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/FaceSmileIcon.js -function Ct({ title: t, titleId: n, ...r }, i) { +function wt({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -931,10 +931,10 @@ function Ct({ title: t, titleId: n, ...r }, i) { d: "M15.182 15.182a4.5 4.5 0 0 1-6.364 0M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0ZM9.75 9.75c0 .414-.168.75-.375.75S9 10.164 9 9.75 9.168 9 9.375 9s.375.336.375.75Zm-.375 0h.008v.015h-.008V9.75Zm5.625 0c0 .414-.168.75-.375.75s-.375-.336-.375-.75.168-.75.375-.75.375.336.375.75Zm-.375 0h.008v.015h-.008V9.75Z" })); } -var wt = /*#__PURE__*/ e.forwardRef(Ct); +var Tt = /*#__PURE__*/ e.forwardRef(wt); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/FlagIcon.js -function Tt({ title: t, titleId: n, ...r }, i) { +function Et({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -951,10 +951,10 @@ function Tt({ title: t, titleId: n, ...r }, i) { d: "M3 3v1.5M3 21v-6m0 0 2.77-.693a9 9 0 0 1 6.208.682l.108.054a9 9 0 0 0 6.086.71l3.114-.732a48.524 48.524 0 0 1-.005-10.499l-3.11.732a9 9 0 0 1-6.085-.711l-.108-.054a9 9 0 0 0-6.208-.682L3 4.5M3 15V4.5" })); } -var Et = /*#__PURE__*/ e.forwardRef(Tt); +var Dt = /*#__PURE__*/ e.forwardRef(Et); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/FunnelIcon.js -function Dt({ title: t, titleId: n, ...r }, i) { +function Ot({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -971,10 +971,10 @@ function Dt({ title: t, titleId: n, ...r }, i) { d: "M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z" })); } -var Ot = /*#__PURE__*/ e.forwardRef(Dt); +var kt = /*#__PURE__*/ e.forwardRef(Ot); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/InformationCircleIcon.js -function kt({ title: t, titleId: n, ...r }, i) { +function At({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -991,10 +991,10 @@ function kt({ title: t, titleId: n, ...r }, i) { d: "m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z" })); } -var At = /*#__PURE__*/ e.forwardRef(kt); +var jt = /*#__PURE__*/ e.forwardRef(At); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/LinkIcon.js -function jt({ title: t, titleId: n, ...r }, i) { +function Mt({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -1011,10 +1011,10 @@ function jt({ title: t, titleId: n, ...r }, i) { d: "M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244" })); } -var Mt = /*#__PURE__*/ e.forwardRef(jt); +var Nt = /*#__PURE__*/ e.forwardRef(Mt); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/LockClosedIcon.js -function Nt({ title: t, titleId: n, ...r }, i) { +function Pt({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -1031,10 +1031,10 @@ function Nt({ title: t, titleId: n, ...r }, i) { d: "M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z" })); } -var Pt = /*#__PURE__*/ e.forwardRef(Nt); +var Ft = /*#__PURE__*/ e.forwardRef(Pt); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/MagnifyingGlassIcon.js -function Ft({ title: t, titleId: n, ...r }, i) { +function It({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -1051,10 +1051,10 @@ function Ft({ title: t, titleId: n, ...r }, i) { d: "m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z" })); } -var It = /*#__PURE__*/ e.forwardRef(Ft); +var Lt = /*#__PURE__*/ e.forwardRef(It); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/PaperClipIcon.js -function Lt({ title: t, titleId: n, ...r }, i) { +function Rt({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -1071,10 +1071,10 @@ function Lt({ title: t, titleId: n, ...r }, i) { d: "m18.375 12.739-7.693 7.693a4.5 4.5 0 0 1-6.364-6.364l10.94-10.94A3 3 0 1 1 19.5 7.372L8.552 18.32m.009-.01-.01.01m5.699-9.941-7.81 7.81a1.5 1.5 0 0 0 2.112 2.13" })); } -var Rt = /*#__PURE__*/ e.forwardRef(Lt); +var zt = /*#__PURE__*/ e.forwardRef(Rt); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/PencilSquareIcon.js -function zt({ title: t, titleId: n, ...r }, i) { +function Bt({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -1091,10 +1091,10 @@ function zt({ title: t, titleId: n, ...r }, i) { d: "m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10" })); } -var Bt = /*#__PURE__*/ e.forwardRef(zt); +var Vt = /*#__PURE__*/ e.forwardRef(Bt); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/PencilIcon.js -function Vt({ title: t, titleId: n, ...r }, i) { +function Ht({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -1111,10 +1111,10 @@ function Vt({ title: t, titleId: n, ...r }, i) { d: "m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125" })); } -var Ht = /*#__PURE__*/ e.forwardRef(Vt); +var Ut = /*#__PURE__*/ e.forwardRef(Ht); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/PlusIcon.js -function Ut({ title: t, titleId: n, ...r }, i) { +function Wt({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -1131,10 +1131,10 @@ function Ut({ title: t, titleId: n, ...r }, i) { d: "M12 4.5v15m7.5-7.5h-15" })); } -var Wt = /*#__PURE__*/ e.forwardRef(Ut); +var Gt = /*#__PURE__*/ e.forwardRef(Wt); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/RectangleGroupIcon.js -function Gt({ title: t, titleId: n, ...r }, i) { +function Kt({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -1151,10 +1151,10 @@ function Gt({ title: t, titleId: n, ...r }, i) { d: "M2.25 7.125C2.25 6.504 2.754 6 3.375 6h6c.621 0 1.125.504 1.125 1.125v3.75c0 .621-.504 1.125-1.125 1.125h-6a1.125 1.125 0 0 1-1.125-1.125v-3.75ZM14.25 8.625c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v8.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-8.25ZM3.75 16.125c0-.621.504-1.125 1.125-1.125h5.25c.621 0 1.125.504 1.125 1.125v2.25c0 .621-.504 1.125-1.125 1.125h-5.25a1.125 1.125 0 0 1-1.125-1.125v-2.25Z" })); } -var Kt = /*#__PURE__*/ e.forwardRef(Gt); +var qt = /*#__PURE__*/ e.forwardRef(Kt); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/RectangleStackIcon.js -function qt({ title: t, titleId: n, ...r }, i) { +function Jt({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -1171,10 +1171,10 @@ function qt({ title: t, titleId: n, ...r }, i) { d: "M6 6.878V6a2.25 2.25 0 0 1 2.25-2.25h7.5A2.25 2.25 0 0 1 18 6v.878m-12 0c.235-.083.487-.128.75-.128h10.5c.263 0 .515.045.75.128m-12 0A2.25 2.25 0 0 0 4.5 9v.878m13.5-3A2.25 2.25 0 0 1 19.5 9v.878m0 0a2.246 2.246 0 0 0-.75-.128H5.25c-.263 0-.515.045-.75.128m15 0A2.25 2.25 0 0 1 21 12v6a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 18v-6c0-.98.626-1.813 1.5-2.122" })); } -var Jt = /*#__PURE__*/ e.forwardRef(qt); +var Yt = /*#__PURE__*/ e.forwardRef(Jt); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/Squares2X2Icon.js -function Yt({ title: t, titleId: n, ...r }, i) { +function Xt({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -1191,10 +1191,10 @@ function Yt({ title: t, titleId: n, ...r }, i) { d: "M3.75 6A2.25 2.25 0 0 1 6 3.75h2.25A2.25 2.25 0 0 1 10.5 6v2.25a2.25 2.25 0 0 1-2.25 2.25H6a2.25 2.25 0 0 1-2.25-2.25V6ZM3.75 15.75A2.25 2.25 0 0 1 6 13.5h2.25a2.25 2.25 0 0 1 2.25 2.25V18a2.25 2.25 0 0 1-2.25 2.25H6A2.25 2.25 0 0 1 3.75 18v-2.25ZM13.5 6a2.25 2.25 0 0 1 2.25-2.25H18A2.25 2.25 0 0 1 20.25 6v2.25A2.25 2.25 0 0 1 18 10.5h-2.25a2.25 2.25 0 0 1-2.25-2.25V6ZM13.5 15.75a2.25 2.25 0 0 1 2.25-2.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-2.25A2.25 2.25 0 0 1 13.5 18v-2.25Z" })); } -var Xt = /*#__PURE__*/ e.forwardRef(Yt); +var Zt = /*#__PURE__*/ e.forwardRef(Xt); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/TableCellsIcon.js -function Zt({ title: t, titleId: n, ...r }, i) { +function Qt({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -1211,10 +1211,10 @@ function Zt({ title: t, titleId: n, ...r }, i) { d: "M3.375 19.5h17.25m-17.25 0a1.125 1.125 0 0 1-1.125-1.125M3.375 19.5h7.5c.621 0 1.125-.504 1.125-1.125m-9.75 0V5.625m0 12.75v-1.5c0-.621.504-1.125 1.125-1.125m18.375 2.625V5.625m0 12.75c0 .621-.504 1.125-1.125 1.125m1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125m0 3.75h-7.5A1.125 1.125 0 0 1 12 18.375m9.75-12.75c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125m19.5 0v1.5c0 .621-.504 1.125-1.125 1.125M2.25 5.625v1.5c0 .621.504 1.125 1.125 1.125m0 0h17.25m-17.25 0h7.5c.621 0 1.125.504 1.125 1.125M3.375 8.25c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125m17.25-3.75h-7.5c-.621 0-1.125.504-1.125 1.125m8.625-1.125c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125M12 10.875v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 10.875c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125M13.125 12h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125M20.625 12c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5M12 14.625v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 14.625c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125m0 1.5v-1.5m0 0c0-.621.504-1.125 1.125-1.125m0 0h7.5" })); } -var Qt = /*#__PURE__*/ e.forwardRef(Zt); +var $t = /*#__PURE__*/ e.forwardRef(Qt); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/TagIcon.js -function $t({ title: t, titleId: n, ...r }, i) { +function en({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -1235,10 +1235,10 @@ function $t({ title: t, titleId: n, ...r }, i) { d: "M6 6h.008v.008H6V6Z" })); } -var en = /*#__PURE__*/ e.forwardRef($t); +var tn = /*#__PURE__*/ e.forwardRef(en); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/TrashIcon.js -function tn({ title: t, titleId: n, ...r }, i) { +function nn({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -1255,10 +1255,10 @@ function tn({ title: t, titleId: n, ...r }, i) { d: "m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0" })); } -var nn = /*#__PURE__*/ e.forwardRef(tn); +var rn = /*#__PURE__*/ e.forwardRef(nn); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/UserCircleIcon.js -function rn({ title: t, titleId: n, ...r }, i) { +function an({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -1275,10 +1275,10 @@ function rn({ title: t, titleId: n, ...r }, i) { d: "M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z" })); } -var an = /*#__PURE__*/ e.forwardRef(rn); +var on = /*#__PURE__*/ e.forwardRef(an); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/UserIcon.js -function on({ title: t, titleId: n, ...r }, i) { +function sn({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -1295,10 +1295,10 @@ function on({ title: t, titleId: n, ...r }, i) { d: "M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z" })); } -var sn = /*#__PURE__*/ e.forwardRef(on); +var cn = /*#__PURE__*/ e.forwardRef(sn); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/ViewColumnsIcon.js -function cn({ title: t, titleId: n, ...r }, i) { +function ln({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -1315,10 +1315,10 @@ function cn({ title: t, titleId: n, ...r }, i) { d: "M9 4.5v15m6-15v15m-10.875 0h15.75c.621 0 1.125-.504 1.125-1.125V5.625c0-.621-.504-1.125-1.125-1.125H4.125C3.504 4.5 3 5.004 3 5.625v12.75c0 .621.504 1.125 1.125 1.125Z" })); } -var ln = /*#__PURE__*/ e.forwardRef(cn); +var un = /*#__PURE__*/ e.forwardRef(ln); //#endregion //#region ../../node_modules/.pnpm/@heroicons+react@2.2.0_react@19.2.7/node_modules/@heroicons/react/24/outline/esm/XMarkIcon.js -function un({ title: t, titleId: n, ...r }, i) { +function dn({ title: t, titleId: n, ...r }, i) { return /*#__PURE__*/ e.createElement("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -1335,10 +1335,10 @@ function un({ title: t, titleId: n, ...r }, i) { d: "M6 18 18 6M6 6l12 12" })); } -var dn = /*#__PURE__*/ e.forwardRef(un); +var fn = /*#__PURE__*/ e.forwardRef(dn); //#endregion //#region ../../shared/lib/frontmatter.ts -function fn(e) { +function pn(e) { if (!e.startsWith("---\n") && !e.startsWith("---\r\n")) return { data: {}, body: e, @@ -1364,8 +1364,8 @@ function fn(e) { hasFrontmatter: !0 }; } -function pn(e, t) { - let n = fn(e), r = { +function mn(e, t) { + let n = pn(e), r = { ...n.data, ...t }; @@ -1373,13 +1373,13 @@ function pn(e, t) { } //#endregion //#region ../../shared/lib/board.ts -function mn(e) { +function hn(e) { return e.split(",").map((e) => e.trim()).filter(Boolean); } -function hn(e) { +function gn(e) { return e.join(", "); } -var gn = /* @__PURE__ */ new Set([ +var _n = /* @__PURE__ */ new Set([ "id", "relationKey", "board", @@ -1406,12 +1406,12 @@ var gn = /* @__PURE__ */ new Set([ "relates", "parent" ]); -function _n(e, t) { - let { data: n, body: r } = fn(e), i = { ...n }; - if (t.title !== void 0 && (i.title = t.title), t.columnKey !== void 0 && (i.status = t.columnKey), t.priority !== void 0 && (i.priority = t.priority ?? ""), t.assignee !== void 0 && (i.assignee = t.assignee ?? ""), t.swimlaneKey !== void 0 && (i.swimlane = t.swimlaneKey ?? ""), t.due !== void 0 && (i.due = t.due ?? ""), t.icon !== void 0 && (i.icon = t.icon ?? ""), t.tags !== void 0 && (i.tags = t.tags.map((e) => e.label).join(", ")), t.attachments !== void 0 && (i.attachments = hn(t.attachments)), t.custom !== void 0) for (let [e, n] of Object.entries(t.custom)) gn.has(e) || (i[e] = n ?? ""); - return t.blockedBy !== void 0 && (i.blocked_by = Pn(t.blockedBy)), t.blocks !== void 0 && (i.blocks = Pn(t.blocks)), t.relates !== void 0 && (i.relates = Pn(t.relates)), t.parent !== void 0 && (i.parent = t.parent ? Pn([t.parent]) : ""), pn(t.notes === void 0 ? r : t.notes, i); +function vn(e, t) { + let { data: n, body: r } = pn(e), i = { ...n }; + if (t.title !== void 0 && (i.title = t.title), t.columnKey !== void 0 && (i.status = t.columnKey), t.priority !== void 0 && (i.priority = t.priority ?? ""), t.assignee !== void 0 && (i.assignee = t.assignee ?? ""), t.swimlaneKey !== void 0 && (i.swimlane = t.swimlaneKey ?? ""), t.due !== void 0 && (i.due = t.due ?? ""), t.icon !== void 0 && (i.icon = t.icon ?? ""), t.tags !== void 0 && (i.tags = t.tags.map((e) => e.label).join(", ")), t.attachments !== void 0 && (i.attachments = gn(t.attachments)), t.custom !== void 0) for (let [e, n] of Object.entries(t.custom)) _n.has(e) || (i[e] = n ?? ""); + return t.blockedBy !== void 0 && (i.blocked_by = Fn(t.blockedBy)), t.blocks !== void 0 && (i.blocks = Fn(t.blocks)), t.relates !== void 0 && (i.relates = Fn(t.relates)), t.parent !== void 0 && (i.parent = t.parent ? Fn([t.parent]) : ""), mn(t.notes === void 0 ? r : t.notes, i); } -function vn(e) { +function yn(e) { let t = e.split(/[\\/]/).pop() || e; try { return decodeURIComponent(t.split("?")[0] || t); @@ -1419,7 +1419,7 @@ function vn(e) { return t; } } -function yn(e) { +function bn(e) { let t = e.trim(); if (!t) return !1; let n = /^([a-z][a-z0-9+.-]*):/i.exec(t); @@ -1427,7 +1427,7 @@ function yn(e) { let r = n[1].toLowerCase(); return r === "http" || r === "https"; } -function bn(e, t) { +function xn(e, t) { let n = {}; if (!e || !t) return n; for (let r of t) { @@ -1436,30 +1436,30 @@ function bn(e, t) { } return n; } -var xn = [ +var Sn = [ "none", "low", "medium", "high", "urgent" -], Sn = [ +], Cn = [ "urgent", "high", "medium", "low", "none" -], Cn = { +], wn = { urgent: 0, high: 1, medium: 2, low: 3, none: 4 -}, wn = { +}, Tn = { urgent: "bg-red-100 text-red-700", high: "bg-amber-100 text-amber-700", medium: "bg-sky-100 text-sky-700", low: "bg-stone-100 text-stone-500" -}, Tn = [ +}, En = [ "#ef4444", "#f59e0b", "#eab308", @@ -1469,7 +1469,7 @@ var xn = [ "#a855f7", "#ec4899", "#78716c" -], En = [ +], Dn = [ "title", "relationKey", "board", @@ -1487,7 +1487,7 @@ var xn = [ "attachments", "parent" ]; -function Dn(e) { +function On(e) { let t = 0, n = 0; for (let r of e.split("\n")) { let e = r.replace(/^\s+/, "").match(/^[-*+] \[([ xX])\]/); @@ -1498,17 +1498,17 @@ function Dn(e) { total: n }; } -function On(e) { +function kn(e) { for (let t of e.split("\n")) { let e = t.trim().replace(/^[#>\-*+\s]+/, "").replace(/^\[[ xX]\]\s*/, "").trim(); if (e) return e.length > 120 ? `${e.slice(0, 120)}…` : e; } return null; } -function kn(e) { +function An(e) { return e.trim().replace(/^\[|\]$/g, "").split(",").map((e) => e.trim().replace(/^#/, "")).filter(Boolean); } -var An = [ +var jn = [ "#ef4444", "#f59e0b", "#eab308", @@ -1520,30 +1520,30 @@ var An = [ "#ec4899", "#78716c" ]; -function jn(e) { +function Mn(e) { let t = 0; for (let n = 0; n < e.length; n++) t = Math.imul(t, 31) + e.charCodeAt(n) >>> 0; - return An[t % An.length]; + return jn[t % jn.length]; } -function Mn(e, t) { +function Nn(e, t) { return e.map((e) => ({ label: e, - color: t?.find((t) => t.label === e)?.color ?? jn(e) + color: t?.find((t) => t.label === e)?.color ?? Mn(e) })); } -function Nn(e) { +function Pn(e) { return e.split(",").map((e) => e.trim().replace(/^\[\[/, "").replace(/\]\]$/, "").trim()).filter(Boolean); } -function Pn(e) { +function Fn(e) { return e.map((e) => `[[${e}]]`).join(", "); } -function Fn(e) { +function In(e) { return (e.relationKey ?? e.id).replace(/\\/g, "/").replace(/^\.\/+/, "").replace(/\.md$/i, ""); } -function In(e) { +function Ln(e) { let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(); for (let i of e) { - let e = Fn(i); + let e = In(i); t.set(e, i); let a = e.split("/").filter(Boolean), o = a[a.length - 1] ?? e, s = n.get(o); s ? s.push(i) : n.set(o, [i]); @@ -1560,8 +1560,8 @@ function In(e) { return o.length === 1 ? o[0] : void 0; }; } -function Ln(e, t) { - let n = t || "done", r = In(e), i = (e) => !!e && e.columnKey !== n, a = /* @__PURE__ */ new Map(), o = (e, t) => { +function Rn(e, t) { + let n = t || "done", r = Ln(e), i = (e) => !!e && e.columnKey !== n, a = /* @__PURE__ */ new Map(), o = (e, t) => { let n = a.get(e); n || a.set(e, n = /* @__PURE__ */ new Set()), n.add(t.id); }; @@ -1577,8 +1577,8 @@ function Ln(e, t) { for (let [e, t] of a) s.set(e, t.size); return s; } -function Rn(e) { - let t = In(e), n = /* @__PURE__ */ new Map(); +function zn(e) { + let t = Ln(e), n = /* @__PURE__ */ new Map(); for (let r of e) { if (!r.parent) continue; let e = t(r.parent); @@ -1588,56 +1588,56 @@ function Rn(e) { } return n; } -function zn(e, t) { +function Bn(e, t) { let n = t || "done"; return { done: e.filter((e) => e.columnKey === n).length, total: e.length }; } -function Bn() { +function Vn() { let e = /* @__PURE__ */ new Date(); return `${e.getFullYear()}-${String(e.getMonth() + 1).padStart(2, "0")}-${String(e.getDate()).padStart(2, "0")}`; } -function Vn(e) { +function Hn(e) { return e.toLowerCase().replace(/[^a-z0-9一-龥]+/g, "-").replace(/^-+|-+$/g, "") || "item"; } -var Hn = /* @__PURE__ */ new Set([ +var Un = /* @__PURE__ */ new Set([ "status", "priority", "assignee" ]); -function Un(e) { - return typeof e == "string" && Hn.has(e) ? e : "status"; -} function Wn(e) { - return e === "custom" ? "custom" : typeof e == "string" && Hn.has(e) ? e : void 0; + return typeof e == "string" && Un.has(e) ? e : "status"; } function Gn(e) { - return Wn(e.swimlaneBy) ?? Un(e.groupBy); + return e === "custom" ? "custom" : typeof e == "string" && Un.has(e) ? e : void 0; } -function Kn(e, t) { +function Kn(e) { + return Gn(e.swimlaneBy) ?? Wn(e.groupBy); +} +function qn(e, t) { return e === "status" ? { columnKey: t } : e === "priority" ? { priority: t === "none" ? null : t } : e === "assignee" ? { assignee: t || null } : { swimlaneKey: t || null }; } -function qn(e, t, n = {}) { +function Jn(e, t, n = {}) { return e === "status" ? n.columnKey ?? t : e === "priority" ? Object.prototype.hasOwnProperty.call(n, "priority") ? n.priority || "none" : t : e === "assignee" ? Object.prototype.hasOwnProperty.call(n, "assignee") ? n.assignee || "" : t : Object.prototype.hasOwnProperty.call(n, "swimlaneKey") ? n.swimlaneKey || "" : t; } -function Jn(e, t = []) { - let n = new Set(t), r = `lane_${Vn(e).replace(/-/g, "_")}`; +function Yn(e, t = []) { + let n = new Set(t), r = `lane_${Hn(e).replace(/-/g, "_")}`; for (let e = 0; e < 20; e += 1) { let e = `${r}_${typeof globalThis.crypto?.randomUUID == "function" ? globalThis.crypto.randomUUID().replace(/-/g, "").slice(0, 8) : Math.random().toString(36).slice(2, 10).padEnd(8, "0")}`; if (!n.has(e)) return e; } return `${r}_${Date.now().toString(36)}`; } -function Yn(e, t, n) { +function Xn(e, t, n) { let r = e.trim(); return r ? r.length > 80 ? "Swimlane names can be at most 80 characters." : t.some((e) => e.key !== n && e.name.trim().toLocaleLowerCase() === r.toLocaleLowerCase()) ? "Swimlane names must be unique on this board." : null : "Swimlane name is required."; } -function Xn(e) { +function Zn(e) { return e.swimlaneKey || ""; } -function Zn(e, t) { +function Qn(e, t) { let n = [], r = e.swimlanes ?? [], i = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ new Set(), o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Set(); for (let e of r) { i.has(e.key) ? a.add(e.key) : i.add(e.key); @@ -1654,7 +1654,7 @@ function Zn(e, t) { }); let c = /* @__PURE__ */ new Map(); for (let e of t) { - let t = Xn(e); + let t = Zn(e); t && !i.has(t) && c.set(t, (c.get(t) ?? 0) + 1); } for (let [e, t] of c) n.push({ @@ -1664,32 +1664,32 @@ function Zn(e, t) { }); return n; } -function Qn(e, t) { - return t === "custom" ? Xn(e) : t === "priority" ? e.priority || "none" : t === "assignee" ? e.assignee || "" : e.columnKey || ""; -} function $n(e, t) { - let n = Gn(t), r = Qn(e, n); + return t === "custom" ? Zn(e) : t === "priority" ? e.priority || "none" : t === "assignee" ? e.assignee || "" : e.columnKey || ""; +} +function er(e, t) { + let n = Kn(t), r = $n(e, n); return n === "custom" && r && !(t.swimlanes ?? []).some((e) => e.key === r) ? "" : r; } -function er(e, t, n, r) { +function tr(e, t, n, r) { if (n === "status") return e.columns; - if (n === "priority") return Sn.map((e) => ({ + if (n === "priority") return Cn.map((e) => ({ key: e, name: e === "none" ? r : `${e.charAt(0).toUpperCase()}${e.slice(1)}` })); let i = /* @__PURE__ */ new Set([""]); - for (let e of t) i.add(Qn(e, n)); + for (let e of t) i.add($n(e, n)); return [...i].sort((e, t) => e === "" ? 1 : t === "" ? -1 : e.localeCompare(t)).map((e) => ({ key: e, name: e || r })); } -function tr(e, t) { +function nr(e, t) { let n = e.swimlaneKey; return !!n && !(t ?? []).some((e) => e.key === n); } -function nr(e, t, n, r) { - if (n !== "custom") return er(e, t, n, r); +function rr(e, t, n, r) { + if (n !== "custom") return tr(e, t, n, r); let i = /* @__PURE__ */ new Set(); return [...(e.swimlanes ?? []).filter((e) => i.has(e.key) ? !1 : (i.add(e.key), !0)).map((e) => ({ key: e.key, @@ -1700,17 +1700,17 @@ function nr(e, t, n, r) { name: r }]; } -function rr(e) { +function ir(e) { return new Set((e ?? []).map((e) => e.trim().toLowerCase())); } -function ir(e, t) { +function ar(e, t) { let [n, r, i] = e.split("-").map(Number); - return fr(new Date(n, r - 1, i + t)); + return pr(new Date(n, r - 1, i + t)); } -function ar(e) { +function or(e) { return !!(e.priorities?.length || e.assignees?.length || e.tags?.length || e.due || e.blocked || e.mine || e.missingRow); } -function or(e) { +function sr(e) { return [ !!e.priorities?.length, !!e.assignees?.length, @@ -1721,107 +1721,107 @@ function or(e) { !!e.missingRow ].filter(Boolean).length; } -function sr(e, t, n = {}) { - let r = rr(t.priorities); +function cr(e, t, n = {}) { + let r = ir(t.priorities); if (r.size > 0 && !r.has((e.priority || "none").toLowerCase())) return !1; - let i = rr(t.assignees); + let i = ir(t.assignees); if (i.size > 0 && !i.has((e.assignee || "").trim().toLowerCase())) return !1; - let a = rr(t.tags); + let a = ir(t.tags); if (a.size > 0 && !e.tags.some((e) => a.has(e.label.trim().toLowerCase()))) return !1; if (t.due) { - let r = e.due && pr(e.due) ? e.due : null, i = n.today && pr(n.today) ? n.today : Bn(); - if (t.due === "none" && r || t.due !== "none" && !r || r && (t.due === "overdue" && r >= i || t.due === "today" && r !== i || t.due === "nextSevenDays" && (r < i || r > ir(i, 6)))) return !1; + let r = e.due && mr(e.due) ? e.due : null, i = n.today && mr(n.today) ? n.today : Vn(); + if (t.due === "none" && r || t.due !== "none" && !r || r && (t.due === "overdue" && r >= i || t.due === "today" && r !== i || t.due === "nextSevenDays" && (r < i || r > ar(i, 6)))) return !1; } if (t.blocked && !(n.blockedCardIds ? n.blockedCardIds.has(e.id) : (e.blockedBy?.length ?? 0) > 0)) return !1; if (t.mine) { let t = n.currentUser?.trim().toLowerCase(); if (!t || e.assignee?.trim().toLowerCase() !== t) return !1; } - return !(t.missingRow && !tr(e, n.config?.swimlanes)); + return !(t.missingRow && !nr(e, n.config?.swimlanes)); } -function cr(e, t) { +function lr(e, t) { return !!(e.title.toLowerCase().includes(t) || e.ticket && e.ticket.toLowerCase().includes(t) || e.assignee && e.assignee.toLowerCase().includes(t) || e.tags.some((e) => e.label.toLowerCase().includes(t)) || e.notes && e.notes.toLowerCase().includes(t) || !e.notes && e.excerpt && e.excerpt.toLowerCase().includes(t)); } -function lr(e) { +function ur(e) { return e ? "prop" in e ? e.prop === "priority" ? { priorities: [e.value] } : e.prop === "assignee" ? { assignees: [e.value] } : e.prop === "tag" ? { tags: [e.value] } : { missingRow: !0 } : e : {}; } -function ur(e, t, n, r, i = {}) { - let a = t.trim().toLowerCase(), o = lr(n); - return e.filter((e) => a && !cr(e, a) ? !1 : sr(e, o, { +function dr(e, t, n, r, i = {}) { + let a = t.trim().toLowerCase(), o = ur(n); + return e.filter((e) => a && !lr(e, a) ? !1 : cr(e, o, { ...i, config: r })); } -function dr(e, t) { +function fr(e, t) { let n = [...e]; - return t === "due" ? n.sort((e, t) => (e.due || "9999-99-99").localeCompare(t.due || "9999-99-99")) : t === "priority" ? n.sort((e, t) => (Cn[e.priority || "none"] ?? 5) - (Cn[t.priority || "none"] ?? 5)) : t === "title" ? n.sort((e, t) => e.title.localeCompare(t.title)) : n.sort((e, t) => e.position - t.position), n; + return t === "due" ? n.sort((e, t) => (e.due || "9999-99-99").localeCompare(t.due || "9999-99-99")) : t === "priority" ? n.sort((e, t) => (wn[e.priority || "none"] ?? 5) - (wn[t.priority || "none"] ?? 5)) : t === "title" ? n.sort((e, t) => e.title.localeCompare(t.title)) : n.sort((e, t) => e.position - t.position), n; } -function fr(e) { +function pr(e) { return `${e.getFullYear()}-${String(e.getMonth() + 1).padStart(2, "0")}-${String(e.getDate()).padStart(2, "0")}`; } -function pr(e) { +function mr(e) { return !!e && /^\d{4}-\d{2}-\d{2}$/.test(e); } -function mr() { - return Bn().slice(0, 7); +function hr() { + return Vn().slice(0, 7); } -function hr(e, t) { +function gr(e, t) { let [n, r] = e.split("-"), i = new Date(Number(n), Number(r) - 1 + t, 1); return `${i.getFullYear()}-${String(i.getMonth() + 1).padStart(2, "0")}`; } -function gr(e) { +function _r(e) { let t = /* @__PURE__ */ new Map(); for (let n of e) { - if (!pr(n.due)) continue; + if (!mr(n.due)) continue; let e = t.get(n.due); e ? e.push(n) : t.set(n.due, [n]); } return t; } -function _r(e, t = 0) { +function vr(e, t = 0) { let [n, r] = e.split("-"), i = Number(n), a = Number(r), o = (new Date(i, a - 1, 1).getDay() - t + 7) % 7, s = new Date(i, a - 1, 1 - o), c = []; for (let e = 0; e < 6; e++) { let t = []; - for (let n = 0; n < 7; n++) t.push(fr(new Date(s.getFullYear(), s.getMonth(), s.getDate() + e * 7 + n))); + for (let n = 0; n < 7; n++) t.push(pr(new Date(s.getFullYear(), s.getMonth(), s.getDate() + e * 7 + n))); c.push(t); } return c; } //#endregion //#region ../../node_modules/.pnpm/react-aria@3.49.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-aria/dist/private/utils/domHelpers.mjs -var vr = (e) => e?.ownerDocument ?? document, yr = (e) => e && "window" in e && e.window === e ? e : vr(e).defaultView || window; -function br(e) { +var yr = (e) => e?.ownerDocument ?? document, br = (e) => e && "window" in e && e.window === e ? e : yr(e).defaultView || window; +function xr(e) { return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number"; } -function xr(e) { - return br(e) && e.nodeType === Node.DOCUMENT_FRAGMENT_NODE && "host" in e; +function Sr(e) { + return xr(e) && e.nodeType === Node.DOCUMENT_FRAGMENT_NODE && "host" in e; } //#endregion //#region ../../node_modules/.pnpm/react-stately@3.47.0_react@19.2.7/node_modules/react-stately/dist/private/flags/flags.mjs -var Sr = !1; -function Cr() { - return Sr; +var Cr = !1; +function wr() { + return Cr; } //#endregion //#region ../../node_modules/.pnpm/react-aria@3.49.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs -function wr(e, t) { - if (!Cr()) return t && e ? e.contains(t) : !1; +function Tr(e, t) { + if (!wr()) return t && e ? e.contains(t) : !1; if (!e || !t) return !1; let n = t; for (; n !== null;) { if (n === e) return !0; - n = n.tagName === "SLOT" && n.assignedSlot ? n.assignedSlot.parentNode : xr(n) ? n.host : n.parentNode; + n = n.tagName === "SLOT" && n.assignedSlot ? n.assignedSlot.parentNode : Sr(n) ? n.host : n.parentNode; } return !1; } -var Tr = (e = document) => { - if (!Cr()) return e.activeElement; +var Er = (e = document) => { + if (!wr()) return e.activeElement; let t = e.activeElement; for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement; return t; }; -function Er(e) { - if (Cr() && e.target instanceof Element && e.target.shadowRoot) { +function Dr(e) { + if (wr() && e.target instanceof Element && e.target.shadowRoot) { if ("composedPath" in e) return e.composedPath()[0] ?? null; if ("composedPath" in e.nativeEvent) return e.nativeEvent.composedPath()[0] ?? null; } @@ -1829,26 +1829,26 @@ function Er(e) { } //#endregion //#region ../../node_modules/.pnpm/react-aria@3.49.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs -function Dr(e) { - if (kr()) e.focus({ preventScroll: !0 }); +function Or(e) { + if (Ar()) e.focus({ preventScroll: !0 }); else { - let t = Ar(e); - e.focus(), jr(t); + let t = jr(e); + e.focus(), Mr(t); } } -var Or = null; -function kr() { - if (Or == null) { - Or = !1; +var kr = null; +function Ar() { + if (kr == null) { + kr = !1; try { document.createElement("div").focus({ get preventScroll() { - return Or = !0, !0; + return kr = !0, !0; } }); } catch {} } - return Or; + return kr; } -function Ar(e) { +function jr(e) { let t = e.parentNode, n = [], r = document.scrollingElement || document.documentElement; for (; t instanceof HTMLElement && t !== r;) (t.offsetHeight < t.scrollHeight || t.offsetWidth < t.scrollWidth) && n.push({ element: t, @@ -1861,46 +1861,46 @@ function Ar(e) { scrollLeft: r.scrollLeft }), n; } -function jr(e) { +function Mr(e) { for (let { element: t, scrollTop: n, scrollLeft: r } of e) t.scrollTop = n, t.scrollLeft = r; } //#endregion //#region ../../node_modules/.pnpm/react-aria@3.49.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs -var Mr = typeof document < "u" ? t.useLayoutEffect : () => {}; +var Nr = typeof document < "u" ? t.useLayoutEffect : () => {}; //#endregion //#region ../../node_modules/.pnpm/react-aria@3.49.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-aria/dist/private/interactions/utils.mjs -function Nr(e) { +function Pr(e) { let t = e; return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t; } -function Pr(e, t) { +function Fr(e, t) { Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t }); } -function Fr(e) { +function Ir(e) { let t = v({ isFocused: !1, observer: null }); - return Mr(() => { + return Nr(() => { let e = t.current; return () => { e.observer &&= (e.observer.disconnect(), null); }; }, []), l((n) => { - let r = Er(n); + let r = Dr(n); if (r instanceof HTMLButtonElement || r instanceof HTMLInputElement || r instanceof HTMLTextAreaElement || r instanceof HTMLSelectElement) { t.current.isFocused = !0; let n = r; n.addEventListener("focusout", (r) => { if (t.current.isFocused = !1, n.disabled) { - let t = Nr(r); + let t = Pr(r); e?.(t); } t.current.observer && (t.current.observer.disconnect(), t.current.observer = null); }, { once: !0 }), t.current.observer = new MutationObserver(() => { if (t.current.isFocused && n.disabled) { t.current.observer?.disconnect(); - let e = n === Tr() ? null : Tr(); + let e = n === Er() ? null : Er(); n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", { bubbles: !0, relatedTarget: e @@ -1915,42 +1915,42 @@ function Fr(e) { } //#endregion //#region ../../node_modules/.pnpm/react-aria@3.49.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-aria/dist/private/utils/platform.mjs -function Ir(e) { +function Lr(e) { if (typeof window > "u" || window.navigator == null) return !1; let t = window.navigator.userAgentData?.brands; return Array.isArray(t) && t.some((t) => e.test(t.brand)) || e.test(window.navigator.userAgent); } -function Lr(e) { +function Rr(e) { return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform); } -function Rr(e) { +function zr(e) { let t = null; return () => (t ??= e(), t); } -var zr = Rr(function() { - return Lr(/^Mac/i); -}), Br = Rr(function() { - return Lr(/^iPad/i) || zr() && navigator.maxTouchPoints > 1; -}), Vr = Rr(function() { - return Ir(/AppleWebKit/i) && !Hr(); -}), Hr = Rr(function() { - return Ir(/Chrome/i); -}), Ur = Rr(function() { - return Ir(/Android/i); -}), Wr = Rr(function() { - return Ir(/Firefox/i); +var Br = zr(function() { + return Rr(/^Mac/i); +}), Vr = zr(function() { + return Rr(/^iPad/i) || Br() && navigator.maxTouchPoints > 1; +}), Hr = zr(function() { + return Lr(/AppleWebKit/i) && !Ur(); +}), Ur = zr(function() { + return Lr(/Chrome/i); +}), Wr = zr(function() { + return Lr(/Android/i); +}), Gr = zr(function() { + return Lr(/Firefox/i); }); //#endregion //#region ../../node_modules/.pnpm/react-aria@3.49.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs -function Gr(e) { - return e.pointerType === "" && e.isTrusted ? !0 : Ur() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType; +function Kr(e) { + return e.pointerType === "" && e.isTrusted ? !0 : Wr() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType; } //#endregion //#region ../../node_modules/.pnpm/react-aria@3.49.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-aria/dist/private/utils/openLink.mjs -function Kr(e, t, n = !0) { +function qr(e, t, n = !0) { let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t; - Wr() && window.event?.type?.startsWith("key") && e.target === "_blank" && (zr() ? r = !0 : i = !0); - let s = Vr() && zr() && !Br() ? new KeyboardEvent("keydown", { + Gr() && window.event?.type?.startsWith("key") && e.target === "_blank" && (Br() ? r = !0 : i = !0); + let s = Hr() && Br() && !Vr() ? new KeyboardEvent("keydown", { keyIdentifier: "Enter", metaKey: r, ctrlKey: i, @@ -1965,63 +1965,63 @@ function Kr(e, t, n = !0) { bubbles: !0, cancelable: !0 }); - Kr.isOpening = n, Dr(e), e.dispatchEvent(s), Kr.isOpening = !1; + qr.isOpening = n, Or(e), e.dispatchEvent(s), qr.isOpening = !1; } -Kr.isOpening = !1; +qr.isOpening = !1; //#endregion //#region ../../node_modules/.pnpm/react-aria@3.49.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs -var qr = null, Jr = /* @__PURE__ */ new Set(), Yr = /* @__PURE__ */ new Map(), Xr = !1, Zr = !1, Qr = { +var Jr = null, Yr = /* @__PURE__ */ new Set(), Xr = /* @__PURE__ */ new Map(), Zr = !1, Qr = !1, $r = { Tab: !0, Escape: !0 }; -function $r(e, t) { - for (let n of Jr) n(e, t); -} -function ei(e) { - return !(e.metaKey || !zr() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta"); +function ei(e, t) { + for (let n of Yr) n(e, t); } function ti(e) { - Xr = !0, !Kr.isOpening && ei(e) && (qr = "keyboard", $r("keyboard", e)); + return !(e.metaKey || !Br() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta"); } function ni(e) { - qr = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Xr = !0, $r("pointer", e)); + Zr = !0, !qr.isOpening && ti(e) && (Jr = "keyboard", ei("keyboard", e)); } function ri(e) { - !Kr.isOpening && Gr(e) && (Xr = !0, qr = "virtual"); + Jr = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Zr = !0, ei("pointer", e)); } function ii(e) { - let t = yr(Er(e)), n = vr(Er(e)); - Er(e) === t || Er(e) === n || !e.isTrusted || (!Xr && !Zr && (qr = "virtual", $r("virtual", e)), Xr = !1, Zr = !1); + !qr.isOpening && Kr(e) && (Zr = !0, Jr = "virtual"); } -function ai() { - Xr = !1, Zr = !0; +function ai(e) { + let t = br(Dr(e)), n = yr(Dr(e)); + Dr(e) === t || Dr(e) === n || !e.isTrusted || (!Zr && !Qr && (Jr = "virtual", ei("virtual", e)), Zr = !1, Qr = !1); } -function oi(e) { +function oi() { + Zr = !1, Qr = !0; +} +function si(e) { if (typeof window > "u" || typeof document > "u") return; - let t = yr(e), n = vr(e); - if (Yr.get(t)) return; + let t = br(e), n = yr(e); + if (Xr.get(t)) return; let r = t.HTMLElement.prototype.focus; t.HTMLElement.prototype.focus = function() { - Xr = !0, r.apply(this, arguments); - }, n.addEventListener("keydown", ti, !0), n.addEventListener("keyup", ti, !0), n.addEventListener("click", ri, !0), t.addEventListener("focus", ii, !0), t.addEventListener("blur", ai, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", ni, !0), n.addEventListener("pointermove", ni, !0), n.addEventListener("pointerup", ni, !0)), t.addEventListener("beforeunload", () => { - si(e); - }, { once: !0 }), Yr.set(t, { focus: r }); -} -var si = (e, t) => { - let n = yr(e), r = vr(e); - t && r.removeEventListener("DOMContentLoaded", t), Yr.has(n) && (n.HTMLElement.prototype.focus = Yr.get(n).focus, r.removeEventListener("keydown", ti, !0), r.removeEventListener("keyup", ti, !0), r.removeEventListener("click", ri, !0), n.removeEventListener("focus", ii, !0), n.removeEventListener("blur", ai, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", ni, !0), r.removeEventListener("pointermove", ni, !0), r.removeEventListener("pointerup", ni, !0)), Yr.delete(n)); + Zr = !0, r.apply(this, arguments); + }, n.addEventListener("keydown", ni, !0), n.addEventListener("keyup", ni, !0), n.addEventListener("click", ii, !0), t.addEventListener("focus", ai, !0), t.addEventListener("blur", oi, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", ri, !0), n.addEventListener("pointermove", ri, !0), n.addEventListener("pointerup", ri, !0)), t.addEventListener("beforeunload", () => { + ci(e); + }, { once: !0 }), Xr.set(t, { focus: r }); +} +var ci = (e, t) => { + let n = br(e), r = yr(e); + t && r.removeEventListener("DOMContentLoaded", t), Xr.has(n) && (n.HTMLElement.prototype.focus = Xr.get(n).focus, r.removeEventListener("keydown", ni, !0), r.removeEventListener("keyup", ni, !0), r.removeEventListener("click", ii, !0), n.removeEventListener("focus", ai, !0), n.removeEventListener("blur", oi, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", ri, !0), r.removeEventListener("pointermove", ri, !0), r.removeEventListener("pointerup", ri, !0)), Xr.delete(n)); }; -function ci(e) { - let t = vr(e), n; +function li(e) { + let t = yr(e), n; return t.readyState === "loading" ? (n = () => { - oi(e); - }, t.addEventListener("DOMContentLoaded", n)) : oi(e), () => si(e, n); + si(e); + }, t.addEventListener("DOMContentLoaded", n)) : si(e), () => ci(e, n); } -typeof document < "u" && ci(); -function li() { - return qr !== "pointer"; +typeof document < "u" && li(); +function ui() { + return Jr !== "pointer"; } -var ui = /* @__PURE__ */ new Set([ +var di = /* @__PURE__ */ new Set([ "checkbox", "radio", "range", @@ -2032,28 +2032,28 @@ var ui = /* @__PURE__ */ new Set([ "submit", "reset" ]); -function di(e, t, n) { - let r = n ? Er(n) : void 0, i = vr(r), a = yr(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = Tr(i); - return e = e || u instanceof o && !ui.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Qr[n.key]); -} function fi(e, t, n) { - oi(), f(() => { + let r = n ? Dr(n) : void 0, i = yr(r), a = br(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = Er(i); + return e = e || u instanceof o && !di.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !$r[n.key]); +} +function pi(e, t, n) { + si(), f(() => { if (n?.enabled === !1) return; let t = (t, r) => { - di(!!n?.isTextInput, t, r) && e(li()); + fi(!!n?.isTextInput, t, r) && e(ui()); }; - return Jr.add(t), () => { - Jr.delete(t); + return Yr.add(t), () => { + Yr.delete(t); }; }, t); } //#endregion //#region ../../node_modules/.pnpm/react-aria@3.49.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-aria/dist/private/interactions/useFocus.mjs -function pi(e) { +function mi(e) { let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = l((e) => { - if (Er(e) === e.currentTarget) return r && r(e), i && i(!1), !0; - }, [r, i]), o = Fr(a), s = l((e) => { - let t = Er(e), r = vr(t), a = r ? Tr(r) : Tr(); + if (Dr(e) === e.currentTarget) return r && r(e), i && i(!1), !0; + }, [r, i]), o = Ir(a), s = l((e) => { + let t = Dr(e), r = yr(t), a = r ? Er(r) : Er(); t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e)); }, [ i, @@ -2067,7 +2067,7 @@ function pi(e) { } //#endregion //#region ../../node_modules/.pnpm/react-aria@3.49.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs -function mi() { +function hi() { let e = v(/* @__PURE__ */ new Map()), t = l((t, n, r, i) => { let a = i?.once ? (...t) => { e.current.delete(r), r(...t); @@ -2094,26 +2094,26 @@ function mi() { } //#endregion //#region ../../node_modules/.pnpm/react-aria@3.49.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs -function hi(e) { - let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = v({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = mi(), c = l((e) => { - wr(e.currentTarget, Er(e)) && a.current.isFocusWithin && !wr(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1)); +function gi(e) { + let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = v({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = hi(), c = l((e) => { + Tr(e.currentTarget, Dr(e)) && a.current.isFocusWithin && !Tr(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1)); }, [ n, i, a, s - ]), u = Fr(c), d = l((e) => { - if (!wr(e.currentTarget, Er(e))) return; - let t = Er(e), n = vr(t), s = Tr(n); + ]), u = Ir(c), d = l((e) => { + if (!Tr(e.currentTarget, Dr(e))) return; + let t = Dr(e), n = yr(t), s = Er(n); if (!a.current.isFocusWithin && s === t) { r && r(e), i && i(!0), a.current.isFocusWithin = !0, u(e); let t = e.currentTarget; o(n, "focus", (e) => { - let r = Er(e); - if (a.current.isFocusWithin && !wr(t, r)) { + let r = Dr(e); + if (a.current.isFocusWithin && !Tr(t, r)) { let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r }); - Pr(e, t); - let i = Nr(e); + Fr(e, t); + let i = Pr(e); c(i); } }, { capture: !0 }); @@ -2135,23 +2135,23 @@ function hi(e) { } //#endregion //#region ../../node_modules/.pnpm/react-aria@3.49.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-aria/dist/private/focus/useFocusRing.mjs -function gi(e = {}) { +function _i(e = {}) { let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = v({ isFocused: !1, - isFocusVisible: t || li() + isFocusVisible: t || ui() }), [a, o] = y(!1), [s, c] = y(() => i.current.isFocused && i.current.isFocusVisible), u = l(() => c(i.current.isFocused && i.current.isFocusVisible), []), d = l((e) => { - i.current.isFocused = e, i.current.isFocusVisible = li(), o(e), u(); + i.current.isFocused = e, i.current.isFocusVisible = ui(), o(e), u(); }, [u]); - fi((e) => { + pi((e) => { i.current.isFocusVisible = e, u(); }, [n, a], { enabled: a, isTextInput: n }); - let { focusProps: f } = pi({ + let { focusProps: f } = mi({ isDisabled: r, onFocusChange: d - }), { focusWithinProps: p } = hi({ + }), { focusWithinProps: p } = gi({ isDisabled: !r, onFocusWithinChange: d }); @@ -2163,36 +2163,36 @@ function gi(e = {}) { } //#endregion //#region ../../node_modules/.pnpm/react-aria@3.49.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-aria/dist/private/interactions/useHover.mjs -var _i = !1, vi = 0; -function yi() { - _i = !0, setTimeout(() => { - _i = !1; +var vi = !1, yi = 0; +function bi() { + vi = !0, setTimeout(() => { + vi = !1; }, 500); } -function bi(e) { - e.pointerType === "touch" && yi(); +function xi(e) { + e.pointerType === "touch" && bi(); } -function xi() { - let e = vr(null); - if (e !== void 0) return vi === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", bi), vi++, () => { - vi--, !(vi > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", bi); +function Si() { + let e = yr(null); + if (e !== void 0) return yi === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", xi), yi++, () => { + yi--, !(yi > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", xi); }; } -function Si(e) { +function Ci(e) { let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = y(!1), s = v({ isHovered: !1, ignoreEmulatedMouseEvents: !1, pointerType: "", target: null }).current; - f(xi, []); - let { addGlobalListener: c, removeAllGlobalListeners: l } = mi(), { hoverProps: u, triggerHoverEnd: d } = g(() => { + f(Si, []); + let { addGlobalListener: c, removeAllGlobalListeners: l } = hi(), { hoverProps: u, triggerHoverEnd: d } = g(() => { let e = (e, r) => { - if (s.pointerType = r, i || r === "touch" || s.isHovered || !wr(e.currentTarget, Er(e))) return; + if (s.pointerType = r, i || r === "touch" || s.isHovered || !Tr(e.currentTarget, Dr(e))) return; s.isHovered = !0; let l = e.currentTarget; - s.target = l, c(vr(Er(e)), "pointerover", (e) => { - s.isHovered && s.target && !wr(s.target, Er(e)) && a(e, e.pointerType); + s.target = l, c(yr(Dr(e)), "pointerover", (e) => { + s.isHovered && s.target && !Tr(s.target, Dr(e)) && a(e, e.pointerType); }, { capture: !0 }), t && t({ type: "hoverstart", target: l, @@ -2207,9 +2207,9 @@ function Si(e) { }), n && n(!1), o(!1)); }, u = {}; return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => { - _i && t.pointerType === "mouse" || e(t, t.pointerType); + vi && t.pointerType === "mouse" || e(t, t.pointerType); }, u.onPointerLeave = (e) => { - !i && wr(e.currentTarget, Er(e)) && a(e, e.pointerType); + !i && Tr(e.currentTarget, Dr(e)) && a(e, e.pointerType); }), { hoverProps: u, triggerHoverEnd: a @@ -2232,14 +2232,14 @@ function Si(e) { } //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/utils/env.js -var Ci = Object.defineProperty, wi = (e, t, n) => t in e ? Ci(e, t, { +var wi = Object.defineProperty, Ti = (e, t, n) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n -}) : e[t] = n, Ti = (e, t, n) => (wi(e, typeof t == "symbol" ? t : t + "", n), n), Ei = new class { +}) : e[t] = n, Ei = (e, t, n) => (Ti(e, typeof t == "symbol" ? t : t + "", n), n), Di = new class { constructor() { - Ti(this, "current", this.detect()), Ti(this, "handoffState", "pending"), Ti(this, "currentId", 0); + Ei(this, "current", this.detect()), Ei(this, "handoffState", "pending"), Ei(this, "currentId", 0); } set(e) { this.current !== e && (this.handoffState = "pending", this.currentId = 0, this.current = e); @@ -2268,28 +2268,28 @@ var Ci = Object.defineProperty, wi = (e, t, n) => t in e ? Ci(e, t, { }(); //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/utils/owner.js -function Di(e) { - return Ei.isServer ? null : e == null ? document : e?.ownerDocument ?? document; -} function Oi(e) { - return Ei.isServer ? null : e == null ? document : (e?.getRootNode)?.call(e) ?? document; + return Di.isServer ? null : e == null ? document : e?.ownerDocument ?? document; } function ki(e) { - return Oi(e)?.activeElement ?? null; + return Di.isServer ? null : e == null ? document : (e?.getRootNode)?.call(e) ?? document; } function Ai(e) { - return ki(e) === e; + return ki(e)?.activeElement ?? null; +} +function ji(e) { + return Ai(e) === e; } //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/utils/micro-task.js -function ji(e) { +function Mi(e) { typeof queueMicrotask == "function" ? queueMicrotask(e) : Promise.resolve().then(e).catch((e) => setTimeout(() => { throw e; })); } //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/utils/disposables.js -function Mi() { +function Ni() { let e = [], t = { addEventListener(e, n, r, i) { return e.addEventListener(n, r, i), t.add(() => e.removeEventListener(n, r, i)); @@ -2307,7 +2307,7 @@ function Mi() { }, microTask(...e) { let n = { current: !0 }; - return ji(() => { + return Mi(() => { n.current && e[0](); }), t.add(() => { n.current = !1; @@ -2320,7 +2320,7 @@ function Mi() { }); }, group(e) { - let t = Mi(); + let t = Ni(); return e(t), this.add(() => t.dispose()); }, add(t) { @@ -2337,32 +2337,32 @@ function Mi() { } //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/hooks/use-disposables.js -function Ni() { - let [e] = y(Mi); +function Pi() { + let [e] = y(Ni); return f(() => () => e.dispose(), [e]), e; } //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js -var G = (e, t) => { - Ei.isServer ? f(e, t) : h(e, t); +var W = (e, t) => { + Di.isServer ? f(e, t) : h(e, t); }; //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/hooks/use-latest-value.js -function Pi(e) { +function Fi(e) { let t = v(e); - return G(() => { + return W(() => { t.current = e; }, [e]), t; } //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/hooks/use-event.js -var K = function(e) { - let n = Pi(e); +var G = function(e) { + let n = Fi(e); return t.useCallback((...e) => n.current(...e), [n]); }; //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/hooks/use-active-press.js -function Fi(e) { +function Ii(e) { let t = e.width / 2, n = e.height / 2; return { top: e.clientY - n, @@ -2371,21 +2371,21 @@ function Fi(e) { left: e.clientX - t }; } -function Ii(e, t) { +function Li(e, t) { return !(!e || !t || e.right < t.left || e.left > t.right || e.bottom < t.top || e.top > t.bottom); } -function Li({ disabled: e = !1 } = {}) { - let t = v(null), [n, r] = y(!1), i = Ni(), a = K(() => { +function Ri({ disabled: e = !1 } = {}) { + let t = v(null), [n, r] = y(!1), i = Pi(), a = G(() => { t.current = null, r(!1), i.dispose(); - }), o = K((e) => { + }), o = G((e) => { if (i.dispose(), t.current === null) { t.current = e.currentTarget, r(!0); { - let n = Di(e.currentTarget); + let n = Oi(e.currentTarget); i.addEventListener(n, "pointerup", a, !1), i.addEventListener(n, "pointermove", (e) => { if (t.current) { - let n = Fi(e); - r(Ii(n, t.current.getBoundingClientRect())); + let n = Ii(e); + r(Li(n, t.current.getBoundingClientRect())); } }, !1), i.addEventListener(n, "pointercancel", a, !1); } @@ -2402,57 +2402,57 @@ function Li({ disabled: e = !1 } = {}) { } //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/hooks/use-slot.js -function Ri(e) { +function zi(e) { return g(() => e, Object.values(e)); } //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/internal/disabled.js -var zi = i(void 0); -function Bi() { - return u(zi); +var Bi = i(void 0); +function Vi() { + return u(Bi); } //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/utils/class-names.js -function Vi(...e) { +function Hi(...e) { return Array.from(new Set(e.flatMap((e) => typeof e == "string" ? e.split(" ") : []))).filter(Boolean).join(" "); } //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/utils/match.js -function Hi(e, t, ...n) { +function Ui(e, t, ...n) { if (e in t) { let r = t[e]; return typeof r == "function" ? r(...n) : r; } let r = /* @__PURE__ */ Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e) => `"${e}"`).join(", ")}.`); - throw Error.captureStackTrace && Error.captureStackTrace(r, Hi), r; + throw Error.captureStackTrace && Error.captureStackTrace(r, Ui), r; } //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/utils/render.js -var Ui = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(Ui || {}), Wi = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(Wi || {}); -function q() { - let e = qi(); - return l((t) => Gi({ +var Wi = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(Wi || {}), Gi = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(Gi || {}); +function K() { + let e = Ji(); + return l((t) => Ki({ mergeRefs: e, ...t }), [e]); } -function Gi({ ourProps: e, theirProps: t, slot: n, defaultTag: r, features: i, visible: a = !0, name: o, mergeRefs: s }) { - s ??= Ji; - let c = Yi(t, e); - if (a) return Ki(c, n, r, o, s); +function Ki({ ourProps: e, theirProps: t, slot: n, defaultTag: r, features: i, visible: a = !0, name: o, mergeRefs: s }) { + s ??= Yi; + let c = Xi(t, e); + if (a) return qi(c, n, r, o, s); let l = i ?? 0; if (l & 2) { let { static: e = !1, ...t } = c; - if (e) return Ki(t, n, r, o, s); + if (e) return qi(t, n, r, o, s); } if (l & 1) { let { unmount: e = !0, ...t } = c; - return Hi(+!e, { + return Ui(+!e, { 0() { return null; }, 1() { - return Ki({ + return qi({ ...t, hidden: !0, style: { display: "none" } @@ -2460,11 +2460,11 @@ function Gi({ ourProps: e, theirProps: t, slot: n, defaultTag: r, features: i, v } }); } - return Ki(c, n, r, o, s); + return qi(c, n, r, o, s); } -function Ki(e, t = {}, n, i, o) { - let { as: s = n, children: l, refName: u = "ref", ...d } = Qi(e, ["unmount", "static"]), f = e.ref === void 0 ? {} : { [u]: e.ref }, p = typeof l == "function" ? l(t) : l; - p = ea(p), "className" in d && d.className && typeof d.className == "function" && (d.className = d.className(t)), d["aria-labelledby"] && d["aria-labelledby"] === d.id && (d["aria-labelledby"] = void 0); +function qi(e, t = {}, n, i, o) { + let { as: s = n, children: l, refName: u = "ref", ...d } = $i(e, ["unmount", "static"]), f = e.ref === void 0 ? {} : { [u]: e.ref }, p = typeof l == "function" ? l(t) : l; + p = ta(p), "className" in d && d.className && typeof d.className == "function" && (d.className = d.className(t)), d["aria-labelledby"] && d["aria-labelledby"] === d.id && (d["aria-labelledby"] = void 0); let m = {}; if (t) { let e = !1, n = []; @@ -2474,25 +2474,25 @@ function Ki(e, t = {}, n, i, o) { for (let e of n) m[`data-${e}`] = ""; } } - if (ta(s) && (Object.keys(Zi(d)).length > 0 || Object.keys(Zi(m)).length > 0)) if (!c(p) || Array.isArray(p) && p.length > 1 || na(p)) { - if (Object.keys(Zi(d)).length > 0) throw Error([ + if (na(s) && (Object.keys(Qi(d)).length > 0 || Object.keys(Qi(m)).length > 0)) if (!c(p) || Array.isArray(p) && p.length > 1 || ra(p)) { + if (Object.keys(Qi(d)).length > 0) throw Error([ "Passing props on \"Fragment\"!", "", `The current component <${i} /> is rendering a "Fragment".`, "However we need to passthrough the following props:", - Object.keys(Zi(d)).concat(Object.keys(Zi(m))).map((e) => ` - ${e}`).join("\n"), + Object.keys(Qi(d)).concat(Object.keys(Qi(m))).map((e) => ` - ${e}`).join("\n"), "", "You can apply a few solutions:", ["Add an `as=\"...\"` prop, to ensure that we render an actual element instead of a \"Fragment\".", "Render a single element as the child so that we can forward the props onto that element."].map((e) => ` - ${e}`).join("\n") ].join("\n")); } else { - let e = p.props?.className, t = typeof e == "function" ? (...t) => Vi(e(...t), d.className) : Vi(e, d.className), n = t ? { className: t } : {}, i = Yi(p.props, Zi(Qi(d, ["ref"]))); + let e = p.props?.className, t = typeof e == "function" ? (...t) => Hi(e(...t), d.className) : Hi(e, d.className), n = t ? { className: t } : {}, i = Xi(p.props, Qi($i(d, ["ref"]))); for (let e in m) e in i && delete m[e]; - return r(p, Object.assign({}, i, m, f, { ref: o($i(p), f.ref) }, n)); + return r(p, Object.assign({}, i, m, f, { ref: o(ea(p), f.ref) }, n)); } - return a(s, Object.assign({}, Qi(d, ["ref"]), !ta(s) && f, !ta(s) && m), p); + return a(s, Object.assign({}, $i(d, ["ref"]), !na(s) && f, !na(s) && m), p); } -function qi() { +function Ji() { let e = v([]), t = l((t) => { for (let n of e.current) n != null && (typeof n == "function" ? n(t) : n.current = t); }, []); @@ -2500,12 +2500,12 @@ function qi() { if (!n.every((e) => e == null)) return e.current = n, t; }; } -function Ji(...e) { +function Yi(...e) { return e.every((e) => e == null) ? void 0 : (t) => { for (let n of e) n != null && (typeof n == "function" ? n(t) : n.current = t); }; } -function Yi(...e) { +function Xi(...e) { if (e.length === 0) return {}; if (e.length === 1) return e[0]; let t = {}, n = {}; @@ -2520,7 +2520,7 @@ function Yi(...e) { } }); return t; } -function Xi(...e) { +function Zi(...e) { if (e.length === 0) return {}; if (e.length === 1) return e[0]; let t = {}, n = {}; @@ -2531,61 +2531,61 @@ function Xi(...e) { } }); return t; } -function J(e) { +function q(e) { return Object.assign(s(e), { displayName: e.displayName ?? e.name }); } -function Zi(e) { +function Qi(e) { let t = Object.assign({}, e); for (let e in t) t[e] === void 0 && delete t[e]; return t; } -function Qi(e, t = []) { +function $i(e, t = []) { let n = Object.assign({}, e); for (let e of t) e in n && delete n[e]; return n; } -function $i(e) { +function ea(e) { return t.version.split(".")[0] >= "19" ? e.props.ref : e.ref; } -function ea(e) { +function ta(e) { if (e != null && e.$$typeof === Symbol.for("react.lazy")) { let t = e._payload; - if (t != null && t.status === "fulfilled") return ea(t.value); + if (t != null && t.status === "fulfilled") return ta(t.value); } return e; } -function ta(e) { +function na(e) { return e === n || e === Symbol.for("react.fragment"); } -function na(e) { - return ta(e.type); +function ra(e) { + return na(e.type); } //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/hooks/use-controllable.js -function ra(e, t, n) { +function ia(e, t, n) { let [r, i] = y(n), a = e !== void 0, o = v(a), s = v(!1), c = v(!1); - return a && !o.current && !s.current ? (s.current = !0, o.current = a, console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")) : !a && o.current && !c.current && (c.current = !0, o.current = a, console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")), [a ? e : r, K((e) => (a || E(() => i(e)), t?.(e)))]; + return a && !o.current && !s.current ? (s.current = !0, o.current = a, console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")) : !a && o.current && !c.current && (c.current = !0, o.current = a, console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")), [a ? e : r, G((e) => (a || E(() => i(e)), t?.(e)))]; } //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/hooks/use-default-value.js -function ia(e) { +function aa(e) { let [t] = y(e); return t; } //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/utils/form.js -function aa(e = {}, t = null, n = []) { - for (let [r, i] of Object.entries(e)) sa(n, oa(t, r), i); +function oa(e = {}, t = null, n = []) { + for (let [r, i] of Object.entries(e)) ca(n, sa(t, r), i); return n; } -function oa(e, t) { +function sa(e, t) { return e ? e + "[" + t + "]" : t; } -function sa(e, t, n) { - if (Array.isArray(n)) for (let [r, i] of n.entries()) sa(e, oa(t, r.toString()), i); - else n instanceof Date ? e.push([t, n.toISOString()]) : typeof n == "boolean" ? e.push([t, n ? "1" : "0"]) : typeof n == "string" ? e.push([t, n]) : typeof n == "number" ? e.push([t, `${n}`]) : n == null ? e.push([t, ""]) : la(n) && !c(n) && aa(n, t, e); +function ca(e, t, n) { + if (Array.isArray(n)) for (let [r, i] of n.entries()) ca(e, sa(t, r.toString()), i); + else n instanceof Date ? e.push([t, n.toISOString()]) : typeof n == "boolean" ? e.push([t, n ? "1" : "0"]) : typeof n == "string" ? e.push([t, n]) : typeof n == "number" ? e.push([t, `${n}`]) : n == null ? e.push([t, ""]) : ua(n) && !c(n) && oa(n, t, e); } -function ca(e) { +function la(e) { var t; let n = e?.form ?? e.closest("form"); if (n) { @@ -2596,15 +2596,15 @@ function ca(e) { (t = n.requestSubmit) == null || t.call(n); } } -function la(e) { +function ua(e) { if (Object.prototype.toString.call(e) !== "[object Object]") return !1; let t = Object.getPrototypeOf(e); return t === null || Object.getPrototypeOf(t) === null; } //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/internal/hidden.js -var ua = "span", da = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(da || {}); -function fa(e, t) { +var da = "span", fa = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(fa || {}); +function pa(e, t) { let { features: n = 1, ...r } = e, i = { ref: t, "aria-hidden": (n & 2) == 2 ? !0 : r["aria-hidden"] ?? void 0, @@ -2624,35 +2624,35 @@ function fa(e, t) { ...(n & 4) == 4 && (n & 2) != 2 && { display: "none" } } }; - return q()({ + return K()({ ourProps: i, theirProps: r, slot: {}, - defaultTag: ua, + defaultTag: da, name: "Hidden" }); } -var pa = J(fa), ma = i(null); -function ha({ children: e }) { - let n = u(ma); +var ma = q(pa), ha = i(null); +function ga({ children: e }) { + let n = u(ha); if (!n) return t.createElement(t.Fragment, null, e); let { target: r } = n; return r ? T(t.createElement(t.Fragment, null, e), r) : null; } -function ga({ data: e, form: n, disabled: r, onReset: i, overrides: a }) { - let [o, s] = y(null), c = Ni(); +function _a({ data: e, form: n, disabled: r, onReset: i, overrides: a }) { + let [o, s] = y(null), c = Pi(); return f(() => { if (i && o) return c.addEventListener(o, "reset", i); }, [ o, n, i - ]), t.createElement(ha, null, t.createElement(_a, { + ]), t.createElement(ga, null, t.createElement(va, { setForm: s, formId: n - }), aa(e).map(([e, i]) => t.createElement(pa, { - features: da.Hidden, - ...Zi({ + }), oa(e).map(([e, i]) => t.createElement(ma, { + features: fa.Hidden, + ...Qi({ key: e, as: "input", type: "hidden", @@ -2666,14 +2666,14 @@ function ga({ data: e, form: n, disabled: r, onReset: i, overrides: a }) { }) }))); } -function _a({ setForm: e, formId: n }) { +function va({ setForm: e, formId: n }) { return f(() => { if (n) { let t = document.getElementById(n); t && e(t); } - }, [e, n]), n ? null : t.createElement(pa, { - features: da.Hidden, + }, [e, n]), n ? null : t.createElement(ma, { + features: fa.Hidden, as: "input", type: "hidden", hidden: !0, @@ -2687,97 +2687,97 @@ function _a({ setForm: e, formId: n }) { } //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/internal/id.js -var va = i(void 0); -function ya() { - return u(va); +var ya = i(void 0); +function ba() { + return u(ya); } //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/utils/dom.js -function ba(e) { - return typeof e != "object" || !e ? !1 : "nodeType" in e; -} function xa(e) { - return ba(e) && "tagName" in e; + return typeof e != "object" || !e ? !1 : "nodeType" in e; } function Sa(e) { - return xa(e) && "accessKey" in e; + return xa(e) && "tagName" in e; } function Ca(e) { - return xa(e) && "tabIndex" in e; + return Sa(e) && "accessKey" in e; } function wa(e) { - return xa(e) && "style" in e; + return Sa(e) && "tabIndex" in e; } function Ta(e) { - return Sa(e) && e.nodeName === "IFRAME"; + return Sa(e) && "style" in e; } function Ea(e) { - return Sa(e) && e.nodeName === "INPUT"; + return Ca(e) && e.nodeName === "IFRAME"; } function Da(e) { - return Sa(e) && e.nodeName === "LABEL"; + return Ca(e) && e.nodeName === "INPUT"; } function Oa(e) { - return Sa(e) && e.nodeName === "FIELDSET"; + return Ca(e) && e.nodeName === "LABEL"; } function ka(e) { - return Sa(e) && e.nodeName === "LEGEND"; + return Ca(e) && e.nodeName === "FIELDSET"; } function Aa(e) { - return xa(e) ? e.matches("a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type=\"hidden\"]),label,select,textarea,video[controls]") : !1; + return Ca(e) && e.nodeName === "LEGEND"; +} +function ja(e) { + return Sa(e) ? e.matches("a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type=\"hidden\"]),label,select,textarea,video[controls]") : !1; } //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/utils/bugs.js -function ja(e) { +function Ma(e) { let t = e.parentElement, n = null; - for (; t && !Oa(t);) ka(t) && (n = t), t = t.parentElement; + for (; t && !ka(t);) Aa(t) && (n = t), t = t.parentElement; let r = t?.getAttribute("disabled") === ""; - return r && Ma(n) ? !1 : r; + return r && Na(n) ? !1 : r; } -function Ma(e) { +function Na(e) { if (!e) return !1; let t = e.previousElementSibling; for (; t !== null;) { - if (ka(t)) return !1; + if (Aa(t)) return !1; t = t.previousElementSibling; } return !0; } //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/hooks/use-sync-refs.js -var Na = Symbol(); -function Pa(e, t = !0) { - return Object.assign(e, { [Na]: t }); +var Pa = Symbol(); +function Fa(e, t = !0) { + return Object.assign(e, { [Pa]: t }); } -function Y(...e) { +function J(...e) { let t = v(e); f(() => { t.current = e; }, [e]); - let n = K((e) => { + let n = G((e) => { for (let n of t.current) n != null && (typeof n == "function" ? n(e) : n.current = e); }); - return e.every((e) => e == null || e?.[Na]) ? void 0 : n; + return e.every((e) => e == null || e?.[Pa]) ? void 0 : n; } //#endregion //#region ../../node_modules/.pnpm/@headlessui+react@2.2.10_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/@headlessui/react/dist/components/description/description.js -var Fa = i(null); -Fa.displayName = "DescriptionContext"; -function Ia() { - let e = u(Fa); +var Ia = i(null); +Ia.displayName = "DescriptionContext"; +function La() { + let e = u(Ia); if (e === null) { let e = /* @__PURE__ */ Error("You used a component, but it is not inside a relevant parent."); - throw Error.captureStackTrace && Error.captureStackTrace(e, Ia), e; + throw Error.captureStackTrace && Error.captureStackTrace(e, La), e; } return e; } -function La() { - return u(Fa)?.value ?? void 0; -} function Ra() { + return u(Ia)?.value ?? void 0; +} +function za() { let [e, n] = y([]); return [e.length > 0 ? e.join(" ") : void 0, g(() => function(e) { - let r = K((e) => (n((t) => [...t, e]), () => n((t) => { + let r = G((e) => (n((t) => [...t, e]), () => n((t) => { let n = t.slice(), r = n.indexOf(e); return r !== -1 && n.splice(r, 1), n; }))), i = g(() => ({ @@ -2793,14 +2793,14 @@ function Ra() { e.props, e.value ]); - return t.createElement(Fa.Provider, { value: i }, e.children); + return t.createElement(Ia.Provider, { value: i }, e.children); }, [n])]; } -var za = "p"; -function Ba(e, t) { - let n = m(), r = Bi(), { id: i = `headlessui-description-${n}`, ...a } = e, o = Ia(), s = Y(t); - G(() => o.register(i), [i, o.register]); - let c = Ri({ +var Ba = "p"; +function Va(e, t) { + let n = m(), r = Vi(), { id: i = `headlessui-description-${n}`, ...a } = e, o = La(), s = J(t); + W(() => o.register(i), [i, o.register]); + let c = zi({ ...o.slot, disabled: r || !1 }), l = { @@ -2808,32 +2808,32 @@ function Ba(e, t) { ...o.props, id: i }; - return q()({ + return K()({ ourProps: l, theirProps: a, slot: c, - defaultTag: za, + defaultTag: Ba, name: o.name || "Description" }); } -var Va = J(Ba), Ha = Object.assign(Va, {}), X = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(X || {}), Ua = i(null); -Ua.displayName = "LabelContext"; -function Wa() { - let e = u(Ua); +var Ha = q(Va), Ua = Object.assign(Ha, {}), Y = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(Y || {}), Wa = i(null); +Wa.displayName = "LabelContext"; +function Ga() { + let e = u(Wa); if (e === null) { let e = /* @__PURE__ */ Error("You used a