@lateralus-ai/shipping-ui 1.0.4 → 1.1.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/components/ModalPanel.d.ts +2 -1
- package/dist/components/PdfViewer/ImageViewer.d.ts +1 -1
- package/dist/components/PdfViewer/PdfViewer.d.ts +2 -2
- package/dist/components/index.d.ts +1 -0
- package/dist/index.cjs +10 -10
- package/dist/index.esm.js +1086 -790
- package/package.json +1 -1
- package/src/components/ModalPanel.tsx +6 -1
- package/src/components/PdfViewer/ImageViewer.tsx +3 -3
- package/src/components/PdfViewer/PdfViewer.tsx +8 -6
- package/src/components/index.ts +1 -0
- package/src/stories/PDFViewer.stories.tsx +6 -6
package/dist/index.esm.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Tooltip as
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import nr, { useState as H, createContext as $r, useContext as ue, useEffect as Ur, useRef as Br } from "react";
|
|
2
|
+
import { Tooltip as ar, IconButton as V, ButtonGroup as Pe } from "@material-tailwind/react";
|
|
3
|
+
import Yr from "react-textarea-autosize";
|
|
4
|
+
import { Icon as ee } from "@iconify/react";
|
|
5
|
+
const Bt = {
|
|
5
6
|
fontFamily: {
|
|
6
7
|
sans: ["Work Sans", "sans-serif"],
|
|
7
8
|
mono: ["Roboto Mono", "monospace"],
|
|
@@ -219,7 +220,7 @@ const Ot = {
|
|
|
219
220
|
md: "calc(8px - 2px)",
|
|
220
221
|
sm: "calc(8px - 4px)"
|
|
221
222
|
}
|
|
222
|
-
},
|
|
223
|
+
}, Yt = {
|
|
223
224
|
button: {
|
|
224
225
|
defaultProps: {
|
|
225
226
|
className: "items-center normal-case shadow-none hover:shadow-none text-caption-1 font-medium h-10 rounded-lg flex gap-2 px-3 truncate tracking-[0.16px] justify-center",
|
|
@@ -653,7 +654,7 @@ const Ot = {
|
|
|
653
654
|
}
|
|
654
655
|
}
|
|
655
656
|
};
|
|
656
|
-
var
|
|
657
|
+
var Ie = { exports: {} }, ie = {};
|
|
657
658
|
/**
|
|
658
659
|
* @license React
|
|
659
660
|
* react-jsx-runtime.production.min.js
|
|
@@ -663,21 +664,21 @@ var Ae = { exports: {} }, oe = {};
|
|
|
663
664
|
* This source code is licensed under the MIT license found in the
|
|
664
665
|
* LICENSE file in the root directory of this source tree.
|
|
665
666
|
*/
|
|
666
|
-
var
|
|
667
|
-
function
|
|
668
|
-
if (
|
|
669
|
-
|
|
670
|
-
var r =
|
|
671
|
-
function
|
|
672
|
-
var
|
|
673
|
-
|
|
674
|
-
for (
|
|
675
|
-
if (
|
|
676
|
-
return { $$typeof: t, type:
|
|
667
|
+
var Qe;
|
|
668
|
+
function Zr() {
|
|
669
|
+
if (Qe) return ie;
|
|
670
|
+
Qe = 1;
|
|
671
|
+
var r = nr, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
672
|
+
function u(d, f, v) {
|
|
673
|
+
var g, x = {}, j = null, T = null;
|
|
674
|
+
v !== void 0 && (j = "" + v), f.key !== void 0 && (j = "" + f.key), f.ref !== void 0 && (T = f.ref);
|
|
675
|
+
for (g in f) o.call(f, g) && !l.hasOwnProperty(g) && (x[g] = f[g]);
|
|
676
|
+
if (d && d.defaultProps) for (g in f = d.defaultProps, f) x[g] === void 0 && (x[g] = f[g]);
|
|
677
|
+
return { $$typeof: t, type: d, key: j, ref: T, props: x, _owner: i.current };
|
|
677
678
|
}
|
|
678
|
-
return
|
|
679
|
+
return ie.Fragment = n, ie.jsx = u, ie.jsxs = u, ie;
|
|
679
680
|
}
|
|
680
|
-
var
|
|
681
|
+
var se = {};
|
|
681
682
|
/**
|
|
682
683
|
* @license React
|
|
683
684
|
* react-jsx-runtime.development.js
|
|
@@ -687,91 +688,91 @@ var ne = {};
|
|
|
687
688
|
* This source code is licensed under the MIT license found in the
|
|
688
689
|
* LICENSE file in the root directory of this source tree.
|
|
689
690
|
*/
|
|
690
|
-
var
|
|
691
|
-
function
|
|
692
|
-
return
|
|
693
|
-
var r =
|
|
694
|
-
function
|
|
691
|
+
var er;
|
|
692
|
+
function Jr() {
|
|
693
|
+
return er || (er = 1, process.env.NODE_ENV !== "production" && function() {
|
|
694
|
+
var r = nr, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), d = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), j = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), M = Symbol.iterator, I = "@@iterator";
|
|
695
|
+
function W(e) {
|
|
695
696
|
if (e === null || typeof e != "object")
|
|
696
697
|
return null;
|
|
697
|
-
var
|
|
698
|
-
return typeof
|
|
698
|
+
var a = M && e[M] || e[I];
|
|
699
|
+
return typeof a == "function" ? a : null;
|
|
699
700
|
}
|
|
700
|
-
var
|
|
701
|
-
function
|
|
701
|
+
var P = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
702
|
+
function _(e) {
|
|
702
703
|
{
|
|
703
|
-
for (var
|
|
704
|
-
|
|
705
|
-
|
|
704
|
+
for (var a = arguments.length, c = new Array(a > 1 ? a - 1 : 0), p = 1; p < a; p++)
|
|
705
|
+
c[p - 1] = arguments[p];
|
|
706
|
+
te("error", e, c);
|
|
706
707
|
}
|
|
707
708
|
}
|
|
708
|
-
function
|
|
709
|
+
function te(e, a, c) {
|
|
709
710
|
{
|
|
710
|
-
var
|
|
711
|
-
|
|
712
|
-
var y =
|
|
713
|
-
return String(
|
|
711
|
+
var p = P.ReactDebugCurrentFrame, m = p.getStackAddendum();
|
|
712
|
+
m !== "" && (a += "%s", c = c.concat([m]));
|
|
713
|
+
var y = c.map(function(h) {
|
|
714
|
+
return String(h);
|
|
714
715
|
});
|
|
715
|
-
y.unshift("Warning: " +
|
|
716
|
+
y.unshift("Warning: " + a), Function.prototype.apply.call(console[e], console, y);
|
|
716
717
|
}
|
|
717
718
|
}
|
|
718
|
-
var
|
|
719
|
-
|
|
720
|
-
function
|
|
721
|
-
return !!(typeof e == "string" || typeof e == "function" || e === o || e ===
|
|
719
|
+
var pe = !1, ge = !1, be = !1, ve = !1, oe = !1, K;
|
|
720
|
+
K = Symbol.for("react.module.reference");
|
|
721
|
+
function he(e) {
|
|
722
|
+
return !!(typeof e == "string" || typeof e == "function" || e === o || e === l || oe || e === i || e === v || e === g || ve || e === T || pe || ge || be || typeof e == "object" && e !== null && (e.$$typeof === j || e.$$typeof === x || e.$$typeof === u || e.$$typeof === d || e.$$typeof === f || // This needs to include all possible module reference object
|
|
722
723
|
// types supported by any Flight configuration anywhere since
|
|
723
724
|
// we don't know which Flight build this will end up being used
|
|
724
725
|
// with.
|
|
725
|
-
e.$$typeof ===
|
|
726
|
+
e.$$typeof === K || e.getModuleId !== void 0));
|
|
726
727
|
}
|
|
727
|
-
function
|
|
728
|
-
var
|
|
729
|
-
if (
|
|
730
|
-
return
|
|
731
|
-
var
|
|
732
|
-
return
|
|
728
|
+
function me(e, a, c) {
|
|
729
|
+
var p = e.displayName;
|
|
730
|
+
if (p)
|
|
731
|
+
return p;
|
|
732
|
+
var m = a.displayName || a.name || "";
|
|
733
|
+
return m !== "" ? c + "(" + m + ")" : c;
|
|
733
734
|
}
|
|
734
|
-
function
|
|
735
|
+
function U(e) {
|
|
735
736
|
return e.displayName || "Context";
|
|
736
737
|
}
|
|
737
738
|
function z(e) {
|
|
738
739
|
if (e == null)
|
|
739
740
|
return null;
|
|
740
|
-
if (typeof e.tag == "number" &&
|
|
741
|
+
if (typeof e.tag == "number" && _("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
741
742
|
return e.displayName || e.name || null;
|
|
742
743
|
if (typeof e == "string")
|
|
743
744
|
return e;
|
|
744
745
|
switch (e) {
|
|
745
746
|
case o:
|
|
746
747
|
return "Fragment";
|
|
747
|
-
case
|
|
748
|
+
case n:
|
|
748
749
|
return "Portal";
|
|
749
|
-
case
|
|
750
|
+
case l:
|
|
750
751
|
return "Profiler";
|
|
751
|
-
case
|
|
752
|
+
case i:
|
|
752
753
|
return "StrictMode";
|
|
753
|
-
case m:
|
|
754
|
-
return "Suspense";
|
|
755
754
|
case v:
|
|
755
|
+
return "Suspense";
|
|
756
|
+
case g:
|
|
756
757
|
return "SuspenseList";
|
|
757
758
|
}
|
|
758
759
|
if (typeof e == "object")
|
|
759
760
|
switch (e.$$typeof) {
|
|
760
|
-
case
|
|
761
|
-
var
|
|
762
|
-
return
|
|
763
|
-
case
|
|
764
|
-
var
|
|
765
|
-
return
|
|
761
|
+
case d:
|
|
762
|
+
var a = e;
|
|
763
|
+
return U(a) + ".Consumer";
|
|
764
|
+
case u:
|
|
765
|
+
var c = e;
|
|
766
|
+
return U(c._context) + ".Provider";
|
|
766
767
|
case f:
|
|
767
|
-
return
|
|
768
|
-
case
|
|
769
|
-
var
|
|
770
|
-
return
|
|
771
|
-
case
|
|
772
|
-
var
|
|
768
|
+
return me(e, e.render, "ForwardRef");
|
|
769
|
+
case x:
|
|
770
|
+
var p = e.displayName || null;
|
|
771
|
+
return p !== null ? p : z(e.type) || "Memo";
|
|
772
|
+
case j: {
|
|
773
|
+
var m = e, y = m._payload, h = m._init;
|
|
773
774
|
try {
|
|
774
|
-
return z(
|
|
775
|
+
return z(h(y));
|
|
775
776
|
} catch {
|
|
776
777
|
return null;
|
|
777
778
|
}
|
|
@@ -779,18 +780,18 @@ function Dr() {
|
|
|
779
780
|
}
|
|
780
781
|
return null;
|
|
781
782
|
}
|
|
782
|
-
var
|
|
783
|
-
function
|
|
783
|
+
var O = Object.assign, D = 0, q, F, ne, G, B, E, ze;
|
|
784
|
+
function Le() {
|
|
784
785
|
}
|
|
785
|
-
|
|
786
|
-
function
|
|
786
|
+
Le.__reactDisabledLog = !0;
|
|
787
|
+
function hr() {
|
|
787
788
|
{
|
|
788
|
-
if (
|
|
789
|
-
|
|
789
|
+
if (D === 0) {
|
|
790
|
+
q = console.log, F = console.info, ne = console.warn, G = console.error, B = console.group, E = console.groupCollapsed, ze = console.groupEnd;
|
|
790
791
|
var e = {
|
|
791
792
|
configurable: !0,
|
|
792
793
|
enumerable: !0,
|
|
793
|
-
value:
|
|
794
|
+
value: Le,
|
|
794
795
|
writable: !0
|
|
795
796
|
};
|
|
796
797
|
Object.defineProperties(console, {
|
|
@@ -803,332 +804,332 @@ function Dr() {
|
|
|
803
804
|
groupEnd: e
|
|
804
805
|
});
|
|
805
806
|
}
|
|
806
|
-
|
|
807
|
+
D++;
|
|
807
808
|
}
|
|
808
809
|
}
|
|
809
|
-
function
|
|
810
|
+
function mr() {
|
|
810
811
|
{
|
|
811
|
-
if (
|
|
812
|
+
if (D--, D === 0) {
|
|
812
813
|
var e = {
|
|
813
814
|
configurable: !0,
|
|
814
815
|
enumerable: !0,
|
|
815
816
|
writable: !0
|
|
816
817
|
};
|
|
817
818
|
Object.defineProperties(console, {
|
|
818
|
-
log:
|
|
819
|
-
value:
|
|
819
|
+
log: O({}, e, {
|
|
820
|
+
value: q
|
|
820
821
|
}),
|
|
821
|
-
info:
|
|
822
|
-
value:
|
|
822
|
+
info: O({}, e, {
|
|
823
|
+
value: F
|
|
823
824
|
}),
|
|
824
|
-
warn:
|
|
825
|
-
value:
|
|
825
|
+
warn: O({}, e, {
|
|
826
|
+
value: ne
|
|
826
827
|
}),
|
|
827
|
-
error:
|
|
828
|
-
value:
|
|
828
|
+
error: O({}, e, {
|
|
829
|
+
value: G
|
|
829
830
|
}),
|
|
830
|
-
group:
|
|
831
|
-
value:
|
|
831
|
+
group: O({}, e, {
|
|
832
|
+
value: B
|
|
832
833
|
}),
|
|
833
|
-
groupCollapsed:
|
|
834
|
-
value:
|
|
834
|
+
groupCollapsed: O({}, e, {
|
|
835
|
+
value: E
|
|
835
836
|
}),
|
|
836
|
-
groupEnd:
|
|
837
|
-
value:
|
|
837
|
+
groupEnd: O({}, e, {
|
|
838
|
+
value: ze
|
|
838
839
|
})
|
|
839
840
|
});
|
|
840
841
|
}
|
|
841
|
-
|
|
842
|
+
D < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
842
843
|
}
|
|
843
844
|
}
|
|
844
|
-
var
|
|
845
|
-
function
|
|
845
|
+
var je = P.ReactCurrentDispatcher, ke;
|
|
846
|
+
function xe(e, a, c) {
|
|
846
847
|
{
|
|
847
|
-
if (
|
|
848
|
+
if (ke === void 0)
|
|
848
849
|
try {
|
|
849
850
|
throw Error();
|
|
850
|
-
} catch (
|
|
851
|
-
var
|
|
852
|
-
|
|
851
|
+
} catch (m) {
|
|
852
|
+
var p = m.stack.trim().match(/\n( *(at )?)/);
|
|
853
|
+
ke = p && p[1] || "";
|
|
853
854
|
}
|
|
854
855
|
return `
|
|
855
|
-
` +
|
|
856
|
+
` + ke + e;
|
|
856
857
|
}
|
|
857
858
|
}
|
|
858
|
-
var
|
|
859
|
+
var Re = !1, ye;
|
|
859
860
|
{
|
|
860
|
-
var
|
|
861
|
-
|
|
861
|
+
var xr = typeof WeakMap == "function" ? WeakMap : Map;
|
|
862
|
+
ye = new xr();
|
|
862
863
|
}
|
|
863
|
-
function
|
|
864
|
-
if (!e ||
|
|
864
|
+
function Ve(e, a) {
|
|
865
|
+
if (!e || Re)
|
|
865
866
|
return "";
|
|
866
867
|
{
|
|
867
|
-
var
|
|
868
|
-
if (
|
|
869
|
-
return
|
|
868
|
+
var c = ye.get(e);
|
|
869
|
+
if (c !== void 0)
|
|
870
|
+
return c;
|
|
870
871
|
}
|
|
871
|
-
var
|
|
872
|
-
|
|
873
|
-
var
|
|
872
|
+
var p;
|
|
873
|
+
Re = !0;
|
|
874
|
+
var m = Error.prepareStackTrace;
|
|
874
875
|
Error.prepareStackTrace = void 0;
|
|
875
876
|
var y;
|
|
876
|
-
y =
|
|
877
|
+
y = je.current, je.current = null, hr();
|
|
877
878
|
try {
|
|
878
|
-
if (
|
|
879
|
-
var
|
|
879
|
+
if (a) {
|
|
880
|
+
var h = function() {
|
|
880
881
|
throw Error();
|
|
881
882
|
};
|
|
882
|
-
if (Object.defineProperty(
|
|
883
|
+
if (Object.defineProperty(h.prototype, "props", {
|
|
883
884
|
set: function() {
|
|
884
885
|
throw Error();
|
|
885
886
|
}
|
|
886
887
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
887
888
|
try {
|
|
888
|
-
Reflect.construct(
|
|
889
|
+
Reflect.construct(h, []);
|
|
889
890
|
} catch (A) {
|
|
890
|
-
|
|
891
|
+
p = A;
|
|
891
892
|
}
|
|
892
|
-
Reflect.construct(e, [],
|
|
893
|
+
Reflect.construct(e, [], h);
|
|
893
894
|
} else {
|
|
894
895
|
try {
|
|
895
|
-
|
|
896
|
+
h.call();
|
|
896
897
|
} catch (A) {
|
|
897
|
-
|
|
898
|
+
p = A;
|
|
898
899
|
}
|
|
899
|
-
e.call(
|
|
900
|
+
e.call(h.prototype);
|
|
900
901
|
}
|
|
901
902
|
} else {
|
|
902
903
|
try {
|
|
903
904
|
throw Error();
|
|
904
905
|
} catch (A) {
|
|
905
|
-
|
|
906
|
+
p = A;
|
|
906
907
|
}
|
|
907
908
|
e();
|
|
908
909
|
}
|
|
909
910
|
} catch (A) {
|
|
910
|
-
if (A &&
|
|
911
|
-
for (var
|
|
912
|
-
`),
|
|
913
|
-
`), C =
|
|
911
|
+
if (A && p && typeof A.stack == "string") {
|
|
912
|
+
for (var b = A.stack.split(`
|
|
913
|
+
`), S = p.stack.split(`
|
|
914
|
+
`), C = b.length - 1, k = S.length - 1; C >= 1 && k >= 0 && b[C] !== S[k]; )
|
|
914
915
|
k--;
|
|
915
916
|
for (; C >= 1 && k >= 0; C--, k--)
|
|
916
|
-
if (
|
|
917
|
+
if (b[C] !== S[k]) {
|
|
917
918
|
if (C !== 1 || k !== 1)
|
|
918
919
|
do
|
|
919
|
-
if (C--, k--, k < 0 ||
|
|
920
|
-
var
|
|
921
|
-
` +
|
|
922
|
-
return e.displayName &&
|
|
920
|
+
if (C--, k--, k < 0 || b[C] !== S[k]) {
|
|
921
|
+
var N = `
|
|
922
|
+
` + b[C].replace(" at new ", " at ");
|
|
923
|
+
return e.displayName && N.includes("<anonymous>") && (N = N.replace("<anonymous>", e.displayName)), typeof e == "function" && ye.set(e, N), N;
|
|
923
924
|
}
|
|
924
925
|
while (C >= 1 && k >= 0);
|
|
925
926
|
break;
|
|
926
927
|
}
|
|
927
928
|
}
|
|
928
929
|
} finally {
|
|
929
|
-
|
|
930
|
+
Re = !1, je.current = y, mr(), Error.prepareStackTrace = m;
|
|
930
931
|
}
|
|
931
|
-
var
|
|
932
|
-
return typeof e == "function" &&
|
|
932
|
+
var Q = e ? e.displayName || e.name : "", Y = Q ? xe(Q) : "";
|
|
933
|
+
return typeof e == "function" && ye.set(e, Y), Y;
|
|
933
934
|
}
|
|
934
|
-
function
|
|
935
|
-
return
|
|
935
|
+
function yr(e, a, c) {
|
|
936
|
+
return Ve(e, !1);
|
|
936
937
|
}
|
|
937
|
-
function
|
|
938
|
-
var
|
|
939
|
-
return !!(
|
|
938
|
+
function wr(e) {
|
|
939
|
+
var a = e.prototype;
|
|
940
|
+
return !!(a && a.isReactComponent);
|
|
940
941
|
}
|
|
941
|
-
function
|
|
942
|
+
function we(e, a, c) {
|
|
942
943
|
if (e == null)
|
|
943
944
|
return "";
|
|
944
945
|
if (typeof e == "function")
|
|
945
|
-
return
|
|
946
|
+
return Ve(e, wr(e));
|
|
946
947
|
if (typeof e == "string")
|
|
947
|
-
return
|
|
948
|
+
return xe(e);
|
|
948
949
|
switch (e) {
|
|
949
|
-
case m:
|
|
950
|
-
return be("Suspense");
|
|
951
950
|
case v:
|
|
952
|
-
return
|
|
951
|
+
return xe("Suspense");
|
|
952
|
+
case g:
|
|
953
|
+
return xe("SuspenseList");
|
|
953
954
|
}
|
|
954
955
|
if (typeof e == "object")
|
|
955
956
|
switch (e.$$typeof) {
|
|
956
957
|
case f:
|
|
957
|
-
return
|
|
958
|
-
case
|
|
959
|
-
return
|
|
960
|
-
case
|
|
961
|
-
var
|
|
958
|
+
return yr(e.render);
|
|
959
|
+
case x:
|
|
960
|
+
return we(e.type, a, c);
|
|
961
|
+
case j: {
|
|
962
|
+
var p = e, m = p._payload, y = p._init;
|
|
962
963
|
try {
|
|
963
|
-
return
|
|
964
|
+
return we(y(m), a, c);
|
|
964
965
|
} catch {
|
|
965
966
|
}
|
|
966
967
|
}
|
|
967
968
|
}
|
|
968
969
|
return "";
|
|
969
970
|
}
|
|
970
|
-
var
|
|
971
|
-
function
|
|
971
|
+
var ae = Object.prototype.hasOwnProperty, We = {}, He = P.ReactDebugCurrentFrame;
|
|
972
|
+
function Ce(e) {
|
|
972
973
|
if (e) {
|
|
973
|
-
var
|
|
974
|
-
|
|
974
|
+
var a = e._owner, c = we(e.type, e._source, a ? a.type : null);
|
|
975
|
+
He.setExtraStackFrame(c);
|
|
975
976
|
} else
|
|
976
|
-
|
|
977
|
+
He.setExtraStackFrame(null);
|
|
977
978
|
}
|
|
978
|
-
function
|
|
979
|
+
function Cr(e, a, c, p, m) {
|
|
979
980
|
{
|
|
980
|
-
var y = Function.call.bind(
|
|
981
|
-
for (var
|
|
982
|
-
if (y(e,
|
|
983
|
-
var
|
|
981
|
+
var y = Function.call.bind(ae);
|
|
982
|
+
for (var h in e)
|
|
983
|
+
if (y(e, h)) {
|
|
984
|
+
var b = void 0;
|
|
984
985
|
try {
|
|
985
|
-
if (typeof e[
|
|
986
|
-
var
|
|
987
|
-
throw
|
|
986
|
+
if (typeof e[h] != "function") {
|
|
987
|
+
var S = Error((p || "React class") + ": " + c + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
988
|
+
throw S.name = "Invariant Violation", S;
|
|
988
989
|
}
|
|
989
|
-
|
|
990
|
+
b = e[h](a, h, p, c, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
990
991
|
} catch (C) {
|
|
991
|
-
|
|
992
|
+
b = C;
|
|
992
993
|
}
|
|
993
|
-
|
|
994
|
+
b && !(b instanceof Error) && (Ce(m), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", p || "React class", c, h, typeof b), Ce(null)), b instanceof Error && !(b.message in We) && (We[b.message] = !0, Ce(m), _("Failed %s type: %s", c, b.message), Ce(null));
|
|
994
995
|
}
|
|
995
996
|
}
|
|
996
997
|
}
|
|
997
|
-
var
|
|
998
|
-
function
|
|
999
|
-
return
|
|
998
|
+
var jr = Array.isArray;
|
|
999
|
+
function _e(e) {
|
|
1000
|
+
return jr(e);
|
|
1000
1001
|
}
|
|
1001
|
-
function
|
|
1002
|
+
function kr(e) {
|
|
1002
1003
|
{
|
|
1003
|
-
var
|
|
1004
|
-
return
|
|
1004
|
+
var a = typeof Symbol == "function" && Symbol.toStringTag, c = a && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
1005
|
+
return c;
|
|
1005
1006
|
}
|
|
1006
1007
|
}
|
|
1007
|
-
function
|
|
1008
|
+
function Rr(e) {
|
|
1008
1009
|
try {
|
|
1009
|
-
return
|
|
1010
|
+
return De(e), !1;
|
|
1010
1011
|
} catch {
|
|
1011
1012
|
return !0;
|
|
1012
1013
|
}
|
|
1013
1014
|
}
|
|
1014
|
-
function
|
|
1015
|
+
function De(e) {
|
|
1015
1016
|
return "" + e;
|
|
1016
1017
|
}
|
|
1017
|
-
function
|
|
1018
|
-
if (
|
|
1019
|
-
return
|
|
1018
|
+
function Fe(e) {
|
|
1019
|
+
if (Rr(e))
|
|
1020
|
+
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", kr(e)), De(e);
|
|
1020
1021
|
}
|
|
1021
|
-
var Ge =
|
|
1022
|
+
var Ge = P.ReactCurrentOwner, _r = {
|
|
1022
1023
|
key: !0,
|
|
1023
1024
|
ref: !0,
|
|
1024
1025
|
__self: !0,
|
|
1025
1026
|
__source: !0
|
|
1026
|
-
},
|
|
1027
|
-
function
|
|
1028
|
-
if (
|
|
1029
|
-
var
|
|
1030
|
-
if (
|
|
1027
|
+
}, $e, Ue;
|
|
1028
|
+
function Er(e) {
|
|
1029
|
+
if (ae.call(e, "ref")) {
|
|
1030
|
+
var a = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
1031
|
+
if (a && a.isReactWarning)
|
|
1031
1032
|
return !1;
|
|
1032
1033
|
}
|
|
1033
1034
|
return e.ref !== void 0;
|
|
1034
1035
|
}
|
|
1035
|
-
function
|
|
1036
|
-
if (
|
|
1037
|
-
var
|
|
1038
|
-
if (
|
|
1036
|
+
function Sr(e) {
|
|
1037
|
+
if (ae.call(e, "key")) {
|
|
1038
|
+
var a = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
1039
|
+
if (a && a.isReactWarning)
|
|
1039
1040
|
return !1;
|
|
1040
1041
|
}
|
|
1041
1042
|
return e.key !== void 0;
|
|
1042
1043
|
}
|
|
1043
|
-
function
|
|
1044
|
+
function Tr(e, a) {
|
|
1044
1045
|
typeof e.ref == "string" && Ge.current;
|
|
1045
1046
|
}
|
|
1046
|
-
function
|
|
1047
|
+
function Mr(e, a) {
|
|
1047
1048
|
{
|
|
1048
|
-
var
|
|
1049
|
-
|
|
1049
|
+
var c = function() {
|
|
1050
|
+
$e || ($e = !0, _("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", a));
|
|
1050
1051
|
};
|
|
1051
|
-
|
|
1052
|
-
get:
|
|
1052
|
+
c.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
1053
|
+
get: c,
|
|
1053
1054
|
configurable: !0
|
|
1054
1055
|
});
|
|
1055
1056
|
}
|
|
1056
1057
|
}
|
|
1057
|
-
function
|
|
1058
|
+
function Pr(e, a) {
|
|
1058
1059
|
{
|
|
1059
|
-
var
|
|
1060
|
-
|
|
1060
|
+
var c = function() {
|
|
1061
|
+
Ue || (Ue = !0, _("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", a));
|
|
1061
1062
|
};
|
|
1062
|
-
|
|
1063
|
-
get:
|
|
1063
|
+
c.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
1064
|
+
get: c,
|
|
1064
1065
|
configurable: !0
|
|
1065
1066
|
});
|
|
1066
1067
|
}
|
|
1067
1068
|
}
|
|
1068
|
-
var
|
|
1069
|
-
var
|
|
1069
|
+
var Ar = function(e, a, c, p, m, y, h) {
|
|
1070
|
+
var b = {
|
|
1070
1071
|
// This tag allows us to uniquely identify this as a React Element
|
|
1071
1072
|
$$typeof: t,
|
|
1072
1073
|
// Built-in properties that belong on the element
|
|
1073
1074
|
type: e,
|
|
1074
|
-
key:
|
|
1075
|
-
ref:
|
|
1076
|
-
props:
|
|
1075
|
+
key: a,
|
|
1076
|
+
ref: c,
|
|
1077
|
+
props: h,
|
|
1077
1078
|
// Record the component responsible for creating this element.
|
|
1078
1079
|
_owner: y
|
|
1079
1080
|
};
|
|
1080
|
-
return
|
|
1081
|
+
return b._store = {}, Object.defineProperty(b._store, "validated", {
|
|
1081
1082
|
configurable: !1,
|
|
1082
1083
|
enumerable: !1,
|
|
1083
1084
|
writable: !0,
|
|
1084
1085
|
value: !1
|
|
1085
|
-
}), Object.defineProperty(
|
|
1086
|
+
}), Object.defineProperty(b, "_self", {
|
|
1086
1087
|
configurable: !1,
|
|
1087
1088
|
enumerable: !1,
|
|
1088
1089
|
writable: !1,
|
|
1089
|
-
value:
|
|
1090
|
-
}), Object.defineProperty(
|
|
1090
|
+
value: p
|
|
1091
|
+
}), Object.defineProperty(b, "_source", {
|
|
1091
1092
|
configurable: !1,
|
|
1092
1093
|
enumerable: !1,
|
|
1093
1094
|
writable: !1,
|
|
1094
|
-
value:
|
|
1095
|
-
}), Object.freeze && (Object.freeze(
|
|
1095
|
+
value: m
|
|
1096
|
+
}), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
|
|
1096
1097
|
};
|
|
1097
|
-
function
|
|
1098
|
+
function Ir(e, a, c, p, m) {
|
|
1098
1099
|
{
|
|
1099
|
-
var y,
|
|
1100
|
-
|
|
1101
|
-
for (y in
|
|
1102
|
-
|
|
1100
|
+
var y, h = {}, b = null, S = null;
|
|
1101
|
+
c !== void 0 && (Fe(c), b = "" + c), Sr(a) && (Fe(a.key), b = "" + a.key), Er(a) && (S = a.ref, Tr(a, m));
|
|
1102
|
+
for (y in a)
|
|
1103
|
+
ae.call(a, y) && !_r.hasOwnProperty(y) && (h[y] = a[y]);
|
|
1103
1104
|
if (e && e.defaultProps) {
|
|
1104
1105
|
var C = e.defaultProps;
|
|
1105
1106
|
for (y in C)
|
|
1106
|
-
|
|
1107
|
+
h[y] === void 0 && (h[y] = C[y]);
|
|
1107
1108
|
}
|
|
1108
|
-
if (
|
|
1109
|
+
if (b || S) {
|
|
1109
1110
|
var k = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1110
|
-
|
|
1111
|
+
b && Mr(h, k), S && Pr(h, k);
|
|
1111
1112
|
}
|
|
1112
|
-
return
|
|
1113
|
+
return Ar(e, b, S, m, p, Ge.current, h);
|
|
1113
1114
|
}
|
|
1114
1115
|
}
|
|
1115
|
-
var
|
|
1116
|
-
function
|
|
1116
|
+
var Ee = P.ReactCurrentOwner, Be = P.ReactDebugCurrentFrame;
|
|
1117
|
+
function X(e) {
|
|
1117
1118
|
if (e) {
|
|
1118
|
-
var
|
|
1119
|
-
|
|
1119
|
+
var a = e._owner, c = we(e.type, e._source, a ? a.type : null);
|
|
1120
|
+
Be.setExtraStackFrame(c);
|
|
1120
1121
|
} else
|
|
1121
|
-
|
|
1122
|
+
Be.setExtraStackFrame(null);
|
|
1122
1123
|
}
|
|
1123
|
-
var
|
|
1124
|
-
|
|
1125
|
-
function
|
|
1124
|
+
var Se;
|
|
1125
|
+
Se = !1;
|
|
1126
|
+
function Te(e) {
|
|
1126
1127
|
return typeof e == "object" && e !== null && e.$$typeof === t;
|
|
1127
1128
|
}
|
|
1128
|
-
function
|
|
1129
|
+
function Ye() {
|
|
1129
1130
|
{
|
|
1130
|
-
if (
|
|
1131
|
-
var e = z(
|
|
1131
|
+
if (Ee.current) {
|
|
1132
|
+
var e = z(Ee.current.type);
|
|
1132
1133
|
if (e)
|
|
1133
1134
|
return `
|
|
1134
1135
|
|
|
@@ -1137,257 +1138,257 @@ Check the render method of \`` + e + "`.";
|
|
|
1137
1138
|
return "";
|
|
1138
1139
|
}
|
|
1139
1140
|
}
|
|
1140
|
-
function
|
|
1141
|
+
function Or(e) {
|
|
1141
1142
|
return "";
|
|
1142
1143
|
}
|
|
1143
|
-
var
|
|
1144
|
-
function
|
|
1144
|
+
var Ze = {};
|
|
1145
|
+
function Nr(e) {
|
|
1145
1146
|
{
|
|
1146
|
-
var
|
|
1147
|
-
if (!
|
|
1148
|
-
var
|
|
1149
|
-
|
|
1147
|
+
var a = Ye();
|
|
1148
|
+
if (!a) {
|
|
1149
|
+
var c = typeof e == "string" ? e : e.displayName || e.name;
|
|
1150
|
+
c && (a = `
|
|
1150
1151
|
|
|
1151
|
-
Check the top-level render call using <` +
|
|
1152
|
+
Check the top-level render call using <` + c + ">.");
|
|
1152
1153
|
}
|
|
1153
|
-
return
|
|
1154
|
+
return a;
|
|
1154
1155
|
}
|
|
1155
1156
|
}
|
|
1156
|
-
function
|
|
1157
|
+
function Je(e, a) {
|
|
1157
1158
|
{
|
|
1158
1159
|
if (!e._store || e._store.validated || e.key != null)
|
|
1159
1160
|
return;
|
|
1160
1161
|
e._store.validated = !0;
|
|
1161
|
-
var
|
|
1162
|
-
if (
|
|
1162
|
+
var c = Nr(a);
|
|
1163
|
+
if (Ze[c])
|
|
1163
1164
|
return;
|
|
1164
|
-
|
|
1165
|
-
var
|
|
1166
|
-
e && e._owner && e._owner !==
|
|
1165
|
+
Ze[c] = !0;
|
|
1166
|
+
var p = "";
|
|
1167
|
+
e && e._owner && e._owner !== Ee.current && (p = " It was passed a child from " + z(e._owner.type) + "."), X(e), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', c, p), X(null);
|
|
1167
1168
|
}
|
|
1168
1169
|
}
|
|
1169
|
-
function
|
|
1170
|
+
function Ke(e, a) {
|
|
1170
1171
|
{
|
|
1171
1172
|
if (typeof e != "object")
|
|
1172
1173
|
return;
|
|
1173
|
-
if (
|
|
1174
|
-
for (var
|
|
1175
|
-
var
|
|
1176
|
-
|
|
1174
|
+
if (_e(e))
|
|
1175
|
+
for (var c = 0; c < e.length; c++) {
|
|
1176
|
+
var p = e[c];
|
|
1177
|
+
Te(p) && Je(p, a);
|
|
1177
1178
|
}
|
|
1178
|
-
else if (
|
|
1179
|
+
else if (Te(e))
|
|
1179
1180
|
e._store && (e._store.validated = !0);
|
|
1180
1181
|
else if (e) {
|
|
1181
|
-
var
|
|
1182
|
-
if (typeof
|
|
1183
|
-
for (var y =
|
|
1184
|
-
|
|
1182
|
+
var m = W(e);
|
|
1183
|
+
if (typeof m == "function" && m !== e.entries)
|
|
1184
|
+
for (var y = m.call(e), h; !(h = y.next()).done; )
|
|
1185
|
+
Te(h.value) && Je(h.value, a);
|
|
1185
1186
|
}
|
|
1186
1187
|
}
|
|
1187
1188
|
}
|
|
1188
|
-
function
|
|
1189
|
+
function zr(e) {
|
|
1189
1190
|
{
|
|
1190
|
-
var
|
|
1191
|
-
if (
|
|
1191
|
+
var a = e.type;
|
|
1192
|
+
if (a == null || typeof a == "string")
|
|
1192
1193
|
return;
|
|
1193
|
-
var
|
|
1194
|
-
if (typeof
|
|
1195
|
-
|
|
1196
|
-
else if (typeof
|
|
1194
|
+
var c;
|
|
1195
|
+
if (typeof a == "function")
|
|
1196
|
+
c = a.propTypes;
|
|
1197
|
+
else if (typeof a == "object" && (a.$$typeof === f || // Note: Memo only checks outer props here.
|
|
1197
1198
|
// Inner props are checked in the reconciler.
|
|
1198
|
-
|
|
1199
|
-
|
|
1199
|
+
a.$$typeof === x))
|
|
1200
|
+
c = a.propTypes;
|
|
1200
1201
|
else
|
|
1201
1202
|
return;
|
|
1202
|
-
if (
|
|
1203
|
-
var
|
|
1204
|
-
|
|
1205
|
-
} else if (
|
|
1206
|
-
|
|
1207
|
-
var
|
|
1208
|
-
|
|
1203
|
+
if (c) {
|
|
1204
|
+
var p = z(a);
|
|
1205
|
+
Cr(c, e.props, "prop", p, e);
|
|
1206
|
+
} else if (a.PropTypes !== void 0 && !Se) {
|
|
1207
|
+
Se = !0;
|
|
1208
|
+
var m = z(a);
|
|
1209
|
+
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", m || "Unknown");
|
|
1209
1210
|
}
|
|
1210
|
-
typeof
|
|
1211
|
+
typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1211
1212
|
}
|
|
1212
1213
|
}
|
|
1213
|
-
function
|
|
1214
|
+
function Lr(e) {
|
|
1214
1215
|
{
|
|
1215
|
-
for (var
|
|
1216
|
-
var
|
|
1217
|
-
if (
|
|
1218
|
-
|
|
1216
|
+
for (var a = Object.keys(e.props), c = 0; c < a.length; c++) {
|
|
1217
|
+
var p = a[c];
|
|
1218
|
+
if (p !== "children" && p !== "key") {
|
|
1219
|
+
X(e), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), X(null);
|
|
1219
1220
|
break;
|
|
1220
1221
|
}
|
|
1221
1222
|
}
|
|
1222
|
-
e.ref !== null && (
|
|
1223
|
+
e.ref !== null && (X(e), _("Invalid attribute `ref` supplied to `React.Fragment`."), X(null));
|
|
1223
1224
|
}
|
|
1224
1225
|
}
|
|
1225
|
-
var
|
|
1226
|
-
function
|
|
1226
|
+
var qe = {};
|
|
1227
|
+
function Xe(e, a, c, p, m, y) {
|
|
1227
1228
|
{
|
|
1228
|
-
var
|
|
1229
|
-
if (!
|
|
1230
|
-
var
|
|
1231
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
1232
|
-
var
|
|
1233
|
-
|
|
1229
|
+
var h = he(e);
|
|
1230
|
+
if (!h) {
|
|
1231
|
+
var b = "";
|
|
1232
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (b += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1233
|
+
var S = Or();
|
|
1234
|
+
S ? b += S : b += Ye();
|
|
1234
1235
|
var C;
|
|
1235
|
-
e === null ? C = "null" :
|
|
1236
|
+
e === null ? C = "null" : _e(e) ? C = "array" : e !== void 0 && e.$$typeof === t ? (C = "<" + (z(e.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : C = typeof e, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", C, b);
|
|
1236
1237
|
}
|
|
1237
|
-
var k =
|
|
1238
|
+
var k = Ir(e, a, c, m, y);
|
|
1238
1239
|
if (k == null)
|
|
1239
1240
|
return k;
|
|
1240
|
-
if (
|
|
1241
|
-
var
|
|
1242
|
-
if (
|
|
1243
|
-
if (
|
|
1244
|
-
if (
|
|
1245
|
-
for (var
|
|
1246
|
-
|
|
1247
|
-
Object.freeze && Object.freeze(
|
|
1241
|
+
if (h) {
|
|
1242
|
+
var N = a.children;
|
|
1243
|
+
if (N !== void 0)
|
|
1244
|
+
if (p)
|
|
1245
|
+
if (_e(N)) {
|
|
1246
|
+
for (var Q = 0; Q < N.length; Q++)
|
|
1247
|
+
Ke(N[Q], e);
|
|
1248
|
+
Object.freeze && Object.freeze(N);
|
|
1248
1249
|
} else
|
|
1249
|
-
|
|
1250
|
+
_("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1250
1251
|
else
|
|
1251
|
-
|
|
1252
|
+
Ke(N, e);
|
|
1252
1253
|
}
|
|
1253
|
-
if (
|
|
1254
|
-
var
|
|
1255
|
-
return
|
|
1256
|
-
}),
|
|
1257
|
-
if (!
|
|
1258
|
-
var
|
|
1259
|
-
|
|
1254
|
+
if (ae.call(a, "key")) {
|
|
1255
|
+
var Y = z(e), A = Object.keys(a).filter(function(Gr) {
|
|
1256
|
+
return Gr !== "key";
|
|
1257
|
+
}), Me = A.length > 0 ? "{key: someKey, " + A.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1258
|
+
if (!qe[Y + Me]) {
|
|
1259
|
+
var Fr = A.length > 0 ? "{" + A.join(": ..., ") + ": ...}" : "{}";
|
|
1260
|
+
_(`A props object containing a "key" prop is being spread into JSX:
|
|
1260
1261
|
let props = %s;
|
|
1261
1262
|
<%s {...props} />
|
|
1262
1263
|
React keys must be passed directly to JSX without using spread:
|
|
1263
1264
|
let props = %s;
|
|
1264
|
-
<%s key={someKey} {...props} />`,
|
|
1265
|
+
<%s key={someKey} {...props} />`, Me, Y, Fr, Y), qe[Y + Me] = !0;
|
|
1265
1266
|
}
|
|
1266
1267
|
}
|
|
1267
|
-
return e === o ?
|
|
1268
|
+
return e === o ? Lr(k) : zr(k), k;
|
|
1268
1269
|
}
|
|
1269
1270
|
}
|
|
1270
|
-
function
|
|
1271
|
-
return
|
|
1271
|
+
function Vr(e, a, c) {
|
|
1272
|
+
return Xe(e, a, c, !0);
|
|
1272
1273
|
}
|
|
1273
|
-
function
|
|
1274
|
-
return
|
|
1274
|
+
function Wr(e, a, c) {
|
|
1275
|
+
return Xe(e, a, c, !1);
|
|
1275
1276
|
}
|
|
1276
|
-
var
|
|
1277
|
-
|
|
1278
|
-
}()),
|
|
1277
|
+
var Hr = Wr, Dr = Vr;
|
|
1278
|
+
se.Fragment = o, se.jsx = Hr, se.jsxs = Dr;
|
|
1279
|
+
}()), se;
|
|
1279
1280
|
}
|
|
1280
|
-
process.env.NODE_ENV === "production" ?
|
|
1281
|
-
var
|
|
1282
|
-
const
|
|
1283
|
-
function
|
|
1284
|
-
for (var r = 0, t,
|
|
1285
|
-
(t = arguments[r++]) && (
|
|
1281
|
+
process.env.NODE_ENV === "production" ? Ie.exports = Zr() : Ie.exports = Jr();
|
|
1282
|
+
var s = Ie.exports;
|
|
1283
|
+
const Zt = () => /* @__PURE__ */ s.jsx("div", { className: "bg-red-800 text-white p-2", children: "Hello world" });
|
|
1284
|
+
function Kr() {
|
|
1285
|
+
for (var r = 0, t, n, o = ""; r < arguments.length; )
|
|
1286
|
+
(t = arguments[r++]) && (n = ir(t)) && (o && (o += " "), o += n);
|
|
1286
1287
|
return o;
|
|
1287
1288
|
}
|
|
1288
|
-
function
|
|
1289
|
+
function ir(r) {
|
|
1289
1290
|
if (typeof r == "string")
|
|
1290
1291
|
return r;
|
|
1291
|
-
for (var t,
|
|
1292
|
-
r[o] && (t =
|
|
1293
|
-
return
|
|
1292
|
+
for (var t, n = "", o = 0; o < r.length; o++)
|
|
1293
|
+
r[o] && (t = ir(r[o])) && (n && (n += " "), n += t);
|
|
1294
|
+
return n;
|
|
1294
1295
|
}
|
|
1295
|
-
var
|
|
1296
|
-
function
|
|
1297
|
-
var t =
|
|
1298
|
-
function
|
|
1299
|
-
var
|
|
1300
|
-
return
|
|
1296
|
+
var Ne = "-";
|
|
1297
|
+
function qr(r) {
|
|
1298
|
+
var t = Qr(r);
|
|
1299
|
+
function n(i) {
|
|
1300
|
+
var l = i.split(Ne);
|
|
1301
|
+
return l[0] === "" && l.length !== 1 && l.shift(), sr(l, t) || Xr(i);
|
|
1301
1302
|
}
|
|
1302
|
-
function o(
|
|
1303
|
-
return r.conflictingClassGroups[
|
|
1303
|
+
function o(i) {
|
|
1304
|
+
return r.conflictingClassGroups[i] || [];
|
|
1304
1305
|
}
|
|
1305
1306
|
return {
|
|
1306
|
-
getClassGroupId:
|
|
1307
|
+
getClassGroupId: n,
|
|
1307
1308
|
getConflictingClassGroupIds: o
|
|
1308
1309
|
};
|
|
1309
1310
|
}
|
|
1310
|
-
function
|
|
1311
|
-
var
|
|
1311
|
+
function sr(r, t) {
|
|
1312
|
+
var u;
|
|
1312
1313
|
if (r.length === 0)
|
|
1313
1314
|
return t.classGroupId;
|
|
1314
|
-
var
|
|
1315
|
-
if (
|
|
1316
|
-
return
|
|
1315
|
+
var n = r[0], o = t.nextPart.get(n), i = o ? sr(r.slice(1), o) : void 0;
|
|
1316
|
+
if (i)
|
|
1317
|
+
return i;
|
|
1317
1318
|
if (t.validators.length !== 0) {
|
|
1318
|
-
var
|
|
1319
|
-
return (
|
|
1320
|
-
var f =
|
|
1321
|
-
return f(
|
|
1322
|
-
})) == null ? void 0 :
|
|
1319
|
+
var l = r.join(Ne);
|
|
1320
|
+
return (u = t.validators.find(function(d) {
|
|
1321
|
+
var f = d.validator;
|
|
1322
|
+
return f(l);
|
|
1323
|
+
})) == null ? void 0 : u.classGroupId;
|
|
1323
1324
|
}
|
|
1324
1325
|
}
|
|
1325
|
-
var
|
|
1326
|
-
function
|
|
1327
|
-
if (
|
|
1328
|
-
var t =
|
|
1329
|
-
if (
|
|
1330
|
-
return "arbitrary.." +
|
|
1326
|
+
var rr = /^\[(.+)\]$/;
|
|
1327
|
+
function Xr(r) {
|
|
1328
|
+
if (rr.test(r)) {
|
|
1329
|
+
var t = rr.exec(r)[1], n = t == null ? void 0 : t.substring(0, t.indexOf(":"));
|
|
1330
|
+
if (n)
|
|
1331
|
+
return "arbitrary.." + n;
|
|
1331
1332
|
}
|
|
1332
1333
|
}
|
|
1333
|
-
function
|
|
1334
|
-
var t = r.theme,
|
|
1334
|
+
function Qr(r) {
|
|
1335
|
+
var t = r.theme, n = r.prefix, o = {
|
|
1335
1336
|
nextPart: /* @__PURE__ */ new Map(),
|
|
1336
1337
|
validators: []
|
|
1337
|
-
},
|
|
1338
|
-
return
|
|
1339
|
-
var
|
|
1340
|
-
|
|
1338
|
+
}, i = rt(Object.entries(r.classGroups), n);
|
|
1339
|
+
return i.forEach(function(l) {
|
|
1340
|
+
var u = l[0], d = l[1];
|
|
1341
|
+
Oe(d, o, u, t);
|
|
1341
1342
|
}), o;
|
|
1342
1343
|
}
|
|
1343
|
-
function
|
|
1344
|
-
r.forEach(function(
|
|
1345
|
-
if (typeof
|
|
1346
|
-
var
|
|
1347
|
-
|
|
1344
|
+
function Oe(r, t, n, o) {
|
|
1345
|
+
r.forEach(function(i) {
|
|
1346
|
+
if (typeof i == "string") {
|
|
1347
|
+
var l = i === "" ? t : tr(t, i);
|
|
1348
|
+
l.classGroupId = n;
|
|
1348
1349
|
return;
|
|
1349
1350
|
}
|
|
1350
|
-
if (typeof
|
|
1351
|
-
if (
|
|
1352
|
-
|
|
1351
|
+
if (typeof i == "function") {
|
|
1352
|
+
if (et(i)) {
|
|
1353
|
+
Oe(i(o), t, n, o);
|
|
1353
1354
|
return;
|
|
1354
1355
|
}
|
|
1355
1356
|
t.validators.push({
|
|
1356
|
-
validator:
|
|
1357
|
-
classGroupId:
|
|
1357
|
+
validator: i,
|
|
1358
|
+
classGroupId: n
|
|
1358
1359
|
});
|
|
1359
1360
|
return;
|
|
1360
1361
|
}
|
|
1361
|
-
Object.entries(
|
|
1362
|
-
var
|
|
1363
|
-
|
|
1362
|
+
Object.entries(i).forEach(function(u) {
|
|
1363
|
+
var d = u[0], f = u[1];
|
|
1364
|
+
Oe(f, tr(t, d), n, o);
|
|
1364
1365
|
});
|
|
1365
1366
|
});
|
|
1366
1367
|
}
|
|
1367
|
-
function
|
|
1368
|
-
var
|
|
1369
|
-
return t.split(
|
|
1370
|
-
|
|
1368
|
+
function tr(r, t) {
|
|
1369
|
+
var n = r;
|
|
1370
|
+
return t.split(Ne).forEach(function(o) {
|
|
1371
|
+
n.nextPart.has(o) || n.nextPart.set(o, {
|
|
1371
1372
|
nextPart: /* @__PURE__ */ new Map(),
|
|
1372
1373
|
validators: []
|
|
1373
|
-
}),
|
|
1374
|
-
}),
|
|
1374
|
+
}), n = n.nextPart.get(o);
|
|
1375
|
+
}), n;
|
|
1375
1376
|
}
|
|
1376
|
-
function
|
|
1377
|
+
function et(r) {
|
|
1377
1378
|
return r.isThemeGetter;
|
|
1378
1379
|
}
|
|
1379
|
-
function
|
|
1380
|
-
return t ? r.map(function(
|
|
1381
|
-
var o =
|
|
1382
|
-
return typeof
|
|
1383
|
-
var f =
|
|
1384
|
-
return [t + f,
|
|
1385
|
-
})) :
|
|
1380
|
+
function rt(r, t) {
|
|
1381
|
+
return t ? r.map(function(n) {
|
|
1382
|
+
var o = n[0], i = n[1], l = i.map(function(u) {
|
|
1383
|
+
return typeof u == "string" ? t + u : typeof u == "object" ? Object.fromEntries(Object.entries(u).map(function(d) {
|
|
1384
|
+
var f = d[0], v = d[1];
|
|
1385
|
+
return [t + f, v];
|
|
1386
|
+
})) : u;
|
|
1386
1387
|
});
|
|
1387
|
-
return [o,
|
|
1388
|
+
return [o, l];
|
|
1388
1389
|
}) : r;
|
|
1389
1390
|
}
|
|
1390
|
-
function
|
|
1391
|
+
function tt(r) {
|
|
1391
1392
|
if (r < 1)
|
|
1392
1393
|
return {
|
|
1393
1394
|
get: function() {
|
|
@@ -1395,219 +1396,219 @@ function Kr(r) {
|
|
|
1395
1396
|
set: function() {
|
|
1396
1397
|
}
|
|
1397
1398
|
};
|
|
1398
|
-
var t = 0,
|
|
1399
|
-
function
|
|
1400
|
-
|
|
1399
|
+
var t = 0, n = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
|
|
1400
|
+
function i(l, u) {
|
|
1401
|
+
n.set(l, u), t++, t > r && (t = 0, o = n, n = /* @__PURE__ */ new Map());
|
|
1401
1402
|
}
|
|
1402
1403
|
return {
|
|
1403
|
-
get: function(
|
|
1404
|
-
var
|
|
1405
|
-
if (
|
|
1406
|
-
return
|
|
1407
|
-
if ((
|
|
1408
|
-
return
|
|
1404
|
+
get: function(u) {
|
|
1405
|
+
var d = n.get(u);
|
|
1406
|
+
if (d !== void 0)
|
|
1407
|
+
return d;
|
|
1408
|
+
if ((d = o.get(u)) !== void 0)
|
|
1409
|
+
return i(u, d), d;
|
|
1409
1410
|
},
|
|
1410
|
-
set: function(
|
|
1411
|
-
|
|
1411
|
+
set: function(u, d) {
|
|
1412
|
+
n.has(u) ? n.set(u, d) : i(u, d);
|
|
1412
1413
|
}
|
|
1413
1414
|
};
|
|
1414
1415
|
}
|
|
1415
|
-
var
|
|
1416
|
-
function
|
|
1416
|
+
var lr = "!";
|
|
1417
|
+
function ot(r) {
|
|
1417
1418
|
var t = r.separator || ":";
|
|
1418
1419
|
return function(o) {
|
|
1419
|
-
for (var
|
|
1420
|
-
var f = o[
|
|
1421
|
-
|
|
1420
|
+
for (var i = 0, l = [], u = 0, d = 0; d < o.length; d++) {
|
|
1421
|
+
var f = o[d];
|
|
1422
|
+
i === 0 && f === t[0] && (t.length === 1 || o.slice(d, d + t.length) === t) && (l.push(o.slice(u, d)), u = d + t.length), f === "[" ? i++ : f === "]" && i--;
|
|
1422
1423
|
}
|
|
1423
|
-
var
|
|
1424
|
+
var v = l.length === 0 ? o : o.substring(u), g = v.startsWith(lr), x = g ? v.substring(1) : v;
|
|
1424
1425
|
return {
|
|
1425
|
-
modifiers:
|
|
1426
|
-
hasImportantModifier:
|
|
1427
|
-
baseClassName:
|
|
1426
|
+
modifiers: l,
|
|
1427
|
+
hasImportantModifier: g,
|
|
1428
|
+
baseClassName: x
|
|
1428
1429
|
};
|
|
1429
1430
|
};
|
|
1430
1431
|
}
|
|
1431
|
-
function
|
|
1432
|
+
function nt(r) {
|
|
1432
1433
|
if (r.length <= 1)
|
|
1433
1434
|
return r;
|
|
1434
|
-
var t = [],
|
|
1435
|
+
var t = [], n = [];
|
|
1435
1436
|
return r.forEach(function(o) {
|
|
1436
|
-
var
|
|
1437
|
-
|
|
1438
|
-
}), t.push.apply(t,
|
|
1437
|
+
var i = o[0] === "[";
|
|
1438
|
+
i ? (t.push.apply(t, n.sort().concat([o])), n = []) : n.push(o);
|
|
1439
|
+
}), t.push.apply(t, n.sort()), t;
|
|
1439
1440
|
}
|
|
1440
|
-
function
|
|
1441
|
+
function at(r) {
|
|
1441
1442
|
return {
|
|
1442
|
-
cache:
|
|
1443
|
-
splitModifiers:
|
|
1444
|
-
...
|
|
1443
|
+
cache: tt(r.cacheSize),
|
|
1444
|
+
splitModifiers: ot(r),
|
|
1445
|
+
...qr(r)
|
|
1445
1446
|
};
|
|
1446
1447
|
}
|
|
1447
|
-
var
|
|
1448
|
-
function
|
|
1449
|
-
var
|
|
1450
|
-
return r.trim().split(
|
|
1451
|
-
var
|
|
1452
|
-
if (!
|
|
1448
|
+
var it = /\s+/;
|
|
1449
|
+
function st(r, t) {
|
|
1450
|
+
var n = t.splitModifiers, o = t.getClassGroupId, i = t.getConflictingClassGroupIds, l = /* @__PURE__ */ new Set();
|
|
1451
|
+
return r.trim().split(it).map(function(u) {
|
|
1452
|
+
var d = n(u), f = d.modifiers, v = d.hasImportantModifier, g = d.baseClassName, x = o(g);
|
|
1453
|
+
if (!x)
|
|
1453
1454
|
return {
|
|
1454
1455
|
isTailwindClass: !1,
|
|
1455
|
-
originalClassName:
|
|
1456
|
+
originalClassName: u
|
|
1456
1457
|
};
|
|
1457
|
-
var
|
|
1458
|
+
var j = nt(f).join(":"), T = v ? j + lr : j;
|
|
1458
1459
|
return {
|
|
1459
1460
|
isTailwindClass: !0,
|
|
1460
|
-
modifierId:
|
|
1461
|
-
classGroupId:
|
|
1462
|
-
originalClassName:
|
|
1461
|
+
modifierId: T,
|
|
1462
|
+
classGroupId: x,
|
|
1463
|
+
originalClassName: u
|
|
1463
1464
|
};
|
|
1464
|
-
}).reverse().filter(function(
|
|
1465
|
-
if (!
|
|
1465
|
+
}).reverse().filter(function(u) {
|
|
1466
|
+
if (!u.isTailwindClass)
|
|
1466
1467
|
return !0;
|
|
1467
|
-
var
|
|
1468
|
-
return
|
|
1469
|
-
return
|
|
1468
|
+
var d = u.modifierId, f = u.classGroupId, v = d + f;
|
|
1469
|
+
return l.has(v) ? !1 : (l.add(v), i(f).forEach(function(g) {
|
|
1470
|
+
return l.add(d + g);
|
|
1470
1471
|
}), !0);
|
|
1471
|
-
}).reverse().map(function(
|
|
1472
|
-
return
|
|
1472
|
+
}).reverse().map(function(u) {
|
|
1473
|
+
return u.originalClassName;
|
|
1473
1474
|
}).join(" ");
|
|
1474
1475
|
}
|
|
1475
|
-
function
|
|
1476
|
-
for (var r = arguments.length, t = new Array(r),
|
|
1477
|
-
t[
|
|
1478
|
-
var o,
|
|
1479
|
-
function
|
|
1480
|
-
var
|
|
1481
|
-
return
|
|
1482
|
-
},
|
|
1483
|
-
return o =
|
|
1476
|
+
function lt() {
|
|
1477
|
+
for (var r = arguments.length, t = new Array(r), n = 0; n < r; n++)
|
|
1478
|
+
t[n] = arguments[n];
|
|
1479
|
+
var o, i, l, u = d;
|
|
1480
|
+
function d(v) {
|
|
1481
|
+
var g = t[0], x = t.slice(1), j = x.reduce(function(T, M) {
|
|
1482
|
+
return M(T);
|
|
1483
|
+
}, g());
|
|
1484
|
+
return o = at(j), i = o.cache.get, l = o.cache.set, u = f, f(v);
|
|
1484
1485
|
}
|
|
1485
|
-
function f(
|
|
1486
|
-
var
|
|
1487
|
-
if (
|
|
1488
|
-
return
|
|
1489
|
-
var
|
|
1490
|
-
return
|
|
1486
|
+
function f(v) {
|
|
1487
|
+
var g = i(v);
|
|
1488
|
+
if (g)
|
|
1489
|
+
return g;
|
|
1490
|
+
var x = st(v, o);
|
|
1491
|
+
return l(v, x), x;
|
|
1491
1492
|
}
|
|
1492
1493
|
return function() {
|
|
1493
|
-
return
|
|
1494
|
+
return u(Kr.apply(null, arguments));
|
|
1494
1495
|
};
|
|
1495
1496
|
}
|
|
1496
|
-
function
|
|
1497
|
+
function w(r) {
|
|
1497
1498
|
var t = function(o) {
|
|
1498
1499
|
return o[r] || [];
|
|
1499
1500
|
};
|
|
1500
1501
|
return t.isThemeGetter = !0, t;
|
|
1501
1502
|
}
|
|
1502
|
-
var
|
|
1503
|
-
function
|
|
1504
|
-
return
|
|
1503
|
+
var cr = /^\[(?:([a-z-]+):)?(.+)\]$/i, ct = /^\d+\/\d+$/, dt = /* @__PURE__ */ new Set(["px", "full", "screen"]), ut = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ft = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh)/, pt = /^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
|
|
1504
|
+
function L(r) {
|
|
1505
|
+
return de(r) || dt.has(r) || ct.test(r) || Z(r);
|
|
1505
1506
|
}
|
|
1506
|
-
function
|
|
1507
|
-
return
|
|
1507
|
+
function Z(r) {
|
|
1508
|
+
return J(r, "length", mt);
|
|
1508
1509
|
}
|
|
1509
|
-
function
|
|
1510
|
-
return
|
|
1510
|
+
function gt(r) {
|
|
1511
|
+
return J(r, "size", dr);
|
|
1511
1512
|
}
|
|
1512
|
-
function
|
|
1513
|
-
return
|
|
1513
|
+
function bt(r) {
|
|
1514
|
+
return J(r, "position", dr);
|
|
1514
1515
|
}
|
|
1515
|
-
function
|
|
1516
|
-
return
|
|
1516
|
+
function vt(r) {
|
|
1517
|
+
return J(r, "url", xt);
|
|
1517
1518
|
}
|
|
1518
|
-
function
|
|
1519
|
-
return
|
|
1519
|
+
function Ae(r) {
|
|
1520
|
+
return J(r, "number", de);
|
|
1520
1521
|
}
|
|
1521
|
-
function
|
|
1522
|
+
function de(r) {
|
|
1522
1523
|
return !Number.isNaN(Number(r));
|
|
1523
1524
|
}
|
|
1524
|
-
function
|
|
1525
|
-
return
|
|
1525
|
+
function le(r) {
|
|
1526
|
+
return or(r) || J(r, "number", or);
|
|
1526
1527
|
}
|
|
1527
|
-
function
|
|
1528
|
-
return
|
|
1528
|
+
function R(r) {
|
|
1529
|
+
return cr.test(r);
|
|
1529
1530
|
}
|
|
1530
|
-
function
|
|
1531
|
+
function ce() {
|
|
1531
1532
|
return !0;
|
|
1532
1533
|
}
|
|
1533
|
-
function
|
|
1534
|
-
return
|
|
1534
|
+
function $(r) {
|
|
1535
|
+
return ut.test(r);
|
|
1535
1536
|
}
|
|
1536
|
-
function
|
|
1537
|
-
return
|
|
1537
|
+
function ht(r) {
|
|
1538
|
+
return J(r, "", yt);
|
|
1538
1539
|
}
|
|
1539
|
-
function
|
|
1540
|
-
var o =
|
|
1541
|
-
return o ? o[1] ? o[1] === t :
|
|
1540
|
+
function J(r, t, n) {
|
|
1541
|
+
var o = cr.exec(r);
|
|
1542
|
+
return o ? o[1] ? o[1] === t : n(o[2]) : !1;
|
|
1542
1543
|
}
|
|
1543
|
-
function
|
|
1544
|
-
return
|
|
1544
|
+
function mt(r) {
|
|
1545
|
+
return ft.test(r);
|
|
1545
1546
|
}
|
|
1546
|
-
function
|
|
1547
|
+
function dr() {
|
|
1547
1548
|
return !1;
|
|
1548
1549
|
}
|
|
1549
|
-
function
|
|
1550
|
+
function xt(r) {
|
|
1550
1551
|
return r.startsWith("url(");
|
|
1551
1552
|
}
|
|
1552
|
-
function
|
|
1553
|
+
function or(r) {
|
|
1553
1554
|
return Number.isInteger(Number(r));
|
|
1554
1555
|
}
|
|
1555
|
-
function
|
|
1556
|
-
return
|
|
1556
|
+
function yt(r) {
|
|
1557
|
+
return pt.test(r);
|
|
1557
1558
|
}
|
|
1558
|
-
function
|
|
1559
|
-
var r =
|
|
1559
|
+
function wt() {
|
|
1560
|
+
var r = w("colors"), t = w("spacing"), n = w("blur"), o = w("brightness"), i = w("borderColor"), l = w("borderRadius"), u = w("borderSpacing"), d = w("borderWidth"), f = w("contrast"), v = w("grayscale"), g = w("hueRotate"), x = w("invert"), j = w("gap"), T = w("gradientColorStops"), M = w("inset"), I = w("margin"), W = w("opacity"), P = w("padding"), _ = w("saturate"), te = w("scale"), pe = w("sepia"), ge = w("skew"), be = w("space"), ve = w("translate"), oe = function() {
|
|
1560
1561
|
return ["auto", "contain", "none"];
|
|
1561
|
-
},
|
|
1562
|
+
}, K = function() {
|
|
1562
1563
|
return ["auto", "hidden", "clip", "visible", "scroll"];
|
|
1563
|
-
},
|
|
1564
|
+
}, he = function() {
|
|
1564
1565
|
return ["auto", t];
|
|
1565
|
-
},
|
|
1566
|
-
return ["",
|
|
1567
|
-
},
|
|
1568
|
-
return ["auto",
|
|
1566
|
+
}, me = function() {
|
|
1567
|
+
return ["", L];
|
|
1568
|
+
}, U = function() {
|
|
1569
|
+
return ["auto", de, R];
|
|
1569
1570
|
}, z = function() {
|
|
1570
1571
|
return ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"];
|
|
1571
|
-
},
|
|
1572
|
+
}, O = function() {
|
|
1572
1573
|
return ["solid", "dashed", "dotted", "double", "none"];
|
|
1573
|
-
},
|
|
1574
|
+
}, D = function() {
|
|
1574
1575
|
return ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"];
|
|
1575
|
-
},
|
|
1576
|
+
}, q = function() {
|
|
1576
1577
|
return ["start", "end", "center", "between", "around", "evenly"];
|
|
1577
|
-
},
|
|
1578
|
-
return ["", "0",
|
|
1579
|
-
},
|
|
1578
|
+
}, F = function() {
|
|
1579
|
+
return ["", "0", R];
|
|
1580
|
+
}, ne = function() {
|
|
1580
1581
|
return ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"];
|
|
1581
|
-
},
|
|
1582
|
-
return [
|
|
1583
|
-
},
|
|
1584
|
-
return [
|
|
1582
|
+
}, G = function() {
|
|
1583
|
+
return [de, Ae];
|
|
1584
|
+
}, B = function() {
|
|
1585
|
+
return [de, R];
|
|
1585
1586
|
};
|
|
1586
1587
|
return {
|
|
1587
1588
|
cacheSize: 500,
|
|
1588
1589
|
theme: {
|
|
1589
|
-
colors: [
|
|
1590
|
-
spacing: [
|
|
1591
|
-
blur: ["none", "",
|
|
1592
|
-
brightness:
|
|
1590
|
+
colors: [ce],
|
|
1591
|
+
spacing: [L],
|
|
1592
|
+
blur: ["none", "", $, Z],
|
|
1593
|
+
brightness: G(),
|
|
1593
1594
|
borderColor: [r],
|
|
1594
|
-
borderRadius: ["none", "", "full",
|
|
1595
|
+
borderRadius: ["none", "", "full", $, Z],
|
|
1595
1596
|
borderSpacing: [t],
|
|
1596
|
-
borderWidth:
|
|
1597
|
-
contrast:
|
|
1598
|
-
grayscale:
|
|
1599
|
-
hueRotate:
|
|
1600
|
-
invert:
|
|
1597
|
+
borderWidth: me(),
|
|
1598
|
+
contrast: G(),
|
|
1599
|
+
grayscale: F(),
|
|
1600
|
+
hueRotate: B(),
|
|
1601
|
+
invert: F(),
|
|
1601
1602
|
gap: [t],
|
|
1602
1603
|
gradientColorStops: [r],
|
|
1603
|
-
inset:
|
|
1604
|
-
margin:
|
|
1605
|
-
opacity:
|
|
1604
|
+
inset: he(),
|
|
1605
|
+
margin: he(),
|
|
1606
|
+
opacity: G(),
|
|
1606
1607
|
padding: [t],
|
|
1607
|
-
saturate:
|
|
1608
|
-
scale:
|
|
1609
|
-
sepia:
|
|
1610
|
-
skew:
|
|
1608
|
+
saturate: G(),
|
|
1609
|
+
scale: G(),
|
|
1610
|
+
sepia: F(),
|
|
1611
|
+
skew: B(),
|
|
1611
1612
|
space: [t],
|
|
1612
1613
|
translate: [t]
|
|
1613
1614
|
},
|
|
@@ -1618,7 +1619,7 @@ function bt() {
|
|
|
1618
1619
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
1619
1620
|
*/
|
|
1620
1621
|
aspect: [{
|
|
1621
|
-
aspect: ["auto", "square", "video",
|
|
1622
|
+
aspect: ["auto", "square", "video", R]
|
|
1622
1623
|
}],
|
|
1623
1624
|
/**
|
|
1624
1625
|
* Container
|
|
@@ -1630,21 +1631,21 @@ function bt() {
|
|
|
1630
1631
|
* @see https://tailwindcss.com/docs/columns
|
|
1631
1632
|
*/
|
|
1632
1633
|
columns: [{
|
|
1633
|
-
columns: [
|
|
1634
|
+
columns: [$]
|
|
1634
1635
|
}],
|
|
1635
1636
|
/**
|
|
1636
1637
|
* Break After
|
|
1637
1638
|
* @see https://tailwindcss.com/docs/break-after
|
|
1638
1639
|
*/
|
|
1639
1640
|
"break-after": [{
|
|
1640
|
-
"break-after":
|
|
1641
|
+
"break-after": ne()
|
|
1641
1642
|
}],
|
|
1642
1643
|
/**
|
|
1643
1644
|
* Break Before
|
|
1644
1645
|
* @see https://tailwindcss.com/docs/break-before
|
|
1645
1646
|
*/
|
|
1646
1647
|
"break-before": [{
|
|
1647
|
-
"break-before":
|
|
1648
|
+
"break-before": ne()
|
|
1648
1649
|
}],
|
|
1649
1650
|
/**
|
|
1650
1651
|
* Break Inside
|
|
@@ -1703,49 +1704,49 @@ function bt() {
|
|
|
1703
1704
|
* @see https://tailwindcss.com/docs/object-position
|
|
1704
1705
|
*/
|
|
1705
1706
|
"object-position": [{
|
|
1706
|
-
object: [].concat(z(), [
|
|
1707
|
+
object: [].concat(z(), [R])
|
|
1707
1708
|
}],
|
|
1708
1709
|
/**
|
|
1709
1710
|
* Overflow
|
|
1710
1711
|
* @see https://tailwindcss.com/docs/overflow
|
|
1711
1712
|
*/
|
|
1712
1713
|
overflow: [{
|
|
1713
|
-
overflow:
|
|
1714
|
+
overflow: K()
|
|
1714
1715
|
}],
|
|
1715
1716
|
/**
|
|
1716
1717
|
* Overflow X
|
|
1717
1718
|
* @see https://tailwindcss.com/docs/overflow
|
|
1718
1719
|
*/
|
|
1719
1720
|
"overflow-x": [{
|
|
1720
|
-
"overflow-x":
|
|
1721
|
+
"overflow-x": K()
|
|
1721
1722
|
}],
|
|
1722
1723
|
/**
|
|
1723
1724
|
* Overflow Y
|
|
1724
1725
|
* @see https://tailwindcss.com/docs/overflow
|
|
1725
1726
|
*/
|
|
1726
1727
|
"overflow-y": [{
|
|
1727
|
-
"overflow-y":
|
|
1728
|
+
"overflow-y": K()
|
|
1728
1729
|
}],
|
|
1729
1730
|
/**
|
|
1730
1731
|
* Overscroll Behavior
|
|
1731
1732
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1732
1733
|
*/
|
|
1733
1734
|
overscroll: [{
|
|
1734
|
-
overscroll:
|
|
1735
|
+
overscroll: oe()
|
|
1735
1736
|
}],
|
|
1736
1737
|
/**
|
|
1737
1738
|
* Overscroll Behavior X
|
|
1738
1739
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1739
1740
|
*/
|
|
1740
1741
|
"overscroll-x": [{
|
|
1741
|
-
"overscroll-x":
|
|
1742
|
+
"overscroll-x": oe()
|
|
1742
1743
|
}],
|
|
1743
1744
|
/**
|
|
1744
1745
|
* Overscroll Behavior Y
|
|
1745
1746
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1746
1747
|
*/
|
|
1747
1748
|
"overscroll-y": [{
|
|
1748
|
-
"overscroll-y":
|
|
1749
|
+
"overscroll-y": oe()
|
|
1749
1750
|
}],
|
|
1750
1751
|
/**
|
|
1751
1752
|
* Position
|
|
@@ -1757,49 +1758,49 @@ function bt() {
|
|
|
1757
1758
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1758
1759
|
*/
|
|
1759
1760
|
inset: [{
|
|
1760
|
-
inset: [
|
|
1761
|
+
inset: [M]
|
|
1761
1762
|
}],
|
|
1762
1763
|
/**
|
|
1763
1764
|
* Right / Left
|
|
1764
1765
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1765
1766
|
*/
|
|
1766
1767
|
"inset-x": [{
|
|
1767
|
-
"inset-x": [
|
|
1768
|
+
"inset-x": [M]
|
|
1768
1769
|
}],
|
|
1769
1770
|
/**
|
|
1770
1771
|
* Top / Bottom
|
|
1771
1772
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1772
1773
|
*/
|
|
1773
1774
|
"inset-y": [{
|
|
1774
|
-
"inset-y": [
|
|
1775
|
+
"inset-y": [M]
|
|
1775
1776
|
}],
|
|
1776
1777
|
/**
|
|
1777
1778
|
* Top
|
|
1778
1779
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1779
1780
|
*/
|
|
1780
1781
|
top: [{
|
|
1781
|
-
top: [
|
|
1782
|
+
top: [M]
|
|
1782
1783
|
}],
|
|
1783
1784
|
/**
|
|
1784
1785
|
* Right
|
|
1785
1786
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1786
1787
|
*/
|
|
1787
1788
|
right: [{
|
|
1788
|
-
right: [
|
|
1789
|
+
right: [M]
|
|
1789
1790
|
}],
|
|
1790
1791
|
/**
|
|
1791
1792
|
* Bottom
|
|
1792
1793
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1793
1794
|
*/
|
|
1794
1795
|
bottom: [{
|
|
1795
|
-
bottom: [
|
|
1796
|
+
bottom: [M]
|
|
1796
1797
|
}],
|
|
1797
1798
|
/**
|
|
1798
1799
|
* Left
|
|
1799
1800
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1800
1801
|
*/
|
|
1801
1802
|
left: [{
|
|
1802
|
-
left: [
|
|
1803
|
+
left: [M]
|
|
1803
1804
|
}],
|
|
1804
1805
|
/**
|
|
1805
1806
|
* Visibility
|
|
@@ -1811,7 +1812,7 @@ function bt() {
|
|
|
1811
1812
|
* @see https://tailwindcss.com/docs/z-index
|
|
1812
1813
|
*/
|
|
1813
1814
|
z: [{
|
|
1814
|
-
z: ["auto",
|
|
1815
|
+
z: ["auto", le]
|
|
1815
1816
|
}],
|
|
1816
1817
|
// Flexbox and Grid
|
|
1817
1818
|
/**
|
|
@@ -1840,35 +1841,35 @@ function bt() {
|
|
|
1840
1841
|
* @see https://tailwindcss.com/docs/flex
|
|
1841
1842
|
*/
|
|
1842
1843
|
flex: [{
|
|
1843
|
-
flex: ["1", "auto", "initial", "none",
|
|
1844
|
+
flex: ["1", "auto", "initial", "none", R]
|
|
1844
1845
|
}],
|
|
1845
1846
|
/**
|
|
1846
1847
|
* Flex Grow
|
|
1847
1848
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
1848
1849
|
*/
|
|
1849
1850
|
grow: [{
|
|
1850
|
-
grow:
|
|
1851
|
+
grow: F()
|
|
1851
1852
|
}],
|
|
1852
1853
|
/**
|
|
1853
1854
|
* Flex Shrink
|
|
1854
1855
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1855
1856
|
*/
|
|
1856
1857
|
shrink: [{
|
|
1857
|
-
shrink:
|
|
1858
|
+
shrink: F()
|
|
1858
1859
|
}],
|
|
1859
1860
|
/**
|
|
1860
1861
|
* Order
|
|
1861
1862
|
* @see https://tailwindcss.com/docs/order
|
|
1862
1863
|
*/
|
|
1863
1864
|
order: [{
|
|
1864
|
-
order: ["first", "last", "none",
|
|
1865
|
+
order: ["first", "last", "none", le]
|
|
1865
1866
|
}],
|
|
1866
1867
|
/**
|
|
1867
1868
|
* Grid Template Columns
|
|
1868
1869
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1869
1870
|
*/
|
|
1870
1871
|
"grid-cols": [{
|
|
1871
|
-
"grid-cols": [
|
|
1872
|
+
"grid-cols": [ce]
|
|
1872
1873
|
}],
|
|
1873
1874
|
/**
|
|
1874
1875
|
* Grid Column Start / End
|
|
@@ -1876,29 +1877,29 @@ function bt() {
|
|
|
1876
1877
|
*/
|
|
1877
1878
|
"col-start-end": [{
|
|
1878
1879
|
col: ["auto", {
|
|
1879
|
-
span: [
|
|
1880
|
-
},
|
|
1880
|
+
span: [le]
|
|
1881
|
+
}, R]
|
|
1881
1882
|
}],
|
|
1882
1883
|
/**
|
|
1883
1884
|
* Grid Column Start
|
|
1884
1885
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1885
1886
|
*/
|
|
1886
1887
|
"col-start": [{
|
|
1887
|
-
"col-start":
|
|
1888
|
+
"col-start": U()
|
|
1888
1889
|
}],
|
|
1889
1890
|
/**
|
|
1890
1891
|
* Grid Column End
|
|
1891
1892
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1892
1893
|
*/
|
|
1893
1894
|
"col-end": [{
|
|
1894
|
-
"col-end":
|
|
1895
|
+
"col-end": U()
|
|
1895
1896
|
}],
|
|
1896
1897
|
/**
|
|
1897
1898
|
* Grid Template Rows
|
|
1898
1899
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1899
1900
|
*/
|
|
1900
1901
|
"grid-rows": [{
|
|
1901
|
-
"grid-rows": [
|
|
1902
|
+
"grid-rows": [ce]
|
|
1902
1903
|
}],
|
|
1903
1904
|
/**
|
|
1904
1905
|
* Grid Row Start / End
|
|
@@ -1906,22 +1907,22 @@ function bt() {
|
|
|
1906
1907
|
*/
|
|
1907
1908
|
"row-start-end": [{
|
|
1908
1909
|
row: ["auto", {
|
|
1909
|
-
span: [
|
|
1910
|
-
},
|
|
1910
|
+
span: [le]
|
|
1911
|
+
}, R]
|
|
1911
1912
|
}],
|
|
1912
1913
|
/**
|
|
1913
1914
|
* Grid Row Start
|
|
1914
1915
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1915
1916
|
*/
|
|
1916
1917
|
"row-start": [{
|
|
1917
|
-
"row-start":
|
|
1918
|
+
"row-start": U()
|
|
1918
1919
|
}],
|
|
1919
1920
|
/**
|
|
1920
1921
|
* Grid Row End
|
|
1921
1922
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1922
1923
|
*/
|
|
1923
1924
|
"row-end": [{
|
|
1924
|
-
"row-end":
|
|
1925
|
+
"row-end": U()
|
|
1925
1926
|
}],
|
|
1926
1927
|
/**
|
|
1927
1928
|
* Grid Auto Flow
|
|
@@ -1935,42 +1936,42 @@ function bt() {
|
|
|
1935
1936
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1936
1937
|
*/
|
|
1937
1938
|
"auto-cols": [{
|
|
1938
|
-
"auto-cols": ["auto", "min", "max", "fr",
|
|
1939
|
+
"auto-cols": ["auto", "min", "max", "fr", R]
|
|
1939
1940
|
}],
|
|
1940
1941
|
/**
|
|
1941
1942
|
* Grid Auto Rows
|
|
1942
1943
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1943
1944
|
*/
|
|
1944
1945
|
"auto-rows": [{
|
|
1945
|
-
"auto-rows": ["auto", "min", "max", "fr",
|
|
1946
|
+
"auto-rows": ["auto", "min", "max", "fr", R]
|
|
1946
1947
|
}],
|
|
1947
1948
|
/**
|
|
1948
1949
|
* Gap
|
|
1949
1950
|
* @see https://tailwindcss.com/docs/gap
|
|
1950
1951
|
*/
|
|
1951
1952
|
gap: [{
|
|
1952
|
-
gap: [
|
|
1953
|
+
gap: [j]
|
|
1953
1954
|
}],
|
|
1954
1955
|
/**
|
|
1955
1956
|
* Gap X
|
|
1956
1957
|
* @see https://tailwindcss.com/docs/gap
|
|
1957
1958
|
*/
|
|
1958
1959
|
"gap-x": [{
|
|
1959
|
-
"gap-x": [
|
|
1960
|
+
"gap-x": [j]
|
|
1960
1961
|
}],
|
|
1961
1962
|
/**
|
|
1962
1963
|
* Gap Y
|
|
1963
1964
|
* @see https://tailwindcss.com/docs/gap
|
|
1964
1965
|
*/
|
|
1965
1966
|
"gap-y": [{
|
|
1966
|
-
"gap-y": [
|
|
1967
|
+
"gap-y": [j]
|
|
1967
1968
|
}],
|
|
1968
1969
|
/**
|
|
1969
1970
|
* Justify Content
|
|
1970
1971
|
* @see https://tailwindcss.com/docs/justify-content
|
|
1971
1972
|
*/
|
|
1972
1973
|
"justify-content": [{
|
|
1973
|
-
justify:
|
|
1974
|
+
justify: q()
|
|
1974
1975
|
}],
|
|
1975
1976
|
/**
|
|
1976
1977
|
* Justify Items
|
|
@@ -1991,7 +1992,7 @@ function bt() {
|
|
|
1991
1992
|
* @see https://tailwindcss.com/docs/align-content
|
|
1992
1993
|
*/
|
|
1993
1994
|
"align-content": [{
|
|
1994
|
-
content: [].concat(
|
|
1995
|
+
content: [].concat(q(), ["baseline"])
|
|
1995
1996
|
}],
|
|
1996
1997
|
/**
|
|
1997
1998
|
* Align Items
|
|
@@ -2012,7 +2013,7 @@ function bt() {
|
|
|
2012
2013
|
* @see https://tailwindcss.com/docs/place-content
|
|
2013
2014
|
*/
|
|
2014
2015
|
"place-content": [{
|
|
2015
|
-
"place-content": [].concat(
|
|
2016
|
+
"place-content": [].concat(q(), ["baseline", "stretch"])
|
|
2016
2017
|
}],
|
|
2017
2018
|
/**
|
|
2018
2019
|
* Place Items
|
|
@@ -2034,105 +2035,105 @@ function bt() {
|
|
|
2034
2035
|
* @see https://tailwindcss.com/docs/padding
|
|
2035
2036
|
*/
|
|
2036
2037
|
p: [{
|
|
2037
|
-
p: [
|
|
2038
|
+
p: [P]
|
|
2038
2039
|
}],
|
|
2039
2040
|
/**
|
|
2040
2041
|
* Padding X
|
|
2041
2042
|
* @see https://tailwindcss.com/docs/padding
|
|
2042
2043
|
*/
|
|
2043
2044
|
px: [{
|
|
2044
|
-
px: [
|
|
2045
|
+
px: [P]
|
|
2045
2046
|
}],
|
|
2046
2047
|
/**
|
|
2047
2048
|
* Padding Y
|
|
2048
2049
|
* @see https://tailwindcss.com/docs/padding
|
|
2049
2050
|
*/
|
|
2050
2051
|
py: [{
|
|
2051
|
-
py: [
|
|
2052
|
+
py: [P]
|
|
2052
2053
|
}],
|
|
2053
2054
|
/**
|
|
2054
2055
|
* Padding Top
|
|
2055
2056
|
* @see https://tailwindcss.com/docs/padding
|
|
2056
2057
|
*/
|
|
2057
2058
|
pt: [{
|
|
2058
|
-
pt: [
|
|
2059
|
+
pt: [P]
|
|
2059
2060
|
}],
|
|
2060
2061
|
/**
|
|
2061
2062
|
* Padding Right
|
|
2062
2063
|
* @see https://tailwindcss.com/docs/padding
|
|
2063
2064
|
*/
|
|
2064
2065
|
pr: [{
|
|
2065
|
-
pr: [
|
|
2066
|
+
pr: [P]
|
|
2066
2067
|
}],
|
|
2067
2068
|
/**
|
|
2068
2069
|
* Padding Bottom
|
|
2069
2070
|
* @see https://tailwindcss.com/docs/padding
|
|
2070
2071
|
*/
|
|
2071
2072
|
pb: [{
|
|
2072
|
-
pb: [
|
|
2073
|
+
pb: [P]
|
|
2073
2074
|
}],
|
|
2074
2075
|
/**
|
|
2075
2076
|
* Padding Left
|
|
2076
2077
|
* @see https://tailwindcss.com/docs/padding
|
|
2077
2078
|
*/
|
|
2078
2079
|
pl: [{
|
|
2079
|
-
pl: [
|
|
2080
|
+
pl: [P]
|
|
2080
2081
|
}],
|
|
2081
2082
|
/**
|
|
2082
2083
|
* Margin
|
|
2083
2084
|
* @see https://tailwindcss.com/docs/margin
|
|
2084
2085
|
*/
|
|
2085
2086
|
m: [{
|
|
2086
|
-
m: [
|
|
2087
|
+
m: [I]
|
|
2087
2088
|
}],
|
|
2088
2089
|
/**
|
|
2089
2090
|
* Margin X
|
|
2090
2091
|
* @see https://tailwindcss.com/docs/margin
|
|
2091
2092
|
*/
|
|
2092
2093
|
mx: [{
|
|
2093
|
-
mx: [
|
|
2094
|
+
mx: [I]
|
|
2094
2095
|
}],
|
|
2095
2096
|
/**
|
|
2096
2097
|
* Margin Y
|
|
2097
2098
|
* @see https://tailwindcss.com/docs/margin
|
|
2098
2099
|
*/
|
|
2099
2100
|
my: [{
|
|
2100
|
-
my: [
|
|
2101
|
+
my: [I]
|
|
2101
2102
|
}],
|
|
2102
2103
|
/**
|
|
2103
2104
|
* Margin Top
|
|
2104
2105
|
* @see https://tailwindcss.com/docs/margin
|
|
2105
2106
|
*/
|
|
2106
2107
|
mt: [{
|
|
2107
|
-
mt: [
|
|
2108
|
+
mt: [I]
|
|
2108
2109
|
}],
|
|
2109
2110
|
/**
|
|
2110
2111
|
* Margin Right
|
|
2111
2112
|
* @see https://tailwindcss.com/docs/margin
|
|
2112
2113
|
*/
|
|
2113
2114
|
mr: [{
|
|
2114
|
-
mr: [
|
|
2115
|
+
mr: [I]
|
|
2115
2116
|
}],
|
|
2116
2117
|
/**
|
|
2117
2118
|
* Margin Bottom
|
|
2118
2119
|
* @see https://tailwindcss.com/docs/margin
|
|
2119
2120
|
*/
|
|
2120
2121
|
mb: [{
|
|
2121
|
-
mb: [
|
|
2122
|
+
mb: [I]
|
|
2122
2123
|
}],
|
|
2123
2124
|
/**
|
|
2124
2125
|
* Margin Left
|
|
2125
2126
|
* @see https://tailwindcss.com/docs/margin
|
|
2126
2127
|
*/
|
|
2127
2128
|
ml: [{
|
|
2128
|
-
ml: [
|
|
2129
|
+
ml: [I]
|
|
2129
2130
|
}],
|
|
2130
2131
|
/**
|
|
2131
2132
|
* Space Between X
|
|
2132
2133
|
* @see https://tailwindcss.com/docs/space
|
|
2133
2134
|
*/
|
|
2134
2135
|
"space-x": [{
|
|
2135
|
-
"space-x": [
|
|
2136
|
+
"space-x": [be]
|
|
2136
2137
|
}],
|
|
2137
2138
|
/**
|
|
2138
2139
|
* Space Between X Reverse
|
|
@@ -2144,7 +2145,7 @@ function bt() {
|
|
|
2144
2145
|
* @see https://tailwindcss.com/docs/space
|
|
2145
2146
|
*/
|
|
2146
2147
|
"space-y": [{
|
|
2147
|
-
"space-y": [
|
|
2148
|
+
"space-y": [be]
|
|
2148
2149
|
}],
|
|
2149
2150
|
/**
|
|
2150
2151
|
* Space Between Y Reverse
|
|
@@ -2164,7 +2165,7 @@ function bt() {
|
|
|
2164
2165
|
* @see https://tailwindcss.com/docs/min-width
|
|
2165
2166
|
*/
|
|
2166
2167
|
"min-w": [{
|
|
2167
|
-
"min-w": ["min", "max", "fit",
|
|
2168
|
+
"min-w": ["min", "max", "fit", L]
|
|
2168
2169
|
}],
|
|
2169
2170
|
/**
|
|
2170
2171
|
* Max-Width
|
|
@@ -2172,8 +2173,8 @@ function bt() {
|
|
|
2172
2173
|
*/
|
|
2173
2174
|
"max-w": [{
|
|
2174
2175
|
"max-w": ["0", "none", "full", "min", "max", "fit", "prose", {
|
|
2175
|
-
screen: [
|
|
2176
|
-
},
|
|
2176
|
+
screen: [$]
|
|
2177
|
+
}, $, Z]
|
|
2177
2178
|
}],
|
|
2178
2179
|
/**
|
|
2179
2180
|
* Height
|
|
@@ -2187,7 +2188,7 @@ function bt() {
|
|
|
2187
2188
|
* @see https://tailwindcss.com/docs/min-height
|
|
2188
2189
|
*/
|
|
2189
2190
|
"min-h": [{
|
|
2190
|
-
"min-h": ["min", "max", "fit",
|
|
2191
|
+
"min-h": ["min", "max", "fit", L]
|
|
2191
2192
|
}],
|
|
2192
2193
|
/**
|
|
2193
2194
|
* Max-Height
|
|
@@ -2202,7 +2203,7 @@ function bt() {
|
|
|
2202
2203
|
* @see https://tailwindcss.com/docs/font-size
|
|
2203
2204
|
*/
|
|
2204
2205
|
"font-size": [{
|
|
2205
|
-
text: ["base",
|
|
2206
|
+
text: ["base", $, Z]
|
|
2206
2207
|
}],
|
|
2207
2208
|
/**
|
|
2208
2209
|
* Font Smoothing
|
|
@@ -2219,14 +2220,14 @@ function bt() {
|
|
|
2219
2220
|
* @see https://tailwindcss.com/docs/font-weight
|
|
2220
2221
|
*/
|
|
2221
2222
|
"font-weight": [{
|
|
2222
|
-
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black",
|
|
2223
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", Ae]
|
|
2223
2224
|
}],
|
|
2224
2225
|
/**
|
|
2225
2226
|
* Font Family
|
|
2226
2227
|
* @see https://tailwindcss.com/docs/font-family
|
|
2227
2228
|
*/
|
|
2228
2229
|
"font-family": [{
|
|
2229
|
-
font: [
|
|
2230
|
+
font: [ce]
|
|
2230
2231
|
}],
|
|
2231
2232
|
/**
|
|
2232
2233
|
* Font Variant Numeric
|
|
@@ -2263,21 +2264,21 @@ function bt() {
|
|
|
2263
2264
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
2264
2265
|
*/
|
|
2265
2266
|
tracking: [{
|
|
2266
|
-
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest",
|
|
2267
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", Z]
|
|
2267
2268
|
}],
|
|
2268
2269
|
/**
|
|
2269
2270
|
* Line Height
|
|
2270
2271
|
* @see https://tailwindcss.com/docs/line-height
|
|
2271
2272
|
*/
|
|
2272
2273
|
leading: [{
|
|
2273
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose",
|
|
2274
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", L]
|
|
2274
2275
|
}],
|
|
2275
2276
|
/**
|
|
2276
2277
|
* List Style Type
|
|
2277
2278
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
2278
2279
|
*/
|
|
2279
2280
|
"list-style-type": [{
|
|
2280
|
-
list: ["none", "disc", "decimal",
|
|
2281
|
+
list: ["none", "disc", "decimal", R]
|
|
2281
2282
|
}],
|
|
2282
2283
|
/**
|
|
2283
2284
|
* List Style Position
|
|
@@ -2299,7 +2300,7 @@ function bt() {
|
|
|
2299
2300
|
* @see https://tailwindcss.com/docs/placeholder-opacity
|
|
2300
2301
|
*/
|
|
2301
2302
|
"placeholder-opacity": [{
|
|
2302
|
-
"placeholder-opacity": [
|
|
2303
|
+
"placeholder-opacity": [W]
|
|
2303
2304
|
}],
|
|
2304
2305
|
/**
|
|
2305
2306
|
* Text Alignment
|
|
@@ -2320,7 +2321,7 @@ function bt() {
|
|
|
2320
2321
|
* @see https://tailwindcss.com/docs/text-opacity
|
|
2321
2322
|
*/
|
|
2322
2323
|
"text-opacity": [{
|
|
2323
|
-
"text-opacity": [
|
|
2324
|
+
"text-opacity": [W]
|
|
2324
2325
|
}],
|
|
2325
2326
|
/**
|
|
2326
2327
|
* Text Decoration
|
|
@@ -2332,21 +2333,21 @@ function bt() {
|
|
|
2332
2333
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
2333
2334
|
*/
|
|
2334
2335
|
"text-decoration-style": [{
|
|
2335
|
-
decoration: [].concat(
|
|
2336
|
+
decoration: [].concat(O(), ["wavy"])
|
|
2336
2337
|
}],
|
|
2337
2338
|
/**
|
|
2338
2339
|
* Text Decoration Thickness
|
|
2339
2340
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
2340
2341
|
*/
|
|
2341
2342
|
"text-decoration-thickness": [{
|
|
2342
|
-
decoration: ["auto", "from-font",
|
|
2343
|
+
decoration: ["auto", "from-font", L]
|
|
2343
2344
|
}],
|
|
2344
2345
|
/**
|
|
2345
2346
|
* Text Underline Offset
|
|
2346
2347
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
2347
2348
|
*/
|
|
2348
2349
|
"underline-offset": [{
|
|
2349
|
-
"underline-offset": ["auto",
|
|
2350
|
+
"underline-offset": ["auto", L]
|
|
2350
2351
|
}],
|
|
2351
2352
|
/**
|
|
2352
2353
|
* Text Decoration Color
|
|
@@ -2377,7 +2378,7 @@ function bt() {
|
|
|
2377
2378
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
2378
2379
|
*/
|
|
2379
2380
|
"vertical-align": [{
|
|
2380
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
2381
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", Z]
|
|
2381
2382
|
}],
|
|
2382
2383
|
/**
|
|
2383
2384
|
* Whitespace
|
|
@@ -2398,7 +2399,7 @@ function bt() {
|
|
|
2398
2399
|
* @see https://tailwindcss.com/docs/content
|
|
2399
2400
|
*/
|
|
2400
2401
|
content: [{
|
|
2401
|
-
content: ["none",
|
|
2402
|
+
content: ["none", R]
|
|
2402
2403
|
}],
|
|
2403
2404
|
// Backgrounds
|
|
2404
2405
|
/**
|
|
@@ -2421,7 +2422,7 @@ function bt() {
|
|
|
2421
2422
|
* @see https://tailwindcss.com/docs/background-opacity
|
|
2422
2423
|
*/
|
|
2423
2424
|
"bg-opacity": [{
|
|
2424
|
-
"bg-opacity": [
|
|
2425
|
+
"bg-opacity": [W]
|
|
2425
2426
|
}],
|
|
2426
2427
|
/**
|
|
2427
2428
|
* Background Origin
|
|
@@ -2435,7 +2436,7 @@ function bt() {
|
|
|
2435
2436
|
* @see https://tailwindcss.com/docs/background-position
|
|
2436
2437
|
*/
|
|
2437
2438
|
"bg-position": [{
|
|
2438
|
-
bg: [].concat(z(), [
|
|
2439
|
+
bg: [].concat(z(), [bt])
|
|
2439
2440
|
}],
|
|
2440
2441
|
/**
|
|
2441
2442
|
* Background Repeat
|
|
@@ -2451,7 +2452,7 @@ function bt() {
|
|
|
2451
2452
|
* @see https://tailwindcss.com/docs/background-size
|
|
2452
2453
|
*/
|
|
2453
2454
|
"bg-size": [{
|
|
2454
|
-
bg: ["auto", "cover", "contain",
|
|
2455
|
+
bg: ["auto", "cover", "contain", gt]
|
|
2455
2456
|
}],
|
|
2456
2457
|
/**
|
|
2457
2458
|
* Background Image
|
|
@@ -2460,7 +2461,7 @@ function bt() {
|
|
|
2460
2461
|
"bg-image": [{
|
|
2461
2462
|
bg: ["none", {
|
|
2462
2463
|
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
2463
|
-
},
|
|
2464
|
+
}, vt]
|
|
2464
2465
|
}],
|
|
2465
2466
|
/**
|
|
2466
2467
|
* Background Color
|
|
@@ -2474,21 +2475,21 @@ function bt() {
|
|
|
2474
2475
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2475
2476
|
*/
|
|
2476
2477
|
"gradient-from": [{
|
|
2477
|
-
from: [
|
|
2478
|
+
from: [T]
|
|
2478
2479
|
}],
|
|
2479
2480
|
/**
|
|
2480
2481
|
* Gradient Color Stops Via
|
|
2481
2482
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2482
2483
|
*/
|
|
2483
2484
|
"gradient-via": [{
|
|
2484
|
-
via: [
|
|
2485
|
+
via: [T]
|
|
2485
2486
|
}],
|
|
2486
2487
|
/**
|
|
2487
2488
|
* Gradient Color Stops To
|
|
2488
2489
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2489
2490
|
*/
|
|
2490
2491
|
"gradient-to": [{
|
|
2491
|
-
to: [
|
|
2492
|
+
to: [T]
|
|
2492
2493
|
}],
|
|
2493
2494
|
// Borders
|
|
2494
2495
|
/**
|
|
@@ -2496,133 +2497,133 @@ function bt() {
|
|
|
2496
2497
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2497
2498
|
*/
|
|
2498
2499
|
rounded: [{
|
|
2499
|
-
rounded: [
|
|
2500
|
+
rounded: [l]
|
|
2500
2501
|
}],
|
|
2501
2502
|
/**
|
|
2502
2503
|
* Border Radius Top
|
|
2503
2504
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2504
2505
|
*/
|
|
2505
2506
|
"rounded-t": [{
|
|
2506
|
-
"rounded-t": [
|
|
2507
|
+
"rounded-t": [l]
|
|
2507
2508
|
}],
|
|
2508
2509
|
/**
|
|
2509
2510
|
* Border Radius Right
|
|
2510
2511
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2511
2512
|
*/
|
|
2512
2513
|
"rounded-r": [{
|
|
2513
|
-
"rounded-r": [
|
|
2514
|
+
"rounded-r": [l]
|
|
2514
2515
|
}],
|
|
2515
2516
|
/**
|
|
2516
2517
|
* Border Radius Bottom
|
|
2517
2518
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2518
2519
|
*/
|
|
2519
2520
|
"rounded-b": [{
|
|
2520
|
-
"rounded-b": [
|
|
2521
|
+
"rounded-b": [l]
|
|
2521
2522
|
}],
|
|
2522
2523
|
/**
|
|
2523
2524
|
* Border Radius Left
|
|
2524
2525
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2525
2526
|
*/
|
|
2526
2527
|
"rounded-l": [{
|
|
2527
|
-
"rounded-l": [
|
|
2528
|
+
"rounded-l": [l]
|
|
2528
2529
|
}],
|
|
2529
2530
|
/**
|
|
2530
2531
|
* Border Radius Top Left
|
|
2531
2532
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2532
2533
|
*/
|
|
2533
2534
|
"rounded-tl": [{
|
|
2534
|
-
"rounded-tl": [
|
|
2535
|
+
"rounded-tl": [l]
|
|
2535
2536
|
}],
|
|
2536
2537
|
/**
|
|
2537
2538
|
* Border Radius Top Right
|
|
2538
2539
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2539
2540
|
*/
|
|
2540
2541
|
"rounded-tr": [{
|
|
2541
|
-
"rounded-tr": [
|
|
2542
|
+
"rounded-tr": [l]
|
|
2542
2543
|
}],
|
|
2543
2544
|
/**
|
|
2544
2545
|
* Border Radius Bottom Right
|
|
2545
2546
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2546
2547
|
*/
|
|
2547
2548
|
"rounded-br": [{
|
|
2548
|
-
"rounded-br": [
|
|
2549
|
+
"rounded-br": [l]
|
|
2549
2550
|
}],
|
|
2550
2551
|
/**
|
|
2551
2552
|
* Border Radius Bottom Left
|
|
2552
2553
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2553
2554
|
*/
|
|
2554
2555
|
"rounded-bl": [{
|
|
2555
|
-
"rounded-bl": [
|
|
2556
|
+
"rounded-bl": [l]
|
|
2556
2557
|
}],
|
|
2557
2558
|
/**
|
|
2558
2559
|
* Border Width
|
|
2559
2560
|
* @see https://tailwindcss.com/docs/border-width
|
|
2560
2561
|
*/
|
|
2561
2562
|
"border-w": [{
|
|
2562
|
-
border: [
|
|
2563
|
+
border: [d]
|
|
2563
2564
|
}],
|
|
2564
2565
|
/**
|
|
2565
2566
|
* Border Width X
|
|
2566
2567
|
* @see https://tailwindcss.com/docs/border-width
|
|
2567
2568
|
*/
|
|
2568
2569
|
"border-w-x": [{
|
|
2569
|
-
"border-x": [
|
|
2570
|
+
"border-x": [d]
|
|
2570
2571
|
}],
|
|
2571
2572
|
/**
|
|
2572
2573
|
* Border Width Y
|
|
2573
2574
|
* @see https://tailwindcss.com/docs/border-width
|
|
2574
2575
|
*/
|
|
2575
2576
|
"border-w-y": [{
|
|
2576
|
-
"border-y": [
|
|
2577
|
+
"border-y": [d]
|
|
2577
2578
|
}],
|
|
2578
2579
|
/**
|
|
2579
2580
|
* Border Width Top
|
|
2580
2581
|
* @see https://tailwindcss.com/docs/border-width
|
|
2581
2582
|
*/
|
|
2582
2583
|
"border-w-t": [{
|
|
2583
|
-
"border-t": [
|
|
2584
|
+
"border-t": [d]
|
|
2584
2585
|
}],
|
|
2585
2586
|
/**
|
|
2586
2587
|
* Border Width Right
|
|
2587
2588
|
* @see https://tailwindcss.com/docs/border-width
|
|
2588
2589
|
*/
|
|
2589
2590
|
"border-w-r": [{
|
|
2590
|
-
"border-r": [
|
|
2591
|
+
"border-r": [d]
|
|
2591
2592
|
}],
|
|
2592
2593
|
/**
|
|
2593
2594
|
* Border Width Bottom
|
|
2594
2595
|
* @see https://tailwindcss.com/docs/border-width
|
|
2595
2596
|
*/
|
|
2596
2597
|
"border-w-b": [{
|
|
2597
|
-
"border-b": [
|
|
2598
|
+
"border-b": [d]
|
|
2598
2599
|
}],
|
|
2599
2600
|
/**
|
|
2600
2601
|
* Border Width Left
|
|
2601
2602
|
* @see https://tailwindcss.com/docs/border-width
|
|
2602
2603
|
*/
|
|
2603
2604
|
"border-w-l": [{
|
|
2604
|
-
"border-l": [
|
|
2605
|
+
"border-l": [d]
|
|
2605
2606
|
}],
|
|
2606
2607
|
/**
|
|
2607
2608
|
* Border Opacity
|
|
2608
2609
|
* @see https://tailwindcss.com/docs/border-opacity
|
|
2609
2610
|
*/
|
|
2610
2611
|
"border-opacity": [{
|
|
2611
|
-
"border-opacity": [
|
|
2612
|
+
"border-opacity": [W]
|
|
2612
2613
|
}],
|
|
2613
2614
|
/**
|
|
2614
2615
|
* Border Style
|
|
2615
2616
|
* @see https://tailwindcss.com/docs/border-style
|
|
2616
2617
|
*/
|
|
2617
2618
|
"border-style": [{
|
|
2618
|
-
border: [].concat(
|
|
2619
|
+
border: [].concat(O(), ["hidden"])
|
|
2619
2620
|
}],
|
|
2620
2621
|
/**
|
|
2621
2622
|
* Divide Width X
|
|
2622
2623
|
* @see https://tailwindcss.com/docs/divide-width
|
|
2623
2624
|
*/
|
|
2624
2625
|
"divide-x": [{
|
|
2625
|
-
"divide-x": [
|
|
2626
|
+
"divide-x": [d]
|
|
2626
2627
|
}],
|
|
2627
2628
|
/**
|
|
2628
2629
|
* Divide Width X Reverse
|
|
@@ -2634,7 +2635,7 @@ function bt() {
|
|
|
2634
2635
|
* @see https://tailwindcss.com/docs/divide-width
|
|
2635
2636
|
*/
|
|
2636
2637
|
"divide-y": [{
|
|
2637
|
-
"divide-y": [
|
|
2638
|
+
"divide-y": [d]
|
|
2638
2639
|
}],
|
|
2639
2640
|
/**
|
|
2640
2641
|
* Divide Width Y Reverse
|
|
@@ -2646,91 +2647,91 @@ function bt() {
|
|
|
2646
2647
|
* @see https://tailwindcss.com/docs/divide-opacity
|
|
2647
2648
|
*/
|
|
2648
2649
|
"divide-opacity": [{
|
|
2649
|
-
"divide-opacity": [
|
|
2650
|
+
"divide-opacity": [W]
|
|
2650
2651
|
}],
|
|
2651
2652
|
/**
|
|
2652
2653
|
* Divide Style
|
|
2653
2654
|
* @see https://tailwindcss.com/docs/divide-style
|
|
2654
2655
|
*/
|
|
2655
2656
|
"divide-style": [{
|
|
2656
|
-
divide:
|
|
2657
|
+
divide: O()
|
|
2657
2658
|
}],
|
|
2658
2659
|
/**
|
|
2659
2660
|
* Border Color
|
|
2660
2661
|
* @see https://tailwindcss.com/docs/border-color
|
|
2661
2662
|
*/
|
|
2662
2663
|
"border-color": [{
|
|
2663
|
-
border: [
|
|
2664
|
+
border: [i]
|
|
2664
2665
|
}],
|
|
2665
2666
|
/**
|
|
2666
2667
|
* Border Color X
|
|
2667
2668
|
* @see https://tailwindcss.com/docs/border-color
|
|
2668
2669
|
*/
|
|
2669
2670
|
"border-color-x": [{
|
|
2670
|
-
"border-x": [
|
|
2671
|
+
"border-x": [i]
|
|
2671
2672
|
}],
|
|
2672
2673
|
/**
|
|
2673
2674
|
* Border Color Y
|
|
2674
2675
|
* @see https://tailwindcss.com/docs/border-color
|
|
2675
2676
|
*/
|
|
2676
2677
|
"border-color-y": [{
|
|
2677
|
-
"border-y": [
|
|
2678
|
+
"border-y": [i]
|
|
2678
2679
|
}],
|
|
2679
2680
|
/**
|
|
2680
2681
|
* Border Color Top
|
|
2681
2682
|
* @see https://tailwindcss.com/docs/border-color
|
|
2682
2683
|
*/
|
|
2683
2684
|
"border-color-t": [{
|
|
2684
|
-
"border-t": [
|
|
2685
|
+
"border-t": [i]
|
|
2685
2686
|
}],
|
|
2686
2687
|
/**
|
|
2687
2688
|
* Border Color Right
|
|
2688
2689
|
* @see https://tailwindcss.com/docs/border-color
|
|
2689
2690
|
*/
|
|
2690
2691
|
"border-color-r": [{
|
|
2691
|
-
"border-r": [
|
|
2692
|
+
"border-r": [i]
|
|
2692
2693
|
}],
|
|
2693
2694
|
/**
|
|
2694
2695
|
* Border Color Bottom
|
|
2695
2696
|
* @see https://tailwindcss.com/docs/border-color
|
|
2696
2697
|
*/
|
|
2697
2698
|
"border-color-b": [{
|
|
2698
|
-
"border-b": [
|
|
2699
|
+
"border-b": [i]
|
|
2699
2700
|
}],
|
|
2700
2701
|
/**
|
|
2701
2702
|
* Border Color Left
|
|
2702
2703
|
* @see https://tailwindcss.com/docs/border-color
|
|
2703
2704
|
*/
|
|
2704
2705
|
"border-color-l": [{
|
|
2705
|
-
"border-l": [
|
|
2706
|
+
"border-l": [i]
|
|
2706
2707
|
}],
|
|
2707
2708
|
/**
|
|
2708
2709
|
* Divide Color
|
|
2709
2710
|
* @see https://tailwindcss.com/docs/divide-color
|
|
2710
2711
|
*/
|
|
2711
2712
|
"divide-color": [{
|
|
2712
|
-
divide: [
|
|
2713
|
+
divide: [i]
|
|
2713
2714
|
}],
|
|
2714
2715
|
/**
|
|
2715
2716
|
* Outline Style
|
|
2716
2717
|
* @see https://tailwindcss.com/docs/outline-style
|
|
2717
2718
|
*/
|
|
2718
2719
|
"outline-style": [{
|
|
2719
|
-
outline: [""].concat(
|
|
2720
|
+
outline: [""].concat(O())
|
|
2720
2721
|
}],
|
|
2721
2722
|
/**
|
|
2722
2723
|
* Outline Offset
|
|
2723
2724
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2724
2725
|
*/
|
|
2725
2726
|
"outline-offset": [{
|
|
2726
|
-
"outline-offset": [
|
|
2727
|
+
"outline-offset": [L]
|
|
2727
2728
|
}],
|
|
2728
2729
|
/**
|
|
2729
2730
|
* Outline Width
|
|
2730
2731
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2731
2732
|
*/
|
|
2732
2733
|
"outline-w": [{
|
|
2733
|
-
outline: [
|
|
2734
|
+
outline: [L]
|
|
2734
2735
|
}],
|
|
2735
2736
|
/**
|
|
2736
2737
|
* Outline Color
|
|
@@ -2744,7 +2745,7 @@ function bt() {
|
|
|
2744
2745
|
* @see https://tailwindcss.com/docs/ring-width
|
|
2745
2746
|
*/
|
|
2746
2747
|
"ring-w": [{
|
|
2747
|
-
ring:
|
|
2748
|
+
ring: me()
|
|
2748
2749
|
}],
|
|
2749
2750
|
/**
|
|
2750
2751
|
* Ring Width Inset
|
|
@@ -2763,14 +2764,14 @@ function bt() {
|
|
|
2763
2764
|
* @see https://tailwindcss.com/docs/ring-opacity
|
|
2764
2765
|
*/
|
|
2765
2766
|
"ring-opacity": [{
|
|
2766
|
-
"ring-opacity": [
|
|
2767
|
+
"ring-opacity": [W]
|
|
2767
2768
|
}],
|
|
2768
2769
|
/**
|
|
2769
2770
|
* Ring Offset Width
|
|
2770
2771
|
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
2771
2772
|
*/
|
|
2772
2773
|
"ring-offset-w": [{
|
|
2773
|
-
"ring-offset": [
|
|
2774
|
+
"ring-offset": [L]
|
|
2774
2775
|
}],
|
|
2775
2776
|
/**
|
|
2776
2777
|
* Ring Offset Color
|
|
@@ -2785,35 +2786,35 @@ function bt() {
|
|
|
2785
2786
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
2786
2787
|
*/
|
|
2787
2788
|
shadow: [{
|
|
2788
|
-
shadow: ["", "inner", "none",
|
|
2789
|
+
shadow: ["", "inner", "none", $, ht]
|
|
2789
2790
|
}],
|
|
2790
2791
|
/**
|
|
2791
2792
|
* Box Shadow Color
|
|
2792
2793
|
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
2793
2794
|
*/
|
|
2794
2795
|
"shadow-color": [{
|
|
2795
|
-
shadow: [
|
|
2796
|
+
shadow: [ce]
|
|
2796
2797
|
}],
|
|
2797
2798
|
/**
|
|
2798
2799
|
* Opacity
|
|
2799
2800
|
* @see https://tailwindcss.com/docs/opacity
|
|
2800
2801
|
*/
|
|
2801
2802
|
opacity: [{
|
|
2802
|
-
opacity: [
|
|
2803
|
+
opacity: [W]
|
|
2803
2804
|
}],
|
|
2804
2805
|
/**
|
|
2805
2806
|
* Mix Beldn Mode
|
|
2806
2807
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2807
2808
|
*/
|
|
2808
2809
|
"mix-blend": [{
|
|
2809
|
-
"mix-blend":
|
|
2810
|
+
"mix-blend": D()
|
|
2810
2811
|
}],
|
|
2811
2812
|
/**
|
|
2812
2813
|
* Background Blend Mode
|
|
2813
2814
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2814
2815
|
*/
|
|
2815
2816
|
"bg-blend": [{
|
|
2816
|
-
"bg-blend":
|
|
2817
|
+
"bg-blend": D()
|
|
2817
2818
|
}],
|
|
2818
2819
|
// Filters
|
|
2819
2820
|
/**
|
|
@@ -2829,7 +2830,7 @@ function bt() {
|
|
|
2829
2830
|
* @see https://tailwindcss.com/docs/blur
|
|
2830
2831
|
*/
|
|
2831
2832
|
blur: [{
|
|
2832
|
-
blur: [
|
|
2833
|
+
blur: [n]
|
|
2833
2834
|
}],
|
|
2834
2835
|
/**
|
|
2835
2836
|
* Brightness
|
|
@@ -2850,42 +2851,42 @@ function bt() {
|
|
|
2850
2851
|
* @see https://tailwindcss.com/docs/drop-shadow
|
|
2851
2852
|
*/
|
|
2852
2853
|
"drop-shadow": [{
|
|
2853
|
-
"drop-shadow": ["", "none",
|
|
2854
|
+
"drop-shadow": ["", "none", $, R]
|
|
2854
2855
|
}],
|
|
2855
2856
|
/**
|
|
2856
2857
|
* Grayscale
|
|
2857
2858
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2858
2859
|
*/
|
|
2859
2860
|
grayscale: [{
|
|
2860
|
-
grayscale: [
|
|
2861
|
+
grayscale: [v]
|
|
2861
2862
|
}],
|
|
2862
2863
|
/**
|
|
2863
2864
|
* Hue Rotate
|
|
2864
2865
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2865
2866
|
*/
|
|
2866
2867
|
"hue-rotate": [{
|
|
2867
|
-
"hue-rotate": [
|
|
2868
|
+
"hue-rotate": [g]
|
|
2868
2869
|
}],
|
|
2869
2870
|
/**
|
|
2870
2871
|
* Invert
|
|
2871
2872
|
* @see https://tailwindcss.com/docs/invert
|
|
2872
2873
|
*/
|
|
2873
2874
|
invert: [{
|
|
2874
|
-
invert: [
|
|
2875
|
+
invert: [x]
|
|
2875
2876
|
}],
|
|
2876
2877
|
/**
|
|
2877
2878
|
* Saturate
|
|
2878
2879
|
* @see https://tailwindcss.com/docs/saturate
|
|
2879
2880
|
*/
|
|
2880
2881
|
saturate: [{
|
|
2881
|
-
saturate: [
|
|
2882
|
+
saturate: [_]
|
|
2882
2883
|
}],
|
|
2883
2884
|
/**
|
|
2884
2885
|
* Sepia
|
|
2885
2886
|
* @see https://tailwindcss.com/docs/sepia
|
|
2886
2887
|
*/
|
|
2887
2888
|
sepia: [{
|
|
2888
|
-
sepia: [
|
|
2889
|
+
sepia: [pe]
|
|
2889
2890
|
}],
|
|
2890
2891
|
/**
|
|
2891
2892
|
* Backdrop Filter
|
|
@@ -2900,7 +2901,7 @@ function bt() {
|
|
|
2900
2901
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2901
2902
|
*/
|
|
2902
2903
|
"backdrop-blur": [{
|
|
2903
|
-
"backdrop-blur": [
|
|
2904
|
+
"backdrop-blur": [n]
|
|
2904
2905
|
}],
|
|
2905
2906
|
/**
|
|
2906
2907
|
* Backdrop Brightness
|
|
@@ -2921,42 +2922,42 @@ function bt() {
|
|
|
2921
2922
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2922
2923
|
*/
|
|
2923
2924
|
"backdrop-grayscale": [{
|
|
2924
|
-
"backdrop-grayscale": [
|
|
2925
|
+
"backdrop-grayscale": [v]
|
|
2925
2926
|
}],
|
|
2926
2927
|
/**
|
|
2927
2928
|
* Backdrop Hue Rotate
|
|
2928
2929
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2929
2930
|
*/
|
|
2930
2931
|
"backdrop-hue-rotate": [{
|
|
2931
|
-
"backdrop-hue-rotate": [
|
|
2932
|
+
"backdrop-hue-rotate": [g]
|
|
2932
2933
|
}],
|
|
2933
2934
|
/**
|
|
2934
2935
|
* Backdrop Invert
|
|
2935
2936
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2936
2937
|
*/
|
|
2937
2938
|
"backdrop-invert": [{
|
|
2938
|
-
"backdrop-invert": [
|
|
2939
|
+
"backdrop-invert": [x]
|
|
2939
2940
|
}],
|
|
2940
2941
|
/**
|
|
2941
2942
|
* Backdrop Opacity
|
|
2942
2943
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2943
2944
|
*/
|
|
2944
2945
|
"backdrop-opacity": [{
|
|
2945
|
-
"backdrop-opacity": [
|
|
2946
|
+
"backdrop-opacity": [W]
|
|
2946
2947
|
}],
|
|
2947
2948
|
/**
|
|
2948
2949
|
* Backdrop Saturate
|
|
2949
2950
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2950
2951
|
*/
|
|
2951
2952
|
"backdrop-saturate": [{
|
|
2952
|
-
"backdrop-saturate": [
|
|
2953
|
+
"backdrop-saturate": [_]
|
|
2953
2954
|
}],
|
|
2954
2955
|
/**
|
|
2955
2956
|
* Backdrop Sepia
|
|
2956
2957
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2957
2958
|
*/
|
|
2958
2959
|
"backdrop-sepia": [{
|
|
2959
|
-
"backdrop-sepia": [
|
|
2960
|
+
"backdrop-sepia": [pe]
|
|
2960
2961
|
}],
|
|
2961
2962
|
// Tables
|
|
2962
2963
|
/**
|
|
@@ -2971,21 +2972,21 @@ function bt() {
|
|
|
2971
2972
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2972
2973
|
*/
|
|
2973
2974
|
"border-spacing": [{
|
|
2974
|
-
"border-spacing": [
|
|
2975
|
+
"border-spacing": [u]
|
|
2975
2976
|
}],
|
|
2976
2977
|
/**
|
|
2977
2978
|
* Border Spacing X
|
|
2978
2979
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2979
2980
|
*/
|
|
2980
2981
|
"border-spacing-x": [{
|
|
2981
|
-
"border-spacing-x": [
|
|
2982
|
+
"border-spacing-x": [u]
|
|
2982
2983
|
}],
|
|
2983
2984
|
/**
|
|
2984
2985
|
* Border Spacing Y
|
|
2985
2986
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2986
2987
|
*/
|
|
2987
2988
|
"border-spacing-y": [{
|
|
2988
|
-
"border-spacing-y": [
|
|
2989
|
+
"border-spacing-y": [u]
|
|
2989
2990
|
}],
|
|
2990
2991
|
/**
|
|
2991
2992
|
* Table Layout
|
|
@@ -3000,35 +3001,35 @@ function bt() {
|
|
|
3000
3001
|
* @see https://tailwindcss.com/docs/transition-property
|
|
3001
3002
|
*/
|
|
3002
3003
|
transition: [{
|
|
3003
|
-
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform",
|
|
3004
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", R]
|
|
3004
3005
|
}],
|
|
3005
3006
|
/**
|
|
3006
3007
|
* Transition Duration
|
|
3007
3008
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
3008
3009
|
*/
|
|
3009
3010
|
duration: [{
|
|
3010
|
-
duration:
|
|
3011
|
+
duration: B()
|
|
3011
3012
|
}],
|
|
3012
3013
|
/**
|
|
3013
3014
|
* Transition Timing Function
|
|
3014
3015
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
3015
3016
|
*/
|
|
3016
3017
|
ease: [{
|
|
3017
|
-
ease: ["linear", "in", "out", "in-out",
|
|
3018
|
+
ease: ["linear", "in", "out", "in-out", R]
|
|
3018
3019
|
}],
|
|
3019
3020
|
/**
|
|
3020
3021
|
* Transition Delay
|
|
3021
3022
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
3022
3023
|
*/
|
|
3023
3024
|
delay: [{
|
|
3024
|
-
delay:
|
|
3025
|
+
delay: B()
|
|
3025
3026
|
}],
|
|
3026
3027
|
/**
|
|
3027
3028
|
* Animation
|
|
3028
3029
|
* @see https://tailwindcss.com/docs/animation
|
|
3029
3030
|
*/
|
|
3030
3031
|
animate: [{
|
|
3031
|
-
animate: ["none", "spin", "ping", "pulse", "bounce",
|
|
3032
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", R]
|
|
3032
3033
|
}],
|
|
3033
3034
|
// Transforms
|
|
3034
3035
|
/**
|
|
@@ -3043,63 +3044,63 @@ function bt() {
|
|
|
3043
3044
|
* @see https://tailwindcss.com/docs/scale
|
|
3044
3045
|
*/
|
|
3045
3046
|
scale: [{
|
|
3046
|
-
scale: [
|
|
3047
|
+
scale: [te]
|
|
3047
3048
|
}],
|
|
3048
3049
|
/**
|
|
3049
3050
|
* Scale X
|
|
3050
3051
|
* @see https://tailwindcss.com/docs/scale
|
|
3051
3052
|
*/
|
|
3052
3053
|
"scale-x": [{
|
|
3053
|
-
"scale-x": [
|
|
3054
|
+
"scale-x": [te]
|
|
3054
3055
|
}],
|
|
3055
3056
|
/**
|
|
3056
3057
|
* Scale Y
|
|
3057
3058
|
* @see https://tailwindcss.com/docs/scale
|
|
3058
3059
|
*/
|
|
3059
3060
|
"scale-y": [{
|
|
3060
|
-
"scale-y": [
|
|
3061
|
+
"scale-y": [te]
|
|
3061
3062
|
}],
|
|
3062
3063
|
/**
|
|
3063
3064
|
* Rotate
|
|
3064
3065
|
* @see https://tailwindcss.com/docs/rotate
|
|
3065
3066
|
*/
|
|
3066
3067
|
rotate: [{
|
|
3067
|
-
rotate: [
|
|
3068
|
+
rotate: [le, R]
|
|
3068
3069
|
}],
|
|
3069
3070
|
/**
|
|
3070
3071
|
* Translate X
|
|
3071
3072
|
* @see https://tailwindcss.com/docs/translate
|
|
3072
3073
|
*/
|
|
3073
3074
|
"translate-x": [{
|
|
3074
|
-
"translate-x": [
|
|
3075
|
+
"translate-x": [ve]
|
|
3075
3076
|
}],
|
|
3076
3077
|
/**
|
|
3077
3078
|
* Translate Y
|
|
3078
3079
|
* @see https://tailwindcss.com/docs/translate
|
|
3079
3080
|
*/
|
|
3080
3081
|
"translate-y": [{
|
|
3081
|
-
"translate-y": [
|
|
3082
|
+
"translate-y": [ve]
|
|
3082
3083
|
}],
|
|
3083
3084
|
/**
|
|
3084
3085
|
* Skew X
|
|
3085
3086
|
* @see https://tailwindcss.com/docs/skew
|
|
3086
3087
|
*/
|
|
3087
3088
|
"skew-x": [{
|
|
3088
|
-
"skew-x": [
|
|
3089
|
+
"skew-x": [ge]
|
|
3089
3090
|
}],
|
|
3090
3091
|
/**
|
|
3091
3092
|
* Skew Y
|
|
3092
3093
|
* @see https://tailwindcss.com/docs/skew
|
|
3093
3094
|
*/
|
|
3094
3095
|
"skew-y": [{
|
|
3095
|
-
"skew-y": [
|
|
3096
|
+
"skew-y": [ge]
|
|
3096
3097
|
}],
|
|
3097
3098
|
/**
|
|
3098
3099
|
* Transform Origin
|
|
3099
3100
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
3100
3101
|
*/
|
|
3101
3102
|
"transform-origin": [{
|
|
3102
|
-
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left",
|
|
3103
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", R]
|
|
3103
3104
|
}],
|
|
3104
3105
|
// Interactivity
|
|
3105
3106
|
/**
|
|
@@ -3119,7 +3120,7 @@ function bt() {
|
|
|
3119
3120
|
* @see https://tailwindcss.com/docs/cursor
|
|
3120
3121
|
*/
|
|
3121
3122
|
cursor: [{
|
|
3122
|
-
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",
|
|
3123
|
+
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", R]
|
|
3123
3124
|
}],
|
|
3124
3125
|
/**
|
|
3125
3126
|
* Caret Color
|
|
@@ -3296,7 +3297,7 @@ function bt() {
|
|
|
3296
3297
|
* @see https://tailwindcss.com/docs/will-change
|
|
3297
3298
|
*/
|
|
3298
3299
|
"will-change": [{
|
|
3299
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
3300
|
+
"will-change": ["auto", "scroll", "contents", "transform", R]
|
|
3300
3301
|
}],
|
|
3301
3302
|
// SVG
|
|
3302
3303
|
/**
|
|
@@ -3311,7 +3312,7 @@ function bt() {
|
|
|
3311
3312
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3312
3313
|
*/
|
|
3313
3314
|
"stroke-w": [{
|
|
3314
|
-
stroke: [
|
|
3315
|
+
stroke: [L, Ae]
|
|
3315
3316
|
}],
|
|
3316
3317
|
/**
|
|
3317
3318
|
* Stroke
|
|
@@ -3369,23 +3370,23 @@ function bt() {
|
|
|
3369
3370
|
}
|
|
3370
3371
|
};
|
|
3371
3372
|
}
|
|
3372
|
-
var
|
|
3373
|
-
function
|
|
3374
|
-
var t,
|
|
3373
|
+
var Ct = /* @__PURE__ */ lt(wt);
|
|
3374
|
+
function ur(r) {
|
|
3375
|
+
var t, n, o = "";
|
|
3375
3376
|
if (typeof r == "string" || typeof r == "number") o += r;
|
|
3376
|
-
else if (typeof r == "object") if (Array.isArray(r)) for (t = 0; t < r.length; t++) r[t] && (
|
|
3377
|
+
else if (typeof r == "object") if (Array.isArray(r)) for (t = 0; t < r.length; t++) r[t] && (n = ur(r[t])) && (o && (o += " "), o += n);
|
|
3377
3378
|
else for (t in r) r[t] && (o && (o += " "), o += t);
|
|
3378
3379
|
return o;
|
|
3379
3380
|
}
|
|
3380
|
-
function
|
|
3381
|
-
for (var r, t,
|
|
3381
|
+
function jt() {
|
|
3382
|
+
for (var r, t, n = 0, o = ""; n < arguments.length; ) (r = arguments[n++]) && (t = ur(r)) && (o && (o += " "), o += t);
|
|
3382
3383
|
return o;
|
|
3383
3384
|
}
|
|
3384
|
-
function
|
|
3385
|
-
return
|
|
3385
|
+
function fe(...r) {
|
|
3386
|
+
return Ct(jt(r));
|
|
3386
3387
|
}
|
|
3387
|
-
function
|
|
3388
|
-
return /* @__PURE__ */
|
|
3388
|
+
function kt({ className: r = "", size: t = "1em" }) {
|
|
3389
|
+
return /* @__PURE__ */ s.jsxs(
|
|
3389
3390
|
"svg",
|
|
3390
3391
|
{
|
|
3391
3392
|
width: "24",
|
|
@@ -3395,14 +3396,14 @@ function mt({ className: r = "", size: t = "1em" }) {
|
|
|
3395
3396
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3396
3397
|
className: r,
|
|
3397
3398
|
children: [
|
|
3398
|
-
/* @__PURE__ */
|
|
3399
|
+
/* @__PURE__ */ s.jsx(
|
|
3399
3400
|
"path",
|
|
3400
3401
|
{
|
|
3401
3402
|
d: "M12.001 7.7395C12.2367 7.73978 12.4591 7.85076 12.6006 8.03931L15.376 11.7395C15.5459 11.9666 15.5731 12.2708 15.4463 12.5247C15.3193 12.7785 15.0592 12.9395 14.7754 12.9397H12.75V17.2766C12.7499 17.6907 12.4142 18.0266 12 18.0266C11.5858 18.0266 11.2501 17.6907 11.25 17.2766V12.9397H9.22559C8.94169 12.9397 8.68182 12.7785 8.55469 12.5247C8.42778 12.2706 8.45558 11.9667 8.62598 11.7395L11.4004 8.03931L11.457 7.97192C11.5977 7.82422 11.7945 7.7395 12.001 7.7395Z",
|
|
3402
3403
|
fill: "currentColor"
|
|
3403
3404
|
}
|
|
3404
3405
|
),
|
|
3405
|
-
/* @__PURE__ */
|
|
3406
|
+
/* @__PURE__ */ s.jsx(
|
|
3406
3407
|
"path",
|
|
3407
3408
|
{
|
|
3408
3409
|
"fill-rule": "evenodd",
|
|
@@ -3415,8 +3416,8 @@ function mt({ className: r = "", size: t = "1em" }) {
|
|
|
3415
3416
|
}
|
|
3416
3417
|
);
|
|
3417
3418
|
}
|
|
3418
|
-
function
|
|
3419
|
-
return /* @__PURE__ */
|
|
3419
|
+
function Rt({ className: r = "", size: t = "1em" }) {
|
|
3420
|
+
return /* @__PURE__ */ s.jsx(
|
|
3420
3421
|
"svg",
|
|
3421
3422
|
{
|
|
3422
3423
|
width: "24",
|
|
@@ -3425,7 +3426,7 @@ function yt({ className: r = "", size: t = "1em" }) {
|
|
|
3425
3426
|
fill: "none",
|
|
3426
3427
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3427
3428
|
className: r,
|
|
3428
|
-
children: /* @__PURE__ */
|
|
3429
|
+
children: /* @__PURE__ */ s.jsx(
|
|
3429
3430
|
"path",
|
|
3430
3431
|
{
|
|
3431
3432
|
d: "M12 2C10.0222 2 8.08879 2.58649 6.4443 3.6853C4.79981 4.78412 3.51809 6.3459 2.76121 8.17316C2.00433 10.0004 1.8063 12.0111 2.19215 13.9509C2.578 15.8907 3.53041 17.6725 4.92894 19.0711C6.32746 20.4696 8.10929 21.422 10.0491 21.8078C11.9889 22.1937 13.9996 21.9957 15.8268 21.2388C17.6541 20.4819 19.2159 19.2002 20.3147 17.5557C21.4135 15.9112 22 13.9778 22 12C21.9971 9.34871 20.9426 6.80684 19.0679 4.9321C17.1932 3.05736 14.6513 2.00287 12 2ZM15.7092 11.7642C15.6751 11.8349 15.6217 11.8945 15.5553 11.9363C15.4888 11.978 15.4118 12.0001 15.3333 12H12.8333V16.1667C12.8333 16.3877 12.7455 16.5996 12.5893 16.7559C12.433 16.9122 12.221 17 12 17C11.779 17 11.567 16.9122 11.4107 16.7559C11.2545 16.5996 11.1667 16.3877 11.1667 16.1667V12H8.66667C8.58819 12 8.5113 11.9779 8.44484 11.9362C8.37839 11.8945 8.32507 11.8348 8.29102 11.7641C8.25697 11.6934 8.24359 11.6145 8.2524 11.5365C8.26121 11.4586 8.29187 11.3847 8.34084 11.3233L11.6742 7.15667C11.7146 7.10991 11.7646 7.07241 11.8209 7.04671C11.8771 7.021 11.9382 7.0077 12 7.0077C12.0618 7.0077 12.1229 7.021 12.1791 7.04671C12.2354 7.07241 12.2854 7.10991 12.3258 7.15667L15.6592 11.3233C15.7082 11.3846 15.7389 11.4585 15.7477 11.5365C15.7566 11.6145 15.7432 11.6934 15.7092 11.7642Z",
|
|
@@ -3435,127 +3436,127 @@ function yt({ className: r = "", size: t = "1em" }) {
|
|
|
3435
3436
|
}
|
|
3436
3437
|
);
|
|
3437
3438
|
}
|
|
3438
|
-
const
|
|
3439
|
+
const _t = ({
|
|
3439
3440
|
tooltipContent: r = "Send message",
|
|
3440
3441
|
className: t,
|
|
3441
|
-
...
|
|
3442
|
+
...n
|
|
3442
3443
|
}) => {
|
|
3443
|
-
const [o,
|
|
3444
|
-
return /* @__PURE__ */
|
|
3445
|
-
|
|
3444
|
+
const [o, i] = H(!1);
|
|
3445
|
+
return /* @__PURE__ */ s.jsx(ar, { content: r, children: /* @__PURE__ */ s.jsx(
|
|
3446
|
+
V,
|
|
3446
3447
|
{
|
|
3447
3448
|
variant: "text",
|
|
3448
3449
|
color: "gray",
|
|
3449
|
-
className:
|
|
3450
|
+
className: fe(t, "hover:rounded-lg hover:bg-gray-100"),
|
|
3450
3451
|
type: "submit",
|
|
3451
|
-
onMouseEnter: () =>
|
|
3452
|
-
onMouseLeave: () =>
|
|
3453
|
-
...
|
|
3454
|
-
children: o ? /* @__PURE__ */
|
|
3452
|
+
onMouseEnter: () => i(!0),
|
|
3453
|
+
onMouseLeave: () => i(!1),
|
|
3454
|
+
...n,
|
|
3455
|
+
children: o ? /* @__PURE__ */ s.jsx(Rt, { className: "size-6 " }) : /* @__PURE__ */ s.jsx(kt, { className: "size-6 " })
|
|
3455
3456
|
}
|
|
3456
3457
|
) });
|
|
3457
|
-
},
|
|
3458
|
+
}, fr = ({
|
|
3458
3459
|
onSubmit: r = () => {
|
|
3459
3460
|
},
|
|
3460
3461
|
...t
|
|
3461
|
-
}) => /* @__PURE__ */
|
|
3462
|
-
|
|
3462
|
+
}) => /* @__PURE__ */ s.jsx(
|
|
3463
|
+
Yr,
|
|
3463
3464
|
{
|
|
3464
3465
|
autoFocus: !0,
|
|
3465
3466
|
placeholder: "Write your message here",
|
|
3466
3467
|
className: "pl-1 block w-full focus:outline-none max-h-32 resize-none placeholder:text-gray-400",
|
|
3467
|
-
onKeyDown: (
|
|
3468
|
-
|
|
3468
|
+
onKeyDown: (n) => {
|
|
3469
|
+
n.key === "Enter" && !n.shiftKey && (n.preventDefault(), r());
|
|
3469
3470
|
},
|
|
3470
3471
|
...t
|
|
3471
3472
|
}
|
|
3472
|
-
),
|
|
3473
|
+
), Et = ({
|
|
3473
3474
|
bottom: r,
|
|
3474
3475
|
right: t,
|
|
3475
|
-
top:
|
|
3476
|
-
textArea: o = /* @__PURE__ */
|
|
3477
|
-
...
|
|
3478
|
-
}) => /* @__PURE__ */
|
|
3476
|
+
top: n,
|
|
3477
|
+
textArea: o = /* @__PURE__ */ s.jsx(fr, {}),
|
|
3478
|
+
...i
|
|
3479
|
+
}) => /* @__PURE__ */ s.jsxs(
|
|
3479
3480
|
"div",
|
|
3480
3481
|
{
|
|
3481
3482
|
className: "border gap-2 rounded-lg bg-white shadow-[0px_2px_2px_0px_#0000000A,0px_8px_8px_-8px_#0000000A] border-gray-100",
|
|
3482
|
-
...
|
|
3483
|
+
...i,
|
|
3483
3484
|
children: [
|
|
3484
|
-
|
|
3485
|
-
/* @__PURE__ */
|
|
3486
|
-
/* @__PURE__ */
|
|
3485
|
+
n,
|
|
3486
|
+
/* @__PURE__ */ s.jsxs("div", { className: "flex gap-2 p-4 rounded-lg bg-white", children: [
|
|
3487
|
+
/* @__PURE__ */ s.jsxs("div", { className: "grow flex flex-col items-start justify-center", children: [
|
|
3487
3488
|
o,
|
|
3488
3489
|
r
|
|
3489
3490
|
] }),
|
|
3490
|
-
/* @__PURE__ */
|
|
3491
|
+
/* @__PURE__ */ s.jsx("div", { className: "shrink flex items-end justify-end", children: t })
|
|
3491
3492
|
] })
|
|
3492
3493
|
]
|
|
3493
3494
|
}
|
|
3494
|
-
),
|
|
3495
|
+
), Jt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3495
3496
|
__proto__: null,
|
|
3496
|
-
Container:
|
|
3497
|
-
SubmitButton:
|
|
3498
|
-
Textarea:
|
|
3499
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3497
|
+
Container: Et,
|
|
3498
|
+
SubmitButton: _t,
|
|
3499
|
+
Textarea: fr
|
|
3500
|
+
}, Symbol.toStringTag, { value: "Module" })), re = $r(void 0), pr = ({
|
|
3500
3501
|
children: r,
|
|
3501
3502
|
isCollapsed: t,
|
|
3502
|
-
onSwitchLayout:
|
|
3503
|
+
onSwitchLayout: n
|
|
3503
3504
|
}) => {
|
|
3504
|
-
const [o,
|
|
3505
|
-
const
|
|
3506
|
-
t === void 0 &&
|
|
3505
|
+
const [o, i] = H(!1), [l, u] = H(!1), d = t !== void 0 ? t : o, f = (v) => {
|
|
3506
|
+
const g = v ?? !d;
|
|
3507
|
+
t === void 0 && i(g), n == null || n(g);
|
|
3507
3508
|
};
|
|
3508
|
-
return /* @__PURE__ */
|
|
3509
|
-
|
|
3509
|
+
return /* @__PURE__ */ s.jsx(
|
|
3510
|
+
re.Provider,
|
|
3510
3511
|
{
|
|
3511
|
-
value: { isCollapsed:
|
|
3512
|
+
value: { isCollapsed: d, toggleCollapsed: f, isHovered: l, setIsHovered: u },
|
|
3512
3513
|
children: r
|
|
3513
3514
|
}
|
|
3514
3515
|
);
|
|
3515
|
-
},
|
|
3516
|
+
}, gr = ({
|
|
3516
3517
|
className: r,
|
|
3517
3518
|
children: t,
|
|
3518
|
-
...
|
|
3519
|
+
...n
|
|
3519
3520
|
}) => {
|
|
3520
|
-
const { isCollapsed: o, isHovered:
|
|
3521
|
-
return /* @__PURE__ */
|
|
3521
|
+
const { isCollapsed: o, isHovered: i, setIsHovered: l } = ue(re);
|
|
3522
|
+
return /* @__PURE__ */ s.jsx(
|
|
3522
3523
|
"div",
|
|
3523
3524
|
{
|
|
3524
|
-
className:
|
|
3525
|
+
className: fe(
|
|
3525
3526
|
r,
|
|
3526
3527
|
o && "shadow-lg",
|
|
3527
|
-
o && !
|
|
3528
|
+
o && !i ? "w-auto" : "w-[280px]",
|
|
3528
3529
|
"bg-gray-50 p-2 flex flex-col justify-between items-center rounded-lg"
|
|
3529
3530
|
),
|
|
3530
|
-
onMouseEnter: () => o &&
|
|
3531
|
-
onMouseLeave: () => o &&
|
|
3532
|
-
...
|
|
3531
|
+
onMouseEnter: () => o && l(!0),
|
|
3532
|
+
onMouseLeave: () => o && l(!1),
|
|
3533
|
+
...n,
|
|
3533
3534
|
children: t
|
|
3534
3535
|
}
|
|
3535
3536
|
);
|
|
3536
|
-
},
|
|
3537
|
+
}, St = ({
|
|
3537
3538
|
className: r,
|
|
3538
3539
|
children: t,
|
|
3539
|
-
isCollapsed:
|
|
3540
|
+
isCollapsed: n,
|
|
3540
3541
|
onSwitchLayout: o,
|
|
3541
|
-
...
|
|
3542
|
-
}) => /* @__PURE__ */
|
|
3543
|
-
const { isCollapsed: o, isHovered:
|
|
3544
|
-
return /* @__PURE__ */
|
|
3542
|
+
...i
|
|
3543
|
+
}) => /* @__PURE__ */ s.jsx(pr, { isCollapsed: n, onSwitchLayout: o, children: /* @__PURE__ */ s.jsx(gr, { className: r, ...i, children: t }) }), Tt = ({ icon: r, children: t, ...n }) => {
|
|
3544
|
+
const { isCollapsed: o, isHovered: i } = ue(re);
|
|
3545
|
+
return /* @__PURE__ */ s.jsxs(
|
|
3545
3546
|
"button",
|
|
3546
3547
|
{
|
|
3547
3548
|
className: "flex items-center gap-2 w-full hover:bg-gray-100 text-caption-1-em text-gray-600 hover:text-gray-900 h-[38px] rounded-lg px-2",
|
|
3548
|
-
...
|
|
3549
|
+
...n,
|
|
3549
3550
|
children: [
|
|
3550
3551
|
r,
|
|
3551
3552
|
" ",
|
|
3552
|
-
(!o ||
|
|
3553
|
+
(!o || i) && t
|
|
3553
3554
|
]
|
|
3554
3555
|
}
|
|
3555
3556
|
);
|
|
3556
3557
|
};
|
|
3557
|
-
function
|
|
3558
|
-
return /* @__PURE__ */
|
|
3558
|
+
function Mt(r) {
|
|
3559
|
+
return /* @__PURE__ */ s.jsx(
|
|
3559
3560
|
"svg",
|
|
3560
3561
|
{
|
|
3561
3562
|
width: "16",
|
|
@@ -3564,7 +3565,7 @@ function _t(r) {
|
|
|
3564
3565
|
fill: "none",
|
|
3565
3566
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3566
3567
|
...r,
|
|
3567
|
-
children: /* @__PURE__ */
|
|
3568
|
+
children: /* @__PURE__ */ s.jsx(
|
|
3568
3569
|
"path",
|
|
3569
3570
|
{
|
|
3570
3571
|
d: "M13 1C14.6569 1 16 2.34315 16 4V12L15.9961 12.1543C15.9158 13.7394 14.6051 15 13 15H3L2.8457 14.9961C1.31166 14.9184 0.0816253 13.6883 0.00390625 12.1543L0 12V4C1.28853e-07 2.34315 1.34315 1 3 1H13ZM3 2.5C2.17157 2.5 1.5 3.17157 1.5 4V12C1.5 12.8284 2.17157 13.5 3 13.5H13C13.8284 13.5 14.5 12.8284 14.5 12V4C14.5 3.17157 13.8284 2.5 13 2.5H3ZM3.75 3.5C4.16421 3.5 4.5 3.83579 4.5 4.25V11.75C4.5 12.1642 4.16421 12.5 3.75 12.5C3.33579 12.5 3 12.1642 3 11.75V4.25C3 3.83579 3.33579 3.5 3.75 3.5Z",
|
|
@@ -3574,8 +3575,8 @@ function _t(r) {
|
|
|
3574
3575
|
}
|
|
3575
3576
|
);
|
|
3576
3577
|
}
|
|
3577
|
-
function
|
|
3578
|
-
return /* @__PURE__ */
|
|
3578
|
+
function Pt(r) {
|
|
3579
|
+
return /* @__PURE__ */ s.jsx(
|
|
3579
3580
|
"svg",
|
|
3580
3581
|
{
|
|
3581
3582
|
width: "16",
|
|
@@ -3584,7 +3585,7 @@ function Et(r) {
|
|
|
3584
3585
|
fill: "none",
|
|
3585
3586
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3586
3587
|
...r,
|
|
3587
|
-
children: /* @__PURE__ */
|
|
3588
|
+
children: /* @__PURE__ */ s.jsx(
|
|
3588
3589
|
"path",
|
|
3589
3590
|
{
|
|
3590
3591
|
d: "M13 1C14.6569 1 16 2.34315 16 4V12L15.9961 12.1543C15.9158 13.7394 14.6051 15 13 15H3L2.8457 14.9961C1.31166 14.9184 0.0816253 13.6883 0.00390625 12.1543L0 12V4C1.28853e-07 2.34315 1.34315 1 3 1H13ZM3 2.5C2.17157 2.5 1.5 3.17157 1.5 4V12C1.5 12.8284 2.17157 13.5 3 13.5H13C13.8284 13.5 14.5 12.8284 14.5 12V4C14.5 3.17157 13.8284 2.5 13 2.5H3ZM7.5 4C7.77614 4 8 4.22386 8 4.5V11.5C8 11.7761 7.77614 12 7.5 12H3.5C3.22386 12 3 11.7761 3 11.5V4.5C3 4.22386 3.22386 4 3.5 4H7.5Z",
|
|
@@ -3594,78 +3595,373 @@ function Et(r) {
|
|
|
3594
3595
|
}
|
|
3595
3596
|
);
|
|
3596
3597
|
}
|
|
3597
|
-
const
|
|
3598
|
-
const { isCollapsed: r, isHovered: t, toggleCollapsed:
|
|
3599
|
-
return r && !t ? null : /* @__PURE__ */
|
|
3600
|
-
},
|
|
3598
|
+
const At = () => {
|
|
3599
|
+
const { isCollapsed: r, isHovered: t, toggleCollapsed: n } = ue(re);
|
|
3600
|
+
return r && !t ? null : /* @__PURE__ */ s.jsx(V, { variant: "text", color: "gray", onClick: () => n(), children: r ? /* @__PURE__ */ s.jsx(Mt, { className: "size-4" }) : /* @__PURE__ */ s.jsx(Pt, { className: "size-4" }) });
|
|
3601
|
+
}, It = ({
|
|
3601
3602
|
children: r,
|
|
3602
3603
|
className: t,
|
|
3603
|
-
icon:
|
|
3604
|
+
icon: n,
|
|
3604
3605
|
isActive: o,
|
|
3605
|
-
trailing:
|
|
3606
|
-
...
|
|
3606
|
+
trailing: i,
|
|
3607
|
+
...l
|
|
3607
3608
|
}) => {
|
|
3608
|
-
const { isCollapsed:
|
|
3609
|
-
return /* @__PURE__ */
|
|
3609
|
+
const { isCollapsed: u, isHovered: d } = ue(re);
|
|
3610
|
+
return /* @__PURE__ */ s.jsxs(
|
|
3610
3611
|
"div",
|
|
3611
3612
|
{
|
|
3612
|
-
className:
|
|
3613
|
+
className: fe(
|
|
3613
3614
|
o ? "!text-gray-900" : "!text-gray-600",
|
|
3614
3615
|
"flex items-center justify-between w-full hover:bg-gray-100 text-caption-1-em hover:text-gray-900 h-[38px] rounded-lg px-2 cursor-pointer group",
|
|
3615
3616
|
t
|
|
3616
3617
|
),
|
|
3617
|
-
...
|
|
3618
|
+
...l,
|
|
3618
3619
|
children: [
|
|
3619
|
-
/* @__PURE__ */
|
|
3620
|
-
|
|
3621
|
-
(!
|
|
3620
|
+
/* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
3621
|
+
n,
|
|
3622
|
+
(!u || d) && r
|
|
3622
3623
|
] }),
|
|
3623
|
-
(!
|
|
3624
|
+
(!u || d) && i
|
|
3624
3625
|
]
|
|
3625
3626
|
}
|
|
3626
3627
|
);
|
|
3627
|
-
},
|
|
3628
|
+
}, Ot = ({
|
|
3628
3629
|
children: r,
|
|
3629
3630
|
className: t,
|
|
3630
|
-
isActive:
|
|
3631
|
+
isActive: n,
|
|
3631
3632
|
trailing: o,
|
|
3632
|
-
icon:
|
|
3633
|
-
...
|
|
3633
|
+
icon: i,
|
|
3634
|
+
...l
|
|
3634
3635
|
}) => {
|
|
3635
|
-
const { isCollapsed:
|
|
3636
|
-
return /* @__PURE__ */
|
|
3636
|
+
const { isCollapsed: u, isHovered: d } = ue(re);
|
|
3637
|
+
return /* @__PURE__ */ s.jsxs(
|
|
3637
3638
|
"div",
|
|
3638
3639
|
{
|
|
3639
|
-
className:
|
|
3640
|
-
|
|
3640
|
+
className: fe(
|
|
3641
|
+
n ? "!text-gray-900" : "!text-gray-600",
|
|
3641
3642
|
"flex items-center justify-between w-full hover:bg-gray-100 text-caption-1-em hover:text-gray-900 h-[38px] rounded-lg pr-2 pl-3 cursor-pointer group text-sm",
|
|
3642
3643
|
t
|
|
3643
3644
|
),
|
|
3644
|
-
...
|
|
3645
|
+
...l,
|
|
3645
3646
|
children: [
|
|
3646
|
-
/* @__PURE__ */
|
|
3647
|
-
(!
|
|
3647
|
+
/* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-2 overflow-auto", children: [
|
|
3648
|
+
(!u || d) && i,
|
|
3648
3649
|
" ",
|
|
3649
|
-
(!
|
|
3650
|
+
(!u || d) && r
|
|
3650
3651
|
] }),
|
|
3651
|
-
(!
|
|
3652
|
+
(!u || d) && o
|
|
3652
3653
|
]
|
|
3653
3654
|
}
|
|
3654
3655
|
);
|
|
3655
|
-
},
|
|
3656
|
+
}, Kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3656
3657
|
__proto__: null,
|
|
3657
|
-
Button:
|
|
3658
|
-
Container:
|
|
3659
|
-
Item:
|
|
3660
|
-
Layout:
|
|
3661
|
-
Provider:
|
|
3662
|
-
SecondaryItem:
|
|
3663
|
-
ToggleCollapseButton:
|
|
3664
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
3658
|
+
Button: Tt,
|
|
3659
|
+
Container: gr,
|
|
3660
|
+
Item: It,
|
|
3661
|
+
Layout: St,
|
|
3662
|
+
Provider: pr,
|
|
3663
|
+
SecondaryItem: Ot,
|
|
3664
|
+
ToggleCollapseButton: At
|
|
3665
|
+
}, Symbol.toStringTag, { value: "Module" })), Nt = (r) => /* @__PURE__ */ s.jsx(
|
|
3666
|
+
"svg",
|
|
3667
|
+
{
|
|
3668
|
+
width: "16",
|
|
3669
|
+
height: "16",
|
|
3670
|
+
viewBox: "0 0 16 16",
|
|
3671
|
+
fill: "none",
|
|
3672
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3673
|
+
...r,
|
|
3674
|
+
children: /* @__PURE__ */ s.jsx(
|
|
3675
|
+
"path",
|
|
3676
|
+
{
|
|
3677
|
+
d: "M12.7197 2.21954C13.0125 1.92683 13.4874 1.92694 13.7803 2.21954C14.073 2.51241 14.073 2.98722 13.7803 3.28008L9.05955 7.99981L13.7803 12.7205L13.832 12.7772C14.0721 13.0717 14.0548 13.5065 13.7803 13.7811C13.5057 14.0555 13.0709 14.0729 12.7764 13.8328L12.7197 13.7811L7.99901 9.06036L3.27928 13.7811C2.9864 14.0737 2.51156 14.0738 2.21873 13.7811C1.92618 13.4882 1.92616 13.0133 2.21873 12.7205L6.93846 7.99981L2.21873 3.28008C1.92615 2.98722 1.92607 2.51235 2.21873 2.21954C2.51154 1.92673 2.98637 1.92691 3.27928 2.21954L7.99901 6.93926L12.7197 2.21954Z",
|
|
3678
|
+
fill: "currentColor"
|
|
3679
|
+
}
|
|
3680
|
+
)
|
|
3681
|
+
}
|
|
3682
|
+
), zt = ({
|
|
3683
|
+
onClose: r,
|
|
3684
|
+
right: t,
|
|
3685
|
+
children: n
|
|
3686
|
+
}) => /* @__PURE__ */ s.jsxs("div", { className: "bg-gray-50 flex gap-2 items-center px-2 py-3 rounded-t-xl", children: [
|
|
3687
|
+
/* @__PURE__ */ s.jsx("div", { className: "grow text-subheader-em", children: n }),
|
|
3688
|
+
/* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-4", children: [
|
|
3689
|
+
t,
|
|
3690
|
+
/* @__PURE__ */ s.jsx(
|
|
3691
|
+
V,
|
|
3692
|
+
{
|
|
3693
|
+
variant: "text",
|
|
3694
|
+
size: "sm",
|
|
3695
|
+
color: "gray",
|
|
3696
|
+
className: "rounded-full",
|
|
3697
|
+
onClick: r,
|
|
3698
|
+
children: /* @__PURE__ */ s.jsx(Nt, { className: "size-4 text-gray-600" })
|
|
3699
|
+
}
|
|
3700
|
+
)
|
|
3701
|
+
] })
|
|
3702
|
+
] }), br = {
|
|
3703
|
+
Header: zt
|
|
3704
|
+
}, vr = (r) => /* @__PURE__ */ s.jsx(
|
|
3705
|
+
"svg",
|
|
3706
|
+
{
|
|
3707
|
+
width: "16",
|
|
3708
|
+
height: "16",
|
|
3709
|
+
viewBox: "0 0 16 16",
|
|
3710
|
+
fill: "none",
|
|
3711
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3712
|
+
...r,
|
|
3713
|
+
children: /* @__PURE__ */ s.jsx(
|
|
3714
|
+
"path",
|
|
3715
|
+
{
|
|
3716
|
+
d: "M2.25 5.5C2.66421 5.5 3 5.83579 3 6.25C3 6.66421 2.66421 7 2.25 7H2C1.72386 7 1.5 7.22386 1.5 7.5V13.5C1.5 13.7761 1.72386 14 2 14H8C8.27614 14 8.5 13.7761 8.5 13.5V13.25C8.5 12.8358 8.83579 12.5 9.25 12.5C9.66421 12.5 10 12.8358 10 13.25V13.5C10 14.5357 9.21278 15.387 8.2041 15.4893L8 15.5H2L1.7959 15.4893C0.854346 15.3938 0.1062 14.6457 0.0107422 13.7041L0 13.5V7.5C0 6.39543 0.895431 5.5 2 5.5H2.25ZM13.75 0C14.7165 1.28853e-07 15.5 0.783502 15.5 1.75V9.75C15.5 10.7165 14.7165 11.5 13.75 11.5H5.75C4.7835 11.5 4 10.7165 4 9.75V1.75C4 0.783502 4.7835 8.0532e-09 5.75 0H13.75ZM5.75 1.5C5.61193 1.5 5.5 1.61193 5.5 1.75V9.75C5.5 9.88807 5.61193 10 5.75 10H13.75C13.8881 10 14 9.88807 14 9.75V1.75C14 1.61193 13.8881 1.5 13.75 1.5H5.75ZM11.75 3C11.795 3 11.839 3.00413 11.8818 3.01172C11.8874 3.0127 11.8929 3.01354 11.8984 3.01465C11.9118 3.01733 11.9244 3.02298 11.9375 3.02637C11.9707 3.03495 12.0041 3.04344 12.0361 3.05664C12.0653 3.06868 12.092 3.08512 12.1191 3.10059C12.1763 3.1331 12.2316 3.171 12.2803 3.21973C12.3287 3.26812 12.366 3.3232 12.3984 3.37988C12.414 3.40703 12.4303 3.43375 12.4424 3.46289C12.4631 3.51289 12.4779 3.56459 12.4873 3.61719C12.495 3.66035 12.5 3.70462 12.5 3.75V7.75C12.5 8.16421 12.1642 8.5 11.75 8.5C11.3358 8.5 11 8.16421 11 7.75V5.56055L8.28027 8.28027C7.98738 8.57317 7.51262 8.57317 7.21973 8.28027C6.92683 7.98738 6.92683 7.51262 7.21973 7.21973L9.93945 4.5H7.75C7.33579 4.5 7 4.16421 7 3.75C7 3.33579 7.33579 3 7.75 3H11.75Z",
|
|
3717
|
+
fill: "currentColor"
|
|
3718
|
+
}
|
|
3719
|
+
)
|
|
3720
|
+
}
|
|
3721
|
+
), Lt = (r = 100, t = 50, n = 990, o = 10) => {
|
|
3722
|
+
const [i, l] = H(r);
|
|
3723
|
+
return [i, { ...{
|
|
3724
|
+
zoomIn: () => l((f) => Math.min(f + o, n)),
|
|
3725
|
+
zoomOut: () => l((f) => Math.max(f - o, t)),
|
|
3726
|
+
reset: () => l(r),
|
|
3727
|
+
zoomToValue: (f) => l(Math.max(t, Math.min(f, n)))
|
|
3728
|
+
}, handleWheel: (f) => {
|
|
3729
|
+
f.preventDefault();
|
|
3730
|
+
const v = f.deltaY > 0 ? -o : o;
|
|
3731
|
+
l((g) => Math.max(t, Math.min(g + v, n)));
|
|
3732
|
+
} }];
|
|
3733
|
+
}, Vt = () => {
|
|
3734
|
+
const [r, t] = H(0);
|
|
3735
|
+
return [r, {
|
|
3736
|
+
rotateClockwise: () => t((o) => (o + 90) % 360),
|
|
3737
|
+
rotateCounterClockwise: () => t((o) => (o - 90 + 360) % 360)
|
|
3738
|
+
}];
|
|
3739
|
+
}, Wt = () => {
|
|
3740
|
+
const [r, t] = H({ x: 0, y: 0 }), [n, o] = H(!1), [i, l] = H({ x: 0, y: 0 });
|
|
3741
|
+
return [{ pan: r, isDragging: n }, {
|
|
3742
|
+
handleMouseDown: (g) => {
|
|
3743
|
+
o(!0), l({
|
|
3744
|
+
x: g.clientX - r.x,
|
|
3745
|
+
y: g.clientY - r.y
|
|
3746
|
+
});
|
|
3747
|
+
},
|
|
3748
|
+
handleMouseMove: (g) => {
|
|
3749
|
+
n && t({
|
|
3750
|
+
x: g.clientX - i.x,
|
|
3751
|
+
y: g.clientY - i.y
|
|
3752
|
+
});
|
|
3753
|
+
},
|
|
3754
|
+
handleMouseUp: () => {
|
|
3755
|
+
o(!1);
|
|
3756
|
+
},
|
|
3757
|
+
reset: () => t({ x: 0, y: 0 })
|
|
3758
|
+
}];
|
|
3759
|
+
}, Ht = (r = 1) => {
|
|
3760
|
+
const [t, n] = H(1);
|
|
3761
|
+
return [t, {
|
|
3762
|
+
nextPage: () => n((i) => Math.min(i + 1, r)),
|
|
3763
|
+
prevPage: () => n((i) => Math.max(i - 1, 1)),
|
|
3764
|
+
goToPage: (i) => n(Math.max(1, Math.min(i, r)))
|
|
3765
|
+
}];
|
|
3766
|
+
}, qt = ({
|
|
3767
|
+
onClose: r,
|
|
3768
|
+
totalPages: t,
|
|
3769
|
+
getImageSrc: n,
|
|
3770
|
+
title: o = "PDF Viewer"
|
|
3771
|
+
}) => {
|
|
3772
|
+
const [i, l] = Lt(), [u, d] = Vt(), [{ pan: f, isDragging: v }, g] = Wt(), [x, j] = Ht(t), T = /* @__PURE__ */ s.jsx(V, { variant: "text", color: "gray", children: /* @__PURE__ */ s.jsx(vr, { className: "size-4" }) });
|
|
3773
|
+
return /* @__PURE__ */ s.jsxs("div", { className: "shadow rounded-t-lg", children: [
|
|
3774
|
+
/* @__PURE__ */ s.jsx(br.Header, { onClose: r, right: T, children: o }),
|
|
3775
|
+
/* @__PURE__ */ s.jsx("div", { className: "flex-1 grid", children: /* @__PURE__ */ s.jsxs("div", { className: "grid relative", children: [
|
|
3776
|
+
/* @__PURE__ */ s.jsx(
|
|
3777
|
+
"div",
|
|
3778
|
+
{
|
|
3779
|
+
className: "overflow-hidden col-start-1 row-start-1 bg-gray-200 h-full relative",
|
|
3780
|
+
onMouseMove: g.handleMouseMove,
|
|
3781
|
+
onMouseUp: g.handleMouseUp,
|
|
3782
|
+
onMouseLeave: g.handleMouseUp,
|
|
3783
|
+
onWheel: l.handleWheel,
|
|
3784
|
+
children: /* @__PURE__ */ s.jsx(
|
|
3785
|
+
"div",
|
|
3786
|
+
{
|
|
3787
|
+
style: {
|
|
3788
|
+
transform: `translate(${f.x}px, ${f.y}px)`,
|
|
3789
|
+
cursor: v ? "grabbing" : "grab",
|
|
3790
|
+
width: "100%",
|
|
3791
|
+
height: "100%",
|
|
3792
|
+
display: "flex",
|
|
3793
|
+
alignItems: "center",
|
|
3794
|
+
justifyContent: "center"
|
|
3795
|
+
},
|
|
3796
|
+
onMouseDown: g.handleMouseDown,
|
|
3797
|
+
children: /* @__PURE__ */ s.jsx(
|
|
3798
|
+
"div",
|
|
3799
|
+
{
|
|
3800
|
+
style: {
|
|
3801
|
+
transform: `scale(${i / 100}) rotate(${u}deg)`,
|
|
3802
|
+
transformOrigin: "center",
|
|
3803
|
+
transition: v ? "none" : "transform 0.3s ease"
|
|
3804
|
+
},
|
|
3805
|
+
children: /* @__PURE__ */ s.jsx(
|
|
3806
|
+
"img",
|
|
3807
|
+
{
|
|
3808
|
+
src: n(x),
|
|
3809
|
+
style: { userSelect: "none", pointerEvents: "none" }
|
|
3810
|
+
}
|
|
3811
|
+
)
|
|
3812
|
+
}
|
|
3813
|
+
)
|
|
3814
|
+
}
|
|
3815
|
+
)
|
|
3816
|
+
}
|
|
3817
|
+
),
|
|
3818
|
+
/* @__PURE__ */ s.jsxs("div", { className: "col-start-1 row-start-1 self-end p-4 flex gap-2 justify-between w-full z-10", children: [
|
|
3819
|
+
/* @__PURE__ */ s.jsxs(Pe, { className: "divide-x-0 h-[52px]", children: [
|
|
3820
|
+
/* @__PURE__ */ s.jsx(
|
|
3821
|
+
V,
|
|
3822
|
+
{
|
|
3823
|
+
variant: "filled",
|
|
3824
|
+
color: "white",
|
|
3825
|
+
className: "py-[26px]",
|
|
3826
|
+
onClick: l.zoomOut,
|
|
3827
|
+
children: /* @__PURE__ */ s.jsx(ee, { icon: "lucide:minus" })
|
|
3828
|
+
}
|
|
3829
|
+
),
|
|
3830
|
+
/* @__PURE__ */ s.jsx(ar, { content: "Click to reset zoom and pan", children: /* @__PURE__ */ s.jsxs(
|
|
3831
|
+
"button",
|
|
3832
|
+
{
|
|
3833
|
+
className: "!bg-white text-center cursor-pointer w-[60px]",
|
|
3834
|
+
onClick: () => {
|
|
3835
|
+
l.reset(), g.reset();
|
|
3836
|
+
},
|
|
3837
|
+
children: [
|
|
3838
|
+
i,
|
|
3839
|
+
"%"
|
|
3840
|
+
]
|
|
3841
|
+
}
|
|
3842
|
+
) }),
|
|
3843
|
+
/* @__PURE__ */ s.jsx(
|
|
3844
|
+
V,
|
|
3845
|
+
{
|
|
3846
|
+
variant: "filled",
|
|
3847
|
+
color: "white",
|
|
3848
|
+
className: "py-[26px]",
|
|
3849
|
+
onClick: l.zoomIn,
|
|
3850
|
+
children: /* @__PURE__ */ s.jsx(ee, { icon: "lucide:plus" })
|
|
3851
|
+
}
|
|
3852
|
+
)
|
|
3853
|
+
] }),
|
|
3854
|
+
/* @__PURE__ */ s.jsxs(Pe, { className: "divide-x-0 h-[52px]", children: [
|
|
3855
|
+
/* @__PURE__ */ s.jsx(
|
|
3856
|
+
V,
|
|
3857
|
+
{
|
|
3858
|
+
variant: "filled",
|
|
3859
|
+
color: "white",
|
|
3860
|
+
className: "py-[26px]",
|
|
3861
|
+
onClick: d.rotateClockwise,
|
|
3862
|
+
children: /* @__PURE__ */ s.jsx(ee, { icon: "lucide:iteration-cw" })
|
|
3863
|
+
}
|
|
3864
|
+
),
|
|
3865
|
+
/* @__PURE__ */ s.jsx(
|
|
3866
|
+
V,
|
|
3867
|
+
{
|
|
3868
|
+
variant: "filled",
|
|
3869
|
+
color: "white",
|
|
3870
|
+
className: "py-[26px]",
|
|
3871
|
+
onClick: d.rotateCounterClockwise,
|
|
3872
|
+
children: /* @__PURE__ */ s.jsx(ee, { icon: "lucide:iteration-ccw" })
|
|
3873
|
+
}
|
|
3874
|
+
)
|
|
3875
|
+
] }),
|
|
3876
|
+
/* @__PURE__ */ s.jsxs(Pe, { className: "divide-x-0 ", children: [
|
|
3877
|
+
/* @__PURE__ */ s.jsx(
|
|
3878
|
+
V,
|
|
3879
|
+
{
|
|
3880
|
+
variant: "filled",
|
|
3881
|
+
color: "white",
|
|
3882
|
+
className: "py-[26px]",
|
|
3883
|
+
onClick: j.prevPage,
|
|
3884
|
+
disabled: x === 1,
|
|
3885
|
+
children: /* @__PURE__ */ s.jsx(ee, { icon: "lucide:chevron-left" })
|
|
3886
|
+
}
|
|
3887
|
+
),
|
|
3888
|
+
/* @__PURE__ */ s.jsx(
|
|
3889
|
+
"input",
|
|
3890
|
+
{
|
|
3891
|
+
className: "bg-white pl-4 flex items-center w-[50px] text-center focus:outline-none w-[60px]",
|
|
3892
|
+
value: x,
|
|
3893
|
+
onChange: (M) => {
|
|
3894
|
+
const I = parseInt(M.target.value);
|
|
3895
|
+
isNaN(I) || j.goToPage(I);
|
|
3896
|
+
},
|
|
3897
|
+
type: "number",
|
|
3898
|
+
min: "1",
|
|
3899
|
+
max: t
|
|
3900
|
+
}
|
|
3901
|
+
),
|
|
3902
|
+
/* @__PURE__ */ s.jsxs("div", { className: "flex items-center bg-white px-2", children: [
|
|
3903
|
+
"of ",
|
|
3904
|
+
t
|
|
3905
|
+
] }),
|
|
3906
|
+
/* @__PURE__ */ s.jsx(
|
|
3907
|
+
V,
|
|
3908
|
+
{
|
|
3909
|
+
variant: "filled",
|
|
3910
|
+
color: "white",
|
|
3911
|
+
className: "py-[26px]",
|
|
3912
|
+
onClick: j.nextPage,
|
|
3913
|
+
disabled: x === t,
|
|
3914
|
+
children: /* @__PURE__ */ s.jsx(ee, { icon: "lucide:chevron-right" })
|
|
3915
|
+
}
|
|
3916
|
+
)
|
|
3917
|
+
] })
|
|
3918
|
+
] })
|
|
3919
|
+
] }) })
|
|
3920
|
+
] });
|
|
3921
|
+
}, Dt = (r) => {
|
|
3922
|
+
const [t, n] = H({ width: 1, height: 2 });
|
|
3923
|
+
return Ur(() => {
|
|
3924
|
+
if (r.current) {
|
|
3925
|
+
const { current: o } = r, i = o.getBoundingClientRect(), { width: l, height: u } = i;
|
|
3926
|
+
n({ width: Math.round(l), height: Math.round(u) });
|
|
3927
|
+
}
|
|
3928
|
+
}, [r]), t;
|
|
3929
|
+
}, Xt = ({
|
|
3930
|
+
onClose: r,
|
|
3931
|
+
src: t,
|
|
3932
|
+
title: n = "PDF Viewer",
|
|
3933
|
+
className: o
|
|
3934
|
+
}) => {
|
|
3935
|
+
const i = Br(null);
|
|
3936
|
+
Dt(i);
|
|
3937
|
+
const l = /* @__PURE__ */ s.jsx(V, { variant: "text", color: "gray", children: /* @__PURE__ */ s.jsx("a", { href: t, target: "_blank", rel: "noopener noreferrer", children: /* @__PURE__ */ s.jsx(vr, { className: "size-4" }) }) });
|
|
3938
|
+
return /* @__PURE__ */ s.jsxs("div", { className: fe("shadow rounded-t-lg flex flex-col h-full", o), children: [
|
|
3939
|
+
/* @__PURE__ */ s.jsx(br.Header, { onClose: r, right: l, children: n }),
|
|
3940
|
+
/* @__PURE__ */ s.jsx("div", { className: "flex-1 grid", children: /* @__PURE__ */ s.jsx("div", { className: "grid relative", children: /* @__PURE__ */ s.jsx(
|
|
3941
|
+
"div",
|
|
3942
|
+
{
|
|
3943
|
+
ref: i,
|
|
3944
|
+
className: "overflow-hidden col-start-1 row-start-1 bg-gray-200 h-full relative",
|
|
3945
|
+
children: /* @__PURE__ */ s.jsx(
|
|
3946
|
+
"embed",
|
|
3947
|
+
{
|
|
3948
|
+
src: `${t}#view=FitH&navpanes=0&scrollbar=0`,
|
|
3949
|
+
type: "application/pdf",
|
|
3950
|
+
width: "100%",
|
|
3951
|
+
height: "100%",
|
|
3952
|
+
style: { border: "none" }
|
|
3953
|
+
}
|
|
3954
|
+
)
|
|
3955
|
+
}
|
|
3956
|
+
) }) })
|
|
3957
|
+
] });
|
|
3958
|
+
};
|
|
3665
3959
|
export {
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3960
|
+
Zt as HelloWorld,
|
|
3961
|
+
qt as ImageViewer,
|
|
3962
|
+
Jt as InputPrompt,
|
|
3963
|
+
Xt as PdfViewer,
|
|
3964
|
+
Kt as Sidebar,
|
|
3965
|
+
Yt as materialTheme,
|
|
3966
|
+
Bt as tailwindTheme
|
|
3671
3967
|
};
|