@tarsis/toolkit 0.6.0 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{gl-DPeRBlfm.js → gl-CjbUMD81.js} +1 -1
- package/dist/{gl-DgFYXJsQ.cjs → gl-iTVe0k4w.cjs} +1 -1
- package/dist/{index-BfhFT1kB.js → index-CW3ku3DU.js} +1 -1
- package/dist/{index-C5pCwB7N.cjs → index-CstBFEdC.cjs} +1 -1
- package/dist/{index-ZUvQTjLa.cjs → index-DwAKA1Mc.cjs} +88 -79
- package/dist/{index-iVv-r1r7.js → index-bCrWVOOV.js} +88 -79
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/styles.css +2926 -1555
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as commonjsGlobal, a as getAugmentedNamespace, g as getDefaultExportFromCjs, W as WebGLRenderer, P as PerspectiveCamera, S as Scene, T as THREE$1, C as Clock, b as TextureLoader, R as RawShaderMaterial, D as DoubleSide, d as WebGLRenderTarget, e as Color, M as Mesh, f as TorusKnotGeometry, h as ShaderMaterial } from './index-
|
|
1
|
+
import { c as commonjsGlobal, a as getAugmentedNamespace, g as getDefaultExportFromCjs, W as WebGLRenderer, P as PerspectiveCamera, S as Scene, T as THREE$1, C as Clock, b as TextureLoader, R as RawShaderMaterial, D as DoubleSide, d as WebGLRenderTarget, e as Color, M as Mesh, f as TorusKnotGeometry, h as ShaderMaterial } from './index-bCrWVOOV.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
object-assign
|
|
@@ -52114,11 +52114,11 @@ const BubblyParticlesButton = () => {
|
|
|
52114
52114
|
return /* @__PURE__ */ jsxRuntime.jsx("button", { className: styles$4H.root, onClick: handleClick, children: "Click me!" });
|
|
52115
52115
|
};
|
|
52116
52116
|
|
|
52117
|
-
const root$4i = "
|
|
52118
|
-
const button$o = "
|
|
52119
|
-
const p$1 = "
|
|
52120
|
-
const text$z = "
|
|
52121
|
-
const effects = "
|
|
52117
|
+
const root$4i = "_root_a94p5_1";
|
|
52118
|
+
const button$o = "_button_a94p5_13";
|
|
52119
|
+
const p$1 = "_p_a94p5_26";
|
|
52120
|
+
const text$z = "_text_a94p5_26";
|
|
52121
|
+
const effects = "_effects_a94p5_240";
|
|
52122
52122
|
const styles$4G = {
|
|
52123
52123
|
root: root$4i,
|
|
52124
52124
|
button: button$o,
|
|
@@ -68248,9 +68248,9 @@ const NeonButton = ({ className = "", ...rest }) => {
|
|
|
68248
68248
|
return /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", ...rest, className: clsx(styles$48.root, className), children: "Neon" });
|
|
68249
68249
|
};
|
|
68250
68250
|
|
|
68251
|
-
const root$3P = "
|
|
68252
|
-
const i$6 = "
|
|
68253
|
-
const text$s = "
|
|
68251
|
+
const root$3P = "_root_zp9g3_2";
|
|
68252
|
+
const i$6 = "_i_zp9g3_22";
|
|
68253
|
+
const text$s = "_text_zp9g3_482";
|
|
68254
68254
|
const styles$47 = {
|
|
68255
68255
|
root: root$3P,
|
|
68256
68256
|
i: i$6,
|
|
@@ -74252,7 +74252,9 @@ const createAudio = (src) => {
|
|
|
74252
74252
|
return null;
|
|
74253
74253
|
}
|
|
74254
74254
|
try {
|
|
74255
|
-
|
|
74255
|
+
const audio = new Audio(src);
|
|
74256
|
+
audio.volume = 0.2;
|
|
74257
|
+
return audio;
|
|
74256
74258
|
} catch (error) {
|
|
74257
74259
|
console.warn("Audio is not supported or failed to create:", error);
|
|
74258
74260
|
return null;
|
|
@@ -74289,19 +74291,20 @@ const playAudio = (src, onError) => {
|
|
|
74289
74291
|
}
|
|
74290
74292
|
};
|
|
74291
74293
|
|
|
74292
|
-
const root$2H = "
|
|
74293
|
-
const container$9 = "
|
|
74294
|
-
const glossyXLine = "
|
|
74295
|
-
const items$e = "
|
|
74296
|
-
const child$1 = "
|
|
74297
|
-
const divider = "
|
|
74294
|
+
const root$2H = "_root_1o71g_1";
|
|
74295
|
+
const container$9 = "_container_1o71g_10";
|
|
74296
|
+
const glossyXLine = "_glossyXLine_1o71g_25";
|
|
74297
|
+
const items$e = "_items_1o71g_35";
|
|
74298
|
+
const child$1 = "_child_1o71g_73";
|
|
74299
|
+
const divider = "_divider_1o71g_79";
|
|
74298
74300
|
const styles$2U = {
|
|
74299
74301
|
root: root$2H,
|
|
74300
74302
|
container: container$9,
|
|
74301
74303
|
glossyXLine: glossyXLine,
|
|
74302
74304
|
items: items$e,
|
|
74303
74305
|
child: child$1,
|
|
74304
|
-
divider: divider
|
|
74306
|
+
divider: divider
|
|
74307
|
+
};
|
|
74305
74308
|
|
|
74306
74309
|
const DockMotionDivider = () => {
|
|
74307
74310
|
return /* @__PURE__ */ jsxRuntime.jsx("hr", { className: styles$2U.divider });
|
|
@@ -78509,18 +78512,30 @@ const Tooltip = ({
|
|
|
78509
78512
|
};
|
|
78510
78513
|
}, [isOpen, shouldReduceMotion]);
|
|
78511
78514
|
const tooltipContent = React.useMemo(() => {
|
|
78512
|
-
if (
|
|
78513
|
-
|
|
78515
|
+
if (shouldReduceMotion) {
|
|
78516
|
+
return isOpen ? /* @__PURE__ */ jsxRuntime.jsx(FloatingPortal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
78517
|
+
"div",
|
|
78518
|
+
{
|
|
78519
|
+
ref: refs.setFloating,
|
|
78520
|
+
style: {
|
|
78521
|
+
...floatingStyles,
|
|
78522
|
+
...!isPositioned ? { visibility: "hidden" } : {}
|
|
78523
|
+
},
|
|
78524
|
+
...getFloatingProps(),
|
|
78525
|
+
className: styles$2S.tooltip,
|
|
78526
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx(styles$2S.tooltipContent, className), children: label })
|
|
78527
|
+
},
|
|
78528
|
+
"tooltip"
|
|
78529
|
+
) }) : null;
|
|
78530
|
+
}
|
|
78531
|
+
const tooltipWrapper = isOpen ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
78514
78532
|
"div",
|
|
78515
78533
|
{
|
|
78516
78534
|
ref: refs.setFloating,
|
|
78517
|
-
style:
|
|
78518
|
-
...floatingStyles,
|
|
78519
|
-
...shouldReduceMotion && !isPositioned ? { visibility: "hidden" } : {}
|
|
78520
|
-
},
|
|
78535
|
+
style: floatingStyles,
|
|
78521
78536
|
...getFloatingProps(),
|
|
78522
78537
|
className: styles$2S.tooltip,
|
|
78523
|
-
children:
|
|
78538
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
78524
78539
|
motion.div,
|
|
78525
78540
|
{
|
|
78526
78541
|
className: clsx(styles$2S.tooltipContent, className),
|
|
@@ -78533,8 +78548,8 @@ const Tooltip = ({
|
|
|
78533
78548
|
)
|
|
78534
78549
|
},
|
|
78535
78550
|
"tooltip"
|
|
78536
|
-
);
|
|
78537
|
-
return /* @__PURE__ */ jsxRuntime.jsx(FloatingPortal, { children:
|
|
78551
|
+
) : null;
|
|
78552
|
+
return /* @__PURE__ */ jsxRuntime.jsx(FloatingPortal, { children: /* @__PURE__ */ jsxRuntime.jsx(AnimatePresence, { mode: "wait", children: tooltipWrapper }) });
|
|
78538
78553
|
}, [
|
|
78539
78554
|
isOpen,
|
|
78540
78555
|
shouldReduceMotion,
|
|
@@ -78774,7 +78789,7 @@ const DockMotionItem = (props) => {
|
|
|
78774
78789
|
mouseX,
|
|
78775
78790
|
tooltip = null,
|
|
78776
78791
|
tooltipOptions,
|
|
78777
|
-
interaction,
|
|
78792
|
+
interaction = "possible",
|
|
78778
78793
|
expansion,
|
|
78779
78794
|
mute = false,
|
|
78780
78795
|
className,
|
|
@@ -78829,55 +78844,49 @@ const DockMotionItem = (props) => {
|
|
|
78829
78844
|
unsubscribe();
|
|
78830
78845
|
};
|
|
78831
78846
|
}, [scale]);
|
|
78832
|
-
const playAudio$1 = React.useCallback(
|
|
78833
|
-
(
|
|
78834
|
-
|
|
78835
|
-
|
|
78847
|
+
const playAudio$1 = React.useCallback(() => {
|
|
78848
|
+
if (!isInteractive || mute) {
|
|
78849
|
+
return;
|
|
78850
|
+
}
|
|
78851
|
+
const audioSrc = interaction === "possible" ? "/audio/click.wav" : "/audio/hover.mp3";
|
|
78852
|
+
playAudio(audioSrc, (error) => {
|
|
78853
|
+
if (interaction === "impossible") {
|
|
78854
|
+
console.warn(`Failed to play ${audioSrc}:`, error);
|
|
78836
78855
|
}
|
|
78837
|
-
|
|
78838
|
-
|
|
78839
|
-
|
|
78840
|
-
|
|
78856
|
+
});
|
|
78857
|
+
}, [interaction, isInteractive, mute]);
|
|
78858
|
+
const playAnimation = React.useCallback(() => {
|
|
78859
|
+
if (prefersReducedMotion || !contentRef.current) {
|
|
78860
|
+
return;
|
|
78861
|
+
}
|
|
78862
|
+
if (interaction === "impossible") {
|
|
78863
|
+
animate(
|
|
78864
|
+
contentRef.current,
|
|
78865
|
+
{ x: [0, -3, 3, -3, 3, -2, 2, 0] },
|
|
78866
|
+
{
|
|
78867
|
+
duration: 0.5,
|
|
78868
|
+
ease: [0.33, 1, 0.68, 1]
|
|
78841
78869
|
}
|
|
78842
|
-
|
|
78843
|
-
}
|
|
78844
|
-
|
|
78845
|
-
|
|
78846
|
-
|
|
78847
|
-
|
|
78848
|
-
|
|
78849
|
-
|
|
78850
|
-
|
|
78851
|
-
if (interactionState === "impossible") {
|
|
78852
|
-
animate(
|
|
78870
|
+
);
|
|
78871
|
+
} else {
|
|
78872
|
+
animate([
|
|
78873
|
+
[
|
|
78874
|
+
contentRef.current,
|
|
78875
|
+
{ scale: 0.75 },
|
|
78876
|
+
{ duration: 0.15, ease: "easeOut" }
|
|
78877
|
+
],
|
|
78878
|
+
[
|
|
78853
78879
|
contentRef.current,
|
|
78854
|
-
{
|
|
78880
|
+
{ scale: 1 },
|
|
78855
78881
|
{
|
|
78856
|
-
|
|
78857
|
-
|
|
78882
|
+
type: "spring",
|
|
78883
|
+
stiffness: 300,
|
|
78884
|
+
damping: 25
|
|
78858
78885
|
}
|
|
78859
|
-
|
|
78860
|
-
|
|
78861
|
-
|
|
78862
|
-
|
|
78863
|
-
contentRef.current,
|
|
78864
|
-
{ scale: 0.75 },
|
|
78865
|
-
{ duration: 0.15, ease: "easeOut" }
|
|
78866
|
-
],
|
|
78867
|
-
[
|
|
78868
|
-
contentRef.current,
|
|
78869
|
-
{ scale: 1 },
|
|
78870
|
-
{
|
|
78871
|
-
type: "spring",
|
|
78872
|
-
stiffness: 300,
|
|
78873
|
-
damping: 25
|
|
78874
|
-
}
|
|
78875
|
-
]
|
|
78876
|
-
]);
|
|
78877
|
-
}
|
|
78878
|
-
},
|
|
78879
|
-
[prefersReducedMotion, animate]
|
|
78880
|
-
);
|
|
78886
|
+
]
|
|
78887
|
+
]);
|
|
78888
|
+
}
|
|
78889
|
+
}, [prefersReducedMotion, interaction, animate]);
|
|
78881
78890
|
useWindowReady.useRaf(
|
|
78882
78891
|
() => {
|
|
78883
78892
|
const el = scope.current;
|
|
@@ -78939,8 +78948,8 @@ const DockMotionItem = (props) => {
|
|
|
78939
78948
|
style: contentStyle,
|
|
78940
78949
|
"data-action": isInteractive,
|
|
78941
78950
|
onClick: async (event) => {
|
|
78942
|
-
playAudio$1(
|
|
78943
|
-
playAnimation(
|
|
78951
|
+
playAudio$1();
|
|
78952
|
+
playAnimation();
|
|
78944
78953
|
if (interaction === "possible") {
|
|
78945
78954
|
rest.onClick?.(event);
|
|
78946
78955
|
}
|
|
@@ -81121,7 +81130,7 @@ const EndlessLoader = ({ container }) => {
|
|
|
81121
81130
|
return;
|
|
81122
81131
|
}
|
|
81123
81132
|
try {
|
|
81124
|
-
const GLModule = await Promise.resolve().then(() => require('./gl-
|
|
81133
|
+
const GLModule = await Promise.resolve().then(() => require('./gl-iTVe0k4w.cjs'));
|
|
81125
81134
|
if (!isActiveRef.current) {
|
|
81126
81135
|
return;
|
|
81127
81136
|
}
|
|
@@ -87029,11 +87038,11 @@ const ScrambledText = ({ children, reveal = false }) => {
|
|
|
87029
87038
|
);
|
|
87030
87039
|
};
|
|
87031
87040
|
|
|
87032
|
-
const root$Y = "
|
|
87033
|
-
const line = "
|
|
87034
|
-
const word$1 = "
|
|
87035
|
-
const link = "
|
|
87036
|
-
const letter = "
|
|
87041
|
+
const root$Y = "_root_4ed72_1";
|
|
87042
|
+
const line = "_line_4ed72_9";
|
|
87043
|
+
const word$1 = "_word_4ed72_14";
|
|
87044
|
+
const link = "_link_4ed72_18";
|
|
87045
|
+
const letter = "_letter_4ed72_22";
|
|
87037
87046
|
const styles$11 = {
|
|
87038
87047
|
root: root$Y,
|
|
87039
87048
|
line: line,
|
|
@@ -96987,7 +96996,7 @@ const Lock = () => {
|
|
|
96987
96996
|
}
|
|
96988
96997
|
};
|
|
96989
96998
|
const asynchronously = async () => {
|
|
96990
|
-
const Flickity = await Promise.resolve().then(() => require('./index-
|
|
96999
|
+
const Flickity = await Promise.resolve().then(() => require('./index-CstBFEdC.cjs')).then(n => n.index).then((m) => m.default);
|
|
96991
97000
|
if (!rowsRef.current || !window) return;
|
|
96992
97001
|
const rows = rowsRef.current.children;
|
|
96993
97002
|
for (let i = 0, len = rows.length; i < len; i++) {
|
|
@@ -52094,11 +52094,11 @@ const BubblyParticlesButton = () => {
|
|
|
52094
52094
|
return /* @__PURE__ */ jsx("button", { className: styles$4H.root, onClick: handleClick, children: "Click me!" });
|
|
52095
52095
|
};
|
|
52096
52096
|
|
|
52097
|
-
const root$4i = "
|
|
52098
|
-
const button$o = "
|
|
52099
|
-
const p$1 = "
|
|
52100
|
-
const text$z = "
|
|
52101
|
-
const effects = "
|
|
52097
|
+
const root$4i = "_root_a94p5_1";
|
|
52098
|
+
const button$o = "_button_a94p5_13";
|
|
52099
|
+
const p$1 = "_p_a94p5_26";
|
|
52100
|
+
const text$z = "_text_a94p5_26";
|
|
52101
|
+
const effects = "_effects_a94p5_240";
|
|
52102
52102
|
const styles$4G = {
|
|
52103
52103
|
root: root$4i,
|
|
52104
52104
|
button: button$o,
|
|
@@ -68228,9 +68228,9 @@ const NeonButton = ({ className = "", ...rest }) => {
|
|
|
68228
68228
|
return /* @__PURE__ */ jsx("button", { type: "button", ...rest, className: clsx(styles$48.root, className), children: "Neon" });
|
|
68229
68229
|
};
|
|
68230
68230
|
|
|
68231
|
-
const root$3P = "
|
|
68232
|
-
const i$6 = "
|
|
68233
|
-
const text$s = "
|
|
68231
|
+
const root$3P = "_root_zp9g3_2";
|
|
68232
|
+
const i$6 = "_i_zp9g3_22";
|
|
68233
|
+
const text$s = "_text_zp9g3_482";
|
|
68234
68234
|
const styles$47 = {
|
|
68235
68235
|
root: root$3P,
|
|
68236
68236
|
i: i$6,
|
|
@@ -74232,7 +74232,9 @@ const createAudio = (src) => {
|
|
|
74232
74232
|
return null;
|
|
74233
74233
|
}
|
|
74234
74234
|
try {
|
|
74235
|
-
|
|
74235
|
+
const audio = new Audio(src);
|
|
74236
|
+
audio.volume = 0.2;
|
|
74237
|
+
return audio;
|
|
74236
74238
|
} catch (error) {
|
|
74237
74239
|
console.warn("Audio is not supported or failed to create:", error);
|
|
74238
74240
|
return null;
|
|
@@ -74269,19 +74271,20 @@ const playAudio = (src, onError) => {
|
|
|
74269
74271
|
}
|
|
74270
74272
|
};
|
|
74271
74273
|
|
|
74272
|
-
const root$2H = "
|
|
74273
|
-
const container$9 = "
|
|
74274
|
-
const glossyXLine = "
|
|
74275
|
-
const items$e = "
|
|
74276
|
-
const child$1 = "
|
|
74277
|
-
const divider = "
|
|
74274
|
+
const root$2H = "_root_1o71g_1";
|
|
74275
|
+
const container$9 = "_container_1o71g_10";
|
|
74276
|
+
const glossyXLine = "_glossyXLine_1o71g_25";
|
|
74277
|
+
const items$e = "_items_1o71g_35";
|
|
74278
|
+
const child$1 = "_child_1o71g_73";
|
|
74279
|
+
const divider = "_divider_1o71g_79";
|
|
74278
74280
|
const styles$2U = {
|
|
74279
74281
|
root: root$2H,
|
|
74280
74282
|
container: container$9,
|
|
74281
74283
|
glossyXLine: glossyXLine,
|
|
74282
74284
|
items: items$e,
|
|
74283
74285
|
child: child$1,
|
|
74284
|
-
divider: divider
|
|
74286
|
+
divider: divider
|
|
74287
|
+
};
|
|
74285
74288
|
|
|
74286
74289
|
const DockMotionDivider = () => {
|
|
74287
74290
|
return /* @__PURE__ */ jsx("hr", { className: styles$2U.divider });
|
|
@@ -78489,18 +78492,30 @@ const Tooltip = ({
|
|
|
78489
78492
|
};
|
|
78490
78493
|
}, [isOpen, shouldReduceMotion]);
|
|
78491
78494
|
const tooltipContent = useMemo(() => {
|
|
78492
|
-
if (
|
|
78493
|
-
|
|
78495
|
+
if (shouldReduceMotion) {
|
|
78496
|
+
return isOpen ? /* @__PURE__ */ jsx(FloatingPortal, { children: /* @__PURE__ */ jsx(
|
|
78497
|
+
"div",
|
|
78498
|
+
{
|
|
78499
|
+
ref: refs.setFloating,
|
|
78500
|
+
style: {
|
|
78501
|
+
...floatingStyles,
|
|
78502
|
+
...!isPositioned ? { visibility: "hidden" } : {}
|
|
78503
|
+
},
|
|
78504
|
+
...getFloatingProps(),
|
|
78505
|
+
className: styles$2S.tooltip,
|
|
78506
|
+
children: /* @__PURE__ */ jsx("div", { className: clsx(styles$2S.tooltipContent, className), children: label })
|
|
78507
|
+
},
|
|
78508
|
+
"tooltip"
|
|
78509
|
+
) }) : null;
|
|
78510
|
+
}
|
|
78511
|
+
const tooltipWrapper = isOpen ? /* @__PURE__ */ jsx(
|
|
78494
78512
|
"div",
|
|
78495
78513
|
{
|
|
78496
78514
|
ref: refs.setFloating,
|
|
78497
|
-
style:
|
|
78498
|
-
...floatingStyles,
|
|
78499
|
-
...shouldReduceMotion && !isPositioned ? { visibility: "hidden" } : {}
|
|
78500
|
-
},
|
|
78515
|
+
style: floatingStyles,
|
|
78501
78516
|
...getFloatingProps(),
|
|
78502
78517
|
className: styles$2S.tooltip,
|
|
78503
|
-
children:
|
|
78518
|
+
children: /* @__PURE__ */ jsx(
|
|
78504
78519
|
motion.div,
|
|
78505
78520
|
{
|
|
78506
78521
|
className: clsx(styles$2S.tooltipContent, className),
|
|
@@ -78513,8 +78528,8 @@ const Tooltip = ({
|
|
|
78513
78528
|
)
|
|
78514
78529
|
},
|
|
78515
78530
|
"tooltip"
|
|
78516
|
-
);
|
|
78517
|
-
return /* @__PURE__ */ jsx(FloatingPortal, { children:
|
|
78531
|
+
) : null;
|
|
78532
|
+
return /* @__PURE__ */ jsx(FloatingPortal, { children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", children: tooltipWrapper }) });
|
|
78518
78533
|
}, [
|
|
78519
78534
|
isOpen,
|
|
78520
78535
|
shouldReduceMotion,
|
|
@@ -78754,7 +78769,7 @@ const DockMotionItem = (props) => {
|
|
|
78754
78769
|
mouseX,
|
|
78755
78770
|
tooltip = null,
|
|
78756
78771
|
tooltipOptions,
|
|
78757
|
-
interaction,
|
|
78772
|
+
interaction = "possible",
|
|
78758
78773
|
expansion,
|
|
78759
78774
|
mute = false,
|
|
78760
78775
|
className,
|
|
@@ -78809,55 +78824,49 @@ const DockMotionItem = (props) => {
|
|
|
78809
78824
|
unsubscribe();
|
|
78810
78825
|
};
|
|
78811
78826
|
}, [scale]);
|
|
78812
|
-
const playAudio$1 = useCallback(
|
|
78813
|
-
(
|
|
78814
|
-
|
|
78815
|
-
|
|
78827
|
+
const playAudio$1 = useCallback(() => {
|
|
78828
|
+
if (!isInteractive || mute) {
|
|
78829
|
+
return;
|
|
78830
|
+
}
|
|
78831
|
+
const audioSrc = interaction === "possible" ? "/audio/click.wav" : "/audio/hover.mp3";
|
|
78832
|
+
playAudio(audioSrc, (error) => {
|
|
78833
|
+
if (interaction === "impossible") {
|
|
78834
|
+
console.warn(`Failed to play ${audioSrc}:`, error);
|
|
78816
78835
|
}
|
|
78817
|
-
|
|
78818
|
-
|
|
78819
|
-
|
|
78820
|
-
|
|
78836
|
+
});
|
|
78837
|
+
}, [interaction, isInteractive, mute]);
|
|
78838
|
+
const playAnimation = useCallback(() => {
|
|
78839
|
+
if (prefersReducedMotion || !contentRef.current) {
|
|
78840
|
+
return;
|
|
78841
|
+
}
|
|
78842
|
+
if (interaction === "impossible") {
|
|
78843
|
+
animate(
|
|
78844
|
+
contentRef.current,
|
|
78845
|
+
{ x: [0, -3, 3, -3, 3, -2, 2, 0] },
|
|
78846
|
+
{
|
|
78847
|
+
duration: 0.5,
|
|
78848
|
+
ease: [0.33, 1, 0.68, 1]
|
|
78821
78849
|
}
|
|
78822
|
-
|
|
78823
|
-
}
|
|
78824
|
-
|
|
78825
|
-
|
|
78826
|
-
|
|
78827
|
-
|
|
78828
|
-
|
|
78829
|
-
|
|
78830
|
-
|
|
78831
|
-
if (interactionState === "impossible") {
|
|
78832
|
-
animate(
|
|
78850
|
+
);
|
|
78851
|
+
} else {
|
|
78852
|
+
animate([
|
|
78853
|
+
[
|
|
78854
|
+
contentRef.current,
|
|
78855
|
+
{ scale: 0.75 },
|
|
78856
|
+
{ duration: 0.15, ease: "easeOut" }
|
|
78857
|
+
],
|
|
78858
|
+
[
|
|
78833
78859
|
contentRef.current,
|
|
78834
|
-
{
|
|
78860
|
+
{ scale: 1 },
|
|
78835
78861
|
{
|
|
78836
|
-
|
|
78837
|
-
|
|
78862
|
+
type: "spring",
|
|
78863
|
+
stiffness: 300,
|
|
78864
|
+
damping: 25
|
|
78838
78865
|
}
|
|
78839
|
-
|
|
78840
|
-
|
|
78841
|
-
|
|
78842
|
-
|
|
78843
|
-
contentRef.current,
|
|
78844
|
-
{ scale: 0.75 },
|
|
78845
|
-
{ duration: 0.15, ease: "easeOut" }
|
|
78846
|
-
],
|
|
78847
|
-
[
|
|
78848
|
-
contentRef.current,
|
|
78849
|
-
{ scale: 1 },
|
|
78850
|
-
{
|
|
78851
|
-
type: "spring",
|
|
78852
|
-
stiffness: 300,
|
|
78853
|
-
damping: 25
|
|
78854
|
-
}
|
|
78855
|
-
]
|
|
78856
|
-
]);
|
|
78857
|
-
}
|
|
78858
|
-
},
|
|
78859
|
-
[prefersReducedMotion, animate]
|
|
78860
|
-
);
|
|
78866
|
+
]
|
|
78867
|
+
]);
|
|
78868
|
+
}
|
|
78869
|
+
}, [prefersReducedMotion, interaction, animate]);
|
|
78861
78870
|
useRaf(
|
|
78862
78871
|
() => {
|
|
78863
78872
|
const el = scope.current;
|
|
@@ -78919,8 +78928,8 @@ const DockMotionItem = (props) => {
|
|
|
78919
78928
|
style: contentStyle,
|
|
78920
78929
|
"data-action": isInteractive,
|
|
78921
78930
|
onClick: async (event) => {
|
|
78922
|
-
playAudio$1(
|
|
78923
|
-
playAnimation(
|
|
78931
|
+
playAudio$1();
|
|
78932
|
+
playAnimation();
|
|
78924
78933
|
if (interaction === "possible") {
|
|
78925
78934
|
rest.onClick?.(event);
|
|
78926
78935
|
}
|
|
@@ -81101,7 +81110,7 @@ const EndlessLoader = ({ container }) => {
|
|
|
81101
81110
|
return;
|
|
81102
81111
|
}
|
|
81103
81112
|
try {
|
|
81104
|
-
const GLModule = await import('./gl-
|
|
81113
|
+
const GLModule = await import('./gl-CjbUMD81.js');
|
|
81105
81114
|
if (!isActiveRef.current) {
|
|
81106
81115
|
return;
|
|
81107
81116
|
}
|
|
@@ -87009,11 +87018,11 @@ const ScrambledText = ({ children, reveal = false }) => {
|
|
|
87009
87018
|
);
|
|
87010
87019
|
};
|
|
87011
87020
|
|
|
87012
|
-
const root$Y = "
|
|
87013
|
-
const line = "
|
|
87014
|
-
const word$1 = "
|
|
87015
|
-
const link = "
|
|
87016
|
-
const letter = "
|
|
87021
|
+
const root$Y = "_root_4ed72_1";
|
|
87022
|
+
const line = "_line_4ed72_9";
|
|
87023
|
+
const word$1 = "_word_4ed72_14";
|
|
87024
|
+
const link = "_link_4ed72_18";
|
|
87025
|
+
const letter = "_letter_4ed72_22";
|
|
87017
87026
|
const styles$11 = {
|
|
87018
87027
|
root: root$Y,
|
|
87019
87028
|
line: line,
|
|
@@ -96967,7 +96976,7 @@ const Lock = () => {
|
|
|
96967
96976
|
}
|
|
96968
96977
|
};
|
|
96969
96978
|
const asynchronously = async () => {
|
|
96970
|
-
const Flickity = await import('./index-
|
|
96979
|
+
const Flickity = await import('./index-CW3ku3DU.js').then(n => n.i).then((m) => m.default);
|
|
96971
96980
|
if (!rowsRef.current || !window) return;
|
|
96972
96981
|
const rows = rowsRef.current.children;
|
|
96973
96982
|
for (let i = 0, len = rows.length; i < len; i++) {
|
package/dist/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-DwAKA1Mc.cjs');
|
|
6
6
|
const useWindowReady = require('./useWindowReady-Il0Ibn7I.cjs');
|
|
7
7
|
const svg = require('./svg-BT_esDTZ.cjs');
|
|
8
8
|
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { bz as AccentShardCard, cX as AcrobaticPreloader, aw as ActivateButton, A as AdjoinedFilters, ax as AirplaneAnimation, cY as AlienSkeuomorphicLoaders, bA as AnimatedBlendedCard, cz as AnimatedHeroTitle, ay as AnimatedHoverButton, az as AnimatedHoverGlowButton, dp as AnimatedIconsNav, dq as AnimatedShareMenu, dN as ApertureVideo, p as Appearance, q as AreaLight, aA as AuroraButton, co as AutoMasonryGrid, r as AvatarHover, aq as BackgroundCircles, B as BackgroundSlider, ad as BlurVignette, s as BlurredBackground, cu as BoldHamburger, ae as BorderGradient, cP as BorderLink, t as BouncyClock, bB as BrandCard, u as BreakingProgress, aB as BubblyParticlesButton, bU as BulletsCarousel, aC as BurningButton, aD as ButtonHoverFill, aE as ButtonShimmer, aF as ButtonWithDot, cZ as CanOfDigits, bD as CaptionCard, bV as CardCarousel, v as CardDetails, bE as CardGlow, dm as CardMarquee, bF as CardTile, c_ as ChaseLoader, c3 as Checkbox, bG as ChequeredCard, c7 as Chips, w as ChromaticAberration, c$ as CircleDotsLoader, x as CircleLinesAnimation, cQ as CircleLink, af as CircleParticles, cc as CircleTextHover, aG as ClaymorphicHeart, cG as ClearInput, aH as ClickButtonParticles, cd as ClickSpark, y as CollapseAnimation, aI as ColorfulButtons, av as ComingSoonBadge, ar as ComplexGradient, aJ as ConfettiButton, cA as ContrastBackgroundText, ag as Counter, bW as CoverFlowGallery, dK as CronRedirectPage, d0 as CubeLoader, ds as CurtainRevealMenu, aL as DDDButton, bH as DDDHoverCard, dX as DDDRangeSlider, c9 as DailClock, aK as DarkMatterButton, ce as DarkMatterMouseEffect, d$ as DaySwitch, cp as DenseGrid, dt as DetachedMenu, ci as DialControl, cj as DialFuturistic, cl as Dock, aM as DockButton, cm as DockHas, cn as DockMotion, aN as DoubleArrowButton, aO as DoubleArrowCollabButton, aP as DoubleStateButton, du as DropdownMenu, j as Duck, aQ as DynamicIconButton, k as DynamicIsland, aR as EchoClickButton, cf as ElasticCursor, aS as ElectrifiedButton, aT as ElectrifiedButtonGS, cL as EmailInput, dL as EmojiLayer, d1 as EndlessLoader, e9 as EnlightenedText, bI as EnvelopeTile, ao as Expand, F as FadeUp, aU as FailedDownloadButton, d_ as FeedbackReactions, bC as FigmaLogo, z as FileIcons, l as Fingerprint, c8 as FlipChips, cH as FloatingLabelInput, cB as FluidGooeyTextBackground, aV as FootprintButton, cR as ForwardArrowLink, bX as FullScreenImageCarousel, dv as Futuristic3DHoverMenu, aW as GalaxyButton, bY as GalleryReverseScroll, cC as GlassIcon, e0 as GlassSwitch, bZ as GlideImageGallery, G as GlidingReveal, E as GlitterCard, aX as GlowButton, dY as GlowSlider, dw as GlowingDropdown, cI as GlowingInput, H as GlowingShadows, dx as GlowingTabs, dy as GlowingTabs2, ea as GlowingText, bJ as GlowingTile, aZ as GoHoverButton, aY as GodRaysButton, a_ as GooeyButton, I as GradientBorder, bK as GradientGlowingTile, eb as GrainyGradientText, a$ as GravityButton, cq as Grid3DCards, ap as GridAccordion, cr as GridHover, cs as GridViewTransition, cv as HamburgerMusic, cw as HamburgerX, cx as Header, b0 as HeartFoldButton, b1 as HoldSubmitButton, b2 as HoverGlowButton, bL as HoverTile, bM as Hoverable3DCard, dr as ITEMS, ah as Illumination, bN as ImageCard, J as ImageClipping, c4 as IndeterminateCheckboxes, d2 as InfiniteLoader, cJ as InputFirework, b3 as Ios15Button, e1 as IosSwitch, ec as JellyText, ai as LandingXYScroll, L as LayeredComponents, ct as LeaningCards, b_ as ListItemHover, d3 as LoaderGenerator, d4 as LoadingBook, d5 as LoadingWave, K as Lock, aa as LoveGlow, ch as MagicMouseEffect, ed as MagicalText, b4 as MagneticButton, dz as MagnifiedNavItems, ck as MetalCircleController, b5 as MinimalisticGlassButton, dA as MobileNavBar, b6 as MorphingSubmitButton, ca as MotionClock, O as MotionDigits, Q as MouseMoveGallery, U as MultiGradientBackground, b7 as MultiStageButton, V as MultipathSvgAnimation, N as NamedPointer, dB as NavigationMenu, b8 as NeonButton, e2 as NeonToggleSwitch, cb as NeumorphicAnalogClock, cD as NeumorphicLogo, dZ as NeumorphicSlider, e3 as NeuromorphicToggle, cM as NewsletterInput, b9 as NoisyButton, X as NotificationBell, d6 as OffTrackPreloader, ba as OrbitalSubmitButton, cS as PaintedLink, bb as PaperPlanButton, dM as ParallaxEmoji, dC as ParallaxMenu, cN as PasswordInput, bO as PhotoCard, Y as PhotoZoom, dD as PianoNav, d7 as PieLoader, dE as PinDropdown, bc as PlayPauseButton, bd as PlayPauseMusicButton, Z as PolaroidStack, be as PositionHover, bf as PredictionButton, bP as ProductTile, bQ as ProfileCard, bg as ProgressButton, bh as PsychedelicButton, d8 as PulseInLoader, d9 as PulseOutLoader, _ as QuickTimeClock, dF as RadialMenu, dG as RadialNavigation, dQ as RadioHopping, dP as RadioParticles, dO as RadioRolling, as as RaysBackground, $ as RealisticSmoke, cT as RegularLink, bi as RepostButton, a0 as RevealImageAnimation, aj as RhombusGallery, da as RingLoader, b$ as RotatedCardsCarousel, db as RoundScaleLoader, bj as RubberButton, bk as RunningButton, a1 as SchrodingerFormControls, ee as ScrambledText, ef as ScramblingLetters, dR as ScrollCountdown, dS as ScrollDrivenTextBlowOut, dU as ScrollTextHighlight, dV as ScrollTimeline, dW as ScrollWithLight, c0 as Scroller, dT as ScrollingTextReveal, cK as SearchInput, m as SegmentedControls, e4 as SegmentedToggle, c1 as ShadowedCardsList, cO as ShadowedClick, eg as ShakingText, cU as ShakyLine, n as ShapeSelection, bl as ShimmerButton, bm as ShimmeringBorderGradient, bR as ShineAnimation, bS as ShineCard, eh as ShiningText, bn as ShinyButton, dH as SinglePopoverMenu, dc as SkateboardPreloader, bo as SkeuomorphicLikeButton, a2 as SlideIn, bp as SlidingButton, cE as SlidingIcon, c2 as SlidingImages, bq as SlidingStepper, dd as SmileyPreloader, a3 as SmokeTextDisappearance, o as SmoothScroll, de as SnowballPreloader, a4 as SolarEclipse, br as SparkleButton, bs as SparklyButton, a5 as SpeechToText, df as SpinningClickAnimation, cg as SplashCursor, cF as SquircleAvatar, bt as SquishButton, bT as StackingCards, a6 as StaticSolarEclipse, cy as StickyHeader, a7 as StickyList, e5 as StretchToggle, dg as StretchyLoader, c5 as StrikethroughCheckbox, c6 as StrikethroughCheckboxes, dh as StuntPreloader, di as SubtleBorderAnimation, dj as SuccessLoader, bu as SuccessLoadingButton, dI as TabBarAnimation, ab as TextImageHover, ei as TextMorphing, ej as TextOutline, ek as TextShadow, at as Texture, ak as ThanosDisappearEffect, al as ThanosDisappearEffectList, bv as ThreadsLikeButton, dk as ThreeDotsLoader, bw as ThumbsUpButton, dn as Ticker, bx as TicklishButton, dl as TimeCirclesLoader, e6 as TippingSwitch, i as Toasts, e7 as ToggleBubble, e8 as ToggleClipPath, em as Tooltip, en as TooltipRangeSlider, a8 as TranslucentBackdrop, by as TrickButton, a9 as TurbulenceFilter, cV as UnderlinedLink, cW as UnderlinedLink2, am as ViewTransitionAddToCard, an as ViewTransitionImageGallery, ac as VoiceAnimation, dJ as WavyMenu, au as WebGLSmoke, el as WeightText } from './index-
|
|
1
|
+
export { bz as AccentShardCard, cX as AcrobaticPreloader, aw as ActivateButton, A as AdjoinedFilters, ax as AirplaneAnimation, cY as AlienSkeuomorphicLoaders, bA as AnimatedBlendedCard, cz as AnimatedHeroTitle, ay as AnimatedHoverButton, az as AnimatedHoverGlowButton, dp as AnimatedIconsNav, dq as AnimatedShareMenu, dN as ApertureVideo, p as Appearance, q as AreaLight, aA as AuroraButton, co as AutoMasonryGrid, r as AvatarHover, aq as BackgroundCircles, B as BackgroundSlider, ad as BlurVignette, s as BlurredBackground, cu as BoldHamburger, ae as BorderGradient, cP as BorderLink, t as BouncyClock, bB as BrandCard, u as BreakingProgress, aB as BubblyParticlesButton, bU as BulletsCarousel, aC as BurningButton, aD as ButtonHoverFill, aE as ButtonShimmer, aF as ButtonWithDot, cZ as CanOfDigits, bD as CaptionCard, bV as CardCarousel, v as CardDetails, bE as CardGlow, dm as CardMarquee, bF as CardTile, c_ as ChaseLoader, c3 as Checkbox, bG as ChequeredCard, c7 as Chips, w as ChromaticAberration, c$ as CircleDotsLoader, x as CircleLinesAnimation, cQ as CircleLink, af as CircleParticles, cc as CircleTextHover, aG as ClaymorphicHeart, cG as ClearInput, aH as ClickButtonParticles, cd as ClickSpark, y as CollapseAnimation, aI as ColorfulButtons, av as ComingSoonBadge, ar as ComplexGradient, aJ as ConfettiButton, cA as ContrastBackgroundText, ag as Counter, bW as CoverFlowGallery, dK as CronRedirectPage, d0 as CubeLoader, ds as CurtainRevealMenu, aL as DDDButton, bH as DDDHoverCard, dX as DDDRangeSlider, c9 as DailClock, aK as DarkMatterButton, ce as DarkMatterMouseEffect, d$ as DaySwitch, cp as DenseGrid, dt as DetachedMenu, ci as DialControl, cj as DialFuturistic, cl as Dock, aM as DockButton, cm as DockHas, cn as DockMotion, aN as DoubleArrowButton, aO as DoubleArrowCollabButton, aP as DoubleStateButton, du as DropdownMenu, j as Duck, aQ as DynamicIconButton, k as DynamicIsland, aR as EchoClickButton, cf as ElasticCursor, aS as ElectrifiedButton, aT as ElectrifiedButtonGS, cL as EmailInput, dL as EmojiLayer, d1 as EndlessLoader, e9 as EnlightenedText, bI as EnvelopeTile, ao as Expand, F as FadeUp, aU as FailedDownloadButton, d_ as FeedbackReactions, bC as FigmaLogo, z as FileIcons, l as Fingerprint, c8 as FlipChips, cH as FloatingLabelInput, cB as FluidGooeyTextBackground, aV as FootprintButton, cR as ForwardArrowLink, bX as FullScreenImageCarousel, dv as Futuristic3DHoverMenu, aW as GalaxyButton, bY as GalleryReverseScroll, cC as GlassIcon, e0 as GlassSwitch, bZ as GlideImageGallery, G as GlidingReveal, E as GlitterCard, aX as GlowButton, dY as GlowSlider, dw as GlowingDropdown, cI as GlowingInput, H as GlowingShadows, dx as GlowingTabs, dy as GlowingTabs2, ea as GlowingText, bJ as GlowingTile, aZ as GoHoverButton, aY as GodRaysButton, a_ as GooeyButton, I as GradientBorder, bK as GradientGlowingTile, eb as GrainyGradientText, a$ as GravityButton, cq as Grid3DCards, ap as GridAccordion, cr as GridHover, cs as GridViewTransition, cv as HamburgerMusic, cw as HamburgerX, cx as Header, b0 as HeartFoldButton, b1 as HoldSubmitButton, b2 as HoverGlowButton, bL as HoverTile, bM as Hoverable3DCard, dr as ITEMS, ah as Illumination, bN as ImageCard, J as ImageClipping, c4 as IndeterminateCheckboxes, d2 as InfiniteLoader, cJ as InputFirework, b3 as Ios15Button, e1 as IosSwitch, ec as JellyText, ai as LandingXYScroll, L as LayeredComponents, ct as LeaningCards, b_ as ListItemHover, d3 as LoaderGenerator, d4 as LoadingBook, d5 as LoadingWave, K as Lock, aa as LoveGlow, ch as MagicMouseEffect, ed as MagicalText, b4 as MagneticButton, dz as MagnifiedNavItems, ck as MetalCircleController, b5 as MinimalisticGlassButton, dA as MobileNavBar, b6 as MorphingSubmitButton, ca as MotionClock, O as MotionDigits, Q as MouseMoveGallery, U as MultiGradientBackground, b7 as MultiStageButton, V as MultipathSvgAnimation, N as NamedPointer, dB as NavigationMenu, b8 as NeonButton, e2 as NeonToggleSwitch, cb as NeumorphicAnalogClock, cD as NeumorphicLogo, dZ as NeumorphicSlider, e3 as NeuromorphicToggle, cM as NewsletterInput, b9 as NoisyButton, X as NotificationBell, d6 as OffTrackPreloader, ba as OrbitalSubmitButton, cS as PaintedLink, bb as PaperPlanButton, dM as ParallaxEmoji, dC as ParallaxMenu, cN as PasswordInput, bO as PhotoCard, Y as PhotoZoom, dD as PianoNav, d7 as PieLoader, dE as PinDropdown, bc as PlayPauseButton, bd as PlayPauseMusicButton, Z as PolaroidStack, be as PositionHover, bf as PredictionButton, bP as ProductTile, bQ as ProfileCard, bg as ProgressButton, bh as PsychedelicButton, d8 as PulseInLoader, d9 as PulseOutLoader, _ as QuickTimeClock, dF as RadialMenu, dG as RadialNavigation, dQ as RadioHopping, dP as RadioParticles, dO as RadioRolling, as as RaysBackground, $ as RealisticSmoke, cT as RegularLink, bi as RepostButton, a0 as RevealImageAnimation, aj as RhombusGallery, da as RingLoader, b$ as RotatedCardsCarousel, db as RoundScaleLoader, bj as RubberButton, bk as RunningButton, a1 as SchrodingerFormControls, ee as ScrambledText, ef as ScramblingLetters, dR as ScrollCountdown, dS as ScrollDrivenTextBlowOut, dU as ScrollTextHighlight, dV as ScrollTimeline, dW as ScrollWithLight, c0 as Scroller, dT as ScrollingTextReveal, cK as SearchInput, m as SegmentedControls, e4 as SegmentedToggle, c1 as ShadowedCardsList, cO as ShadowedClick, eg as ShakingText, cU as ShakyLine, n as ShapeSelection, bl as ShimmerButton, bm as ShimmeringBorderGradient, bR as ShineAnimation, bS as ShineCard, eh as ShiningText, bn as ShinyButton, dH as SinglePopoverMenu, dc as SkateboardPreloader, bo as SkeuomorphicLikeButton, a2 as SlideIn, bp as SlidingButton, cE as SlidingIcon, c2 as SlidingImages, bq as SlidingStepper, dd as SmileyPreloader, a3 as SmokeTextDisappearance, o as SmoothScroll, de as SnowballPreloader, a4 as SolarEclipse, br as SparkleButton, bs as SparklyButton, a5 as SpeechToText, df as SpinningClickAnimation, cg as SplashCursor, cF as SquircleAvatar, bt as SquishButton, bT as StackingCards, a6 as StaticSolarEclipse, cy as StickyHeader, a7 as StickyList, e5 as StretchToggle, dg as StretchyLoader, c5 as StrikethroughCheckbox, c6 as StrikethroughCheckboxes, dh as StuntPreloader, di as SubtleBorderAnimation, dj as SuccessLoader, bu as SuccessLoadingButton, dI as TabBarAnimation, ab as TextImageHover, ei as TextMorphing, ej as TextOutline, ek as TextShadow, at as Texture, ak as ThanosDisappearEffect, al as ThanosDisappearEffectList, bv as ThreadsLikeButton, dk as ThreeDotsLoader, bw as ThumbsUpButton, dn as Ticker, bx as TicklishButton, dl as TimeCirclesLoader, e6 as TippingSwitch, i as Toasts, e7 as ToggleBubble, e8 as ToggleClipPath, em as Tooltip, en as TooltipRangeSlider, a8 as TranslucentBackdrop, by as TrickButton, a9 as TurbulenceFilter, cV as UnderlinedLink, cW as UnderlinedLink2, am as ViewTransitionAddToCard, an as ViewTransitionImageGallery, ac as VoiceAnimation, dJ as WavyMenu, au as WebGLSmoke, el as WeightText } from './index-bCrWVOOV.js';
|
|
2
2
|
export { u as useAnimatedText, a as useBowser, b as useDebounce, d as useEffectEvent, e as useInterval, f as useLiveRef, g as useMatchMedia, h as useOklch, i as useOutsideClick, k as usePreviousRender, j as usePreviousState, l as useRaf, m as useThrottle, n as useTimeout, c as useUniversalLayoutEffect, o as useWindowReady } from './useWindowReady-DVV-s65K.js';
|
|
3
3
|
export { B as BaseLogger, e as animationLogger, g as apiLogger, w as chain, c as clearSession, d as componentLogger, A as delay, x as distance, f as eventLogger, j as getCurrentLogLevel, D as getPath, h as hookLogger, o as is, k as isDebugEnabled, p as isNonNullable, r as keys, z as lerp, y as lineEq, l as logger, m as move, n as noop, q as notReachable, s as setLogLevel, b as setRequestId, a as setSessionId, i as storageLogger, t as times, u as utilsLogger, v as values, C as wait } from './svg-CQLdTbLk.js';
|