lizaui 8.2.9 → 8.4.9
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/button/index.cjs.js +1 -1
- package/dist/button/index.es.js +1 -1
- package/dist/calendar/index.cjs.js +2 -2
- package/dist/calendar/index.cjs.js.map +1 -1
- package/dist/calendar/index.es.js +9 -9
- package/dist/checkbox/index.cjs.js +1 -1
- package/dist/checkbox/index.es.js +1 -1
- package/dist/chip/index.cjs.js +1 -1
- package/dist/chip/index.cjs.js.map +1 -1
- package/dist/chip/index.es.js +2 -2
- package/dist/chunks/bundle-mjs-2oQ8XDAz.js +2748 -0
- package/dist/chunks/bundle-mjs-2oQ8XDAz.js.map +1 -0
- package/dist/chunks/bundle-mjs-8z5d_e-8.js +2 -0
- package/dist/chunks/bundle-mjs-8z5d_e-8.js.map +1 -0
- package/dist/chunks/button-DFrxQHAW.js +2 -0
- package/dist/chunks/{button-OdZ6El_t.js.map → button-DFrxQHAW.js.map} +1 -1
- package/dist/chunks/{button-CSuKvE1x.js → button-uo4_Xad_.js} +4 -4
- package/dist/chunks/{button-CSuKvE1x.js.map → button-uo4_Xad_.js.map} +1 -1
- package/dist/chunks/{checkbox-BhW9i0pm.js → checkbox-BvvZL9H4.js} +3 -3
- package/dist/chunks/{checkbox-BhW9i0pm.js.map → checkbox-BvvZL9H4.js.map} +1 -1
- package/dist/chunks/checkbox-w969v4lK.js +2 -0
- package/dist/chunks/{checkbox-CWDPVAn2.js.map → checkbox-w969v4lK.js.map} +1 -1
- package/dist/chunks/clsx-C11secjj.js +2 -0
- package/dist/chunks/clsx-C11secjj.js.map +1 -0
- package/dist/chunks/clsx-OuTLNxxd.js +17 -0
- package/dist/chunks/clsx-OuTLNxxd.js.map +1 -0
- package/dist/chunks/features-animation-BRAvwYFN.js +3437 -0
- package/dist/chunks/features-animation-BRAvwYFN.js.map +1 -0
- package/dist/chunks/features-animation-BoXKk5t2.js +2 -0
- package/dist/chunks/features-animation-BoXKk5t2.js.map +1 -0
- package/dist/chunks/index-BbDfYVLO.js +174 -0
- package/dist/chunks/index-BbDfYVLO.js.map +1 -0
- package/dist/chunks/index-CL73JQgs.js +2 -0
- package/dist/chunks/index-CL73JQgs.js.map +1 -0
- package/dist/chunks/{index-BOQuZ0gG.js → index-D29mdTf5.js} +2 -2
- package/dist/chunks/{index-BOQuZ0gG.js.map → index-D29mdTf5.js.map} +1 -1
- package/dist/chunks/index-DC9BfnBH.js +208 -0
- package/dist/chunks/index-DC9BfnBH.js.map +1 -0
- package/dist/chunks/index-lrI_r1ww.js +10 -0
- package/dist/chunks/index-lrI_r1ww.js.map +1 -0
- package/dist/chunks/index-nwdlcB7h.js +2 -0
- package/dist/chunks/{index-BxK4T-v8.js.map → index-nwdlcB7h.js.map} +1 -1
- package/dist/chunks/label-error-B8Rq-HGY.js +2 -0
- package/dist/chunks/{label-error-Ax74Uy3M.js.map → label-error-B8Rq-HGY.js.map} +1 -1
- package/dist/chunks/label-error-BOE4Qj5S.js +10 -0
- package/dist/chunks/{label-error-DGQqDKTV.js.map → label-error-BOE4Qj5S.js.map} +1 -1
- package/dist/chunks/proxy-BwQyOw8U.js +2 -0
- package/dist/chunks/proxy-BwQyOw8U.js.map +1 -0
- package/dist/chunks/proxy-kv_Ue2k_.js +1346 -0
- package/dist/chunks/proxy-kv_Ue2k_.js.map +1 -0
- package/dist/chunks/ripple-CzU7YM2G.js +69 -0
- package/dist/chunks/{ripple-DMI95LHg.js.map → ripple-CzU7YM2G.js.map} +1 -1
- package/dist/chunks/ripple-SBteSEo3.js +2 -0
- package/dist/chunks/{ripple-DieNd7XQ.js.map → ripple-SBteSEo3.js.map} +1 -1
- package/dist/chunks/{scroll-area-C8l3z7wv.js → scroll-area-B0mWCpSW.js} +2 -2
- package/dist/chunks/{scroll-area-C8l3z7wv.js.map → scroll-area-B0mWCpSW.js.map} +1 -1
- package/dist/chunks/{scroll-area-zt_z9PRo.js → scroll-area-CE7quLQL.js} +3 -3
- package/dist/chunks/{scroll-area-zt_z9PRo.js.map → scroll-area-CE7quLQL.js.map} +1 -1
- package/dist/chunks/{select-qaP_vaF3.js → select-BwMqXSzv.js} +3 -3
- package/dist/chunks/{select-qaP_vaF3.js.map → select-BwMqXSzv.js.map} +1 -1
- package/dist/chunks/{select-CC7ump6t.js → select-DGSPwoy8.js} +2 -2
- package/dist/chunks/{select-CC7ump6t.js.map → select-DGSPwoy8.js.map} +1 -1
- package/dist/chunks/{textarea-BIy5pTb5.js → textarea-BYbersWf.js} +38 -37
- package/dist/chunks/{textarea-BIy5pTb5.js.map → textarea-BYbersWf.js.map} +1 -1
- package/dist/chunks/{textarea-Cklud2kp.js → textarea-D9X4fUkV.js} +12 -12
- package/dist/chunks/{textarea-Cklud2kp.js.map → textarea-D9X4fUkV.js.map} +1 -1
- package/dist/chunks/tooltip-BPp8Maa7.js +2 -0
- package/dist/chunks/{tooltip-DGFz59KW.js.map → tooltip-BPp8Maa7.js.map} +1 -1
- package/dist/chunks/{tooltip-B-5G3VVC.js → tooltip-Bf9DqrJk.js} +3 -3
- package/dist/chunks/{tooltip-B-5G3VVC.js.map → tooltip-Bf9DqrJk.js.map} +1 -1
- package/dist/chunks/tv-CGkrzbji.js +2 -0
- package/dist/chunks/tv-CGkrzbji.js.map +1 -0
- package/dist/chunks/tv-DQO4decF.js +268 -0
- package/dist/chunks/tv-DQO4decF.js.map +1 -0
- package/dist/chunks/utils-CvyT6Z0O.js +9 -0
- package/dist/chunks/{utils-B6yFEsav.js.map → utils-CvyT6Z0O.js.map} +1 -1
- package/dist/chunks/utils-CxdrMFeI.js +2 -0
- package/dist/chunks/{utils-IjLH3w2e.js.map → utils-CxdrMFeI.js.map} +1 -1
- package/dist/chunks/v4-BysszJq8.js +31 -0
- package/dist/chunks/v4-BysszJq8.js.map +1 -0
- package/dist/chunks/v4-CqdK_b8Y.js +2 -0
- package/dist/chunks/v4-CqdK_b8Y.js.map +1 -0
- package/dist/divider/index.cjs.js +1 -1
- package/dist/divider/index.es.js +1 -1
- package/dist/modal/index.cjs.js +1 -1
- package/dist/modal/index.cjs.js.map +1 -1
- package/dist/modal/index.es.js +17 -16
- package/dist/modal/index.es.js.map +1 -1
- package/dist/pagination/index.cjs.js +1 -1
- package/dist/pagination/index.cjs.js.map +1 -1
- package/dist/pagination/index.es.js +18 -18
- package/dist/phone-input/index.cjs.js +1 -1
- package/dist/phone-input/index.cjs.js.map +1 -1
- package/dist/phone-input/index.es.js +35 -35
- package/dist/ripple/index.cjs.js +1 -1
- package/dist/ripple/index.es.js +1 -1
- package/dist/select-input/index.cjs.js +2 -2
- package/dist/select-input/index.cjs.js.map +1 -1
- package/dist/select-input/index.es.js +5 -5
- package/dist/table/index.cjs.js +1 -1
- package/dist/table/index.cjs.js.map +1 -1
- package/dist/table/index.es.js +17 -17
- package/dist/table/index.es.js.map +1 -1
- package/dist/time-input/index.cjs.js +2 -2
- package/dist/time-input/index.cjs.js.map +1 -1
- package/dist/time-input/index.es.js +5 -5
- package/dist/tooltip/index.cjs.js +1 -1
- package/dist/tooltip/index.es.js +1 -1
- package/dist/ui/index.cjs.js +1 -1
- package/dist/ui/index.es.js +10 -10
- package/package.json +1 -1
- package/dist/chunks/button-OdZ6El_t.js +0 -2
- package/dist/chunks/checkbox-CWDPVAn2.js +0 -2
- package/dist/chunks/index-BxK4T-v8.js +0 -2
- package/dist/chunks/label-error-Ax74Uy3M.js +0 -2
- package/dist/chunks/label-error-DGQqDKTV.js +0 -10
- package/dist/chunks/ripple-DMI95LHg.js +0 -68
- package/dist/chunks/ripple-DieNd7XQ.js +0 -2
- package/dist/chunks/tooltip-DGFz59KW.js +0 -2
- package/dist/chunks/tv-3Bk5oRI_.js +0 -39
- package/dist/chunks/tv-3Bk5oRI_.js.map +0 -1
- package/dist/chunks/tv-CLzaSzqw.js +0 -2
- package/dist/chunks/tv-CLzaSzqw.js.map +0 -1
- package/dist/chunks/utils-B6yFEsav.js +0 -9
- package/dist/chunks/utils-IjLH3w2e.js +0 -2
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import { A as e, b as i, L as r, M as t, P as n, i as o, d as l, c as m, u, a as c } from "./index-DC9BfnBH.js";
|
|
2
|
+
import { Y as b, ae as f, Z as d, af as g, k as V, M as y, aY as x, _ as T, $ as S, A as v, S as E, V as A, a as C, h as O, l as M, bc as P, b4 as h, g as D, b as I, F as G, aq as L, G as k, H as N, I as B, j as w, aa as F, bq as z, J as R, K, L as j, p as U, a_ as W, b5 as q, aj as H, d as J, ac as Z, as as Q, N as X, al as Y, a7 as _, ah as $, aB as aa, b8 as sa, bf as ea, b6 as ia, e as ra, O as ta, P as na, Q as oa, X as la, ai as ma, ak as ua, f as ca, b7 as pa, bn as ba, ag as fa, br as da, bs as ga, bt as Va, ar as ya, bm as xa, b9 as Ta, aM as Sa, bo as va, a2 as Ea, a0 as Aa, a$ as Ca, ax as Oa, b0 as Ma, b1 as Pa, a6 as ha, aI as Da, q as Ia, aS as Ga, U as La, a3 as ka, a4 as Na, av as Ba, aw as wa, W as Fa, ad as za, bp as Ra, az as Ka, s as ja, aA as Ua, i as Wa, t as qa, a8 as Ha, m as Ja, a5 as Za, c as Qa, am as Xa, ab as Ya, u as _a, at as $a, B as as, R as ss, aJ as es, aN as is, aK as rs, aO as ts, aQ as ns, aL as os, aR as ls, aP as ms, aT as us, aZ as cs, x as ps, bd as bs, ba as fs, o as ds, a1 as gs, aC as Vs, bg as ys, y as xs, aF as Ts, ay as Ss, z as vs, bh as Es, bi as As, aD as Cs, n as Os, aU as Ms, r as Ps, T as hs, b2 as Ds, b3 as Is, be as Gs, C as Ls, aE as ks, a9 as Ns, ao as Bs, an as ws, ap as Fs, aV as zs, aW as Rs, aX as Ks, bl as js, au as Us, aG as Ws, aH as qs, bb as Hs, D as Js, bj as Zs, v as Qs, bk as Xs, E as Ys, w as _s } from "./features-animation-BRAvwYFN.js";
|
|
3
|
+
import { F as ae, a as se, c as ee, d as ie, b as re, e as te, i as ne, f as oe, m as le, s as me } from "./proxy-kv_Ue2k_.js";
|
|
4
|
+
export {
|
|
5
|
+
e as AnimatePresence,
|
|
6
|
+
b as AsyncMotionValueAnimation,
|
|
7
|
+
f as DOMKeyframesResolver,
|
|
8
|
+
ae as FlatTree,
|
|
9
|
+
d as JSAnimation,
|
|
10
|
+
g as KeyframeResolver,
|
|
11
|
+
i as LayoutGroupContext,
|
|
12
|
+
r as LazyMotion,
|
|
13
|
+
t as MotionConfigContext,
|
|
14
|
+
V as MotionContext,
|
|
15
|
+
y as MotionGlobalConfig,
|
|
16
|
+
x as MotionValue,
|
|
17
|
+
T as NativeAnimation,
|
|
18
|
+
S as NativeAnimationExtended,
|
|
19
|
+
n as PresenceContext,
|
|
20
|
+
v as SubscriptionManager,
|
|
21
|
+
E as SwitchLayoutGroupContext,
|
|
22
|
+
A as VisualElement,
|
|
23
|
+
se as addPointerEvent,
|
|
24
|
+
C as addPointerInfo,
|
|
25
|
+
O as addScaleCorrector,
|
|
26
|
+
M as addUniqueItem,
|
|
27
|
+
P as alpha,
|
|
28
|
+
h as analyseComplexValue,
|
|
29
|
+
D as animateVisualElement,
|
|
30
|
+
I as animations,
|
|
31
|
+
G as anticipate,
|
|
32
|
+
L as applyGeneratorOptions,
|
|
33
|
+
k as backIn,
|
|
34
|
+
N as backInOut,
|
|
35
|
+
B as backOut,
|
|
36
|
+
w as buildTransform,
|
|
37
|
+
F as calcGeneratorDuration,
|
|
38
|
+
ee as calcLength,
|
|
39
|
+
z as cancelFrame,
|
|
40
|
+
R as circIn,
|
|
41
|
+
K as circInOut,
|
|
42
|
+
j as circOut,
|
|
43
|
+
U as clamp,
|
|
44
|
+
W as color,
|
|
45
|
+
q as complex,
|
|
46
|
+
H as convertOffsetToTimes,
|
|
47
|
+
J as createBox,
|
|
48
|
+
Z as createGeneratorEasing,
|
|
49
|
+
Q as createRenderBatcher,
|
|
50
|
+
X as cubicBezier,
|
|
51
|
+
Y as cubicBezierAsString,
|
|
52
|
+
_ as defaultEasing,
|
|
53
|
+
$ as defaultOffset,
|
|
54
|
+
aa as defaultTransformValue,
|
|
55
|
+
sa as defaultValueTypes,
|
|
56
|
+
ea as degrees,
|
|
57
|
+
ie as delay,
|
|
58
|
+
ia as dimensionValueTypes,
|
|
59
|
+
re as distance,
|
|
60
|
+
te as distance2D,
|
|
61
|
+
ra as domAnimation,
|
|
62
|
+
ta as easeIn,
|
|
63
|
+
na as easeInOut,
|
|
64
|
+
oa as easeOut,
|
|
65
|
+
la as easingDefinitionToFunction,
|
|
66
|
+
ma as fillOffset,
|
|
67
|
+
ua as fillWildcards,
|
|
68
|
+
ca as filterProps,
|
|
69
|
+
pa as findDimensionValueType,
|
|
70
|
+
ba as findValueType,
|
|
71
|
+
fa as flushKeyframeResolvers,
|
|
72
|
+
da as frame,
|
|
73
|
+
ga as frameData,
|
|
74
|
+
Va as frameSteps,
|
|
75
|
+
ya as generateLinearEasing,
|
|
76
|
+
xa as getAnimatableNone,
|
|
77
|
+
Ta as getDefaultValueType,
|
|
78
|
+
Sa as getMixer,
|
|
79
|
+
va as getValueAsType,
|
|
80
|
+
Ea as getValueTransition,
|
|
81
|
+
Aa as getVariableValue,
|
|
82
|
+
Ca as hex,
|
|
83
|
+
Oa as hover,
|
|
84
|
+
Ma as hsla,
|
|
85
|
+
Pa as hslaToRgba,
|
|
86
|
+
ha as inertia,
|
|
87
|
+
Da as interpolate,
|
|
88
|
+
Ia as invariant,
|
|
89
|
+
Ga as invisibleValues,
|
|
90
|
+
La as isBezierDefinition,
|
|
91
|
+
o as isBrowser,
|
|
92
|
+
ka as isCSSVariableName,
|
|
93
|
+
Na as isCSSVariableToken,
|
|
94
|
+
Ba as isDragActive,
|
|
95
|
+
wa as isDragging,
|
|
96
|
+
Fa as isEasingArray,
|
|
97
|
+
za as isGenerator,
|
|
98
|
+
l as isHTMLElement,
|
|
99
|
+
Ra as isMotionValue,
|
|
100
|
+
Ka as isNodeOrChild,
|
|
101
|
+
ja as isNumericalString,
|
|
102
|
+
m as isObject,
|
|
103
|
+
Ua as isPrimaryPointer,
|
|
104
|
+
ne as isSVGElement,
|
|
105
|
+
oe as isSVGSVGElement,
|
|
106
|
+
Wa as isValidMotionProp,
|
|
107
|
+
qa as isZeroValueString,
|
|
108
|
+
Ha as keyframes,
|
|
109
|
+
Ja as m,
|
|
110
|
+
Za as makeAnimationInstant,
|
|
111
|
+
Qa as makeUseVisualState,
|
|
112
|
+
Xa as mapEasingToNativeEasing,
|
|
113
|
+
Ya as maxGeneratorDuration,
|
|
114
|
+
_a as memo,
|
|
115
|
+
$a as microtask,
|
|
116
|
+
as as millisecondsToSeconds,
|
|
117
|
+
ss as mirrorEasing,
|
|
118
|
+
es as mix,
|
|
119
|
+
is as mixArray,
|
|
120
|
+
rs as mixColor,
|
|
121
|
+
ts as mixComplex,
|
|
122
|
+
ns as mixImmediate,
|
|
123
|
+
os as mixLinearColor,
|
|
124
|
+
ls as mixNumber,
|
|
125
|
+
ms as mixObject,
|
|
126
|
+
us as mixVisibility,
|
|
127
|
+
le as motion,
|
|
128
|
+
cs as motionValue,
|
|
129
|
+
ps as noop,
|
|
130
|
+
bs as number,
|
|
131
|
+
fs as numberValueTypes,
|
|
132
|
+
ds as optimizedAppearDataAttribute,
|
|
133
|
+
gs as parseCSSVariable,
|
|
134
|
+
Vs as parseValueFromTransform,
|
|
135
|
+
ys as percent,
|
|
136
|
+
xs as pipe,
|
|
137
|
+
Ts as positionalKeys,
|
|
138
|
+
Ss as press,
|
|
139
|
+
vs as progress,
|
|
140
|
+
Es as progressPercentage,
|
|
141
|
+
As as px,
|
|
142
|
+
Cs as readTransformValue,
|
|
143
|
+
Os as removeItem,
|
|
144
|
+
Ms as resolveElements,
|
|
145
|
+
Ps as resolveMotionValue,
|
|
146
|
+
hs as reverseEasing,
|
|
147
|
+
Ds as rgbUnit,
|
|
148
|
+
Is as rgba,
|
|
149
|
+
Gs as scale,
|
|
150
|
+
Ls as secondsToMilliseconds,
|
|
151
|
+
me as setDragLock,
|
|
152
|
+
ks as setStyle,
|
|
153
|
+
Ns as spring,
|
|
154
|
+
Bs as startWaapiAnimation,
|
|
155
|
+
ws as supportedWaapiEasing,
|
|
156
|
+
Fs as supportsBrowserAnimation,
|
|
157
|
+
zs as supportsFlags,
|
|
158
|
+
Rs as supportsLinearEasing,
|
|
159
|
+
Ks as supportsScrollTimeline,
|
|
160
|
+
js as testValueType,
|
|
161
|
+
Us as time,
|
|
162
|
+
Ws as transformPropOrder,
|
|
163
|
+
qs as transformProps,
|
|
164
|
+
Hs as transformValueTypes,
|
|
165
|
+
u as useIsomorphicLayoutEffect,
|
|
166
|
+
c as usePresence,
|
|
167
|
+
Js as velocityPerSecond,
|
|
168
|
+
Zs as vh,
|
|
169
|
+
Qs as visualElementStore,
|
|
170
|
+
Xs as vw,
|
|
171
|
+
Ys as warnOnce,
|
|
172
|
+
_s as warning
|
|
173
|
+
};
|
|
174
|
+
//# sourceMappingURL=index-BbDfYVLO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BbDfYVLO.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-lrI_r1ww.js"),e=require("./features-animation-BoXKk5t2.js"),i=require("./proxy-BwQyOw8U.js");exports.AnimatePresence=a.AnimatePresence;exports.LayoutGroupContext=a.LayoutGroupContext;exports.LazyMotion=a.LazyMotion;exports.MotionConfigContext=a.MotionConfigContext;exports.PresenceContext=a.PresenceContext;exports.isBrowser=a.isBrowser;exports.isHTMLElement=a.isHTMLElement;exports.isObject=a.isObject;exports.useIsomorphicLayoutEffect=a.useIsomorphicLayoutEffect;exports.usePresence=a.usePresence;exports.AsyncMotionValueAnimation=e.AsyncMotionValueAnimation;exports.DOMKeyframesResolver=e.DOMKeyframesResolver;exports.JSAnimation=e.JSAnimation;exports.KeyframeResolver=e.KeyframeResolver;exports.MotionContext=e.MotionContext;exports.MotionGlobalConfig=e.MotionGlobalConfig;exports.MotionValue=e.MotionValue;exports.NativeAnimation=e.NativeAnimation;exports.NativeAnimationExtended=e.NativeAnimationExtended;exports.SubscriptionManager=e.SubscriptionManager;exports.SwitchLayoutGroupContext=e.SwitchLayoutGroupContext;exports.VisualElement=e.VisualElement;exports.addPointerInfo=e.addPointerInfo;exports.addScaleCorrector=e.addScaleCorrector;exports.addUniqueItem=e.addUniqueItem;exports.alpha=e.alpha;exports.analyseComplexValue=e.analyseComplexValue;exports.animateVisualElement=e.animateVisualElement;exports.animations=e.animations;exports.anticipate=e.anticipate;exports.applyGeneratorOptions=e.applyGeneratorOptions;exports.backIn=e.backIn;exports.backInOut=e.backInOut;exports.backOut=e.backOut;exports.buildTransform=e.buildTransform;exports.calcGeneratorDuration=e.calcGeneratorDuration;exports.cancelFrame=e.cancelFrame;exports.circIn=e.circIn;exports.circInOut=e.circInOut;exports.circOut=e.circOut;exports.clamp=e.clamp;exports.color=e.color;exports.complex=e.complex;exports.convertOffsetToTimes=e.convertOffsetToTimes;exports.createBox=e.createBox;exports.createGeneratorEasing=e.createGeneratorEasing;exports.createRenderBatcher=e.createRenderBatcher;exports.cubicBezier=e.cubicBezier;exports.cubicBezierAsString=e.cubicBezierAsString;exports.defaultEasing=e.defaultEasing;exports.defaultOffset=e.defaultOffset;exports.defaultTransformValue=e.defaultTransformValue;exports.defaultValueTypes=e.defaultValueTypes;exports.degrees=e.degrees;exports.dimensionValueTypes=e.dimensionValueTypes;exports.domAnimation=e.domAnimation;exports.easeIn=e.easeIn;exports.easeInOut=e.easeInOut;exports.easeOut=e.easeOut;exports.easingDefinitionToFunction=e.easingDefinitionToFunction;exports.fillOffset=e.fillOffset;exports.fillWildcards=e.fillWildcards;exports.filterProps=e.filterProps;exports.findDimensionValueType=e.findDimensionValueType;exports.findValueType=e.findValueType;exports.flushKeyframeResolvers=e.flushKeyframeResolvers;exports.frame=e.frame;exports.frameData=e.frameData;exports.frameSteps=e.frameSteps;exports.generateLinearEasing=e.generateLinearEasing;exports.getAnimatableNone=e.getAnimatableNone;exports.getDefaultValueType=e.getDefaultValueType;exports.getMixer=e.getMixer;exports.getValueAsType=e.getValueAsType;exports.getValueTransition=e.getValueTransition;exports.getVariableValue=e.getVariableValue;exports.hex=e.hex;exports.hover=e.hover;exports.hsla=e.hsla;exports.hslaToRgba=e.hslaToRgba;exports.inertia=e.inertia;exports.interpolate=e.interpolate;Object.defineProperty(exports,"invariant",{enumerable:!0,get:()=>e.invariant});exports.invisibleValues=e.invisibleValues;exports.isBezierDefinition=e.isBezierDefinition;exports.isCSSVariableName=e.isCSSVariableName;exports.isCSSVariableToken=e.isCSSVariableToken;exports.isDragActive=e.isDragActive;exports.isDragging=e.isDragging;exports.isEasingArray=e.isEasingArray;exports.isGenerator=e.isGenerator;exports.isMotionValue=e.isMotionValue;exports.isNodeOrChild=e.isNodeOrChild;exports.isNumericalString=e.isNumericalString;exports.isPrimaryPointer=e.isPrimaryPointer;exports.isValidMotionProp=e.isValidMotionProp;exports.isZeroValueString=e.isZeroValueString;exports.keyframes=e.keyframes;exports.m=e.m;exports.makeAnimationInstant=e.makeAnimationInstant;exports.makeUseVisualState=e.makeUseVisualState;exports.mapEasingToNativeEasing=e.mapEasingToNativeEasing;exports.maxGeneratorDuration=e.maxGeneratorDuration;exports.memo=e.memo;exports.microtask=e.microtask;exports.millisecondsToSeconds=e.millisecondsToSeconds;exports.mirrorEasing=e.mirrorEasing;exports.mix=e.mix;exports.mixArray=e.mixArray;exports.mixColor=e.mixColor;exports.mixComplex=e.mixComplex;exports.mixImmediate=e.mixImmediate;exports.mixLinearColor=e.mixLinearColor;exports.mixNumber=e.mixNumber;exports.mixObject=e.mixObject;exports.mixVisibility=e.mixVisibility;exports.motionValue=e.motionValue;exports.noop=e.noop;exports.number=e.number;exports.numberValueTypes=e.numberValueTypes;exports.optimizedAppearDataAttribute=e.optimizedAppearDataAttribute;exports.parseCSSVariable=e.parseCSSVariable;exports.parseValueFromTransform=e.parseValueFromTransform;exports.percent=e.percent;exports.pipe=e.pipe;exports.positionalKeys=e.positionalKeys;exports.press=e.press;exports.progress=e.progress;exports.progressPercentage=e.progressPercentage;exports.px=e.px;exports.readTransformValue=e.readTransformValue;exports.removeItem=e.removeItem;exports.resolveElements=e.resolveElements;exports.resolveMotionValue=e.resolveMotionValue;exports.reverseEasing=e.reverseEasing;exports.rgbUnit=e.rgbUnit;exports.rgba=e.rgba;exports.scale=e.scale;exports.secondsToMilliseconds=e.secondsToMilliseconds;exports.setStyle=e.setStyle;exports.spring=e.spring;exports.startWaapiAnimation=e.startWaapiAnimation;exports.supportedWaapiEasing=e.supportedWaapiEasing;exports.supportsBrowserAnimation=e.supportsBrowserAnimation;exports.supportsFlags=e.supportsFlags;exports.supportsLinearEasing=e.supportsLinearEasing;exports.supportsScrollTimeline=e.supportsScrollTimeline;exports.testValueType=e.testValueType;exports.time=e.time;exports.transformPropOrder=e.transformPropOrder;exports.transformProps=e.transformProps;exports.transformValueTypes=e.transformValueTypes;exports.velocityPerSecond=e.velocityPerSecond;exports.vh=e.vh;exports.visualElementStore=e.visualElementStore;exports.vw=e.vw;exports.warnOnce=e.warnOnce;Object.defineProperty(exports,"warning",{enumerable:!0,get:()=>e.warning});exports.FlatTree=i.FlatTree;exports.addPointerEvent=i.addPointerEvent;exports.calcLength=i.calcLength;exports.delay=i.delay;exports.distance=i.distance;exports.distance2D=i.distance2D;exports.isSVGElement=i.isSVGElement;exports.isSVGSVGElement=i.isSVGSVGElement;exports.motion=i.motion;exports.setDragLock=i.setDragLock;
|
|
2
|
+
//# sourceMappingURL=index-CL73JQgs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-CL73JQgs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as O } from "./clsx-OuTLNxxd.js";
|
|
2
2
|
const m = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = O, j = (e, l) => (n) => {
|
|
3
3
|
var u;
|
|
4
4
|
if (l?.variants == null) return y(e, n?.class, n?.className);
|
|
@@ -32,4 +32,4 @@ const m = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = O, j =
|
|
|
32
32
|
export {
|
|
33
33
|
j as c
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=index-
|
|
35
|
+
//# sourceMappingURL=index-D29mdTf5.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-D29mdTf5.js","sources":["../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs"],"sourcesContent":["/**\n * Copyright 2022 Joe Bell. All rights reserved.\n *\n * This file is licensed to you under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with the\n * License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n */ import { clsx } from \"clsx\";\nconst falsyToString = (value)=>typeof value === \"boolean\" ? `${value}` : value === 0 ? \"0\" : value;\nexport const cx = clsx;\nexport const cva = (base, config)=>(props)=>{\n var _config_compoundVariants;\n if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n const { variants, defaultVariants } = config;\n const getVariantClassNames = Object.keys(variants).map((variant)=>{\n const variantProp = props === null || props === void 0 ? void 0 : props[variant];\n const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];\n if (variantProp === null) return null;\n const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);\n return variants[variant][variantKey];\n });\n const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{\n let [key, value] = param;\n if (value === undefined) {\n return acc;\n }\n acc[key] = value;\n return acc;\n }, {});\n const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param)=>{\n let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;\n return Object.entries(compoundVariantOptions).every((param)=>{\n let [key, value] = param;\n return Array.isArray(value) ? value.includes({\n ...defaultVariants,\n ...propsWithoutUndefined\n }[key]) : ({\n ...defaultVariants,\n ...propsWithoutUndefined\n })[key] === value;\n }) ? [\n ...acc,\n cvClass,\n cvClassName\n ] : acc;\n }, []);\n return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n };\n\n"],"names":["falsyToString","value","cx","clsx","cva","base","config","props","_config_compoundVariants","variants","defaultVariants","getVariantClassNames","variant","variantProp","defaultVariantProp","variantKey","propsWithoutUndefined","acc","param","key","getCompoundVariantClassNames","cvClass","cvClassName","compoundVariantOptions"],"mappings":";AAeA,MAAMA,IAAgB,CAACC,MAAQ,OAAOA,KAAU,YAAY,GAAGA,CAAK,KAAKA,MAAU,IAAI,MAAMA,GAChFC,IAAKC,GACLC,IAAM,CAACC,GAAMC,MAAS,CAACC,MAAQ;AACpC,MAAIC;AACJ,MAAqDF,GAAO,YAAa,KAAM,QAAOJ,EAAGG,GAAoDE,GAAM,OAAqDA,GAAM,SAAS;AACvN,QAAM,EAAE,UAAAE,GAAU,iBAAAC,EAAe,IAAKJ,GAChCK,IAAuB,OAAO,KAAKF,CAAQ,EAAE,IAAI,CAACG,MAAU;AAC9D,UAAMC,IAA4DN,IAAMK,CAAO,GACzEE,IAAuFJ,IAAgBE,CAAO;AACpH,QAAIC,MAAgB,KAAM,QAAO;AACjC,UAAME,IAAaf,EAAca,CAAW,KAAKb,EAAcc,CAAkB;AACjF,WAAOL,EAASG,CAAO,EAAEG,CAAU;AAAA,EACvC,CAAC,GACKC,IAAwBT,KAAS,OAAO,QAAQA,CAAK,EAAE,OAAO,CAACU,GAAKC,MAAQ;AAC9E,QAAI,CAACC,GAAKlB,CAAK,IAAIiB;AACnB,WAAIjB,MAAU,WAGdgB,EAAIE,CAAG,IAAIlB,IACJgB;AAAA,EACX,GAAG,CAAA,CAAE,GACCG,IAA+Bd,KAAW,SAAsCE,IAA2BF,EAAO,sBAAsB,QAAQE,MAA6B,SAAvG,SAAyHA,EAAyB,OAAO,CAACS,GAAKC,MAAQ;AAC/O,QAAI,EAAE,OAAOG,GAAS,WAAWC,GAAa,GAAGC,EAAsB,IAAKL;AAC5E,WAAO,OAAO,QAAQK,CAAsB,EAAE,MAAM,CAACL,MAAQ;AACzD,UAAI,CAACC,GAAKlB,CAAK,IAAIiB;AACnB,aAAO,MAAM,QAAQjB,CAAK,IAAIA,EAAM,SAAS;AAAA,QACzC,GAAGS;AAAA,QACH,GAAGM;AAAA,MACvB,EAAkBG,CAAG,CAAC,IAAK;AAAA,QACP,GAAGT;AAAA,QACH,GAAGM;AAAA,MACvB,EAAmBG,CAAG,MAAMlB;AAAA,IAChB,CAAC,IAAI;AAAA,MACD,GAAGgB;AAAA,MACHI;AAAA,MACAC;AAAA,IAChB,IAAgBL;AAAA,EACR,GAAG,CAAA,CAAE;AACL,SAAOf,EAAGG,GAAMM,GAAsBS,GAA4Eb,GAAM,OAAqDA,GAAM,SAAS;AAChM;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { j as w } from "./jsx-runtime-Cl_4eDuT.js";
|
|
2
|
+
import * as I from "react";
|
|
3
|
+
import { createContext as v, useRef as y, useLayoutEffect as U, useEffect as S, useId as k, useContext as H, useInsertionEffect as X, useMemo as M, useCallback as _, Children as G, isValidElement as Y, useState as T } from "react";
|
|
4
|
+
const q = v({});
|
|
5
|
+
function B(e) {
|
|
6
|
+
const t = y(null);
|
|
7
|
+
return t.current === null && (t.current = e()), t.current;
|
|
8
|
+
}
|
|
9
|
+
const J = typeof window < "u", Q = J ? U : S, W = /* @__PURE__ */ v(null);
|
|
10
|
+
function Z(e) {
|
|
11
|
+
return typeof e == "object" && e !== null;
|
|
12
|
+
}
|
|
13
|
+
function ee(e) {
|
|
14
|
+
return Z(e) && "offsetHeight" in e;
|
|
15
|
+
}
|
|
16
|
+
const te = v({
|
|
17
|
+
transformPagePoint: (e) => e,
|
|
18
|
+
isStatic: !1,
|
|
19
|
+
reducedMotion: "never"
|
|
20
|
+
});
|
|
21
|
+
class ne extends I.Component {
|
|
22
|
+
getSnapshotBeforeUpdate(t) {
|
|
23
|
+
const n = this.props.childRef.current;
|
|
24
|
+
if (n && t.isPresent && !this.props.isPresent) {
|
|
25
|
+
const r = n.offsetParent, i = ee(r) && r.offsetWidth || 0, o = this.props.sizeRef.current;
|
|
26
|
+
o.height = n.offsetHeight || 0, o.width = n.offsetWidth || 0, o.top = n.offsetTop, o.left = n.offsetLeft, o.right = i - o.width - o.left;
|
|
27
|
+
}
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Required with getSnapshotBeforeUpdate to stop React complaining.
|
|
32
|
+
*/
|
|
33
|
+
componentDidUpdate() {
|
|
34
|
+
}
|
|
35
|
+
render() {
|
|
36
|
+
return this.props.children;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
function oe({ children: e, isPresent: t, anchorX: n, root: r }) {
|
|
40
|
+
const i = k(), o = y(null), s = y({
|
|
41
|
+
width: 0,
|
|
42
|
+
height: 0,
|
|
43
|
+
top: 0,
|
|
44
|
+
left: 0,
|
|
45
|
+
right: 0
|
|
46
|
+
}), { nonce: C } = H(te);
|
|
47
|
+
return X(() => {
|
|
48
|
+
const { width: x, height: c, top: P, left: a, right: f } = s.current;
|
|
49
|
+
if (t || !o.current || !x || !c)
|
|
50
|
+
return;
|
|
51
|
+
const d = n === "left" ? `left: ${a}` : `right: ${f}`;
|
|
52
|
+
o.current.dataset.motionPopId = i;
|
|
53
|
+
const u = document.createElement("style");
|
|
54
|
+
C && (u.nonce = C);
|
|
55
|
+
const h = r ?? document.head;
|
|
56
|
+
return h.appendChild(u), u.sheet && u.sheet.insertRule(`
|
|
57
|
+
[data-motion-pop-id="${i}"] {
|
|
58
|
+
position: absolute !important;
|
|
59
|
+
width: ${x}px !important;
|
|
60
|
+
height: ${c}px !important;
|
|
61
|
+
${d}px !important;
|
|
62
|
+
top: ${P}px !important;
|
|
63
|
+
}
|
|
64
|
+
`), () => {
|
|
65
|
+
h.contains(u) && h.removeChild(u);
|
|
66
|
+
};
|
|
67
|
+
}, [t]), w.jsx(ne, { isPresent: t, childRef: o, sizeRef: s, children: I.cloneElement(e, { ref: o }) });
|
|
68
|
+
}
|
|
69
|
+
const re = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: o, mode: s, anchorX: C, root: x }) => {
|
|
70
|
+
const c = B(se), P = k();
|
|
71
|
+
let a = !0, f = M(() => (a = !1, {
|
|
72
|
+
id: P,
|
|
73
|
+
initial: t,
|
|
74
|
+
isPresent: n,
|
|
75
|
+
custom: i,
|
|
76
|
+
onExitComplete: (d) => {
|
|
77
|
+
c.set(d, !0);
|
|
78
|
+
for (const u of c.values())
|
|
79
|
+
if (!u)
|
|
80
|
+
return;
|
|
81
|
+
r && r();
|
|
82
|
+
},
|
|
83
|
+
register: (d) => (c.set(d, !1), () => c.delete(d))
|
|
84
|
+
}), [n, c, r]);
|
|
85
|
+
return o && a && (f = { ...f }), M(() => {
|
|
86
|
+
c.forEach((d, u) => c.set(u, !1));
|
|
87
|
+
}, [n]), I.useEffect(() => {
|
|
88
|
+
!n && !c.size && r && r();
|
|
89
|
+
}, [n]), s === "popLayout" && (e = w.jsx(oe, { isPresent: n, anchorX: C, root: x, children: e })), w.jsx(W.Provider, { value: f, children: e });
|
|
90
|
+
};
|
|
91
|
+
function se() {
|
|
92
|
+
return /* @__PURE__ */ new Map();
|
|
93
|
+
}
|
|
94
|
+
function ie(e = !0) {
|
|
95
|
+
const t = H(W);
|
|
96
|
+
if (t === null)
|
|
97
|
+
return [!0, null];
|
|
98
|
+
const { isPresent: n, onExitComplete: r, register: i } = t, o = k();
|
|
99
|
+
S(() => {
|
|
100
|
+
if (e)
|
|
101
|
+
return i(o);
|
|
102
|
+
}, [e]);
|
|
103
|
+
const s = _(() => e && r && r(o), [o, r, e]);
|
|
104
|
+
return !n && r ? [!1, s] : [!0];
|
|
105
|
+
}
|
|
106
|
+
const E = (e) => e.key || "";
|
|
107
|
+
function D(e) {
|
|
108
|
+
const t = [];
|
|
109
|
+
return G.forEach(e, (n) => {
|
|
110
|
+
Y(n) && t.push(n);
|
|
111
|
+
}), t;
|
|
112
|
+
}
|
|
113
|
+
const ue = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: o = "sync", propagate: s = !1, anchorX: C = "left", root: x }) => {
|
|
114
|
+
const [c, P] = ie(s), a = M(() => D(e), [e]), f = s && !c ? [] : a.map(E), d = y(!0), u = y(a), h = B(() => /* @__PURE__ */ new Map()), [b, K] = T(a), [m, V] = T(a);
|
|
115
|
+
Q(() => {
|
|
116
|
+
d.current = !1, u.current = a;
|
|
117
|
+
for (let p = 0; p < m.length; p++) {
|
|
118
|
+
const l = E(m[p]);
|
|
119
|
+
f.includes(l) ? h.delete(l) : h.get(l) !== !0 && h.set(l, !1);
|
|
120
|
+
}
|
|
121
|
+
}, [m, f.length, f.join("-")]);
|
|
122
|
+
const R = [];
|
|
123
|
+
if (a !== b) {
|
|
124
|
+
let p = [...a];
|
|
125
|
+
for (let l = 0; l < m.length; l++) {
|
|
126
|
+
const g = m[l], L = E(g);
|
|
127
|
+
f.includes(L) || (p.splice(l, 0, g), R.push(g));
|
|
128
|
+
}
|
|
129
|
+
return o === "wait" && R.length && (p = R), V(D(p)), K(a), null;
|
|
130
|
+
}
|
|
131
|
+
process.env.NODE_ENV !== "production" && o === "wait" && m.length > 1;
|
|
132
|
+
const { forceRender: N } = H(q);
|
|
133
|
+
return w.jsx(w.Fragment, { children: m.map((p) => {
|
|
134
|
+
const l = E(p), g = s && !c ? !1 : a === m || f.includes(l), L = () => {
|
|
135
|
+
if (h.has(l))
|
|
136
|
+
h.set(l, !0);
|
|
137
|
+
else
|
|
138
|
+
return;
|
|
139
|
+
let $ = !0;
|
|
140
|
+
h.forEach((O) => {
|
|
141
|
+
O || ($ = !1);
|
|
142
|
+
}), $ && (N?.(), V(u.current), s && P?.(), r && r());
|
|
143
|
+
};
|
|
144
|
+
return w.jsx(re, { isPresent: g, initial: !d.current || n ? void 0 : !1, custom: t, presenceAffectsLayout: i, mode: o, root: x, onExitComplete: g ? void 0 : L, anchorX: C, children: p }, l);
|
|
145
|
+
}) });
|
|
146
|
+
}, ce = v({ strict: !1 }), F = {
|
|
147
|
+
animation: [
|
|
148
|
+
"animate",
|
|
149
|
+
"variants",
|
|
150
|
+
"whileHover",
|
|
151
|
+
"whileTap",
|
|
152
|
+
"exit",
|
|
153
|
+
"whileInView",
|
|
154
|
+
"whileFocus",
|
|
155
|
+
"whileDrag"
|
|
156
|
+
],
|
|
157
|
+
exit: ["exit"],
|
|
158
|
+
drag: ["drag", "dragControls"],
|
|
159
|
+
focus: ["whileFocus"],
|
|
160
|
+
hover: ["whileHover", "onHoverStart", "onHoverEnd"],
|
|
161
|
+
tap: ["whileTap", "onTap", "onTapStart", "onTapCancel"],
|
|
162
|
+
pan: ["onPan", "onPanStart", "onPanSessionStart", "onPanEnd"],
|
|
163
|
+
inView: ["whileInView", "onViewportEnter", "onViewportLeave"],
|
|
164
|
+
layout: ["layout", "layoutId"]
|
|
165
|
+
}, z = {};
|
|
166
|
+
for (const e in F)
|
|
167
|
+
z[e] = {
|
|
168
|
+
isEnabled: (t) => F[e].some((n) => !!t[n])
|
|
169
|
+
};
|
|
170
|
+
function A(e) {
|
|
171
|
+
for (const t in e)
|
|
172
|
+
z[t] = {
|
|
173
|
+
...z[t],
|
|
174
|
+
...e[t]
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
function fe({ children: e, features: t, strict: n = !1 }) {
|
|
178
|
+
const [, r] = T(!j(t)), i = y(void 0);
|
|
179
|
+
if (!j(t)) {
|
|
180
|
+
const { renderer: o, ...s } = t;
|
|
181
|
+
i.current = o, A(s);
|
|
182
|
+
}
|
|
183
|
+
return S(() => {
|
|
184
|
+
j(t) && t().then(({ renderer: o, ...s }) => {
|
|
185
|
+
A(s), i.current = o, r(!0);
|
|
186
|
+
});
|
|
187
|
+
}, []), w.jsx(ce.Provider, { value: { renderer: i.current, strict: n }, children: e });
|
|
188
|
+
}
|
|
189
|
+
function j(e) {
|
|
190
|
+
return typeof e == "function";
|
|
191
|
+
}
|
|
192
|
+
export {
|
|
193
|
+
ue as A,
|
|
194
|
+
fe as L,
|
|
195
|
+
te as M,
|
|
196
|
+
W as P,
|
|
197
|
+
ie as a,
|
|
198
|
+
q as b,
|
|
199
|
+
Z as c,
|
|
200
|
+
ee as d,
|
|
201
|
+
B as e,
|
|
202
|
+
ce as f,
|
|
203
|
+
z as g,
|
|
204
|
+
J as i,
|
|
205
|
+
A as l,
|
|
206
|
+
Q as u
|
|
207
|
+
};
|
|
208
|
+
//# sourceMappingURL=index-DC9BfnBH.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-DC9BfnBH.js","sources":["../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/utils/use-constant.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/utils/is-browser.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/context/PresenceContext.mjs","../../node_modules/.pnpm/motion-utils@12.23.6/node_modules/motion-utils/dist/es/is-object.mjs","../../node_modules/.pnpm/motion-dom@12.23.12/node_modules/motion-dom/dist/es/utils/is-html-element.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/context/LazyContext.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/motion/features/definitions.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/motion/features/load-features.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/components/LazyMotion/index.mjs"],"sourcesContent":["\"use client\";\nimport { createContext } from 'react';\n\nconst LayoutGroupContext = createContext({});\n\nexport { LayoutGroupContext };\n","import { useRef } from 'react';\n\n/**\n * Creates a constant value over the lifecycle of a component.\n *\n * Even if `useMemo` is provided an empty array as its final argument, it doesn't offer\n * a guarantee that it won't re-run for performance reasons later on. By using `useConstant`\n * you can ensure that initialisers don't execute twice or more.\n */\nfunction useConstant(init) {\n const ref = useRef(null);\n if (ref.current === null) {\n ref.current = init();\n }\n return ref.current;\n}\n\nexport { useConstant };\n","const isBrowser = typeof window !== \"undefined\";\n\nexport { isBrowser };\n","import { useLayoutEffect, useEffect } from 'react';\nimport { isBrowser } from './is-browser.mjs';\n\nconst useIsomorphicLayoutEffect = isBrowser ? useLayoutEffect : useEffect;\n\nexport { useIsomorphicLayoutEffect };\n","\"use client\";\nimport { createContext } from 'react';\n\n/**\n * @public\n */\nconst PresenceContext = \n/* @__PURE__ */ createContext(null);\n\nexport { PresenceContext };\n","function isObject(value) {\n return typeof value === \"object\" && value !== null;\n}\n\nexport { isObject };\n","import { isObject } from 'motion-utils';\n\n/**\n * Checks if an element is an HTML element in a way\n * that works across iframes\n */\nfunction isHTMLElement(element) {\n return isObject(element) && \"offsetHeight\" in element;\n}\n\nexport { isHTMLElement };\n","\"use client\";\nimport { createContext } from 'react';\n\n/**\n * @public\n */\nconst MotionConfigContext = createContext({\n transformPagePoint: (p) => p,\n isStatic: false,\n reducedMotion: \"never\",\n});\n\nexport { MotionConfigContext };\n","\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { isHTMLElement } from 'motion-dom';\nimport * as React from 'react';\nimport { useId, useRef, useContext, useInsertionEffect } from 'react';\nimport { MotionConfigContext } from '../../context/MotionConfigContext.mjs';\n\n/**\n * Measurement functionality has to be within a separate component\n * to leverage snapshot lifecycle.\n */\nclass PopChildMeasure extends React.Component {\n getSnapshotBeforeUpdate(prevProps) {\n const element = this.props.childRef.current;\n if (element && prevProps.isPresent && !this.props.isPresent) {\n const parent = element.offsetParent;\n const parentWidth = isHTMLElement(parent)\n ? parent.offsetWidth || 0\n : 0;\n const size = this.props.sizeRef.current;\n size.height = element.offsetHeight || 0;\n size.width = element.offsetWidth || 0;\n size.top = element.offsetTop;\n size.left = element.offsetLeft;\n size.right = parentWidth - size.width - size.left;\n }\n return null;\n }\n /**\n * Required with getSnapshotBeforeUpdate to stop React complaining.\n */\n componentDidUpdate() { }\n render() {\n return this.props.children;\n }\n}\nfunction PopChild({ children, isPresent, anchorX, root }) {\n const id = useId();\n const ref = useRef(null);\n const size = useRef({\n width: 0,\n height: 0,\n top: 0,\n left: 0,\n right: 0,\n });\n const { nonce } = useContext(MotionConfigContext);\n /**\n * We create and inject a style block so we can apply this explicit\n * sizing in a non-destructive manner by just deleting the style block.\n *\n * We can't apply size via render as the measurement happens\n * in getSnapshotBeforeUpdate (post-render), likewise if we apply the\n * styles directly on the DOM node, we might be overwriting\n * styles set via the style prop.\n */\n useInsertionEffect(() => {\n const { width, height, top, left, right } = size.current;\n if (isPresent || !ref.current || !width || !height)\n return;\n const x = anchorX === \"left\" ? `left: ${left}` : `right: ${right}`;\n ref.current.dataset.motionPopId = id;\n const style = document.createElement(\"style\");\n if (nonce)\n style.nonce = nonce;\n const parent = root ?? document.head;\n parent.appendChild(style);\n if (style.sheet) {\n style.sheet.insertRule(`\n [data-motion-pop-id=\"${id}\"] {\n position: absolute !important;\n width: ${width}px !important;\n height: ${height}px !important;\n ${x}px !important;\n top: ${top}px !important;\n }\n `);\n }\n return () => {\n if (parent.contains(style)) {\n parent.removeChild(style);\n }\n };\n }, [isPresent]);\n return (jsx(PopChildMeasure, { isPresent: isPresent, childRef: ref, sizeRef: size, children: React.cloneElement(children, { ref }) }));\n}\n\nexport { PopChild };\n","\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport * as React from 'react';\nimport { useId, useMemo } from 'react';\nimport { PresenceContext } from '../../context/PresenceContext.mjs';\nimport { useConstant } from '../../utils/use-constant.mjs';\nimport { PopChild } from './PopChild.mjs';\n\nconst PresenceChild = ({ children, initial, isPresent, onExitComplete, custom, presenceAffectsLayout, mode, anchorX, root }) => {\n const presenceChildren = useConstant(newChildrenMap);\n const id = useId();\n let isReusedContext = true;\n let context = useMemo(() => {\n isReusedContext = false;\n return {\n id,\n initial,\n isPresent,\n custom,\n onExitComplete: (childId) => {\n presenceChildren.set(childId, true);\n for (const isComplete of presenceChildren.values()) {\n if (!isComplete)\n return; // can stop searching when any is incomplete\n }\n onExitComplete && onExitComplete();\n },\n register: (childId) => {\n presenceChildren.set(childId, false);\n return () => presenceChildren.delete(childId);\n },\n };\n }, [isPresent, presenceChildren, onExitComplete]);\n /**\n * If the presence of a child affects the layout of the components around it,\n * we want to make a new context value to ensure they get re-rendered\n * so they can detect that layout change.\n */\n if (presenceAffectsLayout && isReusedContext) {\n context = { ...context };\n }\n useMemo(() => {\n presenceChildren.forEach((_, key) => presenceChildren.set(key, false));\n }, [isPresent]);\n /**\n * If there's no `motion` components to fire exit animations, we want to remove this\n * component immediately.\n */\n React.useEffect(() => {\n !isPresent &&\n !presenceChildren.size &&\n onExitComplete &&\n onExitComplete();\n }, [isPresent]);\n if (mode === \"popLayout\") {\n children = (jsx(PopChild, { isPresent: isPresent, anchorX: anchorX, root: root, children: children }));\n }\n return (jsx(PresenceContext.Provider, { value: context, children: children }));\n};\nfunction newChildrenMap() {\n return new Map();\n}\n\nexport { PresenceChild };\n","import { useContext, useId, useEffect, useCallback } from 'react';\nimport { PresenceContext } from '../../context/PresenceContext.mjs';\n\n/**\n * When a component is the child of `AnimatePresence`, it can use `usePresence`\n * to access information about whether it's still present in the React tree.\n *\n * ```jsx\n * import { usePresence } from \"framer-motion\"\n *\n * export const Component = () => {\n * const [isPresent, safeToRemove] = usePresence()\n *\n * useEffect(() => {\n * !isPresent && setTimeout(safeToRemove, 1000)\n * }, [isPresent])\n *\n * return <div />\n * }\n * ```\n *\n * If `isPresent` is `false`, it means that a component has been removed the tree, but\n * `AnimatePresence` won't really remove it until `safeToRemove` has been called.\n *\n * @public\n */\nfunction usePresence(subscribe = true) {\n const context = useContext(PresenceContext);\n if (context === null)\n return [true, null];\n const { isPresent, onExitComplete, register } = context;\n // It's safe to call the following hooks conditionally (after an early return) because the context will always\n // either be null or non-null for the lifespan of the component.\n const id = useId();\n useEffect(() => {\n if (subscribe) {\n return register(id);\n }\n }, [subscribe]);\n const safeToRemove = useCallback(() => subscribe && onExitComplete && onExitComplete(id), [id, onExitComplete, subscribe]);\n return !isPresent && onExitComplete ? [false, safeToRemove] : [true];\n}\n/**\n * Similar to `usePresence`, except `useIsPresent` simply returns whether or not the component is present.\n * There is no `safeToRemove` function.\n *\n * ```jsx\n * import { useIsPresent } from \"framer-motion\"\n *\n * export const Component = () => {\n * const isPresent = useIsPresent()\n *\n * useEffect(() => {\n * !isPresent && console.log(\"I've been removed!\")\n * }, [isPresent])\n *\n * return <div />\n * }\n * ```\n *\n * @public\n */\nfunction useIsPresent() {\n return isPresent(useContext(PresenceContext));\n}\nfunction isPresent(context) {\n return context === null ? true : context.isPresent;\n}\n\nexport { isPresent, useIsPresent, usePresence };\n","import { Children, isValidElement } from 'react';\n\nconst getChildKey = (child) => child.key || \"\";\nfunction onlyElements(children) {\n const filtered = [];\n // We use forEach here instead of map as map mutates the component key by preprending `.$`\n Children.forEach(children, (child) => {\n if (isValidElement(child))\n filtered.push(child);\n });\n return filtered;\n}\n\nexport { getChildKey, onlyElements };\n","\"use client\";\nimport { jsx, Fragment } from 'react/jsx-runtime';\nimport { useMemo, useRef, useState, useContext } from 'react';\nimport { LayoutGroupContext } from '../../context/LayoutGroupContext.mjs';\nimport { useConstant } from '../../utils/use-constant.mjs';\nimport { useIsomorphicLayoutEffect } from '../../utils/use-isomorphic-effect.mjs';\nimport { PresenceChild } from './PresenceChild.mjs';\nimport { usePresence } from './use-presence.mjs';\nimport { onlyElements, getChildKey } from './utils.mjs';\n\n/**\n * `AnimatePresence` enables the animation of components that have been removed from the tree.\n *\n * When adding/removing more than a single child, every child **must** be given a unique `key` prop.\n *\n * Any `motion` components that have an `exit` property defined will animate out when removed from\n * the tree.\n *\n * ```jsx\n * import { motion, AnimatePresence } from 'framer-motion'\n *\n * export const Items = ({ items }) => (\n * <AnimatePresence>\n * {items.map(item => (\n * <motion.div\n * key={item.id}\n * initial={{ opacity: 0 }}\n * animate={{ opacity: 1 }}\n * exit={{ opacity: 0 }}\n * />\n * ))}\n * </AnimatePresence>\n * )\n * ```\n *\n * You can sequence exit animations throughout a tree using variants.\n *\n * If a child contains multiple `motion` components with `exit` props, it will only unmount the child\n * once all `motion` components have finished animating out. Likewise, any components using\n * `usePresence` all need to call `safeToRemove`.\n *\n * @public\n */\nconst AnimatePresence = ({ children, custom, initial = true, onExitComplete, presenceAffectsLayout = true, mode = \"sync\", propagate = false, anchorX = \"left\", root }) => {\n const [isParentPresent, safeToRemove] = usePresence(propagate);\n /**\n * Filter any children that aren't ReactElements. We can only track components\n * between renders with a props.key.\n */\n const presentChildren = useMemo(() => onlyElements(children), [children]);\n /**\n * Track the keys of the currently rendered children. This is used to\n * determine which children are exiting.\n */\n const presentKeys = propagate && !isParentPresent ? [] : presentChildren.map(getChildKey);\n /**\n * If `initial={false}` we only want to pass this to components in the first render.\n */\n const isInitialRender = useRef(true);\n /**\n * A ref containing the currently present children. When all exit animations\n * are complete, we use this to re-render the component with the latest children\n * *committed* rather than the latest children *rendered*.\n */\n const pendingPresentChildren = useRef(presentChildren);\n /**\n * Track which exiting children have finished animating out.\n */\n const exitComplete = useConstant(() => new Map());\n /**\n * Save children to render as React state. To ensure this component is concurrent-safe,\n * we check for exiting children via an effect.\n */\n const [diffedChildren, setDiffedChildren] = useState(presentChildren);\n const [renderedChildren, setRenderedChildren] = useState(presentChildren);\n useIsomorphicLayoutEffect(() => {\n isInitialRender.current = false;\n pendingPresentChildren.current = presentChildren;\n /**\n * Update complete status of exiting children.\n */\n for (let i = 0; i < renderedChildren.length; i++) {\n const key = getChildKey(renderedChildren[i]);\n if (!presentKeys.includes(key)) {\n if (exitComplete.get(key) !== true) {\n exitComplete.set(key, false);\n }\n }\n else {\n exitComplete.delete(key);\n }\n }\n }, [renderedChildren, presentKeys.length, presentKeys.join(\"-\")]);\n const exitingChildren = [];\n if (presentChildren !== diffedChildren) {\n let nextChildren = [...presentChildren];\n /**\n * Loop through all the currently rendered components and decide which\n * are exiting.\n */\n for (let i = 0; i < renderedChildren.length; i++) {\n const child = renderedChildren[i];\n const key = getChildKey(child);\n if (!presentKeys.includes(key)) {\n nextChildren.splice(i, 0, child);\n exitingChildren.push(child);\n }\n }\n /**\n * If we're in \"wait\" mode, and we have exiting children, we want to\n * only render these until they've all exited.\n */\n if (mode === \"wait\" && exitingChildren.length) {\n nextChildren = exitingChildren;\n }\n setRenderedChildren(onlyElements(nextChildren));\n setDiffedChildren(presentChildren);\n /**\n * Early return to ensure once we've set state with the latest diffed\n * children, we can immediately re-render.\n */\n return null;\n }\n if (process.env.NODE_ENV !== \"production\" &&\n mode === \"wait\" &&\n renderedChildren.length > 1) {\n console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to \"wait\". This will lead to odd visual behaviour.`);\n }\n /**\n * If we've been provided a forceRender function by the LayoutGroupContext,\n * we can use it to force a re-render amongst all surrounding components once\n * all components have finished animating out.\n */\n const { forceRender } = useContext(LayoutGroupContext);\n return (jsx(Fragment, { children: renderedChildren.map((child) => {\n const key = getChildKey(child);\n const isPresent = propagate && !isParentPresent\n ? false\n : presentChildren === renderedChildren ||\n presentKeys.includes(key);\n const onExit = () => {\n if (exitComplete.has(key)) {\n exitComplete.set(key, true);\n }\n else {\n return;\n }\n let isEveryExitComplete = true;\n exitComplete.forEach((isExitComplete) => {\n if (!isExitComplete)\n isEveryExitComplete = false;\n });\n if (isEveryExitComplete) {\n forceRender?.();\n setRenderedChildren(pendingPresentChildren.current);\n propagate && safeToRemove?.();\n onExitComplete && onExitComplete();\n }\n };\n return (jsx(PresenceChild, { isPresent: isPresent, initial: !isInitialRender.current || initial\n ? undefined\n : false, custom: custom, presenceAffectsLayout: presenceAffectsLayout, mode: mode, root: root, onExitComplete: isPresent ? undefined : onExit, anchorX: anchorX, children: child }, key));\n }) }));\n};\n\nexport { AnimatePresence };\n","\"use client\";\nimport { createContext } from 'react';\n\nconst LazyContext = createContext({ strict: false });\n\nexport { LazyContext };\n","const featureProps = {\n animation: [\n \"animate\",\n \"variants\",\n \"whileHover\",\n \"whileTap\",\n \"exit\",\n \"whileInView\",\n \"whileFocus\",\n \"whileDrag\",\n ],\n exit: [\"exit\"],\n drag: [\"drag\", \"dragControls\"],\n focus: [\"whileFocus\"],\n hover: [\"whileHover\", \"onHoverStart\", \"onHoverEnd\"],\n tap: [\"whileTap\", \"onTap\", \"onTapStart\", \"onTapCancel\"],\n pan: [\"onPan\", \"onPanStart\", \"onPanSessionStart\", \"onPanEnd\"],\n inView: [\"whileInView\", \"onViewportEnter\", \"onViewportLeave\"],\n layout: [\"layout\", \"layoutId\"],\n};\nconst featureDefinitions = {};\nfor (const key in featureProps) {\n featureDefinitions[key] = {\n isEnabled: (props) => featureProps[key].some((name) => !!props[name]),\n };\n}\n\nexport { featureDefinitions };\n","import { featureDefinitions } from './definitions.mjs';\n\nfunction loadFeatures(features) {\n for (const key in features) {\n featureDefinitions[key] = {\n ...featureDefinitions[key],\n ...features[key],\n };\n }\n}\n\nexport { loadFeatures };\n","\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { useState, useRef, useEffect } from 'react';\nimport { LazyContext } from '../../context/LazyContext.mjs';\nimport { loadFeatures } from '../../motion/features/load-features.mjs';\n\n/**\n * Used in conjunction with the `m` component to reduce bundle size.\n *\n * `m` is a version of the `motion` component that only loads functionality\n * critical for the initial render.\n *\n * `LazyMotion` can then be used to either synchronously or asynchronously\n * load animation and gesture support.\n *\n * ```jsx\n * // Synchronous loading\n * import { LazyMotion, m, domAnimation } from \"framer-motion\"\n *\n * function App() {\n * return (\n * <LazyMotion features={domAnimation}>\n * <m.div animate={{ scale: 2 }} />\n * </LazyMotion>\n * )\n * }\n *\n * // Asynchronous loading\n * import { LazyMotion, m } from \"framer-motion\"\n *\n * function App() {\n * return (\n * <LazyMotion features={() => import('./path/to/domAnimation')}>\n * <m.div animate={{ scale: 2 }} />\n * </LazyMotion>\n * )\n * }\n * ```\n *\n * @public\n */\nfunction LazyMotion({ children, features, strict = false }) {\n const [, setIsLoaded] = useState(!isLazyBundle(features));\n const loadedRenderer = useRef(undefined);\n /**\n * If this is a synchronous load, load features immediately\n */\n if (!isLazyBundle(features)) {\n const { renderer, ...loadedFeatures } = features;\n loadedRenderer.current = renderer;\n loadFeatures(loadedFeatures);\n }\n useEffect(() => {\n if (isLazyBundle(features)) {\n features().then(({ renderer, ...loadedFeatures }) => {\n loadFeatures(loadedFeatures);\n loadedRenderer.current = renderer;\n setIsLoaded(true);\n });\n }\n }, []);\n return (jsx(LazyContext.Provider, { value: { renderer: loadedRenderer.current, strict }, children: children }));\n}\nfunction isLazyBundle(features) {\n return typeof features === \"function\";\n}\n\nexport { LazyMotion };\n"],"names":["LayoutGroupContext","createContext","useConstant","init","ref","useRef","isBrowser","useIsomorphicLayoutEffect","useLayoutEffect","useEffect","PresenceContext","isObject","value","isHTMLElement","element","MotionConfigContext","p","PopChildMeasure","React","prevProps","parent","parentWidth","size","PopChild","children","isPresent","anchorX","root","id","useId","nonce","useContext","useInsertionEffect","width","height","top","left","right","x","style","jsx","PresenceChild","initial","onExitComplete","custom","presenceAffectsLayout","mode","presenceChildren","newChildrenMap","isReusedContext","context","useMemo","childId","isComplete","_","key","usePresence","subscribe","register","safeToRemove","useCallback","getChildKey","child","onlyElements","filtered","Children","isValidElement","AnimatePresence","propagate","isParentPresent","presentChildren","presentKeys","isInitialRender","pendingPresentChildren","exitComplete","diffedChildren","setDiffedChildren","useState","renderedChildren","setRenderedChildren","i","exitingChildren","nextChildren","forceRender","Fragment","onExit","isEveryExitComplete","isExitComplete","LazyContext","featureProps","featureDefinitions","props","name","loadFeatures","features","LazyMotion","strict","setIsLoaded","isLazyBundle","loadedRenderer","renderer","loadedFeatures"],"mappings":";;;AAGK,MAACA,IAAqBC,EAAc,CAAA,CAAE;ACM3C,SAASC,EAAYC,GAAM;AACvB,QAAMC,IAAMC,EAAO,IAAI;AACvB,SAAID,EAAI,YAAY,SAChBA,EAAI,UAAUD,EAAI,IAEfC,EAAI;AACf;ACfK,MAACE,IAAY,OAAO,SAAW,KCG9BC,IAA4BD,IAAYE,IAAkBC,GCG1DC,IACU,gBAAAT,EAAc,IAAI;ACPlC,SAASU,EAASC,GAAO;AACrB,SAAO,OAAOA,KAAU,YAAYA,MAAU;AAClD;ACIA,SAASC,GAAcC,GAAS;AAC5B,SAAOH,EAASG,CAAO,KAAK,kBAAkBA;AAClD;ACFK,MAACC,KAAsBd,EAAc;AAAA,EACtC,oBAAoB,CAACe,MAAMA;AAAA,EAC3B,UAAU;AAAA,EACV,eAAe;AACnB,CAAC;ACCD,MAAMC,WAAwBC,EAAM,UAAU;AAAA,EAC1C,wBAAwBC,GAAW;AAC/B,UAAML,IAAU,KAAK,MAAM,SAAS;AACpC,QAAIA,KAAWK,EAAU,aAAa,CAAC,KAAK,MAAM,WAAW;AACzD,YAAMC,IAASN,EAAQ,cACjBO,IAAcR,GAAcO,CAAM,KAClCA,EAAO,eAAe,GAEtBE,IAAO,KAAK,MAA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EAAM,GAAI,UAAUxE,EAAQ,CAAE;AACjH;AACA,SAAS0E,EAAaJ,GAAU;AAC5B,SAAO,OAAOA,KAAa;AAC/B;","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";const C=require("./jsx-runtime-BjzqJBtL.js"),o=require("react");function K(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const S=K(o),H=o.createContext({});function T(e){const t=o.useRef(null);return t.current===null&&(t.current=e()),t.current}const O=typeof window<"u",V=O?o.useLayoutEffect:o.useEffect,z=o.createContext(null);function $(e){return typeof e=="object"&&e!==null}function F(e){return $(e)&&"offsetHeight"in e}const _=o.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class U extends S.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const s=n.offsetParent,c=F(s)&&s.offsetWidth||0,r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft,r.right=c-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function X({children:e,isPresent:t,anchorX:n,root:s}){const c=o.useId(),r=o.useRef(null),i=o.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:y}=o.useContext(_);return o.useInsertionEffect(()=>{const{width:g,height:u,top:E,left:a,right:d}=i.current;if(t||!r.current||!g||!u)return;const p=n==="left"?`left: ${a}`:`right: ${d}`;r.current.dataset.motionPopId=c;const l=document.createElement("style");y&&(l.nonce=y);const h=s??document.head;return h.appendChild(l),l.sheet&&l.sheet.insertRule(`
|
|
2
|
+
[data-motion-pop-id="${c}"] {
|
|
3
|
+
position: absolute !important;
|
|
4
|
+
width: ${g}px !important;
|
|
5
|
+
height: ${u}px !important;
|
|
6
|
+
${p}px !important;
|
|
7
|
+
top: ${E}px !important;
|
|
8
|
+
}
|
|
9
|
+
`),()=>{h.contains(l)&&h.removeChild(l)}},[t]),C.jsxRuntimeExports.jsx(U,{isPresent:t,childRef:r,sizeRef:i,children:S.cloneElement(e,{ref:r})})}const Y=({children:e,initial:t,isPresent:n,onExitComplete:s,custom:c,presenceAffectsLayout:r,mode:i,anchorX:y,root:g})=>{const u=T(J),E=o.useId();let a=!0,d=o.useMemo(()=>(a=!1,{id:E,initial:t,isPresent:n,custom:c,onExitComplete:p=>{u.set(p,!0);for(const l of u.values())if(!l)return;s&&s()},register:p=>(u.set(p,!1),()=>u.delete(p))}),[n,u,s]);return r&&a&&(d={...d}),o.useMemo(()=>{u.forEach((p,l)=>u.set(l,!1))},[n]),S.useEffect(()=>{!n&&!u.size&&s&&s()},[n]),i==="popLayout"&&(e=C.jsxRuntimeExports.jsx(X,{isPresent:n,anchorX:y,root:g,children:e})),C.jsxRuntimeExports.jsx(z.Provider,{value:d,children:e})};function J(){return new Map}function A(e=!0){const t=o.useContext(z);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:s,register:c}=t,r=o.useId();o.useEffect(()=>{if(e)return c(r)},[e]);const i=o.useCallback(()=>e&&s&&s(r),[r,s,e]);return!n&&s?[!1,i]:[!0]}const R=e=>e.key||"";function k(e){const t=[];return o.Children.forEach(e,n=>{o.isValidElement(n)&&t.push(n)}),t}const Q=({children:e,custom:t,initial:n=!0,onExitComplete:s,presenceAffectsLayout:c=!0,mode:r="sync",propagate:i=!1,anchorX:y="left",root:g})=>{const[u,E]=A(i),a=o.useMemo(()=>k(e),[e]),d=i&&!u?[]:a.map(R),p=o.useRef(!0),l=o.useRef(a),h=T(()=>new Map),[N,W]=o.useState(a),[x,I]=o.useState(a);V(()=>{p.current=!1,l.current=a;for(let m=0;m<x.length;m++){const f=R(x[m]);d.includes(f)?h.delete(f):h.get(f)!==!0&&h.set(f,!1)}},[x,d.length,d.join("-")]);const j=[];if(a!==N){let m=[...a];for(let f=0;f<x.length;f++){const w=x[f],v=R(w);d.includes(v)||(m.splice(f,0,w),j.push(w))}return r==="wait"&&j.length&&(m=j),I(k(m)),W(a),null}process.env.NODE_ENV!=="production"&&r==="wait"&&x.length>1;const{forceRender:q}=o.useContext(H);return C.jsxRuntimeExports.jsx(C.jsxRuntimeExports.Fragment,{children:x.map(m=>{const f=R(m),w=i&&!u?!1:a===x||d.includes(f),v=()=>{if(h.has(f))h.set(f,!0);else return;let b=!0;h.forEach(G=>{G||(b=!1)}),b&&(q?.(),I(l.current),i&&E?.(),s&&s())};return C.jsxRuntimeExports.jsx(Y,{isPresent:w,initial:!p.current||n?void 0:!1,custom:t,presenceAffectsLayout:c,mode:r,root:g,onExitComplete:w?void 0:v,anchorX:y,children:m},f)})})},B=o.createContext({strict:!1}),D={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},P={};for(const e in D)P[e]={isEnabled:t=>D[e].some(n=>!!t[n])};function M(e){for(const t in e)P[t]={...P[t],...e[t]}}function Z({children:e,features:t,strict:n=!1}){const[,s]=o.useState(!L(t)),c=o.useRef(void 0);if(!L(t)){const{renderer:r,...i}=t;c.current=r,M(i)}return o.useEffect(()=>{L(t)&&t().then(({renderer:r,...i})=>{M(i),c.current=r,s(!0)})},[]),C.jsxRuntimeExports.jsx(B.Provider,{value:{renderer:c.current,strict:n},children:e})}function L(e){return typeof e=="function"}exports.AnimatePresence=Q;exports.LayoutGroupContext=H;exports.LazyContext=B;exports.LazyMotion=Z;exports.MotionConfigContext=_;exports.PresenceContext=z;exports.featureDefinitions=P;exports.isBrowser=O;exports.isHTMLElement=F;exports.isObject=$;exports.loadFeatures=M;exports.useConstant=T;exports.useIsomorphicLayoutEffect=V;exports.usePresence=A;
|
|
10
|
+
//# sourceMappingURL=index-lrI_r1ww.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-lrI_r1ww.js","sources":["../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/utils/use-constant.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/utils/is-browser.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/context/PresenceContext.mjs","../../node_modules/.pnpm/motion-utils@12.23.6/node_modules/motion-utils/dist/es/is-object.mjs","../../node_modules/.pnpm/motion-dom@12.23.12/node_modules/motion-dom/dist/es/utils/is-html-element.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/context/LazyContext.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/motion/features/definitions.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/motion/features/load-features.mjs","../../node_modules/.pnpm/framer-motion@12.23.12_@emotion+is-prop-valid@1.2.2_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/framer-motion/dist/es/components/LazyMotion/index.mjs"],"sourcesContent":["\"use client\";\nimport { createContext } from 'react';\n\nconst LayoutGroupContext = createContext({});\n\nexport { LayoutGroupContext };\n","import { useRef } from 'react';\n\n/**\n * Creates a constant value over the lifecycle of a component.\n *\n * Even if `useMemo` is provided an empty array as its final argument, it doesn't offer\n * a guarantee that it won't re-run for performance reasons later on. By using `useConstant`\n * you can ensure that initialisers don't execute twice or more.\n */\nfunction useConstant(init) {\n const ref = useRef(null);\n if (ref.current === null) {\n ref.current = init();\n }\n return ref.current;\n}\n\nexport { useConstant };\n","const isBrowser = typeof window !== \"undefined\";\n\nexport { isBrowser };\n","import { useLayoutEffect, useEffect } from 'react';\nimport { isBrowser } from './is-browser.mjs';\n\nconst useIsomorphicLayoutEffect = isBrowser ? useLayoutEffect : useEffect;\n\nexport { useIsomorphicLayoutEffect };\n","\"use client\";\nimport { createContext } from 'react';\n\n/**\n * @public\n */\nconst PresenceContext = \n/* @__PURE__ */ createContext(null);\n\nexport { PresenceContext };\n","function isObject(value) {\n return typeof value === \"object\" && value !== null;\n}\n\nexport { isObject };\n","import { isObject } from 'motion-utils';\n\n/**\n * Checks if an element is an HTML element in a way\n * that works across iframes\n */\nfunction isHTMLElement(element) {\n return isObject(element) && \"offsetHeight\" in element;\n}\n\nexport { isHTMLElement };\n","\"use client\";\nimport { createContext } from 'react';\n\n/**\n * @public\n */\nconst MotionConfigContext = createContext({\n transformPagePoint: (p) => p,\n isStatic: false,\n reducedMotion: \"never\",\n});\n\nexport { MotionConfigContext };\n","\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { isHTMLElement } from 'motion-dom';\nimport * as React from 'react';\nimport { useId, useRef, useContext, useInsertionEffect } from 'react';\nimport { MotionConfigContext } from '../../context/MotionConfigContext.mjs';\n\n/**\n * Measurement functionality has to be within a separate component\n * to leverage snapshot lifecycle.\n */\nclass PopChildMeasure extends React.Component {\n getSnapshotBeforeUpdate(prevProps) {\n const element = this.props.childRef.current;\n if (element && prevProps.isPresent && !this.props.isPresent) {\n const parent = element.offsetParent;\n const parentWidth = isHTMLElement(parent)\n ? parent.offsetWidth || 0\n : 0;\n const size = this.props.sizeRef.current;\n size.height = element.offsetHeight || 0;\n size.width = element.offsetWidth || 0;\n size.top = element.offsetTop;\n size.left = element.offsetLeft;\n size.right = parentWidth - size.width - size.left;\n }\n return null;\n }\n /**\n * Required with getSnapshotBeforeUpdate to stop React complaining.\n */\n componentDidUpdate() { }\n render() {\n return this.props.children;\n }\n}\nfunction PopChild({ children, isPresent, anchorX, root }) {\n const id = useId();\n const ref = useRef(null);\n const size = useRef({\n width: 0,\n height: 0,\n top: 0,\n left: 0,\n right: 0,\n });\n const { nonce } = useContext(MotionConfigContext);\n /**\n * We create and inject a style block so we can apply this explicit\n * sizing in a non-destructive manner by just deleting the style block.\n *\n * We can't apply size via render as the measurement happens\n * in getSnapshotBeforeUpdate (post-render), likewise if we apply the\n * styles directly on the DOM node, we might be overwriting\n * styles set via the style prop.\n */\n useInsertionEffect(() => {\n const { width, height, top, left, right } = size.current;\n if (isPresent || !ref.current || !width || !height)\n return;\n const x = anchorX === \"left\" ? `left: ${left}` : `right: ${right}`;\n ref.current.dataset.motionPopId = id;\n const style = document.createElement(\"style\");\n if (nonce)\n style.nonce = nonce;\n const parent = root ?? document.head;\n parent.appendChild(style);\n if (style.sheet) {\n style.sheet.insertRule(`\n [data-motion-pop-id=\"${id}\"] {\n position: absolute !important;\n width: ${width}px !important;\n height: ${height}px !important;\n ${x}px !important;\n top: ${top}px !important;\n }\n `);\n }\n return () => {\n if (parent.contains(style)) {\n parent.removeChild(style);\n }\n };\n }, [isPresent]);\n return (jsx(PopChildMeasure, { isPresent: isPresent, childRef: ref, sizeRef: size, children: React.cloneElement(children, { ref }) }));\n}\n\nexport { PopChild };\n","\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport * as React from 'react';\nimport { useId, useMemo } from 'react';\nimport { PresenceContext } from '../../context/PresenceContext.mjs';\nimport { useConstant } from '../../utils/use-constant.mjs';\nimport { PopChild } from './PopChild.mjs';\n\nconst PresenceChild = ({ children, initial, isPresent, onExitComplete, custom, presenceAffectsLayout, mode, anchorX, root }) => {\n const presenceChildren = useConstant(newChildrenMap);\n const id = useId();\n let isReusedContext = true;\n let context = useMemo(() => {\n isReusedContext = false;\n return {\n id,\n initial,\n isPresent,\n custom,\n onExitComplete: (childId) => {\n presenceChildren.set(childId, true);\n for (const isComplete of presenceChildren.values()) {\n if (!isComplete)\n return; // can stop searching when any is incomplete\n }\n onExitComplete && onExitComplete();\n },\n register: (childId) => {\n presenceChildren.set(childId, false);\n return () => presenceChildren.delete(childId);\n },\n };\n }, [isPresent, presenceChildren, onExitComplete]);\n /**\n * If the presence of a child affects the layout of the components around it,\n * we want to make a new context value to ensure they get re-rendered\n * so they can detect that layout change.\n */\n if (presenceAffectsLayout && isReusedContext) {\n context = { ...context };\n }\n useMemo(() => {\n presenceChildren.forEach((_, key) => presenceChildren.set(key, false));\n }, [isPresent]);\n /**\n * If there's no `motion` components to fire exit animations, we want to remove this\n * component immediately.\n */\n React.useEffect(() => {\n !isPresent &&\n !presenceChildren.size &&\n onExitComplete &&\n onExitComplete();\n }, [isPresent]);\n if (mode === \"popLayout\") {\n children = (jsx(PopChild, { isPresent: isPresent, anchorX: anchorX, root: root, children: children }));\n }\n return (jsx(PresenceContext.Provider, { value: context, children: children }));\n};\nfunction newChildrenMap() {\n return new Map();\n}\n\nexport { PresenceChild };\n","import { useContext, useId, useEffect, useCallback } from 'react';\nimport { PresenceContext } from '../../context/PresenceContext.mjs';\n\n/**\n * When a component is the child of `AnimatePresence`, it can use `usePresence`\n * to access information about whether it's still present in the React tree.\n *\n * ```jsx\n * import { usePresence } from \"framer-motion\"\n *\n * export const Component = () => {\n * const [isPresent, safeToRemove] = usePresence()\n *\n * useEffect(() => {\n * !isPresent && setTimeout(safeToRemove, 1000)\n * }, [isPresent])\n *\n * return <div />\n * }\n * ```\n *\n * If `isPresent` is `false`, it means that a component has been removed the tree, but\n * `AnimatePresence` won't really remove it until `safeToRemove` has been called.\n *\n * @public\n */\nfunction usePresence(subscribe = true) {\n const context = useContext(PresenceContext);\n if (context === null)\n return [true, null];\n const { isPresent, onExitComplete, register } = context;\n // It's safe to call the following hooks conditionally (after an early return) because the context will always\n // either be null or non-null for the lifespan of the component.\n const id = useId();\n useEffect(() => {\n if (subscribe) {\n return register(id);\n }\n }, [subscribe]);\n const safeToRemove = useCallback(() => subscribe && onExitComplete && onExitComplete(id), [id, onExitComplete, subscribe]);\n return !isPresent && onExitComplete ? [false, safeToRemove] : [true];\n}\n/**\n * Similar to `usePresence`, except `useIsPresent` simply returns whether or not the component is present.\n * There is no `safeToRemove` function.\n *\n * ```jsx\n * import { useIsPresent } from \"framer-motion\"\n *\n * export const Component = () => {\n * const isPresent = useIsPresent()\n *\n * useEffect(() => {\n * !isPresent && console.log(\"I've been removed!\")\n * }, [isPresent])\n *\n * return <div />\n * }\n * ```\n *\n * @public\n */\nfunction useIsPresent() {\n return isPresent(useContext(PresenceContext));\n}\nfunction isPresent(context) {\n return context === null ? true : context.isPresent;\n}\n\nexport { isPresent, useIsPresent, usePresence };\n","import { Children, isValidElement } from 'react';\n\nconst getChildKey = (child) => child.key || \"\";\nfunction onlyElements(children) {\n const filtered = [];\n // We use forEach here instead of map as map mutates the component key by preprending `.$`\n Children.forEach(children, (child) => {\n if (isValidElement(child))\n filtered.push(child);\n });\n return filtered;\n}\n\nexport { getChildKey, onlyElements };\n","\"use client\";\nimport { jsx, Fragment } from 'react/jsx-runtime';\nimport { useMemo, useRef, useState, useContext } from 'react';\nimport { LayoutGroupContext } from '../../context/LayoutGroupContext.mjs';\nimport { useConstant } from '../../utils/use-constant.mjs';\nimport { useIsomorphicLayoutEffect } from '../../utils/use-isomorphic-effect.mjs';\nimport { PresenceChild } from './PresenceChild.mjs';\nimport { usePresence } from './use-presence.mjs';\nimport { onlyElements, getChildKey } from './utils.mjs';\n\n/**\n * `AnimatePresence` enables the animation of components that have been removed from the tree.\n *\n * When adding/removing more than a single child, every child **must** be given a unique `key` prop.\n *\n * Any `motion` components that have an `exit` property defined will animate out when removed from\n * the tree.\n *\n * ```jsx\n * import { motion, AnimatePresence } from 'framer-motion'\n *\n * export const Items = ({ items }) => (\n * <AnimatePresence>\n * {items.map(item => (\n * <motion.div\n * key={item.id}\n * initial={{ opacity: 0 }}\n * animate={{ opacity: 1 }}\n * exit={{ opacity: 0 }}\n * />\n * ))}\n * </AnimatePresence>\n * )\n * ```\n *\n * You can sequence exit animations throughout a tree using variants.\n *\n * If a child contains multiple `motion` components with `exit` props, it will only unmount the child\n * once all `motion` components have finished animating out. Likewise, any components using\n * `usePresence` all need to call `safeToRemove`.\n *\n * @public\n */\nconst AnimatePresence = ({ children, custom, initial = true, onExitComplete, presenceAffectsLayout = true, mode = \"sync\", propagate = false, anchorX = \"left\", root }) => {\n const [isParentPresent, safeToRemove] = usePresence(propagate);\n /**\n * Filter any children that aren't ReactElements. We can only track components\n * between renders with a props.key.\n */\n const presentChildren = useMemo(() => onlyElements(children), [children]);\n /**\n * Track the keys of the currently rendered children. This is used to\n * determine which children are exiting.\n */\n const presentKeys = propagate && !isParentPresent ? [] : presentChildren.map(getChildKey);\n /**\n * If `initial={false}` we only want to pass this to components in the first render.\n */\n const isInitialRender = useRef(true);\n /**\n * A ref containing the currently present children. When all exit animations\n * are complete, we use this to re-render the component with the latest children\n * *committed* rather than the latest children *rendered*.\n */\n const pendingPresentChildren = useRef(presentChildren);\n /**\n * Track which exiting children have finished animating out.\n */\n const exitComplete = useConstant(() => new Map());\n /**\n * Save children to render as React state. To ensure this component is concurrent-safe,\n * we check for exiting children via an effect.\n */\n const [diffedChildren, setDiffedChildren] = useState(presentChildren);\n const [renderedChildren, setRenderedChildren] = useState(presentChildren);\n useIsomorphicLayoutEffect(() => {\n isInitialRender.current = false;\n pendingPresentChildren.current = presentChildren;\n /**\n * Update complete status of exiting children.\n */\n for (let i = 0; i < renderedChildren.length; i++) {\n const key = getChildKey(renderedChildren[i]);\n if (!presentKeys.includes(key)) {\n if (exitComplete.get(key) !== true) {\n exitComplete.set(key, false);\n }\n }\n else {\n exitComplete.delete(key);\n }\n }\n }, [renderedChildren, presentKeys.length, presentKeys.join(\"-\")]);\n const exitingChildren = [];\n if (presentChildren !== diffedChildren) {\n let nextChildren = [...presentChildren];\n /**\n * Loop through all the currently rendered components and decide which\n * are exiting.\n */\n for (let i = 0; i < renderedChildren.length; i++) {\n const child = renderedChildren[i];\n const key = getChildKey(child);\n if (!presentKeys.includes(key)) {\n nextChildren.splice(i, 0, child);\n exitingChildren.push(child);\n }\n }\n /**\n * If we're in \"wait\" mode, and we have exiting children, we want to\n * only render these until they've all exited.\n */\n if (mode === \"wait\" && exitingChildren.length) {\n nextChildren = exitingChildren;\n }\n setRenderedChildren(onlyElements(nextChildren));\n setDiffedChildren(presentChildren);\n /**\n * Early return to ensure once we've set state with the latest diffed\n * children, we can immediately re-render.\n */\n return null;\n }\n if (process.env.NODE_ENV !== \"production\" &&\n mode === \"wait\" &&\n renderedChildren.length > 1) {\n console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to \"wait\". This will lead to odd visual behaviour.`);\n }\n /**\n * If we've been provided a forceRender function by the LayoutGroupContext,\n * we can use it to force a re-render amongst all surrounding components once\n * all components have finished animating out.\n */\n const { forceRender } = useContext(LayoutGroupContext);\n return (jsx(Fragment, { children: renderedChildren.map((child) => {\n const key = getChildKey(child);\n const isPresent = propagate && !isParentPresent\n ? false\n : presentChildren === renderedChildren ||\n presentKeys.includes(key);\n const onExit = () => {\n if (exitComplete.has(key)) {\n exitComplete.set(key, true);\n }\n else {\n return;\n }\n let isEveryExitComplete = true;\n exitComplete.forEach((isExitComplete) => {\n if (!isExitComplete)\n isEveryExitComplete = false;\n });\n if (isEveryExitComplete) {\n forceRender?.();\n setRenderedChildren(pendingPresentChildren.current);\n propagate && safeToRemove?.();\n onExitComplete && onExitComplete();\n }\n };\n return (jsx(PresenceChild, { isPresent: isPresent, initial: !isInitialRender.current || initial\n ? undefined\n : false, custom: custom, presenceAffectsLayout: presenceAffectsLayout, mode: mode, root: root, onExitComplete: isPresent ? undefined : onExit, anchorX: anchorX, children: child }, key));\n }) }));\n};\n\nexport { AnimatePresence };\n","\"use client\";\nimport { createContext } from 'react';\n\nconst LazyContext = createContext({ strict: false });\n\nexport { LazyContext };\n","const featureProps = {\n animation: [\n \"animate\",\n \"variants\",\n \"whileHover\",\n \"whileTap\",\n \"exit\",\n \"whileInView\",\n \"whileFocus\",\n \"whileDrag\",\n ],\n exit: [\"exit\"],\n drag: [\"drag\", \"dragControls\"],\n focus: [\"whileFocus\"],\n hover: [\"whileHover\", \"onHoverStart\", \"onHoverEnd\"],\n tap: [\"whileTap\", \"onTap\", \"onTapStart\", \"onTapCancel\"],\n pan: [\"onPan\", \"onPanStart\", \"onPanSessionStart\", \"onPanEnd\"],\n inView: [\"whileInView\", \"onViewportEnter\", \"onViewportLeave\"],\n layout: [\"layout\", \"layoutId\"],\n};\nconst featureDefinitions = {};\nfor (const key in featureProps) {\n featureDefinitions[key] = {\n isEnabled: (props) => featureProps[key].some((name) => !!props[name]),\n };\n}\n\nexport { featureDefinitions };\n","import { featureDefinitions } from './definitions.mjs';\n\nfunction loadFeatures(features) {\n for (const key in features) {\n featureDefinitions[key] = {\n ...featureDefinitions[key],\n ...features[key],\n };\n }\n}\n\nexport { loadFeatures };\n","\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { useState, useRef, useEffect } from 'react';\nimport { LazyContext } from '../../context/LazyContext.mjs';\nimport { loadFeatures } from '../../motion/features/load-features.mjs';\n\n/**\n * Used in conjunction with the `m` component to reduce bundle size.\n *\n * `m` is a version of the `motion` component that only loads functionality\n * critical for the initial render.\n *\n * `LazyMotion` can then be used to either synchronously or asynchronously\n * load animation and gesture support.\n *\n * ```jsx\n * // Synchronous loading\n * import { LazyMotion, m, domAnimation } from \"framer-motion\"\n *\n * function App() {\n * return (\n * <LazyMotion features={domAnimation}>\n * <m.div animate={{ scale: 2 }} />\n * </LazyMotion>\n * )\n * }\n *\n * // Asynchronous loading\n * import { LazyMotion, m } from \"framer-motion\"\n *\n * function App() {\n * return (\n * <LazyMotion features={() => import('./path/to/domAnimation')}>\n * <m.div animate={{ scale: 2 }} />\n * </LazyMotion>\n * )\n * }\n * ```\n *\n * @public\n */\nfunction LazyMotion({ children, features, strict = false }) {\n const [, setIsLoaded] = useState(!isLazyBundle(features));\n const loadedRenderer = useRef(undefined);\n /**\n * If this is a synchronous load, load features immediately\n */\n if (!isLazyBundle(features)) {\n const { renderer, ...loadedFeatures } = features;\n loadedRenderer.current = renderer;\n loadFeatures(loadedFeatures);\n }\n useEffect(() => {\n if (isLazyBundle(features)) {\n features().then(({ renderer, ...loadedFeatures }) => {\n loadFeatures(loadedFeatures);\n loadedRenderer.current = renderer;\n setIsLoaded(true);\n });\n }\n }, []);\n return (jsx(LazyContext.Provider, { value: { renderer: loadedRenderer.current, strict }, children: children }));\n}\nfunction isLazyBundle(features) {\n return typeof features === \"function\";\n}\n\nexport { LazyMotion };\n"],"names":["LayoutGroupContext","createContext","useConstant","init","ref","useRef","isBrowser","useIsomorphicLayoutEffect","useLayoutEffect","useEffect","PresenceContext","isObject","value","isHTMLElement","element","MotionConfigContext","p","PopChildMeasure","React","prevProps","parent","parentWidth","size","PopChild","children","isPresent","anchorX","root","id","useId","nonce","useContext","useInsertionEffect","width","height","top","left","right","x","style","jsx","PresenceChild","initial","onExitComplete","custom","presenceAffectsLayout","mode","presenceChildren","newChildrenMap","isReusedContext","context","useMemo","childId","isComplete","_","key","usePresence","subscribe","register","safeToRemove","useCallback","getChildKey","child","onlyElements","filtered","Children","isValidElement","AnimatePresence","propagate","isParentPresent","presentChildren","presentKeys","isInitialRender","pendingPresentChildren","exitComplete","diffedChildren","setDiffedChildren","useState","renderedChildren","setRenderedChildren","i","exitingChildren","nextChildren","forceRender","Fragment","onExit","isEveryExitComplete","isExitComplete","LazyContext","featureProps","featureDefinitions","props","name","loadFeatures","features","LazyMotion","strict","setIsLoaded","isLazyBundle","loadedRenderer","renderer","loadedFeatures"],"mappings":"uWAGMA,EAAqBC,EAAAA,cAAc,CAAA,CAAE,ECM3C,SAASC,EAAYC,EAAM,CACvB,MAAMC,EAAMC,EAAAA,OAAO,IAAI,EACvB,OAAID,EAAI,UAAY,OAChBA,EAAI,QAAUD,EAAI,GAEfC,EAAI,OACf,CCfK,MAACE,EAAY,OAAO,OAAW,ICG9BC,EAA4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GC,CAAc,IAAO,CACjDR,EAAaQ,CAAc,EAC3BF,EAAe,QAAUC,EACzBH,EAAY,EAAI,CACpB,CAAC,CAET,EAAG,CAAA,CAAE,EACGzD,EAAAA,kBAAAA,IAAIgD,EAAY,SAAU,CAAE,MAAO,CAAE,SAAUW,EAAe,QAAS,OAAAH,CAAM,EAAI,SAAUxE,CAAQ,CAAE,CACjH,CACA,SAAS0E,EAAaJ,EAAU,CAC5B,OAAO,OAAOA,GAAa,UAC/B","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const O=require("./clsx-C11secjj.js"),m=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,y=O.clsx,b=(e,l)=>n=>{var d;if(l?.variants==null)return y(e,n?.class,n?.className);const{variants:o,defaultVariants:s}=l,V=Object.keys(o).map(t=>{const a=n?.[t],u=s?.[t];if(a===null)return null;const i=m(a)||m(u);return o[t][i]}),v=n&&Object.entries(n).reduce((t,a)=>{let[u,i]=a;return i===void 0||(t[u]=i),t},{}),N=l==null||(d=l.compoundVariants)===null||d===void 0?void 0:d.reduce((t,a)=>{let{class:u,className:i,...C}=a;return Object.entries(C).every(f=>{let[c,r]=f;return Array.isArray(r)?r.includes({...s,...v}[c]):{...s,...v}[c]===r})?[...t,u,i]:t},[]);return y(e,V,N,n?.class,n?.className)};exports.cva=b;
|
|
2
|
+
//# sourceMappingURL=index-nwdlcB7h.js.map
|