@aivex/ui 1.1.0-dev.11 → 1.1.0-dev.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Checkbox/ChipsCheckbox.d.ts +4 -3
- package/dist/components/Nav/Nav.d.ts +3 -5
- package/dist/index.cjs +11 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +683 -670
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6459,22 +6459,26 @@ function da({ className: e, label: t, size: n = "md", indeterminate: r = !1, dis
|
|
|
6459
6459
|
return /* @__PURE__ */ s("label", {
|
|
6460
6460
|
className: x("aivex:inline-flex aivex:items-center aivex:gap-md aivex:cursor-pointer aivex:select-none", i && "aivex:opacity-disable aivex:pointer-events-none"),
|
|
6461
6461
|
children: [/* @__PURE__ */ s("span", {
|
|
6462
|
-
className: x("aivex:relative aivex:inline-flex aivex:items-center aivex:justify-center aivex:shrink-0", la[w]),
|
|
6463
|
-
children: [
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
|
|
6467
|
-
|
|
6468
|
-
|
|
6469
|
-
|
|
6470
|
-
|
|
6471
|
-
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
|
-
|
|
6475
|
-
|
|
6476
|
-
|
|
6477
|
-
|
|
6462
|
+
className: x("aivex:relative aivex:inline-flex aivex:items-center aivex:justify-center aivex:shrink-0 aivex:group", la[w]),
|
|
6463
|
+
children: [
|
|
6464
|
+
/* @__PURE__ */ o("span", { className: "aivex:absolute aivex:-inset-1 aivex:rounded-full aivex:bg-bg-inverse-strong aivex:opacity-0 aivex:group-hover:opacity-4 aivex:group-active:opacity-8 aivex:pointer-events-none aivex:transition-opacity" }),
|
|
6465
|
+
/* @__PURE__ */ o("input", {
|
|
6466
|
+
ref: b,
|
|
6467
|
+
id: u,
|
|
6468
|
+
type: "checkbox",
|
|
6469
|
+
disabled: i,
|
|
6470
|
+
checked: S,
|
|
6471
|
+
onChange: (e) => {
|
|
6472
|
+
_ || y(e.target.checked), l?.(e);
|
|
6473
|
+
},
|
|
6474
|
+
className: x(ca({ size: w }), C && "aivex:border-transparent aivex:bg-bg-brand", e),
|
|
6475
|
+
...p
|
|
6476
|
+
}),
|
|
6477
|
+
C && /* @__PURE__ */ o("span", {
|
|
6478
|
+
className: "aivex:absolute aivex:inset-0 aivex:flex aivex:items-center aivex:justify-center aivex:text-white aivex:pointer-events-none",
|
|
6479
|
+
children: o(r ? Ne : Me, { size: w })
|
|
6480
|
+
})
|
|
6481
|
+
]
|
|
6478
6482
|
}), t && /* @__PURE__ */ o("span", {
|
|
6479
6483
|
className: x("aivex:inline-flex aivex:items-center aivex:text-label-lg aivex:text-text-primary", ua[w]),
|
|
6480
6484
|
children: t
|
|
@@ -6483,28 +6487,34 @@ function da({ className: e, label: t, size: n = "md", indeterminate: r = !1, dis
|
|
|
6483
6487
|
}
|
|
6484
6488
|
//#endregion
|
|
6485
6489
|
//#region src/components/Checkbox/ChipsCheckbox.tsx
|
|
6486
|
-
function fa({ className: e, disabled: t, checked: n, defaultChecked: r, onChange: i,
|
|
6487
|
-
let
|
|
6490
|
+
function fa({ className: e, disabled: t, checked: n, defaultChecked: r, onChange: i, onClick: a, id: c, ref: l, ...u }) {
|
|
6491
|
+
let d = n !== void 0, [f, p] = h(!!r), m = d ? !!n : f;
|
|
6488
6492
|
return /* @__PURE__ */ s("label", {
|
|
6489
|
-
|
|
6490
|
-
|
|
6491
|
-
|
|
6492
|
-
|
|
6493
|
-
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6503
|
-
|
|
6504
|
-
|
|
6505
|
-
|
|
6506
|
-
|
|
6507
|
-
|
|
6493
|
+
onClick: a,
|
|
6494
|
+
className: x("aivex:relative aivex:overflow-hidden aivex:group aivex:inline-flex aivex:items-center aivex:justify-center", "aivex:h-8 aivex:w-8 aivex:shrink-0 aivex:rounded-lg aivex:border aivex:cursor-pointer aivex:select-none aivex:transition-colors", m ? "aivex:bg-bg-brand-subtle aivex:border-border-brand-subtle" : "aivex:bg-bg-tertiary aivex:border-border-default", t && "aivex:opacity-disable aivex:pointer-events-none", e),
|
|
6495
|
+
children: [
|
|
6496
|
+
/* @__PURE__ */ o(C, {}),
|
|
6497
|
+
/* @__PURE__ */ o("input", {
|
|
6498
|
+
ref: l,
|
|
6499
|
+
id: c,
|
|
6500
|
+
type: "checkbox",
|
|
6501
|
+
disabled: t,
|
|
6502
|
+
checked: m,
|
|
6503
|
+
onChange: (e) => {
|
|
6504
|
+
d || p(e.target.checked), i?.(e);
|
|
6505
|
+
},
|
|
6506
|
+
onClick: (e) => e.stopPropagation(),
|
|
6507
|
+
className: "aivex:sr-only",
|
|
6508
|
+
...u
|
|
6509
|
+
}),
|
|
6510
|
+
/* @__PURE__ */ s("span", {
|
|
6511
|
+
className: "aivex:relative aivex:inline-flex aivex:items-center aivex:justify-center aivex:w-5 aivex:h-5 aivex:shrink-0",
|
|
6512
|
+
children: [/* @__PURE__ */ o("span", { className: x("aivex:w-4 aivex:h-4 aivex:rounded-xs aivex:border aivex:transition-colors", m ? "aivex:bg-bg-brand aivex:border-transparent" : "aivex:bg-bg-primary aivex:border-border-default") }), m && /* @__PURE__ */ o("span", {
|
|
6513
|
+
className: "aivex:absolute aivex:inset-0 aivex:flex aivex:items-center aivex:justify-center aivex:text-white aivex:pointer-events-none",
|
|
6514
|
+
children: /* @__PURE__ */ o(Me, { size: "sm" })
|
|
6515
|
+
})]
|
|
6516
|
+
})
|
|
6517
|
+
]
|
|
6508
6518
|
});
|
|
6509
6519
|
}
|
|
6510
6520
|
//#endregion
|
|
@@ -6951,55 +6961,51 @@ var Na = n("aivex:relative aivex:overflow-hidden aivex:group aivex:inline-flex a
|
|
|
6951
6961
|
} },
|
|
6952
6962
|
defaultVariants: { active: !1 }
|
|
6953
6963
|
});
|
|
6954
|
-
function Pa({ className: e, active: t, icon: n,
|
|
6955
|
-
let
|
|
6964
|
+
function Pa({ className: e, active: t, icon: n, children: r, ref: i, ...a }) {
|
|
6965
|
+
let c = t ?? !1;
|
|
6956
6966
|
return /* @__PURE__ */ s("button", {
|
|
6957
|
-
ref:
|
|
6967
|
+
ref: i,
|
|
6958
6968
|
type: "button",
|
|
6959
|
-
"aria-pressed":
|
|
6969
|
+
"aria-pressed": c,
|
|
6960
6970
|
className: x(Na({ active: t }), e),
|
|
6961
|
-
...
|
|
6971
|
+
...a,
|
|
6962
6972
|
children: [
|
|
6963
6973
|
/* @__PURE__ */ o(C, {}),
|
|
6964
6974
|
n && /* @__PURE__ */ o("span", {
|
|
6965
|
-
className: x("aivex:flex aivex:items-center aivex:justify-center aivex:p-1",
|
|
6975
|
+
className: x("aivex:flex aivex:items-center aivex:justify-center aivex:p-1", c ? "aivex:text-text-brand" : "aivex:text-text-secondary"),
|
|
6966
6976
|
children: /* @__PURE__ */ o("span", {
|
|
6967
6977
|
className: "aivex:flex aivex:items-center aivex:justify-center aivex:size-6",
|
|
6968
6978
|
children: n
|
|
6969
6979
|
})
|
|
6970
6980
|
}),
|
|
6971
6981
|
r && /* @__PURE__ */ o("span", {
|
|
6972
|
-
className: x("aivex:text-label-sm aivex:text-center",
|
|
6982
|
+
className: x("aivex:text-label-sm aivex:text-center", c ? "aivex:text-text-brand" : "aivex:text-text-secondary"),
|
|
6973
6983
|
children: r
|
|
6974
|
-
})
|
|
6975
|
-
i
|
|
6984
|
+
})
|
|
6976
6985
|
]
|
|
6977
6986
|
});
|
|
6978
6987
|
}
|
|
6979
|
-
var Fa = n("aivex:relative aivex:overflow-hidden aivex:group aivex:flex aivex:w-full aivex:items-center aivex:gap-md aivex:px-lg aivex:py-md aivex:rounded-md aivex:text-body-lg-medium aivex:transition-colors aivex:cursor-pointer", {
|
|
6980
|
-
variants: {
|
|
6988
|
+
var Fa = n("aivex:relative aivex:overflow-hidden aivex:group aivex:flex aivex:min-h-10 aivex:w-full aivex:items-center aivex:gap-md aivex:px-lg aivex:py-md aivex:rounded-md aivex:text-body-lg-medium aivex:leading-6 aivex:text-left aivex:transition-colors aivex:cursor-pointer", {
|
|
6989
|
+
variants: { active: {
|
|
6981
6990
|
true: "aivex:bg-bg-brand-subtle aivex:text-text-brand",
|
|
6982
6991
|
false: "aivex:bg-transparent aivex:text-text-secondary"
|
|
6983
6992
|
} },
|
|
6984
|
-
defaultVariants: {
|
|
6993
|
+
defaultVariants: { active: !1 }
|
|
6985
6994
|
});
|
|
6986
|
-
function Ia({ className: e,
|
|
6995
|
+
function Ia({ className: e, active: t, icon: n, children: r, ref: i, ...a }) {
|
|
6987
6996
|
return /* @__PURE__ */ s("button", {
|
|
6988
|
-
ref:
|
|
6997
|
+
ref: i,
|
|
6989
6998
|
type: "button",
|
|
6990
6999
|
"aria-current": t ? "page" : void 0,
|
|
6991
|
-
className: x(Fa({
|
|
6992
|
-
...
|
|
7000
|
+
className: x(Fa({ active: t }), e),
|
|
7001
|
+
...a,
|
|
6993
7002
|
children: [
|
|
6994
7003
|
/* @__PURE__ */ o(C, {}),
|
|
6995
7004
|
n && /* @__PURE__ */ o("span", {
|
|
6996
7005
|
className: "aivex:flex aivex:items-center aivex:justify-center aivex:shrink-0 aivex:size-5",
|
|
6997
7006
|
children: n
|
|
6998
7007
|
}),
|
|
6999
|
-
|
|
7000
|
-
className: "aivex:truncate",
|
|
7001
|
-
children: r ?? i
|
|
7002
|
-
})
|
|
7008
|
+
r
|
|
7003
7009
|
]
|
|
7004
7010
|
});
|
|
7005
7011
|
}
|
|
@@ -7086,41 +7092,48 @@ function Va({ className: e, total: t, page: n, defaultPage: r = 1, pageSize: i =
|
|
|
7086
7092
|
//#region src/components/Radio/Radio.tsx
|
|
7087
7093
|
var Ha = n("aivex:peer aivex:relative aivex:m-0 aivex:shrink-0 aivex:rounded-full aivex:border aivex:border-border-default aivex:bg-bg-primary aivex:appearance-none aivex:cursor-pointer aivex:transition-colors aivex:checked:border-transparent aivex:checked:bg-bg-brand", {
|
|
7088
7094
|
variants: { size: {
|
|
7089
|
-
sm: "aivex:w-
|
|
7090
|
-
md: "aivex:w-
|
|
7095
|
+
sm: "aivex:w-4 aivex:h-4",
|
|
7096
|
+
md: "aivex:w-[18px] aivex:h-[18px]"
|
|
7091
7097
|
} },
|
|
7092
7098
|
defaultVariants: { size: "md" }
|
|
7093
7099
|
}), Ua = {
|
|
7100
|
+
sm: "aivex:w-5 aivex:h-5",
|
|
7101
|
+
md: "aivex:w-6 aivex:h-6"
|
|
7102
|
+
}, Wa = {
|
|
7094
7103
|
sm: "aivex:h-5",
|
|
7095
7104
|
md: "aivex:h-6"
|
|
7096
7105
|
};
|
|
7097
|
-
function
|
|
7106
|
+
function Ga({ className: e, label: t, size: n = "md", disabled: r, checked: i, id: a, ref: c, ...l }) {
|
|
7098
7107
|
let u = n ?? "md", d = {
|
|
7099
|
-
sm: "aivex:w-2
|
|
7100
|
-
md: "aivex:w-
|
|
7108
|
+
sm: "aivex:w-2 aivex:h-2",
|
|
7109
|
+
md: "aivex:w-2.5 aivex:h-2.5"
|
|
7101
7110
|
}[u];
|
|
7102
7111
|
return /* @__PURE__ */ s("label", {
|
|
7103
7112
|
className: x("aivex:inline-flex aivex:items-center aivex:gap-md aivex:cursor-pointer aivex:select-none", r && "aivex:opacity-disable aivex:pointer-events-none"),
|
|
7104
7113
|
children: [/* @__PURE__ */ s("span", {
|
|
7105
|
-
className: "aivex:relative aivex:inline-flex aivex:items-center aivex:justify-center",
|
|
7106
|
-
children: [
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7114
|
+
className: x("aivex:relative aivex:inline-flex aivex:items-center aivex:justify-center aivex:shrink-0 aivex:group", Ua[u]),
|
|
7115
|
+
children: [
|
|
7116
|
+
/* @__PURE__ */ o("span", { className: "aivex:absolute aivex:-inset-1 aivex:rounded-full aivex:bg-bg-inverse-strong aivex:opacity-0 aivex:group-hover:opacity-4 aivex:group-active:opacity-8 aivex:pointer-events-none aivex:transition-opacity" }),
|
|
7117
|
+
/* @__PURE__ */ o("input", {
|
|
7118
|
+
ref: c,
|
|
7119
|
+
id: a,
|
|
7120
|
+
type: "radio",
|
|
7121
|
+
disabled: r,
|
|
7122
|
+
checked: i,
|
|
7123
|
+
className: x(Ha({ size: u }), e),
|
|
7124
|
+
...l
|
|
7125
|
+
}),
|
|
7126
|
+
/* @__PURE__ */ o("span", { className: x("aivex:pointer-events-none aivex:absolute aivex:rounded-full aivex:bg-white aivex:opacity-0 aivex:transition-opacity aivex:peer-checked:opacity-100", d) })
|
|
7127
|
+
]
|
|
7115
7128
|
}), t && /* @__PURE__ */ o("span", {
|
|
7116
|
-
className: x("aivex:inline-flex aivex:items-center aivex:text-label-lg aivex:text-text-primary",
|
|
7129
|
+
className: x("aivex:inline-flex aivex:items-center aivex:text-label-lg aivex:text-text-primary", Wa[u]),
|
|
7117
7130
|
children: t
|
|
7118
7131
|
})]
|
|
7119
7132
|
});
|
|
7120
7133
|
}
|
|
7121
7134
|
//#endregion
|
|
7122
7135
|
//#region src/components/Segmented/Segmented.tsx
|
|
7123
|
-
var
|
|
7136
|
+
var Ka = u({}), qa = n("aivex:inline-flex aivex:items-center aivex:gap-xs aivex:rounded-sm aivex:bg-bg-tertiary aivex:p-2xs", {
|
|
7124
7137
|
variants: { size: {
|
|
7125
7138
|
sm: "aivex:h-9",
|
|
7126
7139
|
md: "aivex:h-10",
|
|
@@ -7128,9 +7141,9 @@ var Ga = u({}), Ka = n("aivex:inline-flex aivex:items-center aivex:gap-xs aivex:
|
|
|
7128
7141
|
} },
|
|
7129
7142
|
defaultVariants: { size: "md" }
|
|
7130
7143
|
});
|
|
7131
|
-
function
|
|
7144
|
+
function Ja({ className: e, size: t, value: n, defaultValue: r, onChange: i, iconOnly: a, children: s, ref: c, ...l }) {
|
|
7132
7145
|
let u = n !== void 0, [d, f] = h(r ?? ""), p = u ? n : d;
|
|
7133
|
-
return /* @__PURE__ */ o(
|
|
7146
|
+
return /* @__PURE__ */ o(Ka.Provider, {
|
|
7134
7147
|
value: {
|
|
7135
7148
|
value: p,
|
|
7136
7149
|
onChange: (e) => {
|
|
@@ -7142,13 +7155,13 @@ function qa({ className: e, size: t, value: n, defaultValue: r, onChange: i, ico
|
|
|
7142
7155
|
children: /* @__PURE__ */ o("div", {
|
|
7143
7156
|
ref: c,
|
|
7144
7157
|
role: "tablist",
|
|
7145
|
-
className: x(
|
|
7158
|
+
className: x(qa({ size: t }), e),
|
|
7146
7159
|
...l,
|
|
7147
7160
|
children: s
|
|
7148
7161
|
})
|
|
7149
7162
|
});
|
|
7150
7163
|
}
|
|
7151
|
-
var
|
|
7164
|
+
var Ya = n("aivex:inline-flex aivex:items-center aivex:justify-center aivex:gap-xs aivex:rounded-xs aivex:transition-all aivex:cursor-pointer aivex:select-none aivex:focus-visible:outline-none aivex:focus-visible:ring-2 aivex:focus-visible:ring-border-brand aivex:disabled:pointer-events-none aivex:disabled:opacity-disable", {
|
|
7152
7165
|
variants: {
|
|
7153
7166
|
size: {
|
|
7154
7167
|
sm: "aivex:h-7 aivex:px-md aivex:text-label-md",
|
|
@@ -7187,13 +7200,13 @@ var Ja = n("aivex:inline-flex aivex:items-center aivex:justify-center aivex:gap-
|
|
|
7187
7200
|
iconOnly: !1
|
|
7188
7201
|
}
|
|
7189
7202
|
});
|
|
7190
|
-
function
|
|
7191
|
-
let s = d(
|
|
7203
|
+
function Xa({ className: e, value: t, children: n, onClick: r, ref: i, ...a }) {
|
|
7204
|
+
let s = d(Ka), c = s.value === t;
|
|
7192
7205
|
return /* @__PURE__ */ o("button", {
|
|
7193
7206
|
ref: i,
|
|
7194
7207
|
role: "tab",
|
|
7195
7208
|
"aria-selected": c,
|
|
7196
|
-
className: x(
|
|
7209
|
+
className: x(Ya({
|
|
7197
7210
|
size: s.size ?? "md",
|
|
7198
7211
|
selected: c,
|
|
7199
7212
|
iconOnly: s.iconOnly ?? !1
|
|
@@ -7206,7 +7219,7 @@ function Ya({ className: e, value: t, children: n, onClick: r, ref: i, ...a }) {
|
|
|
7206
7219
|
});
|
|
7207
7220
|
}
|
|
7208
7221
|
typeof window < "u" && window.document && window.document.createElement;
|
|
7209
|
-
function
|
|
7222
|
+
function L(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
7210
7223
|
return function(r) {
|
|
7211
7224
|
if (e?.(r), n === !1 || !r.defaultPrevented) return t?.(r);
|
|
7212
7225
|
};
|
|
@@ -7231,7 +7244,7 @@ function Qa(...e) {
|
|
|
7231
7244
|
};
|
|
7232
7245
|
};
|
|
7233
7246
|
}
|
|
7234
|
-
function
|
|
7247
|
+
function R(...e) {
|
|
7235
7248
|
return c.useCallback(Qa(...e), e);
|
|
7236
7249
|
}
|
|
7237
7250
|
//#endregion
|
|
@@ -7292,7 +7305,7 @@ function eo(...e) {
|
|
|
7292
7305
|
}
|
|
7293
7306
|
//#endregion
|
|
7294
7307
|
//#region node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.2.3_@types+react@19.2.14__@types+re_004379973539b6d86227cd4562b544dc/node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
7295
|
-
var
|
|
7308
|
+
var z = [
|
|
7296
7309
|
"a",
|
|
7297
7310
|
"button",
|
|
7298
7311
|
"div",
|
|
@@ -7352,7 +7365,7 @@ var io = "DismissableLayer", ao = "dismissableLayer.update", oo = "dismissableLa
|
|
|
7352
7365
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
7353
7366
|
branches: /* @__PURE__ */ new Set()
|
|
7354
7367
|
}), uo = c.forwardRef((e, t) => {
|
|
7355
|
-
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: s, onDismiss: l, ...u } = e, d = c.useContext(lo), [f, p] = c.useState(null), m = f?.ownerDocument ?? globalThis?.document, [, h] = c.useState({}), g =
|
|
7368
|
+
let { disableOutsidePointerEvents: n = !1, onEscapeKeyDown: r, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: s, onDismiss: l, ...u } = e, d = c.useContext(lo), [f, p] = c.useState(null), m = f?.ownerDocument ?? globalThis?.document, [, h] = c.useState({}), g = R(t, (e) => p(e)), _ = Array.from(d.layers), [v] = [...d.layersWithOutsidePointerEventsDisabled].slice(-1), y = _.indexOf(v), b = f ? _.indexOf(f) : -1, x = d.layersWithOutsidePointerEventsDisabled.size > 0, S = b >= y, C = mo((e) => {
|
|
7356
7369
|
let t = e.target, n = [...d.branches].some((e) => e.contains(t));
|
|
7357
7370
|
!S || n || (i?.(e), s?.(e), e.defaultPrevented || l?.());
|
|
7358
7371
|
}, m), w = ho((e) => {
|
|
@@ -7375,27 +7388,27 @@ var io = "DismissableLayer", ao = "dismissableLayer.update", oo = "dismissableLa
|
|
|
7375
7388
|
}, [f, d]), c.useEffect(() => {
|
|
7376
7389
|
let e = () => h({});
|
|
7377
7390
|
return document.addEventListener(ao, e), () => document.removeEventListener(ao, e);
|
|
7378
|
-
}, []), /* @__PURE__ */ o(
|
|
7391
|
+
}, []), /* @__PURE__ */ o(z.div, {
|
|
7379
7392
|
...u,
|
|
7380
7393
|
ref: g,
|
|
7381
7394
|
style: {
|
|
7382
7395
|
pointerEvents: x ? S ? "auto" : "none" : void 0,
|
|
7383
7396
|
...e.style
|
|
7384
7397
|
},
|
|
7385
|
-
onFocusCapture:
|
|
7386
|
-
onBlurCapture:
|
|
7387
|
-
onPointerDownCapture:
|
|
7398
|
+
onFocusCapture: L(e.onFocusCapture, w.onFocusCapture),
|
|
7399
|
+
onBlurCapture: L(e.onBlurCapture, w.onBlurCapture),
|
|
7400
|
+
onPointerDownCapture: L(e.onPointerDownCapture, C.onPointerDownCapture)
|
|
7388
7401
|
});
|
|
7389
7402
|
});
|
|
7390
7403
|
uo.displayName = io;
|
|
7391
7404
|
var fo = "DismissableLayerBranch", po = c.forwardRef((e, t) => {
|
|
7392
|
-
let n = c.useContext(lo), r = c.useRef(null), i =
|
|
7405
|
+
let n = c.useContext(lo), r = c.useRef(null), i = R(t, r);
|
|
7393
7406
|
return c.useEffect(() => {
|
|
7394
7407
|
let e = r.current;
|
|
7395
7408
|
if (e) return n.branches.add(e), () => {
|
|
7396
7409
|
n.branches.delete(e);
|
|
7397
7410
|
};
|
|
7398
|
-
}, [n.branches]), /* @__PURE__ */ o(
|
|
7411
|
+
}, [n.branches]), /* @__PURE__ */ o(z.div, {
|
|
7399
7412
|
...e,
|
|
7400
7413
|
ref: i
|
|
7401
7414
|
});
|
|
@@ -7465,7 +7478,7 @@ var xo = "focusScope.autoFocusOnMount", So = "focusScope.autoFocusOnUnmount", Co
|
|
|
7465
7478
|
bubbles: !1,
|
|
7466
7479
|
cancelable: !0
|
|
7467
7480
|
}, wo = "FocusScope", To = c.forwardRef((e, t) => {
|
|
7468
|
-
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...s } = e, [l, u] = c.useState(null), d = no(i), f = no(a), p = c.useRef(null), m =
|
|
7481
|
+
let { loop: n = !1, trapped: r = !1, onMountAutoFocus: i, onUnmountAutoFocus: a, ...s } = e, [l, u] = c.useState(null), d = no(i), f = no(a), p = c.useRef(null), m = R(t, (e) => u(e)), h = c.useRef({
|
|
7469
7482
|
paused: !1,
|
|
7470
7483
|
pause() {
|
|
7471
7484
|
this.paused = !0;
|
|
@@ -7479,13 +7492,13 @@ var xo = "focusScope.autoFocusOnMount", So = "focusScope.autoFocusOnUnmount", Co
|
|
|
7479
7492
|
let e = function(e) {
|
|
7480
7493
|
if (h.paused || !l) return;
|
|
7481
7494
|
let t = e.target;
|
|
7482
|
-
l.contains(t) ? p.current = t :
|
|
7495
|
+
l.contains(t) ? p.current = t : Mo(p.current, { select: !0 });
|
|
7483
7496
|
}, t = function(e) {
|
|
7484
7497
|
if (h.paused || !l) return;
|
|
7485
7498
|
let t = e.relatedTarget;
|
|
7486
|
-
t !== null && (l.contains(t) ||
|
|
7499
|
+
t !== null && (l.contains(t) || Mo(p.current, { select: !0 }));
|
|
7487
7500
|
}, n = function(e) {
|
|
7488
|
-
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 &&
|
|
7501
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && Mo(l);
|
|
7489
7502
|
};
|
|
7490
7503
|
document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
7491
7504
|
let r = new MutationObserver(n);
|
|
@@ -7502,16 +7515,16 @@ var xo = "focusScope.autoFocusOnMount", So = "focusScope.autoFocusOnUnmount", Co
|
|
|
7502
7515
|
h.paused
|
|
7503
7516
|
]), c.useEffect(() => {
|
|
7504
7517
|
if (l) {
|
|
7505
|
-
|
|
7518
|
+
No.add(h);
|
|
7506
7519
|
let e = document.activeElement;
|
|
7507
7520
|
if (!l.contains(e)) {
|
|
7508
7521
|
let t = new CustomEvent(xo, Co);
|
|
7509
|
-
l.addEventListener(xo, d), l.dispatchEvent(t), t.defaultPrevented || (Eo(
|
|
7522
|
+
l.addEventListener(xo, d), l.dispatchEvent(t), t.defaultPrevented || (Eo(Io(Oo(l)), { select: !0 }), document.activeElement === e && Mo(l));
|
|
7510
7523
|
}
|
|
7511
7524
|
return () => {
|
|
7512
7525
|
l.removeEventListener(xo, d), setTimeout(() => {
|
|
7513
7526
|
let t = new CustomEvent(So, Co);
|
|
7514
|
-
l.addEventListener(So, f), l.dispatchEvent(t), t.defaultPrevented ||
|
|
7527
|
+
l.addEventListener(So, f), l.dispatchEvent(t), t.defaultPrevented || Mo(e ?? document.body, { select: !0 }), l.removeEventListener(So, f), No.remove(h);
|
|
7515
7528
|
}, 0);
|
|
7516
7529
|
};
|
|
7517
7530
|
}
|
|
@@ -7526,14 +7539,14 @@ var xo = "focusScope.autoFocusOnMount", So = "focusScope.autoFocusOnUnmount", Co
|
|
|
7526
7539
|
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, i = document.activeElement;
|
|
7527
7540
|
if (t && i) {
|
|
7528
7541
|
let t = e.currentTarget, [r, a] = Do(t);
|
|
7529
|
-
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n &&
|
|
7542
|
+
r && a ? !e.shiftKey && i === a ? (e.preventDefault(), n && Mo(r, { select: !0 })) : e.shiftKey && i === r && (e.preventDefault(), n && Mo(a, { select: !0 })) : i === t && e.preventDefault();
|
|
7530
7543
|
}
|
|
7531
7544
|
}, [
|
|
7532
7545
|
n,
|
|
7533
7546
|
r,
|
|
7534
7547
|
h.paused
|
|
7535
7548
|
]);
|
|
7536
|
-
return /* @__PURE__ */ o(
|
|
7549
|
+
return /* @__PURE__ */ o(z.div, {
|
|
7537
7550
|
tabIndex: -1,
|
|
7538
7551
|
...s,
|
|
7539
7552
|
ref: m,
|
|
@@ -7543,7 +7556,7 @@ var xo = "focusScope.autoFocusOnMount", So = "focusScope.autoFocusOnUnmount", Co
|
|
|
7543
7556
|
To.displayName = wo;
|
|
7544
7557
|
function Eo(e, { select: t = !1 } = {}) {
|
|
7545
7558
|
let n = document.activeElement;
|
|
7546
|
-
for (let r of e) if (
|
|
7559
|
+
for (let r of e) if (Mo(r, { select: t }), document.activeElement !== n) return;
|
|
7547
7560
|
}
|
|
7548
7561
|
function Do(e) {
|
|
7549
7562
|
let t = Oo(e);
|
|
@@ -7572,58 +7585,58 @@ function Ao(e, { upTo: t }) {
|
|
|
7572
7585
|
function jo(e) {
|
|
7573
7586
|
return e instanceof HTMLInputElement && "select" in e;
|
|
7574
7587
|
}
|
|
7575
|
-
function
|
|
7588
|
+
function Mo(e, { select: t = !1 } = {}) {
|
|
7576
7589
|
if (e && e.focus) {
|
|
7577
7590
|
let n = document.activeElement;
|
|
7578
7591
|
e.focus({ preventScroll: !0 }), e !== n && jo(e) && t && e.select();
|
|
7579
7592
|
}
|
|
7580
7593
|
}
|
|
7581
|
-
var
|
|
7582
|
-
function
|
|
7594
|
+
var No = Po();
|
|
7595
|
+
function Po() {
|
|
7583
7596
|
let e = [];
|
|
7584
7597
|
return {
|
|
7585
7598
|
add(t) {
|
|
7586
7599
|
let n = e[0];
|
|
7587
|
-
t !== n && n?.pause(), e =
|
|
7600
|
+
t !== n && n?.pause(), e = Fo(e, t), e.unshift(t);
|
|
7588
7601
|
},
|
|
7589
7602
|
remove(t) {
|
|
7590
|
-
e =
|
|
7603
|
+
e = Fo(e, t), e[0]?.resume();
|
|
7591
7604
|
}
|
|
7592
7605
|
};
|
|
7593
7606
|
}
|
|
7594
|
-
function
|
|
7607
|
+
function Fo(e, t) {
|
|
7595
7608
|
let n = [...e], r = n.indexOf(t);
|
|
7596
7609
|
return r !== -1 && n.splice(r, 1), n;
|
|
7597
7610
|
}
|
|
7598
|
-
function
|
|
7611
|
+
function Io(e) {
|
|
7599
7612
|
return e.filter((e) => e.tagName !== "A");
|
|
7600
7613
|
}
|
|
7601
7614
|
//#endregion
|
|
7602
7615
|
//#region node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.1_@types+react@19.2.14_react@19.2.5/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
7603
|
-
var B = globalThis?.document ? c.useLayoutEffect : () => {},
|
|
7604
|
-
function
|
|
7605
|
-
let [t, n] = c.useState(
|
|
7616
|
+
var B = globalThis?.document ? c.useLayoutEffect : () => {}, Lo = c.useId || (() => void 0), Ro = 0;
|
|
7617
|
+
function zo(e) {
|
|
7618
|
+
let [t, n] = c.useState(Lo());
|
|
7606
7619
|
return B(() => {
|
|
7607
|
-
e || n((e) => e ?? String(
|
|
7620
|
+
e || n((e) => e ?? String(Ro++));
|
|
7608
7621
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
7609
7622
|
}
|
|
7610
7623
|
//#endregion
|
|
7611
7624
|
//#region node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
7612
|
-
var
|
|
7625
|
+
var Bo = [
|
|
7613
7626
|
"top",
|
|
7614
7627
|
"right",
|
|
7615
7628
|
"bottom",
|
|
7616
7629
|
"left"
|
|
7617
|
-
], V = Math.min, H = Math.max,
|
|
7630
|
+
], V = Math.min, H = Math.max, Vo = Math.round, Ho = Math.floor, U = (e) => ({
|
|
7618
7631
|
x: e,
|
|
7619
7632
|
y: e
|
|
7620
|
-
}),
|
|
7633
|
+
}), Uo = {
|
|
7621
7634
|
left: "right",
|
|
7622
7635
|
right: "left",
|
|
7623
7636
|
bottom: "top",
|
|
7624
7637
|
top: "bottom"
|
|
7625
7638
|
};
|
|
7626
|
-
function
|
|
7639
|
+
function Wo(e, t, n) {
|
|
7627
7640
|
return H(e, V(t, n));
|
|
7628
7641
|
}
|
|
7629
7642
|
function W(e, t) {
|
|
@@ -7632,57 +7645,57 @@ function W(e, t) {
|
|
|
7632
7645
|
function G(e) {
|
|
7633
7646
|
return e.split("-")[0];
|
|
7634
7647
|
}
|
|
7635
|
-
function
|
|
7648
|
+
function Go(e) {
|
|
7636
7649
|
return e.split("-")[1];
|
|
7637
7650
|
}
|
|
7638
|
-
function
|
|
7651
|
+
function Ko(e) {
|
|
7639
7652
|
return e === "x" ? "y" : "x";
|
|
7640
7653
|
}
|
|
7641
|
-
function
|
|
7654
|
+
function qo(e) {
|
|
7642
7655
|
return e === "y" ? "height" : "width";
|
|
7643
7656
|
}
|
|
7644
7657
|
function K(e) {
|
|
7645
7658
|
let t = e[0];
|
|
7646
7659
|
return t === "t" || t === "b" ? "y" : "x";
|
|
7647
7660
|
}
|
|
7648
|
-
function
|
|
7649
|
-
return
|
|
7661
|
+
function Jo(e) {
|
|
7662
|
+
return Ko(K(e));
|
|
7650
7663
|
}
|
|
7651
|
-
function
|
|
7664
|
+
function Yo(e, t, n) {
|
|
7652
7665
|
n === void 0 && (n = !1);
|
|
7653
|
-
let r =
|
|
7654
|
-
return t.reference[a] > t.floating[a] && (o =
|
|
7666
|
+
let r = Go(e), i = Jo(e), a = qo(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
7667
|
+
return t.reference[a] > t.floating[a] && (o = is(o)), [o, is(o)];
|
|
7655
7668
|
}
|
|
7656
|
-
function
|
|
7657
|
-
let t =
|
|
7669
|
+
function Xo(e) {
|
|
7670
|
+
let t = is(e);
|
|
7658
7671
|
return [
|
|
7659
|
-
|
|
7672
|
+
Zo(e),
|
|
7660
7673
|
t,
|
|
7661
|
-
|
|
7674
|
+
Zo(t)
|
|
7662
7675
|
];
|
|
7663
7676
|
}
|
|
7664
|
-
function
|
|
7677
|
+
function Zo(e) {
|
|
7665
7678
|
return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
|
|
7666
7679
|
}
|
|
7667
|
-
var
|
|
7668
|
-
function
|
|
7680
|
+
var Qo = ["left", "right"], $o = ["right", "left"], es = ["top", "bottom"], ts = ["bottom", "top"];
|
|
7681
|
+
function ns(e, t, n) {
|
|
7669
7682
|
switch (e) {
|
|
7670
7683
|
case "top":
|
|
7671
|
-
case "bottom": return n ? t ?
|
|
7684
|
+
case "bottom": return n ? t ? $o : Qo : t ? Qo : $o;
|
|
7672
7685
|
case "left":
|
|
7673
|
-
case "right": return t ?
|
|
7686
|
+
case "right": return t ? es : ts;
|
|
7674
7687
|
default: return [];
|
|
7675
7688
|
}
|
|
7676
7689
|
}
|
|
7677
|
-
function
|
|
7678
|
-
let i =
|
|
7679
|
-
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(
|
|
7690
|
+
function rs(e, t, n, r) {
|
|
7691
|
+
let i = Go(e), a = ns(G(e), n === "start", r);
|
|
7692
|
+
return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Zo)))), a;
|
|
7680
7693
|
}
|
|
7681
|
-
function
|
|
7694
|
+
function is(e) {
|
|
7682
7695
|
let t = G(e);
|
|
7683
|
-
return
|
|
7696
|
+
return Uo[t] + e.slice(t.length);
|
|
7684
7697
|
}
|
|
7685
|
-
function
|
|
7698
|
+
function as(e) {
|
|
7686
7699
|
return {
|
|
7687
7700
|
top: 0,
|
|
7688
7701
|
right: 0,
|
|
@@ -7691,15 +7704,15 @@ function is(e) {
|
|
|
7691
7704
|
...e
|
|
7692
7705
|
};
|
|
7693
7706
|
}
|
|
7694
|
-
function
|
|
7707
|
+
function os(e) {
|
|
7695
7708
|
return typeof e == "number" ? {
|
|
7696
7709
|
top: e,
|
|
7697
7710
|
right: e,
|
|
7698
7711
|
bottom: e,
|
|
7699
7712
|
left: e
|
|
7700
|
-
} :
|
|
7713
|
+
} : as(e);
|
|
7701
7714
|
}
|
|
7702
|
-
function
|
|
7715
|
+
function ss(e) {
|
|
7703
7716
|
let { x: t, y: n, width: r, height: i } = e;
|
|
7704
7717
|
return {
|
|
7705
7718
|
width: r,
|
|
@@ -7714,8 +7727,8 @@ function os(e) {
|
|
|
7714
7727
|
}
|
|
7715
7728
|
//#endregion
|
|
7716
7729
|
//#region node_modules/.pnpm/@floating-ui+core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
7717
|
-
function
|
|
7718
|
-
let { reference: r, floating: i } = e, a = K(t), o =
|
|
7730
|
+
function cs(e, t, n) {
|
|
7731
|
+
let { reference: r, floating: i } = e, a = K(t), o = Jo(t), s = qo(o), c = G(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
|
|
7719
7732
|
switch (c) {
|
|
7720
7733
|
case "top":
|
|
7721
7734
|
p = {
|
|
@@ -7746,7 +7759,7 @@ function ss(e, t, n) {
|
|
|
7746
7759
|
y: r.y
|
|
7747
7760
|
};
|
|
7748
7761
|
}
|
|
7749
|
-
switch (
|
|
7762
|
+
switch (Go(t)) {
|
|
7750
7763
|
case "start":
|
|
7751
7764
|
p[o] -= f * (n && l ? -1 : 1);
|
|
7752
7765
|
break;
|
|
@@ -7756,9 +7769,9 @@ function ss(e, t, n) {
|
|
|
7756
7769
|
}
|
|
7757
7770
|
return p;
|
|
7758
7771
|
}
|
|
7759
|
-
async function
|
|
7772
|
+
async function ls(e, t) {
|
|
7760
7773
|
t === void 0 && (t = {});
|
|
7761
|
-
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = W(t, e), p =
|
|
7774
|
+
let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = W(t, e), p = os(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = ss(await i.getClippingRect({
|
|
7762
7775
|
element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
|
|
7763
7776
|
boundary: c,
|
|
7764
7777
|
rootBoundary: l,
|
|
@@ -7771,7 +7784,7 @@ async function cs(e, t) {
|
|
|
7771
7784
|
} : a.reference, _ = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(o.floating)), v = await (i.isElement == null ? void 0 : i.isElement(_)) && await (i.getScale == null ? void 0 : i.getScale(_)) || {
|
|
7772
7785
|
x: 1,
|
|
7773
7786
|
y: 1
|
|
7774
|
-
}, y =
|
|
7787
|
+
}, y = ss(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
7775
7788
|
elements: o,
|
|
7776
7789
|
rect: g,
|
|
7777
7790
|
offsetParent: _,
|
|
@@ -7784,15 +7797,15 @@ async function cs(e, t) {
|
|
|
7784
7797
|
right: (y.right - h.right + p.right) / v.x
|
|
7785
7798
|
};
|
|
7786
7799
|
}
|
|
7787
|
-
var
|
|
7800
|
+
var us = 50, ds = async (e, t, n) => {
|
|
7788
7801
|
let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
|
|
7789
7802
|
...o,
|
|
7790
|
-
detectOverflow:
|
|
7803
|
+
detectOverflow: ls
|
|
7791
7804
|
}, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
|
|
7792
7805
|
reference: e,
|
|
7793
7806
|
floating: t,
|
|
7794
7807
|
strategy: i
|
|
7795
|
-
}), { x: u, y: d } =
|
|
7808
|
+
}), { x: u, y: d } = cs(l, r, c), f = r, p = 0, m = {};
|
|
7796
7809
|
for (let n = 0; n < a.length; n++) {
|
|
7797
7810
|
let h = a[n];
|
|
7798
7811
|
if (!h) continue;
|
|
@@ -7813,11 +7826,11 @@ var ls = 50, us = async (e, t, n) => {
|
|
|
7813
7826
|
u = v ?? u, d = y ?? d, m[g] = {
|
|
7814
7827
|
...m[g],
|
|
7815
7828
|
...b
|
|
7816
|
-
}, x && p <
|
|
7829
|
+
}, x && p < us && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
|
|
7817
7830
|
reference: e,
|
|
7818
7831
|
floating: t,
|
|
7819
7832
|
strategy: i
|
|
7820
|
-
}) : x.rects), {x: u, y: d} =
|
|
7833
|
+
}) : x.rects), {x: u, y: d} = cs(l, f, c)), n = -1);
|
|
7821
7834
|
}
|
|
7822
7835
|
return {
|
|
7823
7836
|
x: u,
|
|
@@ -7826,18 +7839,18 @@ var ls = 50, us = async (e, t, n) => {
|
|
|
7826
7839
|
strategy: i,
|
|
7827
7840
|
middlewareData: m
|
|
7828
7841
|
};
|
|
7829
|
-
},
|
|
7842
|
+
}, fs = (e) => ({
|
|
7830
7843
|
name: "arrow",
|
|
7831
7844
|
options: e,
|
|
7832
7845
|
async fn(t) {
|
|
7833
7846
|
let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = W(e, t) || {};
|
|
7834
7847
|
if (l == null) return {};
|
|
7835
|
-
let d =
|
|
7848
|
+
let d = os(u), f = {
|
|
7836
7849
|
x: n,
|
|
7837
7850
|
y: r
|
|
7838
|
-
}, p =
|
|
7851
|
+
}, p = Jo(i), m = qo(p), h = await o.getDimensions(l), g = p === "y", _ = g ? "top" : "left", v = g ? "bottom" : "right", y = g ? "clientHeight" : "clientWidth", b = a.reference[m] + a.reference[p] - f[p] - a.floating[m], x = f[p] - a.reference[p], S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), C = S ? S[y] : 0;
|
|
7839
7852
|
(!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
|
|
7840
|
-
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E = V(d[_], T), D = V(d[v], T), O = E, k = C - h[m] - D, A = C / 2 - h[m] / 2 + w, j =
|
|
7853
|
+
let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, E = V(d[_], T), D = V(d[v], T), O = E, k = C - h[m] - D, A = C / 2 - h[m] / 2 + w, j = Wo(O, A, k), M = !c.arrow && Go(i) != null && A !== j && a.reference[m] / 2 - (A < O ? E : D) - h[m] / 2 < 0, N = M ? A < O ? A - O : A - k : 0;
|
|
7841
7854
|
return {
|
|
7842
7855
|
[p]: f[p] + N,
|
|
7843
7856
|
data: {
|
|
@@ -7848,7 +7861,7 @@ var ls = 50, us = async (e, t, n) => {
|
|
|
7848
7861
|
reset: M
|
|
7849
7862
|
};
|
|
7850
7863
|
}
|
|
7851
|
-
}),
|
|
7864
|
+
}), ps = function(e) {
|
|
7852
7865
|
return e === void 0 && (e = {}), {
|
|
7853
7866
|
name: "flip",
|
|
7854
7867
|
options: e,
|
|
@@ -7856,11 +7869,11 @@ var ls = 50, us = async (e, t, n) => {
|
|
|
7856
7869
|
var n;
|
|
7857
7870
|
let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = W(e, t);
|
|
7858
7871
|
if ((n = i.arrow) != null && n.alignmentOffset) return {};
|
|
7859
|
-
let g = G(r), _ = K(o), v = G(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [
|
|
7860
|
-
!d && x && b.push(...
|
|
7872
|
+
let g = G(r), _ = K(o), v = G(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [is(o)] : Xo(o)), x = p !== "none";
|
|
7873
|
+
!d && x && b.push(...rs(o, m, p, y));
|
|
7861
7874
|
let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
|
|
7862
7875
|
if (l && w.push(C[g]), u) {
|
|
7863
|
-
let e =
|
|
7876
|
+
let e = Yo(r, a, y);
|
|
7864
7877
|
w.push(C[e[0]], C[e[1]]);
|
|
7865
7878
|
}
|
|
7866
7879
|
if (T = [...T, {
|
|
@@ -7898,7 +7911,7 @@ var ls = 50, us = async (e, t, n) => {
|
|
|
7898
7911
|
}
|
|
7899
7912
|
};
|
|
7900
7913
|
};
|
|
7901
|
-
function
|
|
7914
|
+
function ms(e, t) {
|
|
7902
7915
|
return {
|
|
7903
7916
|
top: e.top - t.height,
|
|
7904
7917
|
right: e.right - t.width,
|
|
@@ -7906,10 +7919,10 @@ function ps(e, t) {
|
|
|
7906
7919
|
left: e.left - t.width
|
|
7907
7920
|
};
|
|
7908
7921
|
}
|
|
7909
|
-
function
|
|
7910
|
-
return
|
|
7922
|
+
function hs(e) {
|
|
7923
|
+
return Bo.some((t) => e[t] >= 0);
|
|
7911
7924
|
}
|
|
7912
|
-
var
|
|
7925
|
+
var gs = function(e) {
|
|
7913
7926
|
return e === void 0 && (e = {}), {
|
|
7914
7927
|
name: "hide",
|
|
7915
7928
|
options: e,
|
|
@@ -7917,32 +7930,32 @@ var hs = function(e) {
|
|
|
7917
7930
|
let { rects: n, platform: r } = t, { strategy: i = "referenceHidden", ...a } = W(e, t);
|
|
7918
7931
|
switch (i) {
|
|
7919
7932
|
case "referenceHidden": {
|
|
7920
|
-
let e =
|
|
7933
|
+
let e = ms(await r.detectOverflow(t, {
|
|
7921
7934
|
...a,
|
|
7922
7935
|
elementContext: "reference"
|
|
7923
7936
|
}), n.reference);
|
|
7924
7937
|
return { data: {
|
|
7925
7938
|
referenceHiddenOffsets: e,
|
|
7926
|
-
referenceHidden:
|
|
7939
|
+
referenceHidden: hs(e)
|
|
7927
7940
|
} };
|
|
7928
7941
|
}
|
|
7929
7942
|
case "escaped": {
|
|
7930
|
-
let e =
|
|
7943
|
+
let e = ms(await r.detectOverflow(t, {
|
|
7931
7944
|
...a,
|
|
7932
7945
|
altBoundary: !0
|
|
7933
7946
|
}), n.floating);
|
|
7934
7947
|
return { data: {
|
|
7935
7948
|
escapedOffsets: e,
|
|
7936
|
-
escaped:
|
|
7949
|
+
escaped: hs(e)
|
|
7937
7950
|
} };
|
|
7938
7951
|
}
|
|
7939
7952
|
default: return {};
|
|
7940
7953
|
}
|
|
7941
7954
|
}
|
|
7942
7955
|
};
|
|
7943
|
-
},
|
|
7944
|
-
async function
|
|
7945
|
-
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = G(n), s =
|
|
7956
|
+
}, _s = /* @__PURE__ */ new Set(["left", "top"]);
|
|
7957
|
+
async function vs(e, t) {
|
|
7958
|
+
let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = G(n), s = Go(n), c = K(n) === "y", l = _s.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = W(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
|
|
7946
7959
|
mainAxis: d,
|
|
7947
7960
|
crossAxis: 0,
|
|
7948
7961
|
alignmentAxis: null
|
|
@@ -7959,13 +7972,13 @@ async function _s(e, t) {
|
|
|
7959
7972
|
y: p * u
|
|
7960
7973
|
};
|
|
7961
7974
|
}
|
|
7962
|
-
var
|
|
7975
|
+
var ys = function(e) {
|
|
7963
7976
|
return e === void 0 && (e = 0), {
|
|
7964
7977
|
name: "offset",
|
|
7965
7978
|
options: e,
|
|
7966
7979
|
async fn(t) {
|
|
7967
7980
|
var n;
|
|
7968
|
-
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await
|
|
7981
|
+
let { x: r, y: i, placement: a, middlewareData: o } = t, s = await vs(t, e);
|
|
7969
7982
|
return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
7970
7983
|
x: r + s.x,
|
|
7971
7984
|
y: i + s.y,
|
|
@@ -7976,7 +7989,7 @@ var vs = function(e) {
|
|
|
7976
7989
|
};
|
|
7977
7990
|
}
|
|
7978
7991
|
};
|
|
7979
|
-
},
|
|
7992
|
+
}, bs = function(e) {
|
|
7980
7993
|
return e === void 0 && (e = {}), {
|
|
7981
7994
|
name: "shift",
|
|
7982
7995
|
options: e,
|
|
@@ -7990,14 +8003,14 @@ var vs = function(e) {
|
|
|
7990
8003
|
} }, ...l } = W(e, t), u = {
|
|
7991
8004
|
x: n,
|
|
7992
8005
|
y: r
|
|
7993
|
-
}, d = await a.detectOverflow(t, l), f = K(G(i)), p =
|
|
8006
|
+
}, d = await a.detectOverflow(t, l), f = K(G(i)), p = Ko(f), m = u[p], h = u[f];
|
|
7994
8007
|
if (o) {
|
|
7995
8008
|
let e = p === "y" ? "top" : "left", t = p === "y" ? "bottom" : "right", n = m + d[e], r = m - d[t];
|
|
7996
|
-
m =
|
|
8009
|
+
m = Wo(n, m, r);
|
|
7997
8010
|
}
|
|
7998
8011
|
if (s) {
|
|
7999
8012
|
let e = f === "y" ? "top" : "left", t = f === "y" ? "bottom" : "right", n = h + d[e], r = h - d[t];
|
|
8000
|
-
h =
|
|
8013
|
+
h = Wo(n, h, r);
|
|
8001
8014
|
}
|
|
8002
8015
|
let g = c.fn({
|
|
8003
8016
|
...t,
|
|
@@ -8017,14 +8030,14 @@ var vs = function(e) {
|
|
|
8017
8030
|
};
|
|
8018
8031
|
}
|
|
8019
8032
|
};
|
|
8020
|
-
},
|
|
8033
|
+
}, xs = function(e) {
|
|
8021
8034
|
return e === void 0 && (e = {}), {
|
|
8022
8035
|
options: e,
|
|
8023
8036
|
fn(t) {
|
|
8024
8037
|
let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } = W(e, t), u = {
|
|
8025
8038
|
x: n,
|
|
8026
8039
|
y: r
|
|
8027
|
-
}, d = K(i), f =
|
|
8040
|
+
}, d = K(i), f = Ko(d), p = u[f], m = u[d], h = W(s, t), g = typeof h == "number" ? {
|
|
8028
8041
|
mainAxis: h,
|
|
8029
8042
|
crossAxis: 0
|
|
8030
8043
|
} : {
|
|
@@ -8037,7 +8050,7 @@ var vs = function(e) {
|
|
|
8037
8050
|
p < t ? p = t : p > n && (p = n);
|
|
8038
8051
|
}
|
|
8039
8052
|
if (l) {
|
|
8040
|
-
let e = f === "y" ? "width" : "height", t =
|
|
8053
|
+
let e = f === "y" ? "width" : "height", t = _s.has(G(i)), n = a.reference[d] - a.floating[e] + (t && o.offset?.[d] || 0) + (t ? 0 : g.crossAxis), r = a.reference[d] + a.reference[e] + (t ? 0 : o.offset?.[d] || 0) - (t ? g.crossAxis : 0);
|
|
8041
8054
|
m < n ? m = n : m > r && (m = r);
|
|
8042
8055
|
}
|
|
8043
8056
|
return {
|
|
@@ -8046,13 +8059,13 @@ var vs = function(e) {
|
|
|
8046
8059
|
};
|
|
8047
8060
|
}
|
|
8048
8061
|
};
|
|
8049
|
-
},
|
|
8062
|
+
}, Ss = function(e) {
|
|
8050
8063
|
return e === void 0 && (e = {}), {
|
|
8051
8064
|
name: "size",
|
|
8052
8065
|
options: e,
|
|
8053
8066
|
async fn(t) {
|
|
8054
8067
|
var n, r;
|
|
8055
|
-
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = W(e, t), u = await o.detectOverflow(t, l), d = G(i), f =
|
|
8068
|
+
let { placement: i, rects: a, platform: o, elements: s } = t, { apply: c = () => {}, ...l } = W(e, t), u = await o.detectOverflow(t, l), d = G(i), f = Go(i), p = K(i) === "y", { width: m, height: h } = a.floating, g, _;
|
|
8056
8069
|
d === "top" || d === "bottom" ? (g = d, _ = f === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (_ = d, g = f === "end" ? "top" : "bottom");
|
|
8057
8070
|
let v = h - u.top - u.bottom, y = m - u.left - u.right, b = V(h - u[g], v), x = V(m - u[_], y), S = !t.middlewareData.shift, C = b, w = x;
|
|
8058
8071
|
if ((n = t.middlewareData.shift) != null && n.enabled.x && (w = y), (r = t.middlewareData.shift) != null && r.enabled.y && (C = v), S && !f) {
|
|
@@ -8071,39 +8084,39 @@ var vs = function(e) {
|
|
|
8071
8084
|
};
|
|
8072
8085
|
//#endregion
|
|
8073
8086
|
//#region node_modules/.pnpm/@floating-ui+utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
8074
|
-
function
|
|
8087
|
+
function Cs() {
|
|
8075
8088
|
return typeof window < "u";
|
|
8076
8089
|
}
|
|
8077
|
-
function
|
|
8078
|
-
return
|
|
8090
|
+
function ws(e) {
|
|
8091
|
+
return Ts(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
8079
8092
|
}
|
|
8080
8093
|
function q(e) {
|
|
8081
8094
|
var t;
|
|
8082
8095
|
return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
8083
8096
|
}
|
|
8084
8097
|
function J(e) {
|
|
8085
|
-
return ((
|
|
8098
|
+
return ((Ts(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
|
|
8086
8099
|
}
|
|
8087
|
-
function
|
|
8088
|
-
return
|
|
8100
|
+
function Ts(e) {
|
|
8101
|
+
return Cs() ? e instanceof Node || e instanceof q(e).Node : !1;
|
|
8089
8102
|
}
|
|
8090
8103
|
function Y(e) {
|
|
8091
|
-
return
|
|
8104
|
+
return Cs() ? e instanceof Element || e instanceof q(e).Element : !1;
|
|
8092
8105
|
}
|
|
8093
8106
|
function X(e) {
|
|
8094
|
-
return
|
|
8095
|
-
}
|
|
8096
|
-
function Ts(e) {
|
|
8097
|
-
return !Ss() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof q(e).ShadowRoot;
|
|
8107
|
+
return Cs() ? e instanceof HTMLElement || e instanceof q(e).HTMLElement : !1;
|
|
8098
8108
|
}
|
|
8099
8109
|
function Es(e) {
|
|
8100
|
-
|
|
8101
|
-
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
8110
|
+
return !Cs() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof q(e).ShadowRoot;
|
|
8102
8111
|
}
|
|
8103
8112
|
function Ds(e) {
|
|
8104
|
-
|
|
8113
|
+
let { overflow: t, overflowX: n, overflowY: r, display: i } = Z(e);
|
|
8114
|
+
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
|
|
8105
8115
|
}
|
|
8106
8116
|
function Os(e) {
|
|
8117
|
+
return /^(table|td|th)$/.test(ws(e));
|
|
8118
|
+
}
|
|
8119
|
+
function ks(e) {
|
|
8107
8120
|
try {
|
|
8108
8121
|
if (e.matches(":popover-open")) return !0;
|
|
8109
8122
|
} catch {}
|
|
@@ -8113,30 +8126,30 @@ function Os(e) {
|
|
|
8113
8126
|
return !1;
|
|
8114
8127
|
}
|
|
8115
8128
|
}
|
|
8116
|
-
var
|
|
8117
|
-
function
|
|
8129
|
+
var As = /transform|translate|scale|rotate|perspective|filter/, js = /paint|layout|strict|content/, Ms = (e) => !!e && e !== "none", Ns;
|
|
8130
|
+
function Ps(e) {
|
|
8118
8131
|
let t = Y(e) ? Z(e) : e;
|
|
8119
|
-
return
|
|
8132
|
+
return Ms(t.transform) || Ms(t.translate) || Ms(t.scale) || Ms(t.rotate) || Ms(t.perspective) || !Is() && (Ms(t.backdropFilter) || Ms(t.filter)) || As.test(t.willChange || "") || js.test(t.contain || "");
|
|
8120
8133
|
}
|
|
8121
|
-
function
|
|
8134
|
+
function Fs(e) {
|
|
8122
8135
|
let t = Q(e);
|
|
8123
|
-
for (; X(t) && !
|
|
8124
|
-
if (
|
|
8125
|
-
if (
|
|
8136
|
+
for (; X(t) && !Ls(t);) {
|
|
8137
|
+
if (Ps(t)) return t;
|
|
8138
|
+
if (ks(t)) return null;
|
|
8126
8139
|
t = Q(t);
|
|
8127
8140
|
}
|
|
8128
8141
|
return null;
|
|
8129
8142
|
}
|
|
8130
|
-
function
|
|
8131
|
-
return
|
|
8143
|
+
function Is() {
|
|
8144
|
+
return Ns ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), Ns;
|
|
8132
8145
|
}
|
|
8133
|
-
function
|
|
8134
|
-
return /^(html|body|#document)$/.test(
|
|
8146
|
+
function Ls(e) {
|
|
8147
|
+
return /^(html|body|#document)$/.test(ws(e));
|
|
8135
8148
|
}
|
|
8136
8149
|
function Z(e) {
|
|
8137
8150
|
return q(e).getComputedStyle(e);
|
|
8138
8151
|
}
|
|
8139
|
-
function
|
|
8152
|
+
function Rs(e) {
|
|
8140
8153
|
return Y(e) ? {
|
|
8141
8154
|
scrollLeft: e.scrollLeft,
|
|
8142
8155
|
scrollTop: e.scrollTop
|
|
@@ -8146,100 +8159,100 @@ function Ls(e) {
|
|
|
8146
8159
|
};
|
|
8147
8160
|
}
|
|
8148
8161
|
function Q(e) {
|
|
8149
|
-
if (
|
|
8150
|
-
let t = e.assignedSlot || e.parentNode ||
|
|
8151
|
-
return
|
|
8162
|
+
if (ws(e) === "html") return e;
|
|
8163
|
+
let t = e.assignedSlot || e.parentNode || Es(e) && e.host || J(e);
|
|
8164
|
+
return Es(t) ? t.host : t;
|
|
8152
8165
|
}
|
|
8153
|
-
function
|
|
8166
|
+
function zs(e) {
|
|
8154
8167
|
let t = Q(e);
|
|
8155
|
-
return
|
|
8168
|
+
return Ls(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : X(t) && Ds(t) ? t : zs(t);
|
|
8156
8169
|
}
|
|
8157
|
-
function
|
|
8170
|
+
function Bs(e, t, n) {
|
|
8158
8171
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
8159
|
-
let r =
|
|
8172
|
+
let r = zs(e), i = r === e.ownerDocument?.body, a = q(r);
|
|
8160
8173
|
if (i) {
|
|
8161
|
-
let e =
|
|
8162
|
-
return t.concat(a, a.visualViewport || [],
|
|
8163
|
-
} else return t.concat(r,
|
|
8174
|
+
let e = Vs(a);
|
|
8175
|
+
return t.concat(a, a.visualViewport || [], Ds(r) ? r : [], e && n ? Bs(e) : []);
|
|
8176
|
+
} else return t.concat(r, Bs(r, [], n));
|
|
8164
8177
|
}
|
|
8165
|
-
function
|
|
8178
|
+
function Vs(e) {
|
|
8166
8179
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
8167
8180
|
}
|
|
8168
8181
|
//#endregion
|
|
8169
8182
|
//#region node_modules/.pnpm/@floating-ui+dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
8170
|
-
function
|
|
8171
|
-
let t = Z(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = X(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s =
|
|
8183
|
+
function Hs(e) {
|
|
8184
|
+
let t = Z(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = X(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = Vo(n) !== a || Vo(r) !== o;
|
|
8172
8185
|
return s && (n = a, r = o), {
|
|
8173
8186
|
width: n,
|
|
8174
8187
|
height: r,
|
|
8175
8188
|
$: s
|
|
8176
8189
|
};
|
|
8177
8190
|
}
|
|
8178
|
-
function
|
|
8191
|
+
function Us(e) {
|
|
8179
8192
|
return Y(e) ? e : e.contextElement;
|
|
8180
8193
|
}
|
|
8181
|
-
function
|
|
8182
|
-
let t =
|
|
8194
|
+
function Ws(e) {
|
|
8195
|
+
let t = Us(e);
|
|
8183
8196
|
if (!X(t)) return U(1);
|
|
8184
|
-
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } =
|
|
8197
|
+
let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = Hs(t), o = (a ? Vo(n.width) : n.width) / r, s = (a ? Vo(n.height) : n.height) / i;
|
|
8185
8198
|
return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
8186
8199
|
x: o,
|
|
8187
8200
|
y: s
|
|
8188
8201
|
};
|
|
8189
8202
|
}
|
|
8190
|
-
var
|
|
8191
|
-
function
|
|
8203
|
+
var Gs = /* @__PURE__ */ U(0);
|
|
8204
|
+
function Ks(e) {
|
|
8192
8205
|
let t = q(e);
|
|
8193
|
-
return !
|
|
8206
|
+
return !Is() || !t.visualViewport ? Gs : {
|
|
8194
8207
|
x: t.visualViewport.offsetLeft,
|
|
8195
8208
|
y: t.visualViewport.offsetTop
|
|
8196
8209
|
};
|
|
8197
8210
|
}
|
|
8198
|
-
function
|
|
8211
|
+
function qs(e, t, n) {
|
|
8199
8212
|
return t === void 0 && (t = !1), !n || t && n !== q(e) ? !1 : t;
|
|
8200
8213
|
}
|
|
8201
|
-
function
|
|
8214
|
+
function Js(e, t, n, r) {
|
|
8202
8215
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
8203
|
-
let i = e.getBoundingClientRect(), a =
|
|
8204
|
-
t && (r ? Y(r) && (o =
|
|
8205
|
-
let s =
|
|
8216
|
+
let i = e.getBoundingClientRect(), a = Us(e), o = U(1);
|
|
8217
|
+
t && (r ? Y(r) && (o = Ws(r)) : o = Ws(e));
|
|
8218
|
+
let s = qs(a, n, r) ? Ks(a) : U(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
|
|
8206
8219
|
if (a) {
|
|
8207
|
-
let e = q(a), t = r && Y(r) ? q(r) : r, n = e, i =
|
|
8220
|
+
let e = q(a), t = r && Y(r) ? q(r) : r, n = e, i = Vs(n);
|
|
8208
8221
|
for (; i && r && t !== n;) {
|
|
8209
|
-
let e =
|
|
8210
|
-
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = q(i), i =
|
|
8222
|
+
let e = Ws(i), t = i.getBoundingClientRect(), r = Z(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
|
|
8223
|
+
c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = q(i), i = Vs(n);
|
|
8211
8224
|
}
|
|
8212
8225
|
}
|
|
8213
|
-
return
|
|
8226
|
+
return ss({
|
|
8214
8227
|
width: u,
|
|
8215
8228
|
height: d,
|
|
8216
8229
|
x: c,
|
|
8217
8230
|
y: l
|
|
8218
8231
|
});
|
|
8219
8232
|
}
|
|
8220
|
-
function Js(e, t) {
|
|
8221
|
-
let n = Ls(e).scrollLeft;
|
|
8222
|
-
return t ? t.left + n : qs(J(e)).left + n;
|
|
8223
|
-
}
|
|
8224
8233
|
function Ys(e, t) {
|
|
8234
|
+
let n = Rs(e).scrollLeft;
|
|
8235
|
+
return t ? t.left + n : Js(J(e)).left + n;
|
|
8236
|
+
}
|
|
8237
|
+
function Xs(e, t) {
|
|
8225
8238
|
let n = e.getBoundingClientRect();
|
|
8226
8239
|
return {
|
|
8227
|
-
x: n.left + t.scrollLeft -
|
|
8240
|
+
x: n.left + t.scrollLeft - Ys(e, n),
|
|
8228
8241
|
y: n.top + t.scrollTop
|
|
8229
8242
|
};
|
|
8230
8243
|
}
|
|
8231
|
-
function
|
|
8232
|
-
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = J(r), s = t ?
|
|
8244
|
+
function Zs(e) {
|
|
8245
|
+
let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = J(r), s = t ? ks(t.floating) : !1;
|
|
8233
8246
|
if (r === o || s && a) return n;
|
|
8234
8247
|
let c = {
|
|
8235
8248
|
scrollLeft: 0,
|
|
8236
8249
|
scrollTop: 0
|
|
8237
8250
|
}, l = U(1), u = U(0), d = X(r);
|
|
8238
|
-
if ((d || !d && !a) && ((
|
|
8239
|
-
let e =
|
|
8240
|
-
l =
|
|
8251
|
+
if ((d || !d && !a) && ((ws(r) !== "body" || Ds(o)) && (c = Rs(r)), d)) {
|
|
8252
|
+
let e = Js(r);
|
|
8253
|
+
l = Ws(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
|
|
8241
8254
|
}
|
|
8242
|
-
let f = o && !d && !a ?
|
|
8255
|
+
let f = o && !d && !a ? Xs(o, c) : U(0);
|
|
8243
8256
|
return {
|
|
8244
8257
|
width: n.width * l.x,
|
|
8245
8258
|
height: n.height * l.y,
|
|
@@ -8247,11 +8260,11 @@ function Xs(e) {
|
|
|
8247
8260
|
y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
|
|
8248
8261
|
};
|
|
8249
8262
|
}
|
|
8250
|
-
function
|
|
8263
|
+
function Qs(e) {
|
|
8251
8264
|
return Array.from(e.getClientRects());
|
|
8252
8265
|
}
|
|
8253
|
-
function
|
|
8254
|
-
let t = J(e), n =
|
|
8266
|
+
function $s(e) {
|
|
8267
|
+
let t = J(e), n = Rs(e), r = e.ownerDocument.body, i = H(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = H(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + Ys(e), s = -n.scrollTop;
|
|
8255
8268
|
return Z(r).direction === "rtl" && (o += H(t.clientWidth, r.clientWidth) - i), {
|
|
8256
8269
|
width: i,
|
|
8257
8270
|
height: a,
|
|
@@ -8259,19 +8272,19 @@ function Qs(e) {
|
|
|
8259
8272
|
y: s
|
|
8260
8273
|
};
|
|
8261
8274
|
}
|
|
8262
|
-
var
|
|
8263
|
-
function
|
|
8275
|
+
var ec = 25;
|
|
8276
|
+
function tc(e, t) {
|
|
8264
8277
|
let n = q(e), r = J(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
|
|
8265
8278
|
if (i) {
|
|
8266
8279
|
a = i.width, o = i.height;
|
|
8267
|
-
let e =
|
|
8280
|
+
let e = Is();
|
|
8268
8281
|
(!e || e && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
|
|
8269
8282
|
}
|
|
8270
|
-
let l =
|
|
8283
|
+
let l = Ys(r);
|
|
8271
8284
|
if (l <= 0) {
|
|
8272
8285
|
let e = r.ownerDocument, t = e.body, n = getComputedStyle(t), i = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, o = Math.abs(r.clientWidth - t.clientWidth - i);
|
|
8273
|
-
o <=
|
|
8274
|
-
} else l <=
|
|
8286
|
+
o <= ec && (a -= o);
|
|
8287
|
+
} else l <= ec && (a += l);
|
|
8275
8288
|
return {
|
|
8276
8289
|
width: a,
|
|
8277
8290
|
height: o,
|
|
@@ -8279,8 +8292,8 @@ function ec(e, t) {
|
|
|
8279
8292
|
y: c
|
|
8280
8293
|
};
|
|
8281
8294
|
}
|
|
8282
|
-
function
|
|
8283
|
-
let n =
|
|
8295
|
+
function nc(e, t) {
|
|
8296
|
+
let n = Js(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = X(e) ? Ws(e) : U(1);
|
|
8284
8297
|
return {
|
|
8285
8298
|
width: e.clientWidth * a.x,
|
|
8286
8299
|
height: e.clientHeight * a.y,
|
|
@@ -8288,13 +8301,13 @@ function tc(e, t) {
|
|
|
8288
8301
|
y: r * a.y
|
|
8289
8302
|
};
|
|
8290
8303
|
}
|
|
8291
|
-
function
|
|
8304
|
+
function rc(e, t, n) {
|
|
8292
8305
|
let r;
|
|
8293
|
-
if (t === "viewport") r =
|
|
8294
|
-
else if (t === "document") r =
|
|
8295
|
-
else if (Y(t)) r =
|
|
8306
|
+
if (t === "viewport") r = tc(e, n);
|
|
8307
|
+
else if (t === "document") r = $s(J(e));
|
|
8308
|
+
else if (Y(t)) r = nc(t, n);
|
|
8296
8309
|
else {
|
|
8297
|
-
let n =
|
|
8310
|
+
let n = Ks(e);
|
|
8298
8311
|
r = {
|
|
8299
8312
|
x: t.x - n.x,
|
|
8300
8313
|
y: t.y - n.y,
|
|
@@ -8302,26 +8315,26 @@ function nc(e, t, n) {
|
|
|
8302
8315
|
height: t.height
|
|
8303
8316
|
};
|
|
8304
8317
|
}
|
|
8305
|
-
return
|
|
8318
|
+
return ss(r);
|
|
8306
8319
|
}
|
|
8307
|
-
function
|
|
8320
|
+
function ic(e, t) {
|
|
8308
8321
|
let n = Q(e);
|
|
8309
|
-
return n === t || !Y(n) ||
|
|
8322
|
+
return n === t || !Y(n) || Ls(n) ? !1 : Z(n).position === "fixed" || ic(n, t);
|
|
8310
8323
|
}
|
|
8311
|
-
function
|
|
8324
|
+
function ac(e, t) {
|
|
8312
8325
|
let n = t.get(e);
|
|
8313
8326
|
if (n) return n;
|
|
8314
|
-
let r =
|
|
8315
|
-
for (; Y(o) && !
|
|
8316
|
-
let t = Z(o), n =
|
|
8317
|
-
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") ||
|
|
8327
|
+
let r = Bs(e, [], !1).filter((e) => Y(e) && ws(e) !== "body"), i = null, a = Z(e).position === "fixed", o = a ? Q(e) : e;
|
|
8328
|
+
for (; Y(o) && !Ls(o);) {
|
|
8329
|
+
let t = Z(o), n = Ps(o);
|
|
8330
|
+
!n && t.position === "fixed" && (i = null), (a ? !n && !i : !n && t.position === "static" && i && (i.position === "absolute" || i.position === "fixed") || Ds(o) && !n && ic(e, o)) ? r = r.filter((e) => e !== o) : i = t, o = Q(o);
|
|
8318
8331
|
}
|
|
8319
8332
|
return t.set(e, r), r;
|
|
8320
8333
|
}
|
|
8321
|
-
function
|
|
8322
|
-
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ?
|
|
8334
|
+
function oc(e) {
|
|
8335
|
+
let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? ks(t) ? [] : ac(t, this._c) : [].concat(n), r], o = rc(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
|
|
8323
8336
|
for (let e = 1; e < a.length; e++) {
|
|
8324
|
-
let n =
|
|
8337
|
+
let n = rc(t, a[e], i);
|
|
8325
8338
|
s = H(n.top, s), c = V(n.right, c), l = V(n.bottom, l), u = H(n.left, u);
|
|
8326
8339
|
}
|
|
8327
8340
|
return {
|
|
@@ -8331,27 +8344,27 @@ function ac(e) {
|
|
|
8331
8344
|
y: s
|
|
8332
8345
|
};
|
|
8333
8346
|
}
|
|
8334
|
-
function
|
|
8335
|
-
let { width: t, height: n } =
|
|
8347
|
+
function sc(e) {
|
|
8348
|
+
let { width: t, height: n } = Hs(e);
|
|
8336
8349
|
return {
|
|
8337
8350
|
width: t,
|
|
8338
8351
|
height: n
|
|
8339
8352
|
};
|
|
8340
8353
|
}
|
|
8341
|
-
function
|
|
8342
|
-
let r = X(t), i = J(t), a = n === "fixed", o =
|
|
8354
|
+
function cc(e, t, n) {
|
|
8355
|
+
let r = X(t), i = J(t), a = n === "fixed", o = Js(e, !0, a, t), s = {
|
|
8343
8356
|
scrollLeft: 0,
|
|
8344
8357
|
scrollTop: 0
|
|
8345
8358
|
}, c = U(0);
|
|
8346
8359
|
function l() {
|
|
8347
|
-
c.x =
|
|
8360
|
+
c.x = Ys(i);
|
|
8348
8361
|
}
|
|
8349
|
-
if (r || !r && !a) if ((
|
|
8350
|
-
let e =
|
|
8362
|
+
if (r || !r && !a) if ((ws(t) !== "body" || Ds(i)) && (s = Rs(t)), r) {
|
|
8363
|
+
let e = Js(t, !0, a, t);
|
|
8351
8364
|
c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
|
|
8352
8365
|
} else i && l();
|
|
8353
8366
|
a && !r && i && l();
|
|
8354
|
-
let u = i && !r && !a ?
|
|
8367
|
+
let u = i && !r && !a ? Xs(i, s) : U(0);
|
|
8355
8368
|
return {
|
|
8356
8369
|
x: o.left + s.scrollLeft - c.x - u.x,
|
|
8357
8370
|
y: o.top + s.scrollTop - c.y - u.y,
|
|
@@ -8359,34 +8372,34 @@ function sc(e, t, n) {
|
|
|
8359
8372
|
height: o.height
|
|
8360
8373
|
};
|
|
8361
8374
|
}
|
|
8362
|
-
function
|
|
8375
|
+
function lc(e) {
|
|
8363
8376
|
return Z(e).position === "static";
|
|
8364
8377
|
}
|
|
8365
|
-
function
|
|
8378
|
+
function uc(e, t) {
|
|
8366
8379
|
if (!X(e) || Z(e).position === "fixed") return null;
|
|
8367
8380
|
if (t) return t(e);
|
|
8368
8381
|
let n = e.offsetParent;
|
|
8369
8382
|
return J(e) === n && (n = n.ownerDocument.body), n;
|
|
8370
8383
|
}
|
|
8371
|
-
function
|
|
8384
|
+
function dc(e, t) {
|
|
8372
8385
|
let n = q(e);
|
|
8373
|
-
if (
|
|
8386
|
+
if (ks(e)) return n;
|
|
8374
8387
|
if (!X(e)) {
|
|
8375
8388
|
let t = Q(e);
|
|
8376
|
-
for (; t && !
|
|
8377
|
-
if (Y(t) && !
|
|
8389
|
+
for (; t && !Ls(t);) {
|
|
8390
|
+
if (Y(t) && !lc(t)) return t;
|
|
8378
8391
|
t = Q(t);
|
|
8379
8392
|
}
|
|
8380
8393
|
return n;
|
|
8381
8394
|
}
|
|
8382
|
-
let r =
|
|
8383
|
-
for (; r &&
|
|
8384
|
-
return r &&
|
|
8395
|
+
let r = uc(e, t);
|
|
8396
|
+
for (; r && Os(r) && lc(r);) r = uc(r, t);
|
|
8397
|
+
return r && Ls(r) && lc(r) && !Ps(r) ? n : r || Fs(e) || n;
|
|
8385
8398
|
}
|
|
8386
|
-
var
|
|
8387
|
-
let t = this.getOffsetParent ||
|
|
8399
|
+
var fc = async function(e) {
|
|
8400
|
+
let t = this.getOffsetParent || dc, n = this.getDimensions, r = await n(e.floating);
|
|
8388
8401
|
return {
|
|
8389
|
-
reference:
|
|
8402
|
+
reference: cc(e.reference, await t(e.floating), e.strategy),
|
|
8390
8403
|
floating: {
|
|
8391
8404
|
x: 0,
|
|
8392
8405
|
y: 0,
|
|
@@ -8395,25 +8408,25 @@ var dc = async function(e) {
|
|
|
8395
8408
|
}
|
|
8396
8409
|
};
|
|
8397
8410
|
};
|
|
8398
|
-
function
|
|
8411
|
+
function pc(e) {
|
|
8399
8412
|
return Z(e).direction === "rtl";
|
|
8400
8413
|
}
|
|
8401
|
-
var
|
|
8402
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
8414
|
+
var mc = {
|
|
8415
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Zs,
|
|
8403
8416
|
getDocumentElement: J,
|
|
8404
|
-
getClippingRect:
|
|
8405
|
-
getOffsetParent:
|
|
8406
|
-
getElementRects:
|
|
8407
|
-
getClientRects:
|
|
8408
|
-
getDimensions:
|
|
8409
|
-
getScale:
|
|
8417
|
+
getClippingRect: oc,
|
|
8418
|
+
getOffsetParent: dc,
|
|
8419
|
+
getElementRects: fc,
|
|
8420
|
+
getClientRects: Qs,
|
|
8421
|
+
getDimensions: sc,
|
|
8422
|
+
getScale: Ws,
|
|
8410
8423
|
isElement: Y,
|
|
8411
|
-
isRTL:
|
|
8424
|
+
isRTL: pc
|
|
8412
8425
|
};
|
|
8413
|
-
function
|
|
8426
|
+
function hc(e, t) {
|
|
8414
8427
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
8415
8428
|
}
|
|
8416
|
-
function
|
|
8429
|
+
function gc(e, t) {
|
|
8417
8430
|
let n = null, r, i = J(e);
|
|
8418
8431
|
function a() {
|
|
8419
8432
|
var e;
|
|
@@ -8423,7 +8436,7 @@ function hc(e, t) {
|
|
|
8423
8436
|
s === void 0 && (s = !1), c === void 0 && (c = 1), a();
|
|
8424
8437
|
let l = e.getBoundingClientRect(), { left: u, top: d, width: f, height: p } = l;
|
|
8425
8438
|
if (s || t(), !f || !p) return;
|
|
8426
|
-
let m =
|
|
8439
|
+
let m = Ho(d), h = Ho(i.clientWidth - (u + f)), g = Ho(i.clientHeight - (d + p)), _ = Ho(u), v = {
|
|
8427
8440
|
rootMargin: -m + "px " + -h + "px " + -g + "px " + -_ + "px",
|
|
8428
8441
|
threshold: H(0, V(1, c)) || 1
|
|
8429
8442
|
}, y = !0;
|
|
@@ -8435,7 +8448,7 @@ function hc(e, t) {
|
|
|
8435
8448
|
o(!1, 1e-7);
|
|
8436
8449
|
}, 1e3);
|
|
8437
8450
|
}
|
|
8438
|
-
n === 1 && !
|
|
8451
|
+
n === 1 && !hc(l, e.getBoundingClientRect()) && o(), y = !1;
|
|
8439
8452
|
}
|
|
8440
8453
|
try {
|
|
8441
8454
|
n = new IntersectionObserver(b, {
|
|
@@ -8449,13 +8462,13 @@ function hc(e, t) {
|
|
|
8449
8462
|
}
|
|
8450
8463
|
return o(!0), a;
|
|
8451
8464
|
}
|
|
8452
|
-
function
|
|
8465
|
+
function _c(e, t, n, r) {
|
|
8453
8466
|
r === void 0 && (r = {});
|
|
8454
|
-
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l =
|
|
8467
|
+
let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = Us(e), u = i || a ? [...l ? Bs(l) : [], ...t ? Bs(t) : []] : [];
|
|
8455
8468
|
u.forEach((e) => {
|
|
8456
8469
|
i && e.addEventListener("scroll", n, { passive: !0 }), a && e.addEventListener("resize", n);
|
|
8457
8470
|
});
|
|
8458
|
-
let d = l && s ?
|
|
8471
|
+
let d = l && s ? gc(l, n) : null, f = -1, p = null;
|
|
8459
8472
|
o && (p = new ResizeObserver((e) => {
|
|
8460
8473
|
let [r] = e;
|
|
8461
8474
|
r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
|
|
@@ -8463,11 +8476,11 @@ function gc(e, t, n, r) {
|
|
|
8463
8476
|
(e = p) == null || e.observe(t);
|
|
8464
8477
|
})), n();
|
|
8465
8478
|
}), l && !c && p.observe(l), t && p.observe(t));
|
|
8466
|
-
let m, h = c ?
|
|
8479
|
+
let m, h = c ? Js(e) : null;
|
|
8467
8480
|
c && g();
|
|
8468
8481
|
function g() {
|
|
8469
|
-
let t =
|
|
8470
|
-
h && !
|
|
8482
|
+
let t = Js(e);
|
|
8483
|
+
h && !hc(h, t) && n(), h = t, m = requestAnimationFrame(g);
|
|
8471
8484
|
}
|
|
8472
8485
|
return n(), () => {
|
|
8473
8486
|
var e;
|
|
@@ -8476,20 +8489,20 @@ function gc(e, t, n, r) {
|
|
|
8476
8489
|
}), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
|
|
8477
8490
|
};
|
|
8478
8491
|
}
|
|
8479
|
-
var
|
|
8492
|
+
var vc = ys, yc = bs, bc = ps, xc = Ss, Sc = gs, Cc = fs, wc = xs, Tc = (e, t, n) => {
|
|
8480
8493
|
let r = /* @__PURE__ */ new Map(), i = {
|
|
8481
|
-
platform:
|
|
8494
|
+
platform: mc,
|
|
8482
8495
|
...n
|
|
8483
8496
|
}, a = {
|
|
8484
8497
|
...i.platform,
|
|
8485
8498
|
_c: r
|
|
8486
8499
|
};
|
|
8487
|
-
return
|
|
8500
|
+
return ds(e, t, {
|
|
8488
8501
|
...i,
|
|
8489
8502
|
platform: a
|
|
8490
8503
|
});
|
|
8491
|
-
},
|
|
8492
|
-
function
|
|
8504
|
+
}, Ec = typeof document < "u" ? p : function() {};
|
|
8505
|
+
function Dc(e, t) {
|
|
8493
8506
|
if (e === t) return !0;
|
|
8494
8507
|
if (typeof e != typeof t) return !1;
|
|
8495
8508
|
if (typeof e == "function" && e.toString() === t.toString()) return !0;
|
|
@@ -8497,33 +8510,33 @@ function Ec(e, t) {
|
|
|
8497
8510
|
if (e && t && typeof e == "object") {
|
|
8498
8511
|
if (Array.isArray(e)) {
|
|
8499
8512
|
if (n = e.length, n !== t.length) return !1;
|
|
8500
|
-
for (r = n; r-- !== 0;) if (!
|
|
8513
|
+
for (r = n; r-- !== 0;) if (!Dc(e[r], t[r])) return !1;
|
|
8501
8514
|
return !0;
|
|
8502
8515
|
}
|
|
8503
8516
|
if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
|
|
8504
8517
|
for (r = n; r-- !== 0;) if (!{}.hasOwnProperty.call(t, i[r])) return !1;
|
|
8505
8518
|
for (r = n; r-- !== 0;) {
|
|
8506
8519
|
let n = i[r];
|
|
8507
|
-
if (!(n === "_owner" && e.$$typeof) && !
|
|
8520
|
+
if (!(n === "_owner" && e.$$typeof) && !Dc(e[n], t[n])) return !1;
|
|
8508
8521
|
}
|
|
8509
8522
|
return !0;
|
|
8510
8523
|
}
|
|
8511
8524
|
return e !== e && t !== t;
|
|
8512
8525
|
}
|
|
8513
|
-
function
|
|
8526
|
+
function Oc(e) {
|
|
8514
8527
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
8515
8528
|
}
|
|
8516
|
-
function
|
|
8517
|
-
let n =
|
|
8529
|
+
function kc(e, t) {
|
|
8530
|
+
let n = Oc(e);
|
|
8518
8531
|
return Math.round(t * n) / n;
|
|
8519
8532
|
}
|
|
8520
|
-
function
|
|
8533
|
+
function Ac(e) {
|
|
8521
8534
|
let t = c.useRef(e);
|
|
8522
|
-
return
|
|
8535
|
+
return Ec(() => {
|
|
8523
8536
|
t.current = e;
|
|
8524
8537
|
}), t;
|
|
8525
8538
|
}
|
|
8526
|
-
function
|
|
8539
|
+
function jc(e) {
|
|
8527
8540
|
e === void 0 && (e = {});
|
|
8528
8541
|
let { placement: t = "bottom", strategy: n = "absolute", middleware: r = [], platform: i, elements: { reference: a, floating: o } = {}, transform: s = !0, whileElementsMounted: l, open: u } = e, [d, f] = c.useState({
|
|
8529
8542
|
x: 0,
|
|
@@ -8533,24 +8546,24 @@ function Ac(e) {
|
|
|
8533
8546
|
middlewareData: {},
|
|
8534
8547
|
isPositioned: !1
|
|
8535
8548
|
}), [p, m] = c.useState(r);
|
|
8536
|
-
|
|
8549
|
+
Dc(p, r) || m(r);
|
|
8537
8550
|
let [h, _] = c.useState(null), [v, y] = c.useState(null), b = c.useCallback((e) => {
|
|
8538
8551
|
e !== w.current && (w.current = e, _(e));
|
|
8539
8552
|
}, []), x = c.useCallback((e) => {
|
|
8540
8553
|
e !== T.current && (T.current = e, y(e));
|
|
8541
|
-
}, []), S = a || h, C = o || v, w = c.useRef(null), T = c.useRef(null), E = c.useRef(d), D = l != null, O =
|
|
8554
|
+
}, []), S = a || h, C = o || v, w = c.useRef(null), T = c.useRef(null), E = c.useRef(d), D = l != null, O = Ac(l), k = Ac(i), A = Ac(u), j = c.useCallback(() => {
|
|
8542
8555
|
if (!w.current || !T.current) return;
|
|
8543
8556
|
let e = {
|
|
8544
8557
|
placement: t,
|
|
8545
8558
|
strategy: n,
|
|
8546
8559
|
middleware: p
|
|
8547
8560
|
};
|
|
8548
|
-
k.current && (e.platform = k.current),
|
|
8561
|
+
k.current && (e.platform = k.current), Tc(w.current, T.current, e).then((e) => {
|
|
8549
8562
|
let t = {
|
|
8550
8563
|
...e,
|
|
8551
8564
|
isPositioned: A.current !== !1
|
|
8552
8565
|
};
|
|
8553
|
-
M.current && !
|
|
8566
|
+
M.current && !Dc(E.current, t) && (E.current = t, g.flushSync(() => {
|
|
8554
8567
|
f(t);
|
|
8555
8568
|
}));
|
|
8556
8569
|
});
|
|
@@ -8561,16 +8574,16 @@ function Ac(e) {
|
|
|
8561
8574
|
k,
|
|
8562
8575
|
A
|
|
8563
8576
|
]);
|
|
8564
|
-
|
|
8577
|
+
Ec(() => {
|
|
8565
8578
|
u === !1 && E.current.isPositioned && (E.current.isPositioned = !1, f((e) => ({
|
|
8566
8579
|
...e,
|
|
8567
8580
|
isPositioned: !1
|
|
8568
8581
|
})));
|
|
8569
8582
|
}, [u]);
|
|
8570
8583
|
let M = c.useRef(!1);
|
|
8571
|
-
|
|
8584
|
+
Ec(() => (M.current = !0, () => {
|
|
8572
8585
|
M.current = !1;
|
|
8573
|
-
}), []),
|
|
8586
|
+
}), []), Ec(() => {
|
|
8574
8587
|
if (S && (w.current = S), C && (T.current = C), S && C) {
|
|
8575
8588
|
if (O.current) return O.current(S, C, j);
|
|
8576
8589
|
j();
|
|
@@ -8597,11 +8610,11 @@ function Ac(e) {
|
|
|
8597
8610
|
top: 0
|
|
8598
8611
|
};
|
|
8599
8612
|
if (!P.floating) return e;
|
|
8600
|
-
let t =
|
|
8613
|
+
let t = kc(P.floating, d.x), r = kc(P.floating, d.y);
|
|
8601
8614
|
return s ? {
|
|
8602
8615
|
...e,
|
|
8603
8616
|
transform: "translate(" + t + "px, " + r + "px)",
|
|
8604
|
-
...
|
|
8617
|
+
...Oc(P.floating) >= 1.5 && { willChange: "transform" }
|
|
8605
8618
|
} : {
|
|
8606
8619
|
position: n,
|
|
8607
8620
|
left: t,
|
|
@@ -8628,7 +8641,7 @@ function Ac(e) {
|
|
|
8628
8641
|
F
|
|
8629
8642
|
]);
|
|
8630
8643
|
}
|
|
8631
|
-
var
|
|
8644
|
+
var Mc = (e) => {
|
|
8632
8645
|
function t(e) {
|
|
8633
8646
|
return {}.hasOwnProperty.call(e, "current");
|
|
8634
8647
|
}
|
|
@@ -8637,22 +8650,15 @@ var jc = (e) => {
|
|
|
8637
8650
|
options: e,
|
|
8638
8651
|
fn(n) {
|
|
8639
8652
|
let { element: r, padding: i } = typeof e == "function" ? e(n) : e;
|
|
8640
|
-
return r && t(r) ? r.current == null ? {} :
|
|
8653
|
+
return r && t(r) ? r.current == null ? {} : Cc({
|
|
8641
8654
|
element: r.current,
|
|
8642
8655
|
padding: i
|
|
8643
|
-
}).fn(n) : r ?
|
|
8656
|
+
}).fn(n) : r ? Cc({
|
|
8644
8657
|
element: r,
|
|
8645
8658
|
padding: i
|
|
8646
8659
|
}).fn(n) : {};
|
|
8647
8660
|
}
|
|
8648
8661
|
};
|
|
8649
|
-
}, Mc = (e, t) => {
|
|
8650
|
-
let n = _c(e);
|
|
8651
|
-
return {
|
|
8652
|
-
name: n.name,
|
|
8653
|
-
fn: n.fn,
|
|
8654
|
-
options: [e, t]
|
|
8655
|
-
};
|
|
8656
8662
|
}, Nc = (e, t) => {
|
|
8657
8663
|
let n = vc(e);
|
|
8658
8664
|
return {
|
|
@@ -8660,17 +8666,17 @@ var jc = (e) => {
|
|
|
8660
8666
|
fn: n.fn,
|
|
8661
8667
|
options: [e, t]
|
|
8662
8668
|
};
|
|
8663
|
-
}, Pc = (e, t) =>
|
|
8664
|
-
fn: Cc(e).fn,
|
|
8665
|
-
options: [e, t]
|
|
8666
|
-
}), Fc = (e, t) => {
|
|
8669
|
+
}, Pc = (e, t) => {
|
|
8667
8670
|
let n = yc(e);
|
|
8668
8671
|
return {
|
|
8669
8672
|
name: n.name,
|
|
8670
8673
|
fn: n.fn,
|
|
8671
8674
|
options: [e, t]
|
|
8672
8675
|
};
|
|
8673
|
-
},
|
|
8676
|
+
}, Fc = (e, t) => ({
|
|
8677
|
+
fn: wc(e).fn,
|
|
8678
|
+
options: [e, t]
|
|
8679
|
+
}), Ic = (e, t) => {
|
|
8674
8680
|
let n = bc(e);
|
|
8675
8681
|
return {
|
|
8676
8682
|
name: n.name,
|
|
@@ -8685,15 +8691,22 @@ var jc = (e) => {
|
|
|
8685
8691
|
options: [e, t]
|
|
8686
8692
|
};
|
|
8687
8693
|
}, Rc = (e, t) => {
|
|
8688
|
-
let n =
|
|
8694
|
+
let n = Sc(e);
|
|
8695
|
+
return {
|
|
8696
|
+
name: n.name,
|
|
8697
|
+
fn: n.fn,
|
|
8698
|
+
options: [e, t]
|
|
8699
|
+
};
|
|
8700
|
+
}, zc = (e, t) => {
|
|
8701
|
+
let n = Mc(e);
|
|
8689
8702
|
return {
|
|
8690
8703
|
name: n.name,
|
|
8691
8704
|
fn: n.fn,
|
|
8692
8705
|
options: [e, t]
|
|
8693
8706
|
};
|
|
8694
|
-
},
|
|
8707
|
+
}, Bc = "Arrow", Vc = c.forwardRef((e, t) => {
|
|
8695
8708
|
let { children: n, width: r = 10, height: i = 5, ...a } = e;
|
|
8696
|
-
return /* @__PURE__ */ o(
|
|
8709
|
+
return /* @__PURE__ */ o(z.svg, {
|
|
8697
8710
|
...a,
|
|
8698
8711
|
ref: t,
|
|
8699
8712
|
width: r,
|
|
@@ -8703,11 +8716,11 @@ var jc = (e) => {
|
|
|
8703
8716
|
children: e.asChild ? n : /* @__PURE__ */ o("polygon", { points: "0,0 30,0 15,10" })
|
|
8704
8717
|
});
|
|
8705
8718
|
});
|
|
8706
|
-
|
|
8707
|
-
var
|
|
8719
|
+
Vc.displayName = Bc;
|
|
8720
|
+
var Hc = Vc;
|
|
8708
8721
|
//#endregion
|
|
8709
8722
|
//#region node_modules/.pnpm/@radix-ui+react-use-size@1.1.1_@types+react@19.2.14_react@19.2.5/node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
8710
|
-
function
|
|
8723
|
+
function Uc(e) {
|
|
8711
8724
|
let [t, n] = c.useState(void 0);
|
|
8712
8725
|
return B(() => {
|
|
8713
8726
|
if (e) {
|
|
@@ -8733,29 +8746,29 @@ function Hc(e) {
|
|
|
8733
8746
|
}
|
|
8734
8747
|
//#endregion
|
|
8735
8748
|
//#region node_modules/.pnpm/@radix-ui+react-popper@1.2.8_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react_b2df70dfdc5938ce3eb3c2d33572a030/node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
8736
|
-
var
|
|
8749
|
+
var Wc = "Popper", [Gc, Kc] = $a(Wc), [qc, Jc] = Gc(Wc), Yc = (e) => {
|
|
8737
8750
|
let { __scopePopper: t, children: n } = e, [r, i] = c.useState(null);
|
|
8738
|
-
return /* @__PURE__ */ o(
|
|
8751
|
+
return /* @__PURE__ */ o(qc, {
|
|
8739
8752
|
scope: t,
|
|
8740
8753
|
anchor: r,
|
|
8741
8754
|
onAnchorChange: i,
|
|
8742
8755
|
children: n
|
|
8743
8756
|
});
|
|
8744
8757
|
};
|
|
8745
|
-
|
|
8746
|
-
var
|
|
8747
|
-
let { __scopePopper: n, virtualRef: r, ...i } = e, a =
|
|
8758
|
+
Yc.displayName = Wc;
|
|
8759
|
+
var Xc = "PopperAnchor", Zc = c.forwardRef((e, t) => {
|
|
8760
|
+
let { __scopePopper: n, virtualRef: r, ...i } = e, a = Jc(Xc, n), s = c.useRef(null), l = R(t, s), u = c.useRef(null);
|
|
8748
8761
|
return c.useEffect(() => {
|
|
8749
8762
|
let e = u.current;
|
|
8750
8763
|
u.current = r?.current || s.current, e !== u.current && a.onAnchorChange(u.current);
|
|
8751
|
-
}), r ? null : /* @__PURE__ */ o(
|
|
8764
|
+
}), r ? null : /* @__PURE__ */ o(z.div, {
|
|
8752
8765
|
...i,
|
|
8753
8766
|
ref: l
|
|
8754
8767
|
});
|
|
8755
8768
|
});
|
|
8756
|
-
|
|
8757
|
-
var
|
|
8758
|
-
let { __scopePopper: n, side: r = "bottom", sideOffset: i = 0, align: a = "center", alignOffset: s = 0, arrowPadding: l = 0, avoidCollisions: u = !0, collisionBoundary: d = [], collisionPadding: f = 0, sticky: p = "partial", hideWhenDetached: m = !1, updatePositionStrategy: h = "optimized", onPlaced: g, ..._ } = e, v =
|
|
8769
|
+
Zc.displayName = Xc;
|
|
8770
|
+
var Qc = "PopperContent", [$c, el] = Gc(Qc), tl = c.forwardRef((e, t) => {
|
|
8771
|
+
let { __scopePopper: n, side: r = "bottom", sideOffset: i = 0, align: a = "center", alignOffset: s = 0, arrowPadding: l = 0, avoidCollisions: u = !0, collisionBoundary: d = [], collisionPadding: f = 0, sticky: p = "partial", hideWhenDetached: m = !1, updatePositionStrategy: h = "optimized", onPlaced: g, ..._ } = e, v = Jc(Qc, n), [y, b] = c.useState(null), x = R(t, (e) => b(e)), [S, C] = c.useState(null), w = Uc(S), T = w?.width ?? 0, E = w?.height ?? 0, D = r + (a === "center" ? "" : "-" + a), O = typeof f == "number" ? f : {
|
|
8759
8772
|
top: 0,
|
|
8760
8773
|
right: 0,
|
|
8761
8774
|
bottom: 0,
|
|
@@ -8763,46 +8776,46 @@ var Zc = "PopperContent", [Qc, $c] = Wc(Zc), el = c.forwardRef((e, t) => {
|
|
|
8763
8776
|
...f
|
|
8764
8777
|
}, k = Array.isArray(d) ? d : [d], A = k.length > 0, j = {
|
|
8765
8778
|
padding: O,
|
|
8766
|
-
boundary: k.filter(
|
|
8779
|
+
boundary: k.filter(al),
|
|
8767
8780
|
altBoundary: A
|
|
8768
|
-
}, { refs: M, floatingStyles: N, placement: P, isPositioned: F, middlewareData: I } =
|
|
8781
|
+
}, { refs: M, floatingStyles: N, placement: P, isPositioned: F, middlewareData: I } = jc({
|
|
8769
8782
|
strategy: "fixed",
|
|
8770
8783
|
placement: D,
|
|
8771
|
-
whileElementsMounted: (...e) =>
|
|
8784
|
+
whileElementsMounted: (...e) => _c(...e, { animationFrame: h === "always" }),
|
|
8772
8785
|
elements: { reference: v.anchor },
|
|
8773
8786
|
middleware: [
|
|
8774
|
-
|
|
8787
|
+
Nc({
|
|
8775
8788
|
mainAxis: i + E,
|
|
8776
8789
|
alignmentAxis: s
|
|
8777
8790
|
}),
|
|
8778
|
-
u &&
|
|
8791
|
+
u && Pc({
|
|
8779
8792
|
mainAxis: !0,
|
|
8780
8793
|
crossAxis: !1,
|
|
8781
|
-
limiter: p === "partial" ?
|
|
8794
|
+
limiter: p === "partial" ? Fc() : void 0,
|
|
8782
8795
|
...j
|
|
8783
8796
|
}),
|
|
8784
|
-
u &&
|
|
8785
|
-
|
|
8797
|
+
u && Ic({ ...j }),
|
|
8798
|
+
Lc({
|
|
8786
8799
|
...j,
|
|
8787
8800
|
apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
8788
8801
|
let { width: i, height: a } = t.reference, o = e.floating.style;
|
|
8789
8802
|
o.setProperty("--radix-popper-available-width", `${n}px`), o.setProperty("--radix-popper-available-height", `${r}px`), o.setProperty("--radix-popper-anchor-width", `${i}px`), o.setProperty("--radix-popper-anchor-height", `${a}px`);
|
|
8790
8803
|
}
|
|
8791
8804
|
}),
|
|
8792
|
-
S &&
|
|
8805
|
+
S && zc({
|
|
8793
8806
|
element: S,
|
|
8794
8807
|
padding: l
|
|
8795
8808
|
}),
|
|
8796
|
-
|
|
8809
|
+
ol({
|
|
8797
8810
|
arrowWidth: T,
|
|
8798
8811
|
arrowHeight: E
|
|
8799
8812
|
}),
|
|
8800
|
-
m &&
|
|
8813
|
+
m && Rc({
|
|
8801
8814
|
strategy: "referenceHidden",
|
|
8802
8815
|
...j
|
|
8803
8816
|
})
|
|
8804
8817
|
]
|
|
8805
|
-
}), [ee, te] =
|
|
8818
|
+
}), [ee, te] = sl(P), ne = no(g);
|
|
8806
8819
|
B(() => {
|
|
8807
8820
|
F && ne?.();
|
|
8808
8821
|
}, [F, ne]);
|
|
@@ -8824,14 +8837,14 @@ var Zc = "PopperContent", [Qc, $c] = Wc(Zc), el = c.forwardRef((e, t) => {
|
|
|
8824
8837
|
}
|
|
8825
8838
|
},
|
|
8826
8839
|
dir: e.dir,
|
|
8827
|
-
children: /* @__PURE__ */ o(
|
|
8840
|
+
children: /* @__PURE__ */ o($c, {
|
|
8828
8841
|
scope: n,
|
|
8829
8842
|
placedSide: ee,
|
|
8830
8843
|
onArrowChange: C,
|
|
8831
8844
|
arrowX: re,
|
|
8832
8845
|
arrowY: ie,
|
|
8833
8846
|
shouldHideArrow: ae,
|
|
8834
|
-
children: /* @__PURE__ */ o(
|
|
8847
|
+
children: /* @__PURE__ */ o(z.div, {
|
|
8835
8848
|
"data-side": ee,
|
|
8836
8849
|
"data-align": te,
|
|
8837
8850
|
..._,
|
|
@@ -8844,14 +8857,14 @@ var Zc = "PopperContent", [Qc, $c] = Wc(Zc), el = c.forwardRef((e, t) => {
|
|
|
8844
8857
|
})
|
|
8845
8858
|
});
|
|
8846
8859
|
});
|
|
8847
|
-
|
|
8848
|
-
var
|
|
8860
|
+
tl.displayName = Qc;
|
|
8861
|
+
var nl = "PopperArrow", rl = {
|
|
8849
8862
|
top: "bottom",
|
|
8850
8863
|
right: "left",
|
|
8851
8864
|
bottom: "top",
|
|
8852
8865
|
left: "right"
|
|
8853
|
-
},
|
|
8854
|
-
let { __scopePopper: n, ...r } = e, i =
|
|
8866
|
+
}, il = c.forwardRef(function(e, t) {
|
|
8867
|
+
let { __scopePopper: n, ...r } = e, i = el(nl, n), a = rl[i.placedSide];
|
|
8855
8868
|
return /* @__PURE__ */ o("span", {
|
|
8856
8869
|
ref: i.onArrowChange,
|
|
8857
8870
|
style: {
|
|
@@ -8873,7 +8886,7 @@ var tl = "PopperArrow", nl = {
|
|
|
8873
8886
|
}[i.placedSide],
|
|
8874
8887
|
visibility: i.shouldHideArrow ? "hidden" : void 0
|
|
8875
8888
|
},
|
|
8876
|
-
children: /* @__PURE__ */ o(
|
|
8889
|
+
children: /* @__PURE__ */ o(Hc, {
|
|
8877
8890
|
...r,
|
|
8878
8891
|
ref: t,
|
|
8879
8892
|
style: {
|
|
@@ -8883,15 +8896,15 @@ var tl = "PopperArrow", nl = {
|
|
|
8883
8896
|
})
|
|
8884
8897
|
});
|
|
8885
8898
|
});
|
|
8886
|
-
|
|
8887
|
-
function
|
|
8899
|
+
il.displayName = nl;
|
|
8900
|
+
function al(e) {
|
|
8888
8901
|
return e !== null;
|
|
8889
8902
|
}
|
|
8890
|
-
var
|
|
8903
|
+
var ol = (e) => ({
|
|
8891
8904
|
name: "transformOrigin",
|
|
8892
8905
|
options: e,
|
|
8893
8906
|
fn(t) {
|
|
8894
|
-
let { placement: n, rects: r, middlewareData: i } = t, a = i.arrow?.centerOffset !== 0, o = a ? 0 : e.arrowWidth, s = a ? 0 : e.arrowHeight, [c, l] =
|
|
8907
|
+
let { placement: n, rects: r, middlewareData: i } = t, a = i.arrow?.centerOffset !== 0, o = a ? 0 : e.arrowWidth, s = a ? 0 : e.arrowHeight, [c, l] = sl(n), u = {
|
|
8895
8908
|
start: "0%",
|
|
8896
8909
|
center: "50%",
|
|
8897
8910
|
end: "100%"
|
|
@@ -8902,32 +8915,32 @@ var al = (e) => ({
|
|
|
8902
8915
|
} };
|
|
8903
8916
|
}
|
|
8904
8917
|
});
|
|
8905
|
-
function
|
|
8918
|
+
function sl(e) {
|
|
8906
8919
|
let [t, n = "center"] = e.split("-");
|
|
8907
8920
|
return [t, n];
|
|
8908
8921
|
}
|
|
8909
|
-
var
|
|
8922
|
+
var cl = Yc, ll = Zc, ul = tl, dl = il, fl = "Portal", pl = c.forwardRef((e, t) => {
|
|
8910
8923
|
let { container: n, ...r } = e, [i, a] = c.useState(!1);
|
|
8911
8924
|
B(() => a(!0), []);
|
|
8912
8925
|
let s = n || i && globalThis?.document?.body;
|
|
8913
|
-
return s ? _.createPortal(/* @__PURE__ */ o(
|
|
8926
|
+
return s ? _.createPortal(/* @__PURE__ */ o(z.div, {
|
|
8914
8927
|
...r,
|
|
8915
8928
|
ref: t
|
|
8916
8929
|
}), s) : null;
|
|
8917
8930
|
});
|
|
8918
|
-
|
|
8931
|
+
pl.displayName = fl;
|
|
8919
8932
|
//#endregion
|
|
8920
8933
|
//#region node_modules/.pnpm/@radix-ui+react-presence@1.1.5_@types+react-dom@19.2.3_@types+react@19.2.14__@types+rea_bb0422da16a13d2aa5012c2e1c1c5a99/node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
8921
|
-
function
|
|
8934
|
+
function ml(e, t) {
|
|
8922
8935
|
return c.useReducer((e, n) => t[e][n] ?? e, e);
|
|
8923
8936
|
}
|
|
8924
|
-
var
|
|
8925
|
-
let { present: t, children: n } = e, r =
|
|
8937
|
+
var hl = (e) => {
|
|
8938
|
+
let { present: t, children: n } = e, r = gl(t), i = typeof n == "function" ? n({ present: r.isPresent }) : c.Children.only(n), a = R(r.ref, vl(i));
|
|
8926
8939
|
return typeof n == "function" || r.isPresent ? c.cloneElement(i, { ref: a }) : null;
|
|
8927
8940
|
};
|
|
8928
|
-
|
|
8929
|
-
function
|
|
8930
|
-
let [t, n] = c.useState(), r = c.useRef(null), i = c.useRef(e), a = c.useRef("none"), [o, s] =
|
|
8941
|
+
hl.displayName = "Presence";
|
|
8942
|
+
function gl(e) {
|
|
8943
|
+
let [t, n] = c.useState(), r = c.useRef(null), i = c.useRef(e), a = c.useRef("none"), [o, s] = ml(e ? "mounted" : "unmounted", {
|
|
8931
8944
|
mounted: {
|
|
8932
8945
|
UNMOUNT: "unmounted",
|
|
8933
8946
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -8939,18 +8952,18 @@ function hl(e) {
|
|
|
8939
8952
|
unmounted: { MOUNT: "mounted" }
|
|
8940
8953
|
});
|
|
8941
8954
|
return c.useEffect(() => {
|
|
8942
|
-
let e =
|
|
8955
|
+
let e = _l(r.current);
|
|
8943
8956
|
a.current = o === "mounted" ? e : "none";
|
|
8944
8957
|
}, [o]), B(() => {
|
|
8945
8958
|
let t = r.current, n = i.current;
|
|
8946
8959
|
if (n !== e) {
|
|
8947
|
-
let r = a.current, o =
|
|
8960
|
+
let r = a.current, o = _l(t);
|
|
8948
8961
|
e ? s("MOUNT") : o === "none" || t?.display === "none" ? s("UNMOUNT") : s(n && r !== o ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e;
|
|
8949
8962
|
}
|
|
8950
8963
|
}, [e, s]), B(() => {
|
|
8951
8964
|
if (t) {
|
|
8952
8965
|
let e, n = t.ownerDocument.defaultView ?? window, o = (a) => {
|
|
8953
|
-
let o =
|
|
8966
|
+
let o = _l(r.current).includes(CSS.escape(a.animationName));
|
|
8954
8967
|
if (a.target === t && o && (s("ANIMATION_END"), !i.current)) {
|
|
8955
8968
|
let r = t.style.animationFillMode;
|
|
8956
8969
|
t.style.animationFillMode = "forwards", e = n.setTimeout(() => {
|
|
@@ -8958,7 +8971,7 @@ function hl(e) {
|
|
|
8958
8971
|
});
|
|
8959
8972
|
}
|
|
8960
8973
|
}, c = (e) => {
|
|
8961
|
-
e.target === t && (a.current =
|
|
8974
|
+
e.target === t && (a.current = _l(r.current));
|
|
8962
8975
|
};
|
|
8963
8976
|
return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", o), t.addEventListener("animationend", o), () => {
|
|
8964
8977
|
n.clearTimeout(e), t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", o), t.removeEventListener("animationend", o);
|
|
@@ -8971,18 +8984,18 @@ function hl(e) {
|
|
|
8971
8984
|
}, [])
|
|
8972
8985
|
};
|
|
8973
8986
|
}
|
|
8974
|
-
function
|
|
8987
|
+
function _l(e) {
|
|
8975
8988
|
return e?.animationName || "none";
|
|
8976
8989
|
}
|
|
8977
|
-
function
|
|
8990
|
+
function vl(e) {
|
|
8978
8991
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
8979
8992
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
8980
8993
|
}
|
|
8981
8994
|
//#endregion
|
|
8982
8995
|
//#region node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.2.2_@types+react@19.2.14_react@19.2.5/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
8983
|
-
var
|
|
8984
|
-
function
|
|
8985
|
-
let [i, a, o] =
|
|
8996
|
+
var yl = c.useInsertionEffect || B;
|
|
8997
|
+
function bl({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
8998
|
+
let [i, a, o] = xl({
|
|
8986
8999
|
defaultProp: t,
|
|
8987
9000
|
onChange: n
|
|
8988
9001
|
}), s = e !== void 0, l = s ? e : i;
|
|
@@ -8995,7 +9008,7 @@ function yl({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
8995
9008
|
}
|
|
8996
9009
|
return [l, c.useCallback((t) => {
|
|
8997
9010
|
if (s) {
|
|
8998
|
-
let n =
|
|
9011
|
+
let n = Sl(t) ? t(e) : t;
|
|
8999
9012
|
n !== e && o.current?.(n);
|
|
9000
9013
|
} else a(t);
|
|
9001
9014
|
}, [
|
|
@@ -9005,9 +9018,9 @@ function yl({ prop: e, defaultProp: t, onChange: n = () => {}, caller: r }) {
|
|
|
9005
9018
|
o
|
|
9006
9019
|
])];
|
|
9007
9020
|
}
|
|
9008
|
-
function
|
|
9021
|
+
function xl({ defaultProp: e, onChange: t }) {
|
|
9009
9022
|
let [n, r] = c.useState(e), i = c.useRef(n), a = c.useRef(t);
|
|
9010
|
-
return
|
|
9023
|
+
return yl(() => {
|
|
9011
9024
|
a.current = t;
|
|
9012
9025
|
}, [t]), c.useEffect(() => {
|
|
9013
9026
|
i.current !== n && (a.current?.(n), i.current = n);
|
|
@@ -9017,27 +9030,27 @@ function bl({ defaultProp: e, onChange: t }) {
|
|
|
9017
9030
|
a
|
|
9018
9031
|
];
|
|
9019
9032
|
}
|
|
9020
|
-
function
|
|
9033
|
+
function Sl(e) {
|
|
9021
9034
|
return typeof e == "function";
|
|
9022
9035
|
}
|
|
9023
9036
|
//#endregion
|
|
9024
9037
|
//#region node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js
|
|
9025
|
-
var
|
|
9038
|
+
var Cl = function(e) {
|
|
9026
9039
|
return typeof document > "u" ? null : (Array.isArray(e) ? e[0] : e).ownerDocument.body;
|
|
9027
|
-
},
|
|
9028
|
-
return e && (e.host ||
|
|
9029
|
-
},
|
|
9040
|
+
}, wl = /* @__PURE__ */ new WeakMap(), Tl = /* @__PURE__ */ new WeakMap(), El = {}, Dl = 0, Ol = function(e) {
|
|
9041
|
+
return e && (e.host || Ol(e.parentNode));
|
|
9042
|
+
}, kl = function(e, t) {
|
|
9030
9043
|
return t.map(function(t) {
|
|
9031
9044
|
if (e.contains(t)) return t;
|
|
9032
|
-
var n =
|
|
9045
|
+
var n = Ol(t);
|
|
9033
9046
|
return n && e.contains(n) ? n : (console.error("aria-hidden", t, "in not contained inside", e, ". Doing nothing"), null);
|
|
9034
9047
|
}).filter(function(e) {
|
|
9035
9048
|
return !!e;
|
|
9036
9049
|
});
|
|
9037
|
-
},
|
|
9038
|
-
var i =
|
|
9039
|
-
|
|
9040
|
-
var a =
|
|
9050
|
+
}, Al = function(e, t, n, r) {
|
|
9051
|
+
var i = kl(t, Array.isArray(e) ? e : [e]);
|
|
9052
|
+
El[n] || (El[n] = /* @__PURE__ */ new WeakMap());
|
|
9053
|
+
var a = El[n], o = [], s = /* @__PURE__ */ new Set(), c = new Set(i), l = function(e) {
|
|
9041
9054
|
!e || s.has(e) || (s.add(e), l(e.parentNode));
|
|
9042
9055
|
};
|
|
9043
9056
|
i.forEach(l);
|
|
@@ -9045,23 +9058,23 @@ var Sl = function(e) {
|
|
|
9045
9058
|
!e || c.has(e) || Array.prototype.forEach.call(e.children, function(e) {
|
|
9046
9059
|
if (s.has(e)) u(e);
|
|
9047
9060
|
else try {
|
|
9048
|
-
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (
|
|
9049
|
-
|
|
9061
|
+
var t = e.getAttribute(r), i = t !== null && t !== "false", c = (wl.get(e) || 0) + 1, l = (a.get(e) || 0) + 1;
|
|
9062
|
+
wl.set(e, c), a.set(e, l), o.push(e), c === 1 && i && Tl.set(e, !0), l === 1 && e.setAttribute(n, "true"), i || e.setAttribute(r, "true");
|
|
9050
9063
|
} catch (t) {
|
|
9051
9064
|
console.error("aria-hidden: cannot operate on ", e, t);
|
|
9052
9065
|
}
|
|
9053
9066
|
});
|
|
9054
9067
|
};
|
|
9055
|
-
return u(t), s.clear(),
|
|
9068
|
+
return u(t), s.clear(), Dl++, function() {
|
|
9056
9069
|
o.forEach(function(e) {
|
|
9057
|
-
var t =
|
|
9058
|
-
|
|
9059
|
-
}),
|
|
9070
|
+
var t = wl.get(e) - 1, i = a.get(e) - 1;
|
|
9071
|
+
wl.set(e, t), a.set(e, i), t || (Tl.has(e) || e.removeAttribute(r), Tl.delete(e)), i || e.removeAttribute(n);
|
|
9072
|
+
}), Dl--, Dl || (wl = /* @__PURE__ */ new WeakMap(), wl = /* @__PURE__ */ new WeakMap(), Tl = /* @__PURE__ */ new WeakMap(), El = {});
|
|
9060
9073
|
};
|
|
9061
|
-
},
|
|
9074
|
+
}, jl = function(e, t, n) {
|
|
9062
9075
|
n === void 0 && (n = "data-aria-hidden");
|
|
9063
|
-
var r = Array.from(Array.isArray(e) ? e : [e]), i = t ||
|
|
9064
|
-
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))),
|
|
9076
|
+
var r = Array.from(Array.isArray(e) ? e : [e]), i = t || Cl(e);
|
|
9077
|
+
return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), Al(r, i, n, "aria-hidden")) : function() {
|
|
9065
9078
|
return null;
|
|
9066
9079
|
};
|
|
9067
9080
|
}, $ = function() {
|
|
@@ -9070,27 +9083,27 @@ var Sl = function(e) {
|
|
|
9070
9083
|
return e;
|
|
9071
9084
|
}, $.apply(this, arguments);
|
|
9072
9085
|
};
|
|
9073
|
-
function
|
|
9086
|
+
function Ml(e, t) {
|
|
9074
9087
|
var n = {};
|
|
9075
9088
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
9076
9089
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
9077
9090
|
return n;
|
|
9078
9091
|
}
|
|
9079
|
-
function
|
|
9092
|
+
function Nl(e, t, n) {
|
|
9080
9093
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
|
|
9081
9094
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
9082
9095
|
}
|
|
9083
9096
|
//#endregion
|
|
9084
9097
|
//#region node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.2.14_react@19.2.5/node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
9085
|
-
var
|
|
9098
|
+
var Pl = "right-scroll-bar-position", Fl = "width-before-scroll-bar", Il = "with-scroll-bars-hidden", Ll = "--removed-body-scroll-bar-size";
|
|
9086
9099
|
//#endregion
|
|
9087
9100
|
//#region node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.14_react@19.2.5/node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
9088
|
-
function
|
|
9101
|
+
function Rl(e, t) {
|
|
9089
9102
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
9090
9103
|
}
|
|
9091
9104
|
//#endregion
|
|
9092
9105
|
//#region node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.14_react@19.2.5/node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
9093
|
-
function
|
|
9106
|
+
function zl(e, t) {
|
|
9094
9107
|
var n = h(function() {
|
|
9095
9108
|
return {
|
|
9096
9109
|
value: e,
|
|
@@ -9110,33 +9123,33 @@ function Rl(e, t) {
|
|
|
9110
9123
|
}
|
|
9111
9124
|
//#endregion
|
|
9112
9125
|
//#region node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.14_react@19.2.5/node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
9113
|
-
var
|
|
9114
|
-
function
|
|
9115
|
-
var n =
|
|
9126
|
+
var Bl = typeof window < "u" ? c.useLayoutEffect : c.useEffect, Vl = /* @__PURE__ */ new WeakMap();
|
|
9127
|
+
function Hl(e, t) {
|
|
9128
|
+
var n = zl(t || null, function(t) {
|
|
9116
9129
|
return e.forEach(function(e) {
|
|
9117
|
-
return
|
|
9130
|
+
return Rl(e, t);
|
|
9118
9131
|
});
|
|
9119
9132
|
});
|
|
9120
|
-
return
|
|
9121
|
-
var t =
|
|
9133
|
+
return Bl(function() {
|
|
9134
|
+
var t = Vl.get(n);
|
|
9122
9135
|
if (t) {
|
|
9123
9136
|
var r = new Set(t), i = new Set(e), a = n.current;
|
|
9124
9137
|
r.forEach(function(e) {
|
|
9125
|
-
i.has(e) ||
|
|
9138
|
+
i.has(e) || Rl(e, null);
|
|
9126
9139
|
}), i.forEach(function(e) {
|
|
9127
|
-
r.has(e) ||
|
|
9140
|
+
r.has(e) || Rl(e, a);
|
|
9128
9141
|
});
|
|
9129
9142
|
}
|
|
9130
|
-
|
|
9143
|
+
Vl.set(n, e);
|
|
9131
9144
|
}, [e]), n;
|
|
9132
9145
|
}
|
|
9133
9146
|
//#endregion
|
|
9134
9147
|
//#region node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.2.14_react@19.2.5/node_modules/use-sidecar/dist/es2015/medium.js
|
|
9135
|
-
function
|
|
9148
|
+
function Ul(e) {
|
|
9136
9149
|
return e;
|
|
9137
9150
|
}
|
|
9138
|
-
function
|
|
9139
|
-
t === void 0 && (t =
|
|
9151
|
+
function Wl(e, t) {
|
|
9152
|
+
t === void 0 && (t = Ul);
|
|
9140
9153
|
var n = [], r = !1;
|
|
9141
9154
|
return {
|
|
9142
9155
|
read: function() {
|
|
@@ -9189,9 +9202,9 @@ function Ul(e, t) {
|
|
|
9189
9202
|
}
|
|
9190
9203
|
};
|
|
9191
9204
|
}
|
|
9192
|
-
function
|
|
9205
|
+
function Gl(e) {
|
|
9193
9206
|
e === void 0 && (e = {});
|
|
9194
|
-
var t =
|
|
9207
|
+
var t = Wl(null);
|
|
9195
9208
|
return t.options = $({
|
|
9196
9209
|
async: !0,
|
|
9197
9210
|
ssr: !1
|
|
@@ -9199,25 +9212,25 @@ function Wl(e) {
|
|
|
9199
9212
|
}
|
|
9200
9213
|
//#endregion
|
|
9201
9214
|
//#region node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.2.14_react@19.2.5/node_modules/use-sidecar/dist/es2015/exports.js
|
|
9202
|
-
var
|
|
9203
|
-
var t = e.sideCar, n =
|
|
9215
|
+
var Kl = function(e) {
|
|
9216
|
+
var t = e.sideCar, n = Ml(e, ["sideCar"]);
|
|
9204
9217
|
if (!t) throw Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
9205
9218
|
var r = t.read();
|
|
9206
9219
|
if (!r) throw Error("Sidecar medium not found");
|
|
9207
9220
|
return c.createElement(r, $({}, n));
|
|
9208
9221
|
};
|
|
9209
|
-
|
|
9210
|
-
function
|
|
9211
|
-
return e.useMedium(t),
|
|
9222
|
+
Kl.isSideCarExport = !0;
|
|
9223
|
+
function ql(e, t) {
|
|
9224
|
+
return e.useMedium(t), Kl;
|
|
9212
9225
|
}
|
|
9213
9226
|
//#endregion
|
|
9214
9227
|
//#region node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.2.14_react@19.2.5/node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
9215
|
-
var
|
|
9228
|
+
var Jl = Gl(), Yl = function() {}, Xl = c.forwardRef(function(e, t) {
|
|
9216
9229
|
var n = c.useRef(null), r = c.useState({
|
|
9217
|
-
onScrollCapture:
|
|
9218
|
-
onWheelCapture:
|
|
9219
|
-
onTouchMoveCapture:
|
|
9220
|
-
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, l = e.className, u = e.removeScrollBar, d = e.enabled, f = e.shards, p = e.sideCar, m = e.noRelative, h = e.noIsolation, g = e.inert, _ = e.allowPinchZoom, v = e.as, y = v === void 0 ? "div" : v, b = e.gapMode, x =
|
|
9230
|
+
onScrollCapture: Yl,
|
|
9231
|
+
onWheelCapture: Yl,
|
|
9232
|
+
onTouchMoveCapture: Yl
|
|
9233
|
+
}), i = r[0], a = r[1], o = e.forwardProps, s = e.children, l = e.className, u = e.removeScrollBar, d = e.enabled, f = e.shards, p = e.sideCar, m = e.noRelative, h = e.noIsolation, g = e.inert, _ = e.allowPinchZoom, v = e.as, y = v === void 0 ? "div" : v, b = e.gapMode, x = Ml(e, [
|
|
9221
9234
|
"forwardProps",
|
|
9222
9235
|
"children",
|
|
9223
9236
|
"className",
|
|
@@ -9231,9 +9244,9 @@ var ql = Wl(), Jl = function() {}, Yl = c.forwardRef(function(e, t) {
|
|
|
9231
9244
|
"allowPinchZoom",
|
|
9232
9245
|
"as",
|
|
9233
9246
|
"gapMode"
|
|
9234
|
-
]), S = p, C =
|
|
9247
|
+
]), S = p, C = Hl([n, t]), w = $($({}, x), i);
|
|
9235
9248
|
return c.createElement(c.Fragment, null, d && c.createElement(S, {
|
|
9236
|
-
sideCar:
|
|
9249
|
+
sideCar: Jl,
|
|
9237
9250
|
removeScrollBar: u,
|
|
9238
9251
|
shards: f,
|
|
9239
9252
|
noRelative: m,
|
|
@@ -9248,47 +9261,47 @@ var ql = Wl(), Jl = function() {}, Yl = c.forwardRef(function(e, t) {
|
|
|
9248
9261
|
ref: C
|
|
9249
9262
|
}), s));
|
|
9250
9263
|
});
|
|
9251
|
-
|
|
9264
|
+
Xl.defaultProps = {
|
|
9252
9265
|
enabled: !0,
|
|
9253
9266
|
removeScrollBar: !0,
|
|
9254
9267
|
inert: !1
|
|
9255
|
-
},
|
|
9256
|
-
fullWidth:
|
|
9257
|
-
zeroRight:
|
|
9268
|
+
}, Xl.classNames = {
|
|
9269
|
+
fullWidth: Fl,
|
|
9270
|
+
zeroRight: Pl
|
|
9258
9271
|
};
|
|
9259
9272
|
//#endregion
|
|
9260
9273
|
//#region node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js
|
|
9261
|
-
var
|
|
9262
|
-
if (
|
|
9274
|
+
var Zl, Ql = function() {
|
|
9275
|
+
if (Zl) return Zl;
|
|
9263
9276
|
if (typeof __webpack_nonce__ < "u") return __webpack_nonce__;
|
|
9264
9277
|
};
|
|
9265
9278
|
//#endregion
|
|
9266
9279
|
//#region node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.2.14_react@19.2.5/node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
9267
|
-
function
|
|
9280
|
+
function $l() {
|
|
9268
9281
|
if (!document) return null;
|
|
9269
9282
|
var e = document.createElement("style");
|
|
9270
9283
|
e.type = "text/css";
|
|
9271
|
-
var t =
|
|
9284
|
+
var t = Ql();
|
|
9272
9285
|
return t && e.setAttribute("nonce", t), e;
|
|
9273
9286
|
}
|
|
9274
|
-
function
|
|
9287
|
+
function eu(e, t) {
|
|
9275
9288
|
e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
|
|
9276
9289
|
}
|
|
9277
|
-
function
|
|
9290
|
+
function tu(e) {
|
|
9278
9291
|
(document.head || document.getElementsByTagName("head")[0]).appendChild(e);
|
|
9279
9292
|
}
|
|
9280
|
-
var
|
|
9293
|
+
var nu = function() {
|
|
9281
9294
|
var e = 0, t = null;
|
|
9282
9295
|
return {
|
|
9283
9296
|
add: function(n) {
|
|
9284
|
-
e == 0 && (t =
|
|
9297
|
+
e == 0 && (t = $l()) && (eu(t, n), tu(t)), e++;
|
|
9285
9298
|
},
|
|
9286
9299
|
remove: function() {
|
|
9287
9300
|
e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
|
|
9288
9301
|
}
|
|
9289
9302
|
};
|
|
9290
|
-
},
|
|
9291
|
-
var e =
|
|
9303
|
+
}, ru = function() {
|
|
9304
|
+
var e = nu();
|
|
9292
9305
|
return function(t, n) {
|
|
9293
9306
|
c.useEffect(function() {
|
|
9294
9307
|
return e.add(t), function() {
|
|
@@ -9296,43 +9309,43 @@ var tu = function() {
|
|
|
9296
9309
|
};
|
|
9297
9310
|
}, [t && n]);
|
|
9298
9311
|
};
|
|
9299
|
-
},
|
|
9300
|
-
var e =
|
|
9312
|
+
}, iu = function() {
|
|
9313
|
+
var e = ru();
|
|
9301
9314
|
return function(t) {
|
|
9302
9315
|
var n = t.styles, r = t.dynamic;
|
|
9303
9316
|
return e(n, r), null;
|
|
9304
9317
|
};
|
|
9305
|
-
},
|
|
9318
|
+
}, au = {
|
|
9306
9319
|
left: 0,
|
|
9307
9320
|
top: 0,
|
|
9308
9321
|
right: 0,
|
|
9309
9322
|
gap: 0
|
|
9310
|
-
}, au = function(e) {
|
|
9311
|
-
return parseInt(e || "", 10) || 0;
|
|
9312
9323
|
}, ou = function(e) {
|
|
9324
|
+
return parseInt(e || "", 10) || 0;
|
|
9325
|
+
}, su = function(e) {
|
|
9313
9326
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], i = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
9314
9327
|
return [
|
|
9315
|
-
|
|
9316
|
-
|
|
9317
|
-
|
|
9328
|
+
ou(n),
|
|
9329
|
+
ou(r),
|
|
9330
|
+
ou(i)
|
|
9318
9331
|
];
|
|
9319
|
-
},
|
|
9320
|
-
if (e === void 0 && (e = "margin"), typeof window > "u") return
|
|
9321
|
-
var t =
|
|
9332
|
+
}, cu = function(e) {
|
|
9333
|
+
if (e === void 0 && (e = "margin"), typeof window > "u") return au;
|
|
9334
|
+
var t = su(e), n = document.documentElement.clientWidth, r = window.innerWidth;
|
|
9322
9335
|
return {
|
|
9323
9336
|
left: t[0],
|
|
9324
9337
|
top: t[1],
|
|
9325
9338
|
right: t[2],
|
|
9326
9339
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
9327
9340
|
};
|
|
9328
|
-
},
|
|
9341
|
+
}, lu = iu(), uu = "data-scroll-locked", du = function(e, t, n, r) {
|
|
9329
9342
|
var i = e.left, a = e.top, o = e.right, s = e.gap;
|
|
9330
9343
|
return n === void 0 && (n = "margin"), `
|
|
9331
|
-
.${
|
|
9344
|
+
.${Il} {
|
|
9332
9345
|
overflow: hidden ${r};
|
|
9333
9346
|
padding-right: ${s}px ${r};
|
|
9334
9347
|
}
|
|
9335
|
-
body[${
|
|
9348
|
+
body[${uu}] {
|
|
9336
9349
|
overflow: hidden ${r};
|
|
9337
9350
|
overscroll-behavior: contain;
|
|
9338
9351
|
${[
|
|
@@ -9349,122 +9362,122 @@ var tu = function() {
|
|
|
9349
9362
|
].filter(Boolean).join("")}
|
|
9350
9363
|
}
|
|
9351
9364
|
|
|
9352
|
-
.${
|
|
9365
|
+
.${Pl} {
|
|
9353
9366
|
right: ${s}px ${r};
|
|
9354
9367
|
}
|
|
9355
9368
|
|
|
9356
|
-
.${
|
|
9369
|
+
.${Fl} {
|
|
9357
9370
|
margin-right: ${s}px ${r};
|
|
9358
9371
|
}
|
|
9359
9372
|
|
|
9360
|
-
.${
|
|
9373
|
+
.${Pl} .${Pl} {
|
|
9361
9374
|
right: 0 ${r};
|
|
9362
9375
|
}
|
|
9363
9376
|
|
|
9364
|
-
.${
|
|
9377
|
+
.${Fl} .${Fl} {
|
|
9365
9378
|
margin-right: 0 ${r};
|
|
9366
9379
|
}
|
|
9367
9380
|
|
|
9368
|
-
body[${
|
|
9369
|
-
${
|
|
9381
|
+
body[${uu}] {
|
|
9382
|
+
${Ll}: ${s}px;
|
|
9370
9383
|
}
|
|
9371
9384
|
`;
|
|
9372
|
-
},
|
|
9385
|
+
}, fu = function() {
|
|
9373
9386
|
var e = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
9374
9387
|
return isFinite(e) ? e : 0;
|
|
9375
|
-
},
|
|
9388
|
+
}, pu = function() {
|
|
9376
9389
|
c.useEffect(function() {
|
|
9377
|
-
return document.body.setAttribute(
|
|
9378
|
-
var e =
|
|
9379
|
-
e <= 0 ? document.body.removeAttribute(
|
|
9390
|
+
return document.body.setAttribute(uu, (fu() + 1).toString()), function() {
|
|
9391
|
+
var e = fu() - 1;
|
|
9392
|
+
e <= 0 ? document.body.removeAttribute(uu) : document.body.setAttribute(uu, e.toString());
|
|
9380
9393
|
};
|
|
9381
9394
|
}, []);
|
|
9382
|
-
},
|
|
9395
|
+
}, mu = function(e) {
|
|
9383
9396
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, i = r === void 0 ? "margin" : r;
|
|
9384
|
-
|
|
9397
|
+
pu();
|
|
9385
9398
|
var a = c.useMemo(function() {
|
|
9386
|
-
return
|
|
9399
|
+
return cu(i);
|
|
9387
9400
|
}, [i]);
|
|
9388
|
-
return c.createElement(
|
|
9389
|
-
},
|
|
9401
|
+
return c.createElement(lu, { styles: du(a, !t, i, n ? "" : "!important") });
|
|
9402
|
+
}, hu = !1;
|
|
9390
9403
|
if (typeof window < "u") try {
|
|
9391
|
-
var
|
|
9392
|
-
return
|
|
9404
|
+
var gu = Object.defineProperty({}, "passive", { get: function() {
|
|
9405
|
+
return hu = !0, !0;
|
|
9393
9406
|
} });
|
|
9394
|
-
window.addEventListener("test",
|
|
9407
|
+
window.addEventListener("test", gu, gu), window.removeEventListener("test", gu, gu);
|
|
9395
9408
|
} catch {
|
|
9396
|
-
|
|
9409
|
+
hu = !1;
|
|
9397
9410
|
}
|
|
9398
|
-
var
|
|
9411
|
+
var _u = hu ? { passive: !1 } : !1, vu = function(e) {
|
|
9399
9412
|
return e.tagName === "TEXTAREA";
|
|
9400
|
-
},
|
|
9413
|
+
}, yu = function(e, t) {
|
|
9401
9414
|
if (!(e instanceof Element)) return !1;
|
|
9402
9415
|
var n = window.getComputedStyle(e);
|
|
9403
|
-
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !
|
|
9404
|
-
}, yu = function(e) {
|
|
9405
|
-
return vu(e, "overflowY");
|
|
9416
|
+
return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !vu(e) && n[t] === "visible");
|
|
9406
9417
|
}, bu = function(e) {
|
|
9407
|
-
return
|
|
9408
|
-
}, xu = function(e
|
|
9418
|
+
return yu(e, "overflowY");
|
|
9419
|
+
}, xu = function(e) {
|
|
9420
|
+
return yu(e, "overflowX");
|
|
9421
|
+
}, Su = function(e, t) {
|
|
9409
9422
|
var n = t.ownerDocument, r = t;
|
|
9410
9423
|
do {
|
|
9411
|
-
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host),
|
|
9412
|
-
var i =
|
|
9424
|
+
if (typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host), Tu(e, r)) {
|
|
9425
|
+
var i = Eu(e, r);
|
|
9413
9426
|
if (i[1] > i[2]) return !0;
|
|
9414
9427
|
}
|
|
9415
9428
|
r = r.parentNode;
|
|
9416
9429
|
} while (r && r !== n.body);
|
|
9417
9430
|
return !1;
|
|
9418
|
-
},
|
|
9431
|
+
}, Cu = function(e) {
|
|
9419
9432
|
return [
|
|
9420
9433
|
e.scrollTop,
|
|
9421
9434
|
e.scrollHeight,
|
|
9422
9435
|
e.clientHeight
|
|
9423
9436
|
];
|
|
9424
|
-
},
|
|
9437
|
+
}, wu = function(e) {
|
|
9425
9438
|
return [
|
|
9426
9439
|
e.scrollLeft,
|
|
9427
9440
|
e.scrollWidth,
|
|
9428
9441
|
e.clientWidth
|
|
9429
9442
|
];
|
|
9430
|
-
}, wu = function(e, t) {
|
|
9431
|
-
return e === "v" ? yu(t) : bu(t);
|
|
9432
9443
|
}, Tu = function(e, t) {
|
|
9433
|
-
return e === "v" ?
|
|
9444
|
+
return e === "v" ? bu(t) : xu(t);
|
|
9434
9445
|
}, Eu = function(e, t) {
|
|
9446
|
+
return e === "v" ? Cu(t) : wu(t);
|
|
9447
|
+
}, Du = function(e, t) {
|
|
9435
9448
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
9436
|
-
},
|
|
9437
|
-
var a =
|
|
9449
|
+
}, Ou = function(e, t, n, r, i) {
|
|
9450
|
+
var a = Du(e, window.getComputedStyle(t).direction), o = a * r, s = n.target, c = t.contains(s), l = !1, u = o > 0, d = 0, f = 0;
|
|
9438
9451
|
do {
|
|
9439
9452
|
if (!s) break;
|
|
9440
|
-
var p =
|
|
9441
|
-
(m || h) &&
|
|
9453
|
+
var p = Eu(e, s), m = p[0], h = p[1] - p[2] - a * m;
|
|
9454
|
+
(m || h) && Tu(e, s) && (d += h, f += m);
|
|
9442
9455
|
var g = s.parentNode;
|
|
9443
9456
|
s = g && g.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? g.host : g;
|
|
9444
9457
|
} while (!c && s !== document.body || c && (t.contains(s) || t === s));
|
|
9445
9458
|
return (u && (i && Math.abs(d) < 1 || !i && o > d) || !u && (i && Math.abs(f) < 1 || !i && -o > f)) && (l = !0), l;
|
|
9446
|
-
}, Ou = function(e) {
|
|
9447
|
-
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
9448
9459
|
}, ku = function(e) {
|
|
9449
|
-
return [e.
|
|
9460
|
+
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
9450
9461
|
}, Au = function(e) {
|
|
9462
|
+
return [e.deltaX, e.deltaY];
|
|
9463
|
+
}, ju = function(e) {
|
|
9451
9464
|
return e && "current" in e ? e.current : e;
|
|
9452
|
-
},
|
|
9465
|
+
}, Mu = function(e, t) {
|
|
9453
9466
|
return e[0] === t[0] && e[1] === t[1];
|
|
9454
|
-
},
|
|
9467
|
+
}, Nu = function(e) {
|
|
9455
9468
|
return `
|
|
9456
9469
|
.block-interactivity-${e} {pointer-events: none;}
|
|
9457
9470
|
.allow-interactivity-${e} {pointer-events: all;}
|
|
9458
9471
|
`;
|
|
9459
|
-
},
|
|
9460
|
-
function
|
|
9461
|
-
var t = c.useRef([]), n = c.useRef([0, 0]), r = c.useRef(), i = c.useState(
|
|
9472
|
+
}, Pu = 0, Fu = [];
|
|
9473
|
+
function Iu(e) {
|
|
9474
|
+
var t = c.useRef([]), n = c.useRef([0, 0]), r = c.useRef(), i = c.useState(Pu++)[0], a = c.useState(iu)[0], o = c.useRef(e);
|
|
9462
9475
|
c.useEffect(function() {
|
|
9463
9476
|
o.current = e;
|
|
9464
9477
|
}, [e]), c.useEffect(function() {
|
|
9465
9478
|
if (e.inert) {
|
|
9466
9479
|
document.body.classList.add(`block-interactivity-${i}`);
|
|
9467
|
-
var t =
|
|
9480
|
+
var t = Nl([e.lockRef.current], (e.shards || []).map(ju), !0).filter(Boolean);
|
|
9468
9481
|
return t.forEach(function(e) {
|
|
9469
9482
|
return e.classList.add(`allow-interactivity-${i}`);
|
|
9470
9483
|
}), function() {
|
|
@@ -9480,28 +9493,28 @@ function Fu(e) {
|
|
|
9480
9493
|
]);
|
|
9481
9494
|
var s = c.useCallback(function(e, t) {
|
|
9482
9495
|
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey) return !o.current.allowPinchZoom;
|
|
9483
|
-
var i =
|
|
9496
|
+
var i = ku(e), a = n.current, s = "deltaX" in e ? e.deltaX : a[0] - i[0], c = "deltaY" in e ? e.deltaY : a[1] - i[1], l, u = e.target, d = Math.abs(s) > Math.abs(c) ? "h" : "v";
|
|
9484
9497
|
if ("touches" in e && d === "h" && u.type === "range") return !1;
|
|
9485
9498
|
var f = window.getSelection(), p = f && f.anchorNode;
|
|
9486
9499
|
if (p && (p === u || p.contains(u))) return !1;
|
|
9487
|
-
var m =
|
|
9500
|
+
var m = Su(d, u);
|
|
9488
9501
|
if (!m) return !0;
|
|
9489
|
-
if (m ? l = d : (l = d === "v" ? "h" : "v", m =
|
|
9502
|
+
if (m ? l = d : (l = d === "v" ? "h" : "v", m = Su(d, u)), !m) return !1;
|
|
9490
9503
|
if (!r.current && "changedTouches" in e && (s || c) && (r.current = l), !l) return !0;
|
|
9491
9504
|
var h = r.current || l;
|
|
9492
|
-
return
|
|
9505
|
+
return Ou(h, t, e, h === "h" ? s : c, !0);
|
|
9493
9506
|
}, []), l = c.useCallback(function(e) {
|
|
9494
9507
|
var n = e;
|
|
9495
|
-
if (!(!
|
|
9496
|
-
var r = "deltaY" in n ?
|
|
9497
|
-
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) &&
|
|
9508
|
+
if (!(!Fu.length || Fu[Fu.length - 1] !== a)) {
|
|
9509
|
+
var r = "deltaY" in n ? Au(n) : ku(n), i = t.current.filter(function(e) {
|
|
9510
|
+
return e.name === n.type && (e.target === n.target || n.target === e.shadowParent) && Mu(e.delta, r);
|
|
9498
9511
|
})[0];
|
|
9499
9512
|
if (i && i.should) {
|
|
9500
9513
|
n.cancelable && n.preventDefault();
|
|
9501
9514
|
return;
|
|
9502
9515
|
}
|
|
9503
9516
|
if (!i) {
|
|
9504
|
-
var c = (o.current.shards || []).map(
|
|
9517
|
+
var c = (o.current.shards || []).map(ju).filter(Boolean).filter(function(e) {
|
|
9505
9518
|
return e.contains(n.target);
|
|
9506
9519
|
});
|
|
9507
9520
|
(c.length > 0 ? s(n, c[0]) : !o.current.noIsolation) && n.cancelable && n.preventDefault();
|
|
@@ -9513,7 +9526,7 @@ function Fu(e) {
|
|
|
9513
9526
|
delta: n,
|
|
9514
9527
|
target: r,
|
|
9515
9528
|
should: i,
|
|
9516
|
-
shadowParent:
|
|
9529
|
+
shadowParent: Lu(r)
|
|
9517
9530
|
};
|
|
9518
9531
|
t.current.push(a), setTimeout(function() {
|
|
9519
9532
|
t.current = t.current.filter(function(e) {
|
|
@@ -9521,56 +9534,56 @@ function Fu(e) {
|
|
|
9521
9534
|
});
|
|
9522
9535
|
}, 1);
|
|
9523
9536
|
}, []), d = c.useCallback(function(e) {
|
|
9524
|
-
n.current =
|
|
9537
|
+
n.current = ku(e), r.current = void 0;
|
|
9525
9538
|
}, []), f = c.useCallback(function(t) {
|
|
9526
|
-
u(t.type,
|
|
9539
|
+
u(t.type, Au(t), t.target, s(t, e.lockRef.current));
|
|
9527
9540
|
}, []), p = c.useCallback(function(t) {
|
|
9528
|
-
u(t.type,
|
|
9541
|
+
u(t.type, ku(t), t.target, s(t, e.lockRef.current));
|
|
9529
9542
|
}, []);
|
|
9530
9543
|
c.useEffect(function() {
|
|
9531
|
-
return
|
|
9544
|
+
return Fu.push(a), e.setCallbacks({
|
|
9532
9545
|
onScrollCapture: f,
|
|
9533
9546
|
onWheelCapture: f,
|
|
9534
9547
|
onTouchMoveCapture: p
|
|
9535
|
-
}), document.addEventListener("wheel", l,
|
|
9536
|
-
|
|
9548
|
+
}), document.addEventListener("wheel", l, _u), document.addEventListener("touchmove", l, _u), document.addEventListener("touchstart", d, _u), function() {
|
|
9549
|
+
Fu = Fu.filter(function(e) {
|
|
9537
9550
|
return e !== a;
|
|
9538
|
-
}), document.removeEventListener("wheel", l,
|
|
9551
|
+
}), document.removeEventListener("wheel", l, _u), document.removeEventListener("touchmove", l, _u), document.removeEventListener("touchstart", d, _u);
|
|
9539
9552
|
};
|
|
9540
9553
|
}, []);
|
|
9541
9554
|
var m = e.removeScrollBar, h = e.inert;
|
|
9542
|
-
return c.createElement(c.Fragment, null, h ? c.createElement(a, { styles:
|
|
9555
|
+
return c.createElement(c.Fragment, null, h ? c.createElement(a, { styles: Nu(i) }) : null, m ? c.createElement(mu, {
|
|
9543
9556
|
noRelative: e.noRelative,
|
|
9544
9557
|
gapMode: e.gapMode
|
|
9545
9558
|
}) : null);
|
|
9546
9559
|
}
|
|
9547
|
-
function
|
|
9560
|
+
function Lu(e) {
|
|
9548
9561
|
for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
9549
9562
|
return t;
|
|
9550
9563
|
}
|
|
9551
9564
|
//#endregion
|
|
9552
9565
|
//#region node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.2.14_react@19.2.5/node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
9553
|
-
var
|
|
9554
|
-
return c.createElement(
|
|
9566
|
+
var Ru = ql(Jl, Iu), zu = c.forwardRef(function(e, t) {
|
|
9567
|
+
return c.createElement(Xl, $({}, e, {
|
|
9555
9568
|
ref: t,
|
|
9556
|
-
sideCar:
|
|
9569
|
+
sideCar: Ru
|
|
9557
9570
|
}));
|
|
9558
9571
|
});
|
|
9559
|
-
|
|
9572
|
+
zu.classNames = Xl.classNames;
|
|
9560
9573
|
//#endregion
|
|
9561
9574
|
//#region node_modules/.pnpm/@radix-ui+react-popover@1.1.15_@types+react-dom@19.2.3_@types+react@19.2.14__@types+rea_f1d1a58244a80c62b16bd608f9d928e5/node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
9562
|
-
var
|
|
9563
|
-
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: s = !1 } = e, l =
|
|
9575
|
+
var Bu = "Popover", [Vu, Hu] = $a(Bu, [Kc]), Uu = Kc(), [Wu, Gu] = Vu(Bu), Ku = (e) => {
|
|
9576
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: s = !1 } = e, l = Uu(t), u = c.useRef(null), [d, f] = c.useState(!1), [p, m] = bl({
|
|
9564
9577
|
prop: r,
|
|
9565
9578
|
defaultProp: i ?? !1,
|
|
9566
9579
|
onChange: a,
|
|
9567
|
-
caller:
|
|
9580
|
+
caller: Bu
|
|
9568
9581
|
});
|
|
9569
|
-
return /* @__PURE__ */ o(
|
|
9582
|
+
return /* @__PURE__ */ o(cl, {
|
|
9570
9583
|
...l,
|
|
9571
|
-
children: /* @__PURE__ */ o(
|
|
9584
|
+
children: /* @__PURE__ */ o(Wu, {
|
|
9572
9585
|
scope: t,
|
|
9573
|
-
contentId:
|
|
9586
|
+
contentId: zo(),
|
|
9574
9587
|
triggerRef: u,
|
|
9575
9588
|
open: p,
|
|
9576
9589
|
onOpenChange: m,
|
|
@@ -9583,42 +9596,42 @@ var zu = "Popover", [Bu, Vu] = $a(zu, [Gc]), Hu = Gc(), [Uu, Wu] = Bu(zu), Gu =
|
|
|
9583
9596
|
})
|
|
9584
9597
|
});
|
|
9585
9598
|
};
|
|
9586
|
-
|
|
9587
|
-
var
|
|
9588
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
9589
|
-
return c.useEffect(() => (s(), () => l()), [s, l]), /* @__PURE__ */ o(
|
|
9599
|
+
Ku.displayName = Bu;
|
|
9600
|
+
var qu = "PopoverAnchor", Ju = c.forwardRef((e, t) => {
|
|
9601
|
+
let { __scopePopover: n, ...r } = e, i = Gu(qu, n), a = Uu(n), { onCustomAnchorAdd: s, onCustomAnchorRemove: l } = i;
|
|
9602
|
+
return c.useEffect(() => (s(), () => l()), [s, l]), /* @__PURE__ */ o(ll, {
|
|
9590
9603
|
...a,
|
|
9591
9604
|
...r,
|
|
9592
9605
|
ref: t
|
|
9593
9606
|
});
|
|
9594
9607
|
});
|
|
9595
|
-
|
|
9596
|
-
var
|
|
9597
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
9608
|
+
Ju.displayName = qu;
|
|
9609
|
+
var Yu = "PopoverTrigger", Xu = c.forwardRef((e, t) => {
|
|
9610
|
+
let { __scopePopover: n, ...r } = e, i = Gu(Yu, n), a = Uu(n), s = R(t, i.triggerRef), c = /* @__PURE__ */ o(z.button, {
|
|
9598
9611
|
type: "button",
|
|
9599
9612
|
"aria-haspopup": "dialog",
|
|
9600
9613
|
"aria-expanded": i.open,
|
|
9601
9614
|
"aria-controls": i.contentId,
|
|
9602
|
-
"data-state":
|
|
9615
|
+
"data-state": dd(i.open),
|
|
9603
9616
|
...r,
|
|
9604
9617
|
ref: s,
|
|
9605
|
-
onClick:
|
|
9618
|
+
onClick: L(e.onClick, i.onOpenToggle)
|
|
9606
9619
|
});
|
|
9607
|
-
return i.hasCustomAnchor ? c : /* @__PURE__ */ o(
|
|
9620
|
+
return i.hasCustomAnchor ? c : /* @__PURE__ */ o(ll, {
|
|
9608
9621
|
asChild: !0,
|
|
9609
9622
|
...a,
|
|
9610
9623
|
children: c
|
|
9611
9624
|
});
|
|
9612
9625
|
});
|
|
9613
|
-
|
|
9614
|
-
var
|
|
9615
|
-
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a =
|
|
9616
|
-
return /* @__PURE__ */ o(
|
|
9626
|
+
Xu.displayName = Yu;
|
|
9627
|
+
var Zu = "PopoverPortal", [Qu, $u] = Vu(Zu, { forceMount: void 0 }), ed = (e) => {
|
|
9628
|
+
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = Gu(Zu, t);
|
|
9629
|
+
return /* @__PURE__ */ o(Qu, {
|
|
9617
9630
|
scope: t,
|
|
9618
9631
|
forceMount: n,
|
|
9619
|
-
children: /* @__PURE__ */ o(
|
|
9632
|
+
children: /* @__PURE__ */ o(hl, {
|
|
9620
9633
|
present: n || a.open,
|
|
9621
|
-
children: /* @__PURE__ */ o(
|
|
9634
|
+
children: /* @__PURE__ */ o(pl, {
|
|
9622
9635
|
asChild: !0,
|
|
9623
9636
|
container: i,
|
|
9624
9637
|
children: r
|
|
@@ -9626,47 +9639,47 @@ var Xu = "PopoverPortal", [Zu, Qu] = Bu(Xu, { forceMount: void 0 }), $u = (e) =>
|
|
|
9626
9639
|
})
|
|
9627
9640
|
});
|
|
9628
9641
|
};
|
|
9629
|
-
|
|
9630
|
-
var
|
|
9631
|
-
let n =
|
|
9632
|
-
return /* @__PURE__ */ o(
|
|
9642
|
+
ed.displayName = Zu;
|
|
9643
|
+
var td = "PopoverContent", nd = c.forwardRef((e, t) => {
|
|
9644
|
+
let n = $u(td, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = Gu(td, e.__scopePopover);
|
|
9645
|
+
return /* @__PURE__ */ o(hl, {
|
|
9633
9646
|
present: r || a.open,
|
|
9634
|
-
children: a.modal ? /* @__PURE__ */ o(
|
|
9647
|
+
children: a.modal ? /* @__PURE__ */ o(id, {
|
|
9635
9648
|
...i,
|
|
9636
9649
|
ref: t
|
|
9637
|
-
}) : /* @__PURE__ */ o(
|
|
9650
|
+
}) : /* @__PURE__ */ o(ad, {
|
|
9638
9651
|
...i,
|
|
9639
9652
|
ref: t
|
|
9640
9653
|
})
|
|
9641
9654
|
});
|
|
9642
9655
|
});
|
|
9643
|
-
|
|
9644
|
-
var
|
|
9645
|
-
let n =
|
|
9656
|
+
nd.displayName = td;
|
|
9657
|
+
var rd = t("PopoverContent.RemoveScroll"), id = c.forwardRef((e, t) => {
|
|
9658
|
+
let n = Gu(td, e.__scopePopover), r = c.useRef(null), i = R(t, r), a = c.useRef(!1);
|
|
9646
9659
|
return c.useEffect(() => {
|
|
9647
9660
|
let e = r.current;
|
|
9648
|
-
if (e) return
|
|
9649
|
-
}, []), /* @__PURE__ */ o(
|
|
9650
|
-
as:
|
|
9661
|
+
if (e) return jl(e);
|
|
9662
|
+
}, []), /* @__PURE__ */ o(zu, {
|
|
9663
|
+
as: rd,
|
|
9651
9664
|
allowPinchZoom: !0,
|
|
9652
|
-
children: /* @__PURE__ */ o(
|
|
9665
|
+
children: /* @__PURE__ */ o(od, {
|
|
9653
9666
|
...e,
|
|
9654
9667
|
ref: i,
|
|
9655
9668
|
trapFocus: n.open,
|
|
9656
9669
|
disableOutsidePointerEvents: !0,
|
|
9657
|
-
onCloseAutoFocus:
|
|
9670
|
+
onCloseAutoFocus: L(e.onCloseAutoFocus, (e) => {
|
|
9658
9671
|
e.preventDefault(), a.current || n.triggerRef.current?.focus();
|
|
9659
9672
|
}),
|
|
9660
|
-
onPointerDownOutside:
|
|
9673
|
+
onPointerDownOutside: L(e.onPointerDownOutside, (e) => {
|
|
9661
9674
|
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0;
|
|
9662
9675
|
a.current = t.button === 2 || n;
|
|
9663
9676
|
}, { checkForDefaultPrevented: !1 }),
|
|
9664
|
-
onFocusOutside:
|
|
9677
|
+
onFocusOutside: L(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
9665
9678
|
})
|
|
9666
9679
|
});
|
|
9667
|
-
}),
|
|
9668
|
-
let n =
|
|
9669
|
-
return /* @__PURE__ */ o(
|
|
9680
|
+
}), ad = c.forwardRef((e, t) => {
|
|
9681
|
+
let n = Gu(td, e.__scopePopover), r = c.useRef(!1), i = c.useRef(!1);
|
|
9682
|
+
return /* @__PURE__ */ o(od, {
|
|
9670
9683
|
...e,
|
|
9671
9684
|
ref: t,
|
|
9672
9685
|
trapFocus: !1,
|
|
@@ -9680,8 +9693,8 @@ var nd = t("PopoverContent.RemoveScroll"), rd = c.forwardRef((e, t) => {
|
|
|
9680
9693
|
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
9681
9694
|
}
|
|
9682
9695
|
});
|
|
9683
|
-
}),
|
|
9684
|
-
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: s, onEscapeKeyDown: c, onPointerDownOutside: l, onFocusOutside: u, onInteractOutside: d, ...f } = e, p =
|
|
9696
|
+
}), od = c.forwardRef((e, t) => {
|
|
9697
|
+
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: s, onEscapeKeyDown: c, onPointerDownOutside: l, onFocusOutside: u, onInteractOutside: d, ...f } = e, p = Gu(td, n), m = Uu(n);
|
|
9685
9698
|
return yo(), /* @__PURE__ */ o(To, {
|
|
9686
9699
|
asChild: !0,
|
|
9687
9700
|
loop: !0,
|
|
@@ -9696,8 +9709,8 @@ var nd = t("PopoverContent.RemoveScroll"), rd = c.forwardRef((e, t) => {
|
|
|
9696
9709
|
onPointerDownOutside: l,
|
|
9697
9710
|
onFocusOutside: u,
|
|
9698
9711
|
onDismiss: () => p.onOpenChange(!1),
|
|
9699
|
-
children: /* @__PURE__ */ o(
|
|
9700
|
-
"data-state":
|
|
9712
|
+
children: /* @__PURE__ */ o(ul, {
|
|
9713
|
+
"data-state": dd(p.open),
|
|
9701
9714
|
role: "dialog",
|
|
9702
9715
|
id: p.contentId,
|
|
9703
9716
|
...m,
|
|
@@ -9714,32 +9727,32 @@ var nd = t("PopoverContent.RemoveScroll"), rd = c.forwardRef((e, t) => {
|
|
|
9714
9727
|
})
|
|
9715
9728
|
})
|
|
9716
9729
|
});
|
|
9717
|
-
}),
|
|
9718
|
-
let { __scopePopover: n, ...r } = e, i =
|
|
9719
|
-
return /* @__PURE__ */ o(
|
|
9730
|
+
}), sd = "PopoverClose", cd = c.forwardRef((e, t) => {
|
|
9731
|
+
let { __scopePopover: n, ...r } = e, i = Gu(sd, n);
|
|
9732
|
+
return /* @__PURE__ */ o(z.button, {
|
|
9720
9733
|
type: "button",
|
|
9721
9734
|
...r,
|
|
9722
9735
|
ref: t,
|
|
9723
|
-
onClick:
|
|
9736
|
+
onClick: L(e.onClick, () => i.onOpenChange(!1))
|
|
9724
9737
|
});
|
|
9725
9738
|
});
|
|
9726
|
-
|
|
9727
|
-
var
|
|
9739
|
+
cd.displayName = sd;
|
|
9740
|
+
var ld = "PopoverArrow", ud = c.forwardRef((e, t) => {
|
|
9728
9741
|
let { __scopePopover: n, ...r } = e;
|
|
9729
|
-
return /* @__PURE__ */ o(
|
|
9730
|
-
...
|
|
9742
|
+
return /* @__PURE__ */ o(dl, {
|
|
9743
|
+
...Uu(n),
|
|
9731
9744
|
...r,
|
|
9732
9745
|
ref: t
|
|
9733
9746
|
});
|
|
9734
9747
|
});
|
|
9735
|
-
|
|
9736
|
-
function
|
|
9748
|
+
ud.displayName = ld;
|
|
9749
|
+
function dd(e) {
|
|
9737
9750
|
return e ? "open" : "closed";
|
|
9738
9751
|
}
|
|
9739
|
-
var
|
|
9752
|
+
var fd = Ku, pd = Xu, md = ed, hd = nd;
|
|
9740
9753
|
//#endregion
|
|
9741
9754
|
//#region src/components/SelectBox/SelectBox.tsx
|
|
9742
|
-
function
|
|
9755
|
+
function gd({ groups: e, value: t, placeholder: n = "", disabled: r = !1, size: i = "md", onChange: a, renderValue: c, className: l, label: u, helperText: d, error: f }) {
|
|
9743
9756
|
let [p, m] = h(!1), g = (() => {
|
|
9744
9757
|
for (let n of e) {
|
|
9745
9758
|
let e = n.options.find((e) => e.value === t);
|
|
@@ -9753,10 +9766,10 @@ function hd({ groups: e, value: t, placeholder: n = "", disabled: r = !1, size:
|
|
|
9753
9766
|
className: x("aivex:text-label-md aivex:text-text-secondary", r && "aivex:opacity-disable"),
|
|
9754
9767
|
children: u
|
|
9755
9768
|
}),
|
|
9756
|
-
/* @__PURE__ */ s(
|
|
9769
|
+
/* @__PURE__ */ s(fd, {
|
|
9757
9770
|
open: p,
|
|
9758
9771
|
onOpenChange: r ? void 0 : m,
|
|
9759
|
-
children: [/* @__PURE__ */ o(
|
|
9772
|
+
children: [/* @__PURE__ */ o(pd, {
|
|
9760
9773
|
asChild: !0,
|
|
9761
9774
|
disabled: r,
|
|
9762
9775
|
children: /* @__PURE__ */ o("div", {
|
|
@@ -9781,7 +9794,7 @@ function hd({ groups: e, value: t, placeholder: n = "", disabled: r = !1, size:
|
|
|
9781
9794
|
})
|
|
9782
9795
|
})
|
|
9783
9796
|
})
|
|
9784
|
-
}), /* @__PURE__ */ o(
|
|
9797
|
+
}), /* @__PURE__ */ o(md, { children: /* @__PURE__ */ o(hd, {
|
|
9785
9798
|
sideOffset: 4,
|
|
9786
9799
|
align: "start",
|
|
9787
9800
|
avoidCollisions: !0,
|
|
@@ -9819,7 +9832,7 @@ function hd({ groups: e, value: t, placeholder: n = "", disabled: r = !1, size:
|
|
|
9819
9832
|
}
|
|
9820
9833
|
//#endregion
|
|
9821
9834
|
//#region src/components/Shortcut/Shortcut.tsx
|
|
9822
|
-
function
|
|
9835
|
+
function _d({ className: e, keys: t, ref: n, ...r }) {
|
|
9823
9836
|
return /* @__PURE__ */ o("span", {
|
|
9824
9837
|
ref: n,
|
|
9825
9838
|
className: x("aivex:inline-flex aivex:items-center aivex:gap-1", e),
|
|
@@ -9835,27 +9848,27 @@ function gd({ className: e, keys: t, ref: n, ...r }) {
|
|
|
9835
9848
|
}
|
|
9836
9849
|
//#endregion
|
|
9837
9850
|
//#region src/components/Switch/Switch.tsx
|
|
9838
|
-
var
|
|
9851
|
+
var vd = n("aivex:block aivex:rounded-full aivex:transition-colors aivex:duration-200", {
|
|
9839
9852
|
variants: { size: {
|
|
9840
9853
|
sm: "aivex:w-6 aivex:h-4",
|
|
9841
9854
|
md: "aivex:w-8 aivex:h-5",
|
|
9842
9855
|
lg: "aivex:w-10 aivex:h-6"
|
|
9843
9856
|
} },
|
|
9844
9857
|
defaultVariants: { size: "md" }
|
|
9845
|
-
}),
|
|
9858
|
+
}), yd = {
|
|
9846
9859
|
sm: "aivex:w-3 aivex:h-3",
|
|
9847
9860
|
md: "aivex:w-4 aivex:h-4",
|
|
9848
9861
|
lg: "aivex:w-5 aivex:h-5"
|
|
9849
|
-
},
|
|
9862
|
+
}, bd = {
|
|
9850
9863
|
sm: "aivex:translate-x-2",
|
|
9851
9864
|
md: "aivex:translate-x-3",
|
|
9852
9865
|
lg: "aivex:translate-x-4"
|
|
9853
|
-
},
|
|
9866
|
+
}, xd = {
|
|
9854
9867
|
sm: "aivex:h-4",
|
|
9855
9868
|
md: "aivex:h-5",
|
|
9856
9869
|
lg: "aivex:h-6"
|
|
9857
9870
|
};
|
|
9858
|
-
function
|
|
9871
|
+
function Sd({ className: e, label: t, size: n = "md", checked: r, defaultChecked: i, disabled: a, id: c, onChange: l, ref: u, ...d }) {
|
|
9859
9872
|
let f = r !== void 0, [p, m] = h(!!i), g = f ? !!r : p, _ = n ?? "md";
|
|
9860
9873
|
return /* @__PURE__ */ s("label", {
|
|
9861
9874
|
className: x("aivex:inline-flex aivex:items-center aivex:gap-md aivex:cursor-pointer aivex:select-none", a && "aivex:opacity-disable aivex:pointer-events-none"),
|
|
@@ -9876,26 +9889,26 @@ function xd({ className: e, label: t, size: n = "md", checked: r, defaultChecked
|
|
|
9876
9889
|
className: "aivex:sr-only aivex:peer",
|
|
9877
9890
|
...d
|
|
9878
9891
|
}),
|
|
9879
|
-
/* @__PURE__ */ o("span", { className: x(
|
|
9880
|
-
/* @__PURE__ */ o("span", { className: x("aivex:absolute aivex:top-0.5 aivex:left-0.5 aivex:rounded-full aivex:bg-white aivex:shadow aivex:transition-transform aivex:duration-200",
|
|
9892
|
+
/* @__PURE__ */ o("span", { className: x(vd({ size: _ }), g ? "aivex:bg-bg-brand" : "aivex:bg-border-default", e) }),
|
|
9893
|
+
/* @__PURE__ */ o("span", { className: x("aivex:absolute aivex:top-0.5 aivex:left-0.5 aivex:rounded-full aivex:bg-white aivex:shadow aivex:transition-transform aivex:duration-200", yd[_], g && bd[_]) })
|
|
9881
9894
|
]
|
|
9882
9895
|
}), t && /* @__PURE__ */ o("span", {
|
|
9883
|
-
className: x("aivex:inline-flex aivex:items-center aivex:text-label-lg aivex:text-text-primary",
|
|
9896
|
+
className: x("aivex:inline-flex aivex:items-center aivex:text-label-lg aivex:text-text-primary", xd[_]),
|
|
9884
9897
|
children: t
|
|
9885
9898
|
})]
|
|
9886
9899
|
});
|
|
9887
9900
|
}
|
|
9888
9901
|
//#endregion
|
|
9889
9902
|
//#region src/components/Tab/Tab.tsx
|
|
9890
|
-
var
|
|
9891
|
-
function
|
|
9892
|
-
let e = d(
|
|
9903
|
+
var Cd = u(null);
|
|
9904
|
+
function wd() {
|
|
9905
|
+
let e = d(Cd);
|
|
9893
9906
|
if (!e) throw Error("TabItem must be used within TabRoot");
|
|
9894
9907
|
return e;
|
|
9895
9908
|
}
|
|
9896
|
-
function
|
|
9909
|
+
function Td({ className: e, value: t, defaultValue: n, onChange: r, children: i, ref: a, ...s }) {
|
|
9897
9910
|
let c = t !== void 0, [l, u] = h(n ?? ""), d = c ? t : l;
|
|
9898
|
-
return /* @__PURE__ */ o(
|
|
9911
|
+
return /* @__PURE__ */ o(Cd.Provider, {
|
|
9899
9912
|
value: {
|
|
9900
9913
|
value: d,
|
|
9901
9914
|
onChange: (e) => {
|
|
@@ -9911,22 +9924,22 @@ function wd({ className: e, value: t, defaultValue: n, onChange: r, children: i,
|
|
|
9911
9924
|
})
|
|
9912
9925
|
});
|
|
9913
9926
|
}
|
|
9914
|
-
var
|
|
9927
|
+
var Ed = n("aivex:relative aivex:group aivex:flex aivex:flex-col aivex:items-center aivex:py-2 aivex:cursor-pointer aivex:focus-visible:outline-none aivex:disabled:cursor-not-allowed aivex:disabled:opacity-40", {
|
|
9915
9928
|
variants: { active: {
|
|
9916
9929
|
true: "",
|
|
9917
9930
|
false: ""
|
|
9918
9931
|
} },
|
|
9919
9932
|
defaultVariants: { active: !1 }
|
|
9920
9933
|
});
|
|
9921
|
-
function
|
|
9922
|
-
let { value: c, onChange: l } =
|
|
9934
|
+
function Dd({ className: e, value: t, children: n, active: r, ref: i, ...a }) {
|
|
9935
|
+
let { value: c, onChange: l } = wd(), u = r ?? c === t;
|
|
9923
9936
|
return /* @__PURE__ */ s("button", {
|
|
9924
9937
|
ref: i,
|
|
9925
9938
|
type: "button",
|
|
9926
9939
|
role: "tab",
|
|
9927
9940
|
"aria-selected": u,
|
|
9928
9941
|
onClick: () => l(t),
|
|
9929
|
-
className: x(
|
|
9942
|
+
className: x(Ed({ active: u }), e),
|
|
9930
9943
|
...a,
|
|
9931
9944
|
children: [/* @__PURE__ */ s("span", {
|
|
9932
9945
|
className: "aivex:relative aivex:flex aivex:items-center aivex:gap-1.5 aivex:overflow-hidden aivex:rounded-md aivex:px-2 aivex:py-1 aivex:text-base aivex:font-medium aivex:text-text-primary",
|
|
@@ -9936,8 +9949,8 @@ function Ed({ className: e, value: t, children: n, active: r, ref: i, ...a }) {
|
|
|
9936
9949
|
}
|
|
9937
9950
|
//#endregion
|
|
9938
9951
|
//#region src/components/Table/Table.tsx
|
|
9939
|
-
var
|
|
9940
|
-
function
|
|
9952
|
+
var Od = ({ direction: e }) => o(e === "asc" ? $n : e === "desc" ? er : ke, { size: 16 });
|
|
9953
|
+
function kd({ className: e, children: t, ref: n, ...r }) {
|
|
9941
9954
|
return /* @__PURE__ */ o("div", {
|
|
9942
9955
|
ref: n,
|
|
9943
9956
|
className: x("aivex:w-full aivex:overflow-auto aivex:rounded-md aivex:border aivex:border-border-default", e),
|
|
@@ -9948,7 +9961,7 @@ function Od({ className: e, children: t, ref: n, ...r }) {
|
|
|
9948
9961
|
})
|
|
9949
9962
|
});
|
|
9950
9963
|
}
|
|
9951
|
-
function
|
|
9964
|
+
function Ad({ className: e, children: t, ref: n, ...r }) {
|
|
9952
9965
|
return /* @__PURE__ */ o("thead", {
|
|
9953
9966
|
ref: n,
|
|
9954
9967
|
className: x("aivex:bg-bg-secondary", e),
|
|
@@ -9956,7 +9969,7 @@ function kd({ className: e, children: t, ref: n, ...r }) {
|
|
|
9956
9969
|
children: t
|
|
9957
9970
|
});
|
|
9958
9971
|
}
|
|
9959
|
-
function
|
|
9972
|
+
function jd({ className: e, children: t, ref: n, ...r }) {
|
|
9960
9973
|
return /* @__PURE__ */ o("tbody", {
|
|
9961
9974
|
ref: n,
|
|
9962
9975
|
className: x("aivex:bg-bg-primary", e),
|
|
@@ -9964,7 +9977,7 @@ function Ad({ className: e, children: t, ref: n, ...r }) {
|
|
|
9964
9977
|
children: t
|
|
9965
9978
|
});
|
|
9966
9979
|
}
|
|
9967
|
-
function
|
|
9980
|
+
function Md({ className: e, children: t, ref: n, ...r }) {
|
|
9968
9981
|
return /* @__PURE__ */ o("tr", {
|
|
9969
9982
|
ref: n,
|
|
9970
9983
|
className: x("aivex:h-12 aivex:border-b aivex:border-border-default aivex:last:border-b-0 aivex:transition-colors aivex:hover:bg-bg-secondary", e),
|
|
@@ -9972,7 +9985,7 @@ function jd({ className: e, children: t, ref: n, ...r }) {
|
|
|
9972
9985
|
children: t
|
|
9973
9986
|
});
|
|
9974
9987
|
}
|
|
9975
|
-
function
|
|
9988
|
+
function Nd({ className: e, children: t, sortable: n, sortDirection: r, onSort: i, ref: a, ...c }) {
|
|
9976
9989
|
return /* @__PURE__ */ o("th", {
|
|
9977
9990
|
ref: a,
|
|
9978
9991
|
className: x("aivex:h-12 aivex:px-md aivex:text-left aivex:align-middle aivex:text-xs aivex:font-medium aivex:text-text-secondary aivex:whitespace-nowrap", e),
|
|
@@ -9983,12 +9996,12 @@ function Md({ className: e, children: t, sortable: n, sortDirection: r, onSort:
|
|
|
9983
9996
|
className: "aivex:inline-flex aivex:items-center aivex:gap-[2px] aivex:group aivex:text-text-secondary aivex:hover:text-text-primary aivex:transition-colors",
|
|
9984
9997
|
children: [t, /* @__PURE__ */ o("span", {
|
|
9985
9998
|
className: "aivex:text-text-tertiary aivex:group-hover:text-text-secondary aivex:transition-colors",
|
|
9986
|
-
children: /* @__PURE__ */ o(
|
|
9999
|
+
children: /* @__PURE__ */ o(Od, { direction: r })
|
|
9987
10000
|
})]
|
|
9988
10001
|
}) : t
|
|
9989
10002
|
});
|
|
9990
10003
|
}
|
|
9991
|
-
function
|
|
10004
|
+
function Pd({ className: e, children: t, ref: n, ...r }) {
|
|
9992
10005
|
return /* @__PURE__ */ o("td", {
|
|
9993
10006
|
ref: n,
|
|
9994
10007
|
className: x("aivex:h-12 aivex:px-md aivex:align-middle aivex:text-sm aivex:text-text-primary", e),
|
|
@@ -9998,7 +10011,7 @@ function Nd({ className: e, children: t, ref: n, ...r }) {
|
|
|
9998
10011
|
}
|
|
9999
10012
|
//#endregion
|
|
10000
10013
|
//#region src/components/Tag/Tag.tsx
|
|
10001
|
-
var
|
|
10014
|
+
var Fd = n("aivex:inline-flex aivex:items-center aivex:gap-[2px] aivex:rounded-full aivex:overflow-hidden", {
|
|
10002
10015
|
variants: {
|
|
10003
10016
|
size: {
|
|
10004
10017
|
sm: "aivex:min-h-6 aivex:px-[6px] aivex:py-[2px]",
|
|
@@ -10014,10 +10027,10 @@ var Pd = n("aivex:inline-flex aivex:items-center aivex:gap-[2px] aivex:rounded-f
|
|
|
10014
10027
|
type: "default"
|
|
10015
10028
|
}
|
|
10016
10029
|
});
|
|
10017
|
-
function
|
|
10030
|
+
function Id({ className: e, size: t = "sm", type: n = "default", showIcon: r = !1, disabled: i = !1, onRemove: a, children: c, ref: l, ...u }) {
|
|
10018
10031
|
return /* @__PURE__ */ s("div", {
|
|
10019
10032
|
ref: l,
|
|
10020
|
-
className: x(
|
|
10033
|
+
className: x(Fd({
|
|
10021
10034
|
size: t,
|
|
10022
10035
|
type: n
|
|
10023
10036
|
}), i && "aivex:opacity-disable", e),
|
|
@@ -10046,7 +10059,7 @@ function Fd({ className: e, size: t = "sm", type: n = "default", showIcon: r = !
|
|
|
10046
10059
|
}
|
|
10047
10060
|
//#endregion
|
|
10048
10061
|
//#region src/components/Tagbox/Tagbox.tsx
|
|
10049
|
-
function
|
|
10062
|
+
function Ld({ className: e, size: t = "sm", label: n, helperText: r, error: i, disabled: a, value: c, defaultValue: l = [], onChange: u, parsePaste: d, validate: f, placeholder: p, id: g, ref: _, onBlur: v, onCompositionEnd: y, onCompositionStart: b, onFocus: S, onKeyDown: C, onPaste: w, ...T }) {
|
|
10050
10063
|
let E = c !== void 0, [D, O] = h(l), k = E ? c : D, [A, j] = h(""), M = m(!1), [N, P] = h(!1), F = f ? k.some((e) => !f(e)) : !1, I = i || F, ee = (e) => {
|
|
10051
10064
|
let t = e.trim();
|
|
10052
10065
|
if (!t) return;
|
|
@@ -10066,7 +10079,7 @@ function Id({ className: e, size: t = "sm", label: n, helperText: r, error: i, d
|
|
|
10066
10079
|
size: t,
|
|
10067
10080
|
layout: "wrap",
|
|
10068
10081
|
containerClassName: e,
|
|
10069
|
-
children: [k.map((e, n) => /* @__PURE__ */ o(
|
|
10082
|
+
children: [k.map((e, n) => /* @__PURE__ */ o(Id, {
|
|
10070
10083
|
size: t === "md" ? "md" : "sm",
|
|
10071
10084
|
type: f ? f(e) ? "default" : "error" : I ? "error" : "default",
|
|
10072
10085
|
disabled: a,
|
|
@@ -10114,7 +10127,7 @@ function Id({ className: e, size: t = "sm", label: n, helperText: r, error: i, d
|
|
|
10114
10127
|
}
|
|
10115
10128
|
//#endregion
|
|
10116
10129
|
//#region src/components/Textarea/Textarea.tsx
|
|
10117
|
-
function
|
|
10130
|
+
function Rd({ className: e, label: t, helperText: n, error: r, disabled: i, size: a = "md", minHeight: s, fixedHeight: c, leadingElement: l, trailingElement: u, id: d, ref: f, onFocus: p, onBlur: m, ...g }) {
|
|
10118
10131
|
let [_, v] = h(!1), y = {};
|
|
10119
10132
|
return s !== void 0 && (y.minHeight = typeof s == "number" ? `${s}px` : s), c && s !== void 0 && (y.height = y.minHeight, y.maxHeight = y.minHeight), /* @__PURE__ */ o(xa, {
|
|
10120
10133
|
id: d,
|
|
@@ -10145,7 +10158,7 @@ function Ld({ className: e, label: t, helperText: n, error: r, disabled: i, size
|
|
|
10145
10158
|
}
|
|
10146
10159
|
//#endregion
|
|
10147
10160
|
//#region src/components/Textbox/Textbox.tsx
|
|
10148
|
-
function
|
|
10161
|
+
function zd({ className: e, label: t, helperText: n, error: r, disabled: i, clearable: c, leadingElement: l, trailingElement: u, size: d = "md", id: f, ref: p, value: m, defaultValue: g, onChange: _, onFocus: v, onBlur: y, ...b }) {
|
|
10149
10162
|
let [S, C] = h(!1), [w, T] = h(typeof g == "string" ? g : g?.toString() ?? ""), E = m !== void 0, D = E ? String(m ?? "") : w, O = c && D.length > 0;
|
|
10150
10163
|
return /* @__PURE__ */ o(xa, {
|
|
10151
10164
|
id: f,
|
|
@@ -10189,7 +10202,7 @@ function Rd({ className: e, label: t, helperText: n, error: r, disabled: i, clea
|
|
|
10189
10202
|
}
|
|
10190
10203
|
//#endregion
|
|
10191
10204
|
//#region src/components/Toast/Toast.tsx
|
|
10192
|
-
var
|
|
10205
|
+
var Bd = n("aivex:inline-flex aivex:min-h-10 aivex:w-fit aivex:items-center aivex:justify-center aivex:rounded-xs aivex:bg-static-gray aivex:px-xl aivex:py-md", {
|
|
10193
10206
|
variants: { type: {
|
|
10194
10207
|
default: "",
|
|
10195
10208
|
success: "",
|
|
@@ -10197,12 +10210,12 @@ var zd = n("aivex:inline-flex aivex:min-h-10 aivex:w-fit aivex:items-center aive
|
|
|
10197
10210
|
} },
|
|
10198
10211
|
defaultVariants: { type: "default" }
|
|
10199
10212
|
});
|
|
10200
|
-
function
|
|
10213
|
+
function Vd({ className: e, type: t = "default", open: n = !0, message: r, onClose: i, ref: a, ...c }) {
|
|
10201
10214
|
return n ? /* @__PURE__ */ s("div", {
|
|
10202
10215
|
ref: a,
|
|
10203
10216
|
role: "status",
|
|
10204
10217
|
"aria-live": "polite",
|
|
10205
|
-
className: x(
|
|
10218
|
+
className: x(Bd({ type: t }), e),
|
|
10206
10219
|
...c,
|
|
10207
10220
|
children: [/* @__PURE__ */ o("p", {
|
|
10208
10221
|
className: "aivex:max-w-[720px] aivex:text-center aivex:text-body-lg-regular aivex:text-static-white",
|
|
@@ -10216,7 +10229,7 @@ function Bd({ className: e, type: t = "default", open: n = !0, message: r, onClo
|
|
|
10216
10229
|
})]
|
|
10217
10230
|
}) : null;
|
|
10218
10231
|
}
|
|
10219
|
-
function
|
|
10232
|
+
function Hd({ position: e = "bottom-center", duration: t = 4e3, visibleToasts: n = 3, gap: r = 8, toastOptions: i, ...a }) {
|
|
10220
10233
|
return /* @__PURE__ */ o(v, {
|
|
10221
10234
|
position: e,
|
|
10222
10235
|
duration: t,
|
|
@@ -10225,7 +10238,7 @@ function Vd({ position: e = "bottom-center", duration: t = 4e3, visibleToasts: n
|
|
|
10225
10238
|
toastOptions: {
|
|
10226
10239
|
...i,
|
|
10227
10240
|
unstyled: !0,
|
|
10228
|
-
className: x(
|
|
10241
|
+
className: x(Bd({ type: "default" }), i?.className),
|
|
10229
10242
|
classNames: {
|
|
10230
10243
|
title: "aivex:max-w-[720px] aivex:text-center aivex:text-body-lg-regular aivex:text-static-white",
|
|
10231
10244
|
description: "aivex:mt-xs aivex:max-w-[720px] aivex:text-center aivex:text-body-md-regular aivex:text-static-white aivex:opacity-80",
|
|
@@ -10238,7 +10251,7 @@ function Vd({ position: e = "bottom-center", duration: t = 4e3, visibleToasts: n
|
|
|
10238
10251
|
}
|
|
10239
10252
|
//#endregion
|
|
10240
10253
|
//#region src/components/Tooltip/Tooltip.tsx
|
|
10241
|
-
var
|
|
10254
|
+
var Ud = n("aivex:absolute aivex:z-50 aivex:rounded-sm aivex:bg-static-gray aivex:px-md aivex:py-xs aivex:text-body-md-regular aivex:text-text-on-color aivex:whitespace-nowrap aivex:pointer-events-none", {
|
|
10242
10255
|
variants: { placement: {
|
|
10243
10256
|
top: "aivex:bottom-full aivex:left-1/2 aivex:-translate-x-1/2 aivex:mb-2",
|
|
10244
10257
|
bottom: "aivex:top-full aivex:left-1/2 aivex:-translate-x-1/2 aivex:mt-2",
|
|
@@ -10246,7 +10259,7 @@ var Hd = n("aivex:absolute aivex:z-50 aivex:rounded-sm aivex:bg-static-gray aive
|
|
|
10246
10259
|
right: "aivex:left-full aivex:top-1/2 aivex:-translate-y-1/2 aivex:ml-2"
|
|
10247
10260
|
} },
|
|
10248
10261
|
defaultVariants: { placement: "top" }
|
|
10249
|
-
}),
|
|
10262
|
+
}), Wd = n("aivex:absolute aivex:w-2 aivex:h-2 aivex:bg-static-gray aivex:rotate-45", {
|
|
10250
10263
|
variants: { placement: {
|
|
10251
10264
|
top: "aivex:top-full aivex:left-1/2 aivex:-translate-x-1/2 aivex:-translate-y-1/2",
|
|
10252
10265
|
bottom: "aivex:bottom-full aivex:left-1/2 aivex:-translate-x-1/2 aivex:translate-y-1/2",
|
|
@@ -10255,7 +10268,7 @@ var Hd = n("aivex:absolute aivex:z-50 aivex:rounded-sm aivex:bg-static-gray aive
|
|
|
10255
10268
|
} },
|
|
10256
10269
|
defaultVariants: { placement: "top" }
|
|
10257
10270
|
});
|
|
10258
|
-
function
|
|
10271
|
+
function Gd({ className: e, content: t, children: n, placement: r = "top", showArrow: i = !0, ref: a, ...c }) {
|
|
10259
10272
|
let [l, u] = h(!1), d = m(null);
|
|
10260
10273
|
return /* @__PURE__ */ s("div", {
|
|
10261
10274
|
ref: a,
|
|
@@ -10268,14 +10281,14 @@ function Wd({ className: e, content: t, children: n, placement: r = "top", showA
|
|
|
10268
10281
|
children: [n, l && /* @__PURE__ */ s("div", {
|
|
10269
10282
|
ref: d,
|
|
10270
10283
|
role: "tooltip",
|
|
10271
|
-
className: x(
|
|
10272
|
-
children: [i && /* @__PURE__ */ o("span", { className: x(
|
|
10284
|
+
className: x(Ud({ placement: r })),
|
|
10285
|
+
children: [i && /* @__PURE__ */ o("span", { className: x(Wd({ placement: r })) }), t]
|
|
10273
10286
|
})]
|
|
10274
10287
|
});
|
|
10275
10288
|
}
|
|
10276
10289
|
//#endregion
|
|
10277
10290
|
//#region src/components/Typography/Typography.tsx
|
|
10278
|
-
var
|
|
10291
|
+
var Kd = n("", {
|
|
10279
10292
|
variants: { variant: {
|
|
10280
10293
|
"display-lg": "aivex:text-display-lg",
|
|
10281
10294
|
"display-md": "aivex:text-display-md",
|
|
@@ -10297,7 +10310,7 @@ var Gd = n("", {
|
|
|
10297
10310
|
"caption-md": "aivex:text-caption-md"
|
|
10298
10311
|
} },
|
|
10299
10312
|
defaultVariants: { variant: "body-md-regular" }
|
|
10300
|
-
}),
|
|
10313
|
+
}), qd = {
|
|
10301
10314
|
"display-lg": "h1",
|
|
10302
10315
|
"display-md": "h1",
|
|
10303
10316
|
"heading-xl": "h1",
|
|
@@ -10317,17 +10330,17 @@ var Gd = n("", {
|
|
|
10317
10330
|
"label-sm": "span",
|
|
10318
10331
|
"caption-md": "span"
|
|
10319
10332
|
};
|
|
10320
|
-
function
|
|
10321
|
-
return /* @__PURE__ */ o(e ??
|
|
10333
|
+
function Jd({ as: e, variant: t = "body-md-regular", className: n, children: r, ref: i, ...a }) {
|
|
10334
|
+
return /* @__PURE__ */ o(e ?? qd[t], {
|
|
10322
10335
|
ref: i,
|
|
10323
|
-
className: x(
|
|
10336
|
+
className: x(Kd({ variant: t }), n),
|
|
10324
10337
|
...a,
|
|
10325
10338
|
children: r
|
|
10326
10339
|
});
|
|
10327
10340
|
}
|
|
10328
10341
|
//#endregion
|
|
10329
10342
|
//#region src/components/UploadArea/UploadArea.tsx
|
|
10330
|
-
function
|
|
10343
|
+
function Yd({ className: e, formats: t = [
|
|
10331
10344
|
"jpg",
|
|
10332
10345
|
"bmp",
|
|
10333
10346
|
"png",
|
|
@@ -10411,6 +10424,6 @@ function Jd({ className: e, formats: t = [
|
|
|
10411
10424
|
});
|
|
10412
10425
|
}
|
|
10413
10426
|
//#endregion
|
|
10414
|
-
export { Br as AddFolderIcon, M as AddPointIcon, N as AdjustIcon, Zr as AiSparkleGradientIcon, Xr as AiSparkleIcon, k as AiVDataIcon, A as AiVOpsIcon, j as AiVisionIcon, Zi as Alert, P as AlignCenterIcon, F as AlignLeftIcon, I as AlignRightIcon, ee as AngleIcon, he as ApertureIcon, te as ArchiveIcon, gi as ArrowCircleDownFilledIcon, se as ArrowCircleDownIcon, _i as ArrowCircleLeftFilledIcon, ce as ArrowCircleLeftIcon, hi as ArrowCircleRightFilledIcon, le as ArrowCircleRightIcon, de as ArrowCircleUpFilledIcon, ue as ArrowCircleUpIcon, fe as ArrowCornerLeftTopIcon, ne as ArrowDownIcon, oe as ArrowElbowDownLeftIcon, Mi as ArrowFlowIcon, Ur as ArrowGoingDownIcon, Hr as ArrowGoingUpIcon, ui as ArrowLeftDownIcon, re as ArrowLeftIcon, pe as ArrowLeftRightIcon, ci as ArrowLeftUpIcon, si as ArrowRightDownIcon, ie as ArrowRightIcon, li as ArrowRightUpIcon, me as ArrowUpDownIcon, ae as ArrowUpIcon, Ri as ArrowelbowDownRightIcon, Jr as AssistantPolyIcon, ge as AssistantRectIcon, Mr as AtIcon, $i as Avatar, ra as BadgeDot, ta as BadgeLabel, _e as BarcodeIcon, ye as BellIcon, xe as BookmarkFilledIcon, be as BookmarkIcon, ve as BoundingBoxIcon, oa as BreadCrumb, aa as BreadCrumbItem, Se as BrightIcon, O as Button, Kr as CSVFileIcon, Ce as CalendarIcon, we as CameraIcon, sa as Card, Te as CaretLineDownIcon, Ee as CaretLineLeftIcon, De as CaretLineRightIcon, Oe as CaretLineUpIcon, ke as CaretUpDownIcon, Ae as ChatIcon, Ie as CheckCircleFilledIcon, Fe as CheckCircleIcon, Pe as CheckDoubleIcon, je as CheckIcon, da as Checkbox, Me as CheckboxCheckIcon, Ne as CheckboxIndeterminateIcon, ma as Chips, fa as ChipsCheckbox, pt as CircleDashedIcon, Le as CircleFilledIcon, Re as CircleOutlineIcon, He as ClipIcon, wi as ClipboardIcon, bi as CloseCircleFilledIcon, Be as CloseCircleIcon, ze as CloseIcon, Ve as ClosedEyesIcon, Ni as CodeIcon, ti as CompareIcon, Lr as ConfirmIcon, Ue as ConnectedIcon, We as ContrastIcon, kr as ControlIcon, Ke as Copy1Icon, qe as Copy2Icon, Ge as CopyIcon, Je as CreditCardIcon, Ye as CropIcon, Xe as CuttingIcon, ii as DatabaseIcon, Ze as DefectGeneratorIcon, Qe as DeleteIcon, $e as DeletePointIcon, et as DirectionDoubleDownIcon, tt as DirectionDoubleLeftIcon, nt as DirectionDoubleRightIcon, rt as DirectionDoubleUpIcon, it as DirectionDownIcon, at as DirectionLeftIcon, ot as DirectionRightIcon, st as DirectionUpIcon, ct as DisconnectedIcon, ga as Divider, lt as DotIcon, ut as DownloadIcon, dt as DragHandleIcon, ft as EditIcon, Si as EmptyIcon, Fi as EnglishIcon, Ci as EqualIcon, _t as EraserIcon, Yi as ExpandIcon, ei as ExperimentIcon, vt as ExportIcon, yt as FailedIcon, bt as FileIcon, St as FilterFilledIcon, xt as FilterIcon, Ct as FitIcon, Et as FloppyDiskIcon, wt as FolderCloseIcon, Tt as FolderOpenIcon, Dt as GalleryViewLargeIcon, Ot as GalleryViewMediumIcon, kt as GalleryViewSmallIcon, At as GlobalIcon, jt as GraphIcon, Nt as GraphPieIcon, Mt as GraphScatterIcon, Pt as GridIcon, Ft as GuideHandleIcon, It as GuideLineIcon, Lt as HamburgerIcon, Rt as HandIcon, zt as HelpIcon, Vt as HistoryIcon, Bt as HomeIcon, zi as HourglassIcon, ya as IconButton, Wt as ImageBrokenIcon, Ht as ImageIcon, Ut as ImagesIcon, Gt as ImportIcon, di as InfoFilledIcon, Kt as InfoIcon, xa as InputBase, C as InteractionLayer, qt as KebabIcon, Yt as KeyDeleteIcon, Vr as KeyIcon, Xt as KeyReturnIcon, Jt as KeyboardIcon, Ii as KoreanIcon, Zt as LabelPointIcon, Qt as LanguageIcon, Ti as LightbulbIcon, Di as LightingFilledIcon, Ei as LightingIcon, $t as LineIcon, en as LinkIcon, Pi as ListPlayIcon, tn as LockIcon, nn as LoginIcon, rn as LogoutIcon, Yr as MagicWandIcon, an as MailIcon, on as MapIcon, sn as MapPinIcon, cn as MeatballIcon, Ca as MenuItem, wa as MenuRoot, Da as Messagebox, Qr as MicroscopeIcon, Fr as MinimizeIcon, Ki as MinimizeWindowIcon, un as MinusCircleIcon, ln as MinusIcon, ja as ModalFooter, ka as ModalHeader, Ma as ModalRoot, dn as ModelIcon, Oi as MonitorIcon, fn as MouseClickLeftIcon, pn as MouseClickRightIcon, zr as MoveFolderIcon, mn as MoveIcon, hn as MultiSelectionIcon, gn as MuteIcon, La as Nav, Ia as NavItem, Pa as NavTile, _n as NewTabIcon, ri as NotEqualIcon, vn as OpenEyesIcon, za as Overlay, Or as PackageIcon, Gi as PageIcon, Wi as PageMaximizeIcon, Ui as PageMinimizeIcon, Va as Pagination, yn as PasteIcon, fi as PauseCircleFilledIcon, xn as PauseCircleIcon, bn as PauseIcon, Sn as PenIcon, Cn as PencilIcon, wn as PinIcon, ki as PipelineIcon, Tn as PixelIcon, mi as PlayCircleFilledIcon, Dn as PlayCircleIcon, En as PlayIcon, ji as PlayProgressIcon, xi as PlusCircleFilledIcon, kn as PlusCircleIcon, On as PlusIcon, jn as PointEditIcon, An as PointIcon, Nn as PushPinFilledIcon, Mn as PushPinIcon, Wr as QuestionIcon,
|
|
10427
|
+
export { Br as AddFolderIcon, M as AddPointIcon, N as AdjustIcon, Zr as AiSparkleGradientIcon, Xr as AiSparkleIcon, k as AiVDataIcon, A as AiVOpsIcon, j as AiVisionIcon, Zi as Alert, P as AlignCenterIcon, F as AlignLeftIcon, I as AlignRightIcon, ee as AngleIcon, he as ApertureIcon, te as ArchiveIcon, gi as ArrowCircleDownFilledIcon, se as ArrowCircleDownIcon, _i as ArrowCircleLeftFilledIcon, ce as ArrowCircleLeftIcon, hi as ArrowCircleRightFilledIcon, le as ArrowCircleRightIcon, de as ArrowCircleUpFilledIcon, ue as ArrowCircleUpIcon, fe as ArrowCornerLeftTopIcon, ne as ArrowDownIcon, oe as ArrowElbowDownLeftIcon, Mi as ArrowFlowIcon, Ur as ArrowGoingDownIcon, Hr as ArrowGoingUpIcon, ui as ArrowLeftDownIcon, re as ArrowLeftIcon, pe as ArrowLeftRightIcon, ci as ArrowLeftUpIcon, si as ArrowRightDownIcon, ie as ArrowRightIcon, li as ArrowRightUpIcon, me as ArrowUpDownIcon, ae as ArrowUpIcon, Ri as ArrowelbowDownRightIcon, Jr as AssistantPolyIcon, ge as AssistantRectIcon, Mr as AtIcon, $i as Avatar, ra as BadgeDot, ta as BadgeLabel, _e as BarcodeIcon, ye as BellIcon, xe as BookmarkFilledIcon, be as BookmarkIcon, ve as BoundingBoxIcon, oa as BreadCrumb, aa as BreadCrumbItem, Se as BrightIcon, O as Button, Kr as CSVFileIcon, Ce as CalendarIcon, we as CameraIcon, sa as Card, Te as CaretLineDownIcon, Ee as CaretLineLeftIcon, De as CaretLineRightIcon, Oe as CaretLineUpIcon, ke as CaretUpDownIcon, Ae as ChatIcon, Ie as CheckCircleFilledIcon, Fe as CheckCircleIcon, Pe as CheckDoubleIcon, je as CheckIcon, da as Checkbox, Me as CheckboxCheckIcon, Ne as CheckboxIndeterminateIcon, ma as Chips, fa as ChipsCheckbox, pt as CircleDashedIcon, Le as CircleFilledIcon, Re as CircleOutlineIcon, He as ClipIcon, wi as ClipboardIcon, bi as CloseCircleFilledIcon, Be as CloseCircleIcon, ze as CloseIcon, Ve as ClosedEyesIcon, Ni as CodeIcon, ti as CompareIcon, Lr as ConfirmIcon, Ue as ConnectedIcon, We as ContrastIcon, kr as ControlIcon, Ke as Copy1Icon, qe as Copy2Icon, Ge as CopyIcon, Je as CreditCardIcon, Ye as CropIcon, Xe as CuttingIcon, ii as DatabaseIcon, Ze as DefectGeneratorIcon, Qe as DeleteIcon, $e as DeletePointIcon, et as DirectionDoubleDownIcon, tt as DirectionDoubleLeftIcon, nt as DirectionDoubleRightIcon, rt as DirectionDoubleUpIcon, it as DirectionDownIcon, at as DirectionLeftIcon, ot as DirectionRightIcon, st as DirectionUpIcon, ct as DisconnectedIcon, ga as Divider, lt as DotIcon, ut as DownloadIcon, dt as DragHandleIcon, ft as EditIcon, Si as EmptyIcon, Fi as EnglishIcon, Ci as EqualIcon, _t as EraserIcon, Yi as ExpandIcon, ei as ExperimentIcon, vt as ExportIcon, yt as FailedIcon, bt as FileIcon, St as FilterFilledIcon, xt as FilterIcon, Ct as FitIcon, Et as FloppyDiskIcon, wt as FolderCloseIcon, Tt as FolderOpenIcon, Dt as GalleryViewLargeIcon, Ot as GalleryViewMediumIcon, kt as GalleryViewSmallIcon, At as GlobalIcon, jt as GraphIcon, Nt as GraphPieIcon, Mt as GraphScatterIcon, Pt as GridIcon, Ft as GuideHandleIcon, It as GuideLineIcon, Lt as HamburgerIcon, Rt as HandIcon, zt as HelpIcon, Vt as HistoryIcon, Bt as HomeIcon, zi as HourglassIcon, ya as IconButton, Wt as ImageBrokenIcon, Ht as ImageIcon, Ut as ImagesIcon, Gt as ImportIcon, di as InfoFilledIcon, Kt as InfoIcon, xa as InputBase, C as InteractionLayer, qt as KebabIcon, Yt as KeyDeleteIcon, Vr as KeyIcon, Xt as KeyReturnIcon, Jt as KeyboardIcon, Ii as KoreanIcon, Zt as LabelPointIcon, Qt as LanguageIcon, Ti as LightbulbIcon, Di as LightingFilledIcon, Ei as LightingIcon, $t as LineIcon, en as LinkIcon, Pi as ListPlayIcon, tn as LockIcon, nn as LoginIcon, rn as LogoutIcon, Yr as MagicWandIcon, an as MailIcon, on as MapIcon, sn as MapPinIcon, cn as MeatballIcon, Ca as MenuItem, wa as MenuRoot, Da as Messagebox, Qr as MicroscopeIcon, Fr as MinimizeIcon, Ki as MinimizeWindowIcon, un as MinusCircleIcon, ln as MinusIcon, ja as ModalFooter, ka as ModalHeader, Ma as ModalRoot, dn as ModelIcon, Oi as MonitorIcon, fn as MouseClickLeftIcon, pn as MouseClickRightIcon, zr as MoveFolderIcon, mn as MoveIcon, hn as MultiSelectionIcon, gn as MuteIcon, La as Nav, Ia as NavItem, Pa as NavTile, _n as NewTabIcon, ri as NotEqualIcon, vn as OpenEyesIcon, za as Overlay, Or as PackageIcon, Gi as PageIcon, Wi as PageMaximizeIcon, Ui as PageMinimizeIcon, Va as Pagination, yn as PasteIcon, fi as PauseCircleFilledIcon, xn as PauseCircleIcon, bn as PauseIcon, Sn as PenIcon, Cn as PencilIcon, wn as PinIcon, ki as PipelineIcon, Tn as PixelIcon, mi as PlayCircleFilledIcon, Dn as PlayCircleIcon, En as PlayIcon, ji as PlayProgressIcon, xi as PlusCircleFilledIcon, kn as PlusCircleIcon, On as PlusIcon, jn as PointEditIcon, An as PointIcon, Nn as PushPinFilledIcon, Mn as PushPinIcon, Wr as QuestionIcon, Ga as Radio, Nr as ReadedMailIcon, mt as RectDashedIcon, Pn as RectIcon, Fn as RedoIcon, In as RefreshIcon, Ln as RepeatIcon, Rn as RepeatOnceIcon, qr as RequestStatusIcon, zn as RocketIcon, Bn as RotateRectIcon, Vn as RotateRectOCRIcon, Hn as RulerIcon, Un as ScaleLeftBottomIcon, Wn as ScaleLeftTopIcon, Gn as ScaleRightBottomIcon, Kn as ScaleRightTopIcon, qn as SearchIcon, Xa as SegmentedItem, Ja as SegmentedRoot, gd as SelectBox, Gr as SendIcon, Jn as SettingIcon, $r as ShapesIcon, _d as Shortcut, Ji as ShrinkIcon, Yn as ShuffleIcon, Xn as SidebarIcon, Zn as SimplificationIcon, Qn as SmoothIcon, $n as SortAscendingIcon, er as SortDescendingIcon, tr as SoundIcon, Li as SpecificAreaIcon, rr as StarFilledIcon, nr as StarIcon, pi as StopCircleFilledIcon, ar as StopCircleIcon, ir as StopIcon, Ir as StorageIcon, or as StrokeIcon, Sd as Switch, Dd as TabItem, Td as TabRoot, kd as Table, jd as TableBody, Pd as TableCell, Nd as TableHead, Ad as TableHeader, Md as TableRow, Id as Tag, jr as TagFilledIcon, yi as TagFilledOpacityIcon, Ar as TagIcon, Ld as Tagbox, ni as TargetIcon, qi as TaskQueueIcon, sr as TeamIcon, cr as TempIcon, Pr as TestIcon, ur as TextBoldIcon, mr as TextH1Icon, hr as TextH2Icon, gr as TextH3Icon, lr as TextIcon, dr as TextItalicIcon, fr as TextStrikethroughIcon, pr as TextUnderlineIcon, Rd as Textarea, zd as Textbox, Hi as ThumbsDownFilledIcon, Vi as ThumbsDownIcon, Bi as ThumbsUpIcon, _r as TimeIcon, Vd as Toast, Hd as ToastToaster, Ai as ToolIcon, Gd as Tooltip, ht as TriangleDashedIcon, Jd as Typography, vr as UndoIcon, yr as UneditableIcon, br as UnlockIcon, Rr as UnreadIcon, Yd as UploadArea, xr as UploadIcon, Sr as UserIcon, oi as WarningCircleFilledIcon, ai as WarningCircleIcon, vi as WarningTriangleFilledIcon, gt as WarningTriangleIcon, Cr as WheelIcon, wr as WorkspaceIcon, Tr as Zoom100Icon, Er as ZoomInIcon, Dr as ZoomOutIcon, Qi as avatarVariants, na as badgeDotVariants, ea as badgeLabelVariants, D as buttonVariants, ca as checkboxVariants, pa as chipsVariants, x as cn, ha as dividerVariants, _a as iconButtonVariants, ba as inputContainerVariants, ba as inputWrapperVariants, Sa as menuItemVariants, Ta as messageboxVariants, Fa as navItemVariants, Na as navTileVariants, Ra as overlayVariants, Ha as radioVariants, Ed as tabItemVariants, Fd as tagVariants, y as toast, Bd as toastVariants, Ud as tooltipContentVariants, Kd as typographyVariants };
|
|
10415
10428
|
|
|
10416
10429
|
//# sourceMappingURL=index.js.map
|