react-semaphor 0.1.545 → 0.1.547
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics-protocol/index.js +408 -442
- package/dist/assistant-context/index.js +1 -1
- package/dist/assistant-protocol/index.js +100 -76
- package/dist/brand-studio/index.js +4 -4
- package/dist/briefings/index.js +6 -6
- package/dist/chunks/{add-to-dashboard-BuAqfA2Y.js → add-to-dashboard-BQRAAnc3.js} +55 -33
- package/dist/chunks/{analytics-base-schemas-BFAoRlkU.js → analytics-base-schemas-BKs3flFS.js} +2 -2
- package/dist/chunks/applied-constraints-DU-wndZ7.js +47 -0
- package/dist/chunks/{assistant-chat-D7sWTypJ.js → assistant-chat-CK84cPAB.js} +2826 -2595
- package/dist/chunks/{bookmark-state-CXw7lZ50.js → bookmark-state-Cu-a5ie_.js} +8 -15
- package/dist/chunks/comparison-window-caption-C2xF-eWw.js +1433 -0
- package/dist/chunks/{context-ClREvqCZ.js → context-BerEBuFR.js} +11 -6
- package/dist/chunks/custom-visual-inputs-ChL54gGm.js +295 -0
- package/dist/chunks/{dashboard-B1tMju0u.js → dashboard-DCk26-6i.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-CePgIu0Z.js → dashboard-briefing-launcher-CQ1eYsGy.js} +1291 -1277
- package/dist/chunks/dashboard-controls-BMeZjF7r.js +2307 -0
- package/dist/chunks/{dashboard-json-CoYRPqxx.js → dashboard-json-BZqCoanC.js} +5 -5
- package/dist/chunks/{document-dashboard-inputs-BesAHZvB.js → document-dashboard-inputs-tYd7ao0o.js} +877 -979
- package/dist/chunks/{edit-dashboard-visual-JPtNfJRb.js → edit-dashboard-visual-Bv3MHM_G.js} +2157 -2243
- package/dist/chunks/filter-reach-copy-CGWsL_ez.js +3480 -0
- package/dist/chunks/{filter-value-text-ff7osJr7.js → filter-value-text-Ddf55Ku1.js} +9 -9
- package/dist/chunks/global-date-filter-utils-BhAu8zIM.js +12137 -0
- package/dist/chunks/index-CtoK1Lgu.js +586 -0
- package/dist/chunks/{index-DRWiuqyd.js → index-DmrLP5Ro.js} +105 -104
- package/dist/chunks/list-filter-DsaTbM3J.js +15 -0
- package/dist/chunks/matrix-analytical-definition-B9vW-osb.js +717 -0
- package/dist/chunks/{matrix-card-DjwWcCo8.js → matrix-card-LiMEipvq.js} +3 -3
- package/dist/chunks/{matrix-formatter-DnCyRXJE.js → matrix-formatter-DWEeC0_c.js} +44 -44
- package/dist/chunks/{matrix-member-presentation-CQGdVks6.js → matrix-member-presentation-DqzG-UhQ.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-8OIO4gob.js → matrix-operation-contract-D6vYkZK4.js} +72 -72
- package/dist/chunks/{metric-comparison-DEwi9uc2.js → metric-comparison-zpGw4lD6.js} +2 -2
- package/dist/chunks/normalize-dashboard-for-dirty-check-XKgH3GFX.js +119 -0
- package/dist/chunks/{pivot-header-presentation-DHcx1XGQ.js → pivot-header-presentation-CQnIDtUv.js} +1 -1
- package/dist/chunks/{pivot-result-identity-DJhXXcns.js → pivot-result-identity-C-Q1j1Wb.js} +1 -1
- package/dist/chunks/{pivot-result-lifecycle-DM4CyGKs.js → pivot-result-lifecycle-pwq3b7LC.js} +571 -380
- package/dist/chunks/{raw-temporal-contract-C51YG48G.js → raw-temporal-contract-WuXA8jBP.js} +1 -1
- package/dist/chunks/{raw-temporal-presentation-C3mUgnEx.js → raw-temporal-presentation-DypB7sMX.js} +8 -8
- package/dist/chunks/{report-preferences-dialog-DUtuUL_5.js → report-preferences-dialog-DoVyriYC.js} +154 -155
- package/dist/chunks/{report-runtime-context-Dq8XyODK.js → report-runtime-context-hWiTCzFV.js} +2 -2
- package/dist/chunks/resolve-dashboard-input-context-D0JDUa4h.js +5576 -0
- package/dist/chunks/{saved-dashboard-context-LrF_kW0l.js → saved-dashboard-context-BfAH5j4L.js} +34 -34
- package/dist/chunks/{selection-reducer-Dj_8xD69.js → selection-reducer-CJzkTZio.js} +15 -15
- package/dist/chunks/{semaphor-ready-indicator-BxF96Yhv.js → semaphor-ready-indicator-CRm17oIP.js} +51771 -52574
- package/dist/chunks/{shelf-drop-preview-context-CNaM_Gmh.js → shelf-drop-preview-context-vy6P9THz.js} +7 -7
- package/dist/chunks/{source-entity-resolution-BYn9giz3.js → source-entity-resolution-BIGRvtbG.js} +13 -13
- package/dist/chunks/{switch-uDtPgQlQ.js → switch-CEBOR4n7.js} +3 -3
- package/dist/chunks/{table-export-sheet-YzMioA7Y.js → table-export-sheet-4X9mAG3V.js} +1 -1
- package/dist/chunks/table-settings-WysCBj62.js +614 -0
- package/dist/chunks/{temporal-bucket-D7NBrrtL.js → temporal-bucket-CQOSbv9-.js} +26 -26
- package/dist/chunks/{token-types-DBbZVQsm.js → token-types-BMqRmT-C.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-CjB7ig1o.js → use-create-flow-overlay-state-Csx_Xjsh.js} +101 -101
- package/dist/chunks/{validators-DMHTpf7a.js → validators-C-aOQlTB.js} +713 -658
- package/dist/chunks/{relative-date-label-Bk2j94pA.js → zoned-wall-clock-MulfA26h.js} +64 -21
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +1895 -1163
- package/dist/data-app-sdk/index.js +6 -6
- package/dist/data-app-sdk-adapters/index.js +3 -3
- package/dist/data-app-sdk-validation/index.js +14 -14
- package/dist/format-utils/index.js +133 -133
- package/dist/index.js +192 -186
- package/dist/layouts/index.js +5 -242
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/shared/index.js +4 -5
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/surfboard/arrange-layout-button.d.ts +8 -0
- package/dist/types/components/surfboard/filter/types.d.ts +7 -0
- package/dist/types/components/surfboard/screen-size-preview-button.d.ts +10 -0
- package/dist/types/components/visual/matrix-table/matrix-card-view.d.ts +3 -0
- package/dist/types/index.js +6 -6
- package/dist/types/lib/charts/table-chart-types.d.ts +4 -0
- package/dist/types/lib/charts/types.d.ts +2 -2
- package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-authoring.d.ts +346 -21
- package/dist/types/lib/dashboard-inputs/dashboard-filter-value-identity.d.ts +65 -0
- package/dist/types/lib/dashboard-inputs/dashboard-input-values.d.ts +6 -0
- package/dist/types/lib/dashboard-inputs/filter-settings.d.ts +2 -0
- package/dist/types/lib/dashboard-inputs/prepare-loaded-dashboard.d.ts +15 -0
- package/dist/types/lib/dashboard-inputs/resolve-selection-input.d.ts +3 -3
- package/dist/types/lib/hooks/use-dashboard-card.d.ts +2 -0
- package/dist/types/lib/matrix-table/matrix-delivery-policy.d.ts +1 -1
- package/dist/types/lib/matrix-table/matrix-editor.d.ts +52 -0
- package/dist/types/lib/matrix-table/matrix-runtime-types.d.ts +9 -1
- package/dist/types/lib/matrix-table/matrix-runtime.d.ts +5 -1
- package/dist/types/lib/query-context/dashboard-filter-mapping-resolution.d.ts +149 -10
- package/dist/types/lib/stores/dashboard-store.d.ts +137 -6
- package/dist/types/lib/types/common-types.d.ts +8 -0
- package/dist/types/lib/types/explorer-types.d.ts +10 -0
- package/dist/types/lib/types/semantic-types.d.ts +84 -0
- package/dist/types/lib/utils/build-saved-editor-card.d.ts +20 -0
- package/dist/types/lib/utils/card-type-change.d.ts +16 -0
- package/dist/types/lib/utils/field-availability-context.d.ts +25 -0
- package/dist/types/lib/utils/field-placement.d.ts +96 -0
- package/dist/types/lib/utils/field-state-calculator.d.ts +161 -0
- package/dist/types/lib/utils/qualified-entity-name.d.ts +2 -0
- package/dist/types/shared/analytics-protocol/applied-constraints.d.ts +57 -1
- package/dist/types/shared/analytics-protocol/field-provenance.d.ts +89 -0
- package/dist/types/shared/analytics-protocol/index.d.ts +2 -0
- package/dist/types/shared/analytics-protocol/query-policies.d.ts +52 -0
- package/dist/types/shared/analytics-protocol/time-window-schema.d.ts +1 -1
- package/dist/types/shared/analytics-protocol/time-window.d.ts +40 -1
- package/dist/types/shared/assistant-context/saved-dashboard-context.d.ts +4 -1
- package/dist/types/shared/assistant-protocol/answer-text.d.ts +20 -0
- package/dist/types/shared/assistant-protocol/context.d.ts +29 -29
- package/dist/types/shared/assistant-protocol/index.d.ts +1 -0
- package/dist/types/shared/assistant-protocol/limits.d.ts +6 -1
- package/dist/types/shared/assistant-protocol/parts.d.ts +43 -3
- package/dist/types/shared/assistant-protocol/request.d.ts +14 -2
- package/dist/types/shared/dashboard-authoring/calculated-field-identity.d.ts +3 -0
- package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +487 -0
- package/dist/types/shared/dashboard-authoring/changes/card-types.d.ts +34 -0
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +7886 -0
- package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +45 -0
- package/dist/types/shared/dashboard-authoring/changes/read-card-query.d.ts +54 -0
- package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +96 -0
- package/dist/types/shared/dashboard-authoring/click-to-filter-settings.d.ts +3 -3
- package/dist/types/shared/dashboard-authoring/column-catalog.d.ts +32 -0
- package/dist/types/shared/dashboard-authoring/contracts.d.ts +0 -55
- package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +24 -14
- package/dist/types/shared/dashboard-authoring/dashboard-card-source-index.d.ts +9 -1
- package/dist/types/shared/dashboard-authoring/dashboard-filter-automatic-target.d.ts +4 -4
- package/dist/types/shared/dashboard-authoring/dashboard-filter-mapping-contract.d.ts +3 -1
- package/dist/types/shared/dashboard-authoring/dashboard-filter-mapping-types.d.ts +27 -1
- package/dist/types/shared/dashboard-authoring/dashboard-filter-value-compatibility.d.ts +12 -3
- package/dist/types/shared/dashboard-authoring/dashboard-input-scope.d.ts +26 -0
- package/dist/types/shared/dashboard-authoring/filter-applicability.d.ts +75 -0
- package/dist/types/shared/dashboard-authoring/filter-reach-copy.d.ts +18 -0
- package/dist/types/shared/dashboard-authoring/filter-reach-preview.d.ts +97 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +22 -2
- package/dist/types/shared/dashboard-authoring/operations/apply-dashboard-operations.d.ts +10 -37
- package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +189 -0
- package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +101 -0
- package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +100 -0
- package/dist/types/shared/dashboard-authoring/semantic-auto-join-card.d.ts +22 -0
- package/dist/types/shared/dashboard-authoring/validators.d.ts +1 -2
- package/dist/types/shared/layouts/engine/grid.d.ts +25 -0
- package/dist/types/shared/layouts/engine/index.d.ts +4 -0
- package/dist/types/shared/layouts/engine/sheet-layout.d.ts +7 -0
- package/dist/types/shared/layouts/engine/types.d.ts +125 -0
- package/dist/types/shared/layouts/index.d.ts +1 -2
- package/package.json +2 -2
- package/dist/chunks/apply-dashboard-operations-CZEMsx8E.js +0 -2080
- package/dist/chunks/calendar-day-equality-dvoQp1xW.js +0 -410
- package/dist/chunks/comparison-window-caption-D4E6IHPD.js +0 -1624
- package/dist/chunks/custom-visual-inputs-DLCD9Y5V.js +0 -329
- package/dist/chunks/dashboard-controls-Cq05n3e0.js +0 -2315
- package/dist/chunks/dashboard-filter-value-compatibility-CwQ_iSNb.js +0 -108
- package/dist/chunks/matrix-analytical-definition-C7Gb0e12.js +0 -117
- package/dist/chunks/normalize-dashboard-for-dirty-check-Bk3VYv_q.js +0 -67
- package/dist/chunks/numeric-presentation-7X_IrD58.js +0 -5226
- package/dist/chunks/resolve-dashboard-input-context-DJ2tICwz.js +0 -9415
- package/dist/chunks/stable-serialize-CfqXeiBP.js +0 -6
- package/dist/chunks/table-settings-CLZocegs.js +0 -501
- package/dist/chunks/use-debounced-dirty-check-BwAbnX_5.js +0 -59
- package/dist/chunks/zoned-wall-clock-BkxV9jS2.js +0 -46
- package/dist/types/shared/dashboard-authoring/change-compiler.d.ts +0 -7
- package/dist/types/shared/dashboard-authoring/layout-compiler.d.ts +0 -2
- package/dist/types/shared/layouts/create-frame-layouts.d.ts +0 -27
- package/dist/types/shared/layouts/frame-layouts.d.ts +0 -23
package/dist/chunks/{report-preferences-dialog-DUtuUL_5.js → report-preferences-dialog-DoVyriYC.js}
RENAMED
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
import { jsxs as h, jsx as l, Fragment as ie } from "react/jsx-runtime";
|
|
2
2
|
import * as p from "react";
|
|
3
3
|
import Lt, { useRef as Y, useState as L, useCallback as $, useEffect as ee, useMemo as q, lazy as Se, Suspense as ye, useLayoutEffect as Xe, Activity as _t, useId as ce } from "react";
|
|
4
|
-
import { u as M,
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./analytics-base-schemas-BFAoRlkU.js";
|
|
4
|
+
import { u as M, be as Mt, bf as Ut, bg as mt, a1 as Ot, bh as jt, bi as Bt, bj as Wt, b as $t, b2 as We, bk as Vt, bl as Kt, bm as ft, t as Ht, bn as qt, bo as Gt, bp as Xt, bq as Jt, br as be, bs as ht, bt as Je, E as Yt, F as Zt, S as Qt, B as ea, a as ta, U as aa, bu as ra, D as na, A as la, C as sa, bv as ia, bw as oa, bx as da, by as ca, bz as Ye, bA as Ne, bB as ua, bC as $e, bD as H, bE as ma, bF as fa, bG as ha, bH as pa, bI as va } from "./semaphor-ready-indicator-CRm17oIP.js";
|
|
5
|
+
import "./validators-C-aOQlTB.js";
|
|
6
|
+
import "./matrix-operation-contract-D6vYkZK4.js";
|
|
7
|
+
import "./analytics-base-schemas-BKs3flFS.js";
|
|
9
8
|
import "zod";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import "./
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
9
|
+
import { Y as ba, cU as ga, bq as ya, br as wa, as as Sa, s as xa } from "./global-date-filter-utils-BhAu8zIM.js";
|
|
10
|
+
import { j as Ca } from "./index-CuHybtft.js";
|
|
11
|
+
import { parseValueFormatPreferencesResponse as Na, canonicalizeSupportedLocale as pt, getSupportedCurrencyCodes as Ea, canonicalizeSupportedCurrencyCode as Ta } from "../value-format-preferences/index.js";
|
|
12
|
+
import { c as U } from "./_commonjsHelpers-DimLPMtv.js";
|
|
13
|
+
import "./index-CtoK1Lgu.js";
|
|
14
|
+
import "./pivot-result-lifecycle-pwq3b7LC.js";
|
|
15
|
+
import { H as Ia } from "./table-settings-WysCBj62.js";
|
|
16
|
+
import { l as oe, B as V, N as ka, O as Aa, Q as Da, U as Ra, V as Pa, W as za, X as se, z as Q, Y as he, P as Fa, a as La, b as _a, c as Ze, L as vt, r as Pe, s as ze, t as Fe, u as Le, v as J, T as Ma, d as Ua, e as Qe, g as et } from "./switch-CEBOR4n7.js";
|
|
17
17
|
import { X as Oa } from "./x-4f5U2XwU.js";
|
|
18
|
-
import { r as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import { r as ge, M as ue } from "./temporal-bucket-D7NBrrtL.js";
|
|
18
|
+
import { r as ja, a as bt } from "./availability-Bp5Gfu1I.js";
|
|
19
|
+
import { S as Ba } from "./selection-reducer-CJzkTZio.js";
|
|
20
|
+
import { a as Wa } from "./report-runtime-context-hWiTCzFV.js";
|
|
21
|
+
import { r as ge, M as ue } from "./temporal-bucket-CQOSbv9-.js";
|
|
23
22
|
function $a(e = []) {
|
|
24
23
|
const a = Y(null), t = Y(null), n = Y(null), [r, i] = L(), s = $(() => {
|
|
25
24
|
var m, x, I;
|
|
@@ -43,15 +42,15 @@ function Va({ filter: e }) {
|
|
|
43
42
|
var w;
|
|
44
43
|
const a = M(
|
|
45
44
|
(y) => y.isDashboardEditing
|
|
46
|
-
), { preferences: t } = Mt(), n =
|
|
45
|
+
), { preferences: t } = Mt(), n = Ut((w = t == null ? void 0 : t.cardDisplay) == null ? void 0 : w.mode), r = M((y) => y.dashboard), i = M(
|
|
47
46
|
(y) => y.dashboardInputValues
|
|
48
47
|
), s = M((y) => y.selectedSheetId), o = mt(), f = q(() => {
|
|
49
48
|
var F;
|
|
50
|
-
const y = (F =
|
|
49
|
+
const y = (F = ba(r).findFilterInput({
|
|
51
50
|
filterId: e.id
|
|
52
51
|
})) == null ? void 0 : F.input;
|
|
53
52
|
if (!y) return !1;
|
|
54
|
-
const P =
|
|
53
|
+
const P = ga({
|
|
55
54
|
dashboard: r,
|
|
56
55
|
input: y,
|
|
57
56
|
runtimeValues: i,
|
|
@@ -59,7 +58,7 @@ function Va({ filter: e }) {
|
|
|
59
58
|
calendar: o
|
|
60
59
|
});
|
|
61
60
|
return (P == null ? void 0 : P.status) === "set";
|
|
62
|
-
}, [o, r, i, e.id, s]), { removeFilterInput: u, saveFilterSettings: g } =
|
|
61
|
+
}, [o, r, i, e.id, s]), { removeFilterInput: u, saveFilterSettings: g } = Ot(), {
|
|
63
62
|
headerRef: c,
|
|
64
63
|
leftActionsRef: v,
|
|
65
64
|
rightActionsRef: m,
|
|
@@ -85,7 +84,7 @@ function Va({ filter: e }) {
|
|
|
85
84
|
className: "min-w-0 flex-1",
|
|
86
85
|
style: x !== void 0 ? { maxWidth: x } : void 0,
|
|
87
86
|
children: /* @__PURE__ */ l(oe, { className: "my-1 block w-full text-sm", children: /* @__PURE__ */ l(
|
|
88
|
-
|
|
87
|
+
jt,
|
|
89
88
|
{
|
|
90
89
|
value: e.title || e.column,
|
|
91
90
|
onSave: (y) => g(
|
|
@@ -107,7 +106,7 @@ function Va({ filter: e }) {
|
|
|
107
106
|
ref: v,
|
|
108
107
|
children: [
|
|
109
108
|
a && /* @__PURE__ */ l(
|
|
110
|
-
|
|
109
|
+
Bt,
|
|
111
110
|
{
|
|
112
111
|
filter: e,
|
|
113
112
|
isEditing: a,
|
|
@@ -135,13 +134,13 @@ function Va({ filter: e }) {
|
|
|
135
134
|
}
|
|
136
135
|
function Ka() {
|
|
137
136
|
const e = M((r) => r.dashboard), a = M((r) => r.selectedSheetId), t = M((r) => r.theme), n = q(
|
|
138
|
-
() =>
|
|
137
|
+
() => ya(e, a, "dashboard").filter(({ input: r }) => wa(r)).map(({ input: r }) => r.filter),
|
|
139
138
|
[e, a]
|
|
140
139
|
);
|
|
141
140
|
return n.length ? /* @__PURE__ */ l(
|
|
142
141
|
"div",
|
|
143
142
|
{
|
|
144
|
-
className:
|
|
143
|
+
className: U("mb-1 flex items-center gap-2 border-y px-0.5 pb-0.5", {
|
|
145
144
|
"bg-[repeating-linear-gradient(45deg,_#ffffff_0_3px,_#f3f3f3_3px_6px)]": t === "light",
|
|
146
145
|
"bg-[repeating-linear-gradient(45deg,_#18171d_0_3px,_#272729_3px_6px)]": t === "dark"
|
|
147
146
|
}),
|
|
@@ -151,7 +150,7 @@ function Ka() {
|
|
|
151
150
|
className: "flex min-w-[250px] max-w-fit flex-col gap-1 p-2",
|
|
152
151
|
children: [
|
|
153
152
|
/* @__PURE__ */ l(Va, { filter: r }),
|
|
154
|
-
/* @__PURE__ */ l(
|
|
153
|
+
/* @__PURE__ */ l(Wt, { filter: r })
|
|
155
154
|
]
|
|
156
155
|
},
|
|
157
156
|
r.id
|
|
@@ -165,7 +164,7 @@ function Ha() {
|
|
|
165
164
|
(s) => s.isDashboardEditing
|
|
166
165
|
), n = (i = e.sheets) == null ? void 0 : i.find(
|
|
167
166
|
(s) => s.id === a
|
|
168
|
-
), r =
|
|
167
|
+
), r = Sa(n);
|
|
169
168
|
return /* @__PURE__ */ l(
|
|
170
169
|
"div",
|
|
171
170
|
{
|
|
@@ -180,7 +179,7 @@ function Ha() {
|
|
|
180
179
|
}
|
|
181
180
|
const qa = /* @__PURE__ */ new Set(["iat", "exp", "nbf", "jti"]);
|
|
182
181
|
function Ga(e) {
|
|
183
|
-
return
|
|
182
|
+
return xa(
|
|
184
183
|
Object.fromEntries(
|
|
185
184
|
Object.entries(e ?? {}).filter(([a]) => !qa.has(a))
|
|
186
185
|
)
|
|
@@ -189,7 +188,7 @@ function Ga(e) {
|
|
|
189
188
|
function Xa(e) {
|
|
190
189
|
var t;
|
|
191
190
|
const a = e == null ? void 0 : e.config;
|
|
192
|
-
return
|
|
191
|
+
return ja({
|
|
193
192
|
features: ((t = a == null ? void 0 : a.projectFeatures) == null ? void 0 : t.features) ?? {},
|
|
194
193
|
config: { enabled: bt(a).enabled },
|
|
195
194
|
identity: {
|
|
@@ -210,7 +209,7 @@ function Ja({
|
|
|
210
209
|
children: e,
|
|
211
210
|
authToken: a
|
|
212
211
|
}) {
|
|
213
|
-
const t =
|
|
212
|
+
const t = We(), n = q(
|
|
214
213
|
() => a === void 0 ? t.tokenProps : Za(a),
|
|
215
214
|
[a, t.tokenProps]
|
|
216
215
|
), r = q(() => Ga(n), [n]), i = q(
|
|
@@ -227,7 +226,7 @@ function Ya({ children: e }) {
|
|
|
227
226
|
function Za(e) {
|
|
228
227
|
if (!(e != null && e.accessToken)) return {};
|
|
229
228
|
try {
|
|
230
|
-
return
|
|
229
|
+
return Ca(e.accessToken);
|
|
231
230
|
} catch {
|
|
232
231
|
return {};
|
|
233
232
|
}
|
|
@@ -245,11 +244,11 @@ function Qa(e) {
|
|
|
245
244
|
}
|
|
246
245
|
function er(e, a, t) {
|
|
247
246
|
if ((a ?? null) !== e.sheetId) return !1;
|
|
248
|
-
const n = t ?
|
|
247
|
+
const n = t ? Ia(t, e.cardId) : void 0;
|
|
249
248
|
return !!n && n.sheet.id === e.sheetId;
|
|
250
249
|
}
|
|
251
|
-
const tr = Se(() => import("./assistant-chat-
|
|
252
|
-
function
|
|
250
|
+
const tr = Se(() => import("./assistant-chat-CK84cPAB.js"));
|
|
251
|
+
function gn() {
|
|
253
252
|
const e = Ht();
|
|
254
253
|
return e.available ? /* @__PURE__ */ h(
|
|
255
254
|
V,
|
|
@@ -302,7 +301,7 @@ function lr({ surface: e = "dashboard" } = {}) {
|
|
|
302
301
|
"data-layout": m,
|
|
303
302
|
"data-beside-frame": m === "beside-card" ? c : void 0,
|
|
304
303
|
"data-beside-side": m === "beside-card" ? v.side : void 0,
|
|
305
|
-
className:
|
|
304
|
+
className: U(
|
|
306
305
|
"flex-col bg-background",
|
|
307
306
|
m === "beside-card" ? rr : ar[m],
|
|
308
307
|
x ? "flex" : "hidden"
|
|
@@ -340,21 +339,21 @@ function ir(e, a) {
|
|
|
340
339
|
Xe(() => {
|
|
341
340
|
s.current = a;
|
|
342
341
|
});
|
|
343
|
-
const o = r === a ? null : t, { refs: f, elements: u, floatingStyles: g, middlewareData: c, isPositioned: v } =
|
|
342
|
+
const o = r === a ? null : t, { refs: f, elements: u, floatingStyles: g, middlewareData: c, isPositioned: v } = ka({
|
|
344
343
|
strategy: "absolute",
|
|
345
344
|
placement: o ?? "right-start",
|
|
346
345
|
middleware: [
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
346
|
+
Aa(fe),
|
|
347
|
+
Da({ padding: fe }),
|
|
348
|
+
Ra({
|
|
350
349
|
padding: fe,
|
|
351
350
|
apply: ({ availableWidth: I, availableHeight: w, elements: y }) => {
|
|
352
351
|
y.floating.style.setProperty("--assistant-beside-max-w", `${Math.max(0, I)}px`), y.floating.style.setProperty("--assistant-beside-max-h", `${Math.max(0, w)}px`);
|
|
353
352
|
}
|
|
354
353
|
}),
|
|
355
|
-
|
|
354
|
+
Pa()
|
|
356
355
|
],
|
|
357
|
-
whileElementsMounted: (I, w, y) =>
|
|
356
|
+
whileElementsMounted: (I, w, y) => za(I, w, () => {
|
|
358
357
|
const P = or(I, w);
|
|
359
358
|
n(P), P === null && i(s.current), y();
|
|
360
359
|
})
|
|
@@ -433,7 +432,7 @@ function dr({
|
|
|
433
432
|
o && (s.preventDefault(), e.setBesideSize({ width: a.width + o.width, height: a.height + o.height }, { save: !0 }));
|
|
434
433
|
},
|
|
435
434
|
onDoubleClick: () => e.setBesideSize(ht.default, { save: !0 }),
|
|
436
|
-
className:
|
|
435
|
+
className: U(
|
|
437
436
|
"absolute bottom-0 z-10 h-3 w-3 touch-none outline-none hover:bg-primary/30 focus-visible:bg-primary/40",
|
|
438
437
|
t === "left" ? "left-0 cursor-nesw-resize rounded-bl-card" : "right-0 cursor-nwse-resize rounded-br-card"
|
|
439
438
|
)
|
|
@@ -484,17 +483,17 @@ function cr({ instance: e, side: a, width: t }) {
|
|
|
484
483
|
onPointerCancel: u,
|
|
485
484
|
onKeyDown: g,
|
|
486
485
|
onDoubleClick: () => e.setWidth(be.default, { save: !0 }),
|
|
487
|
-
className:
|
|
486
|
+
className: U(
|
|
488
487
|
"absolute inset-y-0 z-10 w-1.5 cursor-col-resize touch-none outline-none hover:bg-primary/30 focus-visible:bg-primary/40",
|
|
489
488
|
a === "left" ? "-left-[3px]" : "-right-[3px]"
|
|
490
489
|
)
|
|
491
490
|
}
|
|
492
491
|
);
|
|
493
492
|
}
|
|
494
|
-
const ur = Se(() => import("./dashboard-controls-
|
|
495
|
-
() => import("./edit-dashboard-visual-
|
|
496
|
-
), fr = Se(() => import("./dashboard-json-
|
|
497
|
-
function
|
|
493
|
+
const ur = Se(() => import("./dashboard-controls-BMeZjF7r.js")), mr = Se(
|
|
494
|
+
() => import("./edit-dashboard-visual-Bv3MHM_G.js")
|
|
495
|
+
), fr = Se(() => import("./dashboard-json-BZqCoanC.js"));
|
|
496
|
+
function yn({
|
|
498
497
|
showControls: e = !1,
|
|
499
498
|
showFooter: a = !0,
|
|
500
499
|
...t
|
|
@@ -506,7 +505,7 @@ function wn({
|
|
|
506
505
|
/* @__PURE__ */ l(ta, { componentType: "surfboard", componentId: t.id }),
|
|
507
506
|
/* @__PURE__ */ h(aa, { appearance: i, children: [
|
|
508
507
|
/* @__PURE__ */ l(
|
|
509
|
-
|
|
508
|
+
ra,
|
|
510
509
|
{
|
|
511
510
|
toastOptions: {
|
|
512
511
|
classNames: {
|
|
@@ -520,12 +519,12 @@ function wn({
|
|
|
520
519
|
}
|
|
521
520
|
}
|
|
522
521
|
),
|
|
523
|
-
/* @__PURE__ */ h(
|
|
522
|
+
/* @__PURE__ */ h(na, { preferences: s, children: [
|
|
524
523
|
r && /* @__PURE__ */ l(ye, { fallback: null, children: /* @__PURE__ */ l(fr, {}) }),
|
|
525
|
-
/* @__PURE__ */ l(
|
|
524
|
+
/* @__PURE__ */ l(la, { children: /* @__PURE__ */ l(Ya, { children: /* @__PURE__ */ h("main", { className: "relative flex h-full w-full flex-col overflow-hidden", children: [
|
|
526
525
|
e && /* @__PURE__ */ l(ye, { fallback: null, children: /* @__PURE__ */ l(ur, {}) }),
|
|
527
526
|
/* @__PURE__ */ h("div", { className: "relative flex grow overflow-hidden", children: [
|
|
528
|
-
/* @__PURE__ */ l("div", { className: "flex min-w-0 flex-1", children: /* @__PURE__ */ h(
|
|
527
|
+
/* @__PURE__ */ l("div", { className: "flex min-w-0 flex-1", children: /* @__PURE__ */ h(sa, { ...t, type: "dashboard", children: [
|
|
529
528
|
n && /* @__PURE__ */ l(ye, { fallback: null, children: /* @__PURE__ */ l(mr, {}) }),
|
|
530
529
|
/* @__PURE__ */ l(_t, { mode: n ? "hidden" : "visible", children: /* @__PURE__ */ l(Ha, {}) })
|
|
531
530
|
] }) }),
|
|
@@ -554,7 +553,7 @@ var me = '[cmdk-group=""]', Ie = '[cmdk-group-items=""]', Cr = '[cmdk-group-head
|
|
|
554
553
|
let t = ne(() => {
|
|
555
554
|
var d, T;
|
|
556
555
|
return { search: "", value: (T = (d = e.value) != null ? d : e.defaultValue) != null ? T : "", selectedItemId: void 0, filtered: { count: 0, items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Set() } };
|
|
557
|
-
}), n = ne(() => /* @__PURE__ */ new Set()), r = ne(() => /* @__PURE__ */ new Map()), i = ne(() => /* @__PURE__ */ new Map()), s = ne(() => /* @__PURE__ */ new Set()), o = Et(e), { label: f, children: u, value: g, onValueChange: c, filter: v, shouldFilter: m, loop: x, disablePointerSelection: I = !1, vimBindings: w = !0, ...y } = e, P = se(), F = se(),
|
|
556
|
+
}), n = ne(() => /* @__PURE__ */ new Set()), r = ne(() => /* @__PURE__ */ new Map()), i = ne(() => /* @__PURE__ */ new Map()), s = ne(() => /* @__PURE__ */ new Set()), o = Et(e), { label: f, children: u, value: g, onValueChange: c, filter: v, shouldFilter: m, loop: x, disablePointerSelection: I = !1, vimBindings: w = !0, ...y } = e, P = se(), F = se(), O = se(), _ = p.useRef(null), E = Lr();
|
|
558
557
|
te(() => {
|
|
559
558
|
if (g !== void 0) {
|
|
560
559
|
let d = g.trim();
|
|
@@ -564,20 +563,20 @@ var me = '[cmdk-group=""]', Ie = '[cmdk-group-items=""]', Cr = '[cmdk-group-head
|
|
|
564
563
|
E(6, ae);
|
|
565
564
|
}, []);
|
|
566
565
|
let b = p.useMemo(() => ({ subscribe: (d) => (s.current.add(d), () => s.current.delete(d)), snapshot: () => t.current, setState: (d, T, A) => {
|
|
567
|
-
var S, D, z,
|
|
566
|
+
var S, D, z, W;
|
|
568
567
|
if (!Object.is(t.current[d], T)) {
|
|
569
568
|
if (t.current[d] = T, d === "search") K(), C(), E(1, G);
|
|
570
569
|
else if (d === "value") {
|
|
571
570
|
if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
|
|
572
|
-
let
|
|
573
|
-
|
|
571
|
+
let j = document.getElementById(O);
|
|
572
|
+
j ? j.focus() : (S = document.getElementById(P)) == null || S.focus();
|
|
574
573
|
}
|
|
575
574
|
if (E(7, () => {
|
|
576
|
-
var
|
|
577
|
-
t.current.selectedItemId = (
|
|
575
|
+
var j;
|
|
576
|
+
t.current.selectedItemId = (j = X()) == null ? void 0 : j.id, b.emit();
|
|
578
577
|
}), A || E(5, ae), ((D = o.current) == null ? void 0 : D.value) !== void 0) {
|
|
579
|
-
let
|
|
580
|
-
(
|
|
578
|
+
let j = T ?? "";
|
|
579
|
+
(W = (z = o.current).onValueChange) == null || W.call(z, j);
|
|
581
580
|
return;
|
|
582
581
|
}
|
|
583
582
|
}
|
|
@@ -600,7 +599,7 @@ var me = '[cmdk-group=""]', Ie = '[cmdk-group-items=""]', Cr = '[cmdk-group-head
|
|
|
600
599
|
});
|
|
601
600
|
}), group: (d) => (r.current.has(d) || r.current.set(d, /* @__PURE__ */ new Set()), () => {
|
|
602
601
|
i.current.delete(d), r.current.delete(d);
|
|
603
|
-
}), filter: () => o.current.shouldFilter, label: f || e["aria-label"], getDisablePointerSelection: () => o.current.disablePointerSelection, listId: P, inputId:
|
|
602
|
+
}), filter: () => o.current.shouldFilter, label: f || e["aria-label"], getDisablePointerSelection: () => o.current.disablePointerSelection, listId: P, inputId: O, labelId: F, listInnerRef: _ }), []);
|
|
604
603
|
function R(d, T) {
|
|
605
604
|
var A, S;
|
|
606
605
|
let D = (S = (A = o.current) == null ? void 0 : A.filter) != null ? S : Nr;
|
|
@@ -611,16 +610,16 @@ var me = '[cmdk-group=""]', Ie = '[cmdk-group-items=""]', Cr = '[cmdk-group-head
|
|
|
611
610
|
let d = t.current.filtered.items, T = [];
|
|
612
611
|
t.current.filtered.groups.forEach((S) => {
|
|
613
612
|
let D = r.current.get(S), z = 0;
|
|
614
|
-
D.forEach((
|
|
615
|
-
let
|
|
616
|
-
z = Math.max(
|
|
613
|
+
D.forEach((W) => {
|
|
614
|
+
let j = d.get(W);
|
|
615
|
+
z = Math.max(j, z);
|
|
617
616
|
}), T.push([S, z]);
|
|
618
617
|
});
|
|
619
618
|
let A = _.current;
|
|
620
619
|
k().sort((S, D) => {
|
|
621
|
-
var z,
|
|
622
|
-
let
|
|
623
|
-
return ((z = d.get(ve)) != null ? z : 0) - ((
|
|
620
|
+
var z, W;
|
|
621
|
+
let j = S.getAttribute("id"), ve = D.getAttribute("id");
|
|
622
|
+
return ((z = d.get(ve)) != null ? z : 0) - ((W = d.get(j)) != null ? W : 0);
|
|
624
623
|
}).forEach((S) => {
|
|
625
624
|
let D = S.closest(Ie);
|
|
626
625
|
D ? D.appendChild(S.parentElement === D ? S : S.closest(`${Ie} > *`)) : A.appendChild(S.parentElement === A ? S : S.closest(`${Ie} > *`));
|
|
@@ -643,10 +642,10 @@ var me = '[cmdk-group=""]', Ie = '[cmdk-group-items=""]', Cr = '[cmdk-group-head
|
|
|
643
642
|
t.current.filtered.groups = /* @__PURE__ */ new Set();
|
|
644
643
|
let D = 0;
|
|
645
644
|
for (let z of n.current) {
|
|
646
|
-
let
|
|
645
|
+
let W = (T = (d = i.current.get(z)) == null ? void 0 : d.value) != null ? T : "", j = (S = (A = i.current.get(z)) == null ? void 0 : A.keywords) != null ? S : [], ve = R(W, j);
|
|
647
646
|
t.current.filtered.items.set(z, ve), ve > 0 && D++;
|
|
648
647
|
}
|
|
649
|
-
for (let [z,
|
|
648
|
+
for (let [z, W] of r.current) for (let j of W) if (t.current.filtered.items.get(j) > 0) {
|
|
650
649
|
t.current.filtered.groups.add(z);
|
|
651
650
|
break;
|
|
652
651
|
}
|
|
@@ -671,7 +670,7 @@ var me = '[cmdk-group=""]', Ie = '[cmdk-group-items=""]', Cr = '[cmdk-group-head
|
|
|
671
670
|
}
|
|
672
671
|
function Ce(d) {
|
|
673
672
|
var T;
|
|
674
|
-
let A = X(), S = k(), D = S.findIndex((
|
|
673
|
+
let A = X(), S = k(), D = S.findIndex((W) => W === A), z = S[D + d];
|
|
675
674
|
(T = o.current) != null && T.loop && (z = D + d < 0 ? S[S.length - 1] : D + d === S.length ? S[0] : S[D + d]), z && b.setState("value", z.getAttribute(re));
|
|
676
675
|
}
|
|
677
676
|
function Ke(d) {
|
|
@@ -744,7 +743,7 @@ var me = '[cmdk-group=""]', Ie = '[cmdk-group-items=""]', Cr = '[cmdk-group-head
|
|
|
744
743
|
c.setState("value", g.current, !0);
|
|
745
744
|
}
|
|
746
745
|
if (!m) return null;
|
|
747
|
-
let { disabled: w, value: y, onSelect: P, forceMount: F, keywords:
|
|
746
|
+
let { disabled: w, value: y, onSelect: P, forceMount: F, keywords: O, ..._ } = e;
|
|
748
747
|
return p.createElement(Q.div, { ref: he(i, a), ..._, id: r, "cmdk-item": "", role: "option", "aria-disabled": !!w, "aria-selected": !!v, "data-disabled": !!w, "data-selected": !!v, onPointerMove: w || o.getDisablePointerSelection() ? void 0 : I, onClick: w ? void 0 : x }, e.children);
|
|
749
748
|
}), Tr = p.forwardRef((e, a) => {
|
|
750
749
|
let { heading: t, children: n, forceMount: r, ...i } = e, s = se(), o = p.useRef(null), f = p.useRef(null), u = se(), g = pe(), c = Z((m) => r || g.filter() === !1 ? !0 : m.search ? m.filtered.groups.has(s) : !0);
|
|
@@ -778,11 +777,11 @@ var me = '[cmdk-group=""]', Ie = '[cmdk-group-items=""]', Cr = '[cmdk-group-head
|
|
|
778
777
|
}, []), p.createElement(Q.div, { ref: he(i, a), ...r, "cmdk-list": "", role: "listbox", tabIndex: -1, "aria-activedescendant": o, "aria-label": n, id: f.listId }, xe(e, (u) => p.createElement("div", { ref: he(s, f.listInnerRef), "cmdk-list-sizer": "" }, u)));
|
|
779
778
|
}), Dr = p.forwardRef((e, a) => {
|
|
780
779
|
let { open: t, onOpenChange: n, overlayClassName: r, contentClassName: i, container: s, ...o } = e;
|
|
781
|
-
return p.createElement(
|
|
780
|
+
return p.createElement(ia, { open: t, onOpenChange: n }, p.createElement(oa, { container: s }, p.createElement(da, { "cmdk-overlay": "", className: r }), p.createElement(ca, { "aria-label": e.label, "cmdk-dialog": "", className: i }, p.createElement(Nt, { ref: a, ...o }))));
|
|
782
781
|
}), Rr = p.forwardRef((e, a) => Z((t) => t.filtered.count === 0) ? p.createElement(Q.div, { ref: a, ...e, "cmdk-empty": "", role: "presentation" }) : null), Pr = p.forwardRef((e, a) => {
|
|
783
782
|
let { progress: t, children: n, label: r = "Loading...", ...i } = e;
|
|
784
783
|
return p.createElement(Q.div, { ref: a, ...i, "cmdk-loading": "", role: "progressbar", "aria-valuenow": t, "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": r }, xe(e, (s) => p.createElement("div", { "aria-hidden": !0 }, s)));
|
|
785
|
-
}),
|
|
784
|
+
}), B = Object.assign(Nt, { List: Ar, Item: Er, Input: kr, Group: Tr, Separator: Ir, Dialog: Dr, Empty: Rr, Loading: Pr });
|
|
786
785
|
function zr(e, a) {
|
|
787
786
|
let t = e.nextElementSibling;
|
|
788
787
|
for (; t; ) {
|
|
@@ -843,24 +842,24 @@ function xe({ asChild: e, children: a }, t) {
|
|
|
843
842
|
}
|
|
844
843
|
var Mr = { position: "absolute", width: "1px", height: "1px", padding: "0", margin: "-1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0" };
|
|
845
844
|
const It = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l(
|
|
846
|
-
|
|
845
|
+
B,
|
|
847
846
|
{
|
|
848
847
|
ref: t,
|
|
849
|
-
className:
|
|
848
|
+
className: U(
|
|
850
849
|
"flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
|
|
851
850
|
e
|
|
852
851
|
),
|
|
853
852
|
...a
|
|
854
853
|
}
|
|
855
854
|
));
|
|
856
|
-
It.displayName =
|
|
855
|
+
It.displayName = B.displayName;
|
|
857
856
|
const kt = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ h("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
858
|
-
/* @__PURE__ */ l(
|
|
857
|
+
/* @__PURE__ */ l(Ba, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
859
858
|
/* @__PURE__ */ l(
|
|
860
|
-
|
|
859
|
+
B.Input,
|
|
861
860
|
{
|
|
862
861
|
ref: t,
|
|
863
|
-
className:
|
|
862
|
+
className: U(
|
|
864
863
|
"flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-[hsl(var(--semaphor-placeholder-foreground))] disabled:cursor-not-allowed disabled:opacity-50",
|
|
865
864
|
e
|
|
866
865
|
),
|
|
@@ -868,67 +867,67 @@ const kt = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ h("div",
|
|
|
868
867
|
}
|
|
869
868
|
)
|
|
870
869
|
] }));
|
|
871
|
-
kt.displayName =
|
|
870
|
+
kt.displayName = B.Input.displayName;
|
|
872
871
|
const At = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l(
|
|
873
|
-
|
|
872
|
+
B.List,
|
|
874
873
|
{
|
|
875
874
|
ref: t,
|
|
876
|
-
className:
|
|
875
|
+
className: U("max-h-[300px] overflow-y-auto overflow-x-hidden", e),
|
|
877
876
|
...a
|
|
878
877
|
}
|
|
879
878
|
));
|
|
880
|
-
At.displayName =
|
|
879
|
+
At.displayName = B.List.displayName;
|
|
881
880
|
const Dt = p.forwardRef((e, a) => /* @__PURE__ */ l(
|
|
882
|
-
|
|
881
|
+
B.Empty,
|
|
883
882
|
{
|
|
884
883
|
ref: a,
|
|
885
884
|
className: "py-6 text-center text-sm",
|
|
886
885
|
...e
|
|
887
886
|
}
|
|
888
887
|
));
|
|
889
|
-
Dt.displayName =
|
|
890
|
-
const
|
|
891
|
-
|
|
888
|
+
Dt.displayName = B.Empty.displayName;
|
|
889
|
+
const Ue = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l(
|
|
890
|
+
B.Group,
|
|
892
891
|
{
|
|
893
892
|
ref: t,
|
|
894
|
-
className:
|
|
893
|
+
className: U(
|
|
895
894
|
"overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",
|
|
896
895
|
e
|
|
897
896
|
),
|
|
898
897
|
...a
|
|
899
898
|
}
|
|
900
899
|
));
|
|
901
|
-
|
|
900
|
+
Ue.displayName = B.Group.displayName;
|
|
902
901
|
const Rt = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l(
|
|
903
|
-
|
|
902
|
+
B.Separator,
|
|
904
903
|
{
|
|
905
904
|
ref: t,
|
|
906
|
-
className:
|
|
905
|
+
className: U("-mx-1 h-px bg-border", e),
|
|
907
906
|
...a
|
|
908
907
|
}
|
|
909
908
|
));
|
|
910
|
-
Rt.displayName =
|
|
911
|
-
const
|
|
912
|
-
|
|
909
|
+
Rt.displayName = B.Separator.displayName;
|
|
910
|
+
const Oe = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l(
|
|
911
|
+
B.Item,
|
|
913
912
|
{
|
|
914
913
|
ref: t,
|
|
915
|
-
className:
|
|
914
|
+
className: U(
|
|
916
915
|
"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50",
|
|
917
916
|
e
|
|
918
917
|
),
|
|
919
918
|
...a
|
|
920
919
|
}
|
|
921
920
|
));
|
|
922
|
-
|
|
923
|
-
function
|
|
924
|
-
const { authToken: a, tokenProps: t } =
|
|
921
|
+
Oe.displayName = B.Item.displayName;
|
|
922
|
+
function Ur(e = {}) {
|
|
923
|
+
const { authToken: a, tokenProps: t } = We(), n = M(
|
|
925
924
|
(E) => E.actions.applyResolvedCalendarPreferences
|
|
926
925
|
), r = e.enabled ?? !0, i = (a == null ? void 0 : a.accessToken) ?? null, s = (t == null ? void 0 : t.apiServiceUrl) ?? null, [o, f] = L(!1), [u, g] = L(!1), [c, v] = L(!1), [m, x] = L(null), [I, w] = L(null), y = Y(i);
|
|
927
926
|
y.current = i, ee(() => {
|
|
928
927
|
w(null), x(null), f(!1), g(!1), v(!1);
|
|
929
928
|
}, [i]);
|
|
930
929
|
const P = $(async (E) => {
|
|
931
|
-
const b =
|
|
930
|
+
const b = Wa(await E.json());
|
|
932
931
|
if (!b.ok)
|
|
933
932
|
throw new Error("Calendar preferences response is invalid");
|
|
934
933
|
return b.value;
|
|
@@ -959,7 +958,7 @@ function Or(e = {}) {
|
|
|
959
958
|
ee(() => {
|
|
960
959
|
r && F();
|
|
961
960
|
}, [r, F]);
|
|
962
|
-
const
|
|
961
|
+
const O = $(
|
|
963
962
|
async (E) => {
|
|
964
963
|
if (!i || !s)
|
|
965
964
|
return x("Not authenticated"), !1;
|
|
@@ -1031,7 +1030,7 @@ function Or(e = {}) {
|
|
|
1031
1030
|
isSaving: u,
|
|
1032
1031
|
isClearing: c,
|
|
1033
1032
|
error: m,
|
|
1034
|
-
updatePreferences:
|
|
1033
|
+
updatePreferences: O,
|
|
1035
1034
|
clearPreferences: _,
|
|
1036
1035
|
refetch: F
|
|
1037
1036
|
};
|
|
@@ -1056,7 +1055,7 @@ const we = [
|
|
|
1056
1055
|
{ value: 1, label: "Monday" },
|
|
1057
1056
|
{ value: 6, label: "Saturday" }
|
|
1058
1057
|
], it = "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground";
|
|
1059
|
-
function
|
|
1058
|
+
function Or() {
|
|
1060
1059
|
try {
|
|
1061
1060
|
const e = Intl;
|
|
1062
1061
|
if (e.supportedValuesOf)
|
|
@@ -1065,7 +1064,7 @@ function Ur() {
|
|
|
1065
1064
|
}
|
|
1066
1065
|
return we.map((e) => e.value);
|
|
1067
1066
|
}
|
|
1068
|
-
function
|
|
1067
|
+
function jr(e) {
|
|
1069
1068
|
if (!e) return "default";
|
|
1070
1069
|
if (e.tz !== e.weekStart) return "inherited";
|
|
1071
1070
|
switch (e.tz) {
|
|
@@ -1085,11 +1084,11 @@ function ot(e) {
|
|
|
1085
1084
|
const a = we.find((t) => t.value === e);
|
|
1086
1085
|
return a ? a.label : e;
|
|
1087
1086
|
}
|
|
1088
|
-
function
|
|
1087
|
+
function Br(e) {
|
|
1089
1088
|
const a = Pt.find((t) => t.value === e);
|
|
1090
1089
|
return a ? a.label : String(e);
|
|
1091
1090
|
}
|
|
1092
|
-
function
|
|
1091
|
+
function Wr({
|
|
1093
1092
|
active: e,
|
|
1094
1093
|
onClose: a
|
|
1095
1094
|
}) {
|
|
@@ -1100,16 +1099,16 @@ function Br({
|
|
|
1100
1099
|
isClearing: i,
|
|
1101
1100
|
updatePreferences: s,
|
|
1102
1101
|
clearPreferences: o
|
|
1103
|
-
} =
|
|
1102
|
+
} = Ur({ enabled: e }), f = mt(), u = (t == null ? void 0 : t.resolved.tz) || (f == null ? void 0 : f.tz) || "UTC", g = (t == null ? void 0 : t.resolved.weekStart) ?? (f == null ? void 0 : f.weekStart) ?? 1, [c, v] = L((t == null ? void 0 : t.stored) === null), [m, x] = L(!1), [I, w] = L(
|
|
1104
1103
|
u
|
|
1105
1104
|
), [y, P] = L(
|
|
1106
1105
|
g
|
|
1107
|
-
), [F,
|
|
1106
|
+
), [F, O] = L(!1), _ = q(() => Or(), []), E = q(
|
|
1108
1107
|
() => _.filter(
|
|
1109
1108
|
(k) => !we.some((de) => de.value === k)
|
|
1110
1109
|
),
|
|
1111
1110
|
[_]
|
|
1112
|
-
), b = q(() => ot(I), [I]), N = t != null && t.inherited ? ot(t.inherited.tz) : "UTC", R = t != null && t.inherited ?
|
|
1111
|
+
), b = q(() => ot(I), [I]), N = t != null && t.inherited ? ot(t.inherited.tz) : "UTC", R = t != null && t.inherited ? Br(t.inherited.weekStart) : "Monday", C = jr(
|
|
1113
1112
|
t == null ? void 0 : t.inheritedSources
|
|
1114
1113
|
);
|
|
1115
1114
|
Lt.useEffect(() => {
|
|
@@ -1152,7 +1151,7 @@ function Br({
|
|
|
1152
1151
|
"label",
|
|
1153
1152
|
{
|
|
1154
1153
|
htmlFor: "mode-defaults",
|
|
1155
|
-
className:
|
|
1154
|
+
className: U(
|
|
1156
1155
|
"flex cursor-pointer items-start gap-2 rounded-control px-2 py-1.5 hover:bg-muted/50",
|
|
1157
1156
|
c && "bg-muted/50"
|
|
1158
1157
|
),
|
|
@@ -1187,7 +1186,7 @@ function Br({
|
|
|
1187
1186
|
"label",
|
|
1188
1187
|
{
|
|
1189
1188
|
htmlFor: "mode-custom",
|
|
1190
|
-
className:
|
|
1189
|
+
className: U(
|
|
1191
1190
|
"flex cursor-pointer items-start gap-2 rounded-control px-2 py-1.5 hover:bg-muted/50",
|
|
1192
1191
|
!c && "bg-muted/50"
|
|
1193
1192
|
),
|
|
@@ -1213,7 +1212,7 @@ function Br({
|
|
|
1213
1212
|
/* @__PURE__ */ h(
|
|
1214
1213
|
"div",
|
|
1215
1214
|
{
|
|
1216
|
-
className:
|
|
1215
|
+
className: U(
|
|
1217
1216
|
"space-y-4 border-t border-border/60 pt-4 transition-opacity",
|
|
1218
1217
|
c && "pointer-events-none opacity-50"
|
|
1219
1218
|
),
|
|
@@ -1221,13 +1220,13 @@ function Br({
|
|
|
1221
1220
|
/* @__PURE__ */ h("div", { className: "space-y-1.5", children: [
|
|
1222
1221
|
/* @__PURE__ */ l(oe, { className: it, children: "Timezone" }),
|
|
1223
1222
|
/* @__PURE__ */ h(
|
|
1224
|
-
|
|
1223
|
+
Fa,
|
|
1225
1224
|
{
|
|
1226
1225
|
open: F,
|
|
1227
|
-
onOpenChange:
|
|
1226
|
+
onOpenChange: O,
|
|
1228
1227
|
modal: !0,
|
|
1229
1228
|
children: [
|
|
1230
|
-
/* @__PURE__ */ l(
|
|
1229
|
+
/* @__PURE__ */ l(La, { asChild: !0, children: /* @__PURE__ */ h(
|
|
1231
1230
|
V,
|
|
1232
1231
|
{
|
|
1233
1232
|
variant: "outline",
|
|
@@ -1238,12 +1237,12 @@ function Br({
|
|
|
1238
1237
|
disabled: c,
|
|
1239
1238
|
children: [
|
|
1240
1239
|
/* @__PURE__ */ l("span", { className: "truncate", children: b }),
|
|
1241
|
-
/* @__PURE__ */ l(
|
|
1240
|
+
/* @__PURE__ */ l(ua, { className: "ml-2 h-3.5 w-3.5 shrink-0 opacity-50" })
|
|
1242
1241
|
]
|
|
1243
1242
|
}
|
|
1244
1243
|
) }),
|
|
1245
1244
|
/* @__PURE__ */ l(
|
|
1246
|
-
|
|
1245
|
+
_a,
|
|
1247
1246
|
{
|
|
1248
1247
|
className: "z-50 w-[--radix-popover-trigger-width] p-0",
|
|
1249
1248
|
align: "start",
|
|
@@ -1251,18 +1250,18 @@ function Br({
|
|
|
1251
1250
|
/* @__PURE__ */ l(kt, { placeholder: "Search timezones…" }),
|
|
1252
1251
|
/* @__PURE__ */ h(At, { children: [
|
|
1253
1252
|
/* @__PURE__ */ l(Dt, { children: "No timezone found." }),
|
|
1254
|
-
/* @__PURE__ */ l(
|
|
1255
|
-
|
|
1253
|
+
/* @__PURE__ */ l(Ue, { heading: "Common", children: we.map((k) => /* @__PURE__ */ h(
|
|
1254
|
+
Oe,
|
|
1256
1255
|
{
|
|
1257
1256
|
value: `${k.value} ${k.label}`,
|
|
1258
1257
|
onSelect: () => {
|
|
1259
|
-
x(!0), w(k.value),
|
|
1258
|
+
x(!0), w(k.value), O(!1);
|
|
1260
1259
|
},
|
|
1261
1260
|
children: [
|
|
1262
1261
|
/* @__PURE__ */ l(
|
|
1263
1262
|
Ze,
|
|
1264
1263
|
{
|
|
1265
|
-
className:
|
|
1264
|
+
className: U(
|
|
1266
1265
|
"h-3.5 w-3.5",
|
|
1267
1266
|
I === k.value ? "opacity-100" : "opacity-0"
|
|
1268
1267
|
)
|
|
@@ -1275,18 +1274,18 @@ function Br({
|
|
|
1275
1274
|
k.value
|
|
1276
1275
|
)) }),
|
|
1277
1276
|
/* @__PURE__ */ l(Rt, {}),
|
|
1278
|
-
/* @__PURE__ */ l(
|
|
1279
|
-
|
|
1277
|
+
/* @__PURE__ */ l(Ue, { heading: "All timezones", children: E.map((k) => /* @__PURE__ */ h(
|
|
1278
|
+
Oe,
|
|
1280
1279
|
{
|
|
1281
1280
|
value: k,
|
|
1282
1281
|
onSelect: () => {
|
|
1283
|
-
x(!0), w(k),
|
|
1282
|
+
x(!0), w(k), O(!1);
|
|
1284
1283
|
},
|
|
1285
1284
|
children: [
|
|
1286
1285
|
/* @__PURE__ */ l(
|
|
1287
1286
|
Ze,
|
|
1288
1287
|
{
|
|
1289
|
-
className:
|
|
1288
|
+
className: U(
|
|
1290
1289
|
"h-3.5 w-3.5",
|
|
1291
1290
|
I === k ? "opacity-100" : "opacity-0"
|
|
1292
1291
|
)
|
|
@@ -1320,7 +1319,7 @@ function Br({
|
|
|
1320
1319
|
"label",
|
|
1321
1320
|
{
|
|
1322
1321
|
htmlFor: `week-start-${k.value}`,
|
|
1323
|
-
className:
|
|
1322
|
+
className: U(
|
|
1324
1323
|
"flex cursor-pointer items-center gap-2 text-[13px]",
|
|
1325
1324
|
c && "cursor-not-allowed"
|
|
1326
1325
|
),
|
|
@@ -1364,7 +1363,7 @@ function Br({
|
|
|
1364
1363
|
] });
|
|
1365
1364
|
}
|
|
1366
1365
|
function $r(e = {}) {
|
|
1367
|
-
const { authToken: a, tokenProps: t } =
|
|
1366
|
+
const { authToken: a, tokenProps: t } = We(), n = M(
|
|
1368
1367
|
(b) => b.actions.applyResolvedValueFormatPreferences
|
|
1369
1368
|
), r = e.enabled ?? !0, i = (a == null ? void 0 : a.accessToken) ?? null, s = (t == null ? void 0 : t.apiServiceUrl) ?? null, o = Y(i);
|
|
1370
1369
|
o.current = i;
|
|
@@ -1373,7 +1372,7 @@ function $r(e = {}) {
|
|
|
1373
1372
|
u(null), y(null), c(!1), m(!1), I(!1);
|
|
1374
1373
|
}, [i]);
|
|
1375
1374
|
const P = $(async (b) => {
|
|
1376
|
-
const N =
|
|
1375
|
+
const N = Na(await b.json());
|
|
1377
1376
|
if (!N.ok)
|
|
1378
1377
|
throw new Error("Value format preferences response is invalid");
|
|
1379
1378
|
return N.value;
|
|
@@ -1399,7 +1398,7 @@ function $r(e = {}) {
|
|
|
1399
1398
|
return P(R);
|
|
1400
1399
|
},
|
|
1401
1400
|
[i, s, P]
|
|
1402
|
-
),
|
|
1401
|
+
), O = $(async () => {
|
|
1403
1402
|
if (!r || !i || !s) return;
|
|
1404
1403
|
const b = i;
|
|
1405
1404
|
c(!0), y(null);
|
|
@@ -1413,8 +1412,8 @@ function $r(e = {}) {
|
|
|
1413
1412
|
}
|
|
1414
1413
|
}, [i, s, r, F]);
|
|
1415
1414
|
ee(() => {
|
|
1416
|
-
r &&
|
|
1417
|
-
}, [r,
|
|
1415
|
+
r && O();
|
|
1416
|
+
}, [r, O]);
|
|
1418
1417
|
const _ = $(
|
|
1419
1418
|
async (b) => {
|
|
1420
1419
|
const N = i;
|
|
@@ -1449,10 +1448,10 @@ function $r(e = {}) {
|
|
|
1449
1448
|
error: w,
|
|
1450
1449
|
updatePreferences: _,
|
|
1451
1450
|
clearPreferences: E,
|
|
1452
|
-
refetch:
|
|
1451
|
+
refetch: O
|
|
1453
1452
|
};
|
|
1454
1453
|
}
|
|
1455
|
-
const
|
|
1454
|
+
const je = [
|
|
1456
1455
|
{ value: "en-US", label: "English (United States)" },
|
|
1457
1456
|
{ value: "en-GB", label: "English (United Kingdom)" },
|
|
1458
1457
|
{ value: "de-DE", label: "German (Germany)" },
|
|
@@ -1476,14 +1475,14 @@ const We = [
|
|
|
1476
1475
|
"INR",
|
|
1477
1476
|
"BRL",
|
|
1478
1477
|
"KWD"
|
|
1479
|
-
]), Vr =
|
|
1478
|
+
]), Vr = Ea(), Kr = Vr.filter(
|
|
1480
1479
|
(e) => !zt.has(e)
|
|
1481
1480
|
), Ft = [
|
|
1482
1481
|
{ value: "short", label: "Short" },
|
|
1483
1482
|
{ value: "medium", label: "Medium" },
|
|
1484
1483
|
{ value: "long", label: "Long" }
|
|
1485
1484
|
], dt = "2026-07-31", ke = "2026-07-31T14:30:45";
|
|
1486
|
-
function
|
|
1485
|
+
function Be(e) {
|
|
1487
1486
|
switch (e) {
|
|
1488
1487
|
case "viewer_user":
|
|
1489
1488
|
return "user";
|
|
@@ -1506,7 +1505,7 @@ function Ae(e) {
|
|
|
1506
1505
|
return ((a = Ft.find((t) => t.value === e)) == null ? void 0 : a.label) ?? e;
|
|
1507
1506
|
}
|
|
1508
1507
|
function Hr(e) {
|
|
1509
|
-
const a =
|
|
1508
|
+
const a = je.find((t) => t.value === e);
|
|
1510
1509
|
return a ? `${a.label} — ${a.value}` : e;
|
|
1511
1510
|
}
|
|
1512
1511
|
function De(e) {
|
|
@@ -1541,7 +1540,7 @@ function Re({
|
|
|
1541
1540
|
/* @__PURE__ */ l(J, { value: "inherit", className: "[&>span:last-child]:w-full", children: /* @__PURE__ */ h("span", { className: "flex w-full min-w-0 items-center justify-between gap-4", children: [
|
|
1542
1541
|
/* @__PURE__ */ h("span", { children: [
|
|
1543
1542
|
"Inherited from ",
|
|
1544
|
-
|
|
1543
|
+
Be(r),
|
|
1545
1544
|
" ·",
|
|
1546
1545
|
" ",
|
|
1547
1546
|
Ae(n)
|
|
@@ -1617,7 +1616,7 @@ function qr({
|
|
|
1617
1616
|
calendar: { tz: "UTC" }
|
|
1618
1617
|
})
|
|
1619
1618
|
}).text
|
|
1620
|
-
),
|
|
1619
|
+
), O = De(
|
|
1621
1620
|
(C) => ue({
|
|
1622
1621
|
value: ke,
|
|
1623
1622
|
metadata: { kind: "raw_temporal", valueKind: "wall_datetime" },
|
|
@@ -1663,15 +1662,15 @@ function qr({
|
|
|
1663
1662
|
/* @__PURE__ */ h(Le, { children: [
|
|
1664
1663
|
/* @__PURE__ */ h(J, { value: "inherit", children: [
|
|
1665
1664
|
"Inherited from ",
|
|
1666
|
-
|
|
1665
|
+
Be(t.locale),
|
|
1667
1666
|
" ·",
|
|
1668
1667
|
" ",
|
|
1669
1668
|
a.locale
|
|
1670
1669
|
] }),
|
|
1671
|
-
e.locale && !
|
|
1670
|
+
e.locale && !je.some(
|
|
1672
1671
|
(C) => C.value === e.locale
|
|
1673
1672
|
) && /* @__PURE__ */ l(J, { value: e.locale, children: e.locale }),
|
|
1674
|
-
|
|
1673
|
+
je.map((C) => /* @__PURE__ */ h(J, { value: C.value, children: [
|
|
1675
1674
|
C.label,
|
|
1676
1675
|
" — ",
|
|
1677
1676
|
C.value
|
|
@@ -1723,7 +1722,7 @@ function qr({
|
|
|
1723
1722
|
value: (R = e.dateTime) == null ? void 0 : R.timeStyle,
|
|
1724
1723
|
inherited: a.dateTime.timeStyle,
|
|
1725
1724
|
inheritedSource: t.dateTime.timeStyle,
|
|
1726
|
-
examples:
|
|
1725
|
+
examples: O,
|
|
1727
1726
|
disabled: r,
|
|
1728
1727
|
onValueChange: (C) => _("timeStyle", C)
|
|
1729
1728
|
}
|
|
@@ -1752,7 +1751,7 @@ function qr({
|
|
|
1752
1751
|
/* @__PURE__ */ h(Le, { children: [
|
|
1753
1752
|
/* @__PURE__ */ h(J, { value: "inherit", children: [
|
|
1754
1753
|
"Inherited from ",
|
|
1755
|
-
|
|
1754
|
+
Be(t.defaultCurrency),
|
|
1756
1755
|
" ·",
|
|
1757
1756
|
" ",
|
|
1758
1757
|
a.defaultCurrency
|
|
@@ -1861,7 +1860,7 @@ function Jr({
|
|
|
1861
1860
|
var u, g;
|
|
1862
1861
|
const [r, i] = L(
|
|
1863
1862
|
() => Gr(e.stored)
|
|
1864
|
-
), s = (r.locale === void 0 || pt(r.locale) !== void 0) && (r.defaultCurrency === void 0 ||
|
|
1863
|
+
), s = (r.locale === void 0 || pt(r.locale) !== void 0) && (r.defaultCurrency === void 0 || Ta(r.defaultCurrency) !== void 0) && (r.dateStyle === void 0 || ["short", "medium", "long"].includes(r.dateStyle)) && (((u = r.dateTime) == null ? void 0 : u.dateStyle) === void 0 || ["short", "medium", "long"].includes(r.dateTime.dateStyle)) && (((g = r.dateTime) == null ? void 0 : g.timeStyle) === void 0 || ["short", "medium", "long"].includes(r.dateTime.timeStyle)), o = async () => {
|
|
1865
1864
|
const c = {
|
|
1866
1865
|
...r.locale !== void 0 ? { locale: r.locale } : {},
|
|
1867
1866
|
...r.dateStyle !== void 0 ? { dateStyle: r.dateStyle } : {},
|
|
@@ -1930,18 +1929,18 @@ function Jr({
|
|
|
1930
1929
|
] })
|
|
1931
1930
|
] });
|
|
1932
1931
|
}
|
|
1933
|
-
function
|
|
1932
|
+
function wn({
|
|
1934
1933
|
open: e,
|
|
1935
1934
|
onOpenChange: a
|
|
1936
1935
|
}) {
|
|
1937
1936
|
const [t, n] = L("display"), r = () => a(!1);
|
|
1938
|
-
return /* @__PURE__ */ l(
|
|
1939
|
-
/* @__PURE__ */ h(
|
|
1940
|
-
/* @__PURE__ */ l(
|
|
1941
|
-
/* @__PURE__ */ l(
|
|
1937
|
+
return /* @__PURE__ */ l(ma, { open: e, onOpenChange: a, children: /* @__PURE__ */ h(fa, { className: "rounded-control border-border/60 sm:max-w-[440px] sm:rounded-control", children: [
|
|
1938
|
+
/* @__PURE__ */ h(ha, { children: [
|
|
1939
|
+
/* @__PURE__ */ l(pa, { className: "text-[15px]", children: "Report preferences" }),
|
|
1940
|
+
/* @__PURE__ */ l(va, { className: "text-[13px] leading-5", children: "Set how values and Calendar periods appear for you." })
|
|
1942
1941
|
] }),
|
|
1943
|
-
/* @__PURE__ */ h(
|
|
1944
|
-
/* @__PURE__ */ h(
|
|
1942
|
+
/* @__PURE__ */ h(Ma, { value: t, onValueChange: n, children: [
|
|
1943
|
+
/* @__PURE__ */ h(Ua, { variant: "underline", className: "w-full justify-start", children: [
|
|
1945
1944
|
/* @__PURE__ */ l(Qe, { value: "display", children: "Display formats" }),
|
|
1946
1945
|
/* @__PURE__ */ l(Qe, { value: "calendar", children: "Calendar" })
|
|
1947
1946
|
] }),
|
|
@@ -1953,7 +1952,7 @@ function Sn({
|
|
|
1953
1952
|
}
|
|
1954
1953
|
) }),
|
|
1955
1954
|
/* @__PURE__ */ l(et, { value: "calendar", children: /* @__PURE__ */ l(
|
|
1956
|
-
|
|
1955
|
+
Wr,
|
|
1957
1956
|
{
|
|
1958
1957
|
active: e && t === "calendar",
|
|
1959
1958
|
onClose: r
|
|
@@ -1965,14 +1964,14 @@ function Sn({
|
|
|
1965
1964
|
export {
|
|
1966
1965
|
Ja as A,
|
|
1967
1966
|
It as C,
|
|
1968
|
-
|
|
1969
|
-
|
|
1967
|
+
yn as D,
|
|
1968
|
+
wn as R,
|
|
1970
1969
|
qr as a,
|
|
1971
1970
|
kt as b,
|
|
1972
1971
|
At as c,
|
|
1973
1972
|
Dt as d,
|
|
1974
|
-
|
|
1975
|
-
|
|
1973
|
+
Ue as e,
|
|
1974
|
+
Oe as f,
|
|
1976
1975
|
lr as g,
|
|
1977
|
-
|
|
1976
|
+
gn as h
|
|
1978
1977
|
};
|