react-semaphor 0.1.563 → 0.1.565
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/DATA_APP_SDK.md +3 -3
- package/README.md +2 -2
- package/dist/analytics-protocol/index.js +8 -8
- package/dist/assistant-context/index.js +3 -2
- package/dist/brand-studio/index.js +28 -29
- package/dist/briefings/index.js +4 -4
- package/dist/chunks/{assistant-chat-iIp02_77.js → assistant-chat-DNfb5fbF.js} +294 -294
- package/dist/chunks/{bookmark-impact-D4Kl4amw.js → bookmark-impact-CHr7b1J2.js} +2 -2
- package/dist/chunks/bookmark-state-ByODVqee.js +1613 -0
- package/dist/chunks/card-filter-builder-CcEcfaYz.js +4100 -0
- package/dist/chunks/{switch-BW4yXSYs.js → code-editor-DJNOsgJH.js} +463 -442
- package/dist/chunks/{comparison-window-caption-D1EUXzaR.js → comparison-window-caption-CMLb3mut.js} +451 -419
- package/dist/chunks/{dashboard-CmqeP3QZ.js → dashboard-CtIfxycc.js} +1 -1
- package/dist/chunks/dashboard-briefing-launcher-D3mc6peE.js +4910 -0
- package/dist/chunks/{dashboard-controls-B253nJS-.js → dashboard-controls-BFv0zdws.js} +684 -674
- package/dist/chunks/{dashboard-json-osQuinUZ.js → dashboard-json-CXn_3OYb.js} +4 -4
- package/dist/chunks/{dates-DFY7Gfss.js → dates-DcRxw17S.js} +13 -13
- package/dist/chunks/{edit-dashboard-visual-CMar-NhA.js → edit-dashboard-visual-Y6HatqBd.js} +7704 -10337
- package/dist/chunks/filter-reach-copy-DbggA5B7.js +4673 -0
- package/dist/chunks/{filter-value-text-CPwFkrMz.js → filter-value-text-7zhmth1S.js} +2 -2
- package/dist/chunks/{index-CNGkfUp4.js → index-DDa_rklN.js} +69 -64
- package/dist/chunks/index-RNaTnE3m.js +585 -0
- package/dist/chunks/{layout-grid-BM65viQh.js → layout-grid-0hIlqEtk.js} +1 -1
- package/dist/chunks/{list-filter-BoeLBfL3.js → list-filter-DkgoCeBm.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-hEucouWM.js → matrix-analytical-definition-C9xB_T84.js} +18 -18
- package/dist/chunks/{matrix-card-CCh9JjP1.js → matrix-card-BSUeSXpD.js} +2 -2
- package/dist/chunks/{matrix-member-presentation-DsAUbuoL.js → matrix-member-presentation-DZNgQpUq.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-DsLdFdSa.js → matrix-operation-contract-Eb6elidS.js} +1 -1
- package/dist/chunks/{metric-comparison-Bnso1cm1.js → metric-comparison-ChXUFaZu.js} +1 -1
- package/dist/chunks/{palette-p1XSJFgB.js → palette-4vf2BEEg.js} +1 -1
- package/dist/chunks/{pivot-result-contract-expectations-B53jqszr.js → pivot-result-contract-expectations-Ddh1rNz5.js} +4 -4
- package/dist/chunks/{pivot-result-identity-Dq5jm-EC.js → pivot-result-identity-BlbLrqaC.js} +1 -1
- package/dist/chunks/{report-preferences-dialog-l54wJyYE.js → report-preferences-dialog-Db-b04B4.js} +122 -131
- package/dist/chunks/{report-runtime-context-BITkNSDa.js → report-runtime-context-DnA_PiKo.js} +1 -1
- package/dist/chunks/resolve-dashboard-input-context-C18J-YZC.js +21394 -0
- package/dist/chunks/{save-CHV1B1fL.js → save-D6pHmSSP.js} +1 -1
- package/dist/chunks/saved-dashboard-context-DhC_EVus.js +629 -0
- package/dist/chunks/{selection-reducer-Bz5aywT4.js → selection-reducer-OaJ-N5uN.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-C3EQEiD9.js → semaphor-ready-indicator-T6TsiBMT.js} +80879 -80744
- package/dist/chunks/{shelf-drop-preview-context-BODiBlqT.js → shelf-drop-preview-context-CNWL_b0S.js} +407 -407
- package/dist/chunks/{source-entity-resolution-DdDVXFB8.js → source-entity-resolution-DF6GulDn.js} +1 -1
- package/dist/chunks/stored-dashboard-IdmtrNkA.js +5026 -0
- package/dist/chunks/{table-export-sheet-bSXxGn-v.js → table-export-sheet--DUKWk6o.js} +1 -1
- package/dist/chunks/{temporal-input-presentation-sk9gqLi6.js → temporal-input-presentation--2r9BLr0.js} +392 -377
- package/dist/chunks/{token-types-BUK06hU2.js → token-types-C8JymO8s.js} +1 -1
- package/dist/chunks/{upload-BnmuyPqW.js → upload-Cf3wXZT8.js} +1 -1
- package/dist/chunks/{validators-BIM0FE31.js → validators-wtjw0aw6.js} +7 -7
- package/dist/chunks/variable-draft-3xseULxR.js +241 -0
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +2226 -1704
- package/dist/data-app-sdk/index.js +4 -4
- package/dist/data-app-sdk-adapters/index.js +2 -2
- package/dist/data-app-sdk-validation/index.js +5 -5
- package/dist/format-utils/index.js +174 -167
- package/dist/index.js +190 -188
- package/dist/layouts/index.js +1 -1
- package/dist/pdf-export-policy/index.js +80 -28
- package/dist/pdf-table-layout/index.js +65 -65
- package/dist/report-runtime-context/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/briefings/attachment-outcomes.d.ts +1 -1
- package/dist/types/components/activity/activity-bell.d.ts +5 -1
- package/dist/types/components/activity/activity-types.d.ts +12 -4
- package/dist/types/components/dashboard-variables/data-variables-menu.d.ts +8 -0
- package/dist/types/components/dashboard-variables/variable-editor-host.d.ts +1 -0
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/index.js +5 -5
- package/dist/types/lib/dashboard-inputs/build-normalized-dashboard-inputs.d.ts +62 -0
- package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-authoring.d.ts +33 -2
- package/dist/types/lib/dashboard-inputs/filter-settings.d.ts +7 -2
- package/dist/types/lib/dashboard-inputs/prepare-loaded-dashboard.d.ts +4 -2
- package/dist/types/lib/dashboard-variables/data-text.d.ts +33 -0
- package/dist/types/lib/dashboard-variables/types.d.ts +207 -0
- package/dist/types/lib/document/document-edits.d.ts +16 -1
- package/dist/types/lib/document/document-panel-target.d.ts +1 -1
- package/dist/types/lib/document/document-section-query-options.d.ts +29 -0
- package/dist/types/lib/document/document-table-data-policy.d.ts +0 -1
- package/dist/types/lib/hooks/use-dashboard-frame-query.d.ts +92 -0
- package/dist/types/lib/query-context/build-card-query-context.d.ts +6 -0
- package/dist/types/lib/query-context/describe-card-execution-snapshot.d.ts +1 -0
- package/dist/types/lib/query-context/use-semantic-execution-payload-for-cards.d.ts +24 -0
- package/dist/types/lib/stores/dashboard-store.d.ts +36 -0
- package/dist/types/lib/text-variables/temporal-input-text.d.ts +28 -0
- package/dist/types/lib/text-variables/text-variable-types.d.ts +72 -0
- package/dist/types/lib/types/common-types.d.ts +155 -51
- package/dist/types/lib/utils/card-definition.d.ts +2 -2
- package/dist/types/shared/assistant-context/index.d.ts +1 -1
- package/dist/types/shared/assistant-context/saved-dashboard-context.d.ts +51 -1
- package/dist/types/shared/dashboard-authoring/card-query-request.d.ts +7 -1
- package/dist/types/shared/dashboard-authoring/card-settings/resolve-card-highlights.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +7 -1
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +1088 -431
- package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +18 -1
- package/dist/types/shared/dashboard-authoring/changes/read-card-query.d.ts +8 -1
- package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +1 -1
- package/dist/types/shared/dashboard-authoring/conditional-formatting/kpi.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +40 -40
- package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +16 -16
- package/dist/types/shared/dashboard-authoring/dashboard-card-source-index.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/dashboard-filter-targets.d.ts +29 -0
- package/dist/types/shared/dashboard-authoring/dashboard-input-scope.d.ts +7 -4
- package/dist/types/shared/dashboard-authoring/dashboard-variable-card.d.ts +159 -0
- package/dist/types/shared/dashboard-authoring/dashboard-variable-changes.d.ts +61 -0
- package/dist/types/shared/dashboard-authoring/document-section-cards.d.ts +7 -0
- package/dist/types/shared/dashboard-authoring/filter-model/index.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/filter-model/read-dashboard-filter-model.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +6 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/comparison.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/schemas.d.ts +1 -1
- package/dist/types/shared/dashboard-authoring/operations/operation-sentences.d.ts +1 -1
- package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +50 -3
- package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +48 -1
- package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +2 -2
- package/dist/types/shared/dashboard-authoring/text-card-words/blocks.d.ts +87 -13
- package/dist/types/shared/dashboard-authoring/text-card-words/chip-colors.d.ts +23 -0
- package/dist/types/shared/dashboard-authoring/text-card-words/index.d.ts +90 -8
- package/dist/types/shared/dashboard-authoring/text-card-words/rich-content.d.ts +31 -3
- package/dist/types/shared/dashboard-authoring/text-card-words/variable-words.d.ts +8 -0
- package/dist/types/shared/dashboard-authoring/variable-draft.d.ts +125 -0
- package/dist/types/shared/dashboard-authoring/variable-editability.d.ts +24 -0
- package/dist/types/shared/dashboard-authoring/variable-references.d.ts +39 -0
- package/dist/types/shared/format-utils/document-print.d.ts +4 -2
- package/dist/types/shared/format-utils/index.d.ts +1 -0
- package/dist/types/shared/format-utils/pdf-capacity-lines.d.ts +17 -0
- package/dist/types/shared/format-utils/pdf-delivery.d.ts +8 -1
- package/dist/types/shared/format-utils/pdf-export-policy.d.ts +74 -6
- package/dist/types/shared/format-utils/presentation-execution.d.ts +9 -0
- package/package.json +2 -2
- package/src/data-app-sdk/README.md +3 -3
- package/dist/chunks/bookmark-state-CWeoGbrx.js +0 -743
- package/dist/chunks/braces-DzgoQC64.js +0 -23
- package/dist/chunks/dashboard-briefing-launcher-TYlSW77S.js +0 -3828
- package/dist/chunks/filter-reach-copy-CvV7W5dd.js +0 -3965
- package/dist/chunks/global-date-filter-utils-N1kcsOFE.js +0 -16722
- package/dist/chunks/index-CJW5BdWT.js +0 -583
- package/dist/chunks/resolve-dashboard-input-context-DaDrZGuA.js +0 -8214
- package/dist/chunks/saved-dashboard-context-DFYBrE6O.js +0 -564
- package/dist/chunks/use-create-flow-overlay-state-BXY8-Cyz.js +0 -1436
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as y, jsxs as de, Fragment as St } from "react/jsx-runtime";
|
|
2
2
|
import * as l from "react";
|
|
3
|
-
import ke, { forwardRef as Vn, createElement as Pn, useLayoutEffect as
|
|
3
|
+
import ke, { forwardRef as Vn, createElement as Pn, useLayoutEffect as Ui, useState as Qr, useRef as gn, useMemo as Vi, useId as zi, useImperativeHandle as ji } from "react";
|
|
4
4
|
import "./index-CuHybtft.js";
|
|
5
|
-
import "./validators-
|
|
6
|
-
import "./matrix-operation-contract-
|
|
5
|
+
import "./validators-wtjw0aw6.js";
|
|
6
|
+
import "./matrix-operation-contract-Eb6elidS.js";
|
|
7
7
|
import "./analytics-base-schemas-BaIQrEzX.js";
|
|
8
8
|
import "zod";
|
|
9
9
|
import "../value-format-preferences/index.js";
|
|
@@ -222,7 +222,7 @@ const ss = Vn(
|
|
|
222
222
|
* This source code is licensed under the ISC license.
|
|
223
223
|
* See the LICENSE file in the root directory of this source tree.
|
|
224
224
|
*/
|
|
225
|
-
const
|
|
225
|
+
const ve = (e, t) => {
|
|
226
226
|
const n = Vn(
|
|
227
227
|
({ className: r, ...o }, a) => Pn(ss, {
|
|
228
228
|
ref: a,
|
|
@@ -239,7 +239,26 @@ const Se = (e, t) => {
|
|
|
239
239
|
* This source code is licensed under the ISC license.
|
|
240
240
|
* See the LICENSE file in the root directory of this source tree.
|
|
241
241
|
*/
|
|
242
|
-
const ep =
|
|
242
|
+
const ep = ve("Braces", [
|
|
243
|
+
[
|
|
244
|
+
"path",
|
|
245
|
+
{ d: "M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1", key: "ezmyqa" }
|
|
246
|
+
],
|
|
247
|
+
[
|
|
248
|
+
"path",
|
|
249
|
+
{
|
|
250
|
+
d: "M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",
|
|
251
|
+
key: "e1hn23"
|
|
252
|
+
}
|
|
253
|
+
]
|
|
254
|
+
]);
|
|
255
|
+
/**
|
|
256
|
+
* @license lucide-react v0.453.0 - ISC
|
|
257
|
+
*
|
|
258
|
+
* This source code is licensed under the ISC license.
|
|
259
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
260
|
+
*/
|
|
261
|
+
const tp = ve("ChartColumn", [
|
|
243
262
|
["path", { d: "M3 3v16a2 2 0 0 0 2 2h16", key: "c24i48" }],
|
|
244
263
|
["path", { d: "M18 17V9", key: "2bz60n" }],
|
|
245
264
|
["path", { d: "M13 17V5", key: "1frdt8" }],
|
|
@@ -251,14 +270,14 @@ const ep = Se("ChartColumn", [
|
|
|
251
270
|
* This source code is licensed under the ISC license.
|
|
252
271
|
* See the LICENSE file in the root directory of this source tree.
|
|
253
272
|
*/
|
|
254
|
-
const ls =
|
|
273
|
+
const ls = ve("Check", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]);
|
|
255
274
|
/**
|
|
256
275
|
* @license lucide-react v0.453.0 - ISC
|
|
257
276
|
*
|
|
258
277
|
* This source code is licensed under the ISC license.
|
|
259
278
|
* See the LICENSE file in the root directory of this source tree.
|
|
260
279
|
*/
|
|
261
|
-
const no =
|
|
280
|
+
const no = ve("ChevronDown", [
|
|
262
281
|
["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
|
|
263
282
|
]);
|
|
264
283
|
/**
|
|
@@ -267,14 +286,14 @@ const no = Se("ChevronDown", [
|
|
|
267
286
|
* This source code is licensed under the ISC license.
|
|
268
287
|
* See the LICENSE file in the root directory of this source tree.
|
|
269
288
|
*/
|
|
270
|
-
const cs =
|
|
289
|
+
const cs = ve("ChevronUp", [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]]);
|
|
271
290
|
/**
|
|
272
291
|
* @license lucide-react v0.453.0 - ISC
|
|
273
292
|
*
|
|
274
293
|
* This source code is licensed under the ISC license.
|
|
275
294
|
* See the LICENSE file in the root directory of this source tree.
|
|
276
295
|
*/
|
|
277
|
-
const
|
|
296
|
+
const np = ve("Info", [
|
|
278
297
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
279
298
|
["path", { d: "M12 16v-4", key: "1dtifu" }],
|
|
280
299
|
["path", { d: "M12 8h.01", key: "e9boi3" }]
|
|
@@ -285,7 +304,7 @@ const tp = Se("Info", [
|
|
|
285
304
|
* This source code is licensed under the ISC license.
|
|
286
305
|
* See the LICENSE file in the root directory of this source tree.
|
|
287
306
|
*/
|
|
288
|
-
const
|
|
307
|
+
const rp = ve("LoaderCircle", [
|
|
289
308
|
["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
|
|
290
309
|
]);
|
|
291
310
|
/**
|
|
@@ -294,7 +313,7 @@ const np = Se("LoaderCircle", [
|
|
|
294
313
|
* This source code is licensed under the ISC license.
|
|
295
314
|
* See the LICENSE file in the root directory of this source tree.
|
|
296
315
|
*/
|
|
297
|
-
const
|
|
316
|
+
const op = ve("RotateCcw", [
|
|
298
317
|
["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "1357e3" }],
|
|
299
318
|
["path", { d: "M3 3v5h5", key: "1xhq8a" }]
|
|
300
319
|
]);
|
|
@@ -304,7 +323,7 @@ const rp = Se("RotateCcw", [
|
|
|
304
323
|
* This source code is licensed under the ISC license.
|
|
305
324
|
* See the LICENSE file in the root directory of this source tree.
|
|
306
325
|
*/
|
|
307
|
-
const
|
|
326
|
+
const ap = ve("SlidersHorizontal", [
|
|
308
327
|
["line", { x1: "21", x2: "14", y1: "4", y2: "4", key: "obuewd" }],
|
|
309
328
|
["line", { x1: "10", x2: "3", y1: "4", y2: "4", key: "1q6298" }],
|
|
310
329
|
["line", { x1: "21", x2: "12", y1: "12", y2: "12", key: "1iu8h1" }],
|
|
@@ -321,7 +340,7 @@ const op = Se("SlidersHorizontal", [
|
|
|
321
340
|
* This source code is licensed under the ISC license.
|
|
322
341
|
* See the LICENSE file in the root directory of this source tree.
|
|
323
342
|
*/
|
|
324
|
-
const
|
|
343
|
+
const ip = ve("Table2", [
|
|
325
344
|
[
|
|
326
345
|
"path",
|
|
327
346
|
{
|
|
@@ -336,7 +355,7 @@ const ap = Se("Table2", [
|
|
|
336
355
|
* This source code is licensed under the ISC license.
|
|
337
356
|
* See the LICENSE file in the root directory of this source tree.
|
|
338
357
|
*/
|
|
339
|
-
const
|
|
358
|
+
const sp = ve("Type", [
|
|
340
359
|
["polyline", { points: "4 7 4 4 20 4 20 7", key: "1nosan" }],
|
|
341
360
|
["line", { x1: "9", x2: "15", y1: "20", y2: "20", key: "swin9y" }],
|
|
342
361
|
["line", { x1: "12", x2: "12", y1: "4", y2: "20", key: "1tx1rr" }]
|
|
@@ -347,7 +366,7 @@ const ip = Se("Type", [
|
|
|
347
366
|
* This source code is licensed under the ISC license.
|
|
348
367
|
* See the LICENSE file in the root directory of this source tree.
|
|
349
368
|
*/
|
|
350
|
-
const
|
|
369
|
+
const lp = ve("X", [
|
|
351
370
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
352
371
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
353
372
|
]);
|
|
@@ -357,7 +376,7 @@ function M(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
|
357
376
|
return t == null ? void 0 : t(o);
|
|
358
377
|
};
|
|
359
378
|
}
|
|
360
|
-
function
|
|
379
|
+
function cp(e, t) {
|
|
361
380
|
const n = l.createContext(t), r = (a) => {
|
|
362
381
|
const { children: s, ...i } = a, c = l.useMemo(() => i, Object.values(i));
|
|
363
382
|
return /* @__PURE__ */ y(n.Provider, { value: c, children: s });
|
|
@@ -822,7 +841,7 @@ var vn = "focusScope.autoFocusOnMount", yn = "focusScope.autoFocusOnUnmount", Cr
|
|
|
822
841
|
const m = document.activeElement;
|
|
823
842
|
if (!i.contains(m)) {
|
|
824
843
|
const x = new CustomEvent(vn, Cr);
|
|
825
|
-
i.addEventListener(vn, u), i.dispatchEvent(x), x.defaultPrevented || (Ms(
|
|
844
|
+
i.addEventListener(vn, u), i.dispatchEvent(x), x.defaultPrevented || (Ms(Us(so(i)), { select: !0 }), document.activeElement === m && De(i));
|
|
826
845
|
}
|
|
827
846
|
return () => {
|
|
828
847
|
i.removeEventListener(vn, u), setTimeout(() => {
|
|
@@ -887,8 +906,8 @@ function De(e, { select: t = !1 } = {}) {
|
|
|
887
906
|
e.focus({ preventScroll: !0 }), e !== n && Ws(e) && t && e.select();
|
|
888
907
|
}
|
|
889
908
|
}
|
|
890
|
-
var Rr =
|
|
891
|
-
function
|
|
909
|
+
var Rr = Hs();
|
|
910
|
+
function Hs() {
|
|
892
911
|
let e = [];
|
|
893
912
|
return {
|
|
894
913
|
add(t) {
|
|
@@ -905,7 +924,7 @@ function Tr(e, t) {
|
|
|
905
924
|
const n = [...e], r = n.indexOf(t);
|
|
906
925
|
return r !== -1 && n.splice(r, 1), n;
|
|
907
926
|
}
|
|
908
|
-
function
|
|
927
|
+
function Us(e) {
|
|
909
928
|
return e.filter((t) => t.tagName !== "A");
|
|
910
929
|
}
|
|
911
930
|
var Vs = l[" useId ".trim().toString()] || (() => {
|
|
@@ -1002,7 +1021,7 @@ function lo(e) {
|
|
|
1002
1021
|
left: e
|
|
1003
1022
|
};
|
|
1004
1023
|
}
|
|
1005
|
-
function
|
|
1024
|
+
function Ht(e) {
|
|
1006
1025
|
const {
|
|
1007
1026
|
x: t,
|
|
1008
1027
|
y: n,
|
|
@@ -1084,7 +1103,7 @@ async function el(e, t) {
|
|
|
1084
1103
|
elementContext: f = "floating",
|
|
1085
1104
|
altBoundary: g = !1,
|
|
1086
1105
|
padding: v = 0
|
|
1087
|
-
} = Ie(t, e), E = lo(v), b = i[g ? f === "floating" ? "reference" : "floating" : f], x =
|
|
1106
|
+
} = Ie(t, e), E = lo(v), b = i[g ? f === "floating" ? "reference" : "floating" : f], x = Ht(await a.getClippingRect({
|
|
1088
1107
|
element: (n = await (a.isElement == null ? void 0 : a.isElement(b))) == null || n ? b : b.contextElement || await (a.getDocumentElement == null ? void 0 : a.getDocumentElement(i.floating)),
|
|
1089
1108
|
boundary: u,
|
|
1090
1109
|
rootBoundary: d,
|
|
@@ -1100,7 +1119,7 @@ async function el(e, t) {
|
|
|
1100
1119
|
} : {
|
|
1101
1120
|
x: 1,
|
|
1102
1121
|
y: 1
|
|
1103
|
-
}, S =
|
|
1122
|
+
}, S = Ht(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
1104
1123
|
elements: i,
|
|
1105
1124
|
rect: p,
|
|
1106
1125
|
offsetParent: h,
|
|
@@ -1201,12 +1220,12 @@ const tl = 50, nl = async (e, t, n) => {
|
|
|
1201
1220
|
}, v = Yn(o), E = Gn(v), m = await s.getDimensions(u), b = v === "y", x = b ? "top" : "left", p = b ? "bottom" : "right", h = b ? "clientHeight" : "clientWidth", w = a.reference[E] + a.reference[v] - g[v] - a.floating[E], S = g[v] - a.reference[v], C = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(u));
|
|
1202
1221
|
let A = C ? C[h] : 0;
|
|
1203
1222
|
(!A || !await (s.isElement == null ? void 0 : s.isElement(C))) && (A = i.floating[h] || a.floating[E]);
|
|
1204
|
-
const T = w / 2 - S / 2, R = A / 2 - m[E] / 2 - 1, I = $e(f[x], R), F = $e(f[p], R), $ = I, V = A - m[E] - F,
|
|
1223
|
+
const T = w / 2 - S / 2, R = A / 2 - m[E] / 2 - 1, I = $e(f[x], R), F = $e(f[p], R), $ = I, V = A - m[E] - F, H = A / 2 - m[E] / 2 + T, G = In($, H, V), D = !c.arrow && st(o) != null && H !== G && a.reference[E] / 2 - (H < $ ? I : F) - m[E] / 2 < 0, _ = D ? H < $ ? H - $ : H - V : 0;
|
|
1205
1224
|
return {
|
|
1206
1225
|
[v]: g[v] + _,
|
|
1207
1226
|
data: {
|
|
1208
1227
|
[v]: G,
|
|
1209
|
-
centerOffset:
|
|
1228
|
+
centerOffset: H - G - _,
|
|
1210
1229
|
...D && {
|
|
1211
1230
|
alignmentOffset: _
|
|
1212
1231
|
}
|
|
@@ -1243,21 +1262,21 @@ const tl = 50, nl = async (e, t, n) => {
|
|
|
1243
1262
|
const A = [i, ...S], T = await c.detectOverflow(t, b), R = [];
|
|
1244
1263
|
let I = ((r = a.flip) == null ? void 0 : r.overflows) || [];
|
|
1245
1264
|
if (d && R.push(T[x]), f) {
|
|
1246
|
-
const
|
|
1247
|
-
R.push(T[
|
|
1265
|
+
const H = Gs(o, s, w);
|
|
1266
|
+
R.push(T[H[0]], T[H[1]]);
|
|
1248
1267
|
}
|
|
1249
1268
|
if (I = [...I, {
|
|
1250
1269
|
placement: o,
|
|
1251
1270
|
overflows: R
|
|
1252
|
-
}], !R.every((
|
|
1271
|
+
}], !R.every((H) => H <= 0)) {
|
|
1253
1272
|
var F, $;
|
|
1254
|
-
const
|
|
1273
|
+
const H = (((F = a.flip) == null ? void 0 : F.index) || 0) + 1, G = A[H];
|
|
1255
1274
|
if (G && (!(f === "alignment" ? p !== Ce(G) : !1) || // We leave the current main axis only if every placement on that axis
|
|
1256
1275
|
// overflows the main axis.
|
|
1257
1276
|
I.every((N) => Ce(N.placement) === p ? N.overflows[0] > 0 : !0)))
|
|
1258
1277
|
return {
|
|
1259
1278
|
data: {
|
|
1260
|
-
index:
|
|
1279
|
+
index: H,
|
|
1261
1280
|
overflows: I
|
|
1262
1281
|
},
|
|
1263
1282
|
reset: {
|
|
@@ -1556,7 +1575,7 @@ function Re(e) {
|
|
|
1556
1575
|
function uo(e) {
|
|
1557
1576
|
return Xt() ? e instanceof Node || e instanceof he(e).Node : !1;
|
|
1558
1577
|
}
|
|
1559
|
-
function
|
|
1578
|
+
function we(e) {
|
|
1560
1579
|
return Xt() ? e instanceof Element || e instanceof he(e).Element : !1;
|
|
1561
1580
|
}
|
|
1562
1581
|
function _e(e) {
|
|
@@ -1571,7 +1590,7 @@ function xt(e) {
|
|
|
1571
1590
|
overflowX: n,
|
|
1572
1591
|
overflowY: r,
|
|
1573
1592
|
display: o
|
|
1574
|
-
} =
|
|
1593
|
+
} = Se(e);
|
|
1575
1594
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && o !== "inline" && o !== "contents";
|
|
1576
1595
|
}
|
|
1577
1596
|
function dl(e) {
|
|
@@ -1592,7 +1611,7 @@ function qt(e) {
|
|
|
1592
1611
|
const fl = /transform|translate|scale|rotate|perspective|filter/, pl = /paint|layout|strict|content/, ze = (e) => !!e && e !== "none";
|
|
1593
1612
|
let bn;
|
|
1594
1613
|
function Xn(e) {
|
|
1595
|
-
const t =
|
|
1614
|
+
const t = we(e) ? Se(e) : e;
|
|
1596
1615
|
return ze(t.transform) || ze(t.translate) || ze(t.scale) || ze(t.rotate) || ze(t.perspective) || !qn() && (ze(t.backdropFilter) || ze(t.filter)) || fl.test(t.willChange || "") || pl.test(t.contain || "");
|
|
1597
1616
|
}
|
|
1598
1617
|
function hl(e) {
|
|
@@ -1612,11 +1631,11 @@ function qn() {
|
|
|
1612
1631
|
function nt(e) {
|
|
1613
1632
|
return /^(html|body|#document)$/.test(lt(e));
|
|
1614
1633
|
}
|
|
1615
|
-
function
|
|
1634
|
+
function Se(e) {
|
|
1616
1635
|
return he(e).getComputedStyle(e);
|
|
1617
1636
|
}
|
|
1618
1637
|
function Zt(e) {
|
|
1619
|
-
return
|
|
1638
|
+
return we(e) ? {
|
|
1620
1639
|
scrollLeft: e.scrollLeft,
|
|
1621
1640
|
scrollTop: e.scrollTop
|
|
1622
1641
|
} : {
|
|
@@ -1654,7 +1673,7 @@ function Fn(e) {
|
|
|
1654
1673
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
1655
1674
|
}
|
|
1656
1675
|
function po(e) {
|
|
1657
|
-
const t =
|
|
1676
|
+
const t = Se(e);
|
|
1658
1677
|
let n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0;
|
|
1659
1678
|
const o = _e(e), a = o ? e.offsetWidth : n, s = o ? e.offsetHeight : r, i = Bt(n) !== a || Bt(r) !== s;
|
|
1660
1679
|
return i && (n = a, r = s), {
|
|
@@ -1664,7 +1683,7 @@ function po(e) {
|
|
|
1664
1683
|
};
|
|
1665
1684
|
}
|
|
1666
1685
|
function Zn(e) {
|
|
1667
|
-
return
|
|
1686
|
+
return we(e) ? e : e.contextElement;
|
|
1668
1687
|
}
|
|
1669
1688
|
function et(e) {
|
|
1670
1689
|
const t = Zn(e);
|
|
@@ -1696,18 +1715,18 @@ function Ke(e, t, n, r) {
|
|
|
1696
1715
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
1697
1716
|
const o = e.getBoundingClientRect(), a = Zn(e);
|
|
1698
1717
|
let s = Ae(1);
|
|
1699
|
-
t && (r ?
|
|
1718
|
+
t && (r ? we(r) && (s = et(r)) : s = et(e));
|
|
1700
1719
|
const i = ml(a, n, r) ? ho(a) : Ae(0);
|
|
1701
1720
|
let c = (o.left + i.x) / s.x, u = (o.top + i.y) / s.y, d = o.width / s.x, f = o.height / s.y;
|
|
1702
1721
|
if (a) {
|
|
1703
|
-
const g = he(a), v = r &&
|
|
1722
|
+
const g = he(a), v = r && we(r) ? he(r) : r;
|
|
1704
1723
|
let E = g, m = Fn(E);
|
|
1705
1724
|
for (; m && r && v !== E; ) {
|
|
1706
|
-
const b = et(m), x = m.getBoundingClientRect(), p =
|
|
1725
|
+
const b = et(m), x = m.getBoundingClientRect(), p = Se(m), h = x.left + (m.clientLeft + parseFloat(p.paddingLeft)) * b.x, w = x.top + (m.clientTop + parseFloat(p.paddingTop)) * b.y;
|
|
1707
1726
|
c *= b.x, u *= b.y, d *= b.x, f *= b.y, c += h, u += w, E = he(m), m = Fn(E);
|
|
1708
1727
|
}
|
|
1709
1728
|
}
|
|
1710
|
-
return
|
|
1729
|
+
return Ht({
|
|
1711
1730
|
width: d,
|
|
1712
1731
|
height: f,
|
|
1713
1732
|
x: c,
|
|
@@ -1759,7 +1778,7 @@ function bl(e) {
|
|
|
1759
1778
|
const t = Re(e), n = Zt(e), r = e.ownerDocument.body, o = pe(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = pe(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
|
|
1760
1779
|
let s = -n.scrollLeft + Qt(e);
|
|
1761
1780
|
const i = -n.scrollTop;
|
|
1762
|
-
return
|
|
1781
|
+
return Se(r).direction === "rtl" && (s += pe(t.clientWidth, r.clientWidth) - o), {
|
|
1763
1782
|
width: o,
|
|
1764
1783
|
height: a,
|
|
1765
1784
|
x: s,
|
|
@@ -1802,7 +1821,7 @@ function kr(e, t, n) {
|
|
|
1802
1821
|
r = wl(e, n);
|
|
1803
1822
|
else if (t === "document")
|
|
1804
1823
|
r = bl(Re(e));
|
|
1805
|
-
else if (
|
|
1824
|
+
else if (we(t))
|
|
1806
1825
|
r = Sl(t, n);
|
|
1807
1826
|
else {
|
|
1808
1827
|
const o = ho(e);
|
|
@@ -1813,21 +1832,21 @@ function kr(e, t, n) {
|
|
|
1813
1832
|
height: t.height
|
|
1814
1833
|
};
|
|
1815
1834
|
}
|
|
1816
|
-
return
|
|
1835
|
+
return Ht(r);
|
|
1817
1836
|
}
|
|
1818
1837
|
function mo(e, t) {
|
|
1819
1838
|
const n = Be(e);
|
|
1820
|
-
return n === t || !
|
|
1839
|
+
return n === t || !we(n) || nt(n) ? !1 : Se(n).position === "fixed" || mo(n, t);
|
|
1821
1840
|
}
|
|
1822
1841
|
function xl(e, t) {
|
|
1823
1842
|
const n = t.get(e);
|
|
1824
1843
|
if (n)
|
|
1825
1844
|
return n;
|
|
1826
|
-
let r = yt(e, [], !1).filter((i) =>
|
|
1827
|
-
const a =
|
|
1845
|
+
let r = yt(e, [], !1).filter((i) => we(i) && lt(i) !== "body"), o = null;
|
|
1846
|
+
const a = Se(e).position === "fixed";
|
|
1828
1847
|
let s = a ? Be(e) : e;
|
|
1829
|
-
for (;
|
|
1830
|
-
const i =
|
|
1848
|
+
for (; we(s) && !nt(s); ) {
|
|
1849
|
+
const i = Se(s), c = Xn(s);
|
|
1831
1850
|
!c && i.position === "fixed" && (o = null), (a ? !c && !o : !c && i.position === "static" && !!o && (o.position === "absolute" || o.position === "fixed") || xt(s) && !c && mo(e, s)) ? r = r.filter((d) => d !== s) : o = i, s = Be(s);
|
|
1832
1851
|
}
|
|
1833
1852
|
return t.set(e, r), r;
|
|
@@ -1887,10 +1906,10 @@ function Al(e, t, n) {
|
|
|
1887
1906
|
};
|
|
1888
1907
|
}
|
|
1889
1908
|
function wn(e) {
|
|
1890
|
-
return
|
|
1909
|
+
return Se(e).position === "static";
|
|
1891
1910
|
}
|
|
1892
1911
|
function Dr(e, t) {
|
|
1893
|
-
if (!_e(e) ||
|
|
1912
|
+
if (!_e(e) || Se(e).position === "fixed")
|
|
1894
1913
|
return null;
|
|
1895
1914
|
if (t)
|
|
1896
1915
|
return t(e);
|
|
@@ -1904,7 +1923,7 @@ function vo(e, t) {
|
|
|
1904
1923
|
if (!_e(e)) {
|
|
1905
1924
|
let o = Be(e);
|
|
1906
1925
|
for (; o && !nt(o); ) {
|
|
1907
|
-
if (
|
|
1926
|
+
if (we(o) && !wn(o))
|
|
1908
1927
|
return o;
|
|
1909
1928
|
o = Be(o);
|
|
1910
1929
|
}
|
|
@@ -1928,7 +1947,7 @@ const Rl = async function(e) {
|
|
|
1928
1947
|
};
|
|
1929
1948
|
};
|
|
1930
1949
|
function Tl(e) {
|
|
1931
|
-
return
|
|
1950
|
+
return Se(e).direction === "rtl";
|
|
1932
1951
|
}
|
|
1933
1952
|
const Pl = {
|
|
1934
1953
|
convertOffsetParentRelativeRectToViewportRelativeRect: vl,
|
|
@@ -1939,7 +1958,7 @@ const Pl = {
|
|
|
1939
1958
|
getClientRects: yl,
|
|
1940
1959
|
getDimensions: Cl,
|
|
1941
1960
|
getScale: et,
|
|
1942
|
-
isElement:
|
|
1961
|
+
isElement: we,
|
|
1943
1962
|
isRTL: Tl
|
|
1944
1963
|
};
|
|
1945
1964
|
function yo(e, t) {
|
|
@@ -2041,8 +2060,8 @@ const Ol = sl, Fl = ll, _l = ol, Ll = ul, kl = al, Mr = rl, Dl = cl, Ml = (e, t,
|
|
|
2041
2060
|
});
|
|
2042
2061
|
};
|
|
2043
2062
|
var $l = typeof document < "u", Bl = function() {
|
|
2044
|
-
}, Lt = $l ?
|
|
2045
|
-
function
|
|
2063
|
+
}, Lt = $l ? Ui : Bl;
|
|
2064
|
+
function Ut(e, t) {
|
|
2046
2065
|
if (e === t)
|
|
2047
2066
|
return !0;
|
|
2048
2067
|
if (typeof e != typeof t)
|
|
@@ -2054,7 +2073,7 @@ function Ht(e, t) {
|
|
|
2054
2073
|
if (Array.isArray(e)) {
|
|
2055
2074
|
if (n = e.length, n !== t.length) return !1;
|
|
2056
2075
|
for (r = n; r-- !== 0; )
|
|
2057
|
-
if (!
|
|
2076
|
+
if (!Ut(e[r], t[r]))
|
|
2058
2077
|
return !1;
|
|
2059
2078
|
return !0;
|
|
2060
2079
|
}
|
|
@@ -2065,7 +2084,7 @@ function Ht(e, t) {
|
|
|
2065
2084
|
return !1;
|
|
2066
2085
|
for (r = n; r-- !== 0; ) {
|
|
2067
2086
|
const a = o[r];
|
|
2068
|
-
if (!(a === "_owner" && e.$$typeof) && !
|
|
2087
|
+
if (!(a === "_owner" && e.$$typeof) && !Ut(e[a], t[a]))
|
|
2069
2088
|
return !1;
|
|
2070
2089
|
}
|
|
2071
2090
|
return !0;
|
|
@@ -2107,7 +2126,7 @@ function Wl(e) {
|
|
|
2107
2126
|
middlewareData: {},
|
|
2108
2127
|
isPositioned: !1
|
|
2109
2128
|
}), [g, v] = l.useState(r);
|
|
2110
|
-
|
|
2129
|
+
Ut(g, r) || v(r);
|
|
2111
2130
|
const [E, m] = l.useState(null), [b, x] = l.useState(null), p = l.useCallback((N) => {
|
|
2112
2131
|
N !== C.current && (C.current = N, m(N));
|
|
2113
2132
|
}, []), h = l.useCallback((N) => {
|
|
@@ -2129,7 +2148,7 @@ function Wl(e) {
|
|
|
2129
2148
|
// setting it to `true` when `open === false` (must be specified).
|
|
2130
2149
|
isPositioned: $.current !== !1
|
|
2131
2150
|
};
|
|
2132
|
-
|
|
2151
|
+
H.current && !Ut(T.current, k) && (T.current = k, Kt.flushSync(() => {
|
|
2133
2152
|
f(k);
|
|
2134
2153
|
}));
|
|
2135
2154
|
});
|
|
@@ -2140,9 +2159,9 @@ function Wl(e) {
|
|
|
2140
2159
|
isPositioned: !1
|
|
2141
2160
|
})));
|
|
2142
2161
|
}, [u]);
|
|
2143
|
-
const
|
|
2144
|
-
Lt(() => (
|
|
2145
|
-
|
|
2162
|
+
const H = l.useRef(!1);
|
|
2163
|
+
Lt(() => (H.current = !0, () => {
|
|
2164
|
+
H.current = !1;
|
|
2146
2165
|
}), []), Lt(() => {
|
|
2147
2166
|
if (w && (C.current = w), S && (A.current = S), w && S) {
|
|
2148
2167
|
if (I.current)
|
|
@@ -2187,7 +2206,7 @@ function Wl(e) {
|
|
|
2187
2206
|
floatingStyles: _
|
|
2188
2207
|
}), [d, V, G, D, _]);
|
|
2189
2208
|
}
|
|
2190
|
-
const
|
|
2209
|
+
const Hl = (e) => {
|
|
2191
2210
|
function t(n) {
|
|
2192
2211
|
return {}.hasOwnProperty.call(n, "current");
|
|
2193
2212
|
}
|
|
@@ -2208,7 +2227,7 @@ const Ul = (e) => {
|
|
|
2208
2227
|
}).fn(n) : {};
|
|
2209
2228
|
}
|
|
2210
2229
|
};
|
|
2211
|
-
},
|
|
2230
|
+
}, Ul = (e, t) => {
|
|
2212
2231
|
const n = Ol(e);
|
|
2213
2232
|
return {
|
|
2214
2233
|
name: n.name,
|
|
@@ -2247,7 +2266,7 @@ const Ul = (e) => {
|
|
|
2247
2266
|
options: [e, t]
|
|
2248
2267
|
};
|
|
2249
2268
|
}, Yl = (e, t) => {
|
|
2250
|
-
const n =
|
|
2269
|
+
const n = Hl(e);
|
|
2251
2270
|
return {
|
|
2252
2271
|
name: n.name,
|
|
2253
2272
|
fn: n.fn,
|
|
@@ -2331,7 +2350,7 @@ var Jn = "PopperContent", [Ql, Jl] = xo(Jn), To = l.forwardRef(
|
|
|
2331
2350
|
boundary: F.filter(tc),
|
|
2332
2351
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
2333
2352
|
altBoundary: $
|
|
2334
|
-
}, { refs:
|
|
2353
|
+
}, { refs: H, floatingStyles: G, placement: D, isPositioned: _, middlewareData: N } = Wl({
|
|
2335
2354
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
|
2336
2355
|
strategy: "fixed",
|
|
2337
2356
|
placement: R,
|
|
@@ -2342,7 +2361,7 @@ var Jn = "PopperContent", [Ql, Jl] = xo(Jn), To = l.forwardRef(
|
|
|
2342
2361
|
reference: b.anchor
|
|
2343
2362
|
},
|
|
2344
2363
|
middleware: [
|
|
2345
|
-
|
|
2364
|
+
Ul({ mainAxis: o + T, alignmentAxis: s }),
|
|
2346
2365
|
c && Vl({
|
|
2347
2366
|
mainAxis: !0,
|
|
2348
2367
|
crossAxis: !1,
|
|
@@ -2352,8 +2371,8 @@ var Jn = "PopperContent", [Ql, Jl] = xo(Jn), To = l.forwardRef(
|
|
|
2352
2371
|
c && jl({ ...V }),
|
|
2353
2372
|
Kl({
|
|
2354
2373
|
...V,
|
|
2355
|
-
apply: ({ elements: P, rects:
|
|
2356
|
-
const { width: ee, height: ie } =
|
|
2374
|
+
apply: ({ elements: P, rects: U, availableWidth: B, availableHeight: W }) => {
|
|
2375
|
+
const { width: ee, height: ie } = U.reference, ue = P.floating.style;
|
|
2357
2376
|
ue.setProperty("--radix-popper-available-width", `${B}px`), ue.setProperty("--radix-popper-available-height", `${W}px`), ue.setProperty("--radix-popper-anchor-width", `${ee}px`), ue.setProperty("--radix-popper-anchor-height", `${ie}px`);
|
|
2358
2377
|
}
|
|
2359
2378
|
}),
|
|
@@ -2371,7 +2390,7 @@ var Jn = "PopperContent", [Ql, Jl] = xo(Jn), To = l.forwardRef(
|
|
|
2371
2390
|
}, [x]), /* @__PURE__ */ y(
|
|
2372
2391
|
"div",
|
|
2373
2392
|
{
|
|
2374
|
-
ref:
|
|
2393
|
+
ref: H.setFloating,
|
|
2375
2394
|
"data-radix-popper-content-wrapper": "",
|
|
2376
2395
|
style: {
|
|
2377
2396
|
...G,
|
|
@@ -2919,7 +2938,7 @@ Wo.isSideCarExport = !0;
|
|
|
2919
2938
|
function Oc(e, t) {
|
|
2920
2939
|
return e.useMedium(t), Wo;
|
|
2921
2940
|
}
|
|
2922
|
-
var
|
|
2941
|
+
var Ho = Ic(), An = function() {
|
|
2923
2942
|
}, tn = l.forwardRef(function(e, t) {
|
|
2924
2943
|
var n = l.useRef(null), r = l.useState({
|
|
2925
2944
|
onScrollCapture: An,
|
|
@@ -2929,7 +2948,7 @@ var Uo = Ic(), An = function() {
|
|
|
2929
2948
|
return l.createElement(
|
|
2930
2949
|
l.Fragment,
|
|
2931
2950
|
null,
|
|
2932
|
-
d && l.createElement(S, { sideCar:
|
|
2951
|
+
d && l.createElement(S, { sideCar: Ho, removeScrollBar: u, shards: f, noRelative: v, noIsolation: E, inert: m, setCallbacks: a, allowPinchZoom: !!b, lockRef: n, gapMode: h }),
|
|
2933
2952
|
s ? l.cloneElement(l.Children.only(i), Ee(Ee({}, A), { ref: C })) : l.createElement(p, Ee({}, A, { className: c, ref: C }), i)
|
|
2934
2953
|
);
|
|
2935
2954
|
});
|
|
@@ -2980,7 +2999,7 @@ var Dc = function() {
|
|
|
2980
2999
|
};
|
|
2981
3000
|
}, [t && n]);
|
|
2982
3001
|
};
|
|
2983
|
-
},
|
|
3002
|
+
}, Uo = function() {
|
|
2984
3003
|
var e = Mc(), t = function(n) {
|
|
2985
3004
|
var r = n.styles, o = n.dynamic;
|
|
2986
3005
|
return e(r, o), null;
|
|
@@ -3006,7 +3025,7 @@ var Dc = function() {
|
|
|
3006
3025
|
right: t[2],
|
|
3007
3026
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
3008
3027
|
};
|
|
3009
|
-
},
|
|
3028
|
+
}, Hc = Uo(), tt = "data-scroll-locked", Uc = function(e, t, n, r) {
|
|
3010
3029
|
var o = e.left, a = e.top, s = e.right, i = e.gap;
|
|
3011
3030
|
return n === void 0 && (n = "margin"), `
|
|
3012
3031
|
.`.concat(Ec, ` {
|
|
@@ -3066,7 +3085,7 @@ var Dc = function() {
|
|
|
3066
3085
|
var a = l.useMemo(function() {
|
|
3067
3086
|
return Wc(o);
|
|
3068
3087
|
}, [o]);
|
|
3069
|
-
return l.createElement(
|
|
3088
|
+
return l.createElement(Hc, { styles: Uc(a, !t, o, n ? "" : "!important") });
|
|
3070
3089
|
}, Ln = !1;
|
|
3071
3090
|
if (typeof window < "u")
|
|
3072
3091
|
try {
|
|
@@ -3094,7 +3113,7 @@ var Qe = Ln ? { passive: !1 } : !1, jc = function(e) {
|
|
|
3094
3113
|
return Vo(e, "overflowY");
|
|
3095
3114
|
}, Gc = function(e) {
|
|
3096
3115
|
return Vo(e, "overflowX");
|
|
3097
|
-
},
|
|
3116
|
+
}, Hr = function(e, t) {
|
|
3098
3117
|
var n = t.ownerDocument, r = t;
|
|
3099
3118
|
do {
|
|
3100
3119
|
typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host);
|
|
@@ -3144,7 +3163,7 @@ var Qe = Ln ? { passive: !1 } : !1, jc = function(e) {
|
|
|
3144
3163
|
return (d && Math.abs(f) < 1 || !d && Math.abs(g) < 1) && (u = !0), u;
|
|
3145
3164
|
}, Ft = function(e) {
|
|
3146
3165
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
3147
|
-
},
|
|
3166
|
+
}, Ur = function(e) {
|
|
3148
3167
|
return [e.deltaX, e.deltaY];
|
|
3149
3168
|
}, Vr = function(e) {
|
|
3150
3169
|
return e && "current" in e ? e.current : e;
|
|
@@ -3157,7 +3176,7 @@ var Qe = Ln ? { passive: !1 } : !1, jc = function(e) {
|
|
|
3157
3176
|
`);
|
|
3158
3177
|
}, eu = 0, Je = [];
|
|
3159
3178
|
function tu(e) {
|
|
3160
|
-
var t = l.useRef([]), n = l.useRef([0, 0]), r = l.useRef(), o = l.useState(eu++)[0], a = l.useState(
|
|
3179
|
+
var t = l.useRef([]), n = l.useRef([0, 0]), r = l.useRef(), o = l.useState(eu++)[0], a = l.useState(Uo)[0], s = l.useRef(e);
|
|
3161
3180
|
l.useEffect(function() {
|
|
3162
3181
|
s.current = e;
|
|
3163
3182
|
}, [e]), l.useEffect(function() {
|
|
@@ -3182,10 +3201,10 @@ function tu(e) {
|
|
|
3182
3201
|
var T = window.getSelection(), R = T && T.anchorNode, I = R ? R === C || R.contains(C) : !1;
|
|
3183
3202
|
if (I)
|
|
3184
3203
|
return !1;
|
|
3185
|
-
var F =
|
|
3204
|
+
var F = Hr(A, C);
|
|
3186
3205
|
if (!F)
|
|
3187
3206
|
return !0;
|
|
3188
|
-
if (F ? S = A : (S = A === "v" ? "h" : "v", F =
|
|
3207
|
+
if (F ? S = A : (S = A === "v" ? "h" : "v", F = Hr(A, C)), !F)
|
|
3189
3208
|
return !1;
|
|
3190
3209
|
if (!r.current && "changedTouches" in m && (h || w) && (r.current = S), !S)
|
|
3191
3210
|
return !0;
|
|
@@ -3194,7 +3213,7 @@ function tu(e) {
|
|
|
3194
3213
|
}, []), c = l.useCallback(function(m) {
|
|
3195
3214
|
var b = m;
|
|
3196
3215
|
if (!(!Je.length || Je[Je.length - 1] !== a)) {
|
|
3197
|
-
var x = "deltaY" in b ?
|
|
3216
|
+
var x = "deltaY" in b ? Ur(b) : Ft(b), p = t.current.filter(function(S) {
|
|
3198
3217
|
return S.name === b.type && (S.target === b.target || b.target === S.shadowParent) && Qc(S.delta, x);
|
|
3199
3218
|
})[0];
|
|
3200
3219
|
if (p && p.should) {
|
|
@@ -3218,7 +3237,7 @@ function tu(e) {
|
|
|
3218
3237
|
}, []), d = l.useCallback(function(m) {
|
|
3219
3238
|
n.current = Ft(m), r.current = void 0;
|
|
3220
3239
|
}, []), f = l.useCallback(function(m) {
|
|
3221
|
-
u(m.type,
|
|
3240
|
+
u(m.type, Ur(m), m.target, i(m, e.lockRef.current));
|
|
3222
3241
|
}, []), g = l.useCallback(function(m) {
|
|
3223
3242
|
u(m.type, Ft(m), m.target, i(m, e.lockRef.current));
|
|
3224
3243
|
}, []);
|
|
@@ -3246,7 +3265,7 @@ function nu(e) {
|
|
|
3246
3265
|
e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
3247
3266
|
return t;
|
|
3248
3267
|
}
|
|
3249
|
-
const ru = Oc(
|
|
3268
|
+
const ru = Oc(Ho, tu);
|
|
3250
3269
|
var rr = l.forwardRef(function(e, t) {
|
|
3251
3270
|
return l.createElement(tn, Ee({}, e, { ref: t, sideCar: ru }));
|
|
3252
3271
|
});
|
|
@@ -3313,7 +3332,7 @@ function cu(e) {
|
|
|
3313
3332
|
}
|
|
3314
3333
|
var rn = "Popover", [Ko] = Fe(rn, [
|
|
3315
3334
|
ct
|
|
3316
|
-
]), Ct = ct(), [uu,
|
|
3335
|
+
]), Ct = ct(), [uu, He] = Ko(rn), Go = (e) => {
|
|
3317
3336
|
const {
|
|
3318
3337
|
__scopePopover: t,
|
|
3319
3338
|
children: n,
|
|
@@ -3347,14 +3366,14 @@ var rn = "Popover", [Ko] = Fe(rn, [
|
|
|
3347
3366
|
Go.displayName = rn;
|
|
3348
3367
|
var Yo = "PopoverAnchor", Xo = l.forwardRef(
|
|
3349
3368
|
(e, t) => {
|
|
3350
|
-
const { __scopePopover: n, ...r } = e, o =
|
|
3369
|
+
const { __scopePopover: n, ...r } = e, o = He(Yo, n), a = Ct(n), { onCustomAnchorAdd: s, onCustomAnchorRemove: i } = o;
|
|
3351
3370
|
return l.useEffect(() => (s(), () => i()), [s, i]), /* @__PURE__ */ y(Jt, { ...a, ...r, ref: t });
|
|
3352
3371
|
}
|
|
3353
3372
|
);
|
|
3354
3373
|
Xo.displayName = Yo;
|
|
3355
3374
|
var qo = "PopoverTrigger", Zo = l.forwardRef(
|
|
3356
3375
|
(e, t) => {
|
|
3357
|
-
const { __scopePopover: n, ...r } = e, o =
|
|
3376
|
+
const { __scopePopover: n, ...r } = e, o = He(qo, n), a = Ct(n), s = Z(t, o.triggerRef), i = /* @__PURE__ */ y(
|
|
3358
3377
|
z.button,
|
|
3359
3378
|
{
|
|
3360
3379
|
type: "button",
|
|
@@ -3374,20 +3393,20 @@ Zo.displayName = qo;
|
|
|
3374
3393
|
var or = "PopoverPortal", [du, fu] = Ko(or, {
|
|
3375
3394
|
forceMount: void 0
|
|
3376
3395
|
}), Qo = (e) => {
|
|
3377
|
-
const { __scopePopover: t, forceMount: n, children: r, container: o } = e, a =
|
|
3396
|
+
const { __scopePopover: t, forceMount: n, children: r, container: o } = e, a = He(or, t);
|
|
3378
3397
|
return /* @__PURE__ */ y(du, { scope: t, forceMount: n, children: /* @__PURE__ */ y(Te, { present: n || a.open, children: /* @__PURE__ */ y(en, { asChild: !0, container: o, children: r }) }) });
|
|
3379
3398
|
};
|
|
3380
3399
|
Qo.displayName = or;
|
|
3381
3400
|
var rt = "PopoverContent", Jo = l.forwardRef(
|
|
3382
3401
|
(e, t) => {
|
|
3383
|
-
const n = fu(rt, e.__scopePopover), { forceMount: r = n.forceMount, ...o } = e, a =
|
|
3402
|
+
const n = fu(rt, e.__scopePopover), { forceMount: r = n.forceMount, ...o } = e, a = He(rt, e.__scopePopover);
|
|
3384
3403
|
return /* @__PURE__ */ y(Te, { present: r || a.open, children: a.modal ? /* @__PURE__ */ y(hu, { ...o, ref: t }) : /* @__PURE__ */ y(gu, { ...o, ref: t }) });
|
|
3385
3404
|
}
|
|
3386
3405
|
);
|
|
3387
3406
|
Jo.displayName = rt;
|
|
3388
3407
|
var pu = /* @__PURE__ */ ou("PopoverContent.RemoveScroll"), hu = l.forwardRef(
|
|
3389
3408
|
(e, t) => {
|
|
3390
|
-
const n =
|
|
3409
|
+
const n = He(rt, e.__scopePopover), r = l.useRef(null), o = Z(t, r), a = l.useRef(!1);
|
|
3391
3410
|
return l.useEffect(() => {
|
|
3392
3411
|
const s = r.current;
|
|
3393
3412
|
if (s) return $o(s);
|
|
@@ -3420,7 +3439,7 @@ var pu = /* @__PURE__ */ ou("PopoverContent.RemoveScroll"), hu = l.forwardRef(
|
|
|
3420
3439
|
}
|
|
3421
3440
|
), gu = l.forwardRef(
|
|
3422
3441
|
(e, t) => {
|
|
3423
|
-
const n =
|
|
3442
|
+
const n = He(rt, e.__scopePopover), r = l.useRef(!1), o = l.useRef(!1);
|
|
3424
3443
|
return /* @__PURE__ */ y(
|
|
3425
3444
|
ea,
|
|
3426
3445
|
{
|
|
@@ -3454,7 +3473,7 @@ var pu = /* @__PURE__ */ ou("PopoverContent.RemoveScroll"), hu = l.forwardRef(
|
|
|
3454
3473
|
onFocusOutside: u,
|
|
3455
3474
|
onInteractOutside: d,
|
|
3456
3475
|
...f
|
|
3457
|
-
} = e, g =
|
|
3476
|
+
} = e, g = He(rt, n), v = Ct(n);
|
|
3458
3477
|
return io(), /* @__PURE__ */ y(
|
|
3459
3478
|
jn,
|
|
3460
3479
|
{
|
|
@@ -3499,7 +3518,7 @@ var pu = /* @__PURE__ */ ou("PopoverContent.RemoveScroll"), hu = l.forwardRef(
|
|
|
3499
3518
|
}
|
|
3500
3519
|
), ta = "PopoverClose", mu = l.forwardRef(
|
|
3501
3520
|
(e, t) => {
|
|
3502
|
-
const { __scopePopover: n, ...r } = e, o =
|
|
3521
|
+
const { __scopePopover: n, ...r } = e, o = He(ta, n);
|
|
3503
3522
|
return /* @__PURE__ */ y(
|
|
3504
3523
|
z.button,
|
|
3505
3524
|
{
|
|
@@ -3523,7 +3542,7 @@ function na(e) {
|
|
|
3523
3542
|
return e ? "open" : "closed";
|
|
3524
3543
|
}
|
|
3525
3544
|
var bu = Go, wu = Xo, Su = Zo, xu = Qo, ra = Jo;
|
|
3526
|
-
const
|
|
3545
|
+
const up = bu, dp = wu, fp = Su, Eu = l.forwardRef(({ className: e, align: t = "center", sideOffset: n = 4, ...r }, o) => /* @__PURE__ */ y(xu, { children: /* @__PURE__ */ y(nn, { children: /* @__PURE__ */ y(
|
|
3527
3546
|
ra,
|
|
3528
3547
|
{
|
|
3529
3548
|
ref: o,
|
|
@@ -3760,7 +3779,7 @@ function ga(e, t) {
|
|
|
3760
3779
|
return `${e}-content-${t}`;
|
|
3761
3780
|
}
|
|
3762
3781
|
var _u = sa, ma = ca, va = da, ya = pa;
|
|
3763
|
-
const
|
|
3782
|
+
const pp = _u, Lu = We("text-muted-foreground", {
|
|
3764
3783
|
variants: {
|
|
3765
3784
|
variant: {
|
|
3766
3785
|
segmented: "inline-flex items-center justify-center rounded-control bg-muted",
|
|
@@ -3890,7 +3909,7 @@ function kn(e, [t, n]) {
|
|
|
3890
3909
|
// @__NO_SIDE_EFFECTS__
|
|
3891
3910
|
function Bu(e) {
|
|
3892
3911
|
const t = /* @__PURE__ */ Wu(e), n = l.forwardRef((r, o) => {
|
|
3893
|
-
const { children: a, ...s } = r, i = l.Children.toArray(a), c = i.find(
|
|
3912
|
+
const { children: a, ...s } = r, i = l.Children.toArray(a), c = i.find(Uu);
|
|
3894
3913
|
if (c) {
|
|
3895
3914
|
const u = c.props.children, d = i.map((f) => f === c ? l.Children.count(u) > 1 ? l.Children.only(null) : l.isValidElement(u) ? u.props.children : null : f);
|
|
3896
3915
|
return /* @__PURE__ */ y(t, { ...s, ref: o, children: l.isValidElement(u) ? l.cloneElement(u, void 0, d) : null });
|
|
@@ -3911,9 +3930,9 @@ function Wu(e) {
|
|
|
3911
3930
|
});
|
|
3912
3931
|
return t.displayName = `${e}.SlotClone`, t;
|
|
3913
3932
|
}
|
|
3914
|
-
var
|
|
3915
|
-
function
|
|
3916
|
-
return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
3933
|
+
var Hu = Symbol("radix.slottable");
|
|
3934
|
+
function Uu(e) {
|
|
3935
|
+
return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Hu;
|
|
3917
3936
|
}
|
|
3918
3937
|
function Vu(e, t) {
|
|
3919
3938
|
const n = { ...t };
|
|
@@ -3957,7 +3976,7 @@ xa.displayName = ju;
|
|
|
3957
3976
|
var Ku = xa, Gu = [" ", "Enter", "ArrowUp", "ArrowDown"], Yu = [" ", "Enter"], Ge = "Select", [an, sn, Xu] = ro(Ge), [ut] = Fe(Ge, [
|
|
3958
3977
|
Xu,
|
|
3959
3978
|
ct
|
|
3960
|
-
]), ln = ct(), [qu,
|
|
3979
|
+
]), ln = ct(), [qu, Ue] = ut(Ge), [Zu, Qu] = ut(Ge), Ea = (e) => {
|
|
3961
3980
|
const {
|
|
3962
3981
|
__scopeSelect: t,
|
|
3963
3982
|
children: n,
|
|
@@ -3983,7 +4002,7 @@ var Ku = xa, Gu = [" ", "Enter", "ArrowUp", "ArrowDown"], Yu = [" ", "Enter"], G
|
|
|
3983
4002
|
defaultProp: i,
|
|
3984
4003
|
onChange: c,
|
|
3985
4004
|
caller: Ge
|
|
3986
|
-
}), F = l.useRef(null), $ = b ? E || !!b.closest("form") : !0, [V,
|
|
4005
|
+
}), F = l.useRef(null), $ = b ? E || !!b.closest("form") : !0, [V, H] = l.useState(/* @__PURE__ */ new Set()), G = Array.from(V).map((D) => D.props.value).join(";");
|
|
3987
4006
|
return /* @__PURE__ */ y(er, { ...m, children: /* @__PURE__ */ de(
|
|
3988
4007
|
qu,
|
|
3989
4008
|
{
|
|
@@ -4009,10 +4028,10 @@ var Ku = xa, Gu = [" ", "Enter", "ArrowUp", "ArrowDown"], Yu = [" ", "Enter"], G
|
|
|
4009
4028
|
{
|
|
4010
4029
|
scope: e.__scopeSelect,
|
|
4011
4030
|
onNativeOptionAdd: l.useCallback((D) => {
|
|
4012
|
-
|
|
4031
|
+
H((_) => new Set(_).add(D));
|
|
4013
4032
|
}, []),
|
|
4014
4033
|
onNativeOptionRemove: l.useCallback((D) => {
|
|
4015
|
-
|
|
4034
|
+
H((_) => {
|
|
4016
4035
|
const N = new Set(_);
|
|
4017
4036
|
return N.delete(D), N;
|
|
4018
4037
|
});
|
|
@@ -4046,7 +4065,7 @@ var Ku = xa, Gu = [" ", "Enter", "ArrowUp", "ArrowDown"], Yu = [" ", "Enter"], G
|
|
|
4046
4065
|
Ea.displayName = Ge;
|
|
4047
4066
|
var Ca = "SelectTrigger", Aa = l.forwardRef(
|
|
4048
4067
|
(e, t) => {
|
|
4049
|
-
const { __scopeSelect: n, disabled: r = !1, ...o } = e, a = ln(n), s =
|
|
4068
|
+
const { __scopeSelect: n, disabled: r = !1, ...o } = e, a = ln(n), s = Ue(Ca, n), i = s.disabled || r, c = Z(t, s.onTriggerChange), u = sn(n), d = l.useRef("touch"), [f, g, v] = qa((m) => {
|
|
4050
4069
|
const b = u().filter((h) => !h.disabled), x = b.find((h) => h.value === s.value), p = Za(b, m, x);
|
|
4051
4070
|
p !== void 0 && s.onValueChange(p.value);
|
|
4052
4071
|
}), E = (m) => {
|
|
@@ -4090,7 +4109,7 @@ var Ca = "SelectTrigger", Aa = l.forwardRef(
|
|
|
4090
4109
|
Aa.displayName = Ca;
|
|
4091
4110
|
var Ra = "SelectValue", Ta = l.forwardRef(
|
|
4092
4111
|
(e, t) => {
|
|
4093
|
-
const { __scopeSelect: n, className: r, style: o, children: a, placeholder: s = "", ...i } = e, c =
|
|
4112
|
+
const { __scopeSelect: n, className: r, style: o, children: a, placeholder: s = "", ...i } = e, c = Ue(Ra, n), { onValueNodeHasChildrenChange: u } = c, d = a !== void 0, f = Z(t, c.onValueNodeChange);
|
|
4094
4113
|
return se(() => {
|
|
4095
4114
|
u(d);
|
|
4096
4115
|
}, [u, d]), /* @__PURE__ */ y(
|
|
@@ -4116,7 +4135,7 @@ var ed = "SelectPortal", Na = (e) => /* @__PURE__ */ y(en, { asChild: !0, ...e }
|
|
|
4116
4135
|
Na.displayName = ed;
|
|
4117
4136
|
var Ye = "SelectContent", Ia = l.forwardRef(
|
|
4118
4137
|
(e, t) => {
|
|
4119
|
-
const n =
|
|
4138
|
+
const n = Ue(Ye, e.__scopeSelect), [r, o] = l.useState();
|
|
4120
4139
|
if (se(() => {
|
|
4121
4140
|
o(new DocumentFragment());
|
|
4122
4141
|
}, []), !n.open) {
|
|
@@ -4130,7 +4149,7 @@ var Ye = "SelectContent", Ia = l.forwardRef(
|
|
|
4130
4149
|
}
|
|
4131
4150
|
);
|
|
4132
4151
|
Ia.displayName = Ye;
|
|
4133
|
-
var
|
|
4152
|
+
var be = 10, [Oa, Ve] = ut(Ye), td = "SelectContentImpl", nd = /* @__PURE__ */ Bu("SelectContent.RemoveScroll"), Fa = l.forwardRef(
|
|
4134
4153
|
(e, t) => {
|
|
4135
4154
|
const {
|
|
4136
4155
|
__scopeSelect: n,
|
|
@@ -4152,9 +4171,9 @@ var ye = 10, [Oa, Ve] = ut(Ye), td = "SelectContentImpl", nd = /* @__PURE__ */ B
|
|
|
4152
4171
|
avoidCollisions: b,
|
|
4153
4172
|
//
|
|
4154
4173
|
...x
|
|
4155
|
-
} = e, p =
|
|
4174
|
+
} = e, p = Ue(Ye, n), [h, w] = l.useState(null), [S, C] = l.useState(null), A = Z(t, (L) => w(L)), [T, R] = l.useState(null), [I, F] = l.useState(
|
|
4156
4175
|
null
|
|
4157
|
-
), $ = sn(n), [V,
|
|
4176
|
+
), $ = sn(n), [V, H] = l.useState(!1), G = l.useRef(!1);
|
|
4158
4177
|
l.useEffect(() => {
|
|
4159
4178
|
if (h) return $o(h);
|
|
4160
4179
|
}, [h]), io();
|
|
@@ -4269,7 +4288,7 @@ var ye = 10, [Oa, Ve] = ut(Ye), td = "SelectContentImpl", nd = /* @__PURE__ */ B
|
|
|
4269
4288
|
onContextMenu: (L) => L.preventDefault(),
|
|
4270
4289
|
...x,
|
|
4271
4290
|
...le,
|
|
4272
|
-
onPlaced: () =>
|
|
4291
|
+
onPlaced: () => H(!0),
|
|
4273
4292
|
ref: A,
|
|
4274
4293
|
style: {
|
|
4275
4294
|
// flex layout so we can place the scroll buttons properly
|
|
@@ -4302,28 +4321,28 @@ var ye = 10, [Oa, Ve] = ut(Ye), td = "SelectContentImpl", nd = /* @__PURE__ */ B
|
|
|
4302
4321
|
);
|
|
4303
4322
|
Fa.displayName = td;
|
|
4304
4323
|
var rd = "SelectItemAlignedPosition", _a = l.forwardRef((e, t) => {
|
|
4305
|
-
const { __scopeSelect: n, onPlaced: r, ...o } = e, a =
|
|
4324
|
+
const { __scopeSelect: n, onPlaced: r, ...o } = e, a = Ue(Ye, n), s = Ve(Ye, n), [i, c] = l.useState(null), [u, d] = l.useState(null), f = Z(t, (A) => d(A)), g = sn(n), v = l.useRef(!1), E = l.useRef(!0), { viewport: m, selectedItem: b, selectedItemText: x, focusSelectedItem: p } = s, h = l.useCallback(() => {
|
|
4306
4325
|
if (a.trigger && a.valueNode && i && u && m && b && x) {
|
|
4307
4326
|
const A = a.trigger.getBoundingClientRect(), T = u.getBoundingClientRect(), R = a.valueNode.getBoundingClientRect(), I = x.getBoundingClientRect();
|
|
4308
4327
|
if (a.dir !== "rtl") {
|
|
4309
|
-
const K = I.left - T.left, X = R.left - K, P = A.left - X,
|
|
4310
|
-
|
|
4328
|
+
const K = I.left - T.left, X = R.left - K, P = A.left - X, U = A.width + P, B = Math.max(U, T.width), W = window.innerWidth - be, ee = kn(X, [
|
|
4329
|
+
be,
|
|
4311
4330
|
// Prevents the content from going off the starting edge of the
|
|
4312
4331
|
// viewport. It may still go off the ending edge, but this can be
|
|
4313
4332
|
// controlled by the user since they may want to manage overflow in a
|
|
4314
4333
|
// specific way.
|
|
4315
4334
|
// https://github.com/radix-ui/primitives/issues/2049
|
|
4316
|
-
Math.max(
|
|
4335
|
+
Math.max(be, W - B)
|
|
4317
4336
|
]);
|
|
4318
|
-
i.style.minWidth =
|
|
4337
|
+
i.style.minWidth = U + "px", i.style.left = ee + "px";
|
|
4319
4338
|
} else {
|
|
4320
|
-
const K = T.right - I.right, X = window.innerWidth - R.right - K, P = window.innerWidth - A.right - X,
|
|
4321
|
-
|
|
4322
|
-
Math.max(
|
|
4339
|
+
const K = T.right - I.right, X = window.innerWidth - R.right - K, P = window.innerWidth - A.right - X, U = A.width + P, B = Math.max(U, T.width), W = window.innerWidth - be, ee = kn(X, [
|
|
4340
|
+
be,
|
|
4341
|
+
Math.max(be, W - B)
|
|
4323
4342
|
]);
|
|
4324
|
-
i.style.minWidth =
|
|
4343
|
+
i.style.minWidth = U + "px", i.style.right = ee + "px";
|
|
4325
4344
|
}
|
|
4326
|
-
const F = g(), $ = window.innerHeight -
|
|
4345
|
+
const F = g(), $ = window.innerHeight - be * 2, V = m.scrollHeight, H = window.getComputedStyle(u), G = parseInt(H.borderTopWidth, 10), D = parseInt(H.paddingTop, 10), _ = parseInt(H.borderBottomWidth, 10), N = parseInt(H.paddingBottom, 10), O = G + D + V + N + _, k = Math.min(b.offsetHeight * 5, O), q = window.getComputedStyle(m), Q = parseInt(q.paddingTop, 10), re = parseInt(q.paddingBottom, 10), J = A.top + A.height / 2 - be, ae = $ - J, le = b.offsetHeight / 2, L = b.offsetTop + le, j = G + D + L, ne = O - j;
|
|
4327
4346
|
if (j <= J) {
|
|
4328
4347
|
const K = F.length > 0 && b === F[F.length - 1].ref.current;
|
|
4329
4348
|
i.style.bottom = "0px";
|
|
@@ -4331,8 +4350,8 @@ var rd = "SelectItemAlignedPosition", _a = l.forwardRef((e, t) => {
|
|
|
4331
4350
|
ae,
|
|
4332
4351
|
le + // viewport might have padding bottom, include it to avoid a scrollable viewport
|
|
4333
4352
|
(K ? re : 0) + X + _
|
|
4334
|
-
),
|
|
4335
|
-
i.style.height =
|
|
4353
|
+
), U = j + P;
|
|
4354
|
+
i.style.height = U + "px";
|
|
4336
4355
|
} else {
|
|
4337
4356
|
const K = F.length > 0 && b === F[0].ref.current;
|
|
4338
4357
|
i.style.top = "0px";
|
|
@@ -4343,7 +4362,7 @@ var rd = "SelectItemAlignedPosition", _a = l.forwardRef((e, t) => {
|
|
|
4343
4362
|
) + ne;
|
|
4344
4363
|
i.style.height = P + "px", m.scrollTop = j - J + m.offsetTop;
|
|
4345
4364
|
}
|
|
4346
|
-
i.style.margin = `${
|
|
4365
|
+
i.style.margin = `${be}px 0`, i.style.minHeight = k + "px", i.style.maxHeight = $ + "px", r == null || r(), requestAnimationFrame(() => v.current = !0);
|
|
4347
4366
|
}
|
|
4348
4367
|
}, [
|
|
4349
4368
|
g,
|
|
@@ -4410,7 +4429,7 @@ var od = "SelectPopperPosition", Dn = l.forwardRef((e, t) => {
|
|
|
4410
4429
|
const {
|
|
4411
4430
|
__scopeSelect: n,
|
|
4412
4431
|
align: r = "start",
|
|
4413
|
-
collisionPadding: o =
|
|
4432
|
+
collisionPadding: o = be,
|
|
4414
4433
|
...a
|
|
4415
4434
|
} = e, s = ln(n);
|
|
4416
4435
|
return /* @__PURE__ */ y(
|
|
@@ -4473,7 +4492,7 @@ var [ad, ir] = ut(Ye, {}), Mn = "SelectViewport", La = l.forwardRef(
|
|
|
4473
4492
|
if (g != null && g.current && f) {
|
|
4474
4493
|
const v = Math.abs(c.current - d.scrollTop);
|
|
4475
4494
|
if (v > 0) {
|
|
4476
|
-
const E = window.innerHeight -
|
|
4495
|
+
const E = window.innerHeight - be * 2, m = parseFloat(f.style.minHeight), b = parseFloat(f.style.height), x = Math.max(m, b);
|
|
4477
4496
|
if (x < E) {
|
|
4478
4497
|
const p = x + v, h = Math.min(E, p), w = p - h;
|
|
4479
4498
|
f.style.height = h + "px", f.style.bottom === "0px" && (d.scrollTop = w > 0 ? w : 0, f.style.justifyContent = "flex-end");
|
|
@@ -4510,7 +4529,7 @@ var Vt = "SelectItem", [ld, Ba] = ut(Vt), Wa = l.forwardRef(
|
|
|
4510
4529
|
disabled: o = !1,
|
|
4511
4530
|
textValue: a,
|
|
4512
4531
|
...s
|
|
4513
|
-
} = e, i =
|
|
4532
|
+
} = e, i = Ue(Vt, n), c = Ve(Vt, n), u = i.value === r, [d, f] = l.useState(a ?? ""), [g, v] = l.useState(!1), E = Z(
|
|
4514
4533
|
t,
|
|
4515
4534
|
(p) => {
|
|
4516
4535
|
var h;
|
|
@@ -4586,9 +4605,9 @@ var Vt = "SelectItem", [ld, Ba] = ut(Vt), Wa = l.forwardRef(
|
|
|
4586
4605
|
}
|
|
4587
4606
|
);
|
|
4588
4607
|
Wa.displayName = Vt;
|
|
4589
|
-
var vt = "SelectItemText",
|
|
4608
|
+
var vt = "SelectItemText", Ha = l.forwardRef(
|
|
4590
4609
|
(e, t) => {
|
|
4591
|
-
const { __scopeSelect: n, className: r, style: o, ...a } = e, s =
|
|
4610
|
+
const { __scopeSelect: n, className: r, style: o, ...a } = e, s = Ue(vt, n), i = Ve(vt, n), c = Ba(vt, n), u = Qu(vt, n), [d, f] = l.useState(null), g = Z(
|
|
4592
4611
|
t,
|
|
4593
4612
|
(x) => f(x),
|
|
4594
4613
|
c.onItemTextChange,
|
|
@@ -4606,14 +4625,14 @@ var vt = "SelectItemText", Ua = l.forwardRef(
|
|
|
4606
4625
|
] });
|
|
4607
4626
|
}
|
|
4608
4627
|
);
|
|
4609
|
-
|
|
4610
|
-
var
|
|
4628
|
+
Ha.displayName = vt;
|
|
4629
|
+
var Ua = "SelectItemIndicator", Va = l.forwardRef(
|
|
4611
4630
|
(e, t) => {
|
|
4612
4631
|
const { __scopeSelect: n, ...r } = e;
|
|
4613
|
-
return Ba(
|
|
4632
|
+
return Ba(Ua, n).isSelected ? /* @__PURE__ */ y(z.span, { "aria-hidden": !0, ...r, ref: t }) : null;
|
|
4614
4633
|
}
|
|
4615
4634
|
);
|
|
4616
|
-
Va.displayName =
|
|
4635
|
+
Va.displayName = Ua;
|
|
4617
4636
|
var $n = "SelectScrollUpButton", za = l.forwardRef((e, t) => {
|
|
4618
4637
|
const n = Ve($n, e.__scopeSelect), r = ir($n, e.__scopeSelect), [o, a] = l.useState(!1), s = Z(t, r.onScrollButtonChange);
|
|
4619
4638
|
return se(() => {
|
|
@@ -4698,7 +4717,7 @@ var Ka = l.forwardRef((e, t) => {
|
|
|
4698
4717
|
Ga.displayName = cd;
|
|
4699
4718
|
var Wn = "SelectArrow", ud = l.forwardRef(
|
|
4700
4719
|
(e, t) => {
|
|
4701
|
-
const { __scopeSelect: n, ...r } = e, o = ln(n), a =
|
|
4720
|
+
const { __scopeSelect: n, ...r } = e, o = ln(n), a = Ue(Wn, n), s = Ve(Wn, n);
|
|
4702
4721
|
return a.open && s.position === "popper" ? /* @__PURE__ */ y(nr, { ...o, ...r, ref: t }) : null;
|
|
4703
4722
|
}
|
|
4704
4723
|
);
|
|
@@ -4758,8 +4777,8 @@ function Za(e, t, n) {
|
|
|
4758
4777
|
function fd(e, t) {
|
|
4759
4778
|
return e.map((n, r) => e[(t + r) % e.length]);
|
|
4760
4779
|
}
|
|
4761
|
-
var pd = Ea, Qa = Aa, hd = Ta, gd = Pa, md = Na, Ja = Ia, vd = La, yd = Da, ei = $a, ti = Wa, bd =
|
|
4762
|
-
const
|
|
4780
|
+
var pd = Ea, Qa = Aa, hd = Ta, gd = Pa, md = Na, Ja = Ia, vd = La, yd = Da, ei = $a, ti = Wa, bd = Ha, wd = Va, ni = za, ri = ja, oi = Ga;
|
|
4781
|
+
const hp = pd, gp = yd, mp = hd, Sd = We(
|
|
4763
4782
|
// Border-only focus (no outset ring) — mirrors Input / Textarea so
|
|
4764
4783
|
// focus chrome is consistent across form primitives and never gets
|
|
4765
4784
|
// clipped by tight parent containers. See CHANGES.md.
|
|
@@ -4961,7 +4980,7 @@ Fd.displayName = li.displayName;
|
|
|
4961
4980
|
function _d(e, t) {
|
|
4962
4981
|
return l.useReducer((n, r) => t[n][r] ?? n, e);
|
|
4963
4982
|
}
|
|
4964
|
-
var sr = "ScrollArea", [ci] = Fe(sr), [Ld,
|
|
4983
|
+
var sr = "ScrollArea", [ci] = Fe(sr), [Ld, ye] = ci(sr), ui = l.forwardRef(
|
|
4965
4984
|
(e, t) => {
|
|
4966
4985
|
const {
|
|
4967
4986
|
__scopeScrollArea: n,
|
|
@@ -5014,7 +5033,7 @@ var sr = "ScrollArea", [ci] = Fe(sr), [Ld, ve] = ci(sr), ui = l.forwardRef(
|
|
|
5014
5033
|
ui.displayName = sr;
|
|
5015
5034
|
var di = "ScrollAreaViewport", fi = l.forwardRef(
|
|
5016
5035
|
(e, t) => {
|
|
5017
|
-
const { __scopeScrollArea: n, children: r, nonce: o, ...a } = e, s =
|
|
5036
|
+
const { __scopeScrollArea: n, children: r, nonce: o, ...a } = e, s = ye(di, n), i = l.useRef(null), c = Z(t, i, s.onViewportChange);
|
|
5018
5037
|
return /* @__PURE__ */ de(St, { children: [
|
|
5019
5038
|
/* @__PURE__ */ y(
|
|
5020
5039
|
"style",
|
|
@@ -5056,7 +5075,7 @@ var di = "ScrollAreaViewport", fi = l.forwardRef(
|
|
|
5056
5075
|
fi.displayName = di;
|
|
5057
5076
|
var Pe = "ScrollAreaScrollbar", lr = l.forwardRef(
|
|
5058
5077
|
(e, t) => {
|
|
5059
|
-
const { forceMount: n, ...r } = e, o =
|
|
5078
|
+
const { forceMount: n, ...r } = e, o = ye(Pe, e.__scopeScrollArea), { onScrollbarXEnabledChange: a, onScrollbarYEnabledChange: s } = o, i = e.orientation === "horizontal";
|
|
5060
5079
|
return l.useEffect(() => (i ? a(!0) : s(!0), () => {
|
|
5061
5080
|
i ? a(!1) : s(!1);
|
|
5062
5081
|
}), [i, a, s]), o.type === "hover" ? /* @__PURE__ */ y(kd, { ...r, ref: t, forceMount: n }) : o.type === "scroll" ? /* @__PURE__ */ y(Dd, { ...r, ref: t, forceMount: n }) : o.type === "auto" ? /* @__PURE__ */ y(pi, { ...r, ref: t, forceMount: n }) : o.type === "always" ? /* @__PURE__ */ y(cr, { ...r, ref: t }) : null;
|
|
@@ -5064,7 +5083,7 @@ var Pe = "ScrollAreaScrollbar", lr = l.forwardRef(
|
|
|
5064
5083
|
);
|
|
5065
5084
|
lr.displayName = Pe;
|
|
5066
5085
|
var kd = l.forwardRef((e, t) => {
|
|
5067
|
-
const { forceMount: n, ...r } = e, o =
|
|
5086
|
+
const { forceMount: n, ...r } = e, o = ye(Pe, e.__scopeScrollArea), [a, s] = l.useState(!1);
|
|
5068
5087
|
return l.useEffect(() => {
|
|
5069
5088
|
const i = o.scrollArea;
|
|
5070
5089
|
let c = 0;
|
|
@@ -5087,7 +5106,7 @@ var kd = l.forwardRef((e, t) => {
|
|
|
5087
5106
|
}
|
|
5088
5107
|
) });
|
|
5089
5108
|
}), Dd = l.forwardRef((e, t) => {
|
|
5090
|
-
const { forceMount: n, ...r } = e, o =
|
|
5109
|
+
const { forceMount: n, ...r } = e, o = ye(Pe, e.__scopeScrollArea), a = e.orientation === "horizontal", s = un(() => c("SCROLL_END"), 100), [i, c] = _d("hidden", {
|
|
5091
5110
|
hidden: {
|
|
5092
5111
|
SCROLL: "scrolling"
|
|
5093
5112
|
},
|
|
@@ -5131,7 +5150,7 @@ var kd = l.forwardRef((e, t) => {
|
|
|
5131
5150
|
}
|
|
5132
5151
|
) });
|
|
5133
5152
|
}), pi = l.forwardRef((e, t) => {
|
|
5134
|
-
const n =
|
|
5153
|
+
const n = ye(Pe, e.__scopeScrollArea), { forceMount: r, ...o } = e, [a, s] = l.useState(!1), i = e.orientation === "horizontal", c = un(() => {
|
|
5135
5154
|
if (n.viewport) {
|
|
5136
5155
|
const u = n.viewport.offsetWidth < n.viewport.scrollWidth, d = n.viewport.offsetHeight < n.viewport.scrollHeight;
|
|
5137
5156
|
s(i ? u : d);
|
|
@@ -5146,7 +5165,7 @@ var kd = l.forwardRef((e, t) => {
|
|
|
5146
5165
|
}
|
|
5147
5166
|
) });
|
|
5148
5167
|
}), cr = l.forwardRef((e, t) => {
|
|
5149
|
-
const { orientation: n = "vertical", ...r } = e, o =
|
|
5168
|
+
const { orientation: n = "vertical", ...r } = e, o = ye(Pe, e.__scopeScrollArea), a = l.useRef(null), s = l.useRef(0), [i, c] = l.useState({
|
|
5150
5169
|
content: 0,
|
|
5151
5170
|
viewport: 0,
|
|
5152
5171
|
scrollbar: { size: 0, paddingStart: 0, paddingEnd: 0 }
|
|
@@ -5160,7 +5179,7 @@ var kd = l.forwardRef((e, t) => {
|
|
|
5160
5179
|
onThumbPointerDown: (g) => s.current = g
|
|
5161
5180
|
};
|
|
5162
5181
|
function f(g, v) {
|
|
5163
|
-
return
|
|
5182
|
+
return Ud(g, s.current, i, v);
|
|
5164
5183
|
}
|
|
5165
5184
|
return n === "horizontal" ? /* @__PURE__ */ y(
|
|
5166
5185
|
Md,
|
|
@@ -5200,7 +5219,7 @@ var kd = l.forwardRef((e, t) => {
|
|
|
5200
5219
|
}
|
|
5201
5220
|
) : null;
|
|
5202
5221
|
}), Md = l.forwardRef((e, t) => {
|
|
5203
|
-
const { sizes: n, onSizesChange: r, ...o } = e, a =
|
|
5222
|
+
const { sizes: n, onSizesChange: r, ...o } = e, a = ye(Pe, e.__scopeScrollArea), [s, i] = l.useState(), c = l.useRef(null), u = Z(t, c, a.onScrollbarXChange);
|
|
5204
5223
|
return l.useEffect(() => {
|
|
5205
5224
|
c.current && i(getComputedStyle(c.current));
|
|
5206
5225
|
}, [c]), /* @__PURE__ */ y(
|
|
@@ -5239,7 +5258,7 @@ var kd = l.forwardRef((e, t) => {
|
|
|
5239
5258
|
}
|
|
5240
5259
|
);
|
|
5241
5260
|
}), $d = l.forwardRef((e, t) => {
|
|
5242
|
-
const { sizes: n, onSizesChange: r, ...o } = e, a =
|
|
5261
|
+
const { sizes: n, onSizesChange: r, ...o } = e, a = ye(Pe, e.__scopeScrollArea), [s, i] = l.useState(), c = l.useRef(null), u = Z(t, c, a.onScrollbarYChange);
|
|
5243
5262
|
return l.useEffect(() => {
|
|
5244
5263
|
c.current && i(getComputedStyle(c.current));
|
|
5245
5264
|
}, [c]), /* @__PURE__ */ y(
|
|
@@ -5291,7 +5310,7 @@ var kd = l.forwardRef((e, t) => {
|
|
|
5291
5310
|
onWheelScroll: d,
|
|
5292
5311
|
onResize: f,
|
|
5293
5312
|
...g
|
|
5294
|
-
} = e, v =
|
|
5313
|
+
} = e, v = ye(Pe, n), [E, m] = l.useState(null), b = Z(t, (R) => m(R)), x = l.useRef(null), p = l.useRef(""), h = v.viewport, w = r.content - r.viewport, S = ce(d), C = ce(c), A = un(f, 10);
|
|
5295
5314
|
function T(R) {
|
|
5296
5315
|
if (x.current) {
|
|
5297
5316
|
const I = R.clientX - x.current.left, F = R.clientY - x.current.top;
|
|
@@ -5339,7 +5358,7 @@ var kd = l.forwardRef((e, t) => {
|
|
|
5339
5358
|
}
|
|
5340
5359
|
), Wd = l.forwardRef(
|
|
5341
5360
|
(e, t) => {
|
|
5342
|
-
const { __scopeScrollArea: n, style: r, ...o } = e, a =
|
|
5361
|
+
const { __scopeScrollArea: n, style: r, ...o } = e, a = ye(zt, n), s = hi(zt, n), { onThumbPositionChange: i } = s, c = Z(
|
|
5343
5362
|
t,
|
|
5344
5363
|
(f) => s.onThumbChange(f)
|
|
5345
5364
|
), u = l.useRef(void 0), d = un(() => {
|
|
@@ -5379,13 +5398,13 @@ var kd = l.forwardRef((e, t) => {
|
|
|
5379
5398
|
mi.displayName = zt;
|
|
5380
5399
|
var ur = "ScrollAreaCorner", vi = l.forwardRef(
|
|
5381
5400
|
(e, t) => {
|
|
5382
|
-
const n =
|
|
5383
|
-
return n.type !== "scroll" && r ? /* @__PURE__ */ y(
|
|
5401
|
+
const n = ye(ur, e.__scopeScrollArea), r = !!(n.scrollbarX && n.scrollbarY);
|
|
5402
|
+
return n.type !== "scroll" && r ? /* @__PURE__ */ y(Hd, { ...e, ref: t }) : null;
|
|
5384
5403
|
}
|
|
5385
5404
|
);
|
|
5386
5405
|
vi.displayName = ur;
|
|
5387
|
-
var
|
|
5388
|
-
const { __scopeScrollArea: n, ...r } = e, o =
|
|
5406
|
+
var Hd = l.forwardRef((e, t) => {
|
|
5407
|
+
const { __scopeScrollArea: n, ...r } = e, o = ye(ur, n), [a, s] = l.useState(0), [i, c] = l.useState(0), u = !!(a && i);
|
|
5389
5408
|
return ot(o.scrollbarX, () => {
|
|
5390
5409
|
var f;
|
|
5391
5410
|
const d = ((f = o.scrollbarX) == null ? void 0 : f.offsetHeight) || 0;
|
|
@@ -5422,7 +5441,7 @@ function cn(e) {
|
|
|
5422
5441
|
const t = yi(e.viewport, e.content), n = e.scrollbar.paddingStart + e.scrollbar.paddingEnd, r = (e.scrollbar.size - n) * t;
|
|
5423
5442
|
return Math.max(r, 18);
|
|
5424
5443
|
}
|
|
5425
|
-
function
|
|
5444
|
+
function Ud(e, t, n, r = "ltr") {
|
|
5426
5445
|
const o = cn(n), a = o / 2, s = t || a, i = o - s, c = n.scrollbar.paddingStart + s, u = n.scrollbar.size - n.scrollbar.paddingEnd - i, d = n.content - n.viewport, f = r === "ltr" ? [0, d] : [d * -1, 0];
|
|
5427
5446
|
return bi([c, u], f)(e);
|
|
5428
5447
|
}
|
|
@@ -5507,7 +5526,7 @@ function Yd(e) {
|
|
|
5507
5526
|
}
|
|
5508
5527
|
var [dn] = Fe("Tooltip", [
|
|
5509
5528
|
ct
|
|
5510
|
-
]), fn = ct(), Ei = "TooltipProvider", Xd = 700,
|
|
5529
|
+
]), fn = ct(), Ei = "TooltipProvider", Xd = 700, Hn = "tooltip.open", [qd, dr] = dn(Ei), Ci = (e) => {
|
|
5511
5530
|
const {
|
|
5512
5531
|
__scopeTooltip: t,
|
|
5513
5532
|
delayDuration: n = Xd,
|
|
@@ -5556,7 +5575,7 @@ var bt = "Tooltip", [Zd, At] = dn(bt), Ai = (e) => {
|
|
|
5556
5575
|
prop: r,
|
|
5557
5576
|
defaultProp: o ?? !1,
|
|
5558
5577
|
onChange: (A) => {
|
|
5559
|
-
A ? (c.onOpen(), document.dispatchEvent(new CustomEvent(
|
|
5578
|
+
A ? (c.onOpen(), document.dispatchEvent(new CustomEvent(Hn))) : c.onClose(), a == null || a(A);
|
|
5560
5579
|
},
|
|
5561
5580
|
caller: bt
|
|
5562
5581
|
}), h = l.useMemo(() => x ? b.current ? "delayed-open" : "instant-open" : "closed", [x]), w = l.useCallback(() => {
|
|
@@ -5593,9 +5612,9 @@ var bt = "Tooltip", [Zd, At] = dn(bt), Ai = (e) => {
|
|
|
5593
5612
|
) });
|
|
5594
5613
|
};
|
|
5595
5614
|
Ai.displayName = bt;
|
|
5596
|
-
var
|
|
5615
|
+
var Un = "TooltipTrigger", Ri = l.forwardRef(
|
|
5597
5616
|
(e, t) => {
|
|
5598
|
-
const { __scopeTooltip: n, ...r } = e, o = At(
|
|
5617
|
+
const { __scopeTooltip: n, ...r } = e, o = At(Un, n), a = dr(Un, n), s = fn(n), i = l.useRef(null), c = Z(t, i, o.onTriggerChange), u = l.useRef(!1), d = l.useRef(!1), f = l.useCallback(() => u.current = !1, []);
|
|
5599
5618
|
return l.useEffect(() => () => document.removeEventListener("pointerup", f), [f]), /* @__PURE__ */ y(Jt, { asChild: !0, ...s, children: /* @__PURE__ */ y(
|
|
5600
5619
|
z.button,
|
|
5601
5620
|
{
|
|
@@ -5621,7 +5640,7 @@ var Hn = "TooltipTrigger", Ri = l.forwardRef(
|
|
|
5621
5640
|
) });
|
|
5622
5641
|
}
|
|
5623
5642
|
);
|
|
5624
|
-
Ri.displayName =
|
|
5643
|
+
Ri.displayName = Un;
|
|
5625
5644
|
var fr = "TooltipPortal", [Qd, Jd] = dn(fr, {
|
|
5626
5645
|
forceMount: void 0
|
|
5627
5646
|
}), Ti = (e) => {
|
|
@@ -5670,7 +5689,7 @@ var at = "TooltipContent", Pi = l.forwardRef(
|
|
|
5670
5689
|
onPointerDownOutside: s,
|
|
5671
5690
|
...i
|
|
5672
5691
|
} = e, c = At(at, n), u = fn(n), { onClose: d } = c;
|
|
5673
|
-
return l.useEffect(() => (document.addEventListener(
|
|
5692
|
+
return l.useEffect(() => (document.addEventListener(Hn, d), () => document.removeEventListener(Hn, d)), [d]), l.useEffect(() => {
|
|
5674
5693
|
if (c.trigger) {
|
|
5675
5694
|
const f = (g) => {
|
|
5676
5695
|
const v = g.target;
|
|
@@ -5816,7 +5835,7 @@ function uf(e) {
|
|
|
5816
5835
|
return n.pop(), t.length === 1 && n.length === 1 && t[0].x === n[0].x && t[0].y === n[0].y ? t : t.concat(n);
|
|
5817
5836
|
}
|
|
5818
5837
|
var df = Ci, ff = Ai, pf = Ri, hf = Ti, Fi = Pi, gf = Oi;
|
|
5819
|
-
const
|
|
5838
|
+
const vp = df, yp = ff, bp = pf, mf = l.forwardRef(({ className: e, sideOffset: t = 4, forceMount: n, ...r }, o) => (
|
|
5820
5839
|
// Thread `forceMount` to both Portal and Content. If a caller forces
|
|
5821
5840
|
// the tooltip mounted (e.g., for framer-motion exit animations or
|
|
5822
5841
|
// layout measurement on a closed tooltip), the outer Portal must also
|
|
@@ -5839,8 +5858,163 @@ const mp = df, vp = ff, yp = pf, mf = l.forwardRef(({ className: e, sideOffset:
|
|
|
5839
5858
|
) }) })
|
|
5840
5859
|
));
|
|
5841
5860
|
mf.displayName = Fi.displayName;
|
|
5842
|
-
const
|
|
5843
|
-
var
|
|
5861
|
+
const wp = gf;
|
|
5862
|
+
var pn = "Switch", [vf] = Fe(pn), [yf, bf] = vf(pn), _i = l.forwardRef(
|
|
5863
|
+
(e, t) => {
|
|
5864
|
+
const {
|
|
5865
|
+
__scopeSwitch: n,
|
|
5866
|
+
name: r,
|
|
5867
|
+
checked: o,
|
|
5868
|
+
defaultChecked: a,
|
|
5869
|
+
required: s,
|
|
5870
|
+
disabled: i,
|
|
5871
|
+
value: c = "on",
|
|
5872
|
+
onCheckedChange: u,
|
|
5873
|
+
form: d,
|
|
5874
|
+
...f
|
|
5875
|
+
} = e, [g, v] = l.useState(null), E = Z(t, (h) => v(h)), m = l.useRef(!1), b = g ? d || !!g.closest("form") : !0, [x, p] = je({
|
|
5876
|
+
prop: o,
|
|
5877
|
+
defaultProp: a ?? !1,
|
|
5878
|
+
onChange: u,
|
|
5879
|
+
caller: pn
|
|
5880
|
+
});
|
|
5881
|
+
return /* @__PURE__ */ de(yf, { scope: n, checked: x, disabled: i, children: [
|
|
5882
|
+
/* @__PURE__ */ y(
|
|
5883
|
+
z.button,
|
|
5884
|
+
{
|
|
5885
|
+
type: "button",
|
|
5886
|
+
role: "switch",
|
|
5887
|
+
"aria-checked": x,
|
|
5888
|
+
"aria-required": s,
|
|
5889
|
+
"data-state": Mi(x),
|
|
5890
|
+
"data-disabled": i ? "" : void 0,
|
|
5891
|
+
disabled: i,
|
|
5892
|
+
value: c,
|
|
5893
|
+
...f,
|
|
5894
|
+
ref: E,
|
|
5895
|
+
onClick: M(e.onClick, (h) => {
|
|
5896
|
+
p((w) => !w), b && (m.current = h.isPropagationStopped(), m.current || h.stopPropagation());
|
|
5897
|
+
})
|
|
5898
|
+
}
|
|
5899
|
+
),
|
|
5900
|
+
b && /* @__PURE__ */ y(
|
|
5901
|
+
Di,
|
|
5902
|
+
{
|
|
5903
|
+
control: g,
|
|
5904
|
+
bubbles: !m.current,
|
|
5905
|
+
name: r,
|
|
5906
|
+
value: c,
|
|
5907
|
+
checked: x,
|
|
5908
|
+
required: s,
|
|
5909
|
+
disabled: i,
|
|
5910
|
+
form: d,
|
|
5911
|
+
style: { transform: "translateX(-100%)" }
|
|
5912
|
+
}
|
|
5913
|
+
)
|
|
5914
|
+
] });
|
|
5915
|
+
}
|
|
5916
|
+
);
|
|
5917
|
+
_i.displayName = pn;
|
|
5918
|
+
var Li = "SwitchThumb", ki = l.forwardRef(
|
|
5919
|
+
(e, t) => {
|
|
5920
|
+
const { __scopeSwitch: n, ...r } = e, o = bf(Li, n);
|
|
5921
|
+
return /* @__PURE__ */ y(
|
|
5922
|
+
z.span,
|
|
5923
|
+
{
|
|
5924
|
+
"data-state": Mi(o.checked),
|
|
5925
|
+
"data-disabled": o.disabled ? "" : void 0,
|
|
5926
|
+
...r,
|
|
5927
|
+
ref: t
|
|
5928
|
+
}
|
|
5929
|
+
);
|
|
5930
|
+
}
|
|
5931
|
+
);
|
|
5932
|
+
ki.displayName = Li;
|
|
5933
|
+
var wf = "SwitchBubbleInput", Di = l.forwardRef(
|
|
5934
|
+
({
|
|
5935
|
+
__scopeSwitch: e,
|
|
5936
|
+
control: t,
|
|
5937
|
+
checked: n,
|
|
5938
|
+
bubbles: r = !0,
|
|
5939
|
+
...o
|
|
5940
|
+
}, a) => {
|
|
5941
|
+
const s = l.useRef(null), i = Z(s, a), c = wa(n), u = So(t);
|
|
5942
|
+
return l.useEffect(() => {
|
|
5943
|
+
const d = s.current;
|
|
5944
|
+
if (!d) return;
|
|
5945
|
+
const f = window.HTMLInputElement.prototype, v = Object.getOwnPropertyDescriptor(
|
|
5946
|
+
f,
|
|
5947
|
+
"checked"
|
|
5948
|
+
).set;
|
|
5949
|
+
if (c !== n && v) {
|
|
5950
|
+
const E = new Event("click", { bubbles: r });
|
|
5951
|
+
v.call(d, n), d.dispatchEvent(E);
|
|
5952
|
+
}
|
|
5953
|
+
}, [c, n, r]), /* @__PURE__ */ y(
|
|
5954
|
+
"input",
|
|
5955
|
+
{
|
|
5956
|
+
type: "checkbox",
|
|
5957
|
+
"aria-hidden": !0,
|
|
5958
|
+
defaultChecked: n,
|
|
5959
|
+
...o,
|
|
5960
|
+
tabIndex: -1,
|
|
5961
|
+
ref: i,
|
|
5962
|
+
style: {
|
|
5963
|
+
...o.style,
|
|
5964
|
+
...u,
|
|
5965
|
+
position: "absolute",
|
|
5966
|
+
pointerEvents: "none",
|
|
5967
|
+
opacity: 0,
|
|
5968
|
+
margin: 0
|
|
5969
|
+
}
|
|
5970
|
+
}
|
|
5971
|
+
);
|
|
5972
|
+
}
|
|
5973
|
+
);
|
|
5974
|
+
Di.displayName = wf;
|
|
5975
|
+
function Mi(e) {
|
|
5976
|
+
return e ? "checked" : "unchecked";
|
|
5977
|
+
}
|
|
5978
|
+
var $i = _i, Sf = ki;
|
|
5979
|
+
const xf = We(
|
|
5980
|
+
"peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/20 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",
|
|
5981
|
+
{
|
|
5982
|
+
variants: {
|
|
5983
|
+
size: {
|
|
5984
|
+
default: "h-6 w-11",
|
|
5985
|
+
sm: "h-[22px] w-[36px]",
|
|
5986
|
+
xs: "h-4 w-7"
|
|
5987
|
+
}
|
|
5988
|
+
},
|
|
5989
|
+
defaultVariants: {
|
|
5990
|
+
size: "default"
|
|
5991
|
+
}
|
|
5992
|
+
}
|
|
5993
|
+
), Ef = We(
|
|
5994
|
+
"pointer-events-none block rounded-full bg-background shadow-sm ring-0 transition-transform data-[state=unchecked]:translate-x-0",
|
|
5995
|
+
{
|
|
5996
|
+
variants: {
|
|
5997
|
+
size: {
|
|
5998
|
+
default: "h-5 w-5 data-[state=checked]:translate-x-5",
|
|
5999
|
+
sm: "size-4 data-[state=checked]:translate-x-4",
|
|
6000
|
+
xs: "h-3 w-3 data-[state=checked]:translate-x-3"
|
|
6001
|
+
}
|
|
6002
|
+
},
|
|
6003
|
+
defaultVariants: {
|
|
6004
|
+
size: "default"
|
|
6005
|
+
}
|
|
6006
|
+
}
|
|
6007
|
+
), Cf = l.forwardRef(({ className: e, size: t, ...n }, r) => /* @__PURE__ */ y(
|
|
6008
|
+
$i,
|
|
6009
|
+
{
|
|
6010
|
+
className: te(xf({ size: t, className: e })),
|
|
6011
|
+
...n,
|
|
6012
|
+
ref: r,
|
|
6013
|
+
children: /* @__PURE__ */ y(Sf, { className: te(Ef({ size: t })) })
|
|
6014
|
+
}
|
|
6015
|
+
));
|
|
6016
|
+
Cf.displayName = $i.displayName;
|
|
6017
|
+
var Bi = {}, oe = me && me.__assign || function() {
|
|
5844
6018
|
return oe = Object.assign || function(e) {
|
|
5845
6019
|
for (var t, n = 1, r = arguments.length; n < r; n++) {
|
|
5846
6020
|
t = arguments[n];
|
|
@@ -5848,7 +6022,7 @@ var _i = {}, oe = me && me.__assign || function() {
|
|
|
5848
6022
|
}
|
|
5849
6023
|
return e;
|
|
5850
6024
|
}, oe.apply(this, arguments);
|
|
5851
|
-
},
|
|
6025
|
+
}, Af = me && me.__createBinding || (Object.create ? function(e, t, n, r) {
|
|
5852
6026
|
r === void 0 && (r = n);
|
|
5853
6027
|
var o = Object.getOwnPropertyDescriptor(t, n);
|
|
5854
6028
|
(!o || ("get" in o ? !t.__esModule : o.writable || o.configurable)) && (o = { enumerable: !0, get: function() {
|
|
@@ -5856,16 +6030,16 @@ var _i = {}, oe = me && me.__assign || function() {
|
|
|
5856
6030
|
} }), Object.defineProperty(e, r, o);
|
|
5857
6031
|
} : function(e, t, n, r) {
|
|
5858
6032
|
r === void 0 && (r = n), e[r] = t[n];
|
|
5859
|
-
}),
|
|
6033
|
+
}), Rf = me && me.__setModuleDefault || (Object.create ? function(e, t) {
|
|
5860
6034
|
Object.defineProperty(e, "default", { enumerable: !0, value: t });
|
|
5861
6035
|
} : function(e, t) {
|
|
5862
6036
|
e.default = t;
|
|
5863
|
-
}),
|
|
6037
|
+
}), Tf = me && me.__importStar || function(e) {
|
|
5864
6038
|
if (e && e.__esModule) return e;
|
|
5865
6039
|
var t = {};
|
|
5866
|
-
if (e != null) for (var n in e) n !== "default" && Object.prototype.hasOwnProperty.call(e, n) &&
|
|
5867
|
-
return
|
|
5868
|
-
},
|
|
6040
|
+
if (e != null) for (var n in e) n !== "default" && Object.prototype.hasOwnProperty.call(e, n) && Af(t, e, n);
|
|
6041
|
+
return Rf(t, e), t;
|
|
6042
|
+
}, Pf = me && me.__rest || function(e, t) {
|
|
5869
6043
|
var n = {};
|
|
5870
6044
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
5871
6045
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -5873,8 +6047,8 @@ var _i = {}, oe = me && me.__assign || function() {
|
|
|
5873
6047
|
t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]);
|
|
5874
6048
|
return n;
|
|
5875
6049
|
};
|
|
5876
|
-
Object.defineProperty(
|
|
5877
|
-
var ge =
|
|
6050
|
+
Object.defineProperty(Bi, "__esModule", { value: !0 });
|
|
6051
|
+
var ge = Tf(ke), Nf = 89, _t = 90, If = 77, Kr = 57, Gr = 219, Yr = 222, Xr = 192, qr = 100, Of = 3e3, Ff = typeof window < "u" && "navigator" in window && /Win/i.test(navigator.platform), Tn = typeof window < "u" && "navigator" in window && /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform), Mt = "npm__react-simple-code-editor__textarea", _f = (
|
|
5878
6052
|
/* CSS */
|
|
5879
6053
|
`
|
|
5880
6054
|
/**
|
|
@@ -5903,8 +6077,8 @@ var ge = bf(ke), Sf = 89, _t = 90, xf = 77, Kr = 57, Gr = 219, Yr = 222, Xr = 19
|
|
|
5903
6077
|
}
|
|
5904
6078
|
}
|
|
5905
6079
|
`)
|
|
5906
|
-
),
|
|
5907
|
-
var r = t.autoFocus, o = t.disabled, a = t.form, s = t.highlight, i = t.ignoreTabKey, c = i === void 0 ? !1 : i, u = t.insertSpaces, d = u === void 0 ? !0 : u, f = t.maxLength, g = t.minLength, v = t.name, E = t.onBlur, m = t.onClick, b = t.onFocus, x = t.onKeyDown, p = t.onKeyUp, h = t.onValueChange, w = t.padding, S = w === void 0 ? 0 : w, C = t.placeholder, A = t.preClassName, T = t.readOnly, R = t.required, I = t.style, F = t.tabSize, $ = F === void 0 ? 2 : F, V = t.textareaClassName,
|
|
6080
|
+
), Lf = ge.forwardRef(function(t, n) {
|
|
6081
|
+
var r = t.autoFocus, o = t.disabled, a = t.form, s = t.highlight, i = t.ignoreTabKey, c = i === void 0 ? !1 : i, u = t.insertSpaces, d = u === void 0 ? !0 : u, f = t.maxLength, g = t.minLength, v = t.name, E = t.onBlur, m = t.onClick, b = t.onFocus, x = t.onKeyDown, p = t.onKeyUp, h = t.onValueChange, w = t.padding, S = w === void 0 ? 0 : w, C = t.placeholder, A = t.preClassName, T = t.readOnly, R = t.required, I = t.style, F = t.tabSize, $ = F === void 0 ? 2 : F, V = t.textareaClassName, H = t.textareaId, G = t.value, D = Pf(t, ["autoFocus", "disabled", "form", "highlight", "ignoreTabKey", "insertSpaces", "maxLength", "minLength", "name", "onBlur", "onClick", "onFocus", "onKeyDown", "onKeyUp", "onValueChange", "padding", "placeholder", "preClassName", "readOnly", "required", "style", "tabSize", "textareaClassName", "textareaId", "value"]), _ = ge.useRef({
|
|
5908
6082
|
stack: [],
|
|
5909
6083
|
offset: -1
|
|
5910
6084
|
}), N = ge.useRef(null), O = ge.useState(!0), k = O[0], q = O[1], Q = {
|
|
@@ -5912,12 +6086,12 @@ var ge = bf(ke), Sf = 89, _t = 90, xf = 77, Kr = 57, Gr = 219, Yr = 222, Xr = 19
|
|
|
5912
6086
|
paddingRight: typeof S == "object" ? S.right : S,
|
|
5913
6087
|
paddingBottom: typeof S == "object" ? S.bottom : S,
|
|
5914
6088
|
paddingLeft: typeof S == "object" ? S.left : S
|
|
5915
|
-
}, re = s(G), J = function(P,
|
|
5916
|
-
return P.substring(0,
|
|
6089
|
+
}, re = s(G), J = function(P, U) {
|
|
6090
|
+
return P.substring(0, U).split(`
|
|
5917
6091
|
`);
|
|
5918
|
-
}, ae = ge.useCallback(function(P,
|
|
6092
|
+
}, ae = ge.useCallback(function(P, U) {
|
|
5919
6093
|
var B, W, ee;
|
|
5920
|
-
|
|
6094
|
+
U === void 0 && (U = !1);
|
|
5921
6095
|
var ie = _.current, ue = ie.stack, dt = ie.offset;
|
|
5922
6096
|
if (ue.length && dt > -1) {
|
|
5923
6097
|
_.current.stack = ue.slice(0, dt + 1);
|
|
@@ -5928,9 +6102,9 @@ var ge = bf(ke), Sf = 89, _t = 90, xf = 77, Kr = 57, Gr = 219, Yr = 222, Xr = 19
|
|
|
5928
6102
|
}
|
|
5929
6103
|
}
|
|
5930
6104
|
var xe = Date.now();
|
|
5931
|
-
if (
|
|
6105
|
+
if (U) {
|
|
5932
6106
|
var Le = _.current.stack[_.current.offset];
|
|
5933
|
-
if (Le && xe - Le.timestamp <
|
|
6107
|
+
if (Le && xe - Le.timestamp < Of) {
|
|
5934
6108
|
var pt = /[^a-z0-9]([a-z0-9]+)$/i, fe = (B = J(Le.value, Le.selectionStart).pop()) === null || B === void 0 ? void 0 : B.match(pt), ht = (W = J(P.value, P.selectionStart).pop()) === null || W === void 0 ? void 0 : W.match(pt);
|
|
5935
6109
|
if (fe != null && fe[1] && (!((ee = ht == null ? void 0 : ht[1]) === null || ee === void 0) && ee.startsWith(fe[1]))) {
|
|
5936
6110
|
_.current.stack[_.current.offset] = oe(oe({}, P), { timestamp: xe });
|
|
@@ -5942,29 +6116,29 @@ var ge = bf(ke), Sf = 89, _t = 90, xf = 77, Kr = 57, Gr = 219, Yr = 222, Xr = 19
|
|
|
5942
6116
|
}, []), le = ge.useCallback(function() {
|
|
5943
6117
|
var P = N.current;
|
|
5944
6118
|
if (P) {
|
|
5945
|
-
var
|
|
6119
|
+
var U = P.value, B = P.selectionStart, W = P.selectionEnd;
|
|
5946
6120
|
ae({
|
|
5947
|
-
value:
|
|
6121
|
+
value: U,
|
|
5948
6122
|
selectionStart: B,
|
|
5949
6123
|
selectionEnd: W
|
|
5950
6124
|
});
|
|
5951
6125
|
}
|
|
5952
6126
|
}, [ae]), L = function(P) {
|
|
5953
|
-
var
|
|
5954
|
-
|
|
6127
|
+
var U = N.current;
|
|
6128
|
+
U && (U.value = P.value, U.selectionStart = P.selectionStart, U.selectionEnd = P.selectionEnd, h == null || h(P.value));
|
|
5955
6129
|
}, j = function(P) {
|
|
5956
|
-
var
|
|
5957
|
-
B &&
|
|
6130
|
+
var U = N.current, B = _.current.stack[_.current.offset];
|
|
6131
|
+
B && U && (_.current.stack[_.current.offset] = oe(oe({}, B), { selectionStart: U.selectionStart, selectionEnd: U.selectionEnd })), ae(P), L(P);
|
|
5958
6132
|
}, ne = function() {
|
|
5959
|
-
var P = _.current,
|
|
6133
|
+
var P = _.current, U = P.stack, B = P.offset, W = U[B - 1];
|
|
5960
6134
|
W && (L(W), _.current.offset = Math.max(B - 1, 0));
|
|
5961
6135
|
}, Y = function() {
|
|
5962
|
-
var P = _.current,
|
|
5963
|
-
W && (L(W), _.current.offset = Math.min(B + 1,
|
|
6136
|
+
var P = _.current, U = P.stack, B = P.offset, W = U[B + 1];
|
|
6137
|
+
W && (L(W), _.current.offset = Math.min(B + 1, U.length - 1));
|
|
5964
6138
|
}, K = function(P) {
|
|
5965
6139
|
if (!(x && (x(P), P.defaultPrevented))) {
|
|
5966
6140
|
P.key === "Escape" && P.currentTarget.blur();
|
|
5967
|
-
var
|
|
6141
|
+
var U = P.currentTarget, B = U.value, W = U.selectionStart, ee = U.selectionEnd, ie = (d ? " " : " ").repeat($);
|
|
5968
6142
|
if (P.key === "Tab" && !c && k)
|
|
5969
6143
|
if (P.preventDefault(), P.shiftKey) {
|
|
5970
6144
|
var ue = J(B, W), dt = ue.length - 1, ft = J(B, ee).length - 1, qe = B.split(`
|
|
@@ -6008,8 +6182,8 @@ var ge = bf(ke), Sf = 89, _t = 90, xf = 77, Kr = 57, Gr = 219, Yr = 222, Xr = 19
|
|
|
6008
6182
|
});
|
|
6009
6183
|
}
|
|
6010
6184
|
else if (P.key === "Backspace") {
|
|
6011
|
-
var ht = W !== ee,
|
|
6012
|
-
if (
|
|
6185
|
+
var ht = W !== ee, Hi = B.substring(0, W);
|
|
6186
|
+
if (Hi.endsWith(ie) && !ht) {
|
|
6013
6187
|
P.preventDefault();
|
|
6014
6188
|
var fe = W - ie.length;
|
|
6015
6189
|
j({
|
|
@@ -6053,18 +6227,18 @@ var ge = bf(ke), Sf = 89, _t = 90, xf = 77, Kr = 57, Gr = 219, Yr = 222, Xr = 19
|
|
|
6053
6227
|
)) && !P.shiftKey && !P.altKey ? (P.preventDefault(), ne()) : (Tn ? (
|
|
6054
6228
|
// Trigger redo with ⌘+Shift+Z on Mac
|
|
6055
6229
|
P.metaKey && P.keyCode === _t && P.shiftKey
|
|
6056
|
-
) :
|
|
6230
|
+
) : Ff ? (
|
|
6057
6231
|
// Trigger redo with Ctrl+Y on Windows
|
|
6058
|
-
P.ctrlKey && P.keyCode ===
|
|
6232
|
+
P.ctrlKey && P.keyCode === Nf
|
|
6059
6233
|
) : (
|
|
6060
6234
|
// Trigger redo with Ctrl+Shift+Z on other platforms
|
|
6061
6235
|
P.ctrlKey && P.keyCode === _t && P.shiftKey
|
|
6062
|
-
)) && !P.altKey ? (P.preventDefault(), Y()) : P.keyCode ===
|
|
6236
|
+
)) && !P.altKey ? (P.preventDefault(), Y()) : P.keyCode === If && P.ctrlKey && (!Tn || P.shiftKey) && (P.preventDefault(), q(function(gt) {
|
|
6063
6237
|
return !gt;
|
|
6064
6238
|
}));
|
|
6065
6239
|
}
|
|
6066
6240
|
}, X = function(P) {
|
|
6067
|
-
var
|
|
6241
|
+
var U = P.currentTarget, B = U.value, W = U.selectionStart, ee = U.selectionEnd;
|
|
6068
6242
|
ae({
|
|
6069
6243
|
value: B,
|
|
6070
6244
|
selectionStart: W,
|
|
@@ -6090,8 +6264,8 @@ var ge = bf(ke), Sf = 89, _t = 90, xf = 77, Kr = 57, Gr = 219, Yr = 222, Xr = 19
|
|
|
6090
6264
|
ge.createElement("pre", oe({ className: A, "aria-hidden": "true", style: oe(oe(oe({}, mt.editor), mt.highlight), Q) }, typeof re == "string" ? { dangerouslySetInnerHTML: { __html: re + "<br />" } } : { children: re })),
|
|
6091
6265
|
ge.createElement("textarea", { ref: function(P) {
|
|
6092
6266
|
return N.current = P;
|
|
6093
|
-
}, style: oe(oe(oe({}, mt.editor), mt.textarea), Q), className: Mt + (V ? " ".concat(V) : ""), id:
|
|
6094
|
-
ge.createElement("style", { dangerouslySetInnerHTML: { __html:
|
|
6267
|
+
}, style: oe(oe(oe({}, mt.editor), mt.textarea), Q), className: Mt + (V ? " ".concat(V) : ""), id: H, value: G, onChange: X, onKeyDown: K, onClick: m, onKeyUp: p, onFocus: b, onBlur: E, disabled: o, form: a, maxLength: f, minLength: g, name: v, placeholder: C, readOnly: T, required: R, autoFocus: r, autoCapitalize: "off", autoComplete: "off", autoCorrect: "off", spellCheck: !1, "data-gramm": !1 }),
|
|
6268
|
+
ge.createElement("style", { dangerouslySetInnerHTML: { __html: _f } })
|
|
6095
6269
|
);
|
|
6096
6270
|
}), mt = {
|
|
6097
6271
|
container: {
|
|
@@ -6139,7 +6313,7 @@ var ge = bf(ke), Sf = 89, _t = 90, xf = 77, Kr = 57, Gr = 219, Yr = 222, Xr = 19
|
|
|
6139
6313
|
wordBreak: "keep-all",
|
|
6140
6314
|
overflowWrap: "break-word"
|
|
6141
6315
|
}
|
|
6142
|
-
},
|
|
6316
|
+
}, kf = Bi.default = Lf, Wi = { exports: {} };
|
|
6143
6317
|
(function(e) {
|
|
6144
6318
|
var t = typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {};
|
|
6145
6319
|
/**
|
|
@@ -6763,8 +6937,8 @@ var ge = bf(ke), Sf = 89, _t = 90, xf = 77, Kr = 57, Gr = 219, Yr = 222, Xr = 19
|
|
|
6763
6937
|
for (var I = 0; I < R.length; ++I) {
|
|
6764
6938
|
if (A && A.cause == T + "," + I)
|
|
6765
6939
|
return;
|
|
6766
|
-
var F = R[I], $ = F.inside, V = !!F.lookbehind,
|
|
6767
|
-
if (
|
|
6940
|
+
var F = R[I], $ = F.inside, V = !!F.lookbehind, H = !!F.greedy, G = F.alias;
|
|
6941
|
+
if (H && !F.pattern.global) {
|
|
6768
6942
|
var D = F.pattern.toString().match(/[imsuy]*$/)[0];
|
|
6769
6943
|
F.pattern = RegExp(F.pattern.source, D + "g");
|
|
6770
6944
|
}
|
|
@@ -6774,7 +6948,7 @@ var ge = bf(ke), Sf = 89, _t = 90, xf = 77, Kr = 57, Gr = 219, Yr = 222, Xr = 19
|
|
|
6774
6948
|
return;
|
|
6775
6949
|
if (!(k instanceof c)) {
|
|
6776
6950
|
var q = 1, Q;
|
|
6777
|
-
if (
|
|
6951
|
+
if (H) {
|
|
6778
6952
|
if (Q = u(_, O, p, V), !Q || Q.index >= p.length)
|
|
6779
6953
|
break;
|
|
6780
6954
|
var le = Q.index, re = Q.index + Q[0].length, J = O;
|
|
@@ -7295,8 +7469,8 @@ var ge = bf(ke), Sf = 89, _t = 90, xf = 77, Kr = 57, Gr = 219, Yr = 222, Xr = 19
|
|
|
7295
7469
|
E || (console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."), E = !0), n.plugins.fileHighlight.highlight.apply(this, arguments);
|
|
7296
7470
|
};
|
|
7297
7471
|
}();
|
|
7298
|
-
})(
|
|
7299
|
-
var wt =
|
|
7472
|
+
})(Wi);
|
|
7473
|
+
var wt = Wi.exports;
|
|
7300
7474
|
const Me = /* @__PURE__ */ Gi(wt);
|
|
7301
7475
|
(function(e) {
|
|
7302
7476
|
var t = /[*&][^\s[\]{},]+/, n = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, r = "(?:" + n.source + "(?:[ ]+" + t.source + ")?|" + t.source + "(?:[ ]+" + n.source + ")?)", o = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g, function() {
|
|
@@ -7762,7 +7936,7 @@ const Zr = {
|
|
|
7762
7936
|
number: /\b\d+(?:\.\d+)?\b/,
|
|
7763
7937
|
boolean: /\b(?:true|false|True|False|None|null)\b/,
|
|
7764
7938
|
operator: /==|!=|<=|>=|&&|\|\||[+\-*/=<>!|]/
|
|
7765
|
-
},
|
|
7939
|
+
}, Df = {
|
|
7766
7940
|
"jinja-comment": {
|
|
7767
7941
|
pattern: /\{#[\s\S]*?#\}/,
|
|
7768
7942
|
greedy: !0
|
|
@@ -7779,7 +7953,7 @@ const Zr = {
|
|
|
7779
7953
|
greedy: !0,
|
|
7780
7954
|
inside: Zr
|
|
7781
7955
|
}
|
|
7782
|
-
},
|
|
7956
|
+
}, Mf = {
|
|
7783
7957
|
"tag-delimiter": /^\[\[|\]\]$/,
|
|
7784
7958
|
"semaphor-call": {
|
|
7785
7959
|
pattern: /\b(?:param|filter|filters)\b/,
|
|
@@ -7789,16 +7963,16 @@ const Zr = {
|
|
|
7789
7963
|
pattern: /\.[A-Za-z_][\w]*/,
|
|
7790
7964
|
alias: "property"
|
|
7791
7965
|
}
|
|
7792
|
-
},
|
|
7966
|
+
}, $f = {
|
|
7793
7967
|
"bracket-param": {
|
|
7794
7968
|
pattern: /\[\[\s*[\s\S]*?\s*\]\]/,
|
|
7795
7969
|
greedy: !0,
|
|
7796
|
-
inside:
|
|
7970
|
+
inside: Mf
|
|
7797
7971
|
}
|
|
7798
7972
|
};
|
|
7799
7973
|
Me.languages.sql && (Me.languages.sql.function = /\b[A-Za-z_][\w]*(?=\s*\()/, Me.languages.insertBefore("sql", "comment", {
|
|
7800
|
-
|
|
7801
|
-
...
|
|
7974
|
+
...$f,
|
|
7975
|
+
...Df
|
|
7802
7976
|
}), Me.languages["sql-jinja"] = Me.languages.sql);
|
|
7803
7977
|
Me.languages.yaml && Me.languages.insertBefore("yaml", "punctuation", {
|
|
7804
7978
|
"plain-scalar": {
|
|
@@ -7806,7 +7980,7 @@ Me.languages.yaml && Me.languages.insertBefore("yaml", "punctuation", {
|
|
|
7806
7980
|
alias: "string"
|
|
7807
7981
|
}
|
|
7808
7982
|
});
|
|
7809
|
-
const
|
|
7983
|
+
const Bf = {
|
|
7810
7984
|
js: "javascript",
|
|
7811
7985
|
ts: "typescript",
|
|
7812
7986
|
py: "python",
|
|
@@ -7815,16 +7989,16 @@ const Of = {
|
|
|
7815
7989
|
mysql: "sql",
|
|
7816
7990
|
snowflake: "sql"
|
|
7817
7991
|
};
|
|
7818
|
-
function
|
|
7992
|
+
function Wf(e) {
|
|
7819
7993
|
if (!e) return null;
|
|
7820
|
-
const t = e.trim().toLowerCase(), n =
|
|
7994
|
+
const t = e.trim().toLowerCase(), n = Bf[t] ?? t;
|
|
7821
7995
|
return Me.languages[n] ? n : null;
|
|
7822
7996
|
}
|
|
7823
|
-
function
|
|
7824
|
-
const n =
|
|
7997
|
+
function Sp(e, t) {
|
|
7998
|
+
const n = Wf(t);
|
|
7825
7999
|
return n ? wt.highlight(e, wt.languages[n], n) : null;
|
|
7826
8000
|
}
|
|
7827
|
-
function
|
|
8001
|
+
function Hf(e, t, n, r) {
|
|
7828
8002
|
const o = t.map((i, c) => ({ chip: i, index: c })).sort((i, c) => i.chip.start - c.chip.start), a = [];
|
|
7829
8003
|
let s = 0;
|
|
7830
8004
|
for (const { chip: i, index: c } of o)
|
|
@@ -7843,7 +8017,7 @@ function _f(e, t, n, r) {
|
|
|
7843
8017
|
), s = i.end);
|
|
7844
8018
|
return s < e.length && a.push(e.slice(s)), a;
|
|
7845
8019
|
}
|
|
7846
|
-
function
|
|
8020
|
+
function Uf({
|
|
7847
8021
|
value: e,
|
|
7848
8022
|
onValueChange: t,
|
|
7849
8023
|
language: n,
|
|
@@ -7873,7 +8047,7 @@ function Lf({
|
|
|
7873
8047
|
// the code, and 16px there ends up visually ~28px with the gutter.
|
|
7874
8048
|
left: s ? 8 : 16
|
|
7875
8049
|
}, I = Vi(() => e.split(`
|
|
7876
|
-
`).length, [e]), F = Math.max(2, String(I).length), $ = zi(), V = v ?? $,
|
|
8050
|
+
`).length, [e]), F = Math.max(2, String(I).length), $ = zi(), V = v ?? $, H = d ?? u;
|
|
7877
8051
|
ji(
|
|
7878
8052
|
x,
|
|
7879
8053
|
() => ({
|
|
@@ -7937,7 +8111,7 @@ function Lf({
|
|
|
7937
8111
|
ref: p,
|
|
7938
8112
|
className: `code-editor relative h-full min-h-0 overflow-auto font-mono text-[12px] leading-[1.55] ${o ? "" : "rounded-control border border-border"}${c ? " code-editor--wrap" : ""}${g ? ` ${g}` : ""}`,
|
|
7939
8113
|
children: [
|
|
7940
|
-
|
|
8114
|
+
H ? /* @__PURE__ */ y("label", { htmlFor: V, className: "sr-only", children: H }) : null,
|
|
7941
8115
|
/* @__PURE__ */ de(
|
|
7942
8116
|
"div",
|
|
7943
8117
|
{
|
|
@@ -7980,7 +8154,7 @@ function Lf({
|
|
|
7980
8154
|
paddingLeft: R.left,
|
|
7981
8155
|
wordBreak: "keep-all"
|
|
7982
8156
|
},
|
|
7983
|
-
children:
|
|
8157
|
+
children: Hf(
|
|
7984
8158
|
e,
|
|
7985
8159
|
E,
|
|
7986
8160
|
m,
|
|
@@ -8004,7 +8178,7 @@ function Lf({
|
|
|
8004
8178
|
}
|
|
8005
8179
|
) : null,
|
|
8006
8180
|
/* @__PURE__ */ y(
|
|
8007
|
-
|
|
8181
|
+
kf,
|
|
8008
8182
|
{
|
|
8009
8183
|
ref: h,
|
|
8010
8184
|
value: e,
|
|
@@ -8036,253 +8210,100 @@ function Lf({
|
|
|
8036
8210
|
}
|
|
8037
8211
|
);
|
|
8038
8212
|
}
|
|
8039
|
-
const
|
|
8040
|
-
var pn = "Switch", [kf] = Fe(pn), [Df, Mf] = kf(pn), ki = l.forwardRef(
|
|
8041
|
-
(e, t) => {
|
|
8042
|
-
const {
|
|
8043
|
-
__scopeSwitch: n,
|
|
8044
|
-
name: r,
|
|
8045
|
-
checked: o,
|
|
8046
|
-
defaultChecked: a,
|
|
8047
|
-
required: s,
|
|
8048
|
-
disabled: i,
|
|
8049
|
-
value: c = "on",
|
|
8050
|
-
onCheckedChange: u,
|
|
8051
|
-
form: d,
|
|
8052
|
-
...f
|
|
8053
|
-
} = e, [g, v] = l.useState(null), E = Z(t, (h) => v(h)), m = l.useRef(!1), b = g ? d || !!g.closest("form") : !0, [x, p] = je({
|
|
8054
|
-
prop: o,
|
|
8055
|
-
defaultProp: a ?? !1,
|
|
8056
|
-
onChange: u,
|
|
8057
|
-
caller: pn
|
|
8058
|
-
});
|
|
8059
|
-
return /* @__PURE__ */ de(Df, { scope: n, checked: x, disabled: i, children: [
|
|
8060
|
-
/* @__PURE__ */ y(
|
|
8061
|
-
z.button,
|
|
8062
|
-
{
|
|
8063
|
-
type: "button",
|
|
8064
|
-
role: "switch",
|
|
8065
|
-
"aria-checked": x,
|
|
8066
|
-
"aria-required": s,
|
|
8067
|
-
"data-state": Bi(x),
|
|
8068
|
-
"data-disabled": i ? "" : void 0,
|
|
8069
|
-
disabled: i,
|
|
8070
|
-
value: c,
|
|
8071
|
-
...f,
|
|
8072
|
-
ref: E,
|
|
8073
|
-
onClick: M(e.onClick, (h) => {
|
|
8074
|
-
p((w) => !w), b && (m.current = h.isPropagationStopped(), m.current || h.stopPropagation());
|
|
8075
|
-
})
|
|
8076
|
-
}
|
|
8077
|
-
),
|
|
8078
|
-
b && /* @__PURE__ */ y(
|
|
8079
|
-
$i,
|
|
8080
|
-
{
|
|
8081
|
-
control: g,
|
|
8082
|
-
bubbles: !m.current,
|
|
8083
|
-
name: r,
|
|
8084
|
-
value: c,
|
|
8085
|
-
checked: x,
|
|
8086
|
-
required: s,
|
|
8087
|
-
disabled: i,
|
|
8088
|
-
form: d,
|
|
8089
|
-
style: { transform: "translateX(-100%)" }
|
|
8090
|
-
}
|
|
8091
|
-
)
|
|
8092
|
-
] });
|
|
8093
|
-
}
|
|
8094
|
-
);
|
|
8095
|
-
ki.displayName = pn;
|
|
8096
|
-
var Di = "SwitchThumb", Mi = l.forwardRef(
|
|
8097
|
-
(e, t) => {
|
|
8098
|
-
const { __scopeSwitch: n, ...r } = e, o = Mf(Di, n);
|
|
8099
|
-
return /* @__PURE__ */ y(
|
|
8100
|
-
z.span,
|
|
8101
|
-
{
|
|
8102
|
-
"data-state": Bi(o.checked),
|
|
8103
|
-
"data-disabled": o.disabled ? "" : void 0,
|
|
8104
|
-
...r,
|
|
8105
|
-
ref: t
|
|
8106
|
-
}
|
|
8107
|
-
);
|
|
8108
|
-
}
|
|
8109
|
-
);
|
|
8110
|
-
Mi.displayName = Di;
|
|
8111
|
-
var $f = "SwitchBubbleInput", $i = l.forwardRef(
|
|
8112
|
-
({
|
|
8113
|
-
__scopeSwitch: e,
|
|
8114
|
-
control: t,
|
|
8115
|
-
checked: n,
|
|
8116
|
-
bubbles: r = !0,
|
|
8117
|
-
...o
|
|
8118
|
-
}, a) => {
|
|
8119
|
-
const s = l.useRef(null), i = Z(s, a), c = wa(n), u = So(t);
|
|
8120
|
-
return l.useEffect(() => {
|
|
8121
|
-
const d = s.current;
|
|
8122
|
-
if (!d) return;
|
|
8123
|
-
const f = window.HTMLInputElement.prototype, v = Object.getOwnPropertyDescriptor(
|
|
8124
|
-
f,
|
|
8125
|
-
"checked"
|
|
8126
|
-
).set;
|
|
8127
|
-
if (c !== n && v) {
|
|
8128
|
-
const E = new Event("click", { bubbles: r });
|
|
8129
|
-
v.call(d, n), d.dispatchEvent(E);
|
|
8130
|
-
}
|
|
8131
|
-
}, [c, n, r]), /* @__PURE__ */ y(
|
|
8132
|
-
"input",
|
|
8133
|
-
{
|
|
8134
|
-
type: "checkbox",
|
|
8135
|
-
"aria-hidden": !0,
|
|
8136
|
-
defaultChecked: n,
|
|
8137
|
-
...o,
|
|
8138
|
-
tabIndex: -1,
|
|
8139
|
-
ref: i,
|
|
8140
|
-
style: {
|
|
8141
|
-
...o.style,
|
|
8142
|
-
...u,
|
|
8143
|
-
position: "absolute",
|
|
8144
|
-
pointerEvents: "none",
|
|
8145
|
-
opacity: 0,
|
|
8146
|
-
margin: 0
|
|
8147
|
-
}
|
|
8148
|
-
}
|
|
8149
|
-
);
|
|
8150
|
-
}
|
|
8151
|
-
);
|
|
8152
|
-
$i.displayName = $f;
|
|
8153
|
-
function Bi(e) {
|
|
8154
|
-
return e ? "checked" : "unchecked";
|
|
8155
|
-
}
|
|
8156
|
-
var Wi = ki, Bf = Mi;
|
|
8157
|
-
const Wf = We(
|
|
8158
|
-
"peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/20 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",
|
|
8159
|
-
{
|
|
8160
|
-
variants: {
|
|
8161
|
-
size: {
|
|
8162
|
-
default: "h-6 w-11",
|
|
8163
|
-
sm: "h-[22px] w-[36px]",
|
|
8164
|
-
xs: "h-4 w-7"
|
|
8165
|
-
}
|
|
8166
|
-
},
|
|
8167
|
-
defaultVariants: {
|
|
8168
|
-
size: "default"
|
|
8169
|
-
}
|
|
8170
|
-
}
|
|
8171
|
-
), Uf = We(
|
|
8172
|
-
"pointer-events-none block rounded-full bg-background shadow-sm ring-0 transition-transform data-[state=unchecked]:translate-x-0",
|
|
8173
|
-
{
|
|
8174
|
-
variants: {
|
|
8175
|
-
size: {
|
|
8176
|
-
default: "h-5 w-5 data-[state=checked]:translate-x-5",
|
|
8177
|
-
sm: "size-4 data-[state=checked]:translate-x-4",
|
|
8178
|
-
xs: "h-3 w-3 data-[state=checked]:translate-x-3"
|
|
8179
|
-
}
|
|
8180
|
-
},
|
|
8181
|
-
defaultVariants: {
|
|
8182
|
-
size: "default"
|
|
8183
|
-
}
|
|
8184
|
-
}
|
|
8185
|
-
), Hf = l.forwardRef(({ className: e, size: t, ...n }, r) => /* @__PURE__ */ y(
|
|
8186
|
-
Wi,
|
|
8187
|
-
{
|
|
8188
|
-
className: te(Wf({ size: t, className: e })),
|
|
8189
|
-
...n,
|
|
8190
|
-
ref: r,
|
|
8191
|
-
children: /* @__PURE__ */ y(Bf, { className: te(Uf({ size: t })) })
|
|
8192
|
-
}
|
|
8193
|
-
));
|
|
8194
|
-
Hf.displayName = Wi.displayName;
|
|
8213
|
+
const xp = Vn(Uf);
|
|
8195
8214
|
export {
|
|
8196
8215
|
it as $,
|
|
8197
8216
|
je as A,
|
|
8198
8217
|
os as B,
|
|
8199
|
-
|
|
8218
|
+
xp as C,
|
|
8200
8219
|
z as D,
|
|
8201
8220
|
M as E,
|
|
8202
8221
|
We as F,
|
|
8203
8222
|
Fe as G,
|
|
8204
8223
|
ro as H,
|
|
8205
|
-
|
|
8224
|
+
np as I,
|
|
8206
8225
|
Z as J,
|
|
8207
8226
|
Gt as K,
|
|
8208
|
-
|
|
8227
|
+
rp as L,
|
|
8209
8228
|
kn as M,
|
|
8210
8229
|
So as N,
|
|
8211
8230
|
wa as O,
|
|
8212
|
-
|
|
8231
|
+
up as P,
|
|
8213
8232
|
Wl as Q,
|
|
8214
|
-
|
|
8215
|
-
|
|
8216
|
-
|
|
8217
|
-
|
|
8233
|
+
op as R,
|
|
8234
|
+
ap as S,
|
|
8235
|
+
pp as T,
|
|
8236
|
+
Ul as U,
|
|
8218
8237
|
Vl as V,
|
|
8219
8238
|
Kl as W,
|
|
8220
|
-
|
|
8239
|
+
lp as X,
|
|
8221
8240
|
Gl as Y,
|
|
8222
8241
|
Il as Z,
|
|
8223
8242
|
Xe as _,
|
|
8224
|
-
|
|
8243
|
+
fp as a,
|
|
8225
8244
|
zn as a0,
|
|
8226
8245
|
ce as a1,
|
|
8227
8246
|
se as a2,
|
|
8228
|
-
|
|
8229
|
-
|
|
8230
|
-
|
|
8231
|
-
|
|
8232
|
-
|
|
8233
|
-
|
|
8234
|
-
|
|
8235
|
-
|
|
8236
|
-
|
|
8237
|
-
|
|
8238
|
-
|
|
8239
|
-
|
|
8240
|
-
|
|
8241
|
-
|
|
8242
|
-
|
|
8243
|
-
|
|
8244
|
-
|
|
8245
|
-
|
|
8246
|
-
|
|
8247
|
-
|
|
8248
|
-
|
|
8249
|
-
|
|
8250
|
-
|
|
8251
|
-
|
|
8252
|
-
|
|
8253
|
-
|
|
8254
|
-
|
|
8255
|
-
|
|
8256
|
-
|
|
8257
|
-
|
|
8258
|
-
|
|
8259
|
-
|
|
8260
|
-
|
|
8261
|
-
|
|
8262
|
-
|
|
8263
|
-
|
|
8264
|
-
|
|
8265
|
-
|
|
8266
|
-
|
|
8267
|
-
|
|
8268
|
-
|
|
8269
|
-
|
|
8270
|
-
|
|
8271
|
-
|
|
8272
|
-
|
|
8273
|
-
|
|
8274
|
-
|
|
8275
|
-
|
|
8247
|
+
xa as a3,
|
|
8248
|
+
wp as a4,
|
|
8249
|
+
dp as a5,
|
|
8250
|
+
Rd as a6,
|
|
8251
|
+
rs as a7,
|
|
8252
|
+
Sp as a8,
|
|
8253
|
+
gp as a9,
|
|
8254
|
+
jd as aA,
|
|
8255
|
+
hf as aB,
|
|
8256
|
+
Fi as aC,
|
|
8257
|
+
gf as aD,
|
|
8258
|
+
Cd as aa,
|
|
8259
|
+
xi as ab,
|
|
8260
|
+
Te as ac,
|
|
8261
|
+
en as ad,
|
|
8262
|
+
ct as ae,
|
|
8263
|
+
Fo as af,
|
|
8264
|
+
Jt as ag,
|
|
8265
|
+
yc as ah,
|
|
8266
|
+
io as ai,
|
|
8267
|
+
rr as aj,
|
|
8268
|
+
jn as ak,
|
|
8269
|
+
Yt as al,
|
|
8270
|
+
vc as am,
|
|
8271
|
+
tr as an,
|
|
8272
|
+
$o as ao,
|
|
8273
|
+
Ss as ap,
|
|
8274
|
+
er as aq,
|
|
8275
|
+
nr as ar,
|
|
8276
|
+
nn as as,
|
|
8277
|
+
cp as at,
|
|
8278
|
+
wu as au,
|
|
8279
|
+
xu as av,
|
|
8280
|
+
ra as aw,
|
|
8281
|
+
cs as ax,
|
|
8282
|
+
Si as ay,
|
|
8283
|
+
zd as az,
|
|
8284
|
+
ep as b,
|
|
8285
|
+
ve as c,
|
|
8286
|
+
Eu as d,
|
|
8287
|
+
ls as e,
|
|
8288
|
+
Du as f,
|
|
8289
|
+
Mu as g,
|
|
8290
|
+
Kd as h,
|
|
8291
|
+
$u as i,
|
|
8292
|
+
sp as j,
|
|
8293
|
+
tp as k,
|
|
8294
|
+
ip as l,
|
|
8295
|
+
Fd as m,
|
|
8296
|
+
Pu as n,
|
|
8276
8297
|
vp as o,
|
|
8277
8298
|
yp as p,
|
|
8278
|
-
|
|
8279
|
-
|
|
8280
|
-
|
|
8281
|
-
|
|
8282
|
-
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
|
|
8286
|
-
|
|
8287
|
-
|
|
8299
|
+
bp as q,
|
|
8300
|
+
mf as r,
|
|
8301
|
+
Iu as s,
|
|
8302
|
+
hp as t,
|
|
8303
|
+
xd as u,
|
|
8304
|
+
mp as v,
|
|
8305
|
+
Ed as w,
|
|
8306
|
+
Ad as x,
|
|
8307
|
+
Cf as y,
|
|
8308
|
+
no as z
|
|
8288
8309
|
};
|