@lgsm/modules 1.5.0 → 1.5.2
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/main.js +136 -136
- package/dist/shared-service/axiosInstance.d.ts +2 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -2,13 +2,13 @@ import { jsx as x, Fragment as Ke, jsxs as ue } from "react/jsx-runtime";
|
|
|
2
2
|
import * as m from "react";
|
|
3
3
|
import v, { useState as hn, forwardRef as Sr, createElement as tn, useEffect as ds } from "react";
|
|
4
4
|
import * as fs from "react-dom";
|
|
5
|
-
import
|
|
5
|
+
import Cr from "react-dom";
|
|
6
6
|
import './assets/main.css';function Mn(e, t) {
|
|
7
7
|
if (typeof e == "function")
|
|
8
8
|
return e(t);
|
|
9
9
|
e != null && (e.current = t);
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function kr(...e) {
|
|
12
12
|
return (t) => {
|
|
13
13
|
let n = !1;
|
|
14
14
|
const r = e.map((o) => {
|
|
@@ -25,7 +25,7 @@ function Cr(...e) {
|
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
function Ue(...e) {
|
|
28
|
-
return m.useCallback(
|
|
28
|
+
return m.useCallback(kr(...e), e);
|
|
29
29
|
}
|
|
30
30
|
// @__NO_SIDE_EFFECTS__
|
|
31
31
|
function gn(e) {
|
|
@@ -46,7 +46,7 @@ function ps(e) {
|
|
|
46
46
|
const { children: o, ...s } = n;
|
|
47
47
|
if (m.isValidElement(o)) {
|
|
48
48
|
const a = ys(o), i = bs(s, o.props);
|
|
49
|
-
return o.type !== m.Fragment && (i.ref = r ?
|
|
49
|
+
return o.type !== m.Fragment && (i.ref = r ? kr(r, a) : a), m.cloneElement(o, i);
|
|
50
50
|
}
|
|
51
51
|
return m.Children.count(o) > 1 ? m.Children.only(null) : null;
|
|
52
52
|
});
|
|
@@ -213,7 +213,7 @@ const Ln = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Fn = bn, N
|
|
|
213
213
|
n.has(s) ? n.set(s, a) : o(s, a);
|
|
214
214
|
}
|
|
215
215
|
};
|
|
216
|
-
}, rn = "!", on = ":",
|
|
216
|
+
}, rn = "!", on = ":", Cs = on.length, ks = (e) => {
|
|
217
217
|
const {
|
|
218
218
|
prefix: t,
|
|
219
219
|
experimentalParseClassName: n
|
|
@@ -225,7 +225,7 @@ const Ln = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Fn = bn, N
|
|
|
225
225
|
let p = o[h];
|
|
226
226
|
if (a === 0 && i === 0) {
|
|
227
227
|
if (p === on) {
|
|
228
|
-
s.push(o.slice(d, h)), d = h +
|
|
228
|
+
s.push(o.slice(d, h)), d = h + Cs;
|
|
229
229
|
continue;
|
|
230
230
|
}
|
|
231
231
|
if (p === "/") {
|
|
@@ -274,7 +274,7 @@ const Ln = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Fn = bn, N
|
|
|
274
274
|
};
|
|
275
275
|
}, Ts = (e) => ({
|
|
276
276
|
cache: Ss(e.cacheSize),
|
|
277
|
-
parseClassName:
|
|
277
|
+
parseClassName: ks(e),
|
|
278
278
|
sortModifiers: Ns(e),
|
|
279
279
|
...vs(e)
|
|
280
280
|
}), As = /\s+/, Os = (e, t) => {
|
|
@@ -356,12 +356,12 @@ function Ds(e, ...t) {
|
|
|
356
356
|
const q = (e) => {
|
|
357
357
|
const t = (n) => n[e] || [];
|
|
358
358
|
return t.isThemeGetter = !0, t;
|
|
359
|
-
}, Or = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Pr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, _s = /^\d+\/\d+$/, Is = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ms = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ls = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Fs = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Bs = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, We = (e) => _s.test(e), L = (e) => !!e && !Number.isNaN(Number(e)), Ae = (e) => !!e && Number.isInteger(Number(e)), $t = (e) => e.endsWith("%") && L(e.slice(0, -1)),
|
|
359
|
+
}, Or = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Pr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, _s = /^\d+\/\d+$/, Is = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ms = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ls = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Fs = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Bs = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, We = (e) => _s.test(e), L = (e) => !!e && !Number.isNaN(Number(e)), Ae = (e) => !!e && Number.isInteger(Number(e)), $t = (e) => e.endsWith("%") && L(e.slice(0, -1)), ke = (e) => Is.test(e), Us = () => !0, zs = (e) => (
|
|
360
360
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
361
361
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
362
362
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
363
363
|
Ms.test(e) && !Ls.test(e)
|
|
364
|
-
), Dr = () => !1, js = (e) => Fs.test(e), $s = (e) => Bs.test(e), Ws = (e) => !
|
|
364
|
+
), Dr = () => !1, js = (e) => Fs.test(e), $s = (e) => Bs.test(e), Ws = (e) => !C(e) && !k(e), Hs = (e) => Xe(e, Mr, Dr), C = (e) => Or.test(e), _e = (e) => Xe(e, Lr, zs), Wt = (e) => Xe(e, Ys, L), zn = (e) => Xe(e, _r, Dr), Vs = (e) => Xe(e, Ir, $s), pt = (e) => Xe(e, Fr, js), k = (e) => Pr.test(e), tt = (e) => Je(e, Lr), qs = (e) => Je(e, Xs), jn = (e) => Je(e, _r), Gs = (e) => Je(e, Mr), Ks = (e) => Je(e, Ir), ht = (e) => Je(e, Fr, !0), Xe = (e, t, n) => {
|
|
365
365
|
const r = Or.exec(e);
|
|
366
366
|
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
367
367
|
}, Je = (e, t, n = !1) => {
|
|
@@ -386,51 +386,51 @@ const q = (e) => {
|
|
|
386
386
|
"bottom-left",
|
|
387
387
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
388
388
|
"left-bottom"
|
|
389
|
-
], D = () => [...A(),
|
|
390
|
-
span: ["full", Ae,
|
|
391
|
-
}, Ae,
|
|
392
|
-
position: [
|
|
389
|
+
], D = () => [...A(), k, C], F = () => ["auto", "hidden", "clip", "visible", "scroll"], T = () => ["auto", "contain", "none"], S = () => [k, C, d], $ = () => [We, "full", "auto", ...S()], re = () => [Ae, "none", "subgrid", k, C], Ee = () => ["auto", {
|
|
390
|
+
span: ["full", Ae, k, C]
|
|
391
|
+
}, Ae, k, C], Q = () => [Ae, "auto", k, C], H = () => ["auto", "min", "max", "fr", k, C], Y = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], ee = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], P = () => ["auto", ...S()], U = () => [We, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...S()], E = () => [e, k, C], ie = () => [...A(), jn, zn, {
|
|
392
|
+
position: [k, C]
|
|
393
393
|
}], X = () => ["no-repeat", {
|
|
394
394
|
repeat: ["", "x", "y", "space", "round"]
|
|
395
395
|
}], V = () => ["auto", "cover", "contain", Gs, Hs, {
|
|
396
|
-
size: [
|
|
396
|
+
size: [k, C]
|
|
397
397
|
}], te = () => [$t, tt, _e], N = () => [
|
|
398
398
|
// Deprecated since Tailwind CSS v4.0.0
|
|
399
399
|
"",
|
|
400
400
|
"none",
|
|
401
401
|
"full",
|
|
402
402
|
c,
|
|
403
|
-
|
|
404
|
-
|
|
403
|
+
k,
|
|
404
|
+
C
|
|
405
405
|
], M = () => ["", L, tt, _e], B = () => ["solid", "dashed", "dotted", "double"], ne = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], j = () => [L, $t, jn, zn], z = () => [
|
|
406
406
|
// Deprecated since Tailwind CSS v4.0.0
|
|
407
407
|
"",
|
|
408
408
|
"none",
|
|
409
409
|
h,
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
], fe = () => ["none", L,
|
|
410
|
+
k,
|
|
411
|
+
C
|
|
412
|
+
], fe = () => ["none", L, k, C], Se = () => ["none", L, k, C], Ne = () => [L, k, C], me = () => [We, "full", ...S()];
|
|
413
413
|
return {
|
|
414
414
|
cacheSize: 500,
|
|
415
415
|
theme: {
|
|
416
416
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
417
417
|
aspect: ["video"],
|
|
418
|
-
blur: [
|
|
419
|
-
breakpoint: [
|
|
418
|
+
blur: [ke],
|
|
419
|
+
breakpoint: [ke],
|
|
420
420
|
color: [Us],
|
|
421
|
-
container: [
|
|
422
|
-
"drop-shadow": [
|
|
421
|
+
container: [ke],
|
|
422
|
+
"drop-shadow": [ke],
|
|
423
423
|
ease: ["in", "out", "in-out"],
|
|
424
424
|
font: [Ws],
|
|
425
425
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
426
|
-
"inset-shadow": [
|
|
426
|
+
"inset-shadow": [ke],
|
|
427
427
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
428
428
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
429
|
-
radius: [
|
|
430
|
-
shadow: [
|
|
429
|
+
radius: [ke],
|
|
430
|
+
shadow: [ke],
|
|
431
431
|
spacing: ["px", L],
|
|
432
|
-
text: [
|
|
433
|
-
"text-shadow": [
|
|
432
|
+
text: [ke],
|
|
433
|
+
"text-shadow": [ke],
|
|
434
434
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
435
435
|
},
|
|
436
436
|
classGroups: {
|
|
@@ -442,7 +442,7 @@ const q = (e) => {
|
|
|
442
442
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
443
443
|
*/
|
|
444
444
|
aspect: [{
|
|
445
|
-
aspect: ["auto", "square", We,
|
|
445
|
+
aspect: ["auto", "square", We, C, k, g]
|
|
446
446
|
}],
|
|
447
447
|
/**
|
|
448
448
|
* Container
|
|
@@ -455,7 +455,7 @@ const q = (e) => {
|
|
|
455
455
|
* @see https://tailwindcss.com/docs/columns
|
|
456
456
|
*/
|
|
457
457
|
columns: [{
|
|
458
|
-
columns: [L,
|
|
458
|
+
columns: [L, C, k, i]
|
|
459
459
|
}],
|
|
460
460
|
/**
|
|
461
461
|
* Break After
|
|
@@ -655,7 +655,7 @@ const q = (e) => {
|
|
|
655
655
|
* @see https://tailwindcss.com/docs/z-index
|
|
656
656
|
*/
|
|
657
657
|
z: [{
|
|
658
|
-
z: [Ae, "auto",
|
|
658
|
+
z: [Ae, "auto", k, C]
|
|
659
659
|
}],
|
|
660
660
|
// ------------------------
|
|
661
661
|
// --- Flexbox and Grid ---
|
|
@@ -686,28 +686,28 @@ const q = (e) => {
|
|
|
686
686
|
* @see https://tailwindcss.com/docs/flex
|
|
687
687
|
*/
|
|
688
688
|
flex: [{
|
|
689
|
-
flex: [L, We, "auto", "initial", "none",
|
|
689
|
+
flex: [L, We, "auto", "initial", "none", C]
|
|
690
690
|
}],
|
|
691
691
|
/**
|
|
692
692
|
* Flex Grow
|
|
693
693
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
694
694
|
*/
|
|
695
695
|
grow: [{
|
|
696
|
-
grow: ["", L,
|
|
696
|
+
grow: ["", L, k, C]
|
|
697
697
|
}],
|
|
698
698
|
/**
|
|
699
699
|
* Flex Shrink
|
|
700
700
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
701
701
|
*/
|
|
702
702
|
shrink: [{
|
|
703
|
-
shrink: ["", L,
|
|
703
|
+
shrink: ["", L, k, C]
|
|
704
704
|
}],
|
|
705
705
|
/**
|
|
706
706
|
* Order
|
|
707
707
|
* @see https://tailwindcss.com/docs/order
|
|
708
708
|
*/
|
|
709
709
|
order: [{
|
|
710
|
-
order: [Ae, "first", "last", "none",
|
|
710
|
+
order: [Ae, "first", "last", "none", k, C]
|
|
711
711
|
}],
|
|
712
712
|
/**
|
|
713
713
|
* Grid Template Columns
|
|
@@ -1119,21 +1119,21 @@ const q = (e) => {
|
|
|
1119
1119
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1120
1120
|
*/
|
|
1121
1121
|
"font-weight": [{
|
|
1122
|
-
font: [r,
|
|
1122
|
+
font: [r, k, Wt]
|
|
1123
1123
|
}],
|
|
1124
1124
|
/**
|
|
1125
1125
|
* Font Stretch
|
|
1126
1126
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1127
1127
|
*/
|
|
1128
1128
|
"font-stretch": [{
|
|
1129
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", $t,
|
|
1129
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", $t, C]
|
|
1130
1130
|
}],
|
|
1131
1131
|
/**
|
|
1132
1132
|
* Font Family
|
|
1133
1133
|
* @see https://tailwindcss.com/docs/font-family
|
|
1134
1134
|
*/
|
|
1135
1135
|
"font-family": [{
|
|
1136
|
-
font: [qs,
|
|
1136
|
+
font: [qs, C, t]
|
|
1137
1137
|
}],
|
|
1138
1138
|
/**
|
|
1139
1139
|
* Font Variant Numeric
|
|
@@ -1170,14 +1170,14 @@ const q = (e) => {
|
|
|
1170
1170
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1171
1171
|
*/
|
|
1172
1172
|
tracking: [{
|
|
1173
|
-
tracking: [o,
|
|
1173
|
+
tracking: [o, k, C]
|
|
1174
1174
|
}],
|
|
1175
1175
|
/**
|
|
1176
1176
|
* Line Clamp
|
|
1177
1177
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1178
1178
|
*/
|
|
1179
1179
|
"line-clamp": [{
|
|
1180
|
-
"line-clamp": [L, "none",
|
|
1180
|
+
"line-clamp": [L, "none", k, Wt]
|
|
1181
1181
|
}],
|
|
1182
1182
|
/**
|
|
1183
1183
|
* Line Height
|
|
@@ -1195,7 +1195,7 @@ const q = (e) => {
|
|
|
1195
1195
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1196
1196
|
*/
|
|
1197
1197
|
"list-image": [{
|
|
1198
|
-
"list-image": ["none",
|
|
1198
|
+
"list-image": ["none", k, C]
|
|
1199
1199
|
}],
|
|
1200
1200
|
/**
|
|
1201
1201
|
* List Style Position
|
|
@@ -1209,7 +1209,7 @@ const q = (e) => {
|
|
|
1209
1209
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1210
1210
|
*/
|
|
1211
1211
|
"list-style-type": [{
|
|
1212
|
-
list: ["disc", "decimal", "none",
|
|
1212
|
+
list: ["disc", "decimal", "none", k, C]
|
|
1213
1213
|
}],
|
|
1214
1214
|
/**
|
|
1215
1215
|
* Text Alignment
|
|
@@ -1250,7 +1250,7 @@ const q = (e) => {
|
|
|
1250
1250
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1251
1251
|
*/
|
|
1252
1252
|
"text-decoration-thickness": [{
|
|
1253
|
-
decoration: [L, "from-font", "auto",
|
|
1253
|
+
decoration: [L, "from-font", "auto", k, _e]
|
|
1254
1254
|
}],
|
|
1255
1255
|
/**
|
|
1256
1256
|
* Text Decoration Color
|
|
@@ -1264,7 +1264,7 @@ const q = (e) => {
|
|
|
1264
1264
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1265
1265
|
*/
|
|
1266
1266
|
"underline-offset": [{
|
|
1267
|
-
"underline-offset": [L, "auto",
|
|
1267
|
+
"underline-offset": [L, "auto", k, C]
|
|
1268
1268
|
}],
|
|
1269
1269
|
/**
|
|
1270
1270
|
* Text Transform
|
|
@@ -1295,7 +1295,7 @@ const q = (e) => {
|
|
|
1295
1295
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1296
1296
|
*/
|
|
1297
1297
|
"vertical-align": [{
|
|
1298
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1298
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", k, C]
|
|
1299
1299
|
}],
|
|
1300
1300
|
/**
|
|
1301
1301
|
* Whitespace
|
|
@@ -1330,7 +1330,7 @@ const q = (e) => {
|
|
|
1330
1330
|
* @see https://tailwindcss.com/docs/content
|
|
1331
1331
|
*/
|
|
1332
1332
|
content: [{
|
|
1333
|
-
content: ["none",
|
|
1333
|
+
content: ["none", k, C]
|
|
1334
1334
|
}],
|
|
1335
1335
|
// -------------------
|
|
1336
1336
|
// --- Backgrounds ---
|
|
@@ -1385,9 +1385,9 @@ const q = (e) => {
|
|
|
1385
1385
|
bg: ["none", {
|
|
1386
1386
|
linear: [{
|
|
1387
1387
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1388
|
-
}, Ae,
|
|
1389
|
-
radial: ["",
|
|
1390
|
-
conic: [Ae,
|
|
1388
|
+
}, Ae, k, C],
|
|
1389
|
+
radial: ["", k, C],
|
|
1390
|
+
conic: [Ae, k, C]
|
|
1391
1391
|
}, Ks, Vs]
|
|
1392
1392
|
}],
|
|
1393
1393
|
/**
|
|
@@ -1730,7 +1730,7 @@ const q = (e) => {
|
|
|
1730
1730
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1731
1731
|
*/
|
|
1732
1732
|
"outline-offset": [{
|
|
1733
|
-
"outline-offset": [L,
|
|
1733
|
+
"outline-offset": [L, k, C]
|
|
1734
1734
|
}],
|
|
1735
1735
|
/**
|
|
1736
1736
|
* Outline Width
|
|
@@ -1856,7 +1856,7 @@ const q = (e) => {
|
|
|
1856
1856
|
* @see https://tailwindcss.com/docs/opacity
|
|
1857
1857
|
*/
|
|
1858
1858
|
opacity: [{
|
|
1859
|
-
opacity: [L,
|
|
1859
|
+
opacity: [L, k, C]
|
|
1860
1860
|
}],
|
|
1861
1861
|
/**
|
|
1862
1862
|
* Mix Blend Mode
|
|
@@ -1978,7 +1978,7 @@ const q = (e) => {
|
|
|
1978
1978
|
"mask-y-to": E()
|
|
1979
1979
|
}],
|
|
1980
1980
|
"mask-image-radial": [{
|
|
1981
|
-
"mask-radial": [
|
|
1981
|
+
"mask-radial": [k, C]
|
|
1982
1982
|
}],
|
|
1983
1983
|
"mask-image-radial-from-pos": [{
|
|
1984
1984
|
"mask-radial-from": j()
|
|
@@ -2066,7 +2066,7 @@ const q = (e) => {
|
|
|
2066
2066
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2067
2067
|
*/
|
|
2068
2068
|
"mask-image": [{
|
|
2069
|
-
mask: ["none",
|
|
2069
|
+
mask: ["none", k, C]
|
|
2070
2070
|
}],
|
|
2071
2071
|
// ---------------
|
|
2072
2072
|
// --- Filters ---
|
|
@@ -2080,8 +2080,8 @@ const q = (e) => {
|
|
|
2080
2080
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2081
2081
|
"",
|
|
2082
2082
|
"none",
|
|
2083
|
-
|
|
2084
|
-
|
|
2083
|
+
k,
|
|
2084
|
+
C
|
|
2085
2085
|
]
|
|
2086
2086
|
}],
|
|
2087
2087
|
/**
|
|
@@ -2096,14 +2096,14 @@ const q = (e) => {
|
|
|
2096
2096
|
* @see https://tailwindcss.com/docs/brightness
|
|
2097
2097
|
*/
|
|
2098
2098
|
brightness: [{
|
|
2099
|
-
brightness: [L,
|
|
2099
|
+
brightness: [L, k, C]
|
|
2100
2100
|
}],
|
|
2101
2101
|
/**
|
|
2102
2102
|
* Contrast
|
|
2103
2103
|
* @see https://tailwindcss.com/docs/contrast
|
|
2104
2104
|
*/
|
|
2105
2105
|
contrast: [{
|
|
2106
|
-
contrast: [L,
|
|
2106
|
+
contrast: [L, k, C]
|
|
2107
2107
|
}],
|
|
2108
2108
|
/**
|
|
2109
2109
|
* Drop Shadow
|
|
@@ -2131,35 +2131,35 @@ const q = (e) => {
|
|
|
2131
2131
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2132
2132
|
*/
|
|
2133
2133
|
grayscale: [{
|
|
2134
|
-
grayscale: ["", L,
|
|
2134
|
+
grayscale: ["", L, k, C]
|
|
2135
2135
|
}],
|
|
2136
2136
|
/**
|
|
2137
2137
|
* Hue Rotate
|
|
2138
2138
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2139
2139
|
*/
|
|
2140
2140
|
"hue-rotate": [{
|
|
2141
|
-
"hue-rotate": [L,
|
|
2141
|
+
"hue-rotate": [L, k, C]
|
|
2142
2142
|
}],
|
|
2143
2143
|
/**
|
|
2144
2144
|
* Invert
|
|
2145
2145
|
* @see https://tailwindcss.com/docs/invert
|
|
2146
2146
|
*/
|
|
2147
2147
|
invert: [{
|
|
2148
|
-
invert: ["", L,
|
|
2148
|
+
invert: ["", L, k, C]
|
|
2149
2149
|
}],
|
|
2150
2150
|
/**
|
|
2151
2151
|
* Saturate
|
|
2152
2152
|
* @see https://tailwindcss.com/docs/saturate
|
|
2153
2153
|
*/
|
|
2154
2154
|
saturate: [{
|
|
2155
|
-
saturate: [L,
|
|
2155
|
+
saturate: [L, k, C]
|
|
2156
2156
|
}],
|
|
2157
2157
|
/**
|
|
2158
2158
|
* Sepia
|
|
2159
2159
|
* @see https://tailwindcss.com/docs/sepia
|
|
2160
2160
|
*/
|
|
2161
2161
|
sepia: [{
|
|
2162
|
-
sepia: ["", L,
|
|
2162
|
+
sepia: ["", L, k, C]
|
|
2163
2163
|
}],
|
|
2164
2164
|
/**
|
|
2165
2165
|
* Backdrop Filter
|
|
@@ -2170,8 +2170,8 @@ const q = (e) => {
|
|
|
2170
2170
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2171
2171
|
"",
|
|
2172
2172
|
"none",
|
|
2173
|
-
|
|
2174
|
-
|
|
2173
|
+
k,
|
|
2174
|
+
C
|
|
2175
2175
|
]
|
|
2176
2176
|
}],
|
|
2177
2177
|
/**
|
|
@@ -2186,56 +2186,56 @@ const q = (e) => {
|
|
|
2186
2186
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2187
2187
|
*/
|
|
2188
2188
|
"backdrop-brightness": [{
|
|
2189
|
-
"backdrop-brightness": [L,
|
|
2189
|
+
"backdrop-brightness": [L, k, C]
|
|
2190
2190
|
}],
|
|
2191
2191
|
/**
|
|
2192
2192
|
* Backdrop Contrast
|
|
2193
2193
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2194
2194
|
*/
|
|
2195
2195
|
"backdrop-contrast": [{
|
|
2196
|
-
"backdrop-contrast": [L,
|
|
2196
|
+
"backdrop-contrast": [L, k, C]
|
|
2197
2197
|
}],
|
|
2198
2198
|
/**
|
|
2199
2199
|
* Backdrop Grayscale
|
|
2200
2200
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2201
2201
|
*/
|
|
2202
2202
|
"backdrop-grayscale": [{
|
|
2203
|
-
"backdrop-grayscale": ["", L,
|
|
2203
|
+
"backdrop-grayscale": ["", L, k, C]
|
|
2204
2204
|
}],
|
|
2205
2205
|
/**
|
|
2206
2206
|
* Backdrop Hue Rotate
|
|
2207
2207
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2208
2208
|
*/
|
|
2209
2209
|
"backdrop-hue-rotate": [{
|
|
2210
|
-
"backdrop-hue-rotate": [L,
|
|
2210
|
+
"backdrop-hue-rotate": [L, k, C]
|
|
2211
2211
|
}],
|
|
2212
2212
|
/**
|
|
2213
2213
|
* Backdrop Invert
|
|
2214
2214
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2215
2215
|
*/
|
|
2216
2216
|
"backdrop-invert": [{
|
|
2217
|
-
"backdrop-invert": ["", L,
|
|
2217
|
+
"backdrop-invert": ["", L, k, C]
|
|
2218
2218
|
}],
|
|
2219
2219
|
/**
|
|
2220
2220
|
* Backdrop Opacity
|
|
2221
2221
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2222
2222
|
*/
|
|
2223
2223
|
"backdrop-opacity": [{
|
|
2224
|
-
"backdrop-opacity": [L,
|
|
2224
|
+
"backdrop-opacity": [L, k, C]
|
|
2225
2225
|
}],
|
|
2226
2226
|
/**
|
|
2227
2227
|
* Backdrop Saturate
|
|
2228
2228
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2229
2229
|
*/
|
|
2230
2230
|
"backdrop-saturate": [{
|
|
2231
|
-
"backdrop-saturate": [L,
|
|
2231
|
+
"backdrop-saturate": [L, k, C]
|
|
2232
2232
|
}],
|
|
2233
2233
|
/**
|
|
2234
2234
|
* Backdrop Sepia
|
|
2235
2235
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2236
2236
|
*/
|
|
2237
2237
|
"backdrop-sepia": [{
|
|
2238
|
-
"backdrop-sepia": ["", L,
|
|
2238
|
+
"backdrop-sepia": ["", L, k, C]
|
|
2239
2239
|
}],
|
|
2240
2240
|
// --------------
|
|
2241
2241
|
// --- Tables ---
|
|
@@ -2290,7 +2290,7 @@ const q = (e) => {
|
|
|
2290
2290
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2291
2291
|
*/
|
|
2292
2292
|
transition: [{
|
|
2293
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2293
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", k, C]
|
|
2294
2294
|
}],
|
|
2295
2295
|
/**
|
|
2296
2296
|
* Transition Behavior
|
|
@@ -2304,28 +2304,28 @@ const q = (e) => {
|
|
|
2304
2304
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2305
2305
|
*/
|
|
2306
2306
|
duration: [{
|
|
2307
|
-
duration: [L, "initial",
|
|
2307
|
+
duration: [L, "initial", k, C]
|
|
2308
2308
|
}],
|
|
2309
2309
|
/**
|
|
2310
2310
|
* Transition Timing Function
|
|
2311
2311
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2312
2312
|
*/
|
|
2313
2313
|
ease: [{
|
|
2314
|
-
ease: ["linear", "initial", y,
|
|
2314
|
+
ease: ["linear", "initial", y, k, C]
|
|
2315
2315
|
}],
|
|
2316
2316
|
/**
|
|
2317
2317
|
* Transition Delay
|
|
2318
2318
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2319
2319
|
*/
|
|
2320
2320
|
delay: [{
|
|
2321
|
-
delay: [L,
|
|
2321
|
+
delay: [L, k, C]
|
|
2322
2322
|
}],
|
|
2323
2323
|
/**
|
|
2324
2324
|
* Animation
|
|
2325
2325
|
* @see https://tailwindcss.com/docs/animation
|
|
2326
2326
|
*/
|
|
2327
2327
|
animate: [{
|
|
2328
|
-
animate: ["none", O,
|
|
2328
|
+
animate: ["none", O, k, C]
|
|
2329
2329
|
}],
|
|
2330
2330
|
// ------------------
|
|
2331
2331
|
// --- Transforms ---
|
|
@@ -2342,7 +2342,7 @@ const q = (e) => {
|
|
|
2342
2342
|
* @see https://tailwindcss.com/docs/perspective
|
|
2343
2343
|
*/
|
|
2344
2344
|
perspective: [{
|
|
2345
|
-
perspective: [p,
|
|
2345
|
+
perspective: [p, k, C]
|
|
2346
2346
|
}],
|
|
2347
2347
|
/**
|
|
2348
2348
|
* Perspective Origin
|
|
@@ -2438,7 +2438,7 @@ const q = (e) => {
|
|
|
2438
2438
|
* @see https://tailwindcss.com/docs/transform
|
|
2439
2439
|
*/
|
|
2440
2440
|
transform: [{
|
|
2441
|
-
transform: [
|
|
2441
|
+
transform: [k, C, "", "none", "gpu", "cpu"]
|
|
2442
2442
|
}],
|
|
2443
2443
|
/**
|
|
2444
2444
|
* Transform Origin
|
|
@@ -2523,7 +2523,7 @@ const q = (e) => {
|
|
|
2523
2523
|
* @see https://tailwindcss.com/docs/cursor
|
|
2524
2524
|
*/
|
|
2525
2525
|
cursor: [{
|
|
2526
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
2526
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", k, C]
|
|
2527
2527
|
}],
|
|
2528
2528
|
/**
|
|
2529
2529
|
* Field Sizing
|
|
@@ -2745,7 +2745,7 @@ const q = (e) => {
|
|
|
2745
2745
|
* @see https://tailwindcss.com/docs/will-change
|
|
2746
2746
|
*/
|
|
2747
2747
|
"will-change": [{
|
|
2748
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2748
|
+
"will-change": ["auto", "scroll", "contents", "transform", k, C]
|
|
2749
2749
|
}],
|
|
2750
2750
|
// -----------
|
|
2751
2751
|
// --- SVG ---
|
|
@@ -3205,7 +3205,7 @@ function Sa(e) {
|
|
|
3205
3205
|
let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
|
|
3206
3206
|
n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));
|
|
3207
3207
|
}
|
|
3208
|
-
const
|
|
3208
|
+
const Ca = (e) => {
|
|
3209
3209
|
switch (e) {
|
|
3210
3210
|
case "success":
|
|
3211
3211
|
return Na;
|
|
@@ -3218,7 +3218,7 @@ const ka = (e) => {
|
|
|
3218
3218
|
default:
|
|
3219
3219
|
return null;
|
|
3220
3220
|
}
|
|
3221
|
-
},
|
|
3221
|
+
}, ka = Array(12).fill(0), Ra = ({ visible: e, className: t }) => /* @__PURE__ */ v.createElement("div", {
|
|
3222
3222
|
className: [
|
|
3223
3223
|
"sonner-loading-wrapper",
|
|
3224
3224
|
t
|
|
@@ -3226,7 +3226,7 @@ const ka = (e) => {
|
|
|
3226
3226
|
"data-visible": e
|
|
3227
3227
|
}, /* @__PURE__ */ v.createElement("div", {
|
|
3228
3228
|
className: "sonner-spinner"
|
|
3229
|
-
},
|
|
3229
|
+
}, ka.map((n, r) => /* @__PURE__ */ v.createElement("div", {
|
|
3230
3230
|
className: "sonner-loading-bar",
|
|
3231
3231
|
key: `spinner-bar-${r}`
|
|
3232
3232
|
})))), Na = /* @__PURE__ */ v.createElement("svg", {
|
|
@@ -3488,7 +3488,7 @@ function qa(e) {
|
|
|
3488
3488
|
}
|
|
3489
3489
|
const Ga = (e) => {
|
|
3490
3490
|
var t, n, r, o, s, a, i, d, c;
|
|
3491
|
-
const { invert: u, toast: l, unstyled: b, interacting: w, setHeights: h, visibleToasts: p, heights: g, index: y, toasts: O, expanded: R, removeToast: A, defaultRichColors: D, closeButton: F, style: T, cancelButtonStyle: S, actionButtonStyle: $, className: re = "", descriptionClassName: Ee = "", duration: Q, position: H, gap: Y, expandByDefault: ee, classNames: P, icons: U, closeButtonAriaLabel: E = "Close toast" } = e, [ie, X] = v.useState(null), [V, te] = v.useState(null), [N, M] = v.useState(!1), [B, ne] = v.useState(!1), [j, z] = v.useState(!1), [fe, Se] = v.useState(!1), [Ne, me] = v.useState(!1), [Qo, Ut] = v.useState(0), [es, Rn] = v.useState(0), et = v.useRef(l.duration || Q || Gn), Nn = v.useRef(null),
|
|
3491
|
+
const { invert: u, toast: l, unstyled: b, interacting: w, setHeights: h, visibleToasts: p, heights: g, index: y, toasts: O, expanded: R, removeToast: A, defaultRichColors: D, closeButton: F, style: T, cancelButtonStyle: S, actionButtonStyle: $, className: re = "", descriptionClassName: Ee = "", duration: Q, position: H, gap: Y, expandByDefault: ee, classNames: P, icons: U, closeButtonAriaLabel: E = "Close toast" } = e, [ie, X] = v.useState(null), [V, te] = v.useState(null), [N, M] = v.useState(!1), [B, ne] = v.useState(!1), [j, z] = v.useState(!1), [fe, Se] = v.useState(!1), [Ne, me] = v.useState(!1), [Qo, Ut] = v.useState(0), [es, Rn] = v.useState(0), et = v.useRef(l.duration || Q || Gn), Nn = v.useRef(null), Ce = v.useRef(null), ts = y === 0, ns = y + 1 <= p, le = l.type, ze = l.dismissible !== !1, rs = l.className || "", os = l.descriptionClassName || "", dt = v.useMemo(() => g.findIndex((I) => I.toastId === l.id) || 0, [
|
|
3492
3492
|
g,
|
|
3493
3493
|
l.id
|
|
3494
3494
|
]), ss = v.useMemo(() => {
|
|
@@ -3514,7 +3514,7 @@ const Ga = (e) => {
|
|
|
3514
3514
|
]), v.useEffect(() => {
|
|
3515
3515
|
M(!0);
|
|
3516
3516
|
}, []), v.useEffect(() => {
|
|
3517
|
-
const I =
|
|
3517
|
+
const I = Ce.current;
|
|
3518
3518
|
if (I) {
|
|
3519
3519
|
const G = I.getBoundingClientRect().height;
|
|
3520
3520
|
return Rn(G), h((J) => [
|
|
@@ -3531,7 +3531,7 @@ const Ga = (e) => {
|
|
|
3531
3531
|
l.id
|
|
3532
3532
|
]), v.useLayoutEffect(() => {
|
|
3533
3533
|
if (!N) return;
|
|
3534
|
-
const I =
|
|
3534
|
+
const I = Ce.current, G = I.style.height;
|
|
3535
3535
|
I.style.height = "auto";
|
|
3536
3536
|
const J = I.getBoundingClientRect().height;
|
|
3537
3537
|
I.style.height = G, Rn(J), h((ce) => ce.find((K) => K.toastId === l.id) ? ce.map((K) => K.toastId === l.id ? {
|
|
@@ -3606,11 +3606,11 @@ const Ga = (e) => {
|
|
|
3606
3606
|
visible: le === "loading"
|
|
3607
3607
|
});
|
|
3608
3608
|
}
|
|
3609
|
-
const us = l.icon || (U == null ? void 0 : U[le]) ||
|
|
3609
|
+
const us = l.icon || (U == null ? void 0 : U[le]) || Ca(le);
|
|
3610
3610
|
var Dn, _n;
|
|
3611
3611
|
return /* @__PURE__ */ v.createElement("li", {
|
|
3612
3612
|
tabIndex: 0,
|
|
3613
|
-
ref:
|
|
3613
|
+
ref: Ce,
|
|
3614
3614
|
className: ye(re, rs, P == null ? void 0 : P.toast, l == null || (t = l.classNames) == null ? void 0 : t.toast, P == null ? void 0 : P.default, P == null ? void 0 : P[le], l == null || (n = l.classNames) == null ? void 0 : n[le]),
|
|
3615
3615
|
"data-sonner-toast": "",
|
|
3616
3616
|
"data-rich-colors": (Dn = l.richColors) != null ? Dn : D,
|
|
@@ -3654,13 +3654,13 @@ const Ga = (e) => {
|
|
|
3654
3654
|
var I, G, J;
|
|
3655
3655
|
if (fe || !ze) return;
|
|
3656
3656
|
$e.current = null;
|
|
3657
|
-
const ce = Number(((I =
|
|
3657
|
+
const ce = Number(((I = Ce.current) == null ? void 0 : I.style.getPropertyValue("--swipe-amount-x").replace("px", "")) || 0), ft = Number(((G = Ce.current) == null ? void 0 : G.style.getPropertyValue("--swipe-amount-y").replace("px", "")) || 0), K = (/* @__PURE__ */ new Date()).getTime() - ((J = Nn.current) == null ? void 0 : J.getTime()), de = ie === "x" ? ce : ft, mt = Math.abs(de) / K;
|
|
3658
3658
|
if (Math.abs(de) >= Ha || mt > 0.11) {
|
|
3659
3659
|
Ut(je.current), l.onDismiss == null || l.onDismiss.call(l, l), te(ie === "x" ? ce > 0 ? "right" : "left" : ft > 0 ? "down" : "up"), Te(), Se(!0);
|
|
3660
3660
|
return;
|
|
3661
3661
|
} else {
|
|
3662
3662
|
var pe, he;
|
|
3663
|
-
(pe =
|
|
3663
|
+
(pe = Ce.current) == null || pe.style.setProperty("--swipe-amount-x", "0px"), (he = Ce.current) == null || he.style.setProperty("--swipe-amount-y", "0px");
|
|
3664
3664
|
}
|
|
3665
3665
|
me(!1), z(!1), X(null);
|
|
3666
3666
|
},
|
|
@@ -3691,7 +3691,7 @@ const Ga = (e) => {
|
|
|
3691
3691
|
const De = de * In(de);
|
|
3692
3692
|
he.x = Math.abs(De) < Math.abs(de) ? De : de;
|
|
3693
3693
|
}
|
|
3694
|
-
(Math.abs(he.x) > 0 || Math.abs(he.y) > 0) && me(!0), (J =
|
|
3694
|
+
(Math.abs(he.x) > 0 || Math.abs(he.y) > 0) && me(!0), (J = Ce.current) == null || J.style.setProperty("--swipe-amount-x", `${he.x}px`), (ce = Ce.current) == null || ce.style.setProperty("--swipe-amount-y", `${he.y}px`);
|
|
3695
3695
|
}
|
|
3696
3696
|
}, ss && !l.jsx && le !== "loading" ? /* @__PURE__ */ v.createElement("button", {
|
|
3697
3697
|
"aria-label": E,
|
|
@@ -3793,7 +3793,7 @@ const Ya = /* @__PURE__ */ v.forwardRef(function(t, n) {
|
|
|
3793
3793
|
return;
|
|
3794
3794
|
}
|
|
3795
3795
|
setTimeout(() => {
|
|
3796
|
-
|
|
3796
|
+
Cr.flushSync(() => {
|
|
3797
3797
|
T((M) => {
|
|
3798
3798
|
const B = M.findIndex((ne) => ne.id === N.id);
|
|
3799
3799
|
return B !== -1 ? [
|
|
@@ -4373,18 +4373,18 @@ var Ei = "Portal", Gr = m.forwardRef((e, t) => {
|
|
|
4373
4373
|
const { container: n, ...r } = e, [o, s] = m.useState(!1);
|
|
4374
4374
|
st(() => s(!0), []);
|
|
4375
4375
|
const a = n || o && ((i = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : i.body);
|
|
4376
|
-
return a ?
|
|
4376
|
+
return a ? Cr.createPortal(/* @__PURE__ */ x(Re.div, { ...r, ref: t }), a) : null;
|
|
4377
4377
|
});
|
|
4378
4378
|
Gr.displayName = Ei;
|
|
4379
4379
|
function Si(e, t) {
|
|
4380
4380
|
return m.useReducer((n, r) => t[n][r] ?? n, e);
|
|
4381
4381
|
}
|
|
4382
4382
|
var Pt = (e) => {
|
|
4383
|
-
const { present: t, children: n } = e, r =
|
|
4383
|
+
const { present: t, children: n } = e, r = Ci(t), o = typeof n == "function" ? n({ present: r.isPresent }) : m.Children.only(n), s = Ue(r.ref, ki(o));
|
|
4384
4384
|
return typeof n == "function" || r.isPresent ? m.cloneElement(o, { ref: s }) : null;
|
|
4385
4385
|
};
|
|
4386
4386
|
Pt.displayName = "Presence";
|
|
4387
|
-
function
|
|
4387
|
+
function Ci(e) {
|
|
4388
4388
|
const [t, n] = m.useState(), r = m.useRef(null), o = m.useRef(e), s = m.useRef("none"), a = e ? "mounted" : "unmounted", [i, d] = Si(a, {
|
|
4389
4389
|
mounted: {
|
|
4390
4390
|
UNMOUNT: "unmounted",
|
|
@@ -4436,7 +4436,7 @@ function ki(e) {
|
|
|
4436
4436
|
function bt(e) {
|
|
4437
4437
|
return (e == null ? void 0 : e.animationName) || "none";
|
|
4438
4438
|
}
|
|
4439
|
-
function
|
|
4439
|
+
function ki(e) {
|
|
4440
4440
|
var r, o;
|
|
4441
4441
|
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
4442
4442
|
return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
@@ -4476,7 +4476,7 @@ function Ni(e, t, n) {
|
|
|
4476
4476
|
(s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
|
|
4477
4477
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
4478
4478
|
}
|
|
4479
|
-
var St = "right-scroll-bar-position",
|
|
4479
|
+
var St = "right-scroll-bar-position", Ct = "width-before-scroll-bar", Ti = "with-scroll-bars-hidden", Ai = "--removed-body-scroll-bar-size";
|
|
4480
4480
|
function Kt(e, t) {
|
|
4481
4481
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
4482
4482
|
}
|
|
@@ -4617,7 +4617,7 @@ Dt.defaultProps = {
|
|
|
4617
4617
|
inert: !1
|
|
4618
4618
|
};
|
|
4619
4619
|
Dt.classNames = {
|
|
4620
|
-
fullWidth:
|
|
4620
|
+
fullWidth: Ct,
|
|
4621
4621
|
zeroRight: St
|
|
4622
4622
|
};
|
|
4623
4623
|
var Fi = function() {
|
|
@@ -4712,7 +4712,7 @@ var ji = function() {
|
|
|
4712
4712
|
right: `).concat(i, "px ").concat(r, `;
|
|
4713
4713
|
}
|
|
4714
4714
|
|
|
4715
|
-
.`).concat(
|
|
4715
|
+
.`).concat(Ct, ` {
|
|
4716
4716
|
margin-right: `).concat(i, "px ").concat(r, `;
|
|
4717
4717
|
}
|
|
4718
4718
|
|
|
@@ -4720,7 +4720,7 @@ var ji = function() {
|
|
|
4720
4720
|
right: 0 `).concat(r, `;
|
|
4721
4721
|
}
|
|
4722
4722
|
|
|
4723
|
-
.`).concat(
|
|
4723
|
+
.`).concat(Ct, " .").concat(Ct, ` {
|
|
4724
4724
|
margin-right: 0 `).concat(r, `;
|
|
4725
4725
|
}
|
|
4726
4726
|
|
|
@@ -5199,8 +5199,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
5199
5199
|
const o = (s = e.current) == null ? void 0 : s.getAttribute("aria-describedby");
|
|
5200
5200
|
t && o && (document.getElementById(t) || console.warn(r));
|
|
5201
5201
|
}, [r, e, t]), null;
|
|
5202
|
-
}, Sl = oo,
|
|
5203
|
-
const
|
|
5202
|
+
}, Sl = oo, Cl = io, vo = lo, wo = co, xo = fo, Eo = po, So = go;
|
|
5203
|
+
const kl = Sl, Rl = Cl, Nl = So, Co = m.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ x(
|
|
5204
5204
|
vo,
|
|
5205
5205
|
{
|
|
5206
5206
|
ref: n,
|
|
@@ -5211,9 +5211,9 @@ const Cl = Sl, Rl = kl, Nl = So, ko = m.forwardRef(({ className: e, ...t }, n) =
|
|
|
5211
5211
|
...t
|
|
5212
5212
|
}
|
|
5213
5213
|
));
|
|
5214
|
-
|
|
5215
|
-
const
|
|
5216
|
-
/* @__PURE__ */ x(
|
|
5214
|
+
Co.displayName = vo.displayName;
|
|
5215
|
+
const ko = m.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ ue(Rl, { children: [
|
|
5216
|
+
/* @__PURE__ */ x(Co, {}),
|
|
5217
5217
|
/* @__PURE__ */ ue(
|
|
5218
5218
|
wo,
|
|
5219
5219
|
{
|
|
@@ -5233,7 +5233,7 @@ const Co = m.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__
|
|
|
5233
5233
|
}
|
|
5234
5234
|
)
|
|
5235
5235
|
] }));
|
|
5236
|
-
|
|
5236
|
+
ko.displayName = wo.displayName;
|
|
5237
5237
|
const Ro = ({
|
|
5238
5238
|
className: e,
|
|
5239
5239
|
...t
|
|
@@ -5284,11 +5284,11 @@ const Tl = m.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ x(
|
|
|
5284
5284
|
));
|
|
5285
5285
|
Tl.displayName = Eo.displayName;
|
|
5286
5286
|
const yu = ({ children: e, title: t, action: n, isDialogOpen: r, onClose: o, buttonText: s }) => /* @__PURE__ */ x(Ke, { children: /* @__PURE__ */ x(
|
|
5287
|
-
|
|
5287
|
+
kl,
|
|
5288
5288
|
{
|
|
5289
5289
|
open: r,
|
|
5290
5290
|
onOpenChange: (a) => a ? void 0 : o(),
|
|
5291
|
-
children: /* @__PURE__ */ ue(
|
|
5291
|
+
children: /* @__PURE__ */ ue(ko, { className: "gap-8", children: [
|
|
5292
5292
|
/* @__PURE__ */ x(Ro, { children: /* @__PURE__ */ x(To, { className: "text-center", children: t }) }),
|
|
5293
5293
|
/* @__PURE__ */ x("div", { children: e }),
|
|
5294
5294
|
/* @__PURE__ */ ue(No, { children: [
|
|
@@ -5321,7 +5321,7 @@ function Pl(e) {
|
|
|
5321
5321
|
let t;
|
|
5322
5322
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Po(e.buffer), t;
|
|
5323
5323
|
}
|
|
5324
|
-
const Dl = Lt("string"), se = Lt("function"), Do = Lt("number"), lt = (e) => e !== null && typeof e == "object", _l = (e) => e === !0 || e === !1,
|
|
5324
|
+
const Dl = Lt("string"), se = Lt("function"), Do = Lt("number"), lt = (e) => e !== null && typeof e == "object", _l = (e) => e === !0 || e === !1, kt = (e) => {
|
|
5325
5325
|
if (Mt(e) !== "object")
|
|
5326
5326
|
return !1;
|
|
5327
5327
|
const t = Sn(e);
|
|
@@ -5370,7 +5370,7 @@ const Ie = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typ
|
|
|
5370
5370
|
function un() {
|
|
5371
5371
|
const { caseless: e, skipUndefined: t } = Io(this) && this || {}, n = {}, r = (o, s) => {
|
|
5372
5372
|
const a = e && _o(n, s) || s;
|
|
5373
|
-
|
|
5373
|
+
kt(n[a]) && kt(o) ? n[a] = un(n[a], o) : kt(o) ? n[a] = un({}, o) : Ze(o) ? n[a] = o.slice() : (!t || !Ye(o)) && (n[a] = o);
|
|
5374
5374
|
};
|
|
5375
5375
|
for (let o = 0, s = arguments.length; o < s; o++)
|
|
5376
5376
|
arguments[o] && ct(arguments[o], r);
|
|
@@ -5492,7 +5492,7 @@ const uc = (e) => {
|
|
|
5492
5492
|
isNumber: Do,
|
|
5493
5493
|
isBoolean: _l,
|
|
5494
5494
|
isObject: lt,
|
|
5495
|
-
isPlainObject:
|
|
5495
|
+
isPlainObject: kt,
|
|
5496
5496
|
isEmptyObject: Il,
|
|
5497
5497
|
isReadableStream: $l,
|
|
5498
5498
|
isRequest: Wl,
|
|
@@ -5689,10 +5689,10 @@ function cr(e) {
|
|
|
5689
5689
|
return t[r];
|
|
5690
5690
|
});
|
|
5691
5691
|
}
|
|
5692
|
-
function
|
|
5692
|
+
function Cn(e, t) {
|
|
5693
5693
|
this._pairs = [], e && Ft(e, this, t);
|
|
5694
5694
|
}
|
|
5695
|
-
const zo =
|
|
5695
|
+
const zo = Cn.prototype;
|
|
5696
5696
|
zo.append = function(t, n) {
|
|
5697
5697
|
this._pairs.push([t, n]);
|
|
5698
5698
|
};
|
|
@@ -5716,7 +5716,7 @@ function jo(e, t, n) {
|
|
|
5716
5716
|
});
|
|
5717
5717
|
const o = n && n.serialize;
|
|
5718
5718
|
let s;
|
|
5719
|
-
if (o ? s = o(t, n) : s = f.isURLSearchParams(t) ? t.toString() : new
|
|
5719
|
+
if (o ? s = o(t, n) : s = f.isURLSearchParams(t) ? t.toString() : new Cn(t, n).toString(r), s) {
|
|
5720
5720
|
const a = e.indexOf("#");
|
|
5721
5721
|
a !== -1 && (e = e.slice(0, a)), e += (e.indexOf("?") === -1 ? "?" : "&") + s;
|
|
5722
5722
|
}
|
|
@@ -5780,7 +5780,7 @@ const $o = {
|
|
|
5780
5780
|
silentJSONParsing: !0,
|
|
5781
5781
|
forcedJSONParsing: !0,
|
|
5782
5782
|
clarifyTimeoutError: !1
|
|
5783
|
-
}, vc = typeof URLSearchParams < "u" ? URLSearchParams :
|
|
5783
|
+
}, vc = typeof URLSearchParams < "u" ? URLSearchParams : Cn, wc = typeof FormData < "u" ? FormData : null, xc = typeof Blob < "u" ? Blob : null, Ec = {
|
|
5784
5784
|
isBrowser: !0,
|
|
5785
5785
|
classes: {
|
|
5786
5786
|
URLSearchParams: vc,
|
|
@@ -5788,14 +5788,14 @@ const $o = {
|
|
|
5788
5788
|
Blob: xc
|
|
5789
5789
|
},
|
|
5790
5790
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
5791
|
-
},
|
|
5792
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
|
|
5791
|
+
}, kn = typeof window < "u" && typeof document < "u", fn = typeof navigator == "object" && navigator || void 0, Sc = kn && (!fn || ["ReactNative", "NativeScript", "NS"].indexOf(fn.product) < 0), Cc = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
5792
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", kc = kn && window.location.href || "http://localhost", Rc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5793
5793
|
__proto__: null,
|
|
5794
|
-
hasBrowserEnv:
|
|
5794
|
+
hasBrowserEnv: kn,
|
|
5795
5795
|
hasStandardBrowserEnv: Sc,
|
|
5796
|
-
hasStandardBrowserWebWorkerEnv:
|
|
5796
|
+
hasStandardBrowserWebWorkerEnv: Cc,
|
|
5797
5797
|
navigator: fn,
|
|
5798
|
-
origin:
|
|
5798
|
+
origin: kc
|
|
5799
5799
|
}, Symbol.toStringTag, { value: "Module" })), Z = {
|
|
5800
5800
|
...Rc,
|
|
5801
5801
|
...Ec
|
|
@@ -7039,8 +7039,8 @@ W.HttpStatusCode = pn;
|
|
|
7039
7039
|
W.default = W;
|
|
7040
7040
|
const {
|
|
7041
7041
|
Axios: Su,
|
|
7042
|
-
AxiosError:
|
|
7043
|
-
CanceledError:
|
|
7042
|
+
AxiosError: Cu,
|
|
7043
|
+
CanceledError: ku,
|
|
7044
7044
|
isCancel: Ru,
|
|
7045
7045
|
CancelToken: Nu,
|
|
7046
7046
|
VERSION: Tu,
|
|
@@ -7056,7 +7056,7 @@ const {
|
|
|
7056
7056
|
mergeConfig: Bu
|
|
7057
7057
|
} = W;
|
|
7058
7058
|
let Me;
|
|
7059
|
-
function Uu(e) {
|
|
7059
|
+
function Uu(e, t) {
|
|
7060
7060
|
Me = W.create({
|
|
7061
7061
|
baseURL: e,
|
|
7062
7062
|
timeout: 1e4,
|
|
@@ -7064,23 +7064,23 @@ function Uu(e) {
|
|
|
7064
7064
|
"Content-Type": "application/json"
|
|
7065
7065
|
}
|
|
7066
7066
|
}), Me.interceptors.request.use(
|
|
7067
|
-
(
|
|
7068
|
-
const
|
|
7069
|
-
return
|
|
7067
|
+
(n) => {
|
|
7068
|
+
const r = t == null ? void 0 : t();
|
|
7069
|
+
return n.headers = n.headers || {}, r ? n.headers.Authorization = `Bearer ${r}` : delete n.headers.Authorization, n.withCredentials = !0, n;
|
|
7070
7070
|
},
|
|
7071
|
-
(
|
|
7071
|
+
(n) => Promise.reject(n)
|
|
7072
7072
|
), Me.interceptors.response.use(
|
|
7073
|
-
(
|
|
7074
|
-
(
|
|
7075
|
-
var
|
|
7076
|
-
if (
|
|
7077
|
-
const
|
|
7073
|
+
(n) => n,
|
|
7074
|
+
(n) => {
|
|
7075
|
+
var o, s, a, i, d, c;
|
|
7076
|
+
if (n.response.status > 299) {
|
|
7077
|
+
const u = ((o = n.config) == null ? void 0 : o.url) || "", l = u.substring(u.lastIndexOf("/"));
|
|
7078
7078
|
Al(
|
|
7079
|
-
`Error ${(
|
|
7080
|
-
`${((
|
|
7079
|
+
`Error ${(s = n.response) == null ? void 0 : s.status} for ${l}`,
|
|
7080
|
+
`${((i = (a = n.response) == null ? void 0 : a.data) == null ? void 0 : i.message) || n.message || "An unexpected error occurred"} [${((c = (d = n.response) == null ? void 0 : d.data) == null ? void 0 : c.errorCode) || "N/A"}]`
|
|
7081
7081
|
);
|
|
7082
7082
|
}
|
|
7083
|
-
return Promise.reject(
|
|
7083
|
+
return Promise.reject(n);
|
|
7084
7084
|
}
|
|
7085
7085
|
);
|
|
7086
7086
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AxiosInstance } from 'axios';
|
|
2
2
|
declare let axiosInstance: AxiosInstance;
|
|
3
|
-
export
|
|
3
|
+
export type TokenProvider = () => string | null | undefined;
|
|
4
|
+
export declare function setupBaseURL(baseUrl: string, tokenProvider?: TokenProvider): void;
|
|
4
5
|
export { axiosInstance };
|