@maia-insurance/ui 1.0.2-c.69-canary.4 → 1.0.2-c.69-canary.6
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/index.css +1 -1
- package/dist/index.js +650 -641
- package/dist/lib/components/form/money/money.d.ts +3 -1
- package/dist/lib/components/form/money/money.d.ts.map +1 -1
- package/dist/lib/components/form/number/number.d.ts +3 -1
- package/dist/lib/components/form/number/number.d.ts.map +1 -1
- package/dist/lib/components/form/radio-horizontal/radio-horizontal.css.d.ts.map +1 -1
- package/dist/lib/components/form/shared/input.css.d.ts +1 -0
- package/dist/lib/components/form/shared/input.css.d.ts.map +1 -1
- package/dist/lib/components/form/shared/input.d.ts +1 -0
- package/dist/lib/components/form/shared/input.d.ts.map +1 -1
- package/dist/lib/components/form/statement-elevated/statement-elevated.d.ts +4 -0
- package/dist/lib/components/form/statement-elevated/statement-elevated.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13734,7 +13734,7 @@ function vn(t) {
|
|
|
13734
13734
|
const { children: e, ...n } = t;
|
|
13735
13735
|
return /* @__PURE__ */ D(B$, { ...n, children: e });
|
|
13736
13736
|
}
|
|
13737
|
-
var H5 = "_1ch5unk0", W5 = "_1ch5unk1", q5 = "_1ch5unk2", G5 = "_1ch5unk3", Y5 = "_1ch5unk4 _1ch5unk2", Z5 = "_1ch5unk5 _1ch5unk2";
|
|
13737
|
+
var H5 = "_1ch5unk0", W5 = "_1ch5unk1", q5 = "_1ch5unk2", G5 = "_1ch5unk3", Y5 = "_1ch5unk4 _1ch5unk2", Z5 = "_1ch5unk5 _1ch5unk2", J5 = "_1ch5unk6";
|
|
13738
13738
|
function it(t) {
|
|
13739
13739
|
const {
|
|
13740
13740
|
label: e,
|
|
@@ -13743,47 +13743,49 @@ function it(t) {
|
|
|
13743
13743
|
hint: i,
|
|
13744
13744
|
error: a,
|
|
13745
13745
|
moreInformation: o,
|
|
13746
|
-
|
|
13746
|
+
isRequired: s,
|
|
13747
|
+
...l
|
|
13747
13748
|
} = t;
|
|
13748
|
-
return /* @__PURE__ */ Z("div", { className: H5, ...
|
|
13749
|
+
return /* @__PURE__ */ Z("div", { className: H5, ...l, children: [
|
|
13749
13750
|
/* @__PURE__ */ D(An, { className: W5, children: e }),
|
|
13750
13751
|
o && o,
|
|
13751
13752
|
n && /* @__PURE__ */ D(vn, { className: q5, slot: "description", children: n }),
|
|
13753
|
+
!s && /* @__PURE__ */ D("span", { className: J5, children: "(optioneel)" }),
|
|
13752
13754
|
/* @__PURE__ */ D("div", { className: G5, children: r }),
|
|
13753
13755
|
i && /* @__PURE__ */ D("span", { className: Y5, children: i }),
|
|
13754
13756
|
a && /* @__PURE__ */ D(vn, { slot: "errorMessage", className: Z5, children: a })
|
|
13755
13757
|
] });
|
|
13756
13758
|
}
|
|
13757
|
-
var
|
|
13758
|
-
function
|
|
13759
|
+
var X5 = "_1l771r13 _1owkpoa0";
|
|
13760
|
+
function aw(t) {
|
|
13759
13761
|
const { inputProps: e, ...n } = t;
|
|
13760
13762
|
return /* @__PURE__ */ D(Ot, { ...e, children: /* @__PURE__ */ D(it, { ...n, children: /* @__PURE__ */ D(
|
|
13761
13763
|
ut,
|
|
13762
13764
|
{
|
|
13763
|
-
className:
|
|
13765
|
+
className: X5,
|
|
13764
13766
|
placeholder: e.placeholder
|
|
13765
13767
|
}
|
|
13766
13768
|
) }) });
|
|
13767
13769
|
}
|
|
13768
|
-
var tb = "lwqo020",
|
|
13769
|
-
function
|
|
13770
|
+
var tb = "lwqo020", Q5 = "x4qdfv0 _1owkpoa0", ex = "x4qdfv1", tx = "x4qdfv2", nx = "x4qdfv3", rx = "x4qdfv4";
|
|
13771
|
+
function ow(t) {
|
|
13770
13772
|
const { inputProps: e, options: n, dropdownIcon: r, ...i } = t;
|
|
13771
13773
|
return /* @__PURE__ */ D(I5, { ...e, children: /* @__PURE__ */ Z(it, { ...i, children: [
|
|
13772
|
-
/* @__PURE__ */ Z(Ht, { className:
|
|
13773
|
-
/* @__PURE__ */ D(K5, { className:
|
|
13774
|
+
/* @__PURE__ */ Z(Ht, { className: Q5, children: [
|
|
13775
|
+
/* @__PURE__ */ D(K5, { className: ex }),
|
|
13774
13776
|
r
|
|
13775
13777
|
] }),
|
|
13776
13778
|
/* @__PURE__ */ D(
|
|
13777
13779
|
h5,
|
|
13778
13780
|
{
|
|
13779
|
-
className: [tb,
|
|
13781
|
+
className: [tb, tx].join(" "),
|
|
13780
13782
|
offset: -1,
|
|
13781
13783
|
maxHeight: 384,
|
|
13782
|
-
children: /* @__PURE__ */ D(a5, { className:
|
|
13784
|
+
children: /* @__PURE__ */ D(a5, { className: nx, children: n.map((a) => /* @__PURE__ */ D(
|
|
13783
13785
|
l5,
|
|
13784
13786
|
{
|
|
13785
13787
|
id: a.value,
|
|
13786
|
-
className:
|
|
13788
|
+
className: rx,
|
|
13787
13789
|
children: a.label
|
|
13788
13790
|
},
|
|
13789
13791
|
a.value
|
|
@@ -13792,8 +13794,8 @@ function aw(t) {
|
|
|
13792
13794
|
)
|
|
13793
13795
|
] }) });
|
|
13794
13796
|
}
|
|
13795
|
-
var
|
|
13796
|
-
function
|
|
13797
|
+
var ix = "_1jjbj8x0", ax = "_1jjbj8x1", rd = "_1jjbj8x2", ox = "_1jjbj8x3 _1owkpoa0", sx = "_1jjbj8x4 _1owkpoa0";
|
|
13798
|
+
function sw(t) {
|
|
13797
13799
|
const {
|
|
13798
13800
|
inputProps: { onChange: e, value: n, ...r },
|
|
13799
13801
|
showStepper: i = !1,
|
|
@@ -13803,8 +13805,8 @@ function ow(t) {
|
|
|
13803
13805
|
Ws,
|
|
13804
13806
|
{
|
|
13805
13807
|
className: Ge({
|
|
13806
|
-
[
|
|
13807
|
-
[
|
|
13808
|
+
[ix]: !0,
|
|
13809
|
+
[ax]: i
|
|
13808
13810
|
}),
|
|
13809
13811
|
children: [
|
|
13810
13812
|
i && /* @__PURE__ */ D(Ht, { slot: "decrement", className: rd, children: "-" }),
|
|
@@ -13814,9 +13816,10 @@ function ow(t) {
|
|
|
13814
13816
|
value: n,
|
|
13815
13817
|
onChange: (o) => e?.(o.target.value),
|
|
13816
13818
|
className: Ge({
|
|
13817
|
-
[
|
|
13818
|
-
[
|
|
13819
|
-
})
|
|
13819
|
+
[ox]: !0,
|
|
13820
|
+
[sx]: i
|
|
13821
|
+
}),
|
|
13822
|
+
placeholder: r.placeholder
|
|
13820
13823
|
}
|
|
13821
13824
|
),
|
|
13822
13825
|
i && /* @__PURE__ */ D(Ht, { slot: "increment", className: rd, children: "+" })
|
|
@@ -13824,8 +13827,8 @@ function ow(t) {
|
|
|
13824
13827
|
}
|
|
13825
13828
|
) }) });
|
|
13826
13829
|
}
|
|
13827
|
-
var
|
|
13828
|
-
function
|
|
13830
|
+
var lx = "o10bgc0", ux = "o10bgc1 _1owkpoa0";
|
|
13831
|
+
function lw(t) {
|
|
13829
13832
|
const {
|
|
13830
13833
|
inputProps: { onChange: e, value: n, ...r },
|
|
13831
13834
|
...i
|
|
@@ -13842,20 +13845,26 @@ function sw(t) {
|
|
|
13842
13845
|
currencyDisplay: "symbol",
|
|
13843
13846
|
currencySign: "standard"
|
|
13844
13847
|
},
|
|
13845
|
-
children: /* @__PURE__ */ D(it, { ...i, children: /* @__PURE__ */ D(Ws, { className:
|
|
13848
|
+
children: /* @__PURE__ */ D(it, { ...i, children: /* @__PURE__ */ D(Ws, { className: lx, children: /* @__PURE__ */ D(
|
|
13849
|
+
ut,
|
|
13850
|
+
{
|
|
13851
|
+
className: ux,
|
|
13852
|
+
placeholder: r.placeholder
|
|
13853
|
+
}
|
|
13854
|
+
) }) })
|
|
13846
13855
|
}
|
|
13847
13856
|
);
|
|
13848
13857
|
}
|
|
13849
|
-
var
|
|
13850
|
-
function
|
|
13858
|
+
var dx = "duf7mo0", cx = "duf7mo1", fx = "duf7mo2", hx = "duf7mo5", mx = "duf7mo7 duf7mo6", px = "duf7mo8 duf7mo6";
|
|
13859
|
+
function uw(t) {
|
|
13851
13860
|
const { options: e, yesIcon: n, noIcon: r, inputProps: i, icon: a, label: o, ...s } = t;
|
|
13852
|
-
return /* @__PURE__ */ Z("div", { className:
|
|
13853
|
-
/* @__PURE__ */ D("div", { className:
|
|
13854
|
-
/* @__PURE__ */ D(vn, { className:
|
|
13855
|
-
/* @__PURE__ */ D(Pn, { ...i, children: /* @__PURE__ */ D("ul", { className:
|
|
13861
|
+
return /* @__PURE__ */ Z("div", { className: dx, ...s, children: [
|
|
13862
|
+
/* @__PURE__ */ D("div", { className: fx, children: a }),
|
|
13863
|
+
/* @__PURE__ */ D(vn, { className: cx, children: o }),
|
|
13864
|
+
/* @__PURE__ */ D(Pn, { ...i, children: /* @__PURE__ */ D("ul", { className: hx, children: e.map((l) => /* @__PURE__ */ D("li", { children: /* @__PURE__ */ Z(
|
|
13856
13865
|
Wt,
|
|
13857
13866
|
{
|
|
13858
|
-
className: l.value === "J" ?
|
|
13867
|
+
className: l.value === "J" ? mx : px,
|
|
13859
13868
|
value: l.value,
|
|
13860
13869
|
children: [
|
|
13861
13870
|
l.value === "J" ? n : r,
|
|
@@ -13866,8 +13875,8 @@ function lw(t) {
|
|
|
13866
13875
|
) }, l.value)) }) })
|
|
13867
13876
|
] });
|
|
13868
13877
|
}
|
|
13869
|
-
var
|
|
13870
|
-
function
|
|
13878
|
+
var vx = "hbflfw3 _1owkpoa0";
|
|
13879
|
+
function dw(t) {
|
|
13871
13880
|
const {
|
|
13872
13881
|
inputProps: { value: e, ...n },
|
|
13873
13882
|
...r
|
|
@@ -13885,32 +13894,32 @@ function uw(t) {
|
|
|
13885
13894
|
shouldForceLeadingZeros: !0,
|
|
13886
13895
|
onChange: i,
|
|
13887
13896
|
value: e ? $4(new Date(e), "Europe/Amsterdam") : null,
|
|
13888
|
-
children: /* @__PURE__ */ D(it, { ...r, children: /* @__PURE__ */ D(P5, { className:
|
|
13897
|
+
children: /* @__PURE__ */ D(it, { ...r, children: /* @__PURE__ */ D(P5, { className: vx, children: (a) => /* @__PURE__ */ D(C5, { segment: a }) }) })
|
|
13889
13898
|
}
|
|
13890
13899
|
) });
|
|
13891
13900
|
}
|
|
13892
|
-
var
|
|
13893
|
-
function
|
|
13901
|
+
var bx = "vmdyjw0", yx = "vmdyjw1", gx = "vmdyjw2 _1o9mg180 _1o9mg182", $x = "vmdyjw3";
|
|
13902
|
+
function cw(t) {
|
|
13894
13903
|
const { title: e, description: n, ...r } = t;
|
|
13895
|
-
return /* @__PURE__ */ Z(Q0, { className:
|
|
13896
|
-
/* @__PURE__ */ D("div", { className:
|
|
13897
|
-
/* @__PURE__ */ D("span", { className:
|
|
13898
|
-
/* @__PURE__ */ D("span", { className:
|
|
13904
|
+
return /* @__PURE__ */ Z(Q0, { className: bx, ...r, children: [
|
|
13905
|
+
/* @__PURE__ */ D("div", { className: yx }),
|
|
13906
|
+
/* @__PURE__ */ D("span", { className: gx, children: e }),
|
|
13907
|
+
/* @__PURE__ */ D("span", { className: $x, children: n })
|
|
13899
13908
|
] });
|
|
13900
13909
|
}
|
|
13901
|
-
var
|
|
13902
|
-
function
|
|
13910
|
+
var xx = "_162wppj0", Dx = "_162wppj1", Ex = "_162wppj2", Px = "_162wppj3";
|
|
13911
|
+
function wx(t) {
|
|
13903
13912
|
const [e, n] = G(!1);
|
|
13904
13913
|
return /* @__PURE__ */ Z(b5, { isOpen: e, children: [
|
|
13905
|
-
/* @__PURE__ */ D("button", { type: "button", onClick: () => n(!0), className:
|
|
13906
|
-
/* @__PURE__ */ D(T5, { isDismissable: !0, className: Ge(tb,
|
|
13914
|
+
/* @__PURE__ */ D("button", { type: "button", onClick: () => n(!0), className: xx, children: "i" }),
|
|
13915
|
+
/* @__PURE__ */ D(T5, { isDismissable: !0, className: Ge(tb, Dx), children: /* @__PURE__ */ Z(y5, { className: Ex, children: [
|
|
13907
13916
|
/* @__PURE__ */ D(G0, { slot: "title", children: "Meer informatie" }),
|
|
13908
13917
|
/* @__PURE__ */ D("p", { children: t.content }),
|
|
13909
13918
|
/* @__PURE__ */ D(
|
|
13910
13919
|
Ht,
|
|
13911
13920
|
{
|
|
13912
13921
|
slot: "close",
|
|
13913
|
-
className:
|
|
13922
|
+
className: Px,
|
|
13914
13923
|
onClick: () => n(!1),
|
|
13915
13924
|
children: "X"
|
|
13916
13925
|
}
|
|
@@ -13918,7 +13927,7 @@ function Px(t) {
|
|
|
13918
13927
|
] }) })
|
|
13919
13928
|
] });
|
|
13920
13929
|
}
|
|
13921
|
-
function
|
|
13930
|
+
function Cx(t, e) {
|
|
13922
13931
|
if (typeof t != "object" || !t) return t;
|
|
13923
13932
|
var n = t[Symbol.toPrimitive];
|
|
13924
13933
|
if (n !== void 0) {
|
|
@@ -13928,12 +13937,12 @@ function wx(t, e) {
|
|
|
13928
13937
|
}
|
|
13929
13938
|
return (e === "string" ? String : Number)(t);
|
|
13930
13939
|
}
|
|
13931
|
-
function
|
|
13932
|
-
var e =
|
|
13940
|
+
function Sx(t) {
|
|
13941
|
+
var e = Cx(t, "string");
|
|
13933
13942
|
return typeof e == "symbol" ? e : String(e);
|
|
13934
13943
|
}
|
|
13935
|
-
function
|
|
13936
|
-
return e =
|
|
13944
|
+
function Tx(t, e, n) {
|
|
13945
|
+
return e = Sx(e), e in t ? Object.defineProperty(t, e, {
|
|
13937
13946
|
value: n,
|
|
13938
13947
|
enumerable: !0,
|
|
13939
13948
|
configurable: !0,
|
|
@@ -13954,7 +13963,7 @@ function ad(t) {
|
|
|
13954
13963
|
for (var e = 1; e < arguments.length; e++) {
|
|
13955
13964
|
var n = arguments[e] != null ? arguments[e] : {};
|
|
13956
13965
|
e % 2 ? id(Object(n), !0).forEach(function(r) {
|
|
13957
|
-
|
|
13966
|
+
Tx(t, r, n[r]);
|
|
13958
13967
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : id(Object(n)).forEach(function(r) {
|
|
13959
13968
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
|
|
13960
13969
|
});
|
|
@@ -13967,7 +13976,7 @@ function od(t, e) {
|
|
|
13967
13976
|
n[r] = e(t[r], r);
|
|
13968
13977
|
return n;
|
|
13969
13978
|
}
|
|
13970
|
-
var
|
|
13979
|
+
var Ax = (t, e, n) => {
|
|
13971
13980
|
for (var r of Object.keys(t)) {
|
|
13972
13981
|
var i;
|
|
13973
13982
|
if (t[r] !== ((i = e[r]) !== null && i !== void 0 ? i : n[r]))
|
|
@@ -13990,7 +13999,7 @@ var Tx = (t, e, n) => {
|
|
|
13990
13999
|
}
|
|
13991
14000
|
}
|
|
13992
14001
|
for (var [d, c] of t.compoundVariants)
|
|
13993
|
-
|
|
14002
|
+
Ax(d, i, t.defaultVariants) && (r += " " + c);
|
|
13994
14003
|
return r;
|
|
13995
14004
|
};
|
|
13996
14005
|
return e.variants = () => Object.keys(t.variantClassNames), e.classNames = {
|
|
@@ -14001,8 +14010,8 @@ var Tx = (t, e, n) => {
|
|
|
14001
14010
|
return od(t.variantClassNames, (n) => od(n, (r) => r.split(" ")[0]));
|
|
14002
14011
|
}
|
|
14003
14012
|
}, e;
|
|
14004
|
-
},
|
|
14005
|
-
function
|
|
14013
|
+
}, Fx = "_1ehm1em0", Bx = "_1ehm1em1", Mx = pt({ defaultClassName: "_1ehm1em2", variantClassNames: { type: { found: "_1ehm1em3", editFound: "_1ehm1em4", notFound: "_1ehm1em5", idle: "_1ehm1em6" } }, defaultVariants: {}, compoundVariants: [] }), sd = "_1ehm1em7", dr = pt({ defaultClassName: "_1ehm1em9", variantClassNames: { type: { postcode: "_1ehm1ema", huisnummer: "_1ehm1emb", toevoeging: "_1ehm1emc", straat: "_1ehm1emd", plaats: "_1ehm1eme" } }, defaultVariants: {}, compoundVariants: [] }), kx = "_1ehm1emf _1o9mg180 _1o9mg182", cr = "_1ehm1emg _1o9mg180 _1o9mg181", fr = "_1ehm1emh _1owkpoa0";
|
|
14014
|
+
function fw(t) {
|
|
14006
14015
|
const {
|
|
14007
14016
|
title: e,
|
|
14008
14017
|
moreInformation: n,
|
|
@@ -14024,15 +14033,15 @@ function cw(t) {
|
|
|
14024
14033
|
},
|
|
14025
14034
|
[i, r]
|
|
14026
14035
|
), f = l === "not-found" || l === "edit-found";
|
|
14027
|
-
return /* @__PURE__ */ Z("fieldset", { className:
|
|
14028
|
-
/* @__PURE__ */ Z("div", { className:
|
|
14029
|
-
/* @__PURE__ */ D("legend", { className:
|
|
14030
|
-
n && /* @__PURE__ */ D(
|
|
14036
|
+
return /* @__PURE__ */ Z("fieldset", { className: Fx, ...d, children: [
|
|
14037
|
+
/* @__PURE__ */ Z("div", { className: Bx, children: [
|
|
14038
|
+
/* @__PURE__ */ D("legend", { className: kx, children: e }),
|
|
14039
|
+
n && /* @__PURE__ */ D(wx, { content: n })
|
|
14031
14040
|
] }),
|
|
14032
14041
|
/* @__PURE__ */ Z(
|
|
14033
14042
|
"div",
|
|
14034
14043
|
{
|
|
14035
|
-
className:
|
|
14044
|
+
className: Mx({
|
|
14036
14045
|
type: l === "found" && typeof a == "function" ? "found" : l === "not-found" && typeof o == "function" ? "notFound" : l === "not-found" || l === "edit-found" ? "editFound" : "idle"
|
|
14037
14046
|
}),
|
|
14038
14047
|
children: [
|
|
@@ -14144,18 +14153,18 @@ function cw(t) {
|
|
|
14144
14153
|
)
|
|
14145
14154
|
] });
|
|
14146
14155
|
}
|
|
14147
|
-
var
|
|
14148
|
-
function
|
|
14156
|
+
var Nx = "rodgrj3 _1owkpoa0";
|
|
14157
|
+
function hw(t) {
|
|
14149
14158
|
const { inputProps: e, ...n } = t;
|
|
14150
14159
|
return /* @__PURE__ */ D(Ot, { ...e, children: /* @__PURE__ */ D(it, { ...n, children: /* @__PURE__ */ D(
|
|
14151
14160
|
z5,
|
|
14152
14161
|
{
|
|
14153
|
-
className:
|
|
14162
|
+
className: Nx,
|
|
14154
14163
|
placeholder: e.placeholder
|
|
14155
14164
|
}
|
|
14156
14165
|
) }) });
|
|
14157
14166
|
}
|
|
14158
|
-
var
|
|
14167
|
+
var Vx = pt({ defaultClassName: "_1nbqjxw0", variantClassNames: { size: { small: "_1nbqjxw1", default: "_1nbqjxw2", large: "_1nbqjxw3" }, width: { fit: "_1nbqjxw4", full: "_1nbqjxw5" }, intent: { cta: "_1nbqjxw6", default: "_1nbqjxw7", secondary: "_1nbqjxw8", tertiary: "_1nbqjxw9", error: "_1nbqjxwa", info: "_1nbqjxwb", success: "_1nbqjxwc", warning: "_1nbqjxwd" } }, defaultVariants: { size: "default", intent: "default", width: "fit" }, compoundVariants: [] }), Rx = pt({ defaultClassName: "_1nbqjxwe", variantClassNames: { size: { small: "_1nbqjxwf", default: "_1nbqjxwg", large: "_1nbqjxwh" } }, defaultVariants: {}, compoundVariants: [] }), Ix = "_1wa227v1", Lx = pt({ defaultClassName: "_1wa227v2", variantClassNames: { size: { small: "_1wa227v3", default: "_1wa227v4" }, color: { success: "_1wa227v5", white: "_1wa227v6", blue: "_1wa227v7", red: "_1wa227v8", green: "_1wa227v9" } }, defaultVariants: { size: "default", color: "success" }, compoundVariants: [] });
|
|
14159
14168
|
const Xs = H({});
|
|
14160
14169
|
function Qs(t) {
|
|
14161
14170
|
const e = L(null);
|
|
@@ -14192,7 +14201,7 @@ function rl(t) {
|
|
|
14192
14201
|
let e;
|
|
14193
14202
|
return () => (e === void 0 && (e = t()), e);
|
|
14194
14203
|
}
|
|
14195
|
-
const qe = /* @__NO_SIDE_EFFECTS__ */ (t) => t,
|
|
14204
|
+
const qe = /* @__NO_SIDE_EFFECTS__ */ (t) => t, Ox = (t, e) => (n) => e(t(n)), Gr = (...t) => t.reduce(Ox), Mr = /* @__NO_SIDE_EFFECTS__ */ (t, e, n) => {
|
|
14196
14205
|
const r = e - t;
|
|
14197
14206
|
return r === 0 ? 1 : (n - t) / r;
|
|
14198
14207
|
};
|
|
@@ -14229,25 +14238,25 @@ const ld = /* @__PURE__ */ new Set();
|
|
|
14229
14238
|
function al(t, e, n) {
|
|
14230
14239
|
t || ld.has(e) || (console.warn(_o(e, n)), ld.add(e));
|
|
14231
14240
|
}
|
|
14232
|
-
const sb = (t, e, n) => (((1 - 3 * n + 3 * e) * t + (3 * n - 6 * e)) * t + 3 * e) * t,
|
|
14233
|
-
function
|
|
14241
|
+
const sb = (t, e, n) => (((1 - 3 * n + 3 * e) * t + (3 * n - 6 * e)) * t + 3 * e) * t, Kx = 1e-7, jx = 12;
|
|
14242
|
+
function _x(t, e, n, r, i) {
|
|
14234
14243
|
let a, o, s = 0;
|
|
14235
14244
|
do
|
|
14236
14245
|
o = e + (n - e) / 2, a = sb(o, r, i) - t, a > 0 ? n = o : e = o;
|
|
14237
|
-
while (Math.abs(a) >
|
|
14246
|
+
while (Math.abs(a) > Kx && ++s < jx);
|
|
14238
14247
|
return o;
|
|
14239
14248
|
}
|
|
14240
14249
|
function Yr(t, e, n, r) {
|
|
14241
14250
|
if (t === e && n === r)
|
|
14242
14251
|
return qe;
|
|
14243
|
-
const i = (a) =>
|
|
14252
|
+
const i = (a) => _x(a, 0, 1, t, n);
|
|
14244
14253
|
return (a) => a === 0 || a === 1 ? a : sb(i(a), e, r);
|
|
14245
14254
|
}
|
|
14246
|
-
const lb = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, ub = (t) => (e) => 1 - t(1 - e), db = /* @__PURE__ */ Yr(0.33, 1.53, 0.69, 0.99), ol = /* @__PURE__ */ ub(db), cb = /* @__PURE__ */ lb(ol), fb = (t) => (t *= 2) < 1 ? 0.5 * ol(t) : 0.5 * (2 - Math.pow(2, -10 * (t - 1))), sl = (t) => 1 - Math.sin(Math.acos(t)), hb = ub(sl), mb = lb(sl),
|
|
14255
|
+
const lb = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, ub = (t) => (e) => 1 - t(1 - e), db = /* @__PURE__ */ Yr(0.33, 1.53, 0.69, 0.99), ol = /* @__PURE__ */ ub(db), cb = /* @__PURE__ */ lb(ol), fb = (t) => (t *= 2) < 1 ? 0.5 * ol(t) : 0.5 * (2 - Math.pow(2, -10 * (t - 1))), sl = (t) => 1 - Math.sin(Math.acos(t)), hb = ub(sl), mb = lb(sl), zx = /* @__PURE__ */ Yr(0.42, 0, 1, 1), Ux = /* @__PURE__ */ Yr(0, 0, 0.58, 1), pb = /* @__PURE__ */ Yr(0.42, 0, 0.58, 1), Hx = (t) => Array.isArray(t) && typeof t[0] != "number", vb = (t) => Array.isArray(t) && typeof t[0] == "number", ud = {
|
|
14247
14256
|
linear: qe,
|
|
14248
|
-
easeIn:
|
|
14257
|
+
easeIn: zx,
|
|
14249
14258
|
easeInOut: pb,
|
|
14250
|
-
easeOut:
|
|
14259
|
+
easeOut: Ux,
|
|
14251
14260
|
circIn: sl,
|
|
14252
14261
|
circInOut: mb,
|
|
14253
14262
|
circOut: hb,
|
|
@@ -14255,12 +14264,12 @@ const lb = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, ub
|
|
|
14255
14264
|
backInOut: cb,
|
|
14256
14265
|
backOut: db,
|
|
14257
14266
|
anticipate: fb
|
|
14258
|
-
},
|
|
14267
|
+
}, Wx = (t) => typeof t == "string", dd = (t) => {
|
|
14259
14268
|
if (vb(t)) {
|
|
14260
14269
|
Et(t.length === 4, "Cubic bezier arrays must contain four numerical values.", "cubic-bezier-length");
|
|
14261
14270
|
const [e, n, r, i] = t;
|
|
14262
14271
|
return Yr(e, n, r, i);
|
|
14263
|
-
} else if (
|
|
14272
|
+
} else if (Wx(t))
|
|
14264
14273
|
return Et(ud[t] !== void 0, `Invalid easing type '${t}'`, "invalid-easing-type"), ud[t];
|
|
14265
14274
|
return t;
|
|
14266
14275
|
}, fi = [
|
|
@@ -14281,7 +14290,7 @@ const lb = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, ub
|
|
|
14281
14290
|
"postRender"
|
|
14282
14291
|
// Compute
|
|
14283
14292
|
];
|
|
14284
|
-
function
|
|
14293
|
+
function qx(t, e) {
|
|
14285
14294
|
let n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = !1, a = !1;
|
|
14286
14295
|
const o = /* @__PURE__ */ new WeakSet();
|
|
14287
14296
|
let s = {
|
|
@@ -14319,16 +14328,16 @@ function Wx(t, e) {
|
|
|
14319
14328
|
};
|
|
14320
14329
|
return u;
|
|
14321
14330
|
}
|
|
14322
|
-
const
|
|
14331
|
+
const Gx = 40;
|
|
14323
14332
|
function bb(t, e) {
|
|
14324
14333
|
let n = !1, r = !0;
|
|
14325
14334
|
const i = {
|
|
14326
14335
|
delta: 0,
|
|
14327
14336
|
timestamp: 0,
|
|
14328
14337
|
isProcessing: !1
|
|
14329
|
-
}, a = () => n = !0, o = fi.reduce(($, E) => ($[E] =
|
|
14338
|
+
}, a = () => n = !0, o = fi.reduce(($, E) => ($[E] = qx(a), $), {}), { setup: s, read: l, resolveKeyframes: u, preUpdate: d, update: c, preRender: f, render: h, postRender: m } = o, p = () => {
|
|
14330
14339
|
const $ = Pt.useManualTiming ? i.timestamp : performance.now();
|
|
14331
|
-
n = !1, Pt.useManualTiming || (i.delta = r ? 1e3 / 60 : Math.max(Math.min($ - i.timestamp,
|
|
14340
|
+
n = !1, Pt.useManualTiming || (i.delta = r ? 1e3 / 60 : Math.max(Math.min($ - i.timestamp, Gx), 1)), i.timestamp = $, i.isProcessing = !0, s.process(i), l.process(i), u.process(i), d.process(i), c.process(i), f.process(i), h.process(i), m.process(i), i.isProcessing = !1, n && e && (r = !1, t(p));
|
|
14332
14341
|
}, v = () => {
|
|
14333
14342
|
n = !0, r = !0, i.isProcessing || t(p);
|
|
14334
14343
|
};
|
|
@@ -14342,15 +14351,15 @@ function bb(t, e) {
|
|
|
14342
14351
|
}
|
|
14343
14352
|
const { schedule: fe, cancel: qt, state: Te, steps: Ja } = /* @__PURE__ */ bb(typeof requestAnimationFrame < "u" ? requestAnimationFrame : qe, !0);
|
|
14344
14353
|
let wi;
|
|
14345
|
-
function
|
|
14354
|
+
function Yx() {
|
|
14346
14355
|
wi = void 0;
|
|
14347
14356
|
}
|
|
14348
14357
|
const Le = {
|
|
14349
14358
|
now: () => (wi === void 0 && Le.set(Te.isProcessing || Pt.useManualTiming ? Te.timestamp : performance.now()), wi),
|
|
14350
14359
|
set: (t) => {
|
|
14351
|
-
wi = t, queueMicrotask(
|
|
14360
|
+
wi = t, queueMicrotask(Yx);
|
|
14352
14361
|
}
|
|
14353
|
-
}, yb = (t) => (e) => typeof e == "string" && e.startsWith(t), ll = /* @__PURE__ */ yb("--"),
|
|
14362
|
+
}, yb = (t) => (e) => typeof e == "string" && e.startsWith(t), ll = /* @__PURE__ */ yb("--"), Zx = /* @__PURE__ */ yb("var(--"), ul = (t) => Zx(t) ? Jx.test(t.split("/*")[0].trim()) : !1, Jx = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, nr = {
|
|
14354
14363
|
test: (t) => typeof t == "number",
|
|
14355
14364
|
parse: parseFloat,
|
|
14356
14365
|
transform: (t) => t
|
|
@@ -14361,10 +14370,10 @@ const Le = {
|
|
|
14361
14370
|
...nr,
|
|
14362
14371
|
default: 1
|
|
14363
14372
|
}, Dr = (t) => Math.round(t * 1e5) / 1e5, dl = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
|
|
14364
|
-
function
|
|
14373
|
+
function Xx(t) {
|
|
14365
14374
|
return t == null;
|
|
14366
14375
|
}
|
|
14367
|
-
const
|
|
14376
|
+
const Qx = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, cl = (t, e) => (n) => !!(typeof n == "string" && Qx.test(n) && n.startsWith(t) || e && !Xx(n) && Object.prototype.hasOwnProperty.call(n, e)), gb = (t, e, n) => (r) => {
|
|
14368
14377
|
if (typeof r != "string")
|
|
14369
14378
|
return r;
|
|
14370
14379
|
const [i, a, o, s] = r.match(dl);
|
|
@@ -14374,15 +14383,15 @@ const Xx = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
|
|
|
14374
14383
|
[n]: parseFloat(o),
|
|
14375
14384
|
alpha: s !== void 0 ? parseFloat(s) : 1
|
|
14376
14385
|
};
|
|
14377
|
-
},
|
|
14386
|
+
}, e2 = (t) => Dt(0, 255, t), Xa = {
|
|
14378
14387
|
...nr,
|
|
14379
|
-
transform: (t) => Math.round(
|
|
14388
|
+
transform: (t) => Math.round(e2(t))
|
|
14380
14389
|
}, sn = {
|
|
14381
14390
|
test: /* @__PURE__ */ cl("rgb", "red"),
|
|
14382
14391
|
parse: /* @__PURE__ */ gb("red", "green", "blue"),
|
|
14383
14392
|
transform: ({ red: t, green: e, blue: n, alpha: r = 1 }) => "rgba(" + Xa.transform(t) + ", " + Xa.transform(e) + ", " + Xa.transform(n) + ", " + Dr(kr.transform(r)) + ")"
|
|
14384
14393
|
};
|
|
14385
|
-
function
|
|
14394
|
+
function t2(t) {
|
|
14386
14395
|
let e = "", n = "", r = "", i = "";
|
|
14387
14396
|
return t.length > 5 ? (e = t.substring(1, 3), n = t.substring(3, 5), r = t.substring(5, 7), i = t.substring(7, 9)) : (e = t.substring(1, 2), n = t.substring(2, 3), r = t.substring(3, 4), i = t.substring(4, 5), e += e, n += n, r += r, i += i), {
|
|
14388
14397
|
red: parseInt(e, 16),
|
|
@@ -14393,13 +14402,13 @@ function e2(t) {
|
|
|
14393
14402
|
}
|
|
14394
14403
|
const zo = {
|
|
14395
14404
|
test: /* @__PURE__ */ cl("#"),
|
|
14396
|
-
parse:
|
|
14405
|
+
parse: t2,
|
|
14397
14406
|
transform: sn.transform
|
|
14398
14407
|
}, Zr = /* @__NO_SIDE_EFFECTS__ */ (t) => ({
|
|
14399
14408
|
test: (e) => typeof e == "string" && e.endsWith(t) && e.split(" ").length === 1,
|
|
14400
14409
|
parse: parseFloat,
|
|
14401
14410
|
transform: (e) => `${e}${t}`
|
|
14402
|
-
}), Mt = /* @__PURE__ */ Zr("deg"), mt = /* @__PURE__ */ Zr("%"), J = /* @__PURE__ */ Zr("px"),
|
|
14411
|
+
}), Mt = /* @__PURE__ */ Zr("deg"), mt = /* @__PURE__ */ Zr("%"), J = /* @__PURE__ */ Zr("px"), n2 = /* @__PURE__ */ Zr("vh"), r2 = /* @__PURE__ */ Zr("vw"), cd = {
|
|
14403
14412
|
...mt,
|
|
14404
14413
|
parse: (t) => mt.parse(t) / 100,
|
|
14405
14414
|
transform: (t) => mt.transform(t * 100)
|
|
@@ -14415,11 +14424,11 @@ const zo = {
|
|
|
14415
14424
|
const e = Pe.parse(t);
|
|
14416
14425
|
return e.alpha = 0, Pe.transform(e);
|
|
14417
14426
|
}
|
|
14418
|
-
},
|
|
14419
|
-
function
|
|
14420
|
-
return isNaN(t) && typeof t == "string" && (t.match(dl)?.length || 0) + (t.match(
|
|
14427
|
+
}, i2 = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
|
|
14428
|
+
function a2(t) {
|
|
14429
|
+
return isNaN(t) && typeof t == "string" && (t.match(dl)?.length || 0) + (t.match(i2)?.length || 0) > 0;
|
|
14421
14430
|
}
|
|
14422
|
-
const $b = "number", xb = "color",
|
|
14431
|
+
const $b = "number", xb = "color", o2 = "var", s2 = "var(", fd = "${}", l2 = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
|
|
14423
14432
|
function Nr(t) {
|
|
14424
14433
|
const e = t.toString(), n = [], r = {
|
|
14425
14434
|
color: [],
|
|
@@ -14427,7 +14436,7 @@ function Nr(t) {
|
|
|
14427
14436
|
var: []
|
|
14428
14437
|
}, i = [];
|
|
14429
14438
|
let a = 0;
|
|
14430
|
-
const s = e.replace(
|
|
14439
|
+
const s = e.replace(l2, (l) => (Pe.test(l) ? (r.color.push(a), i.push(xb), n.push(Pe.parse(l))) : l.startsWith(s2) ? (r.var.push(a), i.push(o2), n.push(l)) : (r.number.push(a), i.push($b), n.push(parseFloat(l))), ++a, fd)).split(fd);
|
|
14431
14440
|
return { values: n, split: s, indexes: r, types: i };
|
|
14432
14441
|
}
|
|
14433
14442
|
function Db(t) {
|
|
@@ -14445,21 +14454,21 @@ function Eb(t) {
|
|
|
14445
14454
|
return a;
|
|
14446
14455
|
};
|
|
14447
14456
|
}
|
|
14448
|
-
const
|
|
14449
|
-
function
|
|
14457
|
+
const u2 = (t) => typeof t == "number" ? 0 : Pe.test(t) ? Pe.getAnimatableNone(t) : t;
|
|
14458
|
+
function d2(t) {
|
|
14450
14459
|
const e = Db(t);
|
|
14451
|
-
return Eb(t)(e.map(
|
|
14460
|
+
return Eb(t)(e.map(u2));
|
|
14452
14461
|
}
|
|
14453
14462
|
const Gt = {
|
|
14454
|
-
test:
|
|
14463
|
+
test: a2,
|
|
14455
14464
|
parse: Db,
|
|
14456
14465
|
createTransformer: Eb,
|
|
14457
|
-
getAnimatableNone:
|
|
14466
|
+
getAnimatableNone: d2
|
|
14458
14467
|
};
|
|
14459
14468
|
function Qa(t, e, n) {
|
|
14460
14469
|
return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? t + (e - t) * 6 * n : n < 1 / 2 ? e : n < 2 / 3 ? t + (e - t) * (2 / 3 - n) * 6 : t;
|
|
14461
14470
|
}
|
|
14462
|
-
function
|
|
14471
|
+
function c2({ hue: t, saturation: e, lightness: n, alpha: r }) {
|
|
14463
14472
|
t /= 360, e /= 100, n /= 100;
|
|
14464
14473
|
let i = 0, a = 0, o = 0;
|
|
14465
14474
|
if (!e)
|
|
@@ -14481,13 +14490,13 @@ function Yi(t, e) {
|
|
|
14481
14490
|
const pe = (t, e, n) => t + (e - t) * n, eo = (t, e, n) => {
|
|
14482
14491
|
const r = t * t, i = n * (e * e - r) + r;
|
|
14483
14492
|
return i < 0 ? 0 : Math.sqrt(i);
|
|
14484
|
-
},
|
|
14493
|
+
}, f2 = [zo, sn, Mn], h2 = (t) => f2.find((e) => e.test(t));
|
|
14485
14494
|
function hd(t) {
|
|
14486
|
-
const e =
|
|
14495
|
+
const e = h2(t);
|
|
14487
14496
|
if (tr(!!e, `'${t}' is not an animatable color. Use the equivalent color code instead.`, "color-not-animatable"), !e)
|
|
14488
14497
|
return !1;
|
|
14489
14498
|
let n = e.parse(t);
|
|
14490
|
-
return e === Mn && (n =
|
|
14499
|
+
return e === Mn && (n = c2(n)), n;
|
|
14491
14500
|
}
|
|
14492
14501
|
const md = (t, e) => {
|
|
14493
14502
|
const n = hd(t), r = hd(e);
|
|
@@ -14496,14 +14505,14 @@ const md = (t, e) => {
|
|
|
14496
14505
|
const i = { ...n };
|
|
14497
14506
|
return (a) => (i.red = eo(n.red, r.red, a), i.green = eo(n.green, r.green, a), i.blue = eo(n.blue, r.blue, a), i.alpha = pe(n.alpha, r.alpha, a), sn.transform(i));
|
|
14498
14507
|
}, Uo = /* @__PURE__ */ new Set(["none", "hidden"]);
|
|
14499
|
-
function
|
|
14508
|
+
function m2(t, e) {
|
|
14500
14509
|
return Uo.has(t) ? (n) => n <= 0 ? t : e : (n) => n >= 1 ? e : t;
|
|
14501
14510
|
}
|
|
14502
|
-
function
|
|
14511
|
+
function p2(t, e) {
|
|
14503
14512
|
return (n) => pe(t, e, n);
|
|
14504
14513
|
}
|
|
14505
14514
|
function fl(t) {
|
|
14506
|
-
return typeof t == "number" ?
|
|
14515
|
+
return typeof t == "number" ? p2 : typeof t == "string" ? ul(t) ? Yi : Pe.test(t) ? md : y2 : Array.isArray(t) ? Pb : typeof t == "object" ? Pe.test(t) ? md : v2 : Yi;
|
|
14507
14516
|
}
|
|
14508
14517
|
function Pb(t, e) {
|
|
14509
14518
|
const n = [...t], r = n.length, i = t.map((a, o) => fl(a)(a, e[o]));
|
|
@@ -14513,7 +14522,7 @@ function Pb(t, e) {
|
|
|
14513
14522
|
return n;
|
|
14514
14523
|
};
|
|
14515
14524
|
}
|
|
14516
|
-
function
|
|
14525
|
+
function v2(t, e) {
|
|
14517
14526
|
const n = { ...t, ...e }, r = {};
|
|
14518
14527
|
for (const i in n)
|
|
14519
14528
|
t[i] !== void 0 && e[i] !== void 0 && (r[i] = fl(t[i])(t[i], e[i]));
|
|
@@ -14523,7 +14532,7 @@ function p2(t, e) {
|
|
|
14523
14532
|
return n;
|
|
14524
14533
|
};
|
|
14525
14534
|
}
|
|
14526
|
-
function
|
|
14535
|
+
function b2(t, e) {
|
|
14527
14536
|
const n = [], r = { color: 0, var: 0, number: 0 };
|
|
14528
14537
|
for (let i = 0; i < e.values.length; i++) {
|
|
14529
14538
|
const a = e.types[i], o = t.indexes[a][r[a]], s = t.values[o] ?? 0;
|
|
@@ -14531,14 +14540,14 @@ function v2(t, e) {
|
|
|
14531
14540
|
}
|
|
14532
14541
|
return n;
|
|
14533
14542
|
}
|
|
14534
|
-
const
|
|
14543
|
+
const y2 = (t, e) => {
|
|
14535
14544
|
const n = Gt.createTransformer(e), r = Nr(t), i = Nr(e);
|
|
14536
|
-
return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? Uo.has(t) && !i.values.length || Uo.has(e) && !r.values.length ?
|
|
14545
|
+
return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? Uo.has(t) && !i.values.length || Uo.has(e) && !r.values.length ? m2(t, e) : Gr(Pb(b2(r, i), i.values), n) : (tr(!0, `Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`, "complex-values-different"), Yi(t, e));
|
|
14537
14546
|
};
|
|
14538
14547
|
function wb(t, e, n) {
|
|
14539
14548
|
return typeof t == "number" && typeof e == "number" && typeof n == "number" ? pe(t, e, n) : fl(t)(t, e);
|
|
14540
14549
|
}
|
|
14541
|
-
const
|
|
14550
|
+
const g2 = (t) => {
|
|
14542
14551
|
const e = ({ timestamp: n }) => t(n);
|
|
14543
14552
|
return {
|
|
14544
14553
|
start: (n = !0) => fe.update(e, n),
|
|
@@ -14564,7 +14573,7 @@ function hl(t) {
|
|
|
14564
14573
|
e += n, r = t.next(e);
|
|
14565
14574
|
return e >= Zi ? 1 / 0 : e;
|
|
14566
14575
|
}
|
|
14567
|
-
function
|
|
14576
|
+
function $2(t, e = 100, n) {
|
|
14568
14577
|
const r = n({ ...t, keyframes: [0, e] }), i = Math.min(hl(r), Zi);
|
|
14569
14578
|
return {
|
|
14570
14579
|
type: "keyframes",
|
|
@@ -14572,9 +14581,9 @@ function g2(t, e = 100, n) {
|
|
|
14572
14581
|
duration: /* @__PURE__ */ ht(i)
|
|
14573
14582
|
};
|
|
14574
14583
|
}
|
|
14575
|
-
const
|
|
14584
|
+
const x2 = 5;
|
|
14576
14585
|
function Sb(t, e, n) {
|
|
14577
|
-
const r = Math.max(e -
|
|
14586
|
+
const r = Math.max(e - x2, 0);
|
|
14578
14587
|
return ob(n - t(r), e - r);
|
|
14579
14588
|
}
|
|
14580
14589
|
const he = {
|
|
@@ -14606,7 +14615,7 @@ const he = {
|
|
|
14606
14615
|
minDamping: 0.05,
|
|
14607
14616
|
maxDamping: 1
|
|
14608
14617
|
}, to = 1e-3;
|
|
14609
|
-
function
|
|
14618
|
+
function D2({ duration: t = he.duration, bounce: e = he.bounce, velocity: n = he.velocity, mass: r = he.mass }) {
|
|
14610
14619
|
let i, a;
|
|
14611
14620
|
tr(t <= /* @__PURE__ */ tt(he.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
|
|
14612
14621
|
let o = 1 - e;
|
|
@@ -14623,7 +14632,7 @@ function x2({ duration: t = he.duration, bounce: e = he.bounce, velocity: n = he
|
|
|
14623
14632
|
const d = Math.exp(-u * t), c = (n - u) * (t * t);
|
|
14624
14633
|
return d * c;
|
|
14625
14634
|
});
|
|
14626
|
-
const s = 5 / t, l =
|
|
14635
|
+
const s = 5 / t, l = P2(i, a, s);
|
|
14627
14636
|
if (t = /* @__PURE__ */ tt(t), isNaN(l))
|
|
14628
14637
|
return {
|
|
14629
14638
|
stiffness: he.stiffness,
|
|
@@ -14639,21 +14648,21 @@ function x2({ duration: t = he.duration, bounce: e = he.bounce, velocity: n = he
|
|
|
14639
14648
|
};
|
|
14640
14649
|
}
|
|
14641
14650
|
}
|
|
14642
|
-
const
|
|
14643
|
-
function
|
|
14651
|
+
const E2 = 12;
|
|
14652
|
+
function P2(t, e, n) {
|
|
14644
14653
|
let r = n;
|
|
14645
|
-
for (let i = 1; i <
|
|
14654
|
+
for (let i = 1; i < E2; i++)
|
|
14646
14655
|
r = r - t(r) / e(r);
|
|
14647
14656
|
return r;
|
|
14648
14657
|
}
|
|
14649
14658
|
function Ho(t, e) {
|
|
14650
14659
|
return t * Math.sqrt(1 - e * e);
|
|
14651
14660
|
}
|
|
14652
|
-
const
|
|
14661
|
+
const w2 = ["duration", "bounce"], C2 = ["stiffness", "damping", "mass"];
|
|
14653
14662
|
function pd(t, e) {
|
|
14654
14663
|
return e.some((n) => t[n] !== void 0);
|
|
14655
14664
|
}
|
|
14656
|
-
function
|
|
14665
|
+
function S2(t) {
|
|
14657
14666
|
let e = {
|
|
14658
14667
|
velocity: he.velocity,
|
|
14659
14668
|
stiffness: he.stiffness,
|
|
@@ -14662,7 +14671,7 @@ function C2(t) {
|
|
|
14662
14671
|
isResolvedFromDuration: !1,
|
|
14663
14672
|
...t
|
|
14664
14673
|
};
|
|
14665
|
-
if (!pd(t,
|
|
14674
|
+
if (!pd(t, C2) && pd(t, w2))
|
|
14666
14675
|
if (t.visualDuration) {
|
|
14667
14676
|
const n = t.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, a = 2 * Dt(0.05, 1, 1 - (t.bounce || 0)) * Math.sqrt(i);
|
|
14668
14677
|
e = {
|
|
@@ -14672,7 +14681,7 @@ function C2(t) {
|
|
|
14672
14681
|
damping: a
|
|
14673
14682
|
};
|
|
14674
14683
|
} else {
|
|
14675
|
-
const n =
|
|
14684
|
+
const n = D2(t);
|
|
14676
14685
|
e = {
|
|
14677
14686
|
...e,
|
|
14678
14687
|
...n,
|
|
@@ -14688,7 +14697,7 @@ function Ji(t = he.visualDuration, e = he.bounce) {
|
|
|
14688
14697
|
bounce: e
|
|
14689
14698
|
} : t;
|
|
14690
14699
|
let { restSpeed: r, restDelta: i } = n;
|
|
14691
|
-
const a = n.keyframes[0], o = n.keyframes[n.keyframes.length - 1], s = { done: !1, value: a }, { stiffness: l, damping: u, mass: d, duration: c, velocity: f, isResolvedFromDuration: h } =
|
|
14700
|
+
const a = n.keyframes[0], o = n.keyframes[n.keyframes.length - 1], s = { done: !1, value: a }, { stiffness: l, damping: u, mass: d, duration: c, velocity: f, isResolvedFromDuration: h } = S2({
|
|
14692
14701
|
...n,
|
|
14693
14702
|
velocity: -/* @__PURE__ */ ht(n.velocity || 0)
|
|
14694
14703
|
}), m = f || 0, p = u / (2 * Math.sqrt(l * d)), v = o - a, y = /* @__PURE__ */ ht(Math.sqrt(l / d)), g = Math.abs(v) < 5;
|
|
@@ -14733,7 +14742,7 @@ function Ji(t = he.visualDuration, e = he.bounce) {
|
|
|
14733
14742
|
return E;
|
|
14734
14743
|
}
|
|
14735
14744
|
Ji.applyToOptions = (t) => {
|
|
14736
|
-
const e =
|
|
14745
|
+
const e = $2(t, 100, Ji);
|
|
14737
14746
|
return t.ease = e.ease, t.duration = /* @__PURE__ */ tt(e.duration), t.type = "keyframes", t;
|
|
14738
14747
|
};
|
|
14739
14748
|
function Wo({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: l, restDelta: u = 0.5, restSpeed: d }) {
|
|
@@ -14768,7 +14777,7 @@ function Wo({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: r = 3
|
|
|
14768
14777
|
}
|
|
14769
14778
|
};
|
|
14770
14779
|
}
|
|
14771
|
-
function
|
|
14780
|
+
function T2(t, e, n) {
|
|
14772
14781
|
const r = [], i = n || Pt.mix || wb, a = t.length - 1;
|
|
14773
14782
|
for (let o = 0; o < a; o++) {
|
|
14774
14783
|
let s = i(t[o], t[o + 1]);
|
|
@@ -14780,7 +14789,7 @@ function S2(t, e, n) {
|
|
|
14780
14789
|
}
|
|
14781
14790
|
return r;
|
|
14782
14791
|
}
|
|
14783
|
-
function
|
|
14792
|
+
function A2(t, e, { clamp: n = !0, ease: r, mixer: i } = {}) {
|
|
14784
14793
|
const a = t.length;
|
|
14785
14794
|
if (Et(a === e.length, "Both input and output ranges must be the same length", "range-length"), a === 1)
|
|
14786
14795
|
return () => e[0];
|
|
@@ -14788,7 +14797,7 @@ function T2(t, e, { clamp: n = !0, ease: r, mixer: i } = {}) {
|
|
|
14788
14797
|
return () => e[1];
|
|
14789
14798
|
const o = t[0] === t[1];
|
|
14790
14799
|
t[0] > t[a - 1] && (t = [...t].reverse(), e = [...e].reverse());
|
|
14791
|
-
const s =
|
|
14800
|
+
const s = T2(e, r, i), l = s.length, u = (d) => {
|
|
14792
14801
|
if (o && d < t[0])
|
|
14793
14802
|
return e[0];
|
|
14794
14803
|
let c = 0;
|
|
@@ -14800,46 +14809,46 @@ function T2(t, e, { clamp: n = !0, ease: r, mixer: i } = {}) {
|
|
|
14800
14809
|
};
|
|
14801
14810
|
return n ? (d) => u(Dt(t[0], t[a - 1], d)) : u;
|
|
14802
14811
|
}
|
|
14803
|
-
function
|
|
14812
|
+
function F2(t, e) {
|
|
14804
14813
|
const n = t[t.length - 1];
|
|
14805
14814
|
for (let r = 1; r <= e; r++) {
|
|
14806
14815
|
const i = /* @__PURE__ */ Mr(0, e, r);
|
|
14807
14816
|
t.push(pe(n, 1, i));
|
|
14808
14817
|
}
|
|
14809
14818
|
}
|
|
14810
|
-
function
|
|
14819
|
+
function B2(t) {
|
|
14811
14820
|
const e = [0];
|
|
14812
|
-
return
|
|
14821
|
+
return F2(e, t.length - 1), e;
|
|
14813
14822
|
}
|
|
14814
|
-
function
|
|
14823
|
+
function M2(t, e) {
|
|
14815
14824
|
return t.map((n) => n * e);
|
|
14816
14825
|
}
|
|
14817
|
-
function
|
|
14826
|
+
function k2(t, e) {
|
|
14818
14827
|
return t.map(() => e || pb).splice(0, t.length - 1);
|
|
14819
14828
|
}
|
|
14820
14829
|
function kn({ duration: t = 300, keyframes: e, times: n, ease: r = "easeInOut" }) {
|
|
14821
|
-
const i =
|
|
14830
|
+
const i = Hx(r) ? r.map(dd) : dd(r), a = {
|
|
14822
14831
|
done: !1,
|
|
14823
14832
|
value: e[0]
|
|
14824
|
-
}, o =
|
|
14833
|
+
}, o = M2(
|
|
14825
14834
|
// Only use the provided offsets if they're the correct length
|
|
14826
14835
|
// TODO Maybe we should warn here if there's a length mismatch
|
|
14827
|
-
n && n.length === e.length ? n :
|
|
14836
|
+
n && n.length === e.length ? n : B2(e),
|
|
14828
14837
|
t
|
|
14829
|
-
), s =
|
|
14830
|
-
ease: Array.isArray(i) ? i :
|
|
14838
|
+
), s = A2(o, e, {
|
|
14839
|
+
ease: Array.isArray(i) ? i : k2(e, i)
|
|
14831
14840
|
});
|
|
14832
14841
|
return {
|
|
14833
14842
|
calculatedDuration: t,
|
|
14834
14843
|
next: (l) => (a.value = s(l), a.done = l >= t, a)
|
|
14835
14844
|
};
|
|
14836
14845
|
}
|
|
14837
|
-
const
|
|
14846
|
+
const N2 = (t) => t !== null;
|
|
14838
14847
|
function ml(t, { repeat: e, repeatType: n = "loop" }, r, i = 1) {
|
|
14839
|
-
const a = t.filter(
|
|
14848
|
+
const a = t.filter(N2), s = i < 0 || e && n !== "loop" && e % 2 === 1 ? 0 : a.length - 1;
|
|
14840
14849
|
return !s || r === void 0 ? a[s] : r;
|
|
14841
14850
|
}
|
|
14842
|
-
const
|
|
14851
|
+
const V2 = {
|
|
14843
14852
|
decay: Wo,
|
|
14844
14853
|
inertia: Wo,
|
|
14845
14854
|
tween: kn,
|
|
@@ -14847,7 +14856,7 @@ const N2 = {
|
|
|
14847
14856
|
spring: Ji
|
|
14848
14857
|
};
|
|
14849
14858
|
function Tb(t) {
|
|
14850
|
-
typeof t.type == "string" && (t.type =
|
|
14859
|
+
typeof t.type == "string" && (t.type = V2[t.type]);
|
|
14851
14860
|
}
|
|
14852
14861
|
class pl {
|
|
14853
14862
|
constructor() {
|
|
@@ -14873,7 +14882,7 @@ class pl {
|
|
|
14873
14882
|
return this.finished.then(e, n);
|
|
14874
14883
|
}
|
|
14875
14884
|
}
|
|
14876
|
-
const
|
|
14885
|
+
const R2 = (t) => t / 100;
|
|
14877
14886
|
class vl extends pl {
|
|
14878
14887
|
constructor(e) {
|
|
14879
14888
|
super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.stop = () => {
|
|
@@ -14887,7 +14896,7 @@ class vl extends pl {
|
|
|
14887
14896
|
const { type: n = kn, repeat: r = 0, repeatDelay: i = 0, repeatType: a, velocity: o = 0 } = e;
|
|
14888
14897
|
let { keyframes: s } = e;
|
|
14889
14898
|
const l = n || kn;
|
|
14890
|
-
process.env.NODE_ENV !== "production" && l !== kn && Et(s.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${s}`, "spring-two-frames"), l !== kn && typeof s[0] != "number" && (this.mixKeyframes = Gr(
|
|
14899
|
+
process.env.NODE_ENV !== "production" && l !== kn && Et(s.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${s}`, "spring-two-frames"), l !== kn && typeof s[0] != "number" && (this.mixKeyframes = Gr(R2, wb(s[0], s[1])), s = [0, 100]);
|
|
14891
14900
|
const u = l({ ...e, keyframes: s });
|
|
14892
14901
|
a === "mirror" && (this.mirroredGenerator = l({
|
|
14893
14902
|
...e,
|
|
@@ -14950,7 +14959,7 @@ class vl extends pl {
|
|
|
14950
14959
|
play() {
|
|
14951
14960
|
if (this.isStopped)
|
|
14952
14961
|
return;
|
|
14953
|
-
const { driver: e =
|
|
14962
|
+
const { driver: e = g2, startTime: n } = this.options;
|
|
14954
14963
|
this.driver || (this.driver = e((i) => this.tick(i))), this.options.onPlay?.();
|
|
14955
14964
|
const r = this.driver.now();
|
|
14956
14965
|
this.state === "finished" ? (this.updateFinished(), this.startTime = r) : this.holdTime !== null ? this.startTime = r - this.holdTime : this.startTime || (this.startTime = n ?? r), this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();
|
|
@@ -14980,14 +14989,14 @@ class vl extends pl {
|
|
|
14980
14989
|
return this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear", this.initAnimation()), this.driver?.stop(), e.observe(this);
|
|
14981
14990
|
}
|
|
14982
14991
|
}
|
|
14983
|
-
function
|
|
14992
|
+
function I2(t) {
|
|
14984
14993
|
for (let e = 1; e < t.length; e++)
|
|
14985
14994
|
t[e] ?? (t[e] = t[e - 1]);
|
|
14986
14995
|
}
|
|
14987
14996
|
const ln = (t) => t * 180 / Math.PI, qo = (t) => {
|
|
14988
14997
|
const e = ln(Math.atan2(t[1], t[0]));
|
|
14989
14998
|
return Go(e);
|
|
14990
|
-
},
|
|
14999
|
+
}, L2 = {
|
|
14991
15000
|
x: 4,
|
|
14992
15001
|
y: 5,
|
|
14993
15002
|
translateX: 4,
|
|
@@ -15000,7 +15009,7 @@ const ln = (t) => t * 180 / Math.PI, qo = (t) => {
|
|
|
15000
15009
|
skewX: (t) => ln(Math.atan(t[1])),
|
|
15001
15010
|
skewY: (t) => ln(Math.atan(t[2])),
|
|
15002
15011
|
skew: (t) => (Math.abs(t[1]) + Math.abs(t[2])) / 2
|
|
15003
|
-
}, Go = (t) => (t = t % 360, t < 0 && (t += 360), t), vd = qo, bd = (t) => Math.sqrt(t[0] * t[0] + t[1] * t[1]), yd = (t) => Math.sqrt(t[4] * t[4] + t[5] * t[5]),
|
|
15012
|
+
}, Go = (t) => (t = t % 360, t < 0 && (t += 360), t), vd = qo, bd = (t) => Math.sqrt(t[0] * t[0] + t[1] * t[1]), yd = (t) => Math.sqrt(t[4] * t[4] + t[5] * t[5]), O2 = {
|
|
15004
15013
|
x: 12,
|
|
15005
15014
|
y: 13,
|
|
15006
15015
|
z: 14,
|
|
@@ -15027,21 +15036,21 @@ function Zo(t, e) {
|
|
|
15027
15036
|
const n = t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);
|
|
15028
15037
|
let r, i;
|
|
15029
15038
|
if (n)
|
|
15030
|
-
r =
|
|
15039
|
+
r = O2, i = n;
|
|
15031
15040
|
else {
|
|
15032
15041
|
const s = t.match(/^matrix\(([-\d.e\s,]+)\)$/u);
|
|
15033
|
-
r =
|
|
15042
|
+
r = L2, i = s;
|
|
15034
15043
|
}
|
|
15035
15044
|
if (!i)
|
|
15036
15045
|
return Yo(e);
|
|
15037
|
-
const a = r[e], o = i[1].split(",").map(
|
|
15046
|
+
const a = r[e], o = i[1].split(",").map(j2);
|
|
15038
15047
|
return typeof a == "function" ? a(o) : o[a];
|
|
15039
15048
|
}
|
|
15040
|
-
const
|
|
15049
|
+
const K2 = (t, e) => {
|
|
15041
15050
|
const { transform: n = "none" } = getComputedStyle(t);
|
|
15042
15051
|
return Zo(n, e);
|
|
15043
15052
|
};
|
|
15044
|
-
function
|
|
15053
|
+
function j2(t) {
|
|
15045
15054
|
return parseFloat(t.trim());
|
|
15046
15055
|
}
|
|
15047
15056
|
const rr = [
|
|
@@ -15062,10 +15071,10 @@ const rr = [
|
|
|
15062
15071
|
"skew",
|
|
15063
15072
|
"skewX",
|
|
15064
15073
|
"skewY"
|
|
15065
|
-
], ir = new Set(rr), gd = (t) => t === nr || t === J,
|
|
15066
|
-
function
|
|
15074
|
+
], ir = new Set(rr), gd = (t) => t === nr || t === J, _2 = /* @__PURE__ */ new Set(["x", "y", "z"]), z2 = rr.filter((t) => !_2.has(t));
|
|
15075
|
+
function U2(t) {
|
|
15067
15076
|
const e = [];
|
|
15068
|
-
return
|
|
15077
|
+
return z2.forEach((n) => {
|
|
15069
15078
|
const r = t.getValue(n);
|
|
15070
15079
|
r !== void 0 && (e.push([n, r.get()]), r.set(n.startsWith("scale") ? 1 : 0));
|
|
15071
15080
|
}), e;
|
|
@@ -15090,7 +15099,7 @@ function Ab() {
|
|
|
15090
15099
|
if (Xo) {
|
|
15091
15100
|
const t = Array.from(dn).filter((r) => r.needsMeasurement), e = new Set(t.map((r) => r.element)), n = /* @__PURE__ */ new Map();
|
|
15092
15101
|
e.forEach((r) => {
|
|
15093
|
-
const i =
|
|
15102
|
+
const i = U2(r);
|
|
15094
15103
|
i.length && (n.set(r, i), r.render());
|
|
15095
15104
|
}), t.forEach((r) => r.measureInitialState()), e.forEach((r) => {
|
|
15096
15105
|
r.render();
|
|
@@ -15109,7 +15118,7 @@ function Fb() {
|
|
|
15109
15118
|
t.readKeyframes(), t.needsMeasurement && (Xo = !0);
|
|
15110
15119
|
});
|
|
15111
15120
|
}
|
|
15112
|
-
function
|
|
15121
|
+
function H2() {
|
|
15113
15122
|
Qo = !0, Fb(), Ab(), Qo = !1;
|
|
15114
15123
|
}
|
|
15115
15124
|
class bl {
|
|
@@ -15131,7 +15140,7 @@ class bl {
|
|
|
15131
15140
|
}
|
|
15132
15141
|
e[0] === void 0 && (e[0] = o), i && a === void 0 && i.set(e[0]);
|
|
15133
15142
|
}
|
|
15134
|
-
|
|
15143
|
+
I2(e);
|
|
15135
15144
|
}
|
|
15136
15145
|
setFinalKeyframe() {
|
|
15137
15146
|
}
|
|
@@ -15151,16 +15160,16 @@ class bl {
|
|
|
15151
15160
|
this.state === "pending" && this.scheduleResolve();
|
|
15152
15161
|
}
|
|
15153
15162
|
}
|
|
15154
|
-
const
|
|
15155
|
-
function
|
|
15156
|
-
|
|
15163
|
+
const W2 = (t) => t.startsWith("--");
|
|
15164
|
+
function q2(t, e, n) {
|
|
15165
|
+
W2(e) ? t.style.setProperty(e, n) : t.style[e] = n;
|
|
15157
15166
|
}
|
|
15158
|
-
const
|
|
15159
|
-
function
|
|
15167
|
+
const G2 = /* @__PURE__ */ rl(() => window.ScrollTimeline !== void 0), Y2 = {};
|
|
15168
|
+
function Z2(t, e) {
|
|
15160
15169
|
const n = /* @__PURE__ */ rl(t);
|
|
15161
|
-
return () =>
|
|
15170
|
+
return () => Y2[e] ?? n();
|
|
15162
15171
|
}
|
|
15163
|
-
const Bb = /* @__PURE__ */
|
|
15172
|
+
const Bb = /* @__PURE__ */ Z2(() => {
|
|
15164
15173
|
try {
|
|
15165
15174
|
document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
|
|
15166
15175
|
} catch {
|
|
@@ -15182,7 +15191,7 @@ function Mb(t, e) {
|
|
|
15182
15191
|
if (t)
|
|
15183
15192
|
return typeof t == "function" ? Bb() ? Cb(t, e) : "ease-out" : vb(t) ? yr(t) : Array.isArray(t) ? t.map((n) => Mb(n, e) || $d.easeOut) : $d[t];
|
|
15184
15193
|
}
|
|
15185
|
-
function
|
|
15194
|
+
function J2(t, e, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: l } = {}, u = void 0) {
|
|
15186
15195
|
const d = {
|
|
15187
15196
|
[e]: n
|
|
15188
15197
|
};
|
|
@@ -15202,20 +15211,20 @@ function Z2(t, e, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTyp
|
|
|
15202
15211
|
function kb(t) {
|
|
15203
15212
|
return typeof t == "function" && "applyToOptions" in t;
|
|
15204
15213
|
}
|
|
15205
|
-
function
|
|
15214
|
+
function X2({ type: t, ...e }) {
|
|
15206
15215
|
return kb(t) && Bb() ? t.applyToOptions(e) : (e.duration ?? (e.duration = 300), e.ease ?? (e.ease = "easeOut"), e);
|
|
15207
15216
|
}
|
|
15208
|
-
class
|
|
15217
|
+
class Q2 extends pl {
|
|
15209
15218
|
constructor(e) {
|
|
15210
15219
|
if (super(), this.finishedTime = null, this.isStopped = !1, !e)
|
|
15211
15220
|
return;
|
|
15212
15221
|
const { element: n, name: r, keyframes: i, pseudoElement: a, allowFlatten: o = !1, finalKeyframe: s, onComplete: l } = e;
|
|
15213
15222
|
this.isPseudoElement = !!a, this.allowFlatten = o, this.options = e, Et(typeof e.type != "string", `Mini animate() doesn't support "type" as a string.`, "mini-spring");
|
|
15214
|
-
const u =
|
|
15215
|
-
this.animation =
|
|
15223
|
+
const u = X2(e);
|
|
15224
|
+
this.animation = J2(n, r, i, u, a), u.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
|
|
15216
15225
|
if (this.finishedTime = this.time, !a) {
|
|
15217
15226
|
const d = ml(i, this.options, s, this.speed);
|
|
15218
|
-
this.updateMotionValue ? this.updateMotionValue(d) :
|
|
15227
|
+
this.updateMotionValue ? this.updateMotionValue(d) : q2(n, r, d), this.animation.cancel();
|
|
15219
15228
|
}
|
|
15220
15229
|
l?.(), this.notifyFinished();
|
|
15221
15230
|
};
|
|
@@ -15290,7 +15299,7 @@ class X2 extends pl {
|
|
|
15290
15299
|
* Attaches a timeline to the animation, for instance the `ScrollTimeline`.
|
|
15291
15300
|
*/
|
|
15292
15301
|
attachTimeline({ timeline: e, observe: n }) {
|
|
15293
|
-
return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e &&
|
|
15302
|
+
return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && G2() ? (this.animation.timeline = e, qe) : n(this);
|
|
15294
15303
|
}
|
|
15295
15304
|
}
|
|
15296
15305
|
const Nb = {
|
|
@@ -15298,16 +15307,16 @@ const Nb = {
|
|
|
15298
15307
|
backInOut: cb,
|
|
15299
15308
|
circInOut: mb
|
|
15300
15309
|
};
|
|
15301
|
-
function
|
|
15310
|
+
function eD(t) {
|
|
15302
15311
|
return t in Nb;
|
|
15303
15312
|
}
|
|
15304
|
-
function
|
|
15305
|
-
typeof t.ease == "string" &&
|
|
15313
|
+
function tD(t) {
|
|
15314
|
+
typeof t.ease == "string" && eD(t.ease) && (t.ease = Nb[t.ease]);
|
|
15306
15315
|
}
|
|
15307
15316
|
const xd = 10;
|
|
15308
|
-
class
|
|
15317
|
+
class nD extends Q2 {
|
|
15309
15318
|
constructor(e) {
|
|
15310
|
-
|
|
15319
|
+
tD(e), Tb(e), super(e), e.startTime && (this.startTime = e.startTime), this.options = e;
|
|
15311
15320
|
}
|
|
15312
15321
|
/**
|
|
15313
15322
|
* WAAPI doesn't natively have any interruption capabilities.
|
|
@@ -15335,7 +15344,7 @@ class tD extends X2 {
|
|
|
15335
15344
|
const Dd = (t, e) => e === "zIndex" ? !1 : !!(typeof t == "number" || Array.isArray(t) || typeof t == "string" && // It's animatable if we have a string
|
|
15336
15345
|
(Gt.test(t) || t === "0") && // And it contains numbers and/or colors
|
|
15337
15346
|
!t.startsWith("url("));
|
|
15338
|
-
function
|
|
15347
|
+
function rD(t) {
|
|
15339
15348
|
const e = t[0];
|
|
15340
15349
|
if (t.length === 1)
|
|
15341
15350
|
return !0;
|
|
@@ -15343,39 +15352,39 @@ function nD(t) {
|
|
|
15343
15352
|
if (t[n] !== e)
|
|
15344
15353
|
return !0;
|
|
15345
15354
|
}
|
|
15346
|
-
function
|
|
15355
|
+
function iD(t, e, n, r) {
|
|
15347
15356
|
const i = t[0];
|
|
15348
15357
|
if (i === null)
|
|
15349
15358
|
return !1;
|
|
15350
15359
|
if (e === "display" || e === "visibility")
|
|
15351
15360
|
return !0;
|
|
15352
15361
|
const a = t[t.length - 1], o = Dd(i, e), s = Dd(a, e);
|
|
15353
|
-
return tr(o === s, `You are trying to animate ${e} from "${i}" to "${a}". "${o ? a : i}" is not an animatable value.`, "value-not-animatable"), !o || !s ? !1 :
|
|
15362
|
+
return tr(o === s, `You are trying to animate ${e} from "${i}" to "${a}". "${o ? a : i}" is not an animatable value.`, "value-not-animatable"), !o || !s ? !1 : rD(t) || (n === "spring" || kb(n)) && r;
|
|
15354
15363
|
}
|
|
15355
15364
|
function es(t) {
|
|
15356
15365
|
t.duration = 0, t.type;
|
|
15357
15366
|
}
|
|
15358
|
-
const
|
|
15367
|
+
const aD = /* @__PURE__ */ new Set([
|
|
15359
15368
|
"opacity",
|
|
15360
15369
|
"clipPath",
|
|
15361
15370
|
"filter",
|
|
15362
15371
|
"transform"
|
|
15363
15372
|
// TODO: Could be re-enabled now we have support for linear() easing
|
|
15364
15373
|
// "background-color"
|
|
15365
|
-
]),
|
|
15366
|
-
function
|
|
15374
|
+
]), oD = /* @__PURE__ */ rl(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
|
|
15375
|
+
function sD(t) {
|
|
15367
15376
|
const { motionValue: e, name: n, repeatDelay: r, repeatType: i, damping: a, type: o } = t;
|
|
15368
15377
|
if (!(e?.owner?.current instanceof HTMLElement))
|
|
15369
15378
|
return !1;
|
|
15370
15379
|
const { onUpdate: l, transformTemplate: u } = e.owner.getProps();
|
|
15371
|
-
return
|
|
15380
|
+
return oD() && n && aD.has(n) && (n !== "transform" || !u) && /**
|
|
15372
15381
|
* If we're outputting values to onUpdate then we can't use WAAPI as there's
|
|
15373
15382
|
* no way to read the value from WAAPI every frame.
|
|
15374
15383
|
*/
|
|
15375
15384
|
!l && !r && i !== "mirror" && a !== 0 && o !== "inertia";
|
|
15376
15385
|
}
|
|
15377
|
-
const
|
|
15378
|
-
class
|
|
15386
|
+
const lD = 40;
|
|
15387
|
+
class uD extends pl {
|
|
15379
15388
|
constructor({ autoplay: e = !0, delay: n = 0, type: r = "keyframes", repeat: i = 0, repeatDelay: a = 0, repeatType: o = "loop", keyframes: s, name: l, motionValue: u, element: d, ...c }) {
|
|
15380
15389
|
super(), this.stop = () => {
|
|
15381
15390
|
this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
|
|
@@ -15397,13 +15406,13 @@ class lD extends pl {
|
|
|
15397
15406
|
onKeyframesResolved(e, n, r, i) {
|
|
15398
15407
|
this.keyframeResolver = void 0;
|
|
15399
15408
|
const { name: a, type: o, velocity: s, delay: l, isHandoff: u, onUpdate: d } = r;
|
|
15400
|
-
this.resolvedAt = Le.now(),
|
|
15409
|
+
this.resolvedAt = Le.now(), iD(e, a, o, s) || ((Pt.instantAnimations || !l) && d?.(ml(e, r, n)), e[0] = e[e.length - 1], es(r), r.repeat = 0);
|
|
15401
15410
|
const f = {
|
|
15402
|
-
startTime: i ? this.resolvedAt ? this.resolvedAt - this.createdAt >
|
|
15411
|
+
startTime: i ? this.resolvedAt ? this.resolvedAt - this.createdAt > lD ? this.resolvedAt : this.createdAt : this.createdAt : void 0,
|
|
15403
15412
|
finalKeyframe: n,
|
|
15404
15413
|
...r,
|
|
15405
15414
|
keyframes: e
|
|
15406
|
-
}, h = !u &&
|
|
15415
|
+
}, h = !u && sD(f) ? new nD({
|
|
15407
15416
|
...f,
|
|
15408
15417
|
element: f.motionValue.owner.current
|
|
15409
15418
|
}) : new vl(f);
|
|
@@ -15417,7 +15426,7 @@ class lD extends pl {
|
|
|
15417
15426
|
});
|
|
15418
15427
|
}
|
|
15419
15428
|
get animation() {
|
|
15420
|
-
return this._animation || (this.keyframeResolver?.resume(),
|
|
15429
|
+
return this._animation || (this.keyframeResolver?.resume(), H2()), this._animation;
|
|
15421
15430
|
}
|
|
15422
15431
|
get duration() {
|
|
15423
15432
|
return this.animation.duration;
|
|
@@ -15456,21 +15465,21 @@ class lD extends pl {
|
|
|
15456
15465
|
this._animation && this.animation.cancel(), this.keyframeResolver?.cancel();
|
|
15457
15466
|
}
|
|
15458
15467
|
}
|
|
15459
|
-
const
|
|
15468
|
+
const dD = (
|
|
15460
15469
|
// eslint-disable-next-line redos-detector/no-unsafe-regex -- false positive, as it can match a lot of words
|
|
15461
15470
|
/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u
|
|
15462
15471
|
);
|
|
15463
|
-
function
|
|
15464
|
-
const e =
|
|
15472
|
+
function cD(t) {
|
|
15473
|
+
const e = dD.exec(t);
|
|
15465
15474
|
if (!e)
|
|
15466
15475
|
return [,];
|
|
15467
15476
|
const [, n, r, i] = e;
|
|
15468
15477
|
return [`--${n ?? r}`, i];
|
|
15469
15478
|
}
|
|
15470
|
-
const
|
|
15479
|
+
const fD = 4;
|
|
15471
15480
|
function Vb(t, e, n = 1) {
|
|
15472
|
-
Et(n <=
|
|
15473
|
-
const [r, i] =
|
|
15481
|
+
Et(n <= fD, `Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`, "max-css-var-depth");
|
|
15482
|
+
const [r, i] = cD(t);
|
|
15474
15483
|
if (!r)
|
|
15475
15484
|
return;
|
|
15476
15485
|
const a = window.getComputedStyle(e).getPropertyValue(r);
|
|
@@ -15491,15 +15500,15 @@ const Rb = /* @__PURE__ */ new Set([
|
|
|
15491
15500
|
"right",
|
|
15492
15501
|
"bottom",
|
|
15493
15502
|
...rr
|
|
15494
|
-
]),
|
|
15503
|
+
]), hD = {
|
|
15495
15504
|
test: (t) => t === "auto",
|
|
15496
15505
|
parse: (t) => t
|
|
15497
|
-
}, Ib = (t) => (e) => e.test(t), Lb = [nr, J, mt, Mt,
|
|
15498
|
-
function
|
|
15506
|
+
}, Ib = (t) => (e) => e.test(t), Lb = [nr, J, mt, Mt, r2, n2, hD], Ed = (t) => Lb.find(Ib(t));
|
|
15507
|
+
function mD(t) {
|
|
15499
15508
|
return typeof t == "number" ? t === 0 : t !== null ? t === "none" || t === "0" || ab(t) : !0;
|
|
15500
15509
|
}
|
|
15501
|
-
const
|
|
15502
|
-
function
|
|
15510
|
+
const pD = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
|
|
15511
|
+
function vD(t) {
|
|
15503
15512
|
const [e, n] = t.slice(0, -1).split("(");
|
|
15504
15513
|
if (e === "drop-shadow")
|
|
15505
15514
|
return t;
|
|
@@ -15507,19 +15516,19 @@ function pD(t) {
|
|
|
15507
15516
|
if (!r)
|
|
15508
15517
|
return t;
|
|
15509
15518
|
const i = n.replace(r, "");
|
|
15510
|
-
let a =
|
|
15519
|
+
let a = pD.has(e) ? 1 : 0;
|
|
15511
15520
|
return r !== n && (a *= 100), e + "(" + a + i + ")";
|
|
15512
15521
|
}
|
|
15513
|
-
const
|
|
15522
|
+
const bD = /\b([a-z-]*)\(.*?\)/gu, ts = {
|
|
15514
15523
|
...Gt,
|
|
15515
15524
|
getAnimatableNone: (t) => {
|
|
15516
|
-
const e = t.match(
|
|
15517
|
-
return e ? e.map(
|
|
15525
|
+
const e = t.match(bD);
|
|
15526
|
+
return e ? e.map(vD).join(" ") : t;
|
|
15518
15527
|
}
|
|
15519
15528
|
}, Pd = {
|
|
15520
15529
|
...nr,
|
|
15521
15530
|
transform: Math.round
|
|
15522
|
-
},
|
|
15531
|
+
}, yD = {
|
|
15523
15532
|
rotate: Mt,
|
|
15524
15533
|
rotateX: Mt,
|
|
15525
15534
|
rotateY: Mt,
|
|
@@ -15580,13 +15589,13 @@ const vD = /\b([a-z-]*)\(.*?\)/gu, ts = {
|
|
|
15580
15589
|
// Misc
|
|
15581
15590
|
backgroundPositionX: J,
|
|
15582
15591
|
backgroundPositionY: J,
|
|
15583
|
-
...
|
|
15592
|
+
...yD,
|
|
15584
15593
|
zIndex: Pd,
|
|
15585
15594
|
// SVG
|
|
15586
15595
|
fillOpacity: kr,
|
|
15587
15596
|
strokeOpacity: kr,
|
|
15588
15597
|
numOctaves: Pd
|
|
15589
|
-
},
|
|
15598
|
+
}, gD = {
|
|
15590
15599
|
...gl,
|
|
15591
15600
|
// Color props
|
|
15592
15601
|
color: Pe,
|
|
@@ -15602,23 +15611,23 @@ const vD = /\b([a-z-]*)\(.*?\)/gu, ts = {
|
|
|
15602
15611
|
borderLeftColor: Pe,
|
|
15603
15612
|
filter: ts,
|
|
15604
15613
|
WebkitFilter: ts
|
|
15605
|
-
}, Ob = (t) =>
|
|
15614
|
+
}, Ob = (t) => gD[t];
|
|
15606
15615
|
function Kb(t, e) {
|
|
15607
15616
|
let n = Ob(t);
|
|
15608
15617
|
return n !== ts && (n = Gt), n.getAnimatableNone ? n.getAnimatableNone(e) : void 0;
|
|
15609
15618
|
}
|
|
15610
|
-
const
|
|
15611
|
-
function
|
|
15619
|
+
const $D = /* @__PURE__ */ new Set(["auto", "none", "0"]);
|
|
15620
|
+
function xD(t, e, n) {
|
|
15612
15621
|
let r = 0, i;
|
|
15613
15622
|
for (; r < t.length && !i; ) {
|
|
15614
15623
|
const a = t[r];
|
|
15615
|
-
typeof a == "string" &&
|
|
15624
|
+
typeof a == "string" && !$D.has(a) && Nr(a).values.length && (i = t[r]), r++;
|
|
15616
15625
|
}
|
|
15617
15626
|
if (i && n)
|
|
15618
15627
|
for (const a of e)
|
|
15619
15628
|
t[a] = Kb(n, i);
|
|
15620
15629
|
}
|
|
15621
|
-
class
|
|
15630
|
+
class DD extends bl {
|
|
15622
15631
|
constructor(e, n, r, i, a) {
|
|
15623
15632
|
super(e, n, r, i, a, !0);
|
|
15624
15633
|
}
|
|
@@ -15648,8 +15657,8 @@ class xD extends bl {
|
|
|
15648
15657
|
resolveNoneKeyframes() {
|
|
15649
15658
|
const { unresolvedKeyframes: e, name: n } = this, r = [];
|
|
15650
15659
|
for (let i = 0; i < e.length; i++)
|
|
15651
|
-
(e[i] === null ||
|
|
15652
|
-
r.length &&
|
|
15660
|
+
(e[i] === null || mD(e[i])) && r.push(i);
|
|
15661
|
+
r.length && xD(e, r, n);
|
|
15653
15662
|
}
|
|
15654
15663
|
measureInitialState() {
|
|
15655
15664
|
const { element: e, unresolvedKeyframes: n, name: r } = this;
|
|
@@ -15671,7 +15680,7 @@ class xD extends bl {
|
|
|
15671
15680
|
}), this.resolveNoneKeyframes();
|
|
15672
15681
|
}
|
|
15673
15682
|
}
|
|
15674
|
-
function
|
|
15683
|
+
function ED(t, e, n) {
|
|
15675
15684
|
if (t instanceof EventTarget)
|
|
15676
15685
|
return [t];
|
|
15677
15686
|
if (typeof t == "string") {
|
|
@@ -15685,8 +15694,8 @@ const jb = (t, e) => e && typeof t == "number" ? e.transform(t) : t;
|
|
|
15685
15694
|
function _b(t) {
|
|
15686
15695
|
return ib(t) && "offsetHeight" in t;
|
|
15687
15696
|
}
|
|
15688
|
-
const wd = 30,
|
|
15689
|
-
class
|
|
15697
|
+
const wd = 30, PD = (t) => !isNaN(parseFloat(t));
|
|
15698
|
+
class wD {
|
|
15690
15699
|
/**
|
|
15691
15700
|
* @param init - The initiating value
|
|
15692
15701
|
* @param config - Optional configuration options
|
|
@@ -15702,7 +15711,7 @@ class PD {
|
|
|
15702
15711
|
}, this.hasAnimated = !1, this.setCurrent(e), this.owner = n.owner;
|
|
15703
15712
|
}
|
|
15704
15713
|
setCurrent(e) {
|
|
15705
|
-
this.current = e, this.updatedAt = Le.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity =
|
|
15714
|
+
this.current = e, this.updatedAt = Le.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = PD(this.current));
|
|
15706
15715
|
}
|
|
15707
15716
|
setPrevFrameValue(e = this.current) {
|
|
15708
15717
|
this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;
|
|
@@ -15886,7 +15895,7 @@ class PD {
|
|
|
15886
15895
|
}
|
|
15887
15896
|
}
|
|
15888
15897
|
function qn(t, e) {
|
|
15889
|
-
return new
|
|
15898
|
+
return new wD(t, e);
|
|
15890
15899
|
}
|
|
15891
15900
|
const { schedule: $l } = /* @__PURE__ */ bb(queueMicrotask, !1), Qe = {
|
|
15892
15901
|
x: !1,
|
|
@@ -15895,7 +15904,7 @@ const { schedule: $l } = /* @__PURE__ */ bb(queueMicrotask, !1), Qe = {
|
|
|
15895
15904
|
function zb() {
|
|
15896
15905
|
return Qe.x || Qe.y;
|
|
15897
15906
|
}
|
|
15898
|
-
function
|
|
15907
|
+
function CD(t) {
|
|
15899
15908
|
return t === "x" || t === "y" ? Qe[t] ? null : (Qe[t] = !0, () => {
|
|
15900
15909
|
Qe[t] = !1;
|
|
15901
15910
|
}) : Qe.x || Qe.y ? null : (Qe.x = Qe.y = !0, () => {
|
|
@@ -15903,7 +15912,7 @@ function wD(t) {
|
|
|
15903
15912
|
});
|
|
15904
15913
|
}
|
|
15905
15914
|
function Ub(t, e) {
|
|
15906
|
-
const n =
|
|
15915
|
+
const n = ED(t), r = new AbortController(), i = {
|
|
15907
15916
|
passive: !0,
|
|
15908
15917
|
...e,
|
|
15909
15918
|
signal: r.signal
|
|
@@ -15913,7 +15922,7 @@ function Ub(t, e) {
|
|
|
15913
15922
|
function Cd(t) {
|
|
15914
15923
|
return !(t.pointerType === "touch" || zb());
|
|
15915
15924
|
}
|
|
15916
|
-
function
|
|
15925
|
+
function SD(t, e, n = {}) {
|
|
15917
15926
|
const [r, i, a] = Ub(t, n), o = (s) => {
|
|
15918
15927
|
if (!Cd(s))
|
|
15919
15928
|
return;
|
|
@@ -15929,15 +15938,15 @@ function CD(t, e, n = {}) {
|
|
|
15929
15938
|
s.addEventListener("pointerenter", o, i);
|
|
15930
15939
|
}), a;
|
|
15931
15940
|
}
|
|
15932
|
-
const Hb = (t, e) => e ? t === e ? !0 : Hb(t, e.parentElement) : !1, xl = (t) => t.pointerType === "mouse" ? typeof t.button != "number" || t.button <= 0 : t.isPrimary !== !1,
|
|
15941
|
+
const Hb = (t, e) => e ? t === e ? !0 : Hb(t, e.parentElement) : !1, xl = (t) => t.pointerType === "mouse" ? typeof t.button != "number" || t.button <= 0 : t.isPrimary !== !1, TD = /* @__PURE__ */ new Set([
|
|
15933
15942
|
"BUTTON",
|
|
15934
15943
|
"INPUT",
|
|
15935
15944
|
"SELECT",
|
|
15936
15945
|
"TEXTAREA",
|
|
15937
15946
|
"A"
|
|
15938
15947
|
]);
|
|
15939
|
-
function
|
|
15940
|
-
return
|
|
15948
|
+
function AD(t) {
|
|
15949
|
+
return TD.has(t.tagName) || t.tabIndex !== -1;
|
|
15941
15950
|
}
|
|
15942
15951
|
const Ci = /* @__PURE__ */ new WeakSet();
|
|
15943
15952
|
function Sd(t) {
|
|
@@ -15948,7 +15957,7 @@ function Sd(t) {
|
|
|
15948
15957
|
function no(t, e) {
|
|
15949
15958
|
t.dispatchEvent(new PointerEvent("pointer" + e, { isPrimary: !0, bubbles: !0 }));
|
|
15950
15959
|
}
|
|
15951
|
-
const
|
|
15960
|
+
const FD = (t, e) => {
|
|
15952
15961
|
const n = t.currentTarget;
|
|
15953
15962
|
if (!n)
|
|
15954
15963
|
return;
|
|
@@ -15966,7 +15975,7 @@ const AD = (t, e) => {
|
|
|
15966
15975
|
function Td(t) {
|
|
15967
15976
|
return xl(t) && !zb();
|
|
15968
15977
|
}
|
|
15969
|
-
function
|
|
15978
|
+
function BD(t, e, n = {}) {
|
|
15970
15979
|
const [r, i, a] = Ub(t, n), o = (s) => {
|
|
15971
15980
|
const l = s.currentTarget;
|
|
15972
15981
|
if (!Td(s))
|
|
@@ -15982,21 +15991,21 @@ function FD(t, e, n = {}) {
|
|
|
15982
15991
|
window.addEventListener("pointerup", c, i), window.addEventListener("pointercancel", f, i);
|
|
15983
15992
|
};
|
|
15984
15993
|
return r.forEach((s) => {
|
|
15985
|
-
(n.useGlobalTarget ? window : s).addEventListener("pointerdown", o, i), _b(s) && (s.addEventListener("focus", (u) =>
|
|
15994
|
+
(n.useGlobalTarget ? window : s).addEventListener("pointerdown", o, i), _b(s) && (s.addEventListener("focus", (u) => FD(u, i)), !AD(s) && !s.hasAttribute("tabindex") && (s.tabIndex = 0));
|
|
15986
15995
|
}), a;
|
|
15987
15996
|
}
|
|
15988
15997
|
function Wb(t) {
|
|
15989
15998
|
return ib(t) && "ownerSVGElement" in t;
|
|
15990
15999
|
}
|
|
15991
|
-
function
|
|
16000
|
+
function MD(t) {
|
|
15992
16001
|
return Wb(t) && t.tagName === "svg";
|
|
15993
16002
|
}
|
|
15994
|
-
const Fe = (t) => !!(t && t.getVelocity),
|
|
16003
|
+
const Fe = (t) => !!(t && t.getVelocity), kD = [...Lb, Pe, Gt], ND = (t) => kD.find(Ib(t)), Dl = H({
|
|
15995
16004
|
transformPagePoint: (t) => t,
|
|
15996
16005
|
isStatic: !1,
|
|
15997
16006
|
reducedMotion: "never"
|
|
15998
16007
|
});
|
|
15999
|
-
class
|
|
16008
|
+
class VD extends hs.Component {
|
|
16000
16009
|
getSnapshotBeforeUpdate(e) {
|
|
16001
16010
|
const n = this.props.childRef.current;
|
|
16002
16011
|
if (n && e.isPresent && !this.props.isPresent) {
|
|
@@ -16014,7 +16023,7 @@ class ND extends hs.Component {
|
|
|
16014
16023
|
return this.props.children;
|
|
16015
16024
|
}
|
|
16016
16025
|
}
|
|
16017
|
-
function
|
|
16026
|
+
function RD({ children: t, isPresent: e, anchorX: n, root: r }) {
|
|
16018
16027
|
const i = ps(), a = L(null), o = L({
|
|
16019
16028
|
width: 0,
|
|
16020
16029
|
height: 0,
|
|
@@ -16042,10 +16051,10 @@ function VD({ children: t, isPresent: e, anchorX: n, root: r }) {
|
|
|
16042
16051
|
`), () => {
|
|
16043
16052
|
p.contains(m) && p.removeChild(m);
|
|
16044
16053
|
};
|
|
16045
|
-
}, [e]), D(
|
|
16054
|
+
}, [e]), D(VD, { isPresent: e, childRef: a, sizeRef: o, children: hs.cloneElement(t, { ref: a }) });
|
|
16046
16055
|
}
|
|
16047
|
-
const
|
|
16048
|
-
const u = Qs(
|
|
16056
|
+
const ID = ({ children: t, initial: e, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, root: l }) => {
|
|
16057
|
+
const u = Qs(LD), d = ps();
|
|
16049
16058
|
let c = !0, f = O(() => (c = !1, {
|
|
16050
16059
|
id: d,
|
|
16051
16060
|
initial: e,
|
|
@@ -16064,9 +16073,9 @@ const RD = ({ children: t, initial: e, isPresent: n, onExitComplete: r, custom:
|
|
|
16064
16073
|
u.forEach((h, m) => u.set(m, !1));
|
|
16065
16074
|
}, [n]), hs.useEffect(() => {
|
|
16066
16075
|
!n && !u.size && r && r();
|
|
16067
|
-
}, [n]), o === "popLayout" && (t = D(
|
|
16076
|
+
}, [n]), o === "popLayout" && (t = D(RD, { isPresent: n, anchorX: s, root: l, children: t })), D(ga.Provider, { value: f, children: t });
|
|
16068
16077
|
};
|
|
16069
|
-
function
|
|
16078
|
+
function LD() {
|
|
16070
16079
|
return /* @__PURE__ */ new Map();
|
|
16071
16080
|
}
|
|
16072
16081
|
function qb(t = !0) {
|
|
@@ -16088,7 +16097,7 @@ function Ad(t) {
|
|
|
16088
16097
|
Cc(n) && e.push(n);
|
|
16089
16098
|
}), e;
|
|
16090
16099
|
}
|
|
16091
|
-
const
|
|
16100
|
+
const OD = ({ children: t, custom: e, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", root: l }) => {
|
|
16092
16101
|
const [u, d] = qb(o), c = O(() => Ad(t), [t]), f = o && !u ? [] : c.map(mi), h = L(!0), m = L(c), p = Qs(() => /* @__PURE__ */ new Map()), [v, y] = G(c), [g, $] = G(c);
|
|
16093
16102
|
nb(() => {
|
|
16094
16103
|
h.current = !1, m.current = c;
|
|
@@ -16119,7 +16128,7 @@ const LD = ({ children: t, custom: e, initial: n = !0, onExitComplete: r, presen
|
|
|
16119
16128
|
b || (M = !1);
|
|
16120
16129
|
}), M && (S?.(), $(m.current), o && d?.(), r && r());
|
|
16121
16130
|
};
|
|
16122
|
-
return D(
|
|
16131
|
+
return D(ID, { isPresent: B, initial: !h.current || n ? void 0 : !1, custom: e, presenceAffectsLayout: i, mode: a, root: l, onExitComplete: B ? void 0 : V, anchorX: s, children: w }, F);
|
|
16123
16132
|
}) });
|
|
16124
16133
|
}, Gb = H({ strict: !1 }), Fd = {
|
|
16125
16134
|
animation: [
|
|
@@ -16145,14 +16154,14 @@ for (const t in Fd)
|
|
|
16145
16154
|
Gn[t] = {
|
|
16146
16155
|
isEnabled: (e) => Fd[t].some((n) => !!e[n])
|
|
16147
16156
|
};
|
|
16148
|
-
function
|
|
16157
|
+
function KD(t) {
|
|
16149
16158
|
for (const e in t)
|
|
16150
16159
|
Gn[e] = {
|
|
16151
16160
|
...Gn[e],
|
|
16152
16161
|
...t[e]
|
|
16153
16162
|
};
|
|
16154
16163
|
}
|
|
16155
|
-
const
|
|
16164
|
+
const jD = /* @__PURE__ */ new Set([
|
|
16156
16165
|
"animate",
|
|
16157
16166
|
"exit",
|
|
16158
16167
|
"variants",
|
|
@@ -16185,17 +16194,17 @@ const KD = /* @__PURE__ */ new Set([
|
|
|
16185
16194
|
"viewport"
|
|
16186
16195
|
]);
|
|
16187
16196
|
function Xi(t) {
|
|
16188
|
-
return t.startsWith("while") || t.startsWith("drag") && t !== "draggable" || t.startsWith("layout") || t.startsWith("onTap") || t.startsWith("onPan") || t.startsWith("onLayout") ||
|
|
16197
|
+
return t.startsWith("while") || t.startsWith("drag") && t !== "draggable" || t.startsWith("layout") || t.startsWith("onTap") || t.startsWith("onPan") || t.startsWith("onLayout") || jD.has(t);
|
|
16189
16198
|
}
|
|
16190
16199
|
let Yb = (t) => !Xi(t);
|
|
16191
|
-
function
|
|
16200
|
+
function _D(t) {
|
|
16192
16201
|
typeof t == "function" && (Yb = (e) => e.startsWith("on") ? !Xi(e) : t(e));
|
|
16193
16202
|
}
|
|
16194
16203
|
try {
|
|
16195
|
-
|
|
16204
|
+
_D(require("@emotion/is-prop-valid").default);
|
|
16196
16205
|
} catch {
|
|
16197
16206
|
}
|
|
16198
|
-
function
|
|
16207
|
+
function zD(t, e, n) {
|
|
16199
16208
|
const r = {};
|
|
16200
16209
|
for (const i in t)
|
|
16201
16210
|
i === "values" && typeof t.values == "object" || (Yb(i) || n === !0 && Xi(i) || !e && !Xi(i) || // If trying to use native HTML drag events, forward drag listeners
|
|
@@ -16224,7 +16233,7 @@ function Da(t) {
|
|
|
16224
16233
|
function Zb(t) {
|
|
16225
16234
|
return !!(Da(t) || t.variants);
|
|
16226
16235
|
}
|
|
16227
|
-
function
|
|
16236
|
+
function UD(t, e) {
|
|
16228
16237
|
if (Da(t)) {
|
|
16229
16238
|
const { initial: n, animate: r } = t;
|
|
16230
16239
|
return {
|
|
@@ -16234,30 +16243,30 @@ function zD(t, e) {
|
|
|
16234
16243
|
}
|
|
16235
16244
|
return t.inherit !== !1 ? e : {};
|
|
16236
16245
|
}
|
|
16237
|
-
function
|
|
16238
|
-
const { initial: e, animate: n } =
|
|
16246
|
+
function HD(t) {
|
|
16247
|
+
const { initial: e, animate: n } = UD(t, z($a));
|
|
16239
16248
|
return O(() => ({ initial: e, animate: n }), [Bd(e), Bd(n)]);
|
|
16240
16249
|
}
|
|
16241
16250
|
function Bd(t) {
|
|
16242
16251
|
return Array.isArray(t) ? t.join(" ") : t;
|
|
16243
16252
|
}
|
|
16244
16253
|
const Rr = {};
|
|
16245
|
-
function
|
|
16254
|
+
function WD(t) {
|
|
16246
16255
|
for (const e in t)
|
|
16247
16256
|
Rr[e] = t[e], ll(e) && (Rr[e].isCSSVariable = !0);
|
|
16248
16257
|
}
|
|
16249
16258
|
function Jb(t, { layout: e, layoutId: n }) {
|
|
16250
16259
|
return ir.has(t) || t.startsWith("origin") || (e || n !== void 0) && (!!Rr[t] || t === "opacity");
|
|
16251
16260
|
}
|
|
16252
|
-
const
|
|
16261
|
+
const qD = {
|
|
16253
16262
|
x: "translateX",
|
|
16254
16263
|
y: "translateY",
|
|
16255
16264
|
z: "translateZ",
|
|
16256
16265
|
transformPerspective: "perspective"
|
|
16257
|
-
},
|
|
16258
|
-
function
|
|
16266
|
+
}, GD = rr.length;
|
|
16267
|
+
function YD(t, e, n) {
|
|
16259
16268
|
let r = "", i = !0;
|
|
16260
|
-
for (let a = 0; a <
|
|
16269
|
+
for (let a = 0; a < GD; a++) {
|
|
16261
16270
|
const o = rr[a], s = t[o];
|
|
16262
16271
|
if (s === void 0)
|
|
16263
16272
|
continue;
|
|
@@ -16266,7 +16275,7 @@ function GD(t, e, n) {
|
|
|
16266
16275
|
const u = jb(s, gl[o]);
|
|
16267
16276
|
if (!l) {
|
|
16268
16277
|
i = !1;
|
|
16269
|
-
const d =
|
|
16278
|
+
const d = qD[o] || o;
|
|
16270
16279
|
r += `${d}(${u}) `;
|
|
16271
16280
|
}
|
|
16272
16281
|
n && (e[o] = u);
|
|
@@ -16290,7 +16299,7 @@ function wl(t, e, n) {
|
|
|
16290
16299
|
l.startsWith("origin") ? (s = !0, a[l] = d) : r[l] = d;
|
|
16291
16300
|
}
|
|
16292
16301
|
}
|
|
16293
|
-
if (e.transform || (o || n ? r.transform =
|
|
16302
|
+
if (e.transform || (o || n ? r.transform = YD(e, t.transform, n) : r.transform && (r.transform = "none")), s) {
|
|
16294
16303
|
const { originX: l = "50%", originY: u = "50%", originZ: d = 0 } = a;
|
|
16295
16304
|
r.transformOrigin = `${l} ${u} ${d}`;
|
|
16296
16305
|
}
|
|
@@ -16305,30 +16314,30 @@ function Xb(t, e, n) {
|
|
|
16305
16314
|
for (const r in e)
|
|
16306
16315
|
!Fe(e[r]) && !Jb(r, n) && (t[r] = e[r]);
|
|
16307
16316
|
}
|
|
16308
|
-
function
|
|
16317
|
+
function ZD({ transformTemplate: t }, e) {
|
|
16309
16318
|
return O(() => {
|
|
16310
16319
|
const n = Cl();
|
|
16311
16320
|
return wl(n, e, t), Object.assign({}, n.vars, n.style);
|
|
16312
16321
|
}, [e]);
|
|
16313
16322
|
}
|
|
16314
|
-
function
|
|
16323
|
+
function JD(t, e) {
|
|
16315
16324
|
const n = t.style || {}, r = {};
|
|
16316
|
-
return Xb(r, n, t), Object.assign(r,
|
|
16325
|
+
return Xb(r, n, t), Object.assign(r, ZD(t, e)), r;
|
|
16317
16326
|
}
|
|
16318
|
-
function
|
|
16319
|
-
const n = {}, r =
|
|
16327
|
+
function XD(t, e) {
|
|
16328
|
+
const n = {}, r = JD(t, e);
|
|
16320
16329
|
return t.drag && t.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = t.drag === !0 ? "none" : `pan-${t.drag === "x" ? "y" : "x"}`), t.tabIndex === void 0 && (t.onTap || t.onTapStart || t.whileTap) && (n.tabIndex = 0), n.style = r, n;
|
|
16321
16330
|
}
|
|
16322
|
-
const
|
|
16331
|
+
const QD = {
|
|
16323
16332
|
offset: "stroke-dashoffset",
|
|
16324
16333
|
array: "stroke-dasharray"
|
|
16325
|
-
},
|
|
16334
|
+
}, e6 = {
|
|
16326
16335
|
offset: "strokeDashoffset",
|
|
16327
16336
|
array: "strokeDasharray"
|
|
16328
16337
|
};
|
|
16329
|
-
function
|
|
16338
|
+
function t6(t, e, n = 1, r = 0, i = !0) {
|
|
16330
16339
|
t.pathLength = 1;
|
|
16331
|
-
const a = i ?
|
|
16340
|
+
const a = i ? QD : e6;
|
|
16332
16341
|
t[a.offset] = J.transform(-r);
|
|
16333
16342
|
const o = J.transform(e), s = J.transform(n);
|
|
16334
16343
|
t[a.array] = `${o} ${s}`;
|
|
@@ -16349,13 +16358,13 @@ function Qb(t, {
|
|
|
16349
16358
|
}
|
|
16350
16359
|
t.attrs = t.style, t.style = {};
|
|
16351
16360
|
const { attrs: c, style: f } = t;
|
|
16352
|
-
c.transform && (f.transform = c.transform, delete c.transform), (f.transform || c.transformOrigin) && (f.transformOrigin = c.transformOrigin ?? "50% 50%", delete c.transformOrigin), f.transform && (f.transformBox = d?.transformBox ?? "fill-box", delete c.transformBox), e !== void 0 && (c.x = e), n !== void 0 && (c.y = n), r !== void 0 && (c.scale = r), i !== void 0 &&
|
|
16361
|
+
c.transform && (f.transform = c.transform, delete c.transform), (f.transform || c.transformOrigin) && (f.transformOrigin = c.transformOrigin ?? "50% 50%", delete c.transformOrigin), f.transform && (f.transformBox = d?.transformBox ?? "fill-box", delete c.transformBox), e !== void 0 && (c.x = e), n !== void 0 && (c.y = n), r !== void 0 && (c.scale = r), i !== void 0 && t6(c, i, a, o, !1);
|
|
16353
16362
|
}
|
|
16354
16363
|
const ey = () => ({
|
|
16355
16364
|
...Cl(),
|
|
16356
16365
|
attrs: {}
|
|
16357
16366
|
}), ty = (t) => typeof t == "string" && t.toLowerCase() === "svg";
|
|
16358
|
-
function
|
|
16367
|
+
function n6(t, e, n, r) {
|
|
16359
16368
|
const i = O(() => {
|
|
16360
16369
|
const a = ey();
|
|
16361
16370
|
return Qb(a, e, ty(r), t.transformTemplate, t.style), {
|
|
@@ -16369,7 +16378,7 @@ function t6(t, e, n, r) {
|
|
|
16369
16378
|
}
|
|
16370
16379
|
return i;
|
|
16371
16380
|
}
|
|
16372
|
-
const
|
|
16381
|
+
const r6 = [
|
|
16373
16382
|
"animate",
|
|
16374
16383
|
"circle",
|
|
16375
16384
|
"defs",
|
|
@@ -16409,15 +16418,15 @@ function Sl(t) {
|
|
|
16409
16418
|
/**
|
|
16410
16419
|
* If it's in our list of lowercase SVG tags, it's an SVG component
|
|
16411
16420
|
*/
|
|
16412
|
-
!!(
|
|
16421
|
+
!!(r6.indexOf(t) > -1 || /**
|
|
16413
16422
|
* If it contains a capital letter, it's an SVG component
|
|
16414
16423
|
*/
|
|
16415
16424
|
/[A-Z]/u.test(t))
|
|
16416
16425
|
)
|
|
16417
16426
|
);
|
|
16418
16427
|
}
|
|
16419
|
-
function
|
|
16420
|
-
const s = (Sl(t) ?
|
|
16428
|
+
function i6(t, e, n, { latestValues: r }, i, a = !1) {
|
|
16429
|
+
const s = (Sl(t) ? n6 : XD)(e, r, i, t), l = zD(e, typeof t == "string", a), u = t !== Tc ? { ...l, ...s, ref: n } : {}, { children: d } = e, c = O(() => Fe(d) ? d.get() : d, [d]);
|
|
16421
16430
|
return Ac(t, {
|
|
16422
16431
|
...u,
|
|
16423
16432
|
children: c
|
|
@@ -16443,13 +16452,13 @@ function Tl(t, e, n, r) {
|
|
|
16443
16452
|
function Si(t) {
|
|
16444
16453
|
return Fe(t) ? t.get() : t;
|
|
16445
16454
|
}
|
|
16446
|
-
function
|
|
16455
|
+
function a6({ scrapeMotionValuesFromProps: t, createRenderState: e }, n, r, i) {
|
|
16447
16456
|
return {
|
|
16448
|
-
latestValues:
|
|
16457
|
+
latestValues: o6(n, r, i, t),
|
|
16449
16458
|
renderState: e()
|
|
16450
16459
|
};
|
|
16451
16460
|
}
|
|
16452
|
-
function
|
|
16461
|
+
function o6(t, e, n, r) {
|
|
16453
16462
|
const i = {}, a = r(t, {});
|
|
16454
16463
|
for (const f in a)
|
|
16455
16464
|
i[f] = Si(a[f]);
|
|
@@ -16481,7 +16490,7 @@ function a6(t, e, n, r) {
|
|
|
16481
16490
|
return i;
|
|
16482
16491
|
}
|
|
16483
16492
|
const ny = (t) => (e, n) => {
|
|
16484
|
-
const r = z($a), i = z(ga), a = () =>
|
|
16493
|
+
const r = z($a), i = z(ga), a = () => a6(t, e, r, i);
|
|
16485
16494
|
return n ? a() : Qs(a);
|
|
16486
16495
|
};
|
|
16487
16496
|
function Al(t, e, n) {
|
|
@@ -16490,7 +16499,7 @@ function Al(t, e, n) {
|
|
|
16490
16499
|
(Fe(r[a]) || e.style && Fe(e.style[a]) || Jb(a, t) || n?.getValue(a)?.liveStyle !== void 0) && (i[a] = r[a]);
|
|
16491
16500
|
return i;
|
|
16492
16501
|
}
|
|
16493
|
-
const
|
|
16502
|
+
const s6 = /* @__PURE__ */ ny({
|
|
16494
16503
|
scrapeMotionValuesFromProps: Al,
|
|
16495
16504
|
createRenderState: Cl
|
|
16496
16505
|
});
|
|
@@ -16503,14 +16512,14 @@ function ry(t, e, n) {
|
|
|
16503
16512
|
}
|
|
16504
16513
|
return r;
|
|
16505
16514
|
}
|
|
16506
|
-
const
|
|
16515
|
+
const l6 = /* @__PURE__ */ ny({
|
|
16507
16516
|
scrapeMotionValuesFromProps: ry,
|
|
16508
16517
|
createRenderState: ey
|
|
16509
|
-
}),
|
|
16518
|
+
}), u6 = Symbol.for("motionComponentSymbol");
|
|
16510
16519
|
function Nn(t) {
|
|
16511
16520
|
return t && typeof t == "object" && Object.prototype.hasOwnProperty.call(t, "current");
|
|
16512
16521
|
}
|
|
16513
|
-
function
|
|
16522
|
+
function d6(t, e, n) {
|
|
16514
16523
|
return Q(
|
|
16515
16524
|
(r) => {
|
|
16516
16525
|
r && t.onMount && t.onMount(r), e && (r ? e.mount(r) : e.unmount()), n && (typeof n == "function" ? n(r) : Nn(n) && (n.current = r));
|
|
@@ -16523,8 +16532,8 @@ function u6(t, e, n) {
|
|
|
16523
16532
|
[e]
|
|
16524
16533
|
);
|
|
16525
16534
|
}
|
|
16526
|
-
const Fl = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(),
|
|
16527
|
-
function
|
|
16535
|
+
const Fl = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), c6 = "framerAppearId", iy = "data-" + Fl(c6), ay = H({});
|
|
16536
|
+
function f6(t, e, n, r, i) {
|
|
16528
16537
|
const { visualElement: a } = z($a), o = z(Gb), s = z(ga), l = z(Dl).reducedMotion, u = L(null);
|
|
16529
16538
|
r = r || o.renderer, !u.current && r && (u.current = r(t, {
|
|
16530
16539
|
visualState: e,
|
|
@@ -16535,7 +16544,7 @@ function c6(t, e, n, r, i) {
|
|
|
16535
16544
|
reducedMotionConfig: l
|
|
16536
16545
|
}));
|
|
16537
16546
|
const d = u.current, c = z(ay);
|
|
16538
|
-
d && !d.projection && i && (d.type === "html" || d.type === "svg") &&
|
|
16547
|
+
d && !d.projection && i && (d.type === "html" || d.type === "svg") && h6(u.current, n, i, c);
|
|
16539
16548
|
const f = L(!1);
|
|
16540
16549
|
Sc(() => {
|
|
16541
16550
|
d && f.current && d.update(n, s);
|
|
@@ -16549,7 +16558,7 @@ function c6(t, e, n, r, i) {
|
|
|
16549
16558
|
}), m.current = !1), d.enteringChildren = void 0);
|
|
16550
16559
|
}), d;
|
|
16551
16560
|
}
|
|
16552
|
-
function
|
|
16561
|
+
function h6(t, e, n, r) {
|
|
16553
16562
|
const { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: l, layoutRoot: u, layoutCrossfade: d } = e;
|
|
16554
16563
|
t.projection = new n(t.latestValues, e["data-framer-portal-id"] ? void 0 : oy(t.parent)), t.projection.setOptions({
|
|
16555
16564
|
layoutId: i,
|
|
@@ -16575,38 +16584,38 @@ function oy(t) {
|
|
|
16575
16584
|
return t.options.allowProjection !== !1 ? t.projection : oy(t.parent);
|
|
16576
16585
|
}
|
|
16577
16586
|
function ro(t, { forwardMotionProps: e = !1 } = {}, n, r) {
|
|
16578
|
-
n &&
|
|
16579
|
-
const i = Sl(t) ?
|
|
16587
|
+
n && KD(n);
|
|
16588
|
+
const i = Sl(t) ? l6 : s6;
|
|
16580
16589
|
function a(s, l) {
|
|
16581
16590
|
let u;
|
|
16582
16591
|
const d = {
|
|
16583
16592
|
...z(Dl),
|
|
16584
16593
|
...s,
|
|
16585
|
-
layoutId:
|
|
16586
|
-
}, { isStatic: c } = d, f =
|
|
16594
|
+
layoutId: m6(s)
|
|
16595
|
+
}, { isStatic: c } = d, f = HD(s), h = i(s, c);
|
|
16587
16596
|
if (!c && el) {
|
|
16588
|
-
|
|
16589
|
-
const m =
|
|
16590
|
-
u = m.MeasureLayout, f.visualElement =
|
|
16597
|
+
p6(d, n);
|
|
16598
|
+
const m = v6(d);
|
|
16599
|
+
u = m.MeasureLayout, f.visualElement = f6(t, h, d, r, m.ProjectionNode);
|
|
16591
16600
|
}
|
|
16592
|
-
return Z($a.Provider, { value: f, children: [u && f.visualElement ? D(u, { visualElement: f.visualElement, ...d }) : null,
|
|
16601
|
+
return Z($a.Provider, { value: f, children: [u && f.visualElement ? D(u, { visualElement: f.visualElement, ...d }) : null, i6(t, s, d6(h, f.visualElement, l), h, c, e)] });
|
|
16593
16602
|
}
|
|
16594
16603
|
a.displayName = `motion.${typeof t == "string" ? t : `create(${t.displayName ?? t.name ?? ""})`}`;
|
|
16595
16604
|
const o = ue(a);
|
|
16596
|
-
return o[
|
|
16605
|
+
return o[u6] = t, o;
|
|
16597
16606
|
}
|
|
16598
|
-
function
|
|
16607
|
+
function m6({ layoutId: t }) {
|
|
16599
16608
|
const e = z(Xs).id;
|
|
16600
16609
|
return e && t !== void 0 ? e + "-" + t : t;
|
|
16601
16610
|
}
|
|
16602
|
-
function
|
|
16611
|
+
function p6(t, e) {
|
|
16603
16612
|
const n = z(Gb).strict;
|
|
16604
16613
|
if (process.env.NODE_ENV !== "production" && e && n) {
|
|
16605
16614
|
const r = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
|
|
16606
16615
|
t.ignoreStrict ? tr(!1, r, "lazy-strict-mode") : Et(!1, r, "lazy-strict-mode");
|
|
16607
16616
|
}
|
|
16608
16617
|
}
|
|
16609
|
-
function
|
|
16618
|
+
function v6(t) {
|
|
16610
16619
|
const { drag: e, layout: n } = Gn;
|
|
16611
16620
|
if (!e && !n)
|
|
16612
16621
|
return {};
|
|
@@ -16616,7 +16625,7 @@ function p6(t) {
|
|
|
16616
16625
|
ProjectionNode: r.ProjectionNode
|
|
16617
16626
|
};
|
|
16618
16627
|
}
|
|
16619
|
-
function
|
|
16628
|
+
function b6(t, e) {
|
|
16620
16629
|
if (typeof Proxy > "u")
|
|
16621
16630
|
return ro;
|
|
16622
16631
|
const n = /* @__PURE__ */ new Map(), r = (a, o) => ro(a, o, t, e), i = (a, o) => (process.env.NODE_ENV !== "production" && al(!1, "motion() is deprecated. Use motion.create() instead."), r(a, o));
|
|
@@ -16635,10 +16644,10 @@ function sy({ top: t, left: e, right: n, bottom: r }) {
|
|
|
16635
16644
|
y: { min: t, max: r }
|
|
16636
16645
|
};
|
|
16637
16646
|
}
|
|
16638
|
-
function
|
|
16647
|
+
function y6({ x: t, y: e }) {
|
|
16639
16648
|
return { top: e.min, right: t.max, bottom: e.max, left: t.min };
|
|
16640
16649
|
}
|
|
16641
|
-
function
|
|
16650
|
+
function g6(t, e) {
|
|
16642
16651
|
if (!e)
|
|
16643
16652
|
return t;
|
|
16644
16653
|
const n = e({ x: t.left, y: t.top }), r = e({ x: t.right, y: t.bottom });
|
|
@@ -16678,7 +16687,7 @@ function uy(t, { x: e, y: n }) {
|
|
|
16678
16687
|
rs(t.x, e.translate, e.scale, e.originPoint), rs(t.y, n.translate, n.scale, n.originPoint);
|
|
16679
16688
|
}
|
|
16680
16689
|
const Vd = 0.999999999999, Rd = 1.0000000000001;
|
|
16681
|
-
function
|
|
16690
|
+
function $6(t, e, n, r = !1) {
|
|
16682
16691
|
const i = n.length;
|
|
16683
16692
|
if (!i)
|
|
16684
16693
|
return;
|
|
@@ -16705,9 +16714,9 @@ function Rn(t, e) {
|
|
|
16705
16714
|
Id(t.x, e.x, e.scaleX, e.scale, e.originX), Id(t.y, e.y, e.scaleY, e.scale, e.originY);
|
|
16706
16715
|
}
|
|
16707
16716
|
function dy(t, e) {
|
|
16708
|
-
return sy(
|
|
16717
|
+
return sy(g6(t.getBoundingClientRect(), e));
|
|
16709
16718
|
}
|
|
16710
|
-
function
|
|
16719
|
+
function x6(t, e, n) {
|
|
16711
16720
|
const r = dy(t, n), { scroll: i } = e;
|
|
16712
16721
|
return i && (Vn(r.x, i.offset.x), Vn(r.y, i.offset.y)), r;
|
|
16713
16722
|
}
|
|
@@ -16723,7 +16732,7 @@ const Ld = () => ({
|
|
|
16723
16732
|
x: Od(),
|
|
16724
16733
|
y: Od()
|
|
16725
16734
|
}), is = { current: null }, cy = { current: !1 };
|
|
16726
|
-
function
|
|
16735
|
+
function D6() {
|
|
16727
16736
|
if (cy.current = !0, !!el)
|
|
16728
16737
|
if (window.matchMedia) {
|
|
16729
16738
|
const t = window.matchMedia("(prefers-reduced-motion)"), e = () => is.current = t.matches;
|
|
@@ -16731,8 +16740,8 @@ function x6() {
|
|
|
16731
16740
|
} else
|
|
16732
16741
|
is.current = !1;
|
|
16733
16742
|
}
|
|
16734
|
-
const
|
|
16735
|
-
function
|
|
16743
|
+
const E6 = /* @__PURE__ */ new WeakMap();
|
|
16744
|
+
function P6(t, e, n) {
|
|
16736
16745
|
for (const r in e) {
|
|
16737
16746
|
const i = e[r], a = n[r];
|
|
16738
16747
|
if (Fe(i))
|
|
@@ -16761,7 +16770,7 @@ const Kd = [
|
|
|
16761
16770
|
"LayoutAnimationStart",
|
|
16762
16771
|
"LayoutAnimationComplete"
|
|
16763
16772
|
];
|
|
16764
|
-
class
|
|
16773
|
+
class w6 {
|
|
16765
16774
|
/**
|
|
16766
16775
|
* This method takes React props and returns found MotionValues. For example, HTML
|
|
16767
16776
|
* MotionValues will be found within the style prop, whereas for Three.js within attribute arrays.
|
|
@@ -16788,7 +16797,7 @@ class P6 {
|
|
|
16788
16797
|
}
|
|
16789
16798
|
}
|
|
16790
16799
|
mount(e) {
|
|
16791
|
-
this.current = e,
|
|
16800
|
+
this.current = e, E6.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, r) => this.bindToMotionValue(r, n)), cy.current || D6(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : is.current, process.env.NODE_ENV !== "production" && al(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected.", "reduced-motion-disabled"), this.parent?.addChild(this), this.update(this.props, this.presenceContext);
|
|
16792
16801
|
}
|
|
16793
16802
|
unmount() {
|
|
16794
16803
|
this.projection && this.projection.unmount(), qt(this.notifyUpdate), qt(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
|
|
@@ -16863,7 +16872,7 @@ class P6 {
|
|
|
16863
16872
|
const a = "on" + i, o = e[a];
|
|
16864
16873
|
o && (this.propEventSubscriptions[i] = this.on(i, o));
|
|
16865
16874
|
}
|
|
16866
|
-
this.prevMotionValues =
|
|
16875
|
+
this.prevMotionValues = P6(this, this.scrapeMotionValuesFromProps(e, this.prevProps, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
|
|
16867
16876
|
}
|
|
16868
16877
|
getProps() {
|
|
16869
16878
|
return this.props;
|
|
@@ -16928,7 +16937,7 @@ class P6 {
|
|
|
16928
16937
|
*/
|
|
16929
16938
|
readValue(e, n) {
|
|
16930
16939
|
let r = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);
|
|
16931
|
-
return r != null && (typeof r == "string" && (rb(r) || ab(r)) ? r = parseFloat(r) : !
|
|
16940
|
+
return r != null && (typeof r == "string" && (rb(r) || ab(r)) ? r = parseFloat(r) : !ND(r) && Gt.test(n) && (r = Kb(e, n)), this.setBaseTarget(e, Fe(r) ? r.get() : r)), Fe(r) ? r.get() : r;
|
|
16932
16941
|
}
|
|
16933
16942
|
/**
|
|
16934
16943
|
* Set the base target to later animate back to. This is currently
|
|
@@ -16963,9 +16972,9 @@ class P6 {
|
|
|
16963
16972
|
$l.render(this.render);
|
|
16964
16973
|
}
|
|
16965
16974
|
}
|
|
16966
|
-
class fy extends
|
|
16975
|
+
class fy extends w6 {
|
|
16967
16976
|
constructor() {
|
|
16968
|
-
super(...arguments), this.KeyframeResolver =
|
|
16977
|
+
super(...arguments), this.KeyframeResolver = DD;
|
|
16969
16978
|
}
|
|
16970
16979
|
sortInstanceNodePosition(e, n) {
|
|
16971
16980
|
return e.compareDocumentPosition(n) & 2 ? 1 : -1;
|
|
@@ -16993,18 +17002,18 @@ function hy(t, { style: e, vars: n }, r, i) {
|
|
|
16993
17002
|
for (o in n)
|
|
16994
17003
|
a.setProperty(o, n[o]);
|
|
16995
17004
|
}
|
|
16996
|
-
function
|
|
17005
|
+
function C6(t) {
|
|
16997
17006
|
return window.getComputedStyle(t);
|
|
16998
17007
|
}
|
|
16999
|
-
class
|
|
17008
|
+
class S6 extends fy {
|
|
17000
17009
|
constructor() {
|
|
17001
17010
|
super(...arguments), this.type = "html", this.renderInstance = hy;
|
|
17002
17011
|
}
|
|
17003
17012
|
readValueFromInstance(e, n) {
|
|
17004
17013
|
if (ir.has(n))
|
|
17005
|
-
return this.projection?.isProjecting ? Yo(n) :
|
|
17014
|
+
return this.projection?.isProjecting ? Yo(n) : K2(e, n);
|
|
17006
17015
|
{
|
|
17007
|
-
const r =
|
|
17016
|
+
const r = C6(e), i = (ll(n) ? r.getPropertyValue(n) : r[n]) || 0;
|
|
17008
17017
|
return typeof i == "string" ? i.trim() : i;
|
|
17009
17018
|
}
|
|
17010
17019
|
}
|
|
@@ -17043,12 +17052,12 @@ const my = /* @__PURE__ */ new Set([
|
|
|
17043
17052
|
"textLength",
|
|
17044
17053
|
"lengthAdjust"
|
|
17045
17054
|
]);
|
|
17046
|
-
function
|
|
17055
|
+
function T6(t, e, n, r) {
|
|
17047
17056
|
hy(t, e, void 0, r);
|
|
17048
17057
|
for (const i in e.attrs)
|
|
17049
17058
|
t.setAttribute(my.has(i) ? i : Fl(i), e.attrs[i]);
|
|
17050
17059
|
}
|
|
17051
|
-
class
|
|
17060
|
+
class A6 extends fy {
|
|
17052
17061
|
constructor() {
|
|
17053
17062
|
super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = $e;
|
|
17054
17063
|
}
|
|
@@ -17069,13 +17078,13 @@ class T6 extends fy {
|
|
|
17069
17078
|
Qb(e, n, this.isSVGTag, r.transformTemplate, r.style);
|
|
17070
17079
|
}
|
|
17071
17080
|
renderInstance(e, n, r, i) {
|
|
17072
|
-
|
|
17081
|
+
T6(e, n, r, i);
|
|
17073
17082
|
}
|
|
17074
17083
|
mount(e) {
|
|
17075
17084
|
this.isSVGTag = ty(e.tagName), super.mount(e);
|
|
17076
17085
|
}
|
|
17077
17086
|
}
|
|
17078
|
-
const
|
|
17087
|
+
const F6 = (t, e) => Sl(t) ? new A6(e) : new S6(e, {
|
|
17079
17088
|
allowProjection: t !== Tc
|
|
17080
17089
|
});
|
|
17081
17090
|
function Hn(t, e, n) {
|
|
@@ -17083,27 +17092,27 @@ function Hn(t, e, n) {
|
|
|
17083
17092
|
return Tl(r, e, n !== void 0 ? n : r.custom, t);
|
|
17084
17093
|
}
|
|
17085
17094
|
const as = (t) => Array.isArray(t);
|
|
17086
|
-
function
|
|
17095
|
+
function B6(t, e, n) {
|
|
17087
17096
|
t.hasValue(e) ? t.getValue(e).set(n) : t.addValue(e, qn(n));
|
|
17088
17097
|
}
|
|
17089
|
-
function
|
|
17098
|
+
function M6(t) {
|
|
17090
17099
|
return as(t) ? t[t.length - 1] || 0 : t;
|
|
17091
17100
|
}
|
|
17092
|
-
function
|
|
17101
|
+
function k6(t, e) {
|
|
17093
17102
|
const n = Hn(t, e);
|
|
17094
17103
|
let { transitionEnd: r = {}, transition: i = {}, ...a } = n || {};
|
|
17095
17104
|
a = { ...a, ...r };
|
|
17096
17105
|
for (const o in a) {
|
|
17097
|
-
const s =
|
|
17098
|
-
|
|
17106
|
+
const s = M6(a[o]);
|
|
17107
|
+
B6(t, o, s);
|
|
17099
17108
|
}
|
|
17100
17109
|
}
|
|
17101
|
-
function
|
|
17110
|
+
function N6(t) {
|
|
17102
17111
|
return !!(Fe(t) && t.add);
|
|
17103
17112
|
}
|
|
17104
17113
|
function os(t, e) {
|
|
17105
17114
|
const n = t.getValue("willChange");
|
|
17106
|
-
if (
|
|
17115
|
+
if (N6(n))
|
|
17107
17116
|
return n.add(e);
|
|
17108
17117
|
if (!n && Pt.WillChange) {
|
|
17109
17118
|
const r = new Pt.WillChange("auto");
|
|
@@ -17113,30 +17122,30 @@ function os(t, e) {
|
|
|
17113
17122
|
function py(t) {
|
|
17114
17123
|
return t.props[iy];
|
|
17115
17124
|
}
|
|
17116
|
-
const
|
|
17117
|
-
function
|
|
17118
|
-
const i = t.filter(
|
|
17125
|
+
const V6 = (t) => t !== null;
|
|
17126
|
+
function R6(t, { repeat: e, repeatType: n = "loop" }, r) {
|
|
17127
|
+
const i = t.filter(V6), a = e && n !== "loop" && e % 2 === 1 ? 0 : i.length - 1;
|
|
17119
17128
|
return i[a];
|
|
17120
17129
|
}
|
|
17121
|
-
const
|
|
17130
|
+
const I6 = {
|
|
17122
17131
|
type: "spring",
|
|
17123
17132
|
stiffness: 500,
|
|
17124
17133
|
damping: 25,
|
|
17125
17134
|
restSpeed: 10
|
|
17126
|
-
},
|
|
17135
|
+
}, L6 = (t) => ({
|
|
17127
17136
|
type: "spring",
|
|
17128
17137
|
stiffness: 550,
|
|
17129
17138
|
damping: t === 0 ? 2 * Math.sqrt(550) : 30,
|
|
17130
17139
|
restSpeed: 10
|
|
17131
|
-
}),
|
|
17140
|
+
}), O6 = {
|
|
17132
17141
|
type: "keyframes",
|
|
17133
17142
|
duration: 0.8
|
|
17134
|
-
},
|
|
17143
|
+
}, K6 = {
|
|
17135
17144
|
type: "keyframes",
|
|
17136
17145
|
ease: [0.25, 0.1, 0.35, 1],
|
|
17137
17146
|
duration: 0.3
|
|
17138
|
-
},
|
|
17139
|
-
function
|
|
17147
|
+
}, j6 = (t, { keyframes: e }) => e.length > 2 ? O6 : ir.has(t) ? t.startsWith("scale") ? L6(e[1]) : I6 : K6;
|
|
17148
|
+
function _6({ when: t, delay: e, delayChildren: n, staggerChildren: r, staggerDirection: i, repeat: a, repeatType: o, repeatDelay: s, from: l, elapsed: u, ...d }) {
|
|
17140
17149
|
return !!Object.keys(d).length;
|
|
17141
17150
|
}
|
|
17142
17151
|
const Bl = (t, e, n, r = {}, i, a) => (o) => {
|
|
@@ -17159,10 +17168,10 @@ const Bl = (t, e, n, r = {}, i, a) => (o) => {
|
|
|
17159
17168
|
motionValue: e,
|
|
17160
17169
|
element: a ? void 0 : i
|
|
17161
17170
|
};
|
|
17162
|
-
|
|
17171
|
+
_6(s) || Object.assign(d, j6(t, d)), d.duration && (d.duration = /* @__PURE__ */ tt(d.duration)), d.repeatDelay && (d.repeatDelay = /* @__PURE__ */ tt(d.repeatDelay)), d.from !== void 0 && (d.keyframes[0] = d.from);
|
|
17163
17172
|
let c = !1;
|
|
17164
17173
|
if ((d.type === !1 || d.duration === 0 && !d.repeatDelay) && (es(d), d.delay === 0 && (c = !0)), (Pt.instantAnimations || Pt.skipAnimations) && (c = !0, es(d), d.delay = 0), d.allowFlatten = !s.type && !s.ease, c && !a && e.get() !== void 0) {
|
|
17165
|
-
const f =
|
|
17174
|
+
const f = R6(d.keyframes, s);
|
|
17166
17175
|
if (f !== void 0) {
|
|
17167
17176
|
fe.update(() => {
|
|
17168
17177
|
d.onUpdate(f), d.onComplete();
|
|
@@ -17170,9 +17179,9 @@ const Bl = (t, e, n, r = {}, i, a) => (o) => {
|
|
|
17170
17179
|
return;
|
|
17171
17180
|
}
|
|
17172
17181
|
}
|
|
17173
|
-
return s.isSync ? new vl(d) : new
|
|
17182
|
+
return s.isSync ? new vl(d) : new uD(d);
|
|
17174
17183
|
};
|
|
17175
|
-
function
|
|
17184
|
+
function z6({ protectedKeys: t, needsAnimating: e }, n) {
|
|
17176
17185
|
const r = t.hasOwnProperty(n) && e[n] !== !0;
|
|
17177
17186
|
return e[n] = !1, r;
|
|
17178
17187
|
}
|
|
@@ -17182,7 +17191,7 @@ function vy(t, e, { delay: n = 0, transitionOverride: r, type: i } = {}) {
|
|
|
17182
17191
|
const l = [], u = i && t.animationState && t.animationState.getState()[i];
|
|
17183
17192
|
for (const d in s) {
|
|
17184
17193
|
const c = t.getValue(d, t.latestValues[d] ?? null), f = s[d];
|
|
17185
|
-
if (f === void 0 || u &&
|
|
17194
|
+
if (f === void 0 || u && z6(u, d))
|
|
17186
17195
|
continue;
|
|
17187
17196
|
const h = {
|
|
17188
17197
|
delay: n,
|
|
@@ -17204,7 +17213,7 @@ function vy(t, e, { delay: n = 0, transitionOverride: r, type: i } = {}) {
|
|
|
17204
17213
|
}
|
|
17205
17214
|
return o && Promise.all(l).then(() => {
|
|
17206
17215
|
fe.update(() => {
|
|
17207
|
-
o &&
|
|
17216
|
+
o && k6(t, o);
|
|
17208
17217
|
});
|
|
17209
17218
|
}), l;
|
|
17210
17219
|
}
|
|
@@ -17218,7 +17227,7 @@ function ss(t, e, n = {}) {
|
|
|
17218
17227
|
n.transitionOverride && (i = n.transitionOverride);
|
|
17219
17228
|
const a = r ? () => Promise.all(vy(t, r, n)) : () => Promise.resolve(), o = t.variantChildren && t.variantChildren.size ? (l = 0) => {
|
|
17220
17229
|
const { delayChildren: u = 0, staggerChildren: d, staggerDirection: c } = i;
|
|
17221
|
-
return
|
|
17230
|
+
return U6(t, e, l, u, d, c, n);
|
|
17222
17231
|
} : () => Promise.resolve(), { when: s } = i;
|
|
17223
17232
|
if (s) {
|
|
17224
17233
|
const [l, u] = s === "beforeChildren" ? [a, o] : [o, a];
|
|
@@ -17226,7 +17235,7 @@ function ss(t, e, n = {}) {
|
|
|
17226
17235
|
} else
|
|
17227
17236
|
return Promise.all([a(), o(n.delay)]);
|
|
17228
17237
|
}
|
|
17229
|
-
function
|
|
17238
|
+
function U6(t, e, n = 0, r = 0, i = 0, a = 1, o) {
|
|
17230
17239
|
const s = [];
|
|
17231
17240
|
for (const l of t.variantChildren)
|
|
17232
17241
|
l.notify("AnimationStart", e), s.push(ss(l, e, {
|
|
@@ -17235,7 +17244,7 @@ function z6(t, e, n = 0, r = 0, i = 0, a = 1, o) {
|
|
|
17235
17244
|
}).then(() => l.notify("AnimationComplete", e)));
|
|
17236
17245
|
return Promise.all(s);
|
|
17237
17246
|
}
|
|
17238
|
-
function
|
|
17247
|
+
function H6(t, e, n = {}) {
|
|
17239
17248
|
t.notify("AnimationStart", e);
|
|
17240
17249
|
let r;
|
|
17241
17250
|
if (Array.isArray(e)) {
|
|
@@ -17262,7 +17271,7 @@ function yy(t, e) {
|
|
|
17262
17271
|
return !1;
|
|
17263
17272
|
return !0;
|
|
17264
17273
|
}
|
|
17265
|
-
const
|
|
17274
|
+
const W6 = Pl.length;
|
|
17266
17275
|
function gy(t) {
|
|
17267
17276
|
if (!t)
|
|
17268
17277
|
return;
|
|
@@ -17271,18 +17280,18 @@ function gy(t) {
|
|
|
17271
17280
|
return t.props.initial !== void 0 && (n.initial = t.props.initial), n;
|
|
17272
17281
|
}
|
|
17273
17282
|
const e = {};
|
|
17274
|
-
for (let n = 0; n <
|
|
17283
|
+
for (let n = 0; n < W6; n++) {
|
|
17275
17284
|
const r = Pl[n], i = t.props[r];
|
|
17276
17285
|
(Vr(i) || i === !1) && (e[r] = i);
|
|
17277
17286
|
}
|
|
17278
17287
|
return e;
|
|
17279
17288
|
}
|
|
17280
|
-
const
|
|
17281
|
-
function G6(t) {
|
|
17282
|
-
return (e) => Promise.all(e.map(({ animation: n, options: r }) => U6(t, n, r)));
|
|
17283
|
-
}
|
|
17289
|
+
const q6 = [...El].reverse(), G6 = El.length;
|
|
17284
17290
|
function Y6(t) {
|
|
17285
|
-
|
|
17291
|
+
return (e) => Promise.all(e.map(({ animation: n, options: r }) => H6(t, n, r)));
|
|
17292
|
+
}
|
|
17293
|
+
function Z6(t) {
|
|
17294
|
+
let e = Y6(t), n = jd(), r = !0;
|
|
17286
17295
|
const i = (l) => (u, d) => {
|
|
17287
17296
|
const c = Hn(t, d, l === "exit" ? t.presenceContext?.custom : void 0);
|
|
17288
17297
|
if (c) {
|
|
@@ -17297,8 +17306,8 @@ function Y6(t) {
|
|
|
17297
17306
|
function o(l) {
|
|
17298
17307
|
const { props: u } = t, d = gy(t.parent) || {}, c = [], f = /* @__PURE__ */ new Set();
|
|
17299
17308
|
let h = {}, m = 1 / 0;
|
|
17300
|
-
for (let v = 0; v <
|
|
17301
|
-
const y =
|
|
17309
|
+
for (let v = 0; v < G6; v++) {
|
|
17310
|
+
const y = q6[v], g = n[y], $ = u[y] !== void 0 ? u[y] : d[y], E = Vr($), S = y === l ? g.isActive : null;
|
|
17302
17311
|
S === !1 && (m = v);
|
|
17303
17312
|
let w = $ === d[y] && $ !== u[y] && E;
|
|
17304
17313
|
if (w && r && t.manuallyAnimateOnMount && (w = !1), g.protectedKeys = { ...h }, // If it isn't active and hasn't *just* been set as inactive
|
|
@@ -17306,7 +17315,7 @@ function Y6(t) {
|
|
|
17306
17315
|
!$ && !g.prevProp || // Or if the prop doesn't define an animation
|
|
17307
17316
|
xa($) || typeof $ == "boolean")
|
|
17308
17317
|
continue;
|
|
17309
|
-
const F =
|
|
17318
|
+
const F = J6(g.prevProp, $);
|
|
17310
17319
|
let B = F || // If we're making this variant active, we want to always make it active
|
|
17311
17320
|
y === l && g.isActive && !w && E || // If we removed a higher-priority variant (i is in reverse order)
|
|
17312
17321
|
v > m && E, V = !1;
|
|
@@ -17378,7 +17387,7 @@ function Y6(t) {
|
|
|
17378
17387
|
}
|
|
17379
17388
|
};
|
|
17380
17389
|
}
|
|
17381
|
-
function
|
|
17390
|
+
function J6(t, e) {
|
|
17382
17391
|
return typeof e == "string" ? e !== t : Array.isArray(e) ? !yy(e, t) : !1;
|
|
17383
17392
|
}
|
|
17384
17393
|
function en(t = !1) {
|
|
@@ -17407,14 +17416,14 @@ class Jt {
|
|
|
17407
17416
|
update() {
|
|
17408
17417
|
}
|
|
17409
17418
|
}
|
|
17410
|
-
class
|
|
17419
|
+
class X6 extends Jt {
|
|
17411
17420
|
/**
|
|
17412
17421
|
* We dynamically generate the AnimationState manager as it contains a reference
|
|
17413
17422
|
* to the underlying animation library. We only want to load that if we load this,
|
|
17414
17423
|
* so people can optionally code split it out using the `m` component.
|
|
17415
17424
|
*/
|
|
17416
17425
|
constructor(e) {
|
|
17417
|
-
super(e), e.animationState || (e.animationState =
|
|
17426
|
+
super(e), e.animationState || (e.animationState = Z6(e));
|
|
17418
17427
|
}
|
|
17419
17428
|
updateAnimationControlsSubscription() {
|
|
17420
17429
|
const { animate: e } = this.node.getProps();
|
|
@@ -17434,10 +17443,10 @@ class J6 extends Jt {
|
|
|
17434
17443
|
this.node.animationState.reset(), this.unmountControls?.();
|
|
17435
17444
|
}
|
|
17436
17445
|
}
|
|
17437
|
-
let
|
|
17438
|
-
class
|
|
17446
|
+
let Q6 = 0;
|
|
17447
|
+
class e7 extends Jt {
|
|
17439
17448
|
constructor() {
|
|
17440
|
-
super(...arguments), this.id =
|
|
17449
|
+
super(...arguments), this.id = Q6++;
|
|
17441
17450
|
}
|
|
17442
17451
|
update() {
|
|
17443
17452
|
if (!this.node.presenceContext)
|
|
@@ -17457,12 +17466,12 @@ class Q6 extends Jt {
|
|
|
17457
17466
|
unmount() {
|
|
17458
17467
|
}
|
|
17459
17468
|
}
|
|
17460
|
-
const
|
|
17469
|
+
const t7 = {
|
|
17461
17470
|
animation: {
|
|
17462
|
-
Feature:
|
|
17471
|
+
Feature: X6
|
|
17463
17472
|
},
|
|
17464
17473
|
exit: {
|
|
17465
|
-
Feature:
|
|
17474
|
+
Feature: e7
|
|
17466
17475
|
}
|
|
17467
17476
|
};
|
|
17468
17477
|
function Ir(t, e, n, r = { passive: !0 }) {
|
|
@@ -17476,19 +17485,19 @@ function Jr(t) {
|
|
|
17476
17485
|
}
|
|
17477
17486
|
};
|
|
17478
17487
|
}
|
|
17479
|
-
const
|
|
17488
|
+
const n7 = (t) => (e) => xl(e) && t(e, Jr(e));
|
|
17480
17489
|
function Er(t, e, n, r) {
|
|
17481
|
-
return Ir(t, e,
|
|
17490
|
+
return Ir(t, e, n7(n), r);
|
|
17482
17491
|
}
|
|
17483
|
-
const $y = 1e-4,
|
|
17492
|
+
const $y = 1e-4, r7 = 1 - $y, i7 = 1 + $y, xy = 0.01, a7 = 0 - xy, o7 = 0 + xy;
|
|
17484
17493
|
function ke(t) {
|
|
17485
17494
|
return t.max - t.min;
|
|
17486
17495
|
}
|
|
17487
|
-
function
|
|
17496
|
+
function s7(t, e, n) {
|
|
17488
17497
|
return Math.abs(t - e) <= n;
|
|
17489
17498
|
}
|
|
17490
17499
|
function _d(t, e, n, r = 0.5) {
|
|
17491
|
-
t.origin = r, t.originPoint = pe(e.min, e.max, t.origin), t.scale = ke(n) / ke(e), t.translate = pe(n.min, n.max, t.origin) - t.originPoint, (t.scale >=
|
|
17500
|
+
t.origin = r, t.originPoint = pe(e.min, e.max, t.origin), t.scale = ke(n) / ke(e), t.translate = pe(n.min, n.max, t.origin) - t.originPoint, (t.scale >= r7 && t.scale <= i7 || isNaN(t.scale)) && (t.scale = 1), (t.translate >= a7 && t.translate <= o7 || isNaN(t.translate)) && (t.translate = 0);
|
|
17492
17501
|
}
|
|
17493
17502
|
function Pr(t, e, n, r) {
|
|
17494
17503
|
_d(t.x, e.x, n.x, r ? r.originX : void 0), _d(t.y, e.y, n.y, r ? r.originY : void 0);
|
|
@@ -17496,7 +17505,7 @@ function Pr(t, e, n, r) {
|
|
|
17496
17505
|
function zd(t, e, n) {
|
|
17497
17506
|
t.min = n.min + e.min, t.max = t.min + ke(e);
|
|
17498
17507
|
}
|
|
17499
|
-
function
|
|
17508
|
+
function l7(t, e, n) {
|
|
17500
17509
|
zd(t.x, e.x, n.x), zd(t.y, e.y, n.y);
|
|
17501
17510
|
}
|
|
17502
17511
|
function Ud(t, e, n) {
|
|
@@ -17509,7 +17518,7 @@ function ze(t) {
|
|
|
17509
17518
|
return [t("x"), t("y")];
|
|
17510
17519
|
}
|
|
17511
17520
|
const Dy = ({ current: t }) => t ? t.ownerDocument.defaultView : null, Hd = (t, e) => Math.abs(t - e);
|
|
17512
|
-
function
|
|
17521
|
+
function u7(t, e) {
|
|
17513
17522
|
const n = Hd(t.x, e.x), r = Hd(t.y, e.y);
|
|
17514
17523
|
return Math.sqrt(n ** 2 + r ** 2);
|
|
17515
17524
|
}
|
|
@@ -17518,7 +17527,7 @@ class Ey {
|
|
|
17518
17527
|
if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.updatePoint = () => {
|
|
17519
17528
|
if (!(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
17520
17529
|
return;
|
|
17521
|
-
const f = oo(this.lastMoveEventInfo, this.history), h = this.startEvent !== null, m =
|
|
17530
|
+
const f = oo(this.lastMoveEventInfo, this.history), h = this.startEvent !== null, m = u7(f.offset, { x: 0, y: 0 }) >= this.distanceThreshold;
|
|
17522
17531
|
if (!h && !m)
|
|
17523
17532
|
return;
|
|
17524
17533
|
const { point: p } = f, { timestamp: v } = Te;
|
|
@@ -17559,17 +17568,17 @@ function oo({ point: t }, e) {
|
|
|
17559
17568
|
return {
|
|
17560
17569
|
point: t,
|
|
17561
17570
|
delta: Wd(t, Py(e)),
|
|
17562
|
-
offset: Wd(t,
|
|
17563
|
-
velocity:
|
|
17571
|
+
offset: Wd(t, d7(e)),
|
|
17572
|
+
velocity: c7(e, 0.1)
|
|
17564
17573
|
};
|
|
17565
17574
|
}
|
|
17566
|
-
function
|
|
17575
|
+
function d7(t) {
|
|
17567
17576
|
return t[0];
|
|
17568
17577
|
}
|
|
17569
17578
|
function Py(t) {
|
|
17570
17579
|
return t[t.length - 1];
|
|
17571
17580
|
}
|
|
17572
|
-
function
|
|
17581
|
+
function c7(t, e) {
|
|
17573
17582
|
if (t.length < 2)
|
|
17574
17583
|
return { x: 0, y: 0 };
|
|
17575
17584
|
let n = t.length - 1, r = null;
|
|
@@ -17587,7 +17596,7 @@ function d7(t, e) {
|
|
|
17587
17596
|
};
|
|
17588
17597
|
return o.x === 1 / 0 && (o.x = 0), o.y === 1 / 0 && (o.y = 0), o;
|
|
17589
17598
|
}
|
|
17590
|
-
function
|
|
17599
|
+
function f7(t, { min: e, max: n }, r) {
|
|
17591
17600
|
return e !== void 0 && t < e ? t = r ? pe(e, t, r.min) : Math.max(t, e) : n !== void 0 && t > n && (t = r ? pe(n, t, r.max) : Math.min(t, n)), t;
|
|
17592
17601
|
}
|
|
17593
17602
|
function qd(t, e, n) {
|
|
@@ -17596,7 +17605,7 @@ function qd(t, e, n) {
|
|
|
17596
17605
|
max: n !== void 0 ? t.max + n - (t.max - t.min) : void 0
|
|
17597
17606
|
};
|
|
17598
17607
|
}
|
|
17599
|
-
function
|
|
17608
|
+
function h7(t, { top: e, left: n, bottom: r, right: i }) {
|
|
17600
17609
|
return {
|
|
17601
17610
|
x: qd(t.x, n, i),
|
|
17602
17611
|
y: qd(t.y, e, r)
|
|
@@ -17606,23 +17615,23 @@ function Gd(t, e) {
|
|
|
17606
17615
|
let n = e.min - t.min, r = e.max - t.max;
|
|
17607
17616
|
return e.max - e.min < t.max - t.min && ([n, r] = [r, n]), { min: n, max: r };
|
|
17608
17617
|
}
|
|
17609
|
-
function
|
|
17618
|
+
function m7(t, e) {
|
|
17610
17619
|
return {
|
|
17611
17620
|
x: Gd(t.x, e.x),
|
|
17612
17621
|
y: Gd(t.y, e.y)
|
|
17613
17622
|
};
|
|
17614
17623
|
}
|
|
17615
|
-
function
|
|
17624
|
+
function p7(t, e) {
|
|
17616
17625
|
let n = 0.5;
|
|
17617
17626
|
const r = ke(t), i = ke(e);
|
|
17618
17627
|
return i > r ? n = /* @__PURE__ */ Mr(e.min, e.max - r, t.min) : r > i && (n = /* @__PURE__ */ Mr(t.min, t.max - i, e.min)), Dt(0, 1, n);
|
|
17619
17628
|
}
|
|
17620
|
-
function
|
|
17629
|
+
function v7(t, e) {
|
|
17621
17630
|
const n = {};
|
|
17622
17631
|
return e.min !== void 0 && (n.min = e.min - t.min), e.max !== void 0 && (n.max = e.max - t.min), n;
|
|
17623
17632
|
}
|
|
17624
17633
|
const ls = 0.35;
|
|
17625
|
-
function
|
|
17634
|
+
function b7(t = ls) {
|
|
17626
17635
|
return t === !1 ? t = 0 : t === !0 && (t = ls), {
|
|
17627
17636
|
x: Yd(t, "left", "right"),
|
|
17628
17637
|
y: Yd(t, "top", "bottom")
|
|
@@ -17637,8 +17646,8 @@ function Yd(t, e, n) {
|
|
|
17637
17646
|
function Zd(t, e) {
|
|
17638
17647
|
return typeof t == "number" ? t : t[e] || 0;
|
|
17639
17648
|
}
|
|
17640
|
-
const
|
|
17641
|
-
class
|
|
17649
|
+
const y7 = /* @__PURE__ */ new WeakMap();
|
|
17650
|
+
class g7 {
|
|
17642
17651
|
constructor(e) {
|
|
17643
17652
|
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = $e(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;
|
|
17644
17653
|
}
|
|
@@ -17651,7 +17660,7 @@ class y7 {
|
|
|
17651
17660
|
f ? this.pauseAnimation() : this.stopAnimation(), n && this.snapToCursor(Jr(c).point);
|
|
17652
17661
|
}, o = (c, f) => {
|
|
17653
17662
|
const { drag: h, dragPropagation: m, onDragStart: p } = this.getProps();
|
|
17654
|
-
if (h && !m && (this.openDragLock && this.openDragLock(), this.openDragLock =
|
|
17663
|
+
if (h && !m && (this.openDragLock && this.openDragLock(), this.openDragLock = CD(h), !this.openDragLock))
|
|
17655
17664
|
return;
|
|
17656
17665
|
this.latestPointerEvent = c, this.latestPanInfo = f, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), ze((y) => {
|
|
17657
17666
|
let g = this.getAxisMotionValue(y).get() || 0;
|
|
@@ -17673,7 +17682,7 @@ class y7 {
|
|
|
17673
17682
|
return;
|
|
17674
17683
|
const { offset: y } = f;
|
|
17675
17684
|
if (m && this.currentDirection === null) {
|
|
17676
|
-
this.currentDirection =
|
|
17685
|
+
this.currentDirection = $7(y), this.currentDirection !== null && p && p(this.currentDirection);
|
|
17677
17686
|
return;
|
|
17678
17687
|
}
|
|
17679
17688
|
this.updateAxis("x", f.point, y), this.updateAxis("y", f.point, y), this.visualElement.render(), v && v(c, f);
|
|
@@ -17721,12 +17730,12 @@ class y7 {
|
|
|
17721
17730
|
return;
|
|
17722
17731
|
const a = this.getAxisMotionValue(e);
|
|
17723
17732
|
let o = this.originPoint[e] + r[e];
|
|
17724
|
-
this.constraints && this.constraints[e] && (o =
|
|
17733
|
+
this.constraints && this.constraints[e] && (o = f7(o, this.constraints[e], this.elastic[e])), a.set(o);
|
|
17725
17734
|
}
|
|
17726
17735
|
resolveConstraints() {
|
|
17727
17736
|
const { dragConstraints: e, dragElastic: n } = this.getProps(), r = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, i = this.constraints;
|
|
17728
|
-
e && Nn(e) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : e && r ? this.constraints =
|
|
17729
|
-
this.constraints !== !1 && this.getAxisMotionValue(a) && (this.constraints[a] =
|
|
17737
|
+
e && Nn(e) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : e && r ? this.constraints = h7(r.layoutBox, e) : this.constraints = !1, this.elastic = b7(n), i !== this.constraints && r && this.constraints && !this.hasMutatedConstraints && ze((a) => {
|
|
17738
|
+
this.constraints !== !1 && this.getAxisMotionValue(a) && (this.constraints[a] = v7(r.layoutBox[a], this.constraints[a]));
|
|
17730
17739
|
});
|
|
17731
17740
|
}
|
|
17732
17741
|
resolveRefConstraints() {
|
|
@@ -17738,10 +17747,10 @@ class y7 {
|
|
|
17738
17747
|
const { projection: i } = this.visualElement;
|
|
17739
17748
|
if (!i || !i.layout)
|
|
17740
17749
|
return !1;
|
|
17741
|
-
const a =
|
|
17742
|
-
let o =
|
|
17750
|
+
const a = x6(r, i.root, this.visualElement.getTransformPagePoint());
|
|
17751
|
+
let o = m7(i.layout.layoutBox, a);
|
|
17743
17752
|
if (n) {
|
|
17744
|
-
const s = n(
|
|
17753
|
+
const s = n(y6(o));
|
|
17745
17754
|
this.hasMutatedConstraints = !!s, s && (o = sy(s));
|
|
17746
17755
|
}
|
|
17747
17756
|
return o;
|
|
@@ -17819,7 +17828,7 @@ class y7 {
|
|
|
17819
17828
|
const s = this.getAxisMotionValue(o);
|
|
17820
17829
|
if (s && this.constraints !== !1) {
|
|
17821
17830
|
const l = s.get();
|
|
17822
|
-
i[o] =
|
|
17831
|
+
i[o] = p7({ min: l, max: l }, this.constraints[o]);
|
|
17823
17832
|
}
|
|
17824
17833
|
});
|
|
17825
17834
|
const { transformTemplate: a } = this.visualElement.getProps();
|
|
@@ -17833,7 +17842,7 @@ class y7 {
|
|
|
17833
17842
|
addListeners() {
|
|
17834
17843
|
if (!this.visualElement.current)
|
|
17835
17844
|
return;
|
|
17836
|
-
|
|
17845
|
+
y7.set(this.visualElement, this);
|
|
17837
17846
|
const e = this.visualElement.current, n = Er(e, "pointerdown", (l) => {
|
|
17838
17847
|
const { drag: u, dragListener: d = !0 } = this.getProps();
|
|
17839
17848
|
u && d && this.start(l);
|
|
@@ -17868,13 +17877,13 @@ class y7 {
|
|
|
17868
17877
|
function pi(t, e, n) {
|
|
17869
17878
|
return (e === !0 || e === t) && (n === null || n === t);
|
|
17870
17879
|
}
|
|
17871
|
-
function
|
|
17880
|
+
function $7(t, e = 10) {
|
|
17872
17881
|
let n = null;
|
|
17873
17882
|
return Math.abs(t.y) > e ? n = "y" : Math.abs(t.x) > e && (n = "x"), n;
|
|
17874
17883
|
}
|
|
17875
|
-
class
|
|
17884
|
+
class x7 extends Jt {
|
|
17876
17885
|
constructor(e) {
|
|
17877
|
-
super(e), this.removeGroupControls = qe, this.removeListeners = qe, this.controls = new
|
|
17886
|
+
super(e), this.removeGroupControls = qe, this.removeListeners = qe, this.controls = new g7(e);
|
|
17878
17887
|
}
|
|
17879
17888
|
mount() {
|
|
17880
17889
|
const { dragControls: e } = this.node.getProps();
|
|
@@ -17887,7 +17896,7 @@ class $7 extends Jt {
|
|
|
17887
17896
|
const Jd = (t) => (e, n) => {
|
|
17888
17897
|
t && fe.postRender(() => t(e, n));
|
|
17889
17898
|
};
|
|
17890
|
-
class
|
|
17899
|
+
class D7 extends Jt {
|
|
17891
17900
|
constructor() {
|
|
17892
17901
|
super(...arguments), this.removePointerDownListener = qe;
|
|
17893
17902
|
}
|
|
@@ -17945,7 +17954,7 @@ const hr = {
|
|
|
17945
17954
|
const n = Xd(t, e.target.x), r = Xd(t, e.target.y);
|
|
17946
17955
|
return `${n}% ${r}%`;
|
|
17947
17956
|
}
|
|
17948
|
-
},
|
|
17957
|
+
}, E7 = {
|
|
17949
17958
|
correct: (t, { treeScale: e, projectionDelta: n }) => {
|
|
17950
17959
|
const r = t, i = Gt.parse(t);
|
|
17951
17960
|
if (i.length > 5)
|
|
@@ -17957,7 +17966,7 @@ const hr = {
|
|
|
17957
17966
|
}
|
|
17958
17967
|
};
|
|
17959
17968
|
let so = !1;
|
|
17960
|
-
class
|
|
17969
|
+
class P7 extends qy {
|
|
17961
17970
|
/**
|
|
17962
17971
|
* This only mounts projection nodes for components that
|
|
17963
17972
|
* need measuring, we might want to do it for all components
|
|
@@ -17965,7 +17974,7 @@ class E7 extends qy {
|
|
|
17965
17974
|
*/
|
|
17966
17975
|
componentDidMount() {
|
|
17967
17976
|
const { visualElement: e, layoutGroup: n, switchLayoutGroup: r, layoutId: i } = this.props, { projection: a } = e;
|
|
17968
|
-
|
|
17977
|
+
WD(w7), a && (n.group && n.group.add(a), r && r.register && i && r.register(a), so && a.root.didUpdate(), a.addEventListener("animationComplete", () => {
|
|
17969
17978
|
this.safeToRemove();
|
|
17970
17979
|
}), a.setOptions({
|
|
17971
17980
|
...a.options,
|
|
@@ -17999,9 +18008,9 @@ class E7 extends qy {
|
|
|
17999
18008
|
}
|
|
18000
18009
|
function wy(t) {
|
|
18001
18010
|
const [e, n] = qb(), r = z(Xs);
|
|
18002
|
-
return D(
|
|
18011
|
+
return D(P7, { ...t, layoutGroup: r, switchLayoutGroup: z(ay), isPresent: e, safeToRemove: n });
|
|
18003
18012
|
}
|
|
18004
|
-
const
|
|
18013
|
+
const w7 = {
|
|
18005
18014
|
borderRadius: {
|
|
18006
18015
|
...hr,
|
|
18007
18016
|
applyTo: [
|
|
@@ -18015,14 +18024,14 @@ const P7 = {
|
|
|
18015
18024
|
borderTopRightRadius: hr,
|
|
18016
18025
|
borderBottomLeftRadius: hr,
|
|
18017
18026
|
borderBottomRightRadius: hr,
|
|
18018
|
-
boxShadow:
|
|
18027
|
+
boxShadow: E7
|
|
18019
18028
|
};
|
|
18020
|
-
function
|
|
18029
|
+
function C7(t, e, n) {
|
|
18021
18030
|
const r = Fe(t) ? t : qn(t);
|
|
18022
18031
|
return r.start(Bl("", r, e, n)), r.animation;
|
|
18023
18032
|
}
|
|
18024
|
-
const
|
|
18025
|
-
class
|
|
18033
|
+
const S7 = (t, e) => t.depth - e.depth;
|
|
18034
|
+
class T7 {
|
|
18026
18035
|
constructor() {
|
|
18027
18036
|
this.children = [], this.isDirty = !1;
|
|
18028
18037
|
}
|
|
@@ -18033,20 +18042,20 @@ class S7 {
|
|
|
18033
18042
|
nl(this.children, e), this.isDirty = !0;
|
|
18034
18043
|
}
|
|
18035
18044
|
forEach(e) {
|
|
18036
|
-
this.isDirty && this.children.sort(
|
|
18045
|
+
this.isDirty && this.children.sort(S7), this.isDirty = !1, this.children.forEach(e);
|
|
18037
18046
|
}
|
|
18038
18047
|
}
|
|
18039
|
-
function
|
|
18048
|
+
function A7(t, e) {
|
|
18040
18049
|
const n = Le.now(), r = ({ timestamp: i }) => {
|
|
18041
18050
|
const a = i - n;
|
|
18042
18051
|
a >= e && (qt(r), t(a - e));
|
|
18043
18052
|
};
|
|
18044
18053
|
return fe.setup(r, !0), () => qt(r);
|
|
18045
18054
|
}
|
|
18046
|
-
const Cy = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"],
|
|
18047
|
-
function
|
|
18048
|
-
i ? (t.opacity = pe(0, n.opacity ?? 1,
|
|
18049
|
-
for (let o = 0; o <
|
|
18055
|
+
const Cy = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], F7 = Cy.length, Qd = (t) => typeof t == "string" ? parseFloat(t) : t, ec = (t) => typeof t == "number" || J.test(t);
|
|
18056
|
+
function B7(t, e, n, r, i, a) {
|
|
18057
|
+
i ? (t.opacity = pe(0, n.opacity ?? 1, M7(r)), t.opacityExit = pe(e.opacity ?? 1, 0, k7(r))) : a && (t.opacity = pe(e.opacity ?? 1, n.opacity ?? 1, r));
|
|
18058
|
+
for (let o = 0; o < F7; o++) {
|
|
18050
18059
|
const s = `border${Cy[o]}Radius`;
|
|
18051
18060
|
let l = tc(e, s), u = tc(n, s);
|
|
18052
18061
|
if (l === void 0 && u === void 0)
|
|
@@ -18058,7 +18067,7 @@ function F7(t, e, n, r, i, a) {
|
|
|
18058
18067
|
function tc(t, e) {
|
|
18059
18068
|
return t[e] !== void 0 ? t[e] : t.borderRadius;
|
|
18060
18069
|
}
|
|
18061
|
-
const
|
|
18070
|
+
const M7 = /* @__PURE__ */ Sy(0, 0.5, hb), k7 = /* @__PURE__ */ Sy(0.5, 0.95, qe);
|
|
18062
18071
|
function Sy(t, e, n) {
|
|
18063
18072
|
return (r) => r < t ? 0 : r > e ? 1 : n(/* @__PURE__ */ Mr(t, e, r));
|
|
18064
18073
|
}
|
|
@@ -18074,18 +18083,18 @@ function rc(t, e) {
|
|
|
18074
18083
|
function ic(t, e, n, r, i) {
|
|
18075
18084
|
return t -= e, t = Qi(t, 1 / n, r), i !== void 0 && (t = Qi(t, 1 / i, r)), t;
|
|
18076
18085
|
}
|
|
18077
|
-
function
|
|
18086
|
+
function N7(t, e = 0, n = 1, r = 0.5, i, a = t, o = t) {
|
|
18078
18087
|
if (mt.test(e) && (e = parseFloat(e), e = pe(o.min, o.max, e / 100) - o.min), typeof e != "number")
|
|
18079
18088
|
return;
|
|
18080
18089
|
let s = pe(a.min, a.max, r);
|
|
18081
18090
|
t === a && (s -= e), t.min = ic(t.min, e, n, s, i), t.max = ic(t.max, e, n, s, i);
|
|
18082
18091
|
}
|
|
18083
18092
|
function ac(t, e, [n, r, i], a, o) {
|
|
18084
|
-
|
|
18093
|
+
N7(t, e[n], e[r], e[i], e.scale, a, o);
|
|
18085
18094
|
}
|
|
18086
|
-
const
|
|
18095
|
+
const V7 = ["x", "scaleX", "originX"], R7 = ["y", "scaleY", "originY"];
|
|
18087
18096
|
function oc(t, e, n, r) {
|
|
18088
|
-
ac(t.x, e,
|
|
18097
|
+
ac(t.x, e, V7, n ? n.x : void 0, r ? r.x : void 0), ac(t.y, e, R7, n ? n.y : void 0, r ? r.y : void 0);
|
|
18089
18098
|
}
|
|
18090
18099
|
function sc(t) {
|
|
18091
18100
|
return t.translate === 0 && t.scale === 1;
|
|
@@ -18096,7 +18105,7 @@ function Ty(t) {
|
|
|
18096
18105
|
function lc(t, e) {
|
|
18097
18106
|
return t.min === e.min && t.max === e.max;
|
|
18098
18107
|
}
|
|
18099
|
-
function
|
|
18108
|
+
function I7(t, e) {
|
|
18100
18109
|
return lc(t.x, e.x) && lc(t.y, e.y);
|
|
18101
18110
|
}
|
|
18102
18111
|
function uc(t, e) {
|
|
@@ -18111,7 +18120,7 @@ function dc(t) {
|
|
|
18111
18120
|
function cc(t, e) {
|
|
18112
18121
|
return t.translate === e.translate && t.scale === e.scale && t.originPoint === e.originPoint;
|
|
18113
18122
|
}
|
|
18114
|
-
class
|
|
18123
|
+
class L7 {
|
|
18115
18124
|
constructor() {
|
|
18116
18125
|
this.members = [];
|
|
18117
18126
|
}
|
|
@@ -18165,7 +18174,7 @@ class I7 {
|
|
|
18165
18174
|
this.lead && this.lead.snapshot && (this.lead.snapshot = void 0);
|
|
18166
18175
|
}
|
|
18167
18176
|
}
|
|
18168
|
-
function
|
|
18177
|
+
function O7(t, e, n) {
|
|
18169
18178
|
let r = "";
|
|
18170
18179
|
const i = t.x.translate / e.x, a = t.y.translate / e.y, o = n?.z || 0;
|
|
18171
18180
|
if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (e.x !== 1 || e.y !== 1) && (r += `scale(${1 / e.x}, ${1 / e.y}) `), n) {
|
|
@@ -18175,8 +18184,8 @@ function L7(t, e, n) {
|
|
|
18175
18184
|
const s = t.x.scale * e.x, l = t.y.scale * e.y;
|
|
18176
18185
|
return (s !== 1 || l !== 1) && (r += `scale(${s}, ${l})`), r || "none";
|
|
18177
18186
|
}
|
|
18178
|
-
const lo = ["", "X", "Y", "Z"],
|
|
18179
|
-
let
|
|
18187
|
+
const lo = ["", "X", "Y", "Z"], K7 = 1e3;
|
|
18188
|
+
let j7 = 0;
|
|
18180
18189
|
function uo(t, e, n, r) {
|
|
18181
18190
|
const { latestValues: i } = e;
|
|
18182
18191
|
i[t] && (n[t] = i[t], e.setStaticValue(t, 0), r && (r[t] = 0));
|
|
@@ -18198,14 +18207,14 @@ function Fy(t) {
|
|
|
18198
18207
|
function By({ attachResizeListener: t, defaultParent: e, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
|
|
18199
18208
|
return class {
|
|
18200
18209
|
constructor(o = {}, s = e?.()) {
|
|
18201
|
-
this.id =
|
|
18210
|
+
this.id = j7++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
|
|
18202
18211
|
this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
|
|
18203
18212
|
}, this.updateProjection = () => {
|
|
18204
|
-
this.projectionUpdateScheduled = !1, this.nodes.forEach(
|
|
18213
|
+
this.projectionUpdateScheduled = !1, this.nodes.forEach(U7), this.nodes.forEach(G7), this.nodes.forEach(Y7), this.nodes.forEach(H7);
|
|
18205
18214
|
}, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = o, this.root = s ? s.root || s : this, this.path = s ? [...s.path, s] : [], this.parent = s, this.depth = s ? s.depth + 1 : 0;
|
|
18206
18215
|
for (let l = 0; l < this.path.length; l++)
|
|
18207
18216
|
this.path[l].shouldResetTransform = !0;
|
|
18208
|
-
this.root === this && (this.nodes = new
|
|
18217
|
+
this.root === this && (this.nodes = new T7());
|
|
18209
18218
|
}
|
|
18210
18219
|
addEventListener(o, s) {
|
|
18211
18220
|
return this.eventHandlers.has(o) || this.eventHandlers.set(o, new il()), this.eventHandlers.get(o).add(s);
|
|
@@ -18223,7 +18232,7 @@ function By({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
18223
18232
|
mount(o) {
|
|
18224
18233
|
if (this.instance)
|
|
18225
18234
|
return;
|
|
18226
|
-
this.isSVG = Wb(o) && !
|
|
18235
|
+
this.isSVG = Wb(o) && !MD(o), this.instance = o;
|
|
18227
18236
|
const { layoutId: s, layout: l, visualElement: u } = this.options;
|
|
18228
18237
|
if (u && !u.current && u.mount(o), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (l || s) && (this.isLayoutDirty = !0), t) {
|
|
18229
18238
|
let d, c = 0;
|
|
@@ -18232,7 +18241,7 @@ function By({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
18232
18241
|
c = window.innerWidth;
|
|
18233
18242
|
}), t(o, () => {
|
|
18234
18243
|
const h = window.innerWidth;
|
|
18235
|
-
h !== c && (c = h, this.root.updateBlockedByResize = !0, d && d(), d =
|
|
18244
|
+
h !== c && (c = h, this.root.updateBlockedByResize = !0, d && d(), d = A7(f, 250), Ti.hasAnimatedSinceResize && (Ti.hasAnimatedSinceResize = !1, this.nodes.forEach(mc)));
|
|
18236
18245
|
});
|
|
18237
18246
|
}
|
|
18238
18247
|
s && this.root.registerSharedNode(s, this), this.options.animate !== !1 && u && (s || l) && this.addEventListener("didUpdate", ({ delta: d, hasLayoutChanged: c, hasRelativeLayoutChanged: f, layout: h }) => {
|
|
@@ -18240,7 +18249,7 @@ function By({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
18240
18249
|
this.target = void 0, this.relativeTarget = void 0;
|
|
18241
18250
|
return;
|
|
18242
18251
|
}
|
|
18243
|
-
const m = this.options.transition || u.getDefaultTransition() ||
|
|
18252
|
+
const m = this.options.transition || u.getDefaultTransition() || eE, { onLayoutAnimationStart: p, onLayoutAnimationComplete: v } = u.getProps(), y = !this.targetLayout || !Ay(this.targetLayout, h), g = !c && f;
|
|
18244
18253
|
if (this.options.layoutRoot || this.resumeFrom || g || c && (y || !this.currentAnimation)) {
|
|
18245
18254
|
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
|
|
18246
18255
|
const $ = {
|
|
@@ -18274,7 +18283,7 @@ function By({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
18274
18283
|
}
|
|
18275
18284
|
// Note: currently only running on root node
|
|
18276
18285
|
startUpdate() {
|
|
18277
|
-
this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(
|
|
18286
|
+
this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Z7), this.animationId++);
|
|
18278
18287
|
}
|
|
18279
18288
|
getTransformTemplate() {
|
|
18280
18289
|
const { visualElement: o } = this.options;
|
|
@@ -18307,7 +18316,7 @@ function By({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
18307
18316
|
this.nodes.forEach(hc);
|
|
18308
18317
|
return;
|
|
18309
18318
|
}
|
|
18310
|
-
this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(
|
|
18319
|
+
this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(q7), this.nodes.forEach(_7), this.nodes.forEach(z7)) : this.nodes.forEach(hc), this.clearAllSnapshots();
|
|
18311
18320
|
const s = Le.now();
|
|
18312
18321
|
Te.delta = Dt(0, 1e3 / 60, s - Te.timestamp), Te.timestamp = s, Te.isProcessing = !0, Ja.update.process(Te), Ja.preRender.process(Te), Ja.render.process(Te), Te.isProcessing = !1;
|
|
18313
18322
|
}
|
|
@@ -18315,7 +18324,7 @@ function By({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
18315
18324
|
this.updateScheduled || (this.updateScheduled = !0, $l.read(this.scheduleUpdate));
|
|
18316
18325
|
}
|
|
18317
18326
|
clearAllSnapshots() {
|
|
18318
|
-
this.nodes.forEach(
|
|
18327
|
+
this.nodes.forEach(W7), this.sharedNodes.forEach(J7);
|
|
18319
18328
|
}
|
|
18320
18329
|
scheduleUpdateProjection() {
|
|
18321
18330
|
this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, fe.preRender(this.updateProjection, !1, !0));
|
|
@@ -18364,7 +18373,7 @@ function By({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
18364
18373
|
measure(o = !0) {
|
|
18365
18374
|
const s = this.measurePageBox();
|
|
18366
18375
|
let l = this.removeElementScroll(s);
|
|
18367
|
-
return o && (l = this.removeTransform(l)),
|
|
18376
|
+
return o && (l = this.removeTransform(l)), tE(l), {
|
|
18368
18377
|
animationId: this.root.animationId,
|
|
18369
18378
|
measuredBox: s,
|
|
18370
18379
|
layoutBox: l,
|
|
@@ -18377,7 +18386,7 @@ function By({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
18377
18386
|
if (!o)
|
|
18378
18387
|
return $e();
|
|
18379
18388
|
const s = o.measureViewportBox();
|
|
18380
|
-
if (!(this.scroll?.wasRoot || this.path.some(
|
|
18389
|
+
if (!(this.scroll?.wasRoot || this.path.some(nE))) {
|
|
18381
18390
|
const { scroll: u } = this.root;
|
|
18382
18391
|
u && (Vn(s.x, u.offset.x), Vn(s.y, u.offset.y));
|
|
18383
18392
|
}
|
|
@@ -18446,7 +18455,7 @@ function By({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
18446
18455
|
const f = this.getClosestProjectingParent();
|
|
18447
18456
|
f && f.layout && this.animationProgress !== 1 ? (this.relativeParent = f, this.forceRelativeParentToResolveTarget(), this.relativeTarget = $e(), this.relativeTargetOrigin = $e(), wr(this.relativeTargetOrigin, this.layout.layoutBox, f.layout.layoutBox), je(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
18448
18457
|
}
|
|
18449
|
-
if (!(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = $e(), this.targetWithTransforms = $e()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(),
|
|
18458
|
+
if (!(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = $e(), this.targetWithTransforms = $e()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), l7(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : je(this.target, this.layout.layoutBox), uy(this.target, this.targetDelta)) : je(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget)) {
|
|
18450
18459
|
this.attemptToResolveRelativeTarget = !1;
|
|
18451
18460
|
const f = this.getClosestProjectingParent();
|
|
18452
18461
|
f && !!f.resumingFrom == !!this.resumingFrom && !f.options.layoutScroll && f.target && this.animationProgress !== 1 ? (this.relativeParent = f, this.forceRelativeParentToResolveTarget(), this.relativeTarget = $e(), this.relativeTargetOrigin = $e(), wr(this.relativeTargetOrigin, this.target, f.target), je(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
@@ -18470,7 +18479,7 @@ function By({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
18470
18479
|
return;
|
|
18471
18480
|
je(this.layoutCorrected, this.layout.layoutBox);
|
|
18472
18481
|
const c = this.treeScale.x, f = this.treeScale.y;
|
|
18473
|
-
|
|
18482
|
+
$6(this.layoutCorrected, this.treeScale, this.path, s), o.layout && !o.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (o.target = o.layout.layoutBox, o.targetWithTransforms = $e());
|
|
18474
18483
|
const { target: h } = o;
|
|
18475
18484
|
if (!h) {
|
|
18476
18485
|
this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
|
|
@@ -18497,17 +18506,17 @@ function By({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
18497
18506
|
setAnimationOrigin(o, s = !1) {
|
|
18498
18507
|
const l = this.snapshot, u = l ? l.latestValues : {}, d = { ...this.latestValues }, c = In();
|
|
18499
18508
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !s;
|
|
18500
|
-
const f = $e(), h = l ? l.source : void 0, m = this.layout ? this.layout.source : void 0, p = h !== m, v = this.getStack(), y = !v || v.members.length <= 1, g = !!(p && !y && this.options.crossfade === !0 && !this.path.some(
|
|
18509
|
+
const f = $e(), h = l ? l.source : void 0, m = this.layout ? this.layout.source : void 0, p = h !== m, v = this.getStack(), y = !v || v.members.length <= 1, g = !!(p && !y && this.options.crossfade === !0 && !this.path.some(Q7));
|
|
18501
18510
|
this.animationProgress = 0;
|
|
18502
18511
|
let $;
|
|
18503
18512
|
this.mixTargetDelta = (E) => {
|
|
18504
18513
|
const S = E / 1e3;
|
|
18505
|
-
pc(c.x, o.x, S), pc(c.y, o.y, S), this.setTargetDelta(c), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (wr(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox),
|
|
18514
|
+
pc(c.x, o.x, S), pc(c.y, o.y, S), this.setTargetDelta(c), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (wr(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox), X7(this.relativeTarget, this.relativeTargetOrigin, f, S), $ && I7(this.relativeTarget, $) && (this.isProjectionDirty = !1), $ || ($ = $e()), je($, this.relativeTarget)), p && (this.animationValues = d, B7(d, u, this.latestValues, S, g, y)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = S;
|
|
18506
18515
|
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
18507
18516
|
}
|
|
18508
18517
|
startAnimation(o) {
|
|
18509
18518
|
this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation && (qt(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = fe.update(() => {
|
|
18510
|
-
Ti.hasAnimatedSinceResize = !0, this.motionValue || (this.motionValue = qn(0)), this.currentAnimation =
|
|
18519
|
+
Ti.hasAnimatedSinceResize = !0, this.motionValue || (this.motionValue = qn(0)), this.currentAnimation = C7(this.motionValue, [0, 1e3], {
|
|
18511
18520
|
...o,
|
|
18512
18521
|
velocity: 0,
|
|
18513
18522
|
isSync: !0,
|
|
@@ -18528,7 +18537,7 @@ function By({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
18528
18537
|
o && o.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
|
|
18529
18538
|
}
|
|
18530
18539
|
finishAnimation() {
|
|
18531
|
-
this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(
|
|
18540
|
+
this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(K7), this.currentAnimation.stop()), this.completeAnimation();
|
|
18532
18541
|
}
|
|
18533
18542
|
applyTransformsToTarget() {
|
|
18534
18543
|
const o = this.getLead();
|
|
@@ -18545,7 +18554,7 @@ function By({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
18545
18554
|
}
|
|
18546
18555
|
}
|
|
18547
18556
|
registerSharedNode(o, s) {
|
|
18548
|
-
this.sharedNodes.has(o) || this.sharedNodes.set(o, new
|
|
18557
|
+
this.sharedNodes.has(o) || this.sharedNodes.set(o, new L7()), this.sharedNodes.get(o).add(s);
|
|
18549
18558
|
const u = s.options.initialPromotionConfig;
|
|
18550
18559
|
s.promote({
|
|
18551
18560
|
transition: u ? u.transition : void 0,
|
|
@@ -18614,7 +18623,7 @@ function By({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
18614
18623
|
o.visibility = "";
|
|
18615
18624
|
const d = u.animationValues || u.latestValues;
|
|
18616
18625
|
this.applyTransformsToTarget();
|
|
18617
|
-
let c =
|
|
18626
|
+
let c = O7(this.projectionDeltaWithTransform, this.treeScale, d);
|
|
18618
18627
|
l && (c = l(d, c)), o.transform = c;
|
|
18619
18628
|
const { x: f, y: h } = this.projectionDelta;
|
|
18620
18629
|
o.transformOrigin = `${f.origin * 100}% ${h.origin * 100}% 0`, u.animationValues ? o.opacity = u === this ? d.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : d.opacityExit : o.opacity = u === this ? d.opacity !== void 0 ? d.opacity : "" : d.opacityExit !== void 0 ? d.opacityExit : 0;
|
|
@@ -18640,10 +18649,10 @@ function By({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
18640
18649
|
}
|
|
18641
18650
|
};
|
|
18642
18651
|
}
|
|
18643
|
-
function
|
|
18652
|
+
function _7(t) {
|
|
18644
18653
|
t.updateLayout();
|
|
18645
18654
|
}
|
|
18646
|
-
function
|
|
18655
|
+
function z7(t) {
|
|
18647
18656
|
const e = t.resumeFrom?.snapshot || t.snapshot;
|
|
18648
18657
|
if (t.isLead() && t.layout && e && t.hasListeners("didUpdate")) {
|
|
18649
18658
|
const { layoutBox: n, measuredBox: r } = t.layout, { animationType: i } = t.options, a = e.source !== t.layout.source;
|
|
@@ -18686,13 +18695,13 @@ function _7(t) {
|
|
|
18686
18695
|
}
|
|
18687
18696
|
t.options.transition = void 0;
|
|
18688
18697
|
}
|
|
18689
|
-
function
|
|
18698
|
+
function U7(t) {
|
|
18690
18699
|
t.parent && (t.isProjecting() || (t.isProjectionDirty = t.parent.isProjectionDirty), t.isSharedProjectionDirty || (t.isSharedProjectionDirty = !!(t.isProjectionDirty || t.parent.isProjectionDirty || t.parent.isSharedProjectionDirty)), t.isTransformDirty || (t.isTransformDirty = t.parent.isTransformDirty));
|
|
18691
18700
|
}
|
|
18692
|
-
function
|
|
18701
|
+
function H7(t) {
|
|
18693
18702
|
t.isProjectionDirty = t.isSharedProjectionDirty = t.isTransformDirty = !1;
|
|
18694
18703
|
}
|
|
18695
|
-
function
|
|
18704
|
+
function W7(t) {
|
|
18696
18705
|
t.clearSnapshot();
|
|
18697
18706
|
}
|
|
18698
18707
|
function fc(t) {
|
|
@@ -18701,23 +18710,23 @@ function fc(t) {
|
|
|
18701
18710
|
function hc(t) {
|
|
18702
18711
|
t.isLayoutDirty = !1;
|
|
18703
18712
|
}
|
|
18704
|
-
function
|
|
18713
|
+
function q7(t) {
|
|
18705
18714
|
const { visualElement: e } = t.options;
|
|
18706
18715
|
e && e.getProps().onBeforeLayoutMeasure && e.notify("BeforeLayoutMeasure"), t.resetTransform();
|
|
18707
18716
|
}
|
|
18708
18717
|
function mc(t) {
|
|
18709
18718
|
t.finishAnimation(), t.targetDelta = t.relativeTarget = t.target = void 0, t.isProjectionDirty = !0;
|
|
18710
18719
|
}
|
|
18711
|
-
function
|
|
18720
|
+
function G7(t) {
|
|
18712
18721
|
t.resolveTargetDelta();
|
|
18713
18722
|
}
|
|
18714
|
-
function
|
|
18723
|
+
function Y7(t) {
|
|
18715
18724
|
t.calcProjection();
|
|
18716
18725
|
}
|
|
18717
|
-
function
|
|
18726
|
+
function Z7(t) {
|
|
18718
18727
|
t.resetSkewAndRotation();
|
|
18719
18728
|
}
|
|
18720
|
-
function
|
|
18729
|
+
function J7(t) {
|
|
18721
18730
|
t.removeLeadSnapshot();
|
|
18722
18731
|
}
|
|
18723
18732
|
function pc(t, e, n) {
|
|
@@ -18726,29 +18735,29 @@ function pc(t, e, n) {
|
|
|
18726
18735
|
function vc(t, e, n, r) {
|
|
18727
18736
|
t.min = pe(e.min, n.min, r), t.max = pe(e.max, n.max, r);
|
|
18728
18737
|
}
|
|
18729
|
-
function
|
|
18738
|
+
function X7(t, e, n, r) {
|
|
18730
18739
|
vc(t.x, e.x, n.x, r), vc(t.y, e.y, n.y, r);
|
|
18731
18740
|
}
|
|
18732
|
-
function
|
|
18741
|
+
function Q7(t) {
|
|
18733
18742
|
return t.animationValues && t.animationValues.opacityExit !== void 0;
|
|
18734
18743
|
}
|
|
18735
|
-
const
|
|
18744
|
+
const eE = {
|
|
18736
18745
|
duration: 0.45,
|
|
18737
18746
|
ease: [0.4, 0, 0.1, 1]
|
|
18738
18747
|
}, bc = (t) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(t), yc = bc("applewebkit/") && !bc("chrome/") ? Math.round : qe;
|
|
18739
18748
|
function gc(t) {
|
|
18740
18749
|
t.min = yc(t.min), t.max = yc(t.max);
|
|
18741
18750
|
}
|
|
18742
|
-
function
|
|
18751
|
+
function tE(t) {
|
|
18743
18752
|
gc(t.x), gc(t.y);
|
|
18744
18753
|
}
|
|
18745
18754
|
function My(t, e, n) {
|
|
18746
|
-
return t === "position" || t === "preserve-aspect" && !
|
|
18755
|
+
return t === "position" || t === "preserve-aspect" && !s7(dc(e), dc(n), 0.2);
|
|
18747
18756
|
}
|
|
18748
|
-
function
|
|
18757
|
+
function nE(t) {
|
|
18749
18758
|
return t !== t.root && t.scroll?.wasRoot;
|
|
18750
18759
|
}
|
|
18751
|
-
const
|
|
18760
|
+
const rE = By({
|
|
18752
18761
|
attachResizeListener: (t, e) => Ir(t, "resize", e),
|
|
18753
18762
|
measureScroll: () => ({
|
|
18754
18763
|
x: document.documentElement.scrollLeft || document.body.scrollLeft,
|
|
@@ -18764,7 +18773,7 @@ const nE = By({
|
|
|
18764
18773
|
}),
|
|
18765
18774
|
defaultParent: () => {
|
|
18766
18775
|
if (!co.current) {
|
|
18767
|
-
const t = new
|
|
18776
|
+
const t = new rE({});
|
|
18768
18777
|
t.mount(window), t.setOptions({ layoutScroll: !0 }), co.current = t;
|
|
18769
18778
|
}
|
|
18770
18779
|
return co.current;
|
|
@@ -18773,12 +18782,12 @@ const nE = By({
|
|
|
18773
18782
|
t.style.transform = e !== void 0 ? e : "none";
|
|
18774
18783
|
},
|
|
18775
18784
|
checkIsScrollRoot: (t) => window.getComputedStyle(t).position === "fixed"
|
|
18776
|
-
}),
|
|
18785
|
+
}), iE = {
|
|
18777
18786
|
pan: {
|
|
18778
|
-
Feature:
|
|
18787
|
+
Feature: D7
|
|
18779
18788
|
},
|
|
18780
18789
|
drag: {
|
|
18781
|
-
Feature:
|
|
18790
|
+
Feature: x7,
|
|
18782
18791
|
ProjectionNode: ky,
|
|
18783
18792
|
MeasureLayout: wy
|
|
18784
18793
|
}
|
|
@@ -18789,15 +18798,15 @@ function $c(t, e, n) {
|
|
|
18789
18798
|
const i = "onHover" + n, a = r[i];
|
|
18790
18799
|
a && fe.postRender(() => a(e, Jr(e)));
|
|
18791
18800
|
}
|
|
18792
|
-
class
|
|
18801
|
+
class aE extends Jt {
|
|
18793
18802
|
mount() {
|
|
18794
18803
|
const { current: e } = this.node;
|
|
18795
|
-
e && (this.unmount =
|
|
18804
|
+
e && (this.unmount = SD(e, (n, r) => ($c(this.node, r, "Start"), (i) => $c(this.node, i, "End"))));
|
|
18796
18805
|
}
|
|
18797
18806
|
unmount() {
|
|
18798
18807
|
}
|
|
18799
18808
|
}
|
|
18800
|
-
class
|
|
18809
|
+
class oE extends Jt {
|
|
18801
18810
|
constructor() {
|
|
18802
18811
|
super(...arguments), this.isActive = !1;
|
|
18803
18812
|
}
|
|
@@ -18827,37 +18836,37 @@ function xc(t, e, n) {
|
|
|
18827
18836
|
const i = "onTap" + (n === "End" ? "" : n), a = r[i];
|
|
18828
18837
|
a && fe.postRender(() => a(e, Jr(e)));
|
|
18829
18838
|
}
|
|
18830
|
-
class
|
|
18839
|
+
class sE extends Jt {
|
|
18831
18840
|
mount() {
|
|
18832
18841
|
const { current: e } = this.node;
|
|
18833
|
-
e && (this.unmount =
|
|
18842
|
+
e && (this.unmount = BD(e, (n, r) => (xc(this.node, r, "Start"), (i, { success: a }) => xc(this.node, i, a ? "End" : "Cancel")), { useGlobalTarget: this.node.props.globalTapTarget }));
|
|
18834
18843
|
}
|
|
18835
18844
|
unmount() {
|
|
18836
18845
|
}
|
|
18837
18846
|
}
|
|
18838
|
-
const us = /* @__PURE__ */ new WeakMap(), fo = /* @__PURE__ */ new WeakMap(),
|
|
18847
|
+
const us = /* @__PURE__ */ new WeakMap(), fo = /* @__PURE__ */ new WeakMap(), lE = (t) => {
|
|
18839
18848
|
const e = us.get(t.target);
|
|
18840
18849
|
e && e(t);
|
|
18841
|
-
},
|
|
18842
|
-
t.forEach(
|
|
18850
|
+
}, uE = (t) => {
|
|
18851
|
+
t.forEach(lE);
|
|
18843
18852
|
};
|
|
18844
|
-
function
|
|
18853
|
+
function dE({ root: t, ...e }) {
|
|
18845
18854
|
const n = t || document;
|
|
18846
18855
|
fo.has(n) || fo.set(n, {});
|
|
18847
18856
|
const r = fo.get(n), i = JSON.stringify(e);
|
|
18848
|
-
return r[i] || (r[i] = new IntersectionObserver(
|
|
18857
|
+
return r[i] || (r[i] = new IntersectionObserver(uE, { root: t, ...e })), r[i];
|
|
18849
18858
|
}
|
|
18850
|
-
function
|
|
18851
|
-
const r =
|
|
18859
|
+
function cE(t, e, n) {
|
|
18860
|
+
const r = dE(e);
|
|
18852
18861
|
return us.set(t, n), r.observe(t), () => {
|
|
18853
18862
|
us.delete(t), r.unobserve(t);
|
|
18854
18863
|
};
|
|
18855
18864
|
}
|
|
18856
|
-
const
|
|
18865
|
+
const fE = {
|
|
18857
18866
|
some: 0,
|
|
18858
18867
|
all: 1
|
|
18859
18868
|
};
|
|
18860
|
-
class
|
|
18869
|
+
class hE extends Jt {
|
|
18861
18870
|
constructor() {
|
|
18862
18871
|
super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
|
|
18863
18872
|
}
|
|
@@ -18866,7 +18875,7 @@ class fE extends Jt {
|
|
|
18866
18875
|
const { viewport: e = {} } = this.node.getProps(), { root: n, margin: r, amount: i = "some", once: a } = e, o = {
|
|
18867
18876
|
root: n ? n.current : void 0,
|
|
18868
18877
|
rootMargin: r,
|
|
18869
|
-
threshold: typeof i == "number" ? i :
|
|
18878
|
+
threshold: typeof i == "number" ? i : fE[i]
|
|
18870
18879
|
}, s = (l) => {
|
|
18871
18880
|
const { isIntersecting: u } = l;
|
|
18872
18881
|
if (this.isInView === u || (this.isInView = u, a && !u && this.hasEnteredView))
|
|
@@ -18875,7 +18884,7 @@ class fE extends Jt {
|
|
|
18875
18884
|
const { onViewportEnter: d, onViewportLeave: c } = this.node.getProps(), f = u ? d : c;
|
|
18876
18885
|
f && f(l);
|
|
18877
18886
|
};
|
|
18878
|
-
return
|
|
18887
|
+
return cE(this.node.current, o, s);
|
|
18879
18888
|
}
|
|
18880
18889
|
mount() {
|
|
18881
18890
|
this.startObserver();
|
|
@@ -18884,38 +18893,38 @@ class fE extends Jt {
|
|
|
18884
18893
|
if (typeof IntersectionObserver > "u")
|
|
18885
18894
|
return;
|
|
18886
18895
|
const { props: e, prevProps: n } = this.node;
|
|
18887
|
-
["amount", "margin", "root"].some(
|
|
18896
|
+
["amount", "margin", "root"].some(mE(e, n)) && this.startObserver();
|
|
18888
18897
|
}
|
|
18889
18898
|
unmount() {
|
|
18890
18899
|
}
|
|
18891
18900
|
}
|
|
18892
|
-
function
|
|
18901
|
+
function mE({ viewport: t = {} }, { viewport: e = {} } = {}) {
|
|
18893
18902
|
return (n) => t[n] !== e[n];
|
|
18894
18903
|
}
|
|
18895
|
-
const
|
|
18904
|
+
const pE = {
|
|
18896
18905
|
inView: {
|
|
18897
|
-
Feature:
|
|
18906
|
+
Feature: hE
|
|
18898
18907
|
},
|
|
18899
18908
|
tap: {
|
|
18900
|
-
Feature:
|
|
18909
|
+
Feature: sE
|
|
18901
18910
|
},
|
|
18902
18911
|
focus: {
|
|
18903
|
-
Feature:
|
|
18912
|
+
Feature: oE
|
|
18904
18913
|
},
|
|
18905
18914
|
hover: {
|
|
18906
|
-
Feature:
|
|
18915
|
+
Feature: aE
|
|
18907
18916
|
}
|
|
18908
|
-
},
|
|
18917
|
+
}, vE = {
|
|
18909
18918
|
layout: {
|
|
18910
18919
|
ProjectionNode: ky,
|
|
18911
18920
|
MeasureLayout: wy
|
|
18912
18921
|
}
|
|
18913
|
-
},
|
|
18914
|
-
...
|
|
18915
|
-
...
|
|
18916
|
-
...
|
|
18917
|
-
...
|
|
18918
|
-
},
|
|
18922
|
+
}, bE = {
|
|
18923
|
+
...t7,
|
|
18924
|
+
...pE,
|
|
18925
|
+
...iE,
|
|
18926
|
+
...vE
|
|
18927
|
+
}, yE = /* @__PURE__ */ b6(bE, F6);
|
|
18919
18928
|
function gr(t) {
|
|
18920
18929
|
const {
|
|
18921
18930
|
className: e,
|
|
@@ -18925,8 +18934,8 @@ function gr(t) {
|
|
|
18925
18934
|
color: a = "white",
|
|
18926
18935
|
...o
|
|
18927
18936
|
} = t;
|
|
18928
|
-
return /* @__PURE__ */ D(
|
|
18929
|
-
|
|
18937
|
+
return /* @__PURE__ */ D(OD, { mode: "wait", children: (r || n) && /* @__PURE__ */ Ac(
|
|
18938
|
+
yE.span,
|
|
18930
18939
|
{
|
|
18931
18940
|
...o,
|
|
18932
18941
|
key: "spinner",
|
|
@@ -18934,12 +18943,12 @@ function gr(t) {
|
|
|
18934
18943
|
animate: r ? { opacity: 1, scale: 1 } : { opacity: 0, scale: 0.8 },
|
|
18935
18944
|
exit: { opacity: 0, scale: 0.8 },
|
|
18936
18945
|
transition: { duration: 0.2, ease: "easeOut" },
|
|
18937
|
-
className: Ge(e,
|
|
18946
|
+
className: Ge(e, Ix)
|
|
18938
18947
|
},
|
|
18939
|
-
/* @__PURE__ */ D("span", { className:
|
|
18948
|
+
/* @__PURE__ */ D("span", { className: Lx({ size: i, color: a }) })
|
|
18940
18949
|
) });
|
|
18941
18950
|
}
|
|
18942
|
-
const wt = Symbol.for("@ts-pattern/matcher"),
|
|
18951
|
+
const wt = Symbol.for("@ts-pattern/matcher"), gE = Symbol.for("@ts-pattern/isVariadic"), ea = "@ts-pattern/anonymous-select-key", ds = (t) => !!(t && typeof t == "object"), Ai = (t) => t && !!t[wt], dt = (t, e, n) => {
|
|
18943
18952
|
if (Ai(t)) {
|
|
18944
18953
|
const r = t[wt](), { matched: i, selections: a } = r.match(e);
|
|
18945
18954
|
return i && a && Object.keys(a).forEach((o) => n(o, a[o])), i;
|
|
@@ -18951,7 +18960,7 @@ const wt = Symbol.for("@ts-pattern/matcher"), yE = Symbol.for("@ts-pattern/isVar
|
|
|
18951
18960
|
let r = [], i = [], a = [];
|
|
18952
18961
|
for (const o of t.keys()) {
|
|
18953
18962
|
const s = t[o];
|
|
18954
|
-
Ai(s) && s[
|
|
18963
|
+
Ai(s) && s[gE] ? a.push(s) : a.length ? i.push(s) : r.push(s);
|
|
18955
18964
|
}
|
|
18956
18965
|
if (a.length) {
|
|
18957
18966
|
if (a.length > 1) throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");
|
|
@@ -18973,9 +18982,9 @@ const wt = Symbol.for("@ts-pattern/matcher"), yE = Symbol.for("@ts-pattern/isVar
|
|
|
18973
18982
|
return ds(t) ? Ai(t) ? (e = (n = (r = t[wt]()).getSelectionKeys) == null ? void 0 : n.call(r)) != null ? e : [] : Array.isArray(t) ? Lr(t, Yt) : Lr(Object.values(t), Yt) : [];
|
|
18974
18983
|
}, Lr = (t, e) => t.reduce((n, r) => n.concat(e(r)), []);
|
|
18975
18984
|
function Je(t) {
|
|
18976
|
-
return Object.assign(t, { optional: () =>
|
|
18985
|
+
return Object.assign(t, { optional: () => $E(t), and: (e) => ce(t, e), or: (e) => xE(t, e), select: (e) => e === void 0 ? Dc(t) : Dc(e, t) });
|
|
18977
18986
|
}
|
|
18978
|
-
function
|
|
18987
|
+
function $E(t) {
|
|
18979
18988
|
return Je({ [wt]: () => ({ match: (e) => {
|
|
18980
18989
|
let n = {};
|
|
18981
18990
|
const r = (i, a) => {
|
|
@@ -18993,7 +19002,7 @@ function ce(...t) {
|
|
|
18993
19002
|
return { matched: t.every((i) => dt(i, e, r)), selections: n };
|
|
18994
19003
|
}, getSelectionKeys: () => Lr(t, Yt), matcherType: "and" }) });
|
|
18995
19004
|
}
|
|
18996
|
-
function
|
|
19005
|
+
function xE(...t) {
|
|
18997
19006
|
return Je({ [wt]: () => ({ match: (e) => {
|
|
18998
19007
|
let n = {};
|
|
18999
19008
|
const r = (i, a) => {
|
|
@@ -19056,7 +19065,7 @@ Je(ie(function(t) {
|
|
|
19056
19065
|
Je(ie(function(t) {
|
|
19057
19066
|
return t != null;
|
|
19058
19067
|
}));
|
|
19059
|
-
class
|
|
19068
|
+
class DE extends Error {
|
|
19060
19069
|
constructor(e) {
|
|
19061
19070
|
let n;
|
|
19062
19071
|
try {
|
|
@@ -19068,7 +19077,7 @@ class xE extends Error {
|
|
|
19068
19077
|
}
|
|
19069
19078
|
}
|
|
19070
19079
|
const cs = { matched: !1, value: void 0 };
|
|
19071
|
-
function
|
|
19080
|
+
function EE(t) {
|
|
19072
19081
|
return new ta(t, cs);
|
|
19073
19082
|
}
|
|
19074
19083
|
class ta {
|
|
@@ -19094,7 +19103,7 @@ class ta {
|
|
|
19094
19103
|
otherwise(e) {
|
|
19095
19104
|
return this.state.matched ? this.state.value : e(this.input);
|
|
19096
19105
|
}
|
|
19097
|
-
exhaustive(e =
|
|
19106
|
+
exhaustive(e = PE) {
|
|
19098
19107
|
return this.state.matched ? this.state.value : e(this.input);
|
|
19099
19108
|
}
|
|
19100
19109
|
run() {
|
|
@@ -19107,10 +19116,10 @@ class ta {
|
|
|
19107
19116
|
return this;
|
|
19108
19117
|
}
|
|
19109
19118
|
}
|
|
19110
|
-
function EE(t) {
|
|
19111
|
-
throw new xE(t);
|
|
19112
|
-
}
|
|
19113
19119
|
function PE(t) {
|
|
19120
|
+
throw new DE(t);
|
|
19121
|
+
}
|
|
19122
|
+
function wE(t) {
|
|
19114
19123
|
const {
|
|
19115
19124
|
className: e,
|
|
19116
19125
|
size: n,
|
|
@@ -19124,17 +19133,17 @@ function PE(t) {
|
|
|
19124
19133
|
return /* @__PURE__ */ D(
|
|
19125
19134
|
Ht,
|
|
19126
19135
|
{
|
|
19127
|
-
className: Ge(
|
|
19136
|
+
className: Ge(Vx({ size: n, intent: r, width: i }), e),
|
|
19128
19137
|
isDisabled: o,
|
|
19129
19138
|
...l,
|
|
19130
|
-
children: (u) => /* @__PURE__ */ Z("span", { className:
|
|
19139
|
+
children: (u) => /* @__PURE__ */ Z("span", { className: Rx({ size: n }), children: [
|
|
19131
19140
|
typeof a == "function" ? a(u) : a,
|
|
19132
19141
|
/* @__PURE__ */ D(
|
|
19133
19142
|
gr,
|
|
19134
19143
|
{
|
|
19135
19144
|
isVisible: s,
|
|
19136
19145
|
size: n === "small" ? "small" : "default",
|
|
19137
|
-
color:
|
|
19146
|
+
color: CE(r),
|
|
19138
19147
|
"aria-disabled": o
|
|
19139
19148
|
}
|
|
19140
19149
|
)
|
|
@@ -19142,42 +19151,42 @@ function PE(t) {
|
|
|
19142
19151
|
}
|
|
19143
19152
|
);
|
|
19144
19153
|
}
|
|
19145
|
-
function
|
|
19146
|
-
return
|
|
19154
|
+
function CE(t) {
|
|
19155
|
+
return EE(t).returnType().with("default", () => "white").with("cta", () => "green").with("error", () => "red").with("info", () => "white").with("secondary", () => "white").with("success", () => "green").with("tertiary", () => "blue").with("warning", () => "white").with(void 0, () => "white").exhaustive();
|
|
19147
19156
|
}
|
|
19148
|
-
var
|
|
19149
|
-
function
|
|
19157
|
+
var SE = "lbx0hb0", TE = "lbx0hb1 _2htjnq0", AE = "lbx0hb2", Ny = "_1aw6tef0";
|
|
19158
|
+
function pw(t) {
|
|
19150
19159
|
const { inputProps: e, options: n, ...r } = t;
|
|
19151
|
-
return /* @__PURE__ */ D(Pn, { ...e, children: /* @__PURE__ */ D(it, { ...r, children: /* @__PURE__ */ D("ul", { className:
|
|
19160
|
+
return /* @__PURE__ */ D(Pn, { ...e, children: /* @__PURE__ */ D(it, { ...r, children: /* @__PURE__ */ D("ul", { className: SE, children: n.map((i) => /* @__PURE__ */ D("li", { children: /* @__PURE__ */ D(
|
|
19152
19161
|
Wt,
|
|
19153
19162
|
{
|
|
19154
19163
|
value: i.value,
|
|
19155
|
-
className:
|
|
19164
|
+
className: TE,
|
|
19156
19165
|
isDisabled: e.isDisabled,
|
|
19157
|
-
children: /* @__PURE__ */ Z("div", { className:
|
|
19166
|
+
children: /* @__PURE__ */ Z("div", { className: AE, children: [
|
|
19158
19167
|
/* @__PURE__ */ D("span", { children: i.label }),
|
|
19159
19168
|
i.description && /* @__PURE__ */ D("span", { className: Ny, children: i.description })
|
|
19160
19169
|
] })
|
|
19161
19170
|
}
|
|
19162
19171
|
) }, i.value)) }) }) });
|
|
19163
19172
|
}
|
|
19164
|
-
var
|
|
19165
|
-
function
|
|
19173
|
+
var FE = "_40lq0c0", BE = "_40lq0c1", ME = "_2htjnq0";
|
|
19174
|
+
function vw(t) {
|
|
19166
19175
|
const { inputProps: e, options: n, ...r } = t;
|
|
19167
|
-
return /* @__PURE__ */ D(Pn, { ...e, children: /* @__PURE__ */ D(it, { ...r, children: /* @__PURE__ */ D("ul", { className:
|
|
19176
|
+
return /* @__PURE__ */ D(Pn, { ...e, children: /* @__PURE__ */ D(it, { ...r, children: /* @__PURE__ */ D("ul", { className: FE, children: n.map((i) => /* @__PURE__ */ D("li", { children: /* @__PURE__ */ D(Wt, { value: i.value, className: ME, children: /* @__PURE__ */ Z("div", { className: BE, children: [
|
|
19168
19177
|
/* @__PURE__ */ D("span", { children: i.label }),
|
|
19169
19178
|
i.description && /* @__PURE__ */ D("span", { className: Ny, children: i.description })
|
|
19170
19179
|
] }) }) }, i.value)) }) }) });
|
|
19171
19180
|
}
|
|
19172
|
-
var
|
|
19173
|
-
function
|
|
19181
|
+
var kE = "jpxcrl0 _1yq8h1r0", NE = "jpxcrl1 _1o9mg180 _1o9mg182", VE = "jpxcrl2", RE = "jpxcrl3", IE = "jpxcrl6";
|
|
19182
|
+
function bw(t) {
|
|
19174
19183
|
const { title: e, options: n, ...r } = t;
|
|
19175
|
-
return /* @__PURE__ */ Z(Pn, { className:
|
|
19176
|
-
/* @__PURE__ */ D("span", { className:
|
|
19177
|
-
/* @__PURE__ */ D("ul", { className:
|
|
19184
|
+
return /* @__PURE__ */ Z(Pn, { className: kE, orientation: "horizontal", ...r, children: [
|
|
19185
|
+
/* @__PURE__ */ D("span", { className: NE, children: e }),
|
|
19186
|
+
/* @__PURE__ */ D("ul", { className: VE, children: n?.map((i) => /* @__PURE__ */ D("li", { className: IE, children: /* @__PURE__ */ D(
|
|
19178
19187
|
Wt,
|
|
19179
19188
|
{
|
|
19180
|
-
className:
|
|
19189
|
+
className: RE,
|
|
19181
19190
|
value: i.value,
|
|
19182
19191
|
children: i.label
|
|
19183
19192
|
},
|
|
@@ -19185,35 +19194,35 @@ function vw(t) {
|
|
|
19185
19194
|
) }, i.value)) })
|
|
19186
19195
|
] });
|
|
19187
19196
|
}
|
|
19188
|
-
var
|
|
19189
|
-
function
|
|
19197
|
+
var LE = "v0j3m0", OE = "v0j3m1", KE = "v0j3m2";
|
|
19198
|
+
function yw(t) {
|
|
19190
19199
|
const { options: e, inputProps: n, ...r } = t;
|
|
19191
|
-
return /* @__PURE__ */ D(it, { ...r, children: /* @__PURE__ */ D(Pn, { ...n, children: /* @__PURE__ */ D("ul", { className:
|
|
19200
|
+
return /* @__PURE__ */ D(it, { ...r, children: /* @__PURE__ */ D(Pn, { ...n, children: /* @__PURE__ */ D("ul", { className: LE, children: e.map((i) => /* @__PURE__ */ D("li", { className: OE, children: /* @__PURE__ */ D(
|
|
19192
19201
|
Wt,
|
|
19193
19202
|
{
|
|
19194
|
-
className:
|
|
19203
|
+
className: KE,
|
|
19195
19204
|
value: i.value,
|
|
19196
19205
|
children: /* @__PURE__ */ D("span", { children: i.label })
|
|
19197
19206
|
},
|
|
19198
19207
|
i.value
|
|
19199
19208
|
) }, i.value)) }) }) });
|
|
19200
19209
|
}
|
|
19201
|
-
var
|
|
19202
|
-
const
|
|
19203
|
-
function
|
|
19210
|
+
var jE = "cfj12a3 _1owkpoa0";
|
|
19211
|
+
const _E = /^(?:\+[1-9]\d{1,14}|0\d{9})$/;
|
|
19212
|
+
function gw(t) {
|
|
19204
19213
|
const { inputProps: e, ...n } = t;
|
|
19205
19214
|
return /* @__PURE__ */ D(Ot, { ...e, children: /* @__PURE__ */ D(it, { ...n, children: /* @__PURE__ */ D(
|
|
19206
19215
|
ut,
|
|
19207
19216
|
{
|
|
19208
19217
|
type: "tel",
|
|
19209
|
-
className:
|
|
19210
|
-
pattern:
|
|
19218
|
+
className: jE,
|
|
19219
|
+
pattern: _E.source,
|
|
19211
19220
|
placeholder: e.placeholder
|
|
19212
19221
|
}
|
|
19213
19222
|
) }) });
|
|
19214
19223
|
}
|
|
19215
19224
|
var Ec = "puhu920", vi = pt({ defaultClassName: "puhu921", variantClassNames: { intent: { selected: "puhu922", notSelected: "puhu923" } }, defaultVariants: { intent: "notSelected" }, compoundVariants: [] }), bi = "puhu924";
|
|
19216
|
-
function
|
|
19225
|
+
function $w(t) {
|
|
19217
19226
|
const { submitOnChange: e, isDisabled: n, isLoading: r = !1, ...i } = t;
|
|
19218
19227
|
return e ? /* @__PURE__ */ Z(
|
|
19219
19228
|
"ul",
|
|
@@ -19308,8 +19317,8 @@ function gw(t) {
|
|
|
19308
19317
|
) })
|
|
19309
19318
|
] }) });
|
|
19310
19319
|
}
|
|
19311
|
-
var
|
|
19312
|
-
function
|
|
19320
|
+
var xw = pt({ defaultClassName: "ecg1es0", variantClassNames: {}, defaultVariants: {}, compoundVariants: [] }), zE = "l0wfhg0", UE = "l0wfhg1", HE = "l0wfhg2", WE = "l0wfhg3", qE = pt({ defaultClassName: "_125obgk0", variantClassNames: { variant: { pill: "_125obgk1" } }, defaultVariants: {}, compoundVariants: [] }), GE = "_125obgk2", YE = "_125obgk3", Pc = "_125obgk4", ZE = "_125obgk5", JE = "_125obgk6", XE = "_125obgk7", QE = "_125obgk8";
|
|
19321
|
+
function eP() {
|
|
19313
19322
|
return ji({
|
|
19314
19323
|
style: "currency",
|
|
19315
19324
|
currency: "EUR",
|
|
@@ -19317,31 +19326,31 @@ function QE() {
|
|
|
19317
19326
|
});
|
|
19318
19327
|
}
|
|
19319
19328
|
function Vy(t) {
|
|
19320
|
-
const { value: e, className: n, variant: r, from: i = !0, ...a } = t, o =
|
|
19321
|
-
return /* @__PURE__ */ Z("div", { className: Ge(
|
|
19322
|
-
i && /* @__PURE__ */ D("span", { className:
|
|
19323
|
-
/* @__PURE__ */ Z("div", { className:
|
|
19329
|
+
const { value: e, className: n, variant: r, from: i = !0, ...a } = t, o = eP(), [s, l, u, d, c] = o.formatToParts(e);
|
|
19330
|
+
return /* @__PURE__ */ Z("div", { className: Ge(qE({ variant: r }), n), ...a, children: [
|
|
19331
|
+
i && /* @__PURE__ */ D("span", { className: GE, children: "vanaf" }),
|
|
19332
|
+
/* @__PURE__ */ Z("div", { className: YE, children: [
|
|
19324
19333
|
/* @__PURE__ */ D("span", { className: Pc, children: s.value }),
|
|
19325
19334
|
/* @__PURE__ */ D("span", { className: Pc, children: l.value }),
|
|
19326
|
-
/* @__PURE__ */ D("span", { className:
|
|
19327
|
-
/* @__PURE__ */ D("span", { className:
|
|
19328
|
-
/* @__PURE__ */ D("span", { className:
|
|
19335
|
+
/* @__PURE__ */ D("span", { className: ZE, children: u.value }),
|
|
19336
|
+
/* @__PURE__ */ D("span", { className: JE, children: d.value }),
|
|
19337
|
+
/* @__PURE__ */ D("span", { className: XE, children: c.value })
|
|
19329
19338
|
] }),
|
|
19330
|
-
/* @__PURE__ */ D("span", { className:
|
|
19339
|
+
/* @__PURE__ */ D("span", { className: QE, children: "p.m." })
|
|
19331
19340
|
] });
|
|
19332
19341
|
}
|
|
19333
|
-
var
|
|
19334
|
-
function
|
|
19342
|
+
var tP = "nx19xs0", nP = "nx19xs1", rP = "nx19xs2";
|
|
19343
|
+
function iP(t) {
|
|
19335
19344
|
const { items: e } = t;
|
|
19336
19345
|
return /* @__PURE__ */ Z("div", { children: [
|
|
19337
|
-
/* @__PURE__ */ D("h4", { className:
|
|
19338
|
-
/* @__PURE__ */ D("ul", { className:
|
|
19346
|
+
/* @__PURE__ */ D("h4", { className: tP, children: "Dit pakket bevat:" }),
|
|
19347
|
+
/* @__PURE__ */ D("ul", { className: nP, children: e.map((n) => /* @__PURE__ */ Z("li", { className: rP, children: [
|
|
19339
19348
|
n.icon,
|
|
19340
19349
|
/* @__PURE__ */ D("span", { children: n.label })
|
|
19341
19350
|
] }, n.label)) })
|
|
19342
19351
|
] });
|
|
19343
19352
|
}
|
|
19344
|
-
function
|
|
19353
|
+
function aP(t) {
|
|
19345
19354
|
const {
|
|
19346
19355
|
title: e,
|
|
19347
19356
|
price: n,
|
|
@@ -19355,23 +19364,23 @@ function iP(t) {
|
|
|
19355
19364
|
"div",
|
|
19356
19365
|
{
|
|
19357
19366
|
"data-active": t.isActive,
|
|
19358
|
-
className:
|
|
19367
|
+
className: zE,
|
|
19359
19368
|
"data-testid": `composition-${e}`,
|
|
19360
19369
|
children: [
|
|
19361
|
-
/* @__PURE__ */ D("h2", { className:
|
|
19370
|
+
/* @__PURE__ */ D("h2", { className: UE, "data-testid": "composition-title", children: e }),
|
|
19362
19371
|
/* @__PURE__ */ D(sa, { locale: "nl-NL", children: /* @__PURE__ */ D(Vy, { value: n, "data-testid": "composition-price" }) }),
|
|
19363
19372
|
s && /* @__PURE__ */ D(
|
|
19364
19373
|
"div",
|
|
19365
19374
|
{
|
|
19366
|
-
className:
|
|
19375
|
+
className: WE,
|
|
19367
19376
|
"data-testid": "composition-more-information",
|
|
19368
19377
|
children: s
|
|
19369
19378
|
}
|
|
19370
19379
|
),
|
|
19371
19380
|
/* @__PURE__ */ Z(
|
|
19372
|
-
|
|
19381
|
+
wE,
|
|
19373
19382
|
{
|
|
19374
|
-
className:
|
|
19383
|
+
className: HE,
|
|
19375
19384
|
intent: "cta",
|
|
19376
19385
|
size: "large",
|
|
19377
19386
|
width: "full",
|
|
@@ -19387,16 +19396,16 @@ function iP(t) {
|
|
|
19387
19396
|
]
|
|
19388
19397
|
}
|
|
19389
19398
|
),
|
|
19390
|
-
/* @__PURE__ */ D(
|
|
19399
|
+
/* @__PURE__ */ D(iP, { items: o })
|
|
19391
19400
|
]
|
|
19392
19401
|
}
|
|
19393
19402
|
);
|
|
19394
19403
|
}
|
|
19395
|
-
var
|
|
19396
|
-
function
|
|
19404
|
+
var oP = "bfwvda0", sP = "bfwvda1";
|
|
19405
|
+
function Dw(t) {
|
|
19397
19406
|
const { compositions: e, onChange: n } = t;
|
|
19398
|
-
return /* @__PURE__ */ D("ul", { className:
|
|
19399
|
-
|
|
19407
|
+
return /* @__PURE__ */ D("ul", { className: oP, children: e.map((r) => /* @__PURE__ */ D("li", { className: sP, children: /* @__PURE__ */ D(
|
|
19408
|
+
aP,
|
|
19400
19409
|
{
|
|
19401
19410
|
...r,
|
|
19402
19411
|
cta: {
|
|
@@ -19410,27 +19419,27 @@ function Ea(t) {
|
|
|
19410
19419
|
const { children: e, ...n } = t;
|
|
19411
19420
|
return /* @__PURE__ */ D(G0, { ...n, children: e });
|
|
19412
19421
|
}
|
|
19413
|
-
var
|
|
19422
|
+
var lP = "_12l9rmr0", uP = "_12l9rmr1", dP = "_12l9rmr2", cP = "_12l9rmr3", fP = "_12l9rmr4", hP = pt({ defaultClassName: "_1jsetab0", variantClassNames: { size: { small: "_1jsetab1", medium: "_1jsetab2", large: "_1jsetab3" } }, defaultVariants: { size: "medium" }, compoundVariants: [] }), mP = pt({ defaultClassName: "_1jsetab4", variantClassNames: { size: { small: "_1jsetab5", medium: "_1jsetab6", large: "_1jsetab7" } }, defaultVariants: { size: "medium" }, compoundVariants: [] });
|
|
19414
19423
|
function Ry(t) {
|
|
19415
19424
|
const { size: e = "medium", icon: n, className: r } = t;
|
|
19416
|
-
return /* @__PURE__ */ D("div", { className: Ge(
|
|
19425
|
+
return /* @__PURE__ */ D("div", { className: Ge(hP({ size: e }), r), children: /* @__PURE__ */ D("i", { className: mP({ size: e }), children: n }) });
|
|
19417
19426
|
}
|
|
19418
|
-
function
|
|
19419
|
-
return /* @__PURE__ */ Z("header", { className:
|
|
19427
|
+
function pP(t) {
|
|
19428
|
+
return /* @__PURE__ */ Z("header", { className: lP, "data-testid": `header-${t.title}`, children: [
|
|
19420
19429
|
t.icon && /* @__PURE__ */ D(
|
|
19421
19430
|
Ry,
|
|
19422
19431
|
{
|
|
19423
|
-
className:
|
|
19432
|
+
className: cP,
|
|
19424
19433
|
size: t.size,
|
|
19425
19434
|
icon: t.icon
|
|
19426
19435
|
}
|
|
19427
19436
|
),
|
|
19428
|
-
/* @__PURE__ */ D(Ea, { level: 1, className:
|
|
19437
|
+
/* @__PURE__ */ D(Ea, { level: 1, className: uP, "data-testid": "header-title", children: t.title }),
|
|
19429
19438
|
/* @__PURE__ */ D(
|
|
19430
19439
|
vn,
|
|
19431
19440
|
{
|
|
19432
19441
|
elementType: "p",
|
|
19433
|
-
className:
|
|
19442
|
+
className: dP,
|
|
19434
19443
|
"data-testid": "header-description",
|
|
19435
19444
|
children: t.description
|
|
19436
19445
|
}
|
|
@@ -19438,7 +19447,7 @@ function mP(t) {
|
|
|
19438
19447
|
/* @__PURE__ */ D(sa, { locale: "nl-NL", children: /* @__PURE__ */ D(
|
|
19439
19448
|
Vy,
|
|
19440
19449
|
{
|
|
19441
|
-
className:
|
|
19450
|
+
className: fP,
|
|
19442
19451
|
value: t.price,
|
|
19443
19452
|
from: t.from,
|
|
19444
19453
|
variant: "pill"
|
|
@@ -19446,85 +19455,85 @@ function mP(t) {
|
|
|
19446
19455
|
) })
|
|
19447
19456
|
] });
|
|
19448
19457
|
}
|
|
19449
|
-
var
|
|
19450
|
-
function
|
|
19458
|
+
var vP = "_15jn3hv0", bP = "_15jn3hv1", yP = "_15jn3hv2 _1o9mg180 _1o9mg182";
|
|
19459
|
+
function gP(t) {
|
|
19451
19460
|
const { className: e, title: n, ...r } = t;
|
|
19452
|
-
return /* @__PURE__ */ Z(Q0, { className: Ge(
|
|
19453
|
-
/* @__PURE__ */ D("div", { className:
|
|
19454
|
-
n && /* @__PURE__ */ D("span", { className:
|
|
19461
|
+
return /* @__PURE__ */ Z(Q0, { className: Ge(vP, e), ...r, children: [
|
|
19462
|
+
/* @__PURE__ */ D("div", { className: bP }),
|
|
19463
|
+
n && /* @__PURE__ */ D("span", { className: yP, children: n })
|
|
19455
19464
|
] });
|
|
19456
19465
|
}
|
|
19457
|
-
var
|
|
19458
|
-
function
|
|
19466
|
+
var $P = "xtng8v0", xP = "xtng8v1", DP = "xtng8v2", EP = "xtng8v3";
|
|
19467
|
+
function PP() {
|
|
19459
19468
|
return ji({
|
|
19460
19469
|
style: "currency",
|
|
19461
19470
|
currency: "EUR"
|
|
19462
19471
|
});
|
|
19463
19472
|
}
|
|
19464
|
-
function
|
|
19465
|
-
const { value: e, className: n } = t, i =
|
|
19466
|
-
return /* @__PURE__ */ D("div", { className: Ge(
|
|
19467
|
-
/* @__PURE__ */ D("span", { className:
|
|
19468
|
-
/* @__PURE__ */ D("span", { className:
|
|
19473
|
+
function wP(t) {
|
|
19474
|
+
const { value: e, className: n } = t, i = PP().format(e);
|
|
19475
|
+
return /* @__PURE__ */ D("div", { className: Ge($P, n), children: /* @__PURE__ */ Z("div", { className: xP, children: [
|
|
19476
|
+
/* @__PURE__ */ D("span", { className: DP, children: i }),
|
|
19477
|
+
/* @__PURE__ */ D("span", { className: EP, children: "p.m." })
|
|
19469
19478
|
] }) });
|
|
19470
19479
|
}
|
|
19471
|
-
var
|
|
19472
|
-
function
|
|
19480
|
+
var CP = "jh9grs0", SP = "jh9grs1", TP = "jh9grs2", AP = "jh9grs3", FP = "jh9grs4", BP = "jh9grs5", MP = "jh9grs6", kP = "jh9grs7";
|
|
19481
|
+
function NP(t) {
|
|
19473
19482
|
return /* @__PURE__ */ Z(
|
|
19474
19483
|
"div",
|
|
19475
19484
|
{
|
|
19476
19485
|
"data-active": t.isActive,
|
|
19477
|
-
className:
|
|
19486
|
+
className: CP,
|
|
19478
19487
|
"data-testid": `addon-${t.title}`,
|
|
19479
19488
|
children: [
|
|
19480
|
-
/* @__PURE__ */ D(Ea, { level: 3, className:
|
|
19481
|
-
t.icon && /* @__PURE__ */ D(Ry, { className:
|
|
19482
|
-
/* @__PURE__ */ D(vn, { className:
|
|
19483
|
-
t?.onMoreInformation && /* @__PURE__ */ D(Ht, { className:
|
|
19484
|
-
/* @__PURE__ */ D(sa, { locale: "nl-NL", children: /* @__PURE__ */ D(
|
|
19489
|
+
/* @__PURE__ */ D(Ea, { level: 3, className: SP, children: t.title }),
|
|
19490
|
+
t.icon && /* @__PURE__ */ D(Ry, { className: AP, icon: t.icon }),
|
|
19491
|
+
/* @__PURE__ */ D(vn, { className: TP, children: t.description }),
|
|
19492
|
+
t?.onMoreInformation && /* @__PURE__ */ D(Ht, { className: BP, onPress: t.onMoreInformation, children: "Meer informatie" }),
|
|
19493
|
+
/* @__PURE__ */ D(sa, { locale: "nl-NL", children: /* @__PURE__ */ D(wP, { value: t.price, className: FP }) }),
|
|
19485
19494
|
/* @__PURE__ */ D(
|
|
19486
|
-
|
|
19495
|
+
gP,
|
|
19487
19496
|
{
|
|
19488
19497
|
isSelected: t.isActive,
|
|
19489
|
-
className:
|
|
19498
|
+
className: MP,
|
|
19490
19499
|
onChange: t.onChange
|
|
19491
19500
|
}
|
|
19492
19501
|
),
|
|
19493
|
-
t.children && /* @__PURE__ */ D("div", { className:
|
|
19502
|
+
t.children && /* @__PURE__ */ D("div", { className: kP, children: t.children })
|
|
19494
19503
|
]
|
|
19495
19504
|
}
|
|
19496
19505
|
);
|
|
19497
19506
|
}
|
|
19498
|
-
var
|
|
19499
|
-
function
|
|
19500
|
-
return /* @__PURE__ */ D("hr", { className:
|
|
19507
|
+
var VP = "_6zoqt70", RP = "_6zoqt71", IP = "_6zoqt72", LP = "_6zoqt73", OP = "_6zoqt74", KP = "_6zoqt75", jP = "_6zoqt76", _P = "_6zoqt77", wc = "_6zoqt78", zP = "_1t2vddd0";
|
|
19508
|
+
function UP() {
|
|
19509
|
+
return /* @__PURE__ */ D("hr", { className: zP });
|
|
19501
19510
|
}
|
|
19502
|
-
function
|
|
19503
|
-
return /* @__PURE__ */ Z("div", { className:
|
|
19504
|
-
/* @__PURE__ */ Z("div", { className:
|
|
19505
|
-
/* @__PURE__ */ D(
|
|
19511
|
+
function Ew(t) {
|
|
19512
|
+
return /* @__PURE__ */ Z("div", { className: VP, children: [
|
|
19513
|
+
/* @__PURE__ */ Z("div", { className: RP, children: [
|
|
19514
|
+
/* @__PURE__ */ D(pP, { ...t.header }),
|
|
19506
19515
|
/* @__PURE__ */ D("main", { children: t.children }),
|
|
19507
19516
|
/* @__PURE__ */ D(
|
|
19508
19517
|
"div",
|
|
19509
19518
|
{
|
|
19510
19519
|
className: Ge({
|
|
19511
|
-
[
|
|
19520
|
+
[_P]: !0,
|
|
19512
19521
|
[wc]: t.disabled
|
|
19513
19522
|
}),
|
|
19514
19523
|
children: t.questions
|
|
19515
19524
|
}
|
|
19516
19525
|
),
|
|
19517
19526
|
t.addons && /* @__PURE__ */ Z(fs, { children: [
|
|
19518
|
-
/* @__PURE__ */ D(
|
|
19527
|
+
/* @__PURE__ */ D(UP, {}),
|
|
19519
19528
|
/* @__PURE__ */ Z("section", { children: [
|
|
19520
19529
|
/* @__PURE__ */ Z(
|
|
19521
19530
|
"header",
|
|
19522
19531
|
{
|
|
19523
|
-
className:
|
|
19532
|
+
className: LP,
|
|
19524
19533
|
"data-testid": "addon-header",
|
|
19525
19534
|
children: [
|
|
19526
|
-
/* @__PURE__ */ D(Ea, { level: 2, className:
|
|
19527
|
-
/* @__PURE__ */ D(vn, { className:
|
|
19535
|
+
/* @__PURE__ */ D(Ea, { level: 2, className: OP, children: "Ga voor complete bescherming" }),
|
|
19536
|
+
/* @__PURE__ */ D(vn, { className: KP, children: "Maak de verzekering passend met extra modules" })
|
|
19528
19537
|
]
|
|
19529
19538
|
}
|
|
19530
19539
|
),
|
|
@@ -19533,26 +19542,26 @@ function Dw(t) {
|
|
|
19533
19542
|
{
|
|
19534
19543
|
"data-testid": "addon-list",
|
|
19535
19544
|
className: Ge({
|
|
19536
|
-
[
|
|
19545
|
+
[jP]: !0,
|
|
19537
19546
|
[wc]: t.disabled
|
|
19538
19547
|
}),
|
|
19539
|
-
children: t.addons.map((e) => /* @__PURE__ */ D("li", { children: /* @__PURE__ */ D(
|
|
19548
|
+
children: t.addons.map((e) => /* @__PURE__ */ D("li", { children: /* @__PURE__ */ D(NP, { ...e }) }, e.title))
|
|
19540
19549
|
}
|
|
19541
19550
|
)
|
|
19542
19551
|
] })
|
|
19543
19552
|
] })
|
|
19544
19553
|
] }),
|
|
19545
|
-
t.aside && /* @__PURE__ */ D("aside", { className:
|
|
19554
|
+
t.aside && /* @__PURE__ */ D("aside", { className: IP, children: t.aside })
|
|
19546
19555
|
] });
|
|
19547
19556
|
}
|
|
19548
|
-
var
|
|
19549
|
-
function
|
|
19557
|
+
var HP = "_1oa50or0", WP = "_1oa50or1", qP = "_1oa50or3 _1oa50or2", GP = "_1oa50or4 _1oa50or2";
|
|
19558
|
+
function Pw(t) {
|
|
19550
19559
|
const { options: e, yesIcon: n, noIcon: r, inputProps: i, ...a } = t;
|
|
19551
|
-
return /* @__PURE__ */ D(it, { ...a, children: /* @__PURE__ */ D(Pn, { ...i, isDisabled: i.isDisabled, children: /* @__PURE__ */ D("ul", { className:
|
|
19560
|
+
return /* @__PURE__ */ D(it, { ...a, children: /* @__PURE__ */ D(Pn, { ...i, isDisabled: i.isDisabled, children: /* @__PURE__ */ D("ul", { className: HP, children: e.map((o) => /* @__PURE__ */ D("li", { className: WP, children: /* @__PURE__ */ Z(
|
|
19552
19561
|
Wt,
|
|
19553
19562
|
{
|
|
19554
19563
|
isDisabled: i.isDisabled,
|
|
19555
|
-
className: o.value === "J" ?
|
|
19564
|
+
className: o.value === "J" ? qP : GP,
|
|
19556
19565
|
value: o.value,
|
|
19557
19566
|
children: [
|
|
19558
19567
|
o.value === "J" ? n : r,
|
|
@@ -19562,17 +19571,17 @@ function Ew(t) {
|
|
|
19562
19571
|
o.value
|
|
19563
19572
|
) }, o.value)) }) }) });
|
|
19564
19573
|
}
|
|
19565
|
-
var
|
|
19566
|
-
function
|
|
19567
|
-
return /* @__PURE__ */ Z("div", { className:
|
|
19568
|
-
/* @__PURE__ */ Z("header", { className:
|
|
19569
|
-
/* @__PURE__ */ Z("div", { className:
|
|
19570
|
-
/* @__PURE__ */ D(Ea, { level: 1, className:
|
|
19574
|
+
var YP = "_1mq5coo0", ZP = "_1mq5coo1", JP = "_1mq5coo2", XP = "_1mq5coo3", QP = "_1mq5coo4", ew = "_1mq5coo5", tw = "_1mq5coo6";
|
|
19575
|
+
function ww(t) {
|
|
19576
|
+
return /* @__PURE__ */ Z("div", { className: YP, children: [
|
|
19577
|
+
/* @__PURE__ */ Z("header", { className: ZP, children: [
|
|
19578
|
+
/* @__PURE__ */ Z("div", { className: JP, children: [
|
|
19579
|
+
/* @__PURE__ */ D(Ea, { level: 1, className: QP, "data-testid": "page-title", children: t.title }),
|
|
19571
19580
|
t.description && /* @__PURE__ */ D(
|
|
19572
19581
|
vn,
|
|
19573
19582
|
{
|
|
19574
19583
|
elementType: "p",
|
|
19575
|
-
className:
|
|
19584
|
+
className: ew,
|
|
19576
19585
|
"data-testid": "page-description",
|
|
19577
19586
|
children: t.description
|
|
19578
19587
|
}
|
|
@@ -19580,35 +19589,35 @@ function Pw(t) {
|
|
|
19580
19589
|
] }),
|
|
19581
19590
|
t?.moreInformation
|
|
19582
19591
|
] }),
|
|
19583
|
-
/* @__PURE__ */ Z("main", { className:
|
|
19592
|
+
/* @__PURE__ */ Z("main", { className: XP, children: [
|
|
19584
19593
|
t.children,
|
|
19585
|
-
t.submitButton && /* @__PURE__ */ D("div", { className:
|
|
19594
|
+
t.submitButton && /* @__PURE__ */ D("div", { className: tw, children: t.submitButton })
|
|
19586
19595
|
] })
|
|
19587
19596
|
] });
|
|
19588
19597
|
}
|
|
19589
19598
|
export {
|
|
19590
|
-
|
|
19591
|
-
|
|
19592
|
-
|
|
19593
|
-
|
|
19594
|
-
|
|
19595
|
-
|
|
19596
|
-
|
|
19597
|
-
|
|
19598
|
-
|
|
19599
|
-
|
|
19600
|
-
|
|
19601
|
-
|
|
19602
|
-
|
|
19603
|
-
|
|
19604
|
-
|
|
19605
|
-
|
|
19606
|
-
|
|
19607
|
-
|
|
19608
|
-
|
|
19609
|
-
|
|
19610
|
-
|
|
19611
|
-
|
|
19612
|
-
|
|
19599
|
+
NP as Addon,
|
|
19600
|
+
fw as AddressField,
|
|
19601
|
+
wE as Button,
|
|
19602
|
+
Dw as CompositionsField,
|
|
19603
|
+
Ew as ConfigurationTemplate,
|
|
19604
|
+
dw as DateField,
|
|
19605
|
+
UP as Divider,
|
|
19606
|
+
lw as MoneyField,
|
|
19607
|
+
sw as NumberField,
|
|
19608
|
+
ww as Page,
|
|
19609
|
+
gw as PhoneField,
|
|
19610
|
+
pw as RadioHorizontal,
|
|
19611
|
+
vw as RadioVertical,
|
|
19612
|
+
ow as SelectField,
|
|
19613
|
+
uw as StatementElevated,
|
|
19614
|
+
cw as SwitchField,
|
|
19615
|
+
aw as TextField,
|
|
19616
|
+
hw as TextareaField,
|
|
19617
|
+
bw as ToggleButton,
|
|
19618
|
+
yw as ToggleButtonGroup,
|
|
19619
|
+
Pw as ToggleButtonYesNo,
|
|
19620
|
+
$w as YesNoField,
|
|
19621
|
+
xw as layout,
|
|
19613
19622
|
tb as themeClass
|
|
19614
19623
|
};
|