@tarsis/toolkit 0.5.1 → 0.5.3
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-B5722hRa.js → gl-BE-pAc_o.js} +1 -1
- package/dist/{gl-Bw-y_sGO.cjs → gl-Cxodbc5S.cjs} +1 -1
- package/dist/hooks.cjs +1 -1
- package/dist/hooks.js +1 -1
- package/dist/{index-C4Yt_aL6.cjs → index-BH-WDme3.cjs} +889 -514
- package/dist/{index-COnXZQL9.cjs → index-C1HOJZOl.cjs} +1 -1
- package/dist/{index-CQ90hVPI.js → index-CBTCt41n.js} +881 -506
- package/dist/{index-BeKLV88y.js → index-DI2YEpFt.js} +1 -1
- package/dist/index.cjs +26 -27
- package/dist/index.js +3 -4
- package/dist/styles.css +491 -486
- package/dist/{server.cjs → svg-BT_esDTZ.cjs} +70 -1
- package/dist/{server.js → svg-CQLdTbLk.js} +65 -1
- package/dist/{useWindowReady-CIGrizO6.js → useWindowReady-DVV-s65K.js} +20 -6
- package/dist/{useWindowReady-CESjx5iD.cjs → useWindowReady-Il0Ibn7I.cjs} +22 -5
- package/dist/utils.cjs +24 -25
- package/dist/utils.js +1 -2
- package/package.json +4 -13
- package/dist/server.d.ts +0 -70
- package/dist/svg-Bi5ULzxB.cjs +0 -73
- package/dist/svg-CoSCBw2u.js +0 -65
|
@@ -1,133 +1,12 @@
|
|
|
1
|
-
import { p as isBrowser$1, q as isObject$3, r as resolveElements, s as interpolate$2, t as frame$2, v as isMotionValue, J as JSAnimation, w as
|
|
2
|
-
import {
|
|
1
|
+
import { p as isBrowser$1, q as isObject$3, r as resolveElements, s as interpolate$2, t as frame$2, v as isMotionValue, J as JSAnimation, M as MotionConfigContext, w as useConstant, x as featureDefinitions, y as isControllingVariants, z as isVariantLabel, A as isForcedMotionValue, B as buildHTMLStyles, C as buildSVGAttrs, D as isSVGTag, E as isVariantNode, F as isAnimationControls, G as resolveVariantFromProps, H as scrapeMotionValuesFromProps, I as scrapeMotionValuesFromProps$1, K as optimizedAppearDataAttribute, L as warning, N as invariant, O as warnOnce, S as SVGVisualElement, P as HTMLVisualElement, Q as resolveVariant, R as animateTarget, T as variantProps, U as isKeyframesTarget, V as variantPriorityOrder, W as mixNumber, X as frameData, Y as pipe$1, Z as cancelFrame, _ as secondsToMilliseconds, $ as millisecondsToSeconds, a0 as progress$2, a1 as clamp$3, a2 as createBox, a3 as measurePageBox, a4 as convertBoxToBoundingBox, a5 as convertBoundingBoxToBox, a6 as addValueToWillChange, a7 as animateMotionValue, a8 as percent, a9 as noop$4, aa as microtask, ab as addUniqueItem, ac as removeItem, ad as time$1, ae as px$2, af as circOut, ag as scalePoint, ah as SubscriptionManager, ai as isSVGElement$1, aj as isSVGSVGElement, ak as getValueTransition, al as frameSteps, am as hasTransform, an as translateAxis, ao as transformBox, ap as hasScale, aq as applyBoxDelta, ar as has2DTranslate, as as applyTreeDeltas, at as createDelta, au as motionValue, av as animateSingleValue, aw as scaleCorrectors, ax as getOptimisedAppearId, ay as useMotionValue, az as collectMotionValues, aA as hasReducedMotionListener, aB as initPrefersReducedMotion, aC as prefersReducedMotion, aD as createScopedAnimate, f as useLiveRef, m as useThrottle, g as useMatchMedia, l as useRaf, b as useDebounce, i as useOutsideClick, o as useWindowReady, e as useInterval, d as useEffectEvent$1, h as useOklch } from './useWindowReady-DVV-s65K.js';
|
|
2
|
+
import { n as noop$5, D as getPath, z as lerp$1, x as distance$2, y as lineEq, C as wait } from './svg-CQLdTbLk.js';
|
|
3
3
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
import React__default, { useRef, useEffect, useState, useMemo, createContext, useLayoutEffect,
|
|
5
|
+
import React__default, { useRef, useEffect, useState, useMemo, createContext, useLayoutEffect, useId as useId$1, useContext, useInsertionEffect as useInsertionEffect$1, useCallback, Children, isValidElement, Fragment as Fragment$1, createElement as createElement$1, forwardRef, Component, cloneElement } from 'react';
|
|
6
6
|
import * as ReactDOM from 'react-dom';
|
|
7
7
|
import ReactDOM__default, { unstable_batchedUpdates } from 'react-dom';
|
|
8
|
-
import { noop as noop$5 } from './server.js';
|
|
9
8
|
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
function getDefaultExportFromCjs (x) {
|
|
13
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
function getAugmentedNamespace(n) {
|
|
17
|
-
if (Object.prototype.hasOwnProperty.call(n, '__esModule')) return n;
|
|
18
|
-
var f = n.default;
|
|
19
|
-
if (typeof f == "function") {
|
|
20
|
-
var a = function a () {
|
|
21
|
-
var isInstance = false;
|
|
22
|
-
try {
|
|
23
|
-
isInstance = this instanceof a;
|
|
24
|
-
} catch {}
|
|
25
|
-
if (isInstance) {
|
|
26
|
-
return Reflect.construct(f, arguments, this.constructor);
|
|
27
|
-
}
|
|
28
|
-
return f.apply(this, arguments);
|
|
29
|
-
};
|
|
30
|
-
a.prototype = f.prototype;
|
|
31
|
-
} else a = {};
|
|
32
|
-
Object.defineProperty(a, '__esModule', {value: true});
|
|
33
|
-
Object.keys(n).forEach(function (k) {
|
|
34
|
-
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
35
|
-
Object.defineProperty(a, k, d.get ? d : {
|
|
36
|
-
enumerable: true,
|
|
37
|
-
get: function () {
|
|
38
|
-
return n[k];
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
});
|
|
42
|
-
return a;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
var classnames = {exports: {}};
|
|
46
|
-
|
|
47
|
-
/*!
|
|
48
|
-
Copyright (c) 2018 Jed Watson.
|
|
49
|
-
Licensed under the MIT License (MIT), see
|
|
50
|
-
http://jedwatson.github.io/classnames
|
|
51
|
-
*/
|
|
52
|
-
|
|
53
|
-
var hasRequiredClassnames;
|
|
54
|
-
|
|
55
|
-
function requireClassnames () {
|
|
56
|
-
if (hasRequiredClassnames) return classnames.exports;
|
|
57
|
-
hasRequiredClassnames = 1;
|
|
58
|
-
(function (module) {
|
|
59
|
-
/* global define */
|
|
60
|
-
|
|
61
|
-
(function () {
|
|
62
|
-
|
|
63
|
-
var hasOwn = {}.hasOwnProperty;
|
|
64
|
-
|
|
65
|
-
function classNames () {
|
|
66
|
-
var classes = '';
|
|
67
|
-
|
|
68
|
-
for (var i = 0; i < arguments.length; i++) {
|
|
69
|
-
var arg = arguments[i];
|
|
70
|
-
if (arg) {
|
|
71
|
-
classes = appendClass(classes, parseValue(arg));
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
return classes;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
function parseValue (arg) {
|
|
79
|
-
if (typeof arg === 'string' || typeof arg === 'number') {
|
|
80
|
-
return arg;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
if (typeof arg !== 'object') {
|
|
84
|
-
return '';
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
if (Array.isArray(arg)) {
|
|
88
|
-
return classNames.apply(null, arg);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
|
|
92
|
-
return arg.toString();
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
var classes = '';
|
|
96
|
-
|
|
97
|
-
for (var key in arg) {
|
|
98
|
-
if (hasOwn.call(arg, key) && arg[key]) {
|
|
99
|
-
classes = appendClass(classes, key);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
return classes;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
function appendClass (value, newClass) {
|
|
107
|
-
if (!newClass) {
|
|
108
|
-
return value;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
if (value) {
|
|
112
|
-
return value + ' ' + newClass;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
return value + newClass;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
if (module.exports) {
|
|
119
|
-
classNames.default = classNames;
|
|
120
|
-
module.exports = classNames;
|
|
121
|
-
} else {
|
|
122
|
-
window.classNames = classNames;
|
|
123
|
-
}
|
|
124
|
-
}());
|
|
125
|
-
} (classnames));
|
|
126
|
-
return classnames.exports;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
var classnamesExports = requireClassnames();
|
|
130
|
-
const cn = /*@__PURE__*/getDefaultExportFromCjs(classnamesExports);
|
|
9
|
+
function r$1(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r$1(e[t]))&&(n&&(n+=" "),n+=f);}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r$1(e))&&(n&&(n+=" "),n+=t);return n}
|
|
131
10
|
|
|
132
11
|
const root$4v = "_root_1k8u7_1";
|
|
133
12
|
const isExpanded = "_isExpanded_1k8u7_9";
|
|
@@ -153,7 +32,7 @@ const Expand = ({ isExpanded, children, className = "" }) => {
|
|
|
153
32
|
"div",
|
|
154
33
|
{
|
|
155
34
|
ref,
|
|
156
|
-
className:
|
|
35
|
+
className: clsx(styles$4T.root, className, {
|
|
157
36
|
[styles$4T.isExpanded]: isExpanded
|
|
158
37
|
}),
|
|
159
38
|
"aria-hidden": !isExpanded,
|
|
@@ -218,7 +97,7 @@ const GridAccordion = () => {
|
|
|
218
97
|
]
|
|
219
98
|
}
|
|
220
99
|
),
|
|
221
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
100
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$4S.content, { [styles$4S.expanded]: expanded }), children: /* @__PURE__ */ jsx("div", { className: styles$4S.textWrapper, children: /* @__PURE__ */ jsx("div", { className: styles$4S.text, children: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Nulla necessitatibus iusto laborum autem placeat aspernatur inventore eius deleniti reprehenderit? Numquam commodi totam mollitia quod iure quibusdam corrupti eos quos perspiciatis?" }) }) })
|
|
222
101
|
] });
|
|
223
102
|
};
|
|
224
103
|
|
|
@@ -234,7 +113,7 @@ const styles$4R = {
|
|
|
234
113
|
const BackgroundCircles = () => {
|
|
235
114
|
return /* @__PURE__ */ jsxs("div", { className: styles$4R.root, children: [
|
|
236
115
|
/* @__PURE__ */ jsx("circle", { className: styles$4R.circle }),
|
|
237
|
-
/* @__PURE__ */ jsx("circle", { className:
|
|
116
|
+
/* @__PURE__ */ jsx("circle", { className: clsx(styles$4R.circle, styles$4R.reverse) }),
|
|
238
117
|
/* @__PURE__ */ jsx("circle", { className: styles$4R.circle })
|
|
239
118
|
] });
|
|
240
119
|
};
|
|
@@ -268,7 +147,7 @@ const styles$4P = {
|
|
|
268
147
|
|
|
269
148
|
const RaysBackground = () => {
|
|
270
149
|
const [checked, setChecked] = useState(false);
|
|
271
|
-
return /* @__PURE__ */ jsxs("section", { className:
|
|
150
|
+
return /* @__PURE__ */ jsxs("section", { className: clsx(styles$4P.root, { [styles$4P.checked]: checked }), children: [
|
|
272
151
|
/* @__PURE__ */ jsx("div", { className: styles$4P.hero }),
|
|
273
152
|
/* @__PURE__ */ jsxs("div", { className: styles$4P.content, children: [
|
|
274
153
|
/* @__PURE__ */ jsx("h1", { className: styles$4P.h1ScalingSize, "data-text": "An awesome title", children: "An awesome title" }),
|
|
@@ -300,7 +179,7 @@ const Texture$1 = ({ className = "" }) => {
|
|
|
300
179
|
return /* @__PURE__ */ jsx(
|
|
301
180
|
"img",
|
|
302
181
|
{
|
|
303
|
-
className:
|
|
182
|
+
className: clsx(styles$4O.root, className),
|
|
304
183
|
src: textureImage,
|
|
305
184
|
alt: "",
|
|
306
185
|
"aria-hidden": true,
|
|
@@ -51874,7 +51753,7 @@ const ActivateButton = () => {
|
|
|
51874
51753
|
return /* @__PURE__ */ jsx("div", { className: styles$4M.root, children: /* @__PURE__ */ jsxs(
|
|
51875
51754
|
"button",
|
|
51876
51755
|
{
|
|
51877
|
-
className:
|
|
51756
|
+
className: clsx(styles$4M.btn, {
|
|
51878
51757
|
[styles$4M.activate]: state === "ACTIVATE" /* ACTIVATE */,
|
|
51879
51758
|
[styles$4M.waiting]: state === "ACTIVATING" /* ACTIVATING */,
|
|
51880
51759
|
[styles$4M.activated]: state === "ACTIVATED" /* ACTIVATED */
|
|
@@ -52058,7 +51937,7 @@ const AirplaneAnimation = () => {
|
|
|
52058
51937
|
"label",
|
|
52059
51938
|
{
|
|
52060
51939
|
ref: rootRef,
|
|
52061
|
-
className:
|
|
51940
|
+
className: clsx(styles$4L.root, { [styles$4L.indeterminate]: indeterminate }),
|
|
52062
51941
|
children: [
|
|
52063
51942
|
/* @__PURE__ */ jsx("input", { className: styles$4L.input, type: "checkbox", onChange: emitSmoke }),
|
|
52064
51943
|
/* @__PURE__ */ jsx("span", { className: styles$4L.sr, children: "Airplane Mode" }),
|
|
@@ -52090,7 +51969,7 @@ const AnimatedHoverButton = ({
|
|
|
52090
51969
|
className = "",
|
|
52091
51970
|
...rest
|
|
52092
51971
|
}) => {
|
|
52093
|
-
return /* @__PURE__ */ jsxs("button", { type: "button", ...rest, className:
|
|
51972
|
+
return /* @__PURE__ */ jsxs("button", { type: "button", ...rest, className: clsx(styles$4K.root, className), children: [
|
|
52094
51973
|
/* @__PURE__ */ jsx("div", { className: styles$4K.absolute }),
|
|
52095
51974
|
/* @__PURE__ */ jsx("div", { className: styles$4K.relative, children: /* @__PURE__ */ jsx("div", { className: styles$4K.content, children }) })
|
|
52096
51975
|
] });
|
|
@@ -52208,11 +52087,11 @@ const BubblyParticlesButton = () => {
|
|
|
52208
52087
|
);
|
|
52209
52088
|
};
|
|
52210
52089
|
|
|
52211
|
-
const root$4i = "
|
|
52212
|
-
const button$o = "
|
|
52213
|
-
const p$1 = "
|
|
52214
|
-
const text$z = "
|
|
52215
|
-
const effects = "
|
|
52090
|
+
const root$4i = "_root_yhweb_1";
|
|
52091
|
+
const button$o = "_button_yhweb_13";
|
|
52092
|
+
const p$1 = "_p_yhweb_26";
|
|
52093
|
+
const text$z = "_text_yhweb_26";
|
|
52094
|
+
const effects = "_effects_yhweb_240";
|
|
52216
52095
|
const styles$4G = {
|
|
52217
52096
|
root: root$4i,
|
|
52218
52097
|
button: button$o,
|
|
@@ -52262,7 +52141,7 @@ const ButtonHoverFill = () => {
|
|
|
52262
52141
|
return /* @__PURE__ */ jsxs(
|
|
52263
52142
|
"button",
|
|
52264
52143
|
{
|
|
52265
|
-
className:
|
|
52144
|
+
className: clsx(styles$4F.root, { [styles$4F.full]: isFull }),
|
|
52266
52145
|
onClick: () => setIsFull((state) => !state),
|
|
52267
52146
|
children: [
|
|
52268
52147
|
/* @__PURE__ */ jsx("span", { className: styles$4F.icon, children: /* @__PURE__ */ jsxs(
|
|
@@ -52321,7 +52200,7 @@ const styles$4D = {
|
|
|
52321
52200
|
};
|
|
52322
52201
|
|
|
52323
52202
|
const ButtonWithDot = () => {
|
|
52324
|
-
return /* @__PURE__ */ jsxs("button", { className:
|
|
52203
|
+
return /* @__PURE__ */ jsxs("button", { className: clsx(styles$4D.root, styles$4D.withDot), children: [
|
|
52325
52204
|
/* @__PURE__ */ jsx("span", { className: styles$4D.dot }),
|
|
52326
52205
|
/* @__PURE__ */ jsx("span", { className: styles$4D.text, children: "Dotted button" })
|
|
52327
52206
|
] });
|
|
@@ -58863,11 +58742,11 @@ const ColorfulButtons = () => {
|
|
|
58863
58742
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
58864
58743
|
/* @__PURE__ */ jsxs("div", { className: styles$4A.grid, children: [
|
|
58865
58744
|
/* @__PURE__ */ jsx("button", { className: styles$4A.button, children: /* @__PURE__ */ jsx(Wrapper, { title: "Primary" }) }),
|
|
58866
|
-
/* @__PURE__ */ jsx("button", { className:
|
|
58745
|
+
/* @__PURE__ */ jsx("button", { className: clsx(styles$4A.button, styles$4A.dark), children: /* @__PURE__ */ jsx(Wrapper, { title: "Dark" }) })
|
|
58867
58746
|
] }),
|
|
58868
58747
|
/* @__PURE__ */ jsxs("div", { className: "grid", children: [
|
|
58869
|
-
/* @__PURE__ */ jsx("button", { className:
|
|
58870
|
-
/* @__PURE__ */ jsx("button", { className:
|
|
58748
|
+
/* @__PURE__ */ jsx("button", { className: clsx(styles$4A.button, styles$4A.secondary), children: /* @__PURE__ */ jsx(Wrapper, { title: "Secondary" }) }),
|
|
58749
|
+
/* @__PURE__ */ jsx("button", { className: clsx(styles$4A.button, styles$4A.light), children: /* @__PURE__ */ jsx(Wrapper, { title: "Light" }) })
|
|
58871
58750
|
] })
|
|
58872
58751
|
] });
|
|
58873
58752
|
};
|
|
@@ -58878,7 +58757,7 @@ function Wrapper({ title }) {
|
|
|
58878
58757
|
() => Array.from({ length: 12 }, (_, i) => /* @__PURE__ */ jsx(
|
|
58879
58758
|
"div",
|
|
58880
58759
|
{
|
|
58881
|
-
className:
|
|
58760
|
+
className: clsx(styles$4A.circle, styles$4A[`circle${i + 1}`])
|
|
58882
58761
|
},
|
|
58883
58762
|
i
|
|
58884
58763
|
)).reverse(),
|
|
@@ -60107,6 +59986,205 @@ function asNumber$1(v) {
|
|
|
60107
59986
|
return typeof v === "number" ? v : parseFloat(v);
|
|
60108
59987
|
}
|
|
60109
59988
|
|
|
59989
|
+
/**
|
|
59990
|
+
* Taken from https://github.com/radix-ui/primitives/blob/main/packages/react/compose-refs/src/compose-refs.tsx
|
|
59991
|
+
*/
|
|
59992
|
+
/**
|
|
59993
|
+
* Set a given ref to a given value
|
|
59994
|
+
* This utility takes care of different types of refs: callback refs and RefObject(s)
|
|
59995
|
+
*/
|
|
59996
|
+
function setRef(ref, value) {
|
|
59997
|
+
if (typeof ref === "function") {
|
|
59998
|
+
return ref(value);
|
|
59999
|
+
}
|
|
60000
|
+
else if (ref !== null && ref !== undefined) {
|
|
60001
|
+
ref.current = value;
|
|
60002
|
+
}
|
|
60003
|
+
}
|
|
60004
|
+
/**
|
|
60005
|
+
* A utility to compose multiple refs together
|
|
60006
|
+
* Accepts callback refs and RefObject(s)
|
|
60007
|
+
*/
|
|
60008
|
+
function composeRefs(...refs) {
|
|
60009
|
+
return (node) => {
|
|
60010
|
+
let hasCleanup = false;
|
|
60011
|
+
const cleanups = refs.map((ref) => {
|
|
60012
|
+
const cleanup = setRef(ref, node);
|
|
60013
|
+
if (!hasCleanup && typeof cleanup === "function") {
|
|
60014
|
+
hasCleanup = true;
|
|
60015
|
+
}
|
|
60016
|
+
return cleanup;
|
|
60017
|
+
});
|
|
60018
|
+
// React <19 will log an error to the console if a callback ref returns a
|
|
60019
|
+
// value. We don't use ref cleanups internally so this will only happen if a
|
|
60020
|
+
// user's ref callback returns a value, which we only expect if they are
|
|
60021
|
+
// using the cleanup functionality added in React 19.
|
|
60022
|
+
if (hasCleanup) {
|
|
60023
|
+
return () => {
|
|
60024
|
+
for (let i = 0; i < cleanups.length; i++) {
|
|
60025
|
+
const cleanup = cleanups[i];
|
|
60026
|
+
if (typeof cleanup === "function") {
|
|
60027
|
+
cleanup();
|
|
60028
|
+
}
|
|
60029
|
+
else {
|
|
60030
|
+
setRef(refs[i], null);
|
|
60031
|
+
}
|
|
60032
|
+
}
|
|
60033
|
+
};
|
|
60034
|
+
}
|
|
60035
|
+
};
|
|
60036
|
+
}
|
|
60037
|
+
/**
|
|
60038
|
+
* A custom hook that composes multiple refs
|
|
60039
|
+
* Accepts callback refs and RefObject(s)
|
|
60040
|
+
*/
|
|
60041
|
+
function useComposedRefs(...refs) {
|
|
60042
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
60043
|
+
return React.useCallback(composeRefs(...refs), refs);
|
|
60044
|
+
}
|
|
60045
|
+
|
|
60046
|
+
/**
|
|
60047
|
+
* Measurement functionality has to be within a separate component
|
|
60048
|
+
* to leverage snapshot lifecycle.
|
|
60049
|
+
*/
|
|
60050
|
+
class PopChildMeasure extends React.Component {
|
|
60051
|
+
getSnapshotBeforeUpdate(prevProps) {
|
|
60052
|
+
const element = this.props.childRef.current;
|
|
60053
|
+
if (element && prevProps.isPresent && !this.props.isPresent) {
|
|
60054
|
+
const parent = element.offsetParent;
|
|
60055
|
+
const parentWidth = isHTMLElement$2(parent)
|
|
60056
|
+
? parent.offsetWidth || 0
|
|
60057
|
+
: 0;
|
|
60058
|
+
const size = this.props.sizeRef.current;
|
|
60059
|
+
size.height = element.offsetHeight || 0;
|
|
60060
|
+
size.width = element.offsetWidth || 0;
|
|
60061
|
+
size.top = element.offsetTop;
|
|
60062
|
+
size.left = element.offsetLeft;
|
|
60063
|
+
size.right = parentWidth - size.width - size.left;
|
|
60064
|
+
}
|
|
60065
|
+
return null;
|
|
60066
|
+
}
|
|
60067
|
+
/**
|
|
60068
|
+
* Required with getSnapshotBeforeUpdate to stop React complaining.
|
|
60069
|
+
*/
|
|
60070
|
+
componentDidUpdate() { }
|
|
60071
|
+
render() {
|
|
60072
|
+
return this.props.children;
|
|
60073
|
+
}
|
|
60074
|
+
}
|
|
60075
|
+
function PopChild({ children, isPresent, anchorX, root }) {
|
|
60076
|
+
const id = useId$1();
|
|
60077
|
+
const ref = useRef(null);
|
|
60078
|
+
const size = useRef({
|
|
60079
|
+
width: 0,
|
|
60080
|
+
height: 0,
|
|
60081
|
+
top: 0,
|
|
60082
|
+
left: 0,
|
|
60083
|
+
right: 0,
|
|
60084
|
+
});
|
|
60085
|
+
const { nonce } = useContext(MotionConfigContext);
|
|
60086
|
+
/**
|
|
60087
|
+
* In React 19, refs are passed via props.ref instead of element.ref.
|
|
60088
|
+
* We check props.ref first (React 19) and fall back to element.ref (React 18).
|
|
60089
|
+
*/
|
|
60090
|
+
const childRef = children.props?.ref ??
|
|
60091
|
+
children?.ref;
|
|
60092
|
+
const composedRef = useComposedRefs(ref, childRef);
|
|
60093
|
+
/**
|
|
60094
|
+
* We create and inject a style block so we can apply this explicit
|
|
60095
|
+
* sizing in a non-destructive manner by just deleting the style block.
|
|
60096
|
+
*
|
|
60097
|
+
* We can't apply size via render as the measurement happens
|
|
60098
|
+
* in getSnapshotBeforeUpdate (post-render), likewise if we apply the
|
|
60099
|
+
* styles directly on the DOM node, we might be overwriting
|
|
60100
|
+
* styles set via the style prop.
|
|
60101
|
+
*/
|
|
60102
|
+
useInsertionEffect$1(() => {
|
|
60103
|
+
const { width, height, top, left, right } = size.current;
|
|
60104
|
+
if (isPresent || !ref.current || !width || !height)
|
|
60105
|
+
return;
|
|
60106
|
+
const x = anchorX === "left" ? `left: ${left}` : `right: ${right}`;
|
|
60107
|
+
ref.current.dataset.motionPopId = id;
|
|
60108
|
+
const style = document.createElement("style");
|
|
60109
|
+
if (nonce)
|
|
60110
|
+
style.nonce = nonce;
|
|
60111
|
+
const parent = root ?? document.head;
|
|
60112
|
+
parent.appendChild(style);
|
|
60113
|
+
if (style.sheet) {
|
|
60114
|
+
style.sheet.insertRule(`
|
|
60115
|
+
[data-motion-pop-id="${id}"] {
|
|
60116
|
+
position: absolute !important;
|
|
60117
|
+
width: ${width}px !important;
|
|
60118
|
+
height: ${height}px !important;
|
|
60119
|
+
${x}px !important;
|
|
60120
|
+
top: ${top}px !important;
|
|
60121
|
+
}
|
|
60122
|
+
`);
|
|
60123
|
+
}
|
|
60124
|
+
return () => {
|
|
60125
|
+
if (parent.contains(style)) {
|
|
60126
|
+
parent.removeChild(style);
|
|
60127
|
+
}
|
|
60128
|
+
};
|
|
60129
|
+
}, [isPresent]);
|
|
60130
|
+
return (jsx(PopChildMeasure, { isPresent: isPresent, childRef: ref, sizeRef: size, children: React.cloneElement(children, { ref: composedRef }) }));
|
|
60131
|
+
}
|
|
60132
|
+
|
|
60133
|
+
const PresenceChild = ({ children, initial, isPresent, onExitComplete, custom, presenceAffectsLayout, mode, anchorX, root }) => {
|
|
60134
|
+
const presenceChildren = useConstant(newChildrenMap);
|
|
60135
|
+
const id = useId$1();
|
|
60136
|
+
let isReusedContext = true;
|
|
60137
|
+
let context = useMemo(() => {
|
|
60138
|
+
isReusedContext = false;
|
|
60139
|
+
return {
|
|
60140
|
+
id,
|
|
60141
|
+
initial,
|
|
60142
|
+
isPresent,
|
|
60143
|
+
custom,
|
|
60144
|
+
onExitComplete: (childId) => {
|
|
60145
|
+
presenceChildren.set(childId, true);
|
|
60146
|
+
for (const isComplete of presenceChildren.values()) {
|
|
60147
|
+
if (!isComplete)
|
|
60148
|
+
return; // can stop searching when any is incomplete
|
|
60149
|
+
}
|
|
60150
|
+
onExitComplete && onExitComplete();
|
|
60151
|
+
},
|
|
60152
|
+
register: (childId) => {
|
|
60153
|
+
presenceChildren.set(childId, false);
|
|
60154
|
+
return () => presenceChildren.delete(childId);
|
|
60155
|
+
},
|
|
60156
|
+
};
|
|
60157
|
+
}, [isPresent, presenceChildren, onExitComplete]);
|
|
60158
|
+
/**
|
|
60159
|
+
* If the presence of a child affects the layout of the components around it,
|
|
60160
|
+
* we want to make a new context value to ensure they get re-rendered
|
|
60161
|
+
* so they can detect that layout change.
|
|
60162
|
+
*/
|
|
60163
|
+
if (presenceAffectsLayout && isReusedContext) {
|
|
60164
|
+
context = { ...context };
|
|
60165
|
+
}
|
|
60166
|
+
useMemo(() => {
|
|
60167
|
+
presenceChildren.forEach((_, key) => presenceChildren.set(key, false));
|
|
60168
|
+
}, [isPresent]);
|
|
60169
|
+
/**
|
|
60170
|
+
* If there's no `motion` components to fire exit animations, we want to remove this
|
|
60171
|
+
* component immediately.
|
|
60172
|
+
*/
|
|
60173
|
+
React.useEffect(() => {
|
|
60174
|
+
!isPresent &&
|
|
60175
|
+
!presenceChildren.size &&
|
|
60176
|
+
onExitComplete &&
|
|
60177
|
+
onExitComplete();
|
|
60178
|
+
}, [isPresent]);
|
|
60179
|
+
if (mode === "popLayout") {
|
|
60180
|
+
children = (jsx(PopChild, { isPresent: isPresent, anchorX: anchorX, root: root, children: children }));
|
|
60181
|
+
}
|
|
60182
|
+
return (jsx(PresenceContext.Provider, { value: context, children: children }));
|
|
60183
|
+
};
|
|
60184
|
+
function newChildrenMap() {
|
|
60185
|
+
return new Map();
|
|
60186
|
+
}
|
|
60187
|
+
|
|
60110
60188
|
/**
|
|
60111
60189
|
* When a component is the child of `AnimatePresence`, it can use `usePresence`
|
|
60112
60190
|
* to access information about whether it's still present in the React tree.
|
|
@@ -60147,6 +60225,181 @@ function usePresence(subscribe = true) {
|
|
|
60147
60225
|
return !isPresent && onExitComplete ? [false, safeToRemove] : [true];
|
|
60148
60226
|
}
|
|
60149
60227
|
|
|
60228
|
+
const getChildKey = (child) => child.key || "";
|
|
60229
|
+
function onlyElements(children) {
|
|
60230
|
+
const filtered = [];
|
|
60231
|
+
// We use forEach here instead of map as map mutates the component key by preprending `.$`
|
|
60232
|
+
Children.forEach(children, (child) => {
|
|
60233
|
+
if (isValidElement(child))
|
|
60234
|
+
filtered.push(child);
|
|
60235
|
+
});
|
|
60236
|
+
return filtered;
|
|
60237
|
+
}
|
|
60238
|
+
|
|
60239
|
+
/**
|
|
60240
|
+
* `AnimatePresence` enables the animation of components that have been removed from the tree.
|
|
60241
|
+
*
|
|
60242
|
+
* When adding/removing more than a single child, every child **must** be given a unique `key` prop.
|
|
60243
|
+
*
|
|
60244
|
+
* Any `motion` components that have an `exit` property defined will animate out when removed from
|
|
60245
|
+
* the tree.
|
|
60246
|
+
*
|
|
60247
|
+
* ```jsx
|
|
60248
|
+
* import { motion, AnimatePresence } from 'framer-motion'
|
|
60249
|
+
*
|
|
60250
|
+
* export const Items = ({ items }) => (
|
|
60251
|
+
* <AnimatePresence>
|
|
60252
|
+
* {items.map(item => (
|
|
60253
|
+
* <motion.div
|
|
60254
|
+
* key={item.id}
|
|
60255
|
+
* initial={{ opacity: 0 }}
|
|
60256
|
+
* animate={{ opacity: 1 }}
|
|
60257
|
+
* exit={{ opacity: 0 }}
|
|
60258
|
+
* />
|
|
60259
|
+
* ))}
|
|
60260
|
+
* </AnimatePresence>
|
|
60261
|
+
* )
|
|
60262
|
+
* ```
|
|
60263
|
+
*
|
|
60264
|
+
* You can sequence exit animations throughout a tree using variants.
|
|
60265
|
+
*
|
|
60266
|
+
* If a child contains multiple `motion` components with `exit` props, it will only unmount the child
|
|
60267
|
+
* once all `motion` components have finished animating out. Likewise, any components using
|
|
60268
|
+
* `usePresence` all need to call `safeToRemove`.
|
|
60269
|
+
*
|
|
60270
|
+
* @public
|
|
60271
|
+
*/
|
|
60272
|
+
const AnimatePresence = ({ children, custom, initial = true, onExitComplete, presenceAffectsLayout = true, mode = "sync", propagate = false, anchorX = "left", root }) => {
|
|
60273
|
+
const [isParentPresent, safeToRemove] = usePresence(propagate);
|
|
60274
|
+
/**
|
|
60275
|
+
* Filter any children that aren't ReactElements. We can only track components
|
|
60276
|
+
* between renders with a props.key.
|
|
60277
|
+
*/
|
|
60278
|
+
const presentChildren = useMemo(() => onlyElements(children), [children]);
|
|
60279
|
+
/**
|
|
60280
|
+
* Track the keys of the currently rendered children. This is used to
|
|
60281
|
+
* determine which children are exiting.
|
|
60282
|
+
*/
|
|
60283
|
+
const presentKeys = propagate && !isParentPresent ? [] : presentChildren.map(getChildKey);
|
|
60284
|
+
/**
|
|
60285
|
+
* If `initial={false}` we only want to pass this to components in the first render.
|
|
60286
|
+
*/
|
|
60287
|
+
const isInitialRender = useRef(true);
|
|
60288
|
+
/**
|
|
60289
|
+
* A ref containing the currently present children. When all exit animations
|
|
60290
|
+
* are complete, we use this to re-render the component with the latest children
|
|
60291
|
+
* *committed* rather than the latest children *rendered*.
|
|
60292
|
+
*/
|
|
60293
|
+
const pendingPresentChildren = useRef(presentChildren);
|
|
60294
|
+
/**
|
|
60295
|
+
* Track which exiting children have finished animating out.
|
|
60296
|
+
*/
|
|
60297
|
+
const exitComplete = useConstant(() => new Map());
|
|
60298
|
+
/**
|
|
60299
|
+
* Track which components are currently processing exit to prevent duplicate processing.
|
|
60300
|
+
*/
|
|
60301
|
+
const exitingComponents = useRef(new Set());
|
|
60302
|
+
/**
|
|
60303
|
+
* Save children to render as React state. To ensure this component is concurrent-safe,
|
|
60304
|
+
* we check for exiting children via an effect.
|
|
60305
|
+
*/
|
|
60306
|
+
const [diffedChildren, setDiffedChildren] = useState(presentChildren);
|
|
60307
|
+
const [renderedChildren, setRenderedChildren] = useState(presentChildren);
|
|
60308
|
+
useIsomorphicLayoutEffect$2(() => {
|
|
60309
|
+
isInitialRender.current = false;
|
|
60310
|
+
pendingPresentChildren.current = presentChildren;
|
|
60311
|
+
/**
|
|
60312
|
+
* Update complete status of exiting children.
|
|
60313
|
+
*/
|
|
60314
|
+
for (let i = 0; i < renderedChildren.length; i++) {
|
|
60315
|
+
const key = getChildKey(renderedChildren[i]);
|
|
60316
|
+
if (!presentKeys.includes(key)) {
|
|
60317
|
+
if (exitComplete.get(key) !== true) {
|
|
60318
|
+
exitComplete.set(key, false);
|
|
60319
|
+
}
|
|
60320
|
+
}
|
|
60321
|
+
else {
|
|
60322
|
+
exitComplete.delete(key);
|
|
60323
|
+
exitingComponents.current.delete(key);
|
|
60324
|
+
}
|
|
60325
|
+
}
|
|
60326
|
+
}, [renderedChildren, presentKeys.length, presentKeys.join("-")]);
|
|
60327
|
+
const exitingChildren = [];
|
|
60328
|
+
if (presentChildren !== diffedChildren) {
|
|
60329
|
+
let nextChildren = [...presentChildren];
|
|
60330
|
+
/**
|
|
60331
|
+
* Loop through all the currently rendered components and decide which
|
|
60332
|
+
* are exiting.
|
|
60333
|
+
*/
|
|
60334
|
+
for (let i = 0; i < renderedChildren.length; i++) {
|
|
60335
|
+
const child = renderedChildren[i];
|
|
60336
|
+
const key = getChildKey(child);
|
|
60337
|
+
if (!presentKeys.includes(key)) {
|
|
60338
|
+
nextChildren.splice(i, 0, child);
|
|
60339
|
+
exitingChildren.push(child);
|
|
60340
|
+
}
|
|
60341
|
+
}
|
|
60342
|
+
/**
|
|
60343
|
+
* If we're in "wait" mode, and we have exiting children, we want to
|
|
60344
|
+
* only render these until they've all exited.
|
|
60345
|
+
*/
|
|
60346
|
+
if (mode === "wait" && exitingChildren.length) {
|
|
60347
|
+
nextChildren = exitingChildren;
|
|
60348
|
+
}
|
|
60349
|
+
setRenderedChildren(onlyElements(nextChildren));
|
|
60350
|
+
setDiffedChildren(presentChildren);
|
|
60351
|
+
/**
|
|
60352
|
+
* Early return to ensure once we've set state with the latest diffed
|
|
60353
|
+
* children, we can immediately re-render.
|
|
60354
|
+
*/
|
|
60355
|
+
return null;
|
|
60356
|
+
}
|
|
60357
|
+
if (process.env.NODE_ENV !== "production" &&
|
|
60358
|
+
mode === "wait" &&
|
|
60359
|
+
renderedChildren.length > 1) {
|
|
60360
|
+
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.`);
|
|
60361
|
+
}
|
|
60362
|
+
/**
|
|
60363
|
+
* If we've been provided a forceRender function by the LayoutGroupContext,
|
|
60364
|
+
* we can use it to force a re-render amongst all surrounding components once
|
|
60365
|
+
* all components have finished animating out.
|
|
60366
|
+
*/
|
|
60367
|
+
const { forceRender } = useContext(LayoutGroupContext);
|
|
60368
|
+
return (jsx(Fragment, { children: renderedChildren.map((child) => {
|
|
60369
|
+
const key = getChildKey(child);
|
|
60370
|
+
const isPresent = propagate && !isParentPresent
|
|
60371
|
+
? false
|
|
60372
|
+
: presentChildren === renderedChildren ||
|
|
60373
|
+
presentKeys.includes(key);
|
|
60374
|
+
const onExit = () => {
|
|
60375
|
+
if (exitingComponents.current.has(key)) {
|
|
60376
|
+
return;
|
|
60377
|
+
}
|
|
60378
|
+
exitingComponents.current.add(key);
|
|
60379
|
+
if (exitComplete.has(key)) {
|
|
60380
|
+
exitComplete.set(key, true);
|
|
60381
|
+
}
|
|
60382
|
+
else {
|
|
60383
|
+
return;
|
|
60384
|
+
}
|
|
60385
|
+
let isEveryExitComplete = true;
|
|
60386
|
+
exitComplete.forEach((isExitComplete) => {
|
|
60387
|
+
if (!isExitComplete)
|
|
60388
|
+
isEveryExitComplete = false;
|
|
60389
|
+
});
|
|
60390
|
+
if (isEveryExitComplete) {
|
|
60391
|
+
forceRender?.();
|
|
60392
|
+
setRenderedChildren(pendingPresentChildren.current);
|
|
60393
|
+
propagate && safeToRemove?.();
|
|
60394
|
+
onExitComplete && onExitComplete();
|
|
60395
|
+
}
|
|
60396
|
+
};
|
|
60397
|
+
return (jsx(PresenceChild, { isPresent: isPresent, initial: !isInitialRender.current || initial
|
|
60398
|
+
? undefined
|
|
60399
|
+
: false, custom: custom, presenceAffectsLayout: presenceAffectsLayout, mode: mode, root: root, onExitComplete: isPresent ? undefined : onExit, anchorX: anchorX, children: child }, key));
|
|
60400
|
+
}) }));
|
|
60401
|
+
};
|
|
60402
|
+
|
|
60150
60403
|
const LazyContext = createContext({ strict: false });
|
|
60151
60404
|
|
|
60152
60405
|
function loadFeatures(features) {
|
|
@@ -64808,6 +65061,47 @@ function useSpring$1(source, options = {}) {
|
|
|
64808
65061
|
return value;
|
|
64809
65062
|
}
|
|
64810
65063
|
|
|
65064
|
+
/**
|
|
65065
|
+
* A hook that returns `true` if we should be using reduced motion based on the current device's Reduced Motion setting.
|
|
65066
|
+
*
|
|
65067
|
+
* This can be used to implement changes to your UI based on Reduced Motion. For instance, replacing motion-sickness inducing
|
|
65068
|
+
* `x`/`y` animations with `opacity`, disabling the autoplay of background videos, or turning off parallax motion.
|
|
65069
|
+
*
|
|
65070
|
+
* It will actively respond to changes and re-render your components with the latest setting.
|
|
65071
|
+
*
|
|
65072
|
+
* ```jsx
|
|
65073
|
+
* export function Sidebar({ isOpen }) {
|
|
65074
|
+
* const shouldReduceMotion = useReducedMotion()
|
|
65075
|
+
* const closedX = shouldReduceMotion ? 0 : "-100%"
|
|
65076
|
+
*
|
|
65077
|
+
* return (
|
|
65078
|
+
* <motion.div animate={{
|
|
65079
|
+
* opacity: isOpen ? 1 : 0,
|
|
65080
|
+
* x: isOpen ? 0 : closedX
|
|
65081
|
+
* }} />
|
|
65082
|
+
* )
|
|
65083
|
+
* }
|
|
65084
|
+
* ```
|
|
65085
|
+
*
|
|
65086
|
+
* @return boolean
|
|
65087
|
+
*
|
|
65088
|
+
* @public
|
|
65089
|
+
*/
|
|
65090
|
+
function useReducedMotion() {
|
|
65091
|
+
/**
|
|
65092
|
+
* Lazy initialisation of prefersReducedMotion
|
|
65093
|
+
*/
|
|
65094
|
+
!hasReducedMotionListener.current && initPrefersReducedMotion();
|
|
65095
|
+
const [shouldReduceMotion] = useState(prefersReducedMotion.current);
|
|
65096
|
+
if (process.env.NODE_ENV !== "production") {
|
|
65097
|
+
warnOnce(shouldReduceMotion !== true, "You have Reduced Motion enabled on your device. Animations may not appear as expected.", "reduced-motion-disabled");
|
|
65098
|
+
}
|
|
65099
|
+
/**
|
|
65100
|
+
* TODO See if people miss automatically updating shouldReduceMotion setting
|
|
65101
|
+
*/
|
|
65102
|
+
return shouldReduceMotion;
|
|
65103
|
+
}
|
|
65104
|
+
|
|
64811
65105
|
function useAnimate() {
|
|
64812
65106
|
const scope = useConstant(() => ({
|
|
64813
65107
|
current: null, // Will be hydrated by React
|
|
@@ -64854,7 +65148,7 @@ const ConfettiButton = ({
|
|
|
64854
65148
|
"button",
|
|
64855
65149
|
{
|
|
64856
65150
|
type: "button",
|
|
64857
|
-
className:
|
|
65151
|
+
className: clsx(styles$4z.root, className),
|
|
64858
65152
|
onClick: handleClick,
|
|
64859
65153
|
...props,
|
|
64860
65154
|
children
|
|
@@ -65237,7 +65531,7 @@ const DDDButton = ({
|
|
|
65237
65531
|
}) => /* @__PURE__ */ jsx(
|
|
65238
65532
|
"button",
|
|
65239
65533
|
{
|
|
65240
|
-
className:
|
|
65534
|
+
className: clsx(styles$4x.root, className),
|
|
65241
65535
|
type: "button",
|
|
65242
65536
|
onClick,
|
|
65243
65537
|
children: /* @__PURE__ */ jsx("span", { className: styles$4x.content, children })
|
|
@@ -65260,7 +65554,7 @@ const DockButton = ({
|
|
|
65260
65554
|
ref,
|
|
65261
65555
|
type: "button",
|
|
65262
65556
|
...rest,
|
|
65263
|
-
className:
|
|
65557
|
+
className: clsx(styles$4w.root, className),
|
|
65264
65558
|
children
|
|
65265
65559
|
}
|
|
65266
65560
|
);
|
|
@@ -65293,9 +65587,9 @@ const DoubleArrowButton = () => {
|
|
|
65293
65587
|
onClick: () => {
|
|
65294
65588
|
setBounceAlpha((prev) => !prev);
|
|
65295
65589
|
},
|
|
65296
|
-
children: /* @__PURE__ */ jsxs("div", { className:
|
|
65297
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
65298
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
65590
|
+
children: /* @__PURE__ */ jsxs("div", { className: clsx(styles$4v.cta, { [styles$4v.bounceAlpha]: bounceAlpha }), children: [
|
|
65591
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$4v.arrow, styles$4v.next, styles$4v.first) }),
|
|
65592
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$4v.arrow, styles$4v.next, styles$4v.second) })
|
|
65299
65593
|
] })
|
|
65300
65594
|
}
|
|
65301
65595
|
) });
|
|
@@ -65385,9 +65679,9 @@ const styles$4u = {
|
|
|
65385
65679
|
const DoubleArrowCollabButton = ({ onClick, children }) => {
|
|
65386
65680
|
return /* @__PURE__ */ jsxs("button", { type: "button", className: styles$4u.root, onClick, children: [
|
|
65387
65681
|
/* @__PURE__ */ jsxs("div", { className: styles$4u.round, children: [
|
|
65388
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
65389
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
65390
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
65682
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(styles$4u.cta), children: [
|
|
65683
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$4u.arrow, styles$4u.next, styles$4u.first) }),
|
|
65684
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$4u.arrow, styles$4u.next, styles$4u.second) })
|
|
65391
65685
|
] }),
|
|
65392
65686
|
/* @__PURE__ */ jsx(ImSpotify, { className: styles$4u.collab })
|
|
65393
65687
|
] }),
|
|
@@ -65433,7 +65727,7 @@ const DoubleStateButton = ({
|
|
|
65433
65727
|
ref,
|
|
65434
65728
|
type: "button",
|
|
65435
65729
|
...rest,
|
|
65436
|
-
className:
|
|
65730
|
+
className: clsx(styles$4t.root, className),
|
|
65437
65731
|
children: [
|
|
65438
65732
|
/* @__PURE__ */ jsxs("div", { className: styles$4t.wrapper, children: [
|
|
65439
65733
|
/* @__PURE__ */ jsx("span", { className: styles$4t.first, children }),
|
|
@@ -65645,14 +65939,14 @@ const styles$4q = {
|
|
|
65645
65939
|
const ElectrifiedButton = () => {
|
|
65646
65940
|
return /* @__PURE__ */ jsxs("div", { className: styles$4q.root, children: [
|
|
65647
65941
|
/* @__PURE__ */ jsxs("button", { className: styles$4q.electric, children: [
|
|
65648
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
65649
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
65650
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
65651
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
65942
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$4q.part, styles$4q.part1) }),
|
|
65943
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$4q.part, styles$4q.part2) }),
|
|
65944
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$4q.part, styles$4q.part3) }),
|
|
65945
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$4q.part, styles$4q.part4) }),
|
|
65652
65946
|
/* @__PURE__ */ jsx(
|
|
65653
65947
|
"svg",
|
|
65654
65948
|
{
|
|
65655
|
-
className:
|
|
65949
|
+
className: clsx(styles$4q.svg, styles$4q.yellow, styles$4q.yellow1),
|
|
65656
65950
|
width: "415",
|
|
65657
65951
|
height: "181",
|
|
65658
65952
|
viewBox: "0 0 415 181",
|
|
@@ -65672,7 +65966,7 @@ const ElectrifiedButton = () => {
|
|
|
65672
65966
|
/* @__PURE__ */ jsxs(
|
|
65673
65967
|
"svg",
|
|
65674
65968
|
{
|
|
65675
|
-
className:
|
|
65969
|
+
className: clsx(styles$4q.svg, styles$4q.yellow, styles$4q.yellow2),
|
|
65676
65970
|
width: "461",
|
|
65677
65971
|
height: "227",
|
|
65678
65972
|
viewBox: "0 0 461 227",
|
|
@@ -65725,7 +66019,7 @@ const ElectrifiedButton = () => {
|
|
|
65725
66019
|
/* @__PURE__ */ jsx(
|
|
65726
66020
|
"svg",
|
|
65727
66021
|
{
|
|
65728
|
-
className:
|
|
66022
|
+
className: clsx(styles$4q.svg, styles$4q.blue, styles$4q.blue1),
|
|
65729
66023
|
width: "423",
|
|
65730
66024
|
height: "192",
|
|
65731
66025
|
viewBox: "0 0 423 192",
|
|
@@ -65745,7 +66039,7 @@ const ElectrifiedButton = () => {
|
|
|
65745
66039
|
/* @__PURE__ */ jsxs(
|
|
65746
66040
|
"svg",
|
|
65747
66041
|
{
|
|
65748
|
-
className:
|
|
66042
|
+
className: clsx(styles$4q.svg, styles$4q.blue, styles$4q.blue2),
|
|
65749
66043
|
width: "470",
|
|
65750
66044
|
height: "240",
|
|
65751
66045
|
viewBox: "0 0 470 240",
|
|
@@ -65797,7 +66091,7 @@ const ElectrifiedButton = () => {
|
|
|
65797
66091
|
),
|
|
65798
66092
|
"Button"
|
|
65799
66093
|
] }),
|
|
65800
|
-
/* @__PURE__ */ jsx("button", { className:
|
|
66094
|
+
/* @__PURE__ */ jsx("button", { className: clsx(styles$4q.electric, styles$4q.electric2), children: "Button" })
|
|
65801
66095
|
] });
|
|
65802
66096
|
};
|
|
65803
66097
|
|
|
@@ -66517,7 +66811,7 @@ const FailedDownloadButton = () => {
|
|
|
66517
66811
|
"button",
|
|
66518
66812
|
{
|
|
66519
66813
|
type: "button",
|
|
66520
|
-
className:
|
|
66814
|
+
className: clsx(styles$4o.btn, { [styles$4o.failed]: failed }),
|
|
66521
66815
|
onClick: fail,
|
|
66522
66816
|
disabled: failed,
|
|
66523
66817
|
children: [
|
|
@@ -66678,7 +66972,7 @@ const GlowButton = ({
|
|
|
66678
66972
|
ref,
|
|
66679
66973
|
type,
|
|
66680
66974
|
...rest,
|
|
66681
|
-
className:
|
|
66975
|
+
className: clsx(styles$4l.root, className),
|
|
66682
66976
|
children: /* @__PURE__ */ jsx("span", { className: styles$4l.text, children })
|
|
66683
66977
|
}
|
|
66684
66978
|
);
|
|
@@ -66969,7 +67263,7 @@ const HeartFoldButton = () => {
|
|
|
66969
67263
|
"button",
|
|
66970
67264
|
{
|
|
66971
67265
|
type: "button",
|
|
66972
|
-
className:
|
|
67266
|
+
className: clsx(styles$4g.heart, { [styles$4g.active]: active }),
|
|
66973
67267
|
onClick: handleClick,
|
|
66974
67268
|
children: /* @__PURE__ */ jsx("div", { className: styles$4g.flip })
|
|
66975
67269
|
}
|
|
@@ -66978,7 +67272,7 @@ const HeartFoldButton = () => {
|
|
|
66978
67272
|
"button",
|
|
66979
67273
|
{
|
|
66980
67274
|
type: "button",
|
|
66981
|
-
className:
|
|
67275
|
+
className: clsx(styles$4g.button, { [styles$4g.active]: active }),
|
|
66982
67276
|
onClick: handleClick,
|
|
66983
67277
|
children: [
|
|
66984
67278
|
/* @__PURE__ */ jsx("div", { className: styles$4g.flip }),
|
|
@@ -67038,7 +67332,7 @@ const HoldSubmitButton = () => {
|
|
|
67038
67332
|
return /* @__PURE__ */ jsxs(
|
|
67039
67333
|
"button",
|
|
67040
67334
|
{
|
|
67041
|
-
className:
|
|
67335
|
+
className: clsx(styles$4f.root, {
|
|
67042
67336
|
[styles$4f.process]: process,
|
|
67043
67337
|
[styles$4f.success]: success
|
|
67044
67338
|
}),
|
|
@@ -67191,7 +67485,7 @@ const HoverGlowButton = ({
|
|
|
67191
67485
|
{
|
|
67192
67486
|
ref,
|
|
67193
67487
|
type: "button",
|
|
67194
|
-
className:
|
|
67488
|
+
className: clsx(styles$4e.root, className),
|
|
67195
67489
|
onPointerMove: (e) => {
|
|
67196
67490
|
const el = ref.current;
|
|
67197
67491
|
if (!el) {
|
|
@@ -67253,7 +67547,7 @@ const Ios15Button = () => {
|
|
|
67253
67547
|
return Array.from({ length: count$1 }, (_, i) => /* @__PURE__ */ jsx(
|
|
67254
67548
|
"div",
|
|
67255
67549
|
{
|
|
67256
|
-
className:
|
|
67550
|
+
className: clsx(styles$4d.circle, styles$4d[`circle-${i + 1}`])
|
|
67257
67551
|
},
|
|
67258
67552
|
i
|
|
67259
67553
|
));
|
|
@@ -67413,7 +67707,7 @@ const MorphingSubmitButton = () => {
|
|
|
67413
67707
|
"button",
|
|
67414
67708
|
{
|
|
67415
67709
|
type: "button",
|
|
67416
|
-
className:
|
|
67710
|
+
className: clsx(styles$4a.root, {
|
|
67417
67711
|
[styles$4a.running]: state === 1 /* RUNNING */,
|
|
67418
67712
|
[styles$4a.done]: state === 2 /* DONE */
|
|
67419
67713
|
}),
|
|
@@ -67730,7 +68024,7 @@ const MultiStageButton = () => {
|
|
|
67730
68024
|
{
|
|
67731
68025
|
id: "button",
|
|
67732
68026
|
ref: button,
|
|
67733
|
-
className:
|
|
68027
|
+
className: clsx(styles$49.button, {
|
|
67734
68028
|
[styles$49.ready]: ready,
|
|
67735
68029
|
[styles$49.complete]: complete,
|
|
67736
68030
|
[styles$49.loading]: loading
|
|
@@ -67738,7 +68032,7 @@ const MultiStageButton = () => {
|
|
|
67738
68032
|
onClick: clickButton,
|
|
67739
68033
|
disabled,
|
|
67740
68034
|
children: [
|
|
67741
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
68035
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(styles$49.message, styles$49.submitMessage), children: [
|
|
67742
68036
|
/* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 13 12.2", children: [
|
|
67743
68037
|
/* @__PURE__ */ jsx("polyline", { stroke: "currentColor", points: "2,7.1 6.5,11.1 11,7.1 " }),
|
|
67744
68038
|
/* @__PURE__ */ jsx("line", { stroke: "currentColor", x1: "6.5", y1: "1.2", x2: "6.5", y2: "10.3" })
|
|
@@ -67756,7 +68050,7 @@ const MultiStageButton = () => {
|
|
|
67756
68050
|
char + index
|
|
67757
68051
|
)) })
|
|
67758
68052
|
] }),
|
|
67759
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
68053
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$49.message, styles$49.loadingMessage), children: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 19 17", children: [
|
|
67760
68054
|
/* @__PURE__ */ jsx("circle", { className: styles$49.loadingCircle, cx: "2.2", cy: "10", r: "1.6" }),
|
|
67761
68055
|
/* @__PURE__ */ jsx("circle", { className: styles$49.loadingCircle, cx: "9.5", cy: "10", r: "1.6" }),
|
|
67762
68056
|
/* @__PURE__ */ jsx(
|
|
@@ -67769,7 +68063,7 @@ const MultiStageButton = () => {
|
|
|
67769
68063
|
}
|
|
67770
68064
|
)
|
|
67771
68065
|
] }) }),
|
|
67772
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
68066
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(styles$49.message, styles$49.successMessage), children: [
|
|
67773
68067
|
/* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 13 11", children: /* @__PURE__ */ jsx(
|
|
67774
68068
|
"polyline",
|
|
67775
68069
|
{
|
|
@@ -67803,12 +68097,12 @@ const styles$48 = {
|
|
|
67803
68097
|
};
|
|
67804
68098
|
|
|
67805
68099
|
const NeonButton = ({ className = "", ...rest }) => {
|
|
67806
|
-
return /* @__PURE__ */ jsx("button", { type: "button", ...rest, className:
|
|
68100
|
+
return /* @__PURE__ */ jsx("button", { type: "button", ...rest, className: clsx(styles$48.root, className), children: "Neon" });
|
|
67807
68101
|
};
|
|
67808
68102
|
|
|
67809
|
-
const root$3P = "
|
|
67810
|
-
const i$6 = "
|
|
67811
|
-
const text$s = "
|
|
68103
|
+
const root$3P = "_root_1ol0v_2";
|
|
68104
|
+
const i$6 = "_i_1ol0v_22";
|
|
68105
|
+
const text$s = "_text_1ol0v_482";
|
|
67812
68106
|
const styles$47 = {
|
|
67813
68107
|
root: root$3P,
|
|
67814
68108
|
i: i$6,
|
|
@@ -67846,7 +68140,7 @@ const OrbitalSubmitButton = () => {
|
|
|
67846
68140
|
"button",
|
|
67847
68141
|
{
|
|
67848
68142
|
type: "button",
|
|
67849
|
-
className:
|
|
68143
|
+
className: clsx(styles$46.root, { [styles$46.processing]: processing }),
|
|
67850
68144
|
onClick: () => {
|
|
67851
68145
|
setProcessing((prev) => !prev);
|
|
67852
68146
|
},
|
|
@@ -68023,7 +68317,7 @@ const PlayPauseButton = () => {
|
|
|
68023
68317
|
children: /* @__PURE__ */ jsxs(
|
|
68024
68318
|
"svg",
|
|
68025
68319
|
{
|
|
68026
|
-
className:
|
|
68320
|
+
className: clsx(styles$44.svg, { [styles$44.isPlay]: isPlay }),
|
|
68027
68321
|
width: 16,
|
|
68028
68322
|
height: 16,
|
|
68029
68323
|
viewBox: "0 0 16 16",
|
|
@@ -68054,7 +68348,7 @@ const PlayPauseMusicButton = () => {
|
|
|
68054
68348
|
"button",
|
|
68055
68349
|
{
|
|
68056
68350
|
type: "button",
|
|
68057
|
-
className:
|
|
68351
|
+
className: clsx(styles$43.root, {
|
|
68058
68352
|
[styles$43.paused]: paused,
|
|
68059
68353
|
[styles$43.playing]: playing
|
|
68060
68354
|
}),
|
|
@@ -68095,8 +68389,8 @@ const styles$42 = {
|
|
|
68095
68389
|
|
|
68096
68390
|
const PositionHover = () => {
|
|
68097
68391
|
return /* @__PURE__ */ jsxs("div", { className: styles$42.root, children: [
|
|
68098
|
-
/* @__PURE__ */ jsx("a", { href: "#0", className:
|
|
68099
|
-
/* @__PURE__ */ jsx("a", { href: "#0", className:
|
|
68392
|
+
/* @__PURE__ */ jsx("a", { href: "#0", className: clsx(styles$42.selfAware, styles$42.button), children: "I'm a self-aware button" }),
|
|
68393
|
+
/* @__PURE__ */ jsx("a", { href: "#0", className: clsx(styles$42.selfAware, styles$42.underline), children: "I'm a self-aware underline" })
|
|
68100
68394
|
] });
|
|
68101
68395
|
};
|
|
68102
68396
|
|
|
@@ -68196,7 +68490,7 @@ const PredictionButton = () => {
|
|
|
68196
68490
|
/* @__PURE__ */ jsx(
|
|
68197
68491
|
"button",
|
|
68198
68492
|
{
|
|
68199
|
-
className:
|
|
68493
|
+
className: clsx(styles$41.btn, {
|
|
68200
68494
|
[styles$41.inactive]: Boolean(prediction && show)
|
|
68201
68495
|
}),
|
|
68202
68496
|
onClick: () => {
|
|
@@ -68221,7 +68515,7 @@ const PredictionButton = () => {
|
|
|
68221
68515
|
/* @__PURE__ */ jsxs(
|
|
68222
68516
|
"svg",
|
|
68223
68517
|
{
|
|
68224
|
-
className:
|
|
68518
|
+
className: clsx(styles$41.stars, {
|
|
68225
68519
|
[styles$41.rotate]: Boolean(prediction && !show)
|
|
68226
68520
|
}),
|
|
68227
68521
|
width: "960",
|
|
@@ -68316,7 +68610,7 @@ const ProgressButton = ({
|
|
|
68316
68610
|
"button",
|
|
68317
68611
|
{
|
|
68318
68612
|
type: "button",
|
|
68319
|
-
className:
|
|
68613
|
+
className: clsx(styles$40.root, className, { [styles$40.loading]: isLoading }),
|
|
68320
68614
|
onClick: (e) => {
|
|
68321
68615
|
onClick(e);
|
|
68322
68616
|
if (timeoutRef.current) {
|
|
@@ -68347,7 +68641,7 @@ const styles$3$ = {
|
|
|
68347
68641
|
};
|
|
68348
68642
|
|
|
68349
68643
|
const PsychedelicButton = ({ variant }) => {
|
|
68350
|
-
return /* @__PURE__ */ jsx("div", { className: styles$3$.root, children: /* @__PURE__ */ jsx("button", { className:
|
|
68644
|
+
return /* @__PURE__ */ jsx("div", { className: styles$3$.root, children: /* @__PURE__ */ jsx("button", { className: clsx(styles$3$.button, styles$3$[variant]), children: "hover me" }) });
|
|
68351
68645
|
};
|
|
68352
68646
|
|
|
68353
68647
|
const root$3G = "_root_qhbgz_1";
|
|
@@ -68435,24 +68729,24 @@ const RunningButton = () => {
|
|
|
68435
68729
|
const [active, setActive] = useState(false);
|
|
68436
68730
|
return /* @__PURE__ */ jsxs("div", { className: styles$3Y.root, children: [
|
|
68437
68731
|
/* @__PURE__ */ jsx("div", { className: styles$3Y.running, children: /* @__PURE__ */ jsx("div", { className: styles$3Y.outer, children: /* @__PURE__ */ jsxs("div", { className: styles$3Y.body, children: [
|
|
68438
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
68439
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
68440
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
68441
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
68732
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3Y.arm, styles$3Y.behind) }),
|
|
68733
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3Y.arm, styles$3Y.front) }),
|
|
68734
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3Y.leg, styles$3Y.behind) }),
|
|
68735
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3Y.leg, styles$3Y.front) })
|
|
68442
68736
|
] }) }) }),
|
|
68443
68737
|
/* @__PURE__ */ jsxs(
|
|
68444
68738
|
"button",
|
|
68445
68739
|
{
|
|
68446
|
-
className:
|
|
68740
|
+
className: clsx(styles$3Y.runningButton, { [styles$3Y.active]: active }),
|
|
68447
68741
|
onClick: () => setActive((prev) => !prev),
|
|
68448
68742
|
children: [
|
|
68449
68743
|
/* @__PURE__ */ jsx("span", { className: styles$3Y.default, children: "Start" }),
|
|
68450
68744
|
/* @__PURE__ */ jsx("span", { className: styles$3Y.active, children: "Tracking" }),
|
|
68451
68745
|
/* @__PURE__ */ jsx("div", { className: styles$3Y.running, children: /* @__PURE__ */ jsx("div", { className: styles$3Y.outer, children: /* @__PURE__ */ jsxs("div", { className: styles$3Y.body, children: [
|
|
68452
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
68453
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
68454
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
68455
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
68746
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3Y.arm, styles$3Y.behind) }),
|
|
68747
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3Y.arm, styles$3Y.front) }),
|
|
68748
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3Y.leg, styles$3Y.behind) }),
|
|
68749
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3Y.leg, styles$3Y.front) })
|
|
68456
68750
|
] }) }) })
|
|
68457
68751
|
]
|
|
68458
68752
|
}
|
|
@@ -68744,7 +69038,7 @@ function Button({
|
|
|
68744
69038
|
{
|
|
68745
69039
|
onMouseEnter: () => setButtonFocus(true),
|
|
68746
69040
|
onMouseLeave: () => setButtonFocus(false),
|
|
68747
|
-
className:
|
|
69041
|
+
className: clsx(styles$3V.buttonContainer, {
|
|
68748
69042
|
[styles$3V.pressed]: buttonPressed
|
|
68749
69043
|
}),
|
|
68750
69044
|
children: [
|
|
@@ -68785,7 +69079,7 @@ function Button({
|
|
|
68785
69079
|
"video",
|
|
68786
69080
|
{
|
|
68787
69081
|
ref: surfaceReflectionRef,
|
|
68788
|
-
className:
|
|
69082
|
+
className: clsx(styles$3V.surfaceReflection, {
|
|
68789
69083
|
[styles$3V.pressed]: buttonPressed
|
|
68790
69084
|
})
|
|
68791
69085
|
}
|
|
@@ -68793,7 +69087,7 @@ function Button({
|
|
|
68793
69087
|
/* @__PURE__ */ jsxs(
|
|
68794
69088
|
"div",
|
|
68795
69089
|
{
|
|
68796
|
-
className:
|
|
69090
|
+
className: clsx(styles$3V.button, { [styles$3V.pressed]: buttonPressed }),
|
|
68797
69091
|
onMouseDown: handleMouseDown,
|
|
68798
69092
|
onTouchStart: handleTouchStart,
|
|
68799
69093
|
onMouseUp: () => setButtonPressed(false),
|
|
@@ -68848,7 +69142,7 @@ const SkeuomorphicLikeButton = () => {
|
|
|
68848
69142
|
return /* @__PURE__ */ jsxs(
|
|
68849
69143
|
"button",
|
|
68850
69144
|
{
|
|
68851
|
-
className:
|
|
69145
|
+
className: clsx(styles$3U.root, {
|
|
68852
69146
|
[styles$3U.active]: active,
|
|
68853
69147
|
[styles$3U.bounce]: bounce
|
|
68854
69148
|
}),
|
|
@@ -68866,8 +69160,8 @@ const SkeuomorphicLikeButton = () => {
|
|
|
68866
69160
|
active && /* @__PURE__ */ jsx("span", { children: "d" })
|
|
68867
69161
|
] }),
|
|
68868
69162
|
/* @__PURE__ */ jsxs("div", { className: styles$3U.numbers, children: [
|
|
68869
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
68870
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
69163
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$3U.item, styles$3U.current), children: "24" }),
|
|
69164
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$3U.item, styles$3U.next), children: "25" })
|
|
68871
69165
|
] })
|
|
68872
69166
|
]
|
|
68873
69167
|
}
|
|
@@ -68889,9 +69183,9 @@ const styles$3T = {
|
|
|
68889
69183
|
|
|
68890
69184
|
const SlidingButton = () => {
|
|
68891
69185
|
return /* @__PURE__ */ jsxs("button", { className: styles$3T.root, children: [
|
|
68892
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
69186
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$3T.icon, styles$3T.iconLogo) }),
|
|
68893
69187
|
/* @__PURE__ */ jsx("span", { className: styles$3T.text, children: "Cool button" }),
|
|
68894
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
69188
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$3T.icon, styles$3T.iconArrow) })
|
|
68895
69189
|
] });
|
|
68896
69190
|
};
|
|
68897
69191
|
|
|
@@ -68932,7 +69226,7 @@ const SlidingStepper = () => {
|
|
|
68932
69226
|
return /* @__PURE__ */ jsxs(
|
|
68933
69227
|
"button",
|
|
68934
69228
|
{
|
|
68935
|
-
className:
|
|
69229
|
+
className: clsx(styles$3S.root, {
|
|
68936
69230
|
[styles$3S.moveLeft]: move === 1,
|
|
68937
69231
|
[styles$3S.moveRight]: move === -1
|
|
68938
69232
|
}),
|
|
@@ -69106,7 +69400,7 @@ const SparklyButton = () => {
|
|
|
69106
69400
|
"button",
|
|
69107
69401
|
{
|
|
69108
69402
|
ref,
|
|
69109
|
-
className:
|
|
69403
|
+
className: clsx(styles$3Q.button, { [styles$3Q.over]: isOver }),
|
|
69110
69404
|
children: /* @__PURE__ */ jsx("span", { className: styles$3Q.content, children: "Sparkly Button" })
|
|
69111
69405
|
}
|
|
69112
69406
|
),
|
|
@@ -69131,7 +69425,7 @@ const styles$3P = {
|
|
|
69131
69425
|
};
|
|
69132
69426
|
|
|
69133
69427
|
const SquishButton = ({ children, className = "", ...rest }) => {
|
|
69134
|
-
return /* @__PURE__ */ jsx("button", { type: "button", ...rest, className:
|
|
69428
|
+
return /* @__PURE__ */ jsx("button", { type: "button", ...rest, className: clsx(styles$3P.root, className), children });
|
|
69135
69429
|
};
|
|
69136
69430
|
|
|
69137
69431
|
const root$3w = "_root_v4ko6_1";
|
|
@@ -69170,7 +69464,7 @@ const Fingerprint = ({ className = "" }) => {
|
|
|
69170
69464
|
return /* @__PURE__ */ jsx(
|
|
69171
69465
|
"svg",
|
|
69172
69466
|
{
|
|
69173
|
-
className:
|
|
69467
|
+
className: clsx(styles$3N.root, className),
|
|
69174
69468
|
width: "34px",
|
|
69175
69469
|
height: "34px",
|
|
69176
69470
|
viewBox: "0 0 34 34",
|
|
@@ -69192,35 +69486,35 @@ const Fingerprint = ({ className = "" }) => {
|
|
|
69192
69486
|
/* @__PURE__ */ jsx(
|
|
69193
69487
|
"path",
|
|
69194
69488
|
{
|
|
69195
|
-
className:
|
|
69489
|
+
className: clsx(styles$3N.a, { [styles$3N.active]: isActive }),
|
|
69196
69490
|
d: "M3.14414922,1.97419264 C3.14414922,1.97419264 5.30885997,0.506351808 9.06036082,0.506351808 C12.8118617,0.506351808 14.781903,1.97419264 14.781903,1.97419264"
|
|
69197
69491
|
}
|
|
69198
69492
|
),
|
|
69199
69493
|
/* @__PURE__ */ jsx(
|
|
69200
69494
|
"path",
|
|
69201
69495
|
{
|
|
69202
|
-
className:
|
|
69496
|
+
className: clsx(styles$3N.b, { [styles$3N.active]: isActive }),
|
|
69203
69497
|
d: "M0.466210729,7.27628774 C0.466210729,7.27628774 3.19024811,2.75878123 9.09512428,2.96502806 C15.0000005,3.17127489 17.4745821,7.17202872 17.4745821,7.17202872"
|
|
69204
69498
|
}
|
|
69205
69499
|
),
|
|
69206
69500
|
/* @__PURE__ */ jsx(
|
|
69207
69501
|
"path",
|
|
69208
69502
|
{
|
|
69209
|
-
className:
|
|
69503
|
+
className: clsx(styles$3N.c, { [styles$3N.active]: isActive }),
|
|
69210
69504
|
d: "M2,16.4687762 C2,16.4687762 1.12580828,14.9305411 1.27082278,11.9727304 C1.45871447,8.14036841 5.19587478,5.30175361 9.05270871,5.30175361 C12.9095426,5.30175361 15.0000001,7.82879552 15.8975926,9.33195218 C16.5919575,10.4947729 17.7597991,14.4361492 14.6226101,15.0206592 C12.41268,15.4324056 11.5911303,13.4911155 11.5911303,12.9859143 C11.5911303,11.9727302 11.1054172,10.2336826 9.05270848,10.2336826 C6.99999978,10.2336826 6.11384543,11.8665663 6.4593664,13.7955614 C6.6532895,14.8782069 7.59887942,18.3701197 12.0173963,19.5605638"
|
|
69211
69505
|
}
|
|
69212
69506
|
),
|
|
69213
69507
|
/* @__PURE__ */ jsx(
|
|
69214
69508
|
"path",
|
|
69215
69509
|
{
|
|
69216
|
-
className:
|
|
69510
|
+
className: clsx(styles$3N.d, { [styles$3N.active]: isActive }),
|
|
69217
69511
|
d: "M7.0204614,19.6657197 C7.0204614,19.6657197 3.88328263,16.5690127 3.88328268,12.9603117 C3.88328274,9.35161068 6.59923746,7.80642537 9.0076008,7.80642554 C11.4159641,7.8064257 14.1798468,9.55747124 14.1798468,12.759562"
|
|
69218
69512
|
}
|
|
69219
69513
|
),
|
|
69220
69514
|
/* @__PURE__ */ jsx(
|
|
69221
69515
|
"path",
|
|
69222
69516
|
{
|
|
69223
|
-
className:
|
|
69517
|
+
className: clsx(styles$3N.e, { [styles$3N.active]: isActive }),
|
|
69224
69518
|
d: "M8.95538742,12.6694189 C8.95538742,12.6694189 9.04883608,18.1288401 15.069217,17.3610597"
|
|
69225
69519
|
}
|
|
69226
69520
|
)
|
|
@@ -69234,7 +69528,7 @@ const Fingerprint = ({ className = "" }) => {
|
|
|
69234
69528
|
const SuccessLoader = ({ status }) => /* @__PURE__ */ jsx(
|
|
69235
69529
|
"div",
|
|
69236
69530
|
{
|
|
69237
|
-
className:
|
|
69531
|
+
className: clsx(styles$3O.root, {
|
|
69238
69532
|
[styles$3O.success]: status === "success",
|
|
69239
69533
|
[styles$3O.loading]: status === "loading",
|
|
69240
69534
|
[styles$3O.pending]: status === "pending"
|
|
@@ -69272,7 +69566,7 @@ const SuccessLoadingButton = ({
|
|
|
69272
69566
|
"button",
|
|
69273
69567
|
{
|
|
69274
69568
|
type: "button",
|
|
69275
|
-
className:
|
|
69569
|
+
className: clsx(styles$3M.root, className, {
|
|
69276
69570
|
[styles$3M.success]: status === "success"
|
|
69277
69571
|
}),
|
|
69278
69572
|
disabled,
|
|
@@ -69316,7 +69610,7 @@ const ThreadsLikeButton = () => {
|
|
|
69316
69610
|
"button",
|
|
69317
69611
|
{
|
|
69318
69612
|
type: "button",
|
|
69319
|
-
className:
|
|
69613
|
+
className: clsx(styles$3L.root, { [styles$3L.liked]: liked }),
|
|
69320
69614
|
onClick: () => setLiked((prev) => !prev),
|
|
69321
69615
|
children: /* @__PURE__ */ jsxs(
|
|
69322
69616
|
"svg",
|
|
@@ -69370,7 +69664,7 @@ const ThumbsUpButton = () => {
|
|
|
69370
69664
|
"button",
|
|
69371
69665
|
{
|
|
69372
69666
|
type: "button",
|
|
69373
|
-
className:
|
|
69667
|
+
className: clsx(styles$3K.root, { [styles$3K.liked]: liked }),
|
|
69374
69668
|
onClick: (e) => {
|
|
69375
69669
|
const button = e.currentTarget;
|
|
69376
69670
|
setLiked((prev) => !prev);
|
|
@@ -69614,11 +69908,11 @@ const BrandCard = ({
|
|
|
69614
69908
|
className = "",
|
|
69615
69909
|
contentClassName = ""
|
|
69616
69910
|
}) => {
|
|
69617
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
69911
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx(styles$3F.root, className), children: [
|
|
69618
69912
|
/* @__PURE__ */ jsx(
|
|
69619
69913
|
"div",
|
|
69620
69914
|
{
|
|
69621
|
-
className:
|
|
69915
|
+
className: clsx(styles$3F.content, contentClassName),
|
|
69622
69916
|
style: {
|
|
69623
69917
|
"--hoverColor": hoverColor
|
|
69624
69918
|
},
|
|
@@ -69672,7 +69966,7 @@ const CaptionCard = ({
|
|
|
69672
69966
|
description = "Lorem ipsum dolor sit amet consectetur adipisicing elit. Asperiores,\n blanditiis?",
|
|
69673
69967
|
className = ""
|
|
69674
69968
|
}) => {
|
|
69675
|
-
return /* @__PURE__ */ jsxs("button", { type: "button", className:
|
|
69969
|
+
return /* @__PURE__ */ jsxs("button", { type: "button", className: clsx(styles$3D.root, className), children: [
|
|
69676
69970
|
/* @__PURE__ */ jsx("figure", { className: styles$3D.imageWrapper, children: /* @__PURE__ */ jsx(
|
|
69677
69971
|
"img",
|
|
69678
69972
|
{
|
|
@@ -69813,7 +70107,7 @@ const CardGlow = () => {
|
|
|
69813
70107
|
strokeWidth: 1.5,
|
|
69814
70108
|
stroke: "none",
|
|
69815
70109
|
"data-slot": "icon",
|
|
69816
|
-
className:
|
|
70110
|
+
className: clsx(styles$3C.w6, styles$3C.h6),
|
|
69817
70111
|
children: /* @__PURE__ */ jsx(
|
|
69818
70112
|
"path",
|
|
69819
70113
|
{
|
|
@@ -69833,7 +70127,7 @@ const CardGlow = () => {
|
|
|
69833
70127
|
strokeWidth: 1.5,
|
|
69834
70128
|
stroke: "none",
|
|
69835
70129
|
"data-slot": "icon",
|
|
69836
|
-
className:
|
|
70130
|
+
className: clsx(styles$3C.w6, styles$3C.h6),
|
|
69837
70131
|
children: /* @__PURE__ */ jsx(
|
|
69838
70132
|
"path",
|
|
69839
70133
|
{
|
|
@@ -69853,7 +70147,7 @@ const CardGlow = () => {
|
|
|
69853
70147
|
strokeWidth: 1.5,
|
|
69854
70148
|
stroke: "none",
|
|
69855
70149
|
"data-slot": "icon",
|
|
69856
|
-
className:
|
|
70150
|
+
className: clsx(styles$3C.w6, styles$3C.h6),
|
|
69857
70151
|
children: /* @__PURE__ */ jsx(
|
|
69858
70152
|
"path",
|
|
69859
70153
|
{
|
|
@@ -69873,7 +70167,7 @@ const CardGlow = () => {
|
|
|
69873
70167
|
strokeWidth: 1.5,
|
|
69874
70168
|
stroke: "none",
|
|
69875
70169
|
"data-slot": "icon",
|
|
69876
|
-
className:
|
|
70170
|
+
className: clsx(styles$3C.w6, styles$3C.h6),
|
|
69877
70171
|
children: /* @__PURE__ */ jsx(
|
|
69878
70172
|
"path",
|
|
69879
70173
|
{
|
|
@@ -69917,7 +70211,7 @@ const CardTile = ({
|
|
|
69917
70211
|
}) => /* @__PURE__ */ jsx(
|
|
69918
70212
|
"button",
|
|
69919
70213
|
{
|
|
69920
|
-
className:
|
|
70214
|
+
className: clsx(styles$3B.root, className),
|
|
69921
70215
|
type: "button",
|
|
69922
70216
|
onClick,
|
|
69923
70217
|
children: /* @__PURE__ */ jsx("div", { className: styles$3B.wrapper, children })
|
|
@@ -69978,7 +70272,7 @@ const ChequeredCard = () => {
|
|
|
69978
70272
|
return /* @__PURE__ */ jsxs(
|
|
69979
70273
|
"div",
|
|
69980
70274
|
{
|
|
69981
|
-
className:
|
|
70275
|
+
className: clsx(styles$3A.root, { [styles$3A.light]: light }),
|
|
69982
70276
|
onClick: () => {
|
|
69983
70277
|
setLight((prev) => !prev);
|
|
69984
70278
|
},
|
|
@@ -70001,20 +70295,20 @@ const ChequeredCard = () => {
|
|
|
70001
70295
|
/* @__PURE__ */ jsx("div", { className: styles$3A.shine }),
|
|
70002
70296
|
/* @__PURE__ */ jsxs("div", { className: styles$3A.background, children: [
|
|
70003
70297
|
/* @__PURE__ */ jsxs("div", { className: styles$3A.tiles, children: [
|
|
70004
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
70005
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
70006
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
70007
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
70008
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
70009
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
70010
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
70011
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
70012
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
70013
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
70298
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3A.tile, styles$3A.tile1) }),
|
|
70299
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3A.tile, styles$3A.tile2) }),
|
|
70300
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3A.tile, styles$3A.tile3) }),
|
|
70301
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3A.tile, styles$3A.tile4) }),
|
|
70302
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3A.tile, styles$3A.tile5) }),
|
|
70303
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3A.tile, styles$3A.tile6) }),
|
|
70304
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3A.tile, styles$3A.tile7) }),
|
|
70305
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3A.tile, styles$3A.tile8) }),
|
|
70306
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3A.tile, styles$3A.tile9) }),
|
|
70307
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3A.tile, styles$3A.tile10) })
|
|
70014
70308
|
] }),
|
|
70015
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
70016
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
70017
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
70309
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3A.line, styles$3A.line1) }),
|
|
70310
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3A.line, styles$3A.line2) }),
|
|
70311
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3A.line, styles$3A.line3) })
|
|
70018
70312
|
] })
|
|
70019
70313
|
]
|
|
70020
70314
|
}
|
|
@@ -70049,7 +70343,7 @@ const styles$3y = {
|
|
|
70049
70343
|
image: image$j
|
|
70050
70344
|
};
|
|
70051
70345
|
|
|
70052
|
-
const EnvelopeTile = ({ className = "", header, children }) => /* @__PURE__ */ jsxs("div", { className:
|
|
70346
|
+
const EnvelopeTile = ({ className = "", header, children }) => /* @__PURE__ */ jsxs("div", { className: clsx(styles$3y.root, className), children: [
|
|
70053
70347
|
/* @__PURE__ */ jsx("div", { className: styles$3y.corner, children: /* @__PURE__ */ jsx("div", { className: styles$3y.url, children: /* @__PURE__ */ jsx(
|
|
70054
70348
|
"img",
|
|
70055
70349
|
{
|
|
@@ -70101,7 +70395,7 @@ const GlowingTile = () => {
|
|
|
70101
70395
|
/* @__PURE__ */ jsx(
|
|
70102
70396
|
"button",
|
|
70103
70397
|
{
|
|
70104
|
-
className:
|
|
70398
|
+
className: clsx(styles$3x.button, styles$3x.minus),
|
|
70105
70399
|
onClick: () => setSpeed((state) => state - 1),
|
|
70106
70400
|
children: "-"
|
|
70107
70401
|
}
|
|
@@ -70110,7 +70404,7 @@ const GlowingTile = () => {
|
|
|
70110
70404
|
/* @__PURE__ */ jsx(
|
|
70111
70405
|
"button",
|
|
70112
70406
|
{
|
|
70113
|
-
className:
|
|
70407
|
+
className: clsx(styles$3x.button, styles$3x.plus),
|
|
70114
70408
|
onClick: () => setSpeed((state) => state + 1),
|
|
70115
70409
|
children: "+"
|
|
70116
70410
|
}
|
|
@@ -70118,7 +70412,7 @@ const GlowingTile = () => {
|
|
|
70118
70412
|
/* @__PURE__ */ jsx(
|
|
70119
70413
|
"button",
|
|
70120
70414
|
{
|
|
70121
|
-
className:
|
|
70415
|
+
className: clsx(styles$3x.button, styles$3x.reset),
|
|
70122
70416
|
onClick: () => setSpeed(0),
|
|
70123
70417
|
children: "reset"
|
|
70124
70418
|
}
|
|
@@ -70186,7 +70480,7 @@ const HoverTile = ({ color, global, children }) => {
|
|
|
70186
70480
|
}
|
|
70187
70481
|
ref.current.style.setProperty("--color", color);
|
|
70188
70482
|
}, [color]);
|
|
70189
|
-
return /* @__PURE__ */ jsxs("div", { ref, className:
|
|
70483
|
+
return /* @__PURE__ */ jsxs("div", { ref, className: clsx(styles$3v.root, { [styles$3v.global]: global }), children: [
|
|
70190
70484
|
/* @__PURE__ */ jsx("div", { className: styles$3v.border }),
|
|
70191
70485
|
/* @__PURE__ */ jsx("div", { className: styles$3v.content, children })
|
|
70192
70486
|
] });
|
|
@@ -70350,7 +70644,7 @@ const ProductTile = ({
|
|
|
70350
70644
|
}) => /* @__PURE__ */ jsx(
|
|
70351
70645
|
"button",
|
|
70352
70646
|
{
|
|
70353
|
-
className:
|
|
70647
|
+
className: clsx(styles$3r.root, className),
|
|
70354
70648
|
type: "button",
|
|
70355
70649
|
onClick,
|
|
70356
70650
|
children: /* @__PURE__ */ jsx("div", { className: styles$3r.content, children: /* @__PURE__ */ jsx("div", { className: styles$3r.icon, children }) })
|
|
@@ -70411,7 +70705,7 @@ const ProfileCard = () => {
|
|
|
70411
70705
|
const [state, setState] = useState(
|
|
70412
70706
|
"about"
|
|
70413
70707
|
);
|
|
70414
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
70708
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx(styles$3q.root, { [styles$3q.isActive]: isActive }), children: [
|
|
70415
70709
|
/* @__PURE__ */ jsxs("div", { className: styles$3q.header, children: [
|
|
70416
70710
|
/* @__PURE__ */ jsx(
|
|
70417
70711
|
"div",
|
|
@@ -70437,7 +70731,7 @@ const ProfileCard = () => {
|
|
|
70437
70731
|
/* @__PURE__ */ jsxs(
|
|
70438
70732
|
"div",
|
|
70439
70733
|
{
|
|
70440
|
-
className:
|
|
70734
|
+
className: clsx(styles$3q.section, {
|
|
70441
70735
|
[styles$3q.isActive]: state === "about"
|
|
70442
70736
|
}),
|
|
70443
70737
|
id: "about",
|
|
@@ -70462,7 +70756,7 @@ const ProfileCard = () => {
|
|
|
70462
70756
|
/* @__PURE__ */ jsx(
|
|
70463
70757
|
"div",
|
|
70464
70758
|
{
|
|
70465
|
-
className:
|
|
70759
|
+
className: clsx(styles$3q.section, {
|
|
70466
70760
|
[styles$3q.isActive]: state === "experience"
|
|
70467
70761
|
}),
|
|
70468
70762
|
id: "experience",
|
|
@@ -70504,7 +70798,7 @@ const ProfileCard = () => {
|
|
|
70504
70798
|
/* @__PURE__ */ jsx(
|
|
70505
70799
|
"div",
|
|
70506
70800
|
{
|
|
70507
|
-
className:
|
|
70801
|
+
className: clsx(styles$3q.section, {
|
|
70508
70802
|
[styles$3q.isActive]: state === "contact"
|
|
70509
70803
|
}),
|
|
70510
70804
|
id: "contact",
|
|
@@ -70574,7 +70868,7 @@ const ProfileCard = () => {
|
|
|
70574
70868
|
/* @__PURE__ */ jsx(
|
|
70575
70869
|
"button",
|
|
70576
70870
|
{
|
|
70577
|
-
className:
|
|
70871
|
+
className: clsx(styles$3q.button, {
|
|
70578
70872
|
[styles$3q.isActive]: state === "about"
|
|
70579
70873
|
}),
|
|
70580
70874
|
onClick: () => {
|
|
@@ -70587,7 +70881,7 @@ const ProfileCard = () => {
|
|
|
70587
70881
|
/* @__PURE__ */ jsx(
|
|
70588
70882
|
"button",
|
|
70589
70883
|
{
|
|
70590
|
-
className:
|
|
70884
|
+
className: clsx(styles$3q.button, {
|
|
70591
70885
|
[styles$3q.isActive]: state === "experience"
|
|
70592
70886
|
}),
|
|
70593
70887
|
onClick: () => {
|
|
@@ -70600,7 +70894,7 @@ const ProfileCard = () => {
|
|
|
70600
70894
|
/* @__PURE__ */ jsx(
|
|
70601
70895
|
"button",
|
|
70602
70896
|
{
|
|
70603
|
-
className:
|
|
70897
|
+
className: clsx(styles$3q.button, {
|
|
70604
70898
|
[styles$3q.isActive]: state === "contact"
|
|
70605
70899
|
}),
|
|
70606
70900
|
onClick: () => {
|
|
@@ -70640,7 +70934,7 @@ const ShineCard = ({ children, className, style, ...props }) => {
|
|
|
70640
70934
|
return /* @__PURE__ */ jsx(
|
|
70641
70935
|
"div",
|
|
70642
70936
|
{
|
|
70643
|
-
className:
|
|
70937
|
+
className: clsx(styles$3o.shineCard, className),
|
|
70644
70938
|
style,
|
|
70645
70939
|
...props,
|
|
70646
70940
|
children
|
|
@@ -70839,7 +71133,7 @@ const CardCarouselItem = ({
|
|
|
70839
71133
|
hrefTitle,
|
|
70840
71134
|
active
|
|
70841
71135
|
}) => {
|
|
70842
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
71136
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx(styles$3l.item, { [styles$3l.active]: active }), children: [
|
|
70843
71137
|
/* @__PURE__ */ jsx(
|
|
70844
71138
|
"div",
|
|
70845
71139
|
{
|
|
@@ -71094,7 +71388,7 @@ const FullScreenImageCarousel = () => {
|
|
|
71094
71388
|
"button",
|
|
71095
71389
|
{
|
|
71096
71390
|
type: "button",
|
|
71097
|
-
className:
|
|
71391
|
+
className: clsx(styles$3j.btn, styles$3j.prev),
|
|
71098
71392
|
onClick: handlePrevClick,
|
|
71099
71393
|
"aria-controls": "fullscreen-image-carousel-slides",
|
|
71100
71394
|
"aria-label": "Previous slide",
|
|
@@ -71105,7 +71399,7 @@ const FullScreenImageCarousel = () => {
|
|
|
71105
71399
|
"button",
|
|
71106
71400
|
{
|
|
71107
71401
|
type: "button",
|
|
71108
|
-
className:
|
|
71402
|
+
className: clsx(styles$3j.btn, styles$3j.next),
|
|
71109
71403
|
onClick: throttledHandleNextClick,
|
|
71110
71404
|
"aria-controls": "fullscreen-image-carousel-slides",
|
|
71111
71405
|
"aria-label": "Next slide",
|
|
@@ -71267,7 +71561,7 @@ const GalleryReverseScroll = () => {
|
|
|
71267
71561
|
return { firstColumn: first, secondColumn: second, thirdColumn: third };
|
|
71268
71562
|
}, []);
|
|
71269
71563
|
return /* @__PURE__ */ jsxs("div", { className: styles$3i.root, children: [
|
|
71270
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
71564
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3i.column, styles$3i.reverse), children: firstColumn.map((record, i) => /* @__PURE__ */ jsxs("figure", { className: styles$3i.columnItem, children: [
|
|
71271
71565
|
/* @__PURE__ */ jsx("div", { className: styles$3i.itemImgWrap, children: /* @__PURE__ */ jsx("img", { src: record.url, alt: "", height: "", width: "" }) }),
|
|
71272
71566
|
/* @__PURE__ */ jsxs("figcaption", { className: styles$3i.itemCaption, children: [
|
|
71273
71567
|
/* @__PURE__ */ jsx("span", { children: record.description }),
|
|
@@ -71283,7 +71577,7 @@ const GalleryReverseScroll = () => {
|
|
|
71283
71577
|
/* @__PURE__ */ jsx("span", { children: record.date })
|
|
71284
71578
|
] })
|
|
71285
71579
|
] }, i)) }),
|
|
71286
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
71580
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$3i.column, styles$3i.reverse), children: thirdColumn.map((record, i) => /* @__PURE__ */ jsxs("figure", { className: styles$3i.columnItem, children: [
|
|
71287
71581
|
/* @__PURE__ */ jsx("div", { className: styles$3i.itemImgWrap, children: /* @__PURE__ */ jsx("img", { src: record.url, alt: "", height: "", width: "" }) }),
|
|
71288
71582
|
/* @__PURE__ */ jsxs("figcaption", { className: styles$3i.itemCaption, children: [
|
|
71289
71583
|
/* @__PURE__ */ jsx("span", { children: record.description }),
|
|
@@ -71698,7 +71992,7 @@ const Scroller = ({
|
|
|
71698
71992
|
}
|
|
71699
71993
|
};
|
|
71700
71994
|
}, [handleScroll, withArrows]);
|
|
71701
|
-
return /* @__PURE__ */ jsx("div", { className: styles$3e.root, children: /* @__PURE__ */ jsx("div", { className: styles$3e.carousel, children: /* @__PURE__ */ jsxs("div", { className:
|
|
71995
|
+
return /* @__PURE__ */ jsx("div", { className: styles$3e.root, children: /* @__PURE__ */ jsx("div", { className: styles$3e.carousel, children: /* @__PURE__ */ jsxs("div", { className: clsx(styles$3e.wrapper, { [styles$3e.hasArrow]: hasArrows }), children: [
|
|
71702
71996
|
/* @__PURE__ */ jsxs("div", { className: styles$3e.header, children: [
|
|
71703
71997
|
/* @__PURE__ */ jsxs("div", { className: styles$3e.heading, children: [
|
|
71704
71998
|
/* @__PURE__ */ jsx("h2", { className: styles$3e.headline, children: headline }),
|
|
@@ -71709,7 +72003,7 @@ const Scroller = ({
|
|
|
71709
72003
|
"button",
|
|
71710
72004
|
{
|
|
71711
72005
|
type: "button",
|
|
71712
|
-
className:
|
|
72006
|
+
className: clsx(styles$3e.arrow, styles$3e.arrowPrev, {
|
|
71713
72007
|
[styles$3e.disabled]: isPrevDisabled
|
|
71714
72008
|
}),
|
|
71715
72009
|
disabled: isPrevDisabled,
|
|
@@ -71732,7 +72026,7 @@ const Scroller = ({
|
|
|
71732
72026
|
"button",
|
|
71733
72027
|
{
|
|
71734
72028
|
type: "button",
|
|
71735
|
-
className:
|
|
72029
|
+
className: clsx(styles$3e.arrow, styles$3e.arrowNext, {
|
|
71736
72030
|
[styles$3e.disabled]: isNextDisabled
|
|
71737
72031
|
}),
|
|
71738
72032
|
disabled: isNextDisabled,
|
|
@@ -71930,10 +72224,10 @@ const Checkbox = ({
|
|
|
71930
72224
|
{
|
|
71931
72225
|
ref,
|
|
71932
72226
|
role: "presentation",
|
|
71933
|
-
className:
|
|
72227
|
+
className: clsx(styles$3b.root, rootClassName),
|
|
71934
72228
|
children: [
|
|
71935
|
-
/* @__PURE__ */ jsx("input", { className:
|
|
71936
|
-
/* @__PURE__ */ jsx("span", { role: "presentation", className:
|
|
72229
|
+
/* @__PURE__ */ jsx("input", { className: clsx(styles$3b.realbox, inputClassName), type: "checkbox" }),
|
|
72230
|
+
/* @__PURE__ */ jsx("span", { role: "presentation", className: clsx(styles$3b.fauxbox, className) })
|
|
71937
72231
|
]
|
|
71938
72232
|
}
|
|
71939
72233
|
);
|
|
@@ -72111,7 +72405,7 @@ const StrikethroughCheckbox = ({
|
|
|
72111
72405
|
/* @__PURE__ */ jsx(
|
|
72112
72406
|
"input",
|
|
72113
72407
|
{
|
|
72114
|
-
className:
|
|
72408
|
+
className: clsx(styles$39.input, { [styles$39.pristine]: pristine }),
|
|
72115
72409
|
type: "checkbox",
|
|
72116
72410
|
name: typeof children === "string" ? children : void 0,
|
|
72117
72411
|
defaultChecked,
|
|
@@ -72156,7 +72450,7 @@ const Chips = () => {
|
|
|
72156
72450
|
return /* @__PURE__ */ jsx("div", { className: styles$38.root, children: /* @__PURE__ */ jsx("div", { className: styles$38.wrapper, children: /* @__PURE__ */ jsxs(
|
|
72157
72451
|
"div",
|
|
72158
72452
|
{
|
|
72159
|
-
className:
|
|
72453
|
+
className: clsx(styles$38.chips, styles$38.chipsInitial, styles$38.inputField),
|
|
72160
72454
|
children: [
|
|
72161
72455
|
chips.map((chip, i) => /* @__PURE__ */ jsxs("div", { className: styles$38.chip, children: [
|
|
72162
72456
|
chip,
|
|
@@ -72371,6 +72665,41 @@ function translateY(distance) {
|
|
|
72371
72665
|
|
|
72372
72666
|
var e$2=function(t){return "number"==typeof t},i$5=function(t){return "function"==typeof t},n=function(t){return "[object Object]"===Object.prototype.toString.call(t)},r=function(t){return Array.prototype.slice.apply(t)},s$1=function(t){var e=t.reduce(function(t,e){return t[e]=(t[e]||0)+1,t},{});return Object.keys(e).filter(function(t){return e[t]>1})};function a$2(t){return [].slice.call(arguments,1).forEach(function(e){if(e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);}),t}var o,l=function(t,e,i){return t+(e-t)*i},p={__proto__:null,isNumber:e$2,isFunction:i$5,isObject:n,toArray:r,getDuplicateValsAsStrings:s$1,assign:a$2,tweenProp:l},c$2="data-flip-id",u$2="data-inverse-flip-id",d$2="data-portal-key",f$3="data-exit-container",h$1={__proto__:null,DATA_FLIP_ID:c$2,DATA_INVERSE_FLIP_ID:u$2,DATA_FLIP_CONFIG:"data-flip-config",DATA_PORTAL_KEY:d$2},g$1={noWobble:{stiffness:200,damping:26},gentle:{stiffness:120,damping:14},veryGentle:{stiffness:130,damping:17},wobbly:{stiffness:180,damping:12},stiff:{stiffness:260,damping:26}},m$1=function(t){return n(t)?t:Object.keys(g$1).indexOf(t)>-1?g$1[t]:{}};"undefined"!=typeof window&&(o=window.requestAnimationFrame);var v$1=o=o||function(t){window.setTimeout(t,1e3/60);},y$1=Date.now(),_="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()-y$1};function S(t,e){var i=t.indexOf(e);-1!==i&&t.splice(i,1);}var E$1=/*#__PURE__*/function(){function t(){}return t.prototype.run=function(){var t=this;v$1(function(){t.springSystem.loop(_());});},t}(),A$1=function(){this.position=0,this.velocity=0;},C=0,b$1=.001,I=/*#__PURE__*/function(){function t(t){this._id="s"+C++,this._springSystem=t,this.listeners=[],this._startValue=0,this._currentState=new A$1,this._displacementFromRestThreshold=.001,this._endValue=0,this._overshootClampingEnabled=false,this._previousState=new A$1,this._restSpeedThreshold=.001,this._tempState=new A$1,this._timeAccumulator=0,this._wasAtRest=true,this._cachedSpringConfig={};}var e=t.prototype;return e.getId=function(){return this._id},e.destroy=function(){this.listeners=[],this._springSystem.deregisterSpring(this);},e.setSpringConfig=function(t){return this._springConfig=t,this},e.getCurrentValue=function(){return this._currentState.position},e.getDisplacementDistanceForState=function(t){return Math.abs(this._endValue-t.position)},e.setEndValue=function(t){if(t===this._endValue)return this;if(this.prevEndValue=t,this._endValue===t&&this.isAtRest())return this;this._startValue=this.getCurrentValue(),this._endValue=t,this._springSystem.activateSpring(this.getId());for(var e=0,i=this.listeners.length;e<i;e++){var n=this.listeners[e].onSpringEndStateChange;n&&n(this);}return this},e.setVelocity=function(t){return t===this._currentState.velocity||(this._currentState.velocity=t,this._springSystem.activateSpring(this.getId())),this},e.setCurrentValue=function(t){this._startValue=t,this._currentState.position=t;for(var e=0,i=this.listeners.length;e<i;e++){var n=this.listeners[e];n.onSpringUpdate&&n.onSpringUpdate(this);}return this},e.setAtRest=function(){return this._endValue=this._currentState.position,this._tempState.position=this._currentState.position,this._currentState.velocity=0,this},e.setOvershootClampingEnabled=function(t){return this._overshootClampingEnabled=t,this},e.isOvershooting=function(){var t=this._startValue,e=this._endValue;return this._springConfig.tension>0&&(t<e&&this.getCurrentValue()>e||t>e&&this.getCurrentValue()<e)},e.advance=function(t,e){var i=this.isAtRest();if(!i||!this._wasAtRest){var n=e;e>.064&&(n=.064),this._timeAccumulator+=n;for(var r,s,a,o,l,p,c=this._springConfig.tension,u=this._springConfig.friction,d=this._currentState.position,f=this._currentState.velocity,h=this._tempState.position,g=this._tempState.velocity;this._timeAccumulator>=b$1;)this._timeAccumulator-=b$1,this._timeAccumulator<b$1&&(this._previousState.position=d,this._previousState.velocity=f),s=c*(this._endValue-h)-u*f,o=c*(this._endValue-(h=d+(r=f)*b$1*.5))-u*(g=f+s*b$1*.5),p=c*(this._endValue-(h=d+(a=g)*b$1*.5))-u*(g=f+o*b$1*.5),h=d+(l=g)*b$1,d+=1/6*(r+2*(a+l)+(g=f+p*b$1))*b$1,f+=1/6*(s+2*(o+p)+(c*(this._endValue-h)-u*g))*b$1;this._tempState.position=h,this._tempState.velocity=g,this._currentState.position=d,this._currentState.velocity=f,this._timeAccumulator>0&&this._interpolate(this._timeAccumulator/b$1),(this.isAtRest()||this._overshootClampingEnabled&&this.isOvershooting())&&(this._springConfig.tension>0?(this._startValue=this._endValue,this._currentState.position=this._endValue):(this._endValue=this._currentState.position,this._startValue=this._endValue),this.setVelocity(0),i=true);var m=false;this._wasAtRest&&(this._wasAtRest=false,m=true);var v=false;i&&(this._wasAtRest=true,v=true),this.notifyPositionUpdated(m,v);}},e.notifyPositionUpdated=function(t,e){var i=this;this.listeners.filter(Boolean).forEach(function(n){t&&n.onSpringActivate&&!i._onActivateCalled&&(n.onSpringActivate(i),i._onActivateCalled=true),n.onSpringUpdate&&n.onSpringUpdate(i),e&&n.onSpringAtRest&&n.onSpringAtRest(i);});},e.systemShouldAdvance=function(){return !this.isAtRest()||!this.wasAtRest()},e.wasAtRest=function(){return this._wasAtRest},e.isAtRest=function(){return Math.abs(this._currentState.velocity)<this._restSpeedThreshold&&(this.getDisplacementDistanceForState(this._currentState)<=this._displacementFromRestThreshold||0===this._springConfig.tension)},e._interpolate=function(t){this._currentState.position=this._currentState.position*t+this._previousState.position*(1-t),this._currentState.velocity=this._currentState.velocity*t+this._previousState.velocity*(1-t);},e.addListener=function(t){return this.listeners.push(t),this},e.addOneTimeListener=function(t){var e=this;return Object.keys(t).forEach(function(i){var n;t[i]=(n=t[i],function(){n.apply(void 0,[].slice.call(arguments)),e.removeListener(t);});}),this.listeners.push(t),this},e.removeListener=function(t){return S(this.listeners,t),this},t}(),w=/*#__PURE__*/function(){function t(t){this.looper=t||new E$1,this.looper.springSystem=this,this.listeners=[],this._activeSprings=[],this._idleSpringIndices=[],this._isIdle=true,this._lastTimeMillis=-1,this._springRegistry={};}var e=t.prototype;return e.createSpring=function(t,e){return this.createSpringWithConfig({tension:t,friction:e})},e.createSpringWithConfig=function(t){var e=new I(this);return this.registerSpring(e),e.setSpringConfig(t),e},e.getIsIdle=function(){return this._isIdle},e.registerSpring=function(t){this._springRegistry[t.getId()]=t;},e.deregisterSpring=function(t){S(this._activeSprings,t),delete this._springRegistry[t.getId()];},e.advance=function(t,e){for(var i=this;this._idleSpringIndices.length>0;)this._idleSpringIndices.pop();for(this._activeSprings.filter(Boolean).forEach(function(n){n.systemShouldAdvance()?n.advance(t/1e3,e/1e3):i._idleSpringIndices.push(i._activeSprings.indexOf(n));});this._idleSpringIndices.length>0;){var n=this._idleSpringIndices.pop();n>=0&&this._activeSprings.splice(n,1);}},e.loop=function(t){var e;-1===this._lastTimeMillis&&(this._lastTimeMillis=t-1);var i=t-this._lastTimeMillis;this._lastTimeMillis=t;var n=0,r=this.listeners.length;for(n=0;n<r;n++)(e=this.listeners[n]).onBeforeIntegrate&&e.onBeforeIntegrate(this);for(this.advance(t,i),0===this._activeSprings.length&&(this._isIdle=true,this._lastTimeMillis=-1),n=0;n<r;n++)(e=this.listeners[n]).onAfterIntegrate&&e.onAfterIntegrate(this);this._isIdle||this.looper.run();},e.activateSpring=function(t){var e=this._springRegistry[t];-1===this._activeSprings.indexOf(e)&&this._activeSprings.push(e),this.getIsIdle()&&(this._isIdle=false,this.looper.run());},t}(),O=new w,x=function(t){var e=t.springConfig,i=e.overshootClamping,n=t.getOnUpdateFunc,r=t.onAnimationEnd,s=t.onSpringActivate,a=O.createSpring(e.stiffness,e.damping);a.setOvershootClampingEnabled(!!i);var o={onSpringActivate:s,onSpringAtRest:function(){a.destroy(),r();},onSpringUpdate:n({spring:a,onAnimationEnd:r})};return a.addListener(o),a},U$1=function(t){var e=x(t);return e.setEndValue(1),e},V$2=function(t,e){if(void 0===e&&(e={}),t&&t.length){e.reverse&&t.reverse();var i,n="number"!=typeof(i=e.speed)?1.1:1+Math.min(Math.max(5*i,0),5),r=1/Math.max(Math.min(t.length,100),10),s=t.map(function(t,e){var i=t.getOnUpdateFunc;return t.getOnUpdateFunc=function(t){var a=i(t);return function(t){var i=t.getCurrentValue();(i=i<.01?0:i>.99?1:i)>=r&&s[e+1]&&s[e+1](Math.max(Math.min(i*n,1),0)),a(t);}},t}).map(function(t){var e=x(t);if(e)return e.setEndValue.bind(e)}).filter(Boolean);s[0]&&s[0](1);}},F$1=function(t){return [0,1,4,5,12,13].map(function(e){return t[e]})},P=function(t){return t.top<window.innerHeight&&t.bottom>0&&t.left<window.innerWidth&&t.right>0};function D(t){return JSON.parse(t.dataset.flipConfig||"{}")}var R=function(t,e){var i;return a$2(t,((i={})[e[0]]=e[1],i))},T$1=function(t,e){return r(e?document.querySelectorAll("["+d$2+'="'+e+'"]'):t.querySelectorAll("["+c$2+"]"))},M=function(t){return t.map(function(t){return [t,t.getBoundingClientRect()]})},L$1=function(n){var o=n.cachedOrderedFlipIds,p=void 0===o?[]:o,f=n.inProgressAnimations,h=void 0===f?{}:f,v=n.flippedElementPositionsBeforeUpdate,y=void 0===v?{}:v,_=n.flipCallbacks,S=void 0===_?{}:_,E=n.containerEl,A=n.applyTransformOrigin,C=n.spring,b=n.debug,I=n.portalKey,w=n.staggerConfig,O=void 0===w?{}:w,x=n.decisionData,j=void 0===x?{}:x,B=n.handleEnterUpdateDelete,N=n.onComplete,L=n.onStart;if(!window.matchMedia("(prefers-reduced-motion: reduce)").matches){var q,X=M(T$1((q={element:E,portalKey:I}).element,q.portalKey)).map(function(t){var e=t[0],i=t[1],n=window.getComputedStyle(e);return [e.dataset.flipId,{element:e,rect:i,opacity:parseFloat(n.opacity),transform:n.transform}]}).reduce(R,{}),Y=function(t){var e=t.containerEl,i=t.portalKey;return i?function(t){return function(e){return r(document.querySelectorAll("["+d$2+'="'+t+'"]'+e))}}(i):e?function(t){var e=Math.random().toFixed(5);return t.dataset.flipperId=e,function(i){return r(t.querySelectorAll('[data-flipper-id="'+e+'"] '+i))}}(e):function(){return []}}({containerEl:E,portalKey:I}),W=function(t){return function(e){return t("["+c$2+'="'+e+'"]')[0]}}(Y),K=function(t){return y[t]&&X[t]},H=Object.keys(y).concat(Object.keys(X)).filter(function(t){return !K(t)}),J={flipCallbacks:S,getElement:W,flippedElementPositionsBeforeUpdate:y,flippedElementPositionsAfterUpdate:X,inProgressAnimations:h,decisionData:j},z=function(t){var e,i=t.unflippedIds,n=t.flipCallbacks,r=t.getElement,s=t.flippedElementPositionsBeforeUpdate,a=t.flippedElementPositionsAfterUpdate,o=t.inProgressAnimations,l=t.decisionData,p=i.filter(function(t){return a[t]}).filter(function(t){return n[t]&&n[t].onAppear}),c=i.filter(function(t){return s[t]&&n[t]&&n[t].onExit}),u=new Promise(function(t){e=t;}),d=[],f=0,h=c.map(function(t,i){var r=s[t].domDataForExitAnimations,a=r.element,p=r.parent,c=r.childPosition,u=c.top,h=c.left,g=c.width,m=c.height;"static"===getComputedStyle(p).position&&(p.style.position="relative"),a.style.transform="matrix(1, 0, 0, 1, 0, 0)",a.style.position="absolute",a.style.top=u+"px",a.style.left=h+"px",a.style.height=m+"px",a.style.width=g+"px";var v=d.filter(function(t){return t[0]===p})[0];v||(v=[p,document.createDocumentFragment()],d.push(v)),v[1].appendChild(a),f+=1;var y=function(){try{p.removeChild(a);}catch(t){}finally{0==(f-=1)&&e();}};return o[t]={stop:y},function(){return n[t].onExit(a,i,y,l)}});return d.forEach(function(t){t[0].appendChild(t[1]);}),h.length||e(),{hideEnteringElements:function(){p.forEach(function(t){var e=r(t);e&&(e.style.opacity="0");});},animateEnteringElements:function(){p.forEach(function(t,e){var i=r(t);i&&n[t].onAppear(i,e,l);});},animateExitingElements:function(){return h.forEach(function(t){return t()}),u}}}(a$2({},J,{unflippedIds:H})),G=z.hideEnteringElements,Q=z.animateEnteringElements,Z=z.animateExitingElements,$=a$2({},J,{containerEl:E,flippedIds:p.filter(K),applyTransformOrigin:A,spring:C,debug:b,staggerConfig:O,scopedSelector:Y,onComplete:N});L&&L(E,j);var tt=function(n){var o,p=n.flippedIds,c=n.flipCallbacks,d=n.inProgressAnimations,f=n.flippedElementPositionsBeforeUpdate,h=n.flippedElementPositionsAfterUpdate,v=n.applyTransformOrigin,y=n.spring,_=n.getElement,S=n.debug,E=n.staggerConfig,A=void 0===E?{}:E,C=n.decisionData,b=void 0===C?{}:C,I=n.onComplete,w=n.containerEl,O=new Promise(function(t){o=t;});if(I&&O.then(function(){return I(w,b)}),!p.length)return function(){return o([]),O};var x=[],R=_(p[0]),T=R?R.ownerDocument.querySelector("body"):document.querySelector("body");s$1(p);var M=p.map(function(n){var s=f[n].rect,p=h[n].rect,_=f[n].opacity,S=h[n].opacity,E=p.width<1||p.height<1,A=h[n].element;if(!P(s)&&!P(p))return false;if(!A)return false;var C,I,w,O=D(A),U=(w=(I=void 0===(C={flipperSpring:y,flippedSpring:O.spring})?{}:C).flippedSpring,a$2({},g$1.noWobble,m$1(I.flipperSpring),m$1(w))),V=true===O.stagger?"default":O.stagger,R={element:A,id:n,stagger:V,springConfig:U};if(c[n]&&c[n].shouldFlip&&!c[n].shouldFlip(b.previous,b.current))return false;var k=Math.abs(s.left-p.left)+Math.abs(s.top-p.top),j=Math.abs(s.width-p.width)+Math.abs(s.height-p.height),B=Math.abs(S-_);if(0===s.height&&0===p.height||0===s.width&&0===p.width||k<.5&&j<.5&&B<.01)return false;var N=parse$2(h[n].transform),L={matrix:N},q={matrix:[]},X=[N];O.translate&&(X.push(translateX(s.left-p.left)),X.push(translateY(s.top-p.top))),O.scale&&(X.push(scaleX(Math.max(s.width,1)/Math.max(p.width,1))),X.push(scaleY(Math.max(s.height,1)/Math.max(p.height,1)))),O.opacity&&(q.opacity=_,L.opacity=S);var Y=[];if(!c[n]||!c[n].shouldInvert||c[n].shouldInvert(b.previous,b.current)){var W=function(t,e){return r(t.querySelectorAll("["+u$2+'="'+e+'"]'))}(A,n);Y=W.map(function(t){return [t,D(t)]});}q.matrix=F$1(X.reduce(multiply)),L.matrix=F$1(L.matrix);var K,H=function(t){var i=t.element,n=t.invertedChildren,r=t.body;return function(t){var s=t.matrix,a=t.opacity,o=t.forceMinVals;if(e$2(a)&&(i.style.opacity=a+""),o&&(i.style.minHeight="1px",i.style.minWidth="1px"),s){var l=function(t){return "matrix("+t.join(", ")+")"}(s);i.style.transform=l,n&&function(t){var e=t.matrix,i=t.body;t.invertedChildren.forEach(function(t){var n=t[0],r=t[1];if(i.contains(n)){var s=e[0],a=e[3],o=e[5],l={translateX:0,translateY:0,scaleX:1,scaleY:1},p="";r.translate&&(l.translateX=-e[4]/s,l.translateY=-o/a,p+="translate("+l.translateX+"px, "+l.translateY+"px)"),r.scale&&(l.scaleX=1/s,l.scaleY=1/a,p+=" scale("+l.scaleX+", "+l.scaleY+")"),n.style.transform=p;}});}({invertedChildren:n,matrix:s,body:r});}}}({element:A,invertedChildren:Y,body:T});if(c[n]&&c[n].onComplete){var J=c[n].onComplete;K=function(){return J(A,b)};}var z=e$2(q.opacity)&&e$2(L.opacity)&&q.opacity!==L.opacity,G=false;return a$2({},R,{stagger:V,springConfig:U,getOnUpdateFunc:function(t){var e=t.spring,i=t.onAnimationEnd;return d[n]={destroy:e.destroy.bind(e),onAnimationEnd:i},function(t){c[n]&&c[n].onSpringUpdate&&c[n].onSpringUpdate(t.getCurrentValue()),G||(G=true,c[n]&&c[n].onStart&&c[n].onStart(A,b));var e=t.getCurrentValue();if(T.contains(A)){var i={matrix:[]};i.matrix=q.matrix.map(function(t,i){return l(t,L.matrix[i],e)}),z&&(i.opacity=l(q.opacity,L.opacity,e)),H(i);}else t.destroy();}},initializeFlip:function(){H({matrix:q.matrix,opacity:z?q.opacity:void 0,forceMinVals:E}),c[n]&&c[n].onStartImmediate&&c[n].onStartImmediate(A,b),O.transformOrigin?A.style.transformOrigin=O.transformOrigin:v&&(A.style.transformOrigin="0 0"),Y.forEach(function(t){var e=t[0],i=t[1];i.transformOrigin?e.style.transformOrigin=i.transformOrigin:v&&(e.style.transformOrigin="0 0");});},onAnimationEnd:function(t){delete d[n],i$5(K)&&K(),A.style.transform="",Y.forEach(function(t){t[0].style.transform="";}),E&&A&&(A.style.minHeight="",A.style.minWidth=""),t||(x.push(n),x.length>=M.length&&o(x));},delayUntil:O.delayUntil})}).filter(Boolean);if(M.forEach(function(t){return (0, t.initializeFlip)()}),S)return function(){};var k=M.filter(function(t){return t.delayUntil&&(e=t.delayUntil,M.filter(function(t){return t.id===e}).length);var e;}),j={},B={},N={};k.forEach(function(t){t.stagger?(N[t.stagger]=true,B[t.delayUntil]?B[t.delayUntil].push(t.stagger):B[t.delayUntil]=[t.stagger]):j[t.delayUntil]?j[t.delayUntil].push(t):j[t.delayUntil]=[t];});var L=M.filter(function(t){return t.stagger}).reduce(function(t,e){return t[e.stagger]?t[e.stagger].push(e):t[e.stagger]=[e],t},{}),q=M.filter(function(t){return -1===k.indexOf(t)});return q.forEach(function(t){t.onSpringActivate=function(){j[t.id]&&j[t.id].forEach(U$1),B[t.id]&&Object.keys(B[t.id].reduce(function(t,e){var i;return a$2(t,((i={})[e]=true,i))},{})).forEach(function(t){V$2(L[t],A[t]);});};}),function(){return M.length||o([]),q.filter(function(t){return !t.stagger}).forEach(U$1),Object.keys(L).forEach(function(t){N[t]||V$2(L[t],A[t]);}),O}}($);B?B({hideEnteringElements:G,animateEnteringElements:Q,animateExitingElements:Z,animateFlippedElements:tt}):(G(),Z().then(Q),tt());}},q=function(t){var e=t.element,i=t.flipCallbacks,n=void 0===i?{}:i,s=t.inProgressAnimations,o=void 0===s?{}:s,l=T$1(e,t.portalKey),p=r(e.querySelectorAll("["+u$2+"]")),c={},d=[],h={};l.filter(function(t){return n&&n[t.dataset.flipId]&&n[t.dataset.flipId].onExit}).forEach(function(t){var e=t.parentNode;if(t.closest){var i=t.closest("["+f$3+"]");i&&(e=i);}var n=d.findIndex(function(t){return t[0]===e});-1===n&&(d.push([e,e.getBoundingClientRect()]),n=d.length-1),c[t.dataset.flipId]=d[n][1],h[t.dataset.flipId]=e;});var g=M(l),m=g.map(function(t){var e=t[0],i=t[1],r={};if(n&&n[e.dataset.flipId]&&n[e.dataset.flipId].onExit){var s=c[e.dataset.flipId];a$2(r,{element:e,parent:h[e.dataset.flipId],childPosition:{top:i.top-s.top,left:i.left-s.left,width:i.width,height:i.height}});}return [e.dataset.flipId,{rect:i,opacity:parseFloat(window.getComputedStyle(e).opacity||"1"),domDataForExitAnimations:r}]}).reduce(R,{});return function(t,e){Object.keys(t).forEach(function(e){t[e].destroy&&t[e].destroy(),t[e].onAnimationEnd&&t[e].onAnimationEnd(true),delete t[e];}),e.forEach(function(t){t.style.transform="",t.style.opacity="";});}(o,l.concat(p)),{flippedElementPositions:m,cachedOrderedFlipIds:g.map(function(t){return t[0].dataset.flipId})}};new w;
|
|
72373
72667
|
|
|
72668
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
72669
|
+
|
|
72670
|
+
function getDefaultExportFromCjs (x) {
|
|
72671
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
72672
|
+
}
|
|
72673
|
+
|
|
72674
|
+
function getAugmentedNamespace(n) {
|
|
72675
|
+
if (Object.prototype.hasOwnProperty.call(n, '__esModule')) return n;
|
|
72676
|
+
var f = n.default;
|
|
72677
|
+
if (typeof f == "function") {
|
|
72678
|
+
var a = function a () {
|
|
72679
|
+
var isInstance = false;
|
|
72680
|
+
try {
|
|
72681
|
+
isInstance = this instanceof a;
|
|
72682
|
+
} catch {}
|
|
72683
|
+
if (isInstance) {
|
|
72684
|
+
return Reflect.construct(f, arguments, this.constructor);
|
|
72685
|
+
}
|
|
72686
|
+
return f.apply(this, arguments);
|
|
72687
|
+
};
|
|
72688
|
+
a.prototype = f.prototype;
|
|
72689
|
+
} else a = {};
|
|
72690
|
+
Object.defineProperty(a, '__esModule', {value: true});
|
|
72691
|
+
Object.keys(n).forEach(function (k) {
|
|
72692
|
+
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
72693
|
+
Object.defineProperty(a, k, d.get ? d : {
|
|
72694
|
+
enumerable: true,
|
|
72695
|
+
get: function () {
|
|
72696
|
+
return n[k];
|
|
72697
|
+
}
|
|
72698
|
+
});
|
|
72699
|
+
});
|
|
72700
|
+
return a;
|
|
72701
|
+
}
|
|
72702
|
+
|
|
72374
72703
|
function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);}return e},s.apply(this,arguments)}function c$1(e,t){return c$1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c$1(e,t)}function d$1(e,t){if(null==e)return {};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)t.indexOf(r=o[n])>=0||(i[r]=e[r]);return i}var f$2=/*#__PURE__*/createContext({}),u$1=/*#__PURE__*/createContext("portal"),h=/*#__PURE__*/function(r){var n,o;function p(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return (e=r.call.apply(r,[this].concat(n))||this).inProgressAnimations={},e.flipCallbacks={},e.el=void 0,e}o=r,(n=p).prototype=Object.create(o.prototype),n.prototype.constructor=n,c$1(n,o);var l=p.prototype;return l.getSnapshotBeforeUpdate=function(t){return t.flipKey!==this.props.flipKey&&this.el?q({element:this.el,flipCallbacks:this.flipCallbacks,inProgressAnimations:this.inProgressAnimations,portalKey:this.props.portalKey}):null},l.componentDidUpdate=function(e,r,n){this.props.flipKey!==e.flipKey&&this.el&&L$1({flippedElementPositionsBeforeUpdate:n.flippedElementPositions,cachedOrderedFlipIds:n.cachedOrderedFlipIds,containerEl:this.el,inProgressAnimations:this.inProgressAnimations,flipCallbacks:this.flipCallbacks,applyTransformOrigin:this.props.applyTransformOrigin,spring:this.props.spring,debug:this.props.debug,portalKey:this.props.portalKey,staggerConfig:this.props.staggerConfig,handleEnterUpdateDelete:this.props.handleEnterUpdateDelete,decisionData:{previous:e.decisionData,current:this.props.decisionData},onComplete:this.props.onComplete,onStart:this.props.onStart});},l.render=function(){var e=this,t=this.props,r=t.portalKey,n=/*#__PURE__*/React__default.createElement(f$2.Provider,{value:this.flipCallbacks},/*#__PURE__*/React__default.createElement(t.element,{className:t.className,ref:function(t){return e.el=t}},this.props.children));return r&&(n=/*#__PURE__*/React__default.createElement(u$1.Provider,{value:r},n)),n},p}(Component);h.defaultProps={applyTransformOrigin:true,element:"div"};var m=["children","flipId","inverseFlipId","portalKey"],y=["children","flipId","shouldFlip","shouldInvert","onAppear","onStart","onStartImmediate","onComplete","onExit","onSpringUpdate"],g=function(e){var t,i=e.children,o=e.flipId,p$1=e.inverseFlipId,s=e.portalKey,c=d$1(e,m),f=i,u=function(e){return "function"==typeof e}(f);if(!u)try{f=Children.only(i);}catch(e){throw new Error("Each Flipped component must wrap a single child")}c.scale||c.translate||c.opacity||p.assign(c,{translate:true,scale:true,opacity:true});var h=((t={})[h$1.DATA_FLIP_CONFIG]=JSON.stringify(c),t);return void 0!==o?h[h$1.DATA_FLIP_ID]=String(o):p$1&&(h[h$1.DATA_INVERSE_FLIP_ID]=String(p$1)),void 0!==s&&(h[h$1.DATA_PORTAL_KEY]=s),u?f(h):/*#__PURE__*/cloneElement(f,h)},v=function(e){var t=e.children,n=e.flipId,o=e.shouldFlip,p$1=e.shouldInvert,l=e.onAppear,a=e.onStart,c=e.onStartImmediate,h=e.onComplete,m=e.onExit,v=e.onSpringUpdate,I=d$1(e,y);return t?I.inverseFlipId?/*#__PURE__*/React__default.createElement(g,s({},I),t):/*#__PURE__*/React__default.createElement(u$1.Consumer,null,function(e){return React__default.createElement(f$2.Consumer,null,function(d){return p.isObject(d)&&n&&(d[n]={shouldFlip:o,shouldInvert:p$1,onAppear:l,onStart:a,onStartImmediate:c,onComplete:h,onExit:m,onSpringUpdate:v}),/*#__PURE__*/React__default.createElement(g,s({flipId:n},I,{portalKey:e}),t)})}):null};v.displayName="Flipped";
|
|
72375
72704
|
|
|
72376
72705
|
// THIS FILE IS AUTO GENERATED
|
|
@@ -72481,7 +72810,7 @@ const DailClock = () => {
|
|
|
72481
72810
|
/* @__PURE__ */ jsx(
|
|
72482
72811
|
"div",
|
|
72483
72812
|
{
|
|
72484
|
-
className:
|
|
72813
|
+
className: clsx(styles$36.seconds, { [styles$36.pause]: seconds === 0 }),
|
|
72485
72814
|
style: {
|
|
72486
72815
|
"--dRotate": `${6 * seconds}deg`
|
|
72487
72816
|
},
|
|
@@ -72491,7 +72820,7 @@ const DailClock = () => {
|
|
|
72491
72820
|
/* @__PURE__ */ jsx(
|
|
72492
72821
|
"div",
|
|
72493
72822
|
{
|
|
72494
|
-
className:
|
|
72823
|
+
className: clsx(styles$36.minutes, { [styles$36.pause]: minutes === 0 }),
|
|
72495
72824
|
style: {
|
|
72496
72825
|
"--dRotate": `${6 * minutes}deg`
|
|
72497
72826
|
},
|
|
@@ -72557,7 +72886,7 @@ const MotionClock = () => {
|
|
|
72557
72886
|
/* @__PURE__ */ jsx(
|
|
72558
72887
|
"div",
|
|
72559
72888
|
{
|
|
72560
|
-
className:
|
|
72889
|
+
className: clsx(styles$35.hand, styles$35.hr),
|
|
72561
72890
|
style: {
|
|
72562
72891
|
animationDelay: `${-delays[0]}s`
|
|
72563
72892
|
}
|
|
@@ -72566,7 +72895,7 @@ const MotionClock = () => {
|
|
|
72566
72895
|
/* @__PURE__ */ jsx(
|
|
72567
72896
|
"div",
|
|
72568
72897
|
{
|
|
72569
|
-
className:
|
|
72898
|
+
className: clsx(styles$35.hand, styles$35.min),
|
|
72570
72899
|
style: {
|
|
72571
72900
|
animationDelay: `${-delays[1]}s`
|
|
72572
72901
|
}
|
|
@@ -72575,7 +72904,7 @@ const MotionClock = () => {
|
|
|
72575
72904
|
/* @__PURE__ */ jsx(
|
|
72576
72905
|
"div",
|
|
72577
72906
|
{
|
|
72578
|
-
className:
|
|
72907
|
+
className: clsx(styles$35.hand, styles$35.sec),
|
|
72579
72908
|
style: {
|
|
72580
72909
|
animationDelay: `${-delays[2]}s`
|
|
72581
72910
|
},
|
|
@@ -72629,11 +72958,11 @@ const NeumorphicAnalogClock = ({ className }) => {
|
|
|
72629
72958
|
const secDelay = msInMin * (time % msInMin / msInMin) / msInSec;
|
|
72630
72959
|
return [hrDelay, minDelay, secDelay];
|
|
72631
72960
|
});
|
|
72632
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
72961
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx(styles$34.root, className), children: [
|
|
72633
72962
|
/* @__PURE__ */ jsx(
|
|
72634
72963
|
"div",
|
|
72635
72964
|
{
|
|
72636
|
-
className:
|
|
72965
|
+
className: clsx(styles$34.hand, styles$34.hr),
|
|
72637
72966
|
style: {
|
|
72638
72967
|
animationDelay: `${-delays[0]}s`
|
|
72639
72968
|
}
|
|
@@ -72642,7 +72971,7 @@ const NeumorphicAnalogClock = ({ className }) => {
|
|
|
72642
72971
|
/* @__PURE__ */ jsx(
|
|
72643
72972
|
"div",
|
|
72644
72973
|
{
|
|
72645
|
-
className:
|
|
72974
|
+
className: clsx(styles$34.hand, styles$34.min),
|
|
72646
72975
|
style: {
|
|
72647
72976
|
animationDelay: `${-delays[1]}s`
|
|
72648
72977
|
}
|
|
@@ -72651,7 +72980,7 @@ const NeumorphicAnalogClock = ({ className }) => {
|
|
|
72651
72980
|
/* @__PURE__ */ jsx(
|
|
72652
72981
|
"div",
|
|
72653
72982
|
{
|
|
72654
|
-
className:
|
|
72983
|
+
className: clsx(styles$34.hand, styles$34.sec),
|
|
72655
72984
|
style: {
|
|
72656
72985
|
animationDelay: `${-delays[2]}s`
|
|
72657
72986
|
}
|
|
@@ -72758,7 +73087,7 @@ const CircleTextHover = () => {
|
|
|
72758
73087
|
"div",
|
|
72759
73088
|
{
|
|
72760
73089
|
ref: cursorRef,
|
|
72761
|
-
className:
|
|
73090
|
+
className: clsx(styles$33.cursor, { [styles$33.active]: activeCursor }),
|
|
72762
73091
|
children: [
|
|
72763
73092
|
/* @__PURE__ */ jsx("div", { className: styles$33.icon, children: Icon ? /* @__PURE__ */ jsx(Icon, {}) : null }),
|
|
72764
73093
|
/* @__PURE__ */ jsx("div", { className: styles$33.link, children: inner })
|
|
@@ -73173,7 +73502,7 @@ const MagicMouseEffect = () => {
|
|
|
73173
73502
|
"text-shadow",
|
|
73174
73503
|
`0px 0px 1.5rem rgb(${color} / 0.5)`
|
|
73175
73504
|
);
|
|
73176
|
-
star.className =
|
|
73505
|
+
star.className = clsx(styles$2_.star, config$1.animations[countRef.current % 3]);
|
|
73177
73506
|
star.style.setProperty(
|
|
73178
73507
|
"animation-duration",
|
|
73179
73508
|
ms(config$1.starAnimationDuration)
|
|
@@ -73413,7 +73742,7 @@ const DialControl = ({ limit = true }) => {
|
|
|
73413
73742
|
/* @__PURE__ */ jsx("div", { className: styles$2Z.container, children: /* @__PURE__ */ jsx("div", { className: styles$2Z.nav, children: /* @__PURE__ */ jsx("ul", { className: styles$2Z.list, children: items$j.map((item, index) => /* @__PURE__ */ jsx(
|
|
73414
73743
|
"li",
|
|
73415
73744
|
{
|
|
73416
|
-
className:
|
|
73745
|
+
className: clsx(styles$2Z.item, {
|
|
73417
73746
|
[styles$2Z.active]: active === index
|
|
73418
73747
|
}),
|
|
73419
73748
|
onClick: () => {
|
|
@@ -73449,7 +73778,7 @@ const DialFuturistic = () => {
|
|
|
73449
73778
|
return /* @__PURE__ */ jsx("div", { ref, className: styles$2Y.root, "data-theme": theme, children: /* @__PURE__ */ jsxs(
|
|
73450
73779
|
"div",
|
|
73451
73780
|
{
|
|
73452
|
-
className:
|
|
73781
|
+
className: clsx(styles$2Y.selector, {
|
|
73453
73782
|
[styles$2Y.active]: activeIndex !== null
|
|
73454
73783
|
}),
|
|
73455
73784
|
children: [
|
|
@@ -73544,11 +73873,11 @@ const items$h = [
|
|
|
73544
73873
|
const MetalCircleController = () => {
|
|
73545
73874
|
const [active, setActive] = useState(2);
|
|
73546
73875
|
return /* @__PURE__ */ jsxs("div", { className: styles$2X.root, children: [
|
|
73547
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
73876
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$2X.dial, styles$2X[`pos${active}`]), children: /* @__PURE__ */ jsx("div", { className: styles$2X.grad }) }),
|
|
73548
73877
|
/* @__PURE__ */ jsx("div", { className: styles$2X.container, children: /* @__PURE__ */ jsx("div", { className: styles$2X.nav, children: /* @__PURE__ */ jsx("ul", { className: styles$2X.list, children: items$h.map((item, index) => /* @__PURE__ */ jsx(
|
|
73549
73878
|
"li",
|
|
73550
73879
|
{
|
|
73551
|
-
className:
|
|
73880
|
+
className: clsx(styles$2X.item, {
|
|
73552
73881
|
[styles$2X.active]: active === index
|
|
73553
73882
|
}),
|
|
73554
73883
|
onClick: () => {
|
|
@@ -77764,9 +78093,11 @@ function useRole(context, props) {
|
|
|
77764
78093
|
} : {}, [enabled, reference, floating, item]);
|
|
77765
78094
|
}
|
|
77766
78095
|
|
|
77767
|
-
const tooltip = "
|
|
78096
|
+
const tooltip = "_tooltip_pli88_1";
|
|
78097
|
+
const tooltipContent = "_tooltipContent_pli88_6";
|
|
77768
78098
|
const styles$2R = {
|
|
77769
|
-
tooltip: tooltip
|
|
78099
|
+
tooltip: tooltip,
|
|
78100
|
+
tooltipContent: tooltipContent
|
|
77770
78101
|
};
|
|
77771
78102
|
|
|
77772
78103
|
const Tooltip = ({
|
|
@@ -77777,7 +78108,29 @@ const Tooltip = ({
|
|
|
77777
78108
|
placement = "top",
|
|
77778
78109
|
offset: offsetValue = 8
|
|
77779
78110
|
}) => {
|
|
77780
|
-
const [isOpen, setIsOpen] = useState(
|
|
78111
|
+
const [isOpen, setIsOpen] = useState(true);
|
|
78112
|
+
const shouldReduceMotion = useReducedMotion();
|
|
78113
|
+
const variants = shouldReduceMotion ? void 0 : {
|
|
78114
|
+
initial: { scale: 0.6, opacity: 0 },
|
|
78115
|
+
animate: {
|
|
78116
|
+
scale: 1,
|
|
78117
|
+
opacity: 1,
|
|
78118
|
+
transition: {
|
|
78119
|
+
type: "spring",
|
|
78120
|
+
stiffness: 150,
|
|
78121
|
+
damping: 20,
|
|
78122
|
+
mass: 1.2
|
|
78123
|
+
}
|
|
78124
|
+
},
|
|
78125
|
+
exit: {
|
|
78126
|
+
scale: 0.4,
|
|
78127
|
+
opacity: 0,
|
|
78128
|
+
transition: {
|
|
78129
|
+
duration: 0.1,
|
|
78130
|
+
ease: "easeIn"
|
|
78131
|
+
}
|
|
78132
|
+
}
|
|
78133
|
+
};
|
|
77781
78134
|
const { refs, floatingStyles, context } = useFloating({
|
|
77782
78135
|
open: isOpen,
|
|
77783
78136
|
onOpenChange: setIsOpen,
|
|
@@ -77833,16 +78186,27 @@ const Tooltip = ({
|
|
|
77833
78186
|
};
|
|
77834
78187
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
77835
78188
|
cloneElement(childElement, mergedProps),
|
|
77836
|
-
|
|
78189
|
+
/* @__PURE__ */ jsx(FloatingPortal, { children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", children: isOpen && /* @__PURE__ */ jsx(
|
|
77837
78190
|
"div",
|
|
77838
78191
|
{
|
|
77839
78192
|
ref: refs.setFloating,
|
|
77840
78193
|
style: floatingStyles,
|
|
77841
78194
|
...getFloatingProps(),
|
|
77842
|
-
className:
|
|
77843
|
-
children:
|
|
77844
|
-
|
|
77845
|
-
|
|
78195
|
+
className: styles$2R.tooltip,
|
|
78196
|
+
children: /* @__PURE__ */ jsx(
|
|
78197
|
+
motion.div,
|
|
78198
|
+
{
|
|
78199
|
+
className: clsx(styles$2R.tooltipContent, className),
|
|
78200
|
+
variants,
|
|
78201
|
+
initial: shouldReduceMotion ? void 0 : "initial",
|
|
78202
|
+
animate: shouldReduceMotion ? void 0 : "animate",
|
|
78203
|
+
exit: shouldReduceMotion ? void 0 : "exit",
|
|
78204
|
+
children: label
|
|
78205
|
+
}
|
|
78206
|
+
)
|
|
78207
|
+
},
|
|
78208
|
+
"tooltip"
|
|
78209
|
+
) }) })
|
|
77846
78210
|
] });
|
|
77847
78211
|
}
|
|
77848
78212
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -77855,16 +78219,27 @@ const Tooltip = ({
|
|
|
77855
78219
|
children
|
|
77856
78220
|
}
|
|
77857
78221
|
),
|
|
77858
|
-
|
|
78222
|
+
/* @__PURE__ */ jsx(FloatingPortal, { children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", children: isOpen && /* @__PURE__ */ jsx(
|
|
77859
78223
|
"div",
|
|
77860
78224
|
{
|
|
77861
78225
|
ref: refs.setFloating,
|
|
77862
78226
|
style: floatingStyles,
|
|
77863
78227
|
...getFloatingProps(),
|
|
77864
|
-
className:
|
|
77865
|
-
children:
|
|
77866
|
-
|
|
77867
|
-
|
|
78228
|
+
className: styles$2R.tooltip,
|
|
78229
|
+
children: /* @__PURE__ */ jsx(
|
|
78230
|
+
motion.div,
|
|
78231
|
+
{
|
|
78232
|
+
className: clsx(styles$2R.tooltipContent, className),
|
|
78233
|
+
variants,
|
|
78234
|
+
initial: shouldReduceMotion ? void 0 : "initial",
|
|
78235
|
+
animate: shouldReduceMotion ? void 0 : "animate",
|
|
78236
|
+
exit: shouldReduceMotion ? void 0 : "exit",
|
|
78237
|
+
children: label
|
|
78238
|
+
}
|
|
78239
|
+
)
|
|
78240
|
+
},
|
|
78241
|
+
"tooltip"
|
|
78242
|
+
) }) })
|
|
77868
78243
|
] });
|
|
77869
78244
|
};
|
|
77870
78245
|
|
|
@@ -78083,13 +78458,13 @@ const DockMotionItem = ({
|
|
|
78083
78458
|
"div",
|
|
78084
78459
|
{
|
|
78085
78460
|
ref,
|
|
78086
|
-
className:
|
|
78461
|
+
className: clsx(styles$2S.root, { [styles$2S.block]: type === "block" }),
|
|
78087
78462
|
children: /* @__PURE__ */ jsxs(
|
|
78088
78463
|
ContentElement,
|
|
78089
78464
|
{
|
|
78090
78465
|
ref: scope,
|
|
78091
78466
|
layoutId: itemKey,
|
|
78092
|
-
className:
|
|
78467
|
+
className: clsx(styles$2S.item, className),
|
|
78093
78468
|
onMouseEnter,
|
|
78094
78469
|
style: contentStyle,
|
|
78095
78470
|
"data-action": isInteractive,
|
|
@@ -78161,7 +78536,7 @@ const DockMotion$1 = ({
|
|
|
78161
78536
|
return /* @__PURE__ */ jsxs(
|
|
78162
78537
|
"footer",
|
|
78163
78538
|
{
|
|
78164
|
-
className:
|
|
78539
|
+
className: clsx(styles$2U.root, className),
|
|
78165
78540
|
"data-dock": "motion",
|
|
78166
78541
|
children: [
|
|
78167
78542
|
embedded,
|
|
@@ -78201,7 +78576,7 @@ const DockMotion$1 = ({
|
|
|
78201
78576
|
props.onClick?.(e);
|
|
78202
78577
|
},
|
|
78203
78578
|
mouseX,
|
|
78204
|
-
className:
|
|
78579
|
+
className: clsx(props?.className, styles$2U.child)
|
|
78205
78580
|
});
|
|
78206
78581
|
}
|
|
78207
78582
|
if (item.type === DockMotionDivider) {
|
|
@@ -78263,21 +78638,21 @@ const styles$2O = {
|
|
|
78263
78638
|
|
|
78264
78639
|
const DenseGrid = () => {
|
|
78265
78640
|
return /* @__PURE__ */ jsxs("div", { className: styles$2O.root, children: [
|
|
78266
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
78267
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
78268
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
78269
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
78270
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
78641
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$2O.item, styles$2O.horizontal), children: /* @__PURE__ */ jsx("img", { src: "https://images.unsplash.com/photo-1506252374453-ef5237291d83?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=968&q=80" }) }),
|
|
78642
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$2O.item, styles$2O.vertical), children: /* @__PURE__ */ jsx("img", { src: "https://images.unsplash.com/photo-1536273176101-b3810e5cb3c0?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2000&q=80" }) }),
|
|
78643
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$2O.item, styles$2O.horizontal), children: /* @__PURE__ */ jsx("img", { src: "https://images.unsplash.com/photo-1524546101258-e99b0826ea9c?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1936&q=80" }) }),
|
|
78644
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$2O.item, styles$2O.big), children: /* @__PURE__ */ jsx("img", { src: "https://images.unsplash.com/photo-1486239154832-a989a601c41d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=634&q=80" }) }),
|
|
78645
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$2O.item, styles$2O.vertical), children: /* @__PURE__ */ jsx("img", { src: "https://images.unsplash.com/photo-1519458524098-335b2a5747b2?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=634&q=80" }) }),
|
|
78271
78646
|
/* @__PURE__ */ jsx("div", { className: styles$2O.item, children: /* @__PURE__ */ jsx("img", { src: "https://images.unsplash.com/photo-1548737787-a776beb45cfd?ixlib=rb-1.2.1&auto=format&fit=crop&w=701&q=80" }) }),
|
|
78272
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
78647
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$2O.item, styles$2O.vertical), children: /* @__PURE__ */ jsx("img", { src: "https://images.unsplash.com/photo-1513836279014-a89f7a76ae86?ixlib=rb-1.2.1&auto=format&fit=crop&w=634&q=80" }) }),
|
|
78273
78648
|
/* @__PURE__ */ jsx("div", { className: styles$2O.item, children: /* @__PURE__ */ jsx("img", { src: "https://images.unsplash.com/photo-1474218861938-d6b14818c8e2?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1489&q=80" }) }),
|
|
78274
78649
|
/* @__PURE__ */ jsx("div", { className: styles$2O.item, children: /* @__PURE__ */ jsx("img", { src: "https://images.unsplash.com/photo-1502842113467-03fdcac39fe5?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=634&q=80" }) }),
|
|
78275
78650
|
/* @__PURE__ */ jsx("div", { className: styles$2O.item, children: /* @__PURE__ */ jsx("img", { src: "https://images.unsplash.com/photo-1548599042-0df640181771?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80" }) }),
|
|
78276
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
78651
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$2O.item, styles$2O.big), children: /* @__PURE__ */ jsx("img", { src: "https://images.unsplash.com/photo-1515405969538-5642ed9d0cc4?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=675&q=80" }) }),
|
|
78277
78652
|
/* @__PURE__ */ jsx("div", { className: styles$2O.item, children: /* @__PURE__ */ jsx("img", { src: "https://images.unsplash.com/photo-1519999482648-25049ddd37b1?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=926&q=80" }) }),
|
|
78278
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
78653
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$2O.item, styles$2O.horizontal), children: /* @__PURE__ */ jsx("img", { src: "https://images.unsplash.com/photo-1460627390041-532a28402358?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80" }) }),
|
|
78279
78654
|
/* @__PURE__ */ jsx("div", { className: styles$2O.item, children: /* @__PURE__ */ jsx("img", { src: "https://images.unsplash.com/photo-1514673309919-5998bbbadf7f?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=688&q=80" }) }),
|
|
78280
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
78655
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$2O.item, styles$2O.horizontal), children: /* @__PURE__ */ jsx("img", { src: "https://images.unsplash.com/photo-1543335785-8aadf6d8183c?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1489&q=80" }) })
|
|
78281
78656
|
] });
|
|
78282
78657
|
};
|
|
78283
78658
|
|
|
@@ -78432,7 +78807,7 @@ const items$d = [
|
|
|
78432
78807
|
}
|
|
78433
78808
|
];
|
|
78434
78809
|
const GridHover = () => {
|
|
78435
|
-
return /* @__PURE__ */ jsx("ul", { className:
|
|
78810
|
+
return /* @__PURE__ */ jsx("ul", { className: clsx(styles$2M.root, styles$2M.withColor, styles$2M.withBlur), children: items$d.map((image) => /* @__PURE__ */ jsx("li", { className: styles$2M.item, children: /* @__PURE__ */ jsxs("a", { href: "#", children: [
|
|
78436
78811
|
/* @__PURE__ */ jsx("img", { src: image.src, alt: "" }),
|
|
78437
78812
|
/* @__PURE__ */ jsx("span", { className: styles$2M.description, children: image.title })
|
|
78438
78813
|
] }) }, image.title + image.src)) });
|
|
@@ -78466,23 +78841,23 @@ const styles$2L = {
|
|
|
78466
78841
|
};
|
|
78467
78842
|
|
|
78468
78843
|
const LIST = [
|
|
78469
|
-
|
|
78470
|
-
|
|
78471
|
-
|
|
78472
|
-
|
|
78473
|
-
|
|
78474
|
-
|
|
78844
|
+
clsx(styles$2L.card2, styles$2L.cardImg),
|
|
78845
|
+
clsx(styles$2L.card3, styles$2L.cardImg),
|
|
78846
|
+
clsx(styles$2L.cardImg, styles$2L.card1, styles$2L.cardMain),
|
|
78847
|
+
clsx(styles$2L.card4, styles$2L.cardImg),
|
|
78848
|
+
clsx(styles$2L.cardImg, styles$2L.card5),
|
|
78849
|
+
clsx(styles$2L.card6, styles$2L.cardImg)
|
|
78475
78850
|
];
|
|
78476
78851
|
const GridViewTransition = () => {
|
|
78477
78852
|
const [activeIndex, setActiveIndex] = useState(null);
|
|
78478
78853
|
return /* @__PURE__ */ jsx(
|
|
78479
78854
|
"div",
|
|
78480
78855
|
{
|
|
78481
|
-
className:
|
|
78856
|
+
className: clsx(styles$2L.root, { [styles$2L.expanded]: activeIndex !== null }),
|
|
78482
78857
|
children: LIST.map((item, index) => /* @__PURE__ */ jsx(
|
|
78483
78858
|
"div",
|
|
78484
78859
|
{
|
|
78485
|
-
className:
|
|
78860
|
+
className: clsx(styles$2L.card, item, {
|
|
78486
78861
|
[styles$2L.active]: activeIndex === index
|
|
78487
78862
|
}),
|
|
78488
78863
|
onClick: () => {
|
|
@@ -78566,7 +78941,7 @@ const BoldHamburger = () => {
|
|
|
78566
78941
|
"button",
|
|
78567
78942
|
{
|
|
78568
78943
|
type: "button",
|
|
78569
|
-
className:
|
|
78944
|
+
className: clsx(styles$2J.root, { [styles$2J.active]: isActive }),
|
|
78570
78945
|
onClick: () => setIsActive((prev) => !prev),
|
|
78571
78946
|
children: [
|
|
78572
78947
|
/* @__PURE__ */ jsx("div", { className: styles$2J.top }),
|
|
@@ -78608,7 +78983,7 @@ const HamburgerX = ({ isOpen, onClick = noop$5 }) => /* @__PURE__ */ jsx(
|
|
|
78608
78983
|
"button",
|
|
78609
78984
|
{
|
|
78610
78985
|
type: "button",
|
|
78611
|
-
className:
|
|
78986
|
+
className: clsx(styles$2H.root, { [styles$2H.isOpen]: isOpen }),
|
|
78612
78987
|
onClick,
|
|
78613
78988
|
children: /* @__PURE__ */ jsx("div", { className: styles$2H.icon })
|
|
78614
78989
|
}
|
|
@@ -78625,7 +79000,7 @@ const Header = ({
|
|
|
78625
79000
|
children,
|
|
78626
79001
|
className = "",
|
|
78627
79002
|
contentClassName = ""
|
|
78628
|
-
}) => /* @__PURE__ */ jsx("header", { className:
|
|
79003
|
+
}) => /* @__PURE__ */ jsx("header", { className: clsx(styles$2G.root, className), children: /* @__PURE__ */ jsx("div", { className: clsx(styles$2G.content, contentClassName), children }) });
|
|
78629
79004
|
|
|
78630
79005
|
const root$2u = "_root_m9k88_1";
|
|
78631
79006
|
const main$4 = "_main_m9k88_6";
|
|
@@ -78677,7 +79052,7 @@ const StickyHeader = () => {
|
|
|
78677
79052
|
] }),
|
|
78678
79053
|
/* @__PURE__ */ jsx("a", { href: "#", className: styles$2F.editButton, children: "✎" })
|
|
78679
79054
|
] }) }),
|
|
78680
|
-
/* @__PURE__ */ jsxs("main", { className:
|
|
79055
|
+
/* @__PURE__ */ jsxs("main", { className: clsx(styles$2F.main, styles$2F.limited), children: [
|
|
78681
79056
|
/* @__PURE__ */ jsxs("div", { className: styles$2F.col, children: [
|
|
78682
79057
|
/* @__PURE__ */ jsx("div", { className: styles$2F.box, style: { height: "20vh" } }),
|
|
78683
79058
|
/* @__PURE__ */ jsx("div", { className: styles$2F.box, style: { height: "5vh" } }),
|
|
@@ -78716,7 +79091,7 @@ const AnimatedHeroTitle = () => {
|
|
|
78716
79091
|
/* @__PURE__ */ jsxs(
|
|
78717
79092
|
"span",
|
|
78718
79093
|
{
|
|
78719
|
-
className:
|
|
79094
|
+
className: clsx(styles$2E.bg, styles$2E.bg1),
|
|
78720
79095
|
style: {
|
|
78721
79096
|
"--content": "Develop.",
|
|
78722
79097
|
"--padding": "0.05em",
|
|
@@ -78725,14 +79100,14 @@ const AnimatedHeroTitle = () => {
|
|
|
78725
79100
|
},
|
|
78726
79101
|
children: [
|
|
78727
79102
|
/* @__PURE__ */ jsx("span", { className: styles$2E.shadow, children: "Develop." }),
|
|
78728
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
79103
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$2E.fg, styles$2E.fg1), children: "Develop." })
|
|
78729
79104
|
]
|
|
78730
79105
|
}
|
|
78731
79106
|
),
|
|
78732
79107
|
/* @__PURE__ */ jsxs(
|
|
78733
79108
|
"span",
|
|
78734
79109
|
{
|
|
78735
|
-
className:
|
|
79110
|
+
className: clsx(styles$2E.bg, styles$2E.b2),
|
|
78736
79111
|
style: {
|
|
78737
79112
|
"--content": "Preview.",
|
|
78738
79113
|
"--padding": "0.05em",
|
|
@@ -78741,14 +79116,14 @@ const AnimatedHeroTitle = () => {
|
|
|
78741
79116
|
},
|
|
78742
79117
|
children: [
|
|
78743
79118
|
/* @__PURE__ */ jsx("span", { className: styles$2E.shadow, children: "Preview." }),
|
|
78744
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
79119
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$2E.fg, styles$2E.fg2, styles$2E.mx2), children: "Preview." })
|
|
78745
79120
|
]
|
|
78746
79121
|
}
|
|
78747
79122
|
),
|
|
78748
79123
|
/* @__PURE__ */ jsxs(
|
|
78749
79124
|
"span",
|
|
78750
79125
|
{
|
|
78751
|
-
className:
|
|
79126
|
+
className: clsx(styles$2E.bg, styles$2E.b3),
|
|
78752
79127
|
style: {
|
|
78753
79128
|
"--content": "Ship.",
|
|
78754
79129
|
"--padding": "0.05em",
|
|
@@ -78757,7 +79132,7 @@ const AnimatedHeroTitle = () => {
|
|
|
78757
79132
|
},
|
|
78758
79133
|
children: [
|
|
78759
79134
|
/* @__PURE__ */ jsx("span", { className: styles$2E.shadow, children: "Ship." }),
|
|
78760
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
79135
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$2E.fg, styles$2E.fg3), children: "Ship." })
|
|
78761
79136
|
]
|
|
78762
79137
|
}
|
|
78763
79138
|
)
|
|
@@ -78958,7 +79333,7 @@ const SquircleAvatar = () => {
|
|
|
78958
79333
|
alt: ""
|
|
78959
79334
|
}
|
|
78960
79335
|
) }),
|
|
78961
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
79336
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$2y.avatar, styles$2y.squircle), children: /* @__PURE__ */ jsx(
|
|
78962
79337
|
"img",
|
|
78963
79338
|
{
|
|
78964
79339
|
className: styles$2y.img,
|
|
@@ -79153,7 +79528,7 @@ const ClearInput = () => {
|
|
|
79153
79528
|
duration: 0.2
|
|
79154
79529
|
});
|
|
79155
79530
|
}, [svgLineProxy]);
|
|
79156
|
-
return /* @__PURE__ */ jsxs("div", { ref, className:
|
|
79531
|
+
return /* @__PURE__ */ jsxs("div", { ref, className: clsx(styles$2x.root, { [styles$2x.clearing]: clearing }), children: [
|
|
79157
79532
|
/* @__PURE__ */ jsx("div", { className: styles$2x.text, children: /* @__PURE__ */ jsx(
|
|
79158
79533
|
"input",
|
|
79159
79534
|
{
|
|
@@ -79189,7 +79564,7 @@ const regex = new RegExp(
|
|
|
79189
79564
|
);
|
|
79190
79565
|
const EmailInput = () => {
|
|
79191
79566
|
const [valid, setValid] = useState(false);
|
|
79192
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
79567
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx(styles$2w.root, { [styles$2w.valid]: valid }), children: [
|
|
79193
79568
|
/* @__PURE__ */ jsx(
|
|
79194
79569
|
"input",
|
|
79195
79570
|
{
|
|
@@ -79389,7 +79764,7 @@ function validateEmail(email) {
|
|
|
79389
79764
|
const NewsletterInput = () => {
|
|
79390
79765
|
const [valid, setValid] = useState(false);
|
|
79391
79766
|
const [submitting, setSubmitting] = useState(false);
|
|
79392
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
79767
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx(styles$2s.root, { [styles$2s.valid]: valid }), children: [
|
|
79393
79768
|
/* @__PURE__ */ jsx(
|
|
79394
79769
|
"input",
|
|
79395
79770
|
{
|
|
@@ -79405,7 +79780,7 @@ const NewsletterInput = () => {
|
|
|
79405
79780
|
"button",
|
|
79406
79781
|
{
|
|
79407
79782
|
type: "button",
|
|
79408
|
-
className:
|
|
79783
|
+
className: clsx(styles$2s.button, { [styles$2s.active]: submitting }),
|
|
79409
79784
|
disabled: submitting,
|
|
79410
79785
|
onClick: (e) => {
|
|
79411
79786
|
const button = e.currentTarget;
|
|
@@ -79612,7 +79987,7 @@ const PasswordInput = () => {
|
|
|
79612
79987
|
"div",
|
|
79613
79988
|
{
|
|
79614
79989
|
ref,
|
|
79615
|
-
className:
|
|
79990
|
+
className: clsx(styles$2r.root, { [styles$2r.show]: show }),
|
|
79616
79991
|
onPointerMove: (e) => {
|
|
79617
79992
|
const button = e.currentTarget;
|
|
79618
79993
|
const rect = button.getBoundingClientRect();
|
|
@@ -79731,7 +80106,7 @@ const styles$2p = {
|
|
|
79731
80106
|
const ShadowedClick = () => {
|
|
79732
80107
|
const [isActiveSubmit, setIsActiveSubmit] = useState(false);
|
|
79733
80108
|
return /* @__PURE__ */ jsxs("div", { className: styles$2p.root, children: [
|
|
79734
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
80109
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$2p.mask, { [styles$2p.active]: isActiveSubmit }) }),
|
|
79735
80110
|
/* @__PURE__ */ jsxs(
|
|
79736
80111
|
"form",
|
|
79737
80112
|
{
|
|
@@ -79827,7 +80202,7 @@ const styles$2o = {
|
|
|
79827
80202
|
};
|
|
79828
80203
|
|
|
79829
80204
|
const BorderLink = ({ children, className = "", ...rest }) => {
|
|
79830
|
-
return /* @__PURE__ */ jsx("a", { ...rest, className:
|
|
80205
|
+
return /* @__PURE__ */ jsx("a", { ...rest, className: clsx(styles$2o.root, className), children: /* @__PURE__ */ jsx("span", { className: styles$2o.background, children: /* @__PURE__ */ jsx("span", { className: styles$2o.border, children }) }) });
|
|
79831
80206
|
};
|
|
79832
80207
|
|
|
79833
80208
|
const root$2d = "_root_wu2q7_1";
|
|
@@ -79838,7 +80213,7 @@ const styles$2n = {
|
|
|
79838
80213
|
};
|
|
79839
80214
|
|
|
79840
80215
|
const CircleLink = ({ children, className = "", ...rest }) => {
|
|
79841
|
-
return /* @__PURE__ */ jsxs("a", { ...rest, className:
|
|
80216
|
+
return /* @__PURE__ */ jsxs("a", { ...rest, className: clsx(styles$2n.root, className), children: [
|
|
79842
80217
|
children,
|
|
79843
80218
|
/* @__PURE__ */ jsx("svg", { className: styles$2n.svg, viewBox: "0 0 70 36", children: /* @__PURE__ */ jsx("path", { d: "M6.9739 30.8153H63.0244C65.5269 30.8152 75.5358 -3.68471 35.4998 2.81531C-16.1598 11.2025 0.894099 33.9766 26.9922 34.3153C104.062 35.3153 54.5169 -6.68469 23.489 9.31527" }) })
|
|
79844
80219
|
] });
|
|
@@ -79905,7 +80280,7 @@ const RegularLink = ({
|
|
|
79905
80280
|
"a",
|
|
79906
80281
|
{
|
|
79907
80282
|
...rest,
|
|
79908
|
-
className:
|
|
80283
|
+
className: clsx(styles$2k.root, className),
|
|
79909
80284
|
href,
|
|
79910
80285
|
target,
|
|
79911
80286
|
rel,
|
|
@@ -79956,7 +80331,7 @@ const UnderlinedLink = ({
|
|
|
79956
80331
|
"a",
|
|
79957
80332
|
{
|
|
79958
80333
|
...rest,
|
|
79959
|
-
className:
|
|
80334
|
+
className: clsx(styles$2i.root, className),
|
|
79960
80335
|
href,
|
|
79961
80336
|
target,
|
|
79962
80337
|
rel,
|
|
@@ -80091,8 +80466,8 @@ const CanOfDigits = ({
|
|
|
80091
80466
|
initialValue = 1e3
|
|
80092
80467
|
}) => {
|
|
80093
80468
|
const [value, setValue] = useState(initialValue);
|
|
80094
|
-
return /* @__PURE__ */ jsxs("span", { className:
|
|
80095
|
-
/* @__PURE__ */ jsx("label", { className:
|
|
80469
|
+
return /* @__PURE__ */ jsxs("span", { className: clsx(styles$2e.root, className), children: [
|
|
80470
|
+
/* @__PURE__ */ jsx("label", { className: clsx(styles$2e.label, styles$2e.sr), htmlFor: "digits", children: "Digits" }),
|
|
80096
80471
|
controls && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
80097
80472
|
/* @__PURE__ */ jsx(
|
|
80098
80473
|
"input",
|
|
@@ -80175,7 +80550,7 @@ const styles$2c = {
|
|
|
80175
80550
|
};
|
|
80176
80551
|
|
|
80177
80552
|
const CircleDotsLoader = ({ type = "fade" }) => {
|
|
80178
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
80553
|
+
return /* @__PURE__ */ jsx("div", { className: clsx(styles$2c.root, styles$2c[type]), children: Array.from({ length: 12 }, (_, i) => /* @__PURE__ */ jsx("div", { className: clsx(styles$2c[`circle${i + 1}`], styles$2c.child) }, i)) });
|
|
80179
80554
|
};
|
|
80180
80555
|
|
|
80181
80556
|
const root$21 = "_root_aw2sz_1";
|
|
@@ -80193,10 +80568,10 @@ const styles$2b = {
|
|
|
80193
80568
|
|
|
80194
80569
|
const CubeLoader = () => {
|
|
80195
80570
|
return /* @__PURE__ */ jsxs("div", { className: styles$2b.root, children: [
|
|
80196
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
80197
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
80198
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
80199
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
80571
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$2b.cube, styles$2b.cube1) }),
|
|
80572
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$2b.cube, styles$2b.cube2) }),
|
|
80573
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$2b.cube, styles$2b.cube3) }),
|
|
80574
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$2b.cube, styles$2b.cube4) })
|
|
80200
80575
|
] });
|
|
80201
80576
|
};
|
|
80202
80577
|
|
|
@@ -80222,7 +80597,7 @@ const EndlessLoader = ({ container }) => {
|
|
|
80222
80597
|
return;
|
|
80223
80598
|
}
|
|
80224
80599
|
try {
|
|
80225
|
-
const GLModule = await import('./gl-
|
|
80600
|
+
const GLModule = await import('./gl-BE-pAc_o.js');
|
|
80226
80601
|
if (!isActiveRef.current) {
|
|
80227
80602
|
return;
|
|
80228
80603
|
}
|
|
@@ -80603,7 +80978,7 @@ const RingLoader = ({
|
|
|
80603
80978
|
}) => {
|
|
80604
80979
|
const split = children.split("").map((char, index) => /* @__PURE__ */ jsx("div", { className: styles$22.sector, children: char }, char + index));
|
|
80605
80980
|
const rest = Array.from({ length: 30 - split.length }, (_, index) => /* @__PURE__ */ jsx("div", { className: styles$22.sector }, index));
|
|
80606
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
80981
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx(styles$22.root, className), children: [
|
|
80607
80982
|
/* @__PURE__ */ jsxs("div", { className: styles$22.ring, children: [
|
|
80608
80983
|
split,
|
|
80609
80984
|
rest
|
|
@@ -80882,7 +81257,7 @@ const SpinningClickAnimation = ({
|
|
|
80882
81257
|
"button",
|
|
80883
81258
|
{
|
|
80884
81259
|
type: "button",
|
|
80885
|
-
className:
|
|
81260
|
+
className: clsx(styles$1Z.root, className),
|
|
80886
81261
|
ref,
|
|
80887
81262
|
onClick: () => {
|
|
80888
81263
|
const keyframes = [
|
|
@@ -81048,7 +81423,7 @@ const styles$1W = {
|
|
|
81048
81423
|
scrollingThings: scrollingThings};
|
|
81049
81424
|
|
|
81050
81425
|
const SubtleBorderAnimation = () => {
|
|
81051
|
-
return /* @__PURE__ */ jsx("div", { className: styles$1W.root, children: /* @__PURE__ */ jsxs("div", { className:
|
|
81426
|
+
return /* @__PURE__ */ jsx("div", { className: styles$1W.root, children: /* @__PURE__ */ jsxs("div", { className: clsx(styles$1W.outer, styles$1W.visible), children: [
|
|
81052
81427
|
/* @__PURE__ */ jsx("div", { className: styles$1W.background1 }),
|
|
81053
81428
|
/* @__PURE__ */ jsxs("div", { className: styles$1W.background2, children: [
|
|
81054
81429
|
/* @__PURE__ */ jsx(
|
|
@@ -81162,7 +81537,7 @@ const items$c = [
|
|
|
81162
81537
|
xmlns: "http://www.w3.org/2000/svg",
|
|
81163
81538
|
viewBox: "0 0 24 24",
|
|
81164
81539
|
fill: "currentColor",
|
|
81165
|
-
className:
|
|
81540
|
+
className: clsx(styles$1T.w6, styles$1T.h6),
|
|
81166
81541
|
children: /* @__PURE__ */ jsx(
|
|
81167
81542
|
"path",
|
|
81168
81543
|
{
|
|
@@ -81182,7 +81557,7 @@ const items$c = [
|
|
|
81182
81557
|
xmlns: "http://www.w3.org/2000/svg",
|
|
81183
81558
|
viewBox: "0 0 24 24",
|
|
81184
81559
|
fill: "currentColor",
|
|
81185
|
-
className:
|
|
81560
|
+
className: clsx(styles$1T.w6, styles$1T.h6),
|
|
81186
81561
|
children: /* @__PURE__ */ jsx(
|
|
81187
81562
|
"path",
|
|
81188
81563
|
{
|
|
@@ -81202,7 +81577,7 @@ const items$c = [
|
|
|
81202
81577
|
xmlns: "http://www.w3.org/2000/svg",
|
|
81203
81578
|
viewBox: "0 0 24 24",
|
|
81204
81579
|
fill: "currentColor",
|
|
81205
|
-
className:
|
|
81580
|
+
className: clsx(styles$1T.w6, styles$1T.h6),
|
|
81206
81581
|
children: /* @__PURE__ */ jsx(
|
|
81207
81582
|
"path",
|
|
81208
81583
|
{
|
|
@@ -81222,7 +81597,7 @@ const items$c = [
|
|
|
81222
81597
|
xmlns: "http://www.w3.org/2000/svg",
|
|
81223
81598
|
viewBox: "0 0 24 24",
|
|
81224
81599
|
fill: "currentColor",
|
|
81225
|
-
className:
|
|
81600
|
+
className: clsx(styles$1T.w6, styles$1T.h6),
|
|
81226
81601
|
children: /* @__PURE__ */ jsx(
|
|
81227
81602
|
"path",
|
|
81228
81603
|
{
|
|
@@ -81242,7 +81617,7 @@ const items$c = [
|
|
|
81242
81617
|
xmlns: "http://www.w3.org/2000/svg",
|
|
81243
81618
|
viewBox: "0 0 24 24",
|
|
81244
81619
|
fill: "currentColor",
|
|
81245
|
-
className:
|
|
81620
|
+
className: clsx(styles$1T.w6, styles$1T.h6),
|
|
81246
81621
|
children: /* @__PURE__ */ jsx(
|
|
81247
81622
|
"path",
|
|
81248
81623
|
{
|
|
@@ -81262,7 +81637,7 @@ const items$c = [
|
|
|
81262
81637
|
xmlns: "http://www.w3.org/2000/svg",
|
|
81263
81638
|
viewBox: "0 0 24 24",
|
|
81264
81639
|
fill: "currentColor",
|
|
81265
|
-
className:
|
|
81640
|
+
className: clsx(styles$1T.w6, styles$1T.h6),
|
|
81266
81641
|
children: /* @__PURE__ */ jsx(
|
|
81267
81642
|
"path",
|
|
81268
81643
|
{
|
|
@@ -81282,7 +81657,7 @@ const items$c = [
|
|
|
81282
81657
|
xmlns: "http://www.w3.org/2000/svg",
|
|
81283
81658
|
viewBox: "0 0 24 24",
|
|
81284
81659
|
fill: "currentColor",
|
|
81285
|
-
className:
|
|
81660
|
+
className: clsx(styles$1T.w6, styles$1T.h6),
|
|
81286
81661
|
children: /* @__PURE__ */ jsx(
|
|
81287
81662
|
"path",
|
|
81288
81663
|
{
|
|
@@ -81302,7 +81677,7 @@ const items$c = [
|
|
|
81302
81677
|
xmlns: "http://www.w3.org/2000/svg",
|
|
81303
81678
|
viewBox: "0 0 24 24",
|
|
81304
81679
|
fill: "currentColor",
|
|
81305
|
-
className:
|
|
81680
|
+
className: clsx(styles$1T.w6, styles$1T.h6),
|
|
81306
81681
|
children: [
|
|
81307
81682
|
/* @__PURE__ */ jsx("path", { d: "M10.464 8.746c.227-.18.497-.311.786-.394v2.795a2.252 2.252 0 0 1-.786-.393c-.394-.313-.546-.681-.546-1.004 0-.323.152-.691.546-1.004ZM12.75 15.662v-2.824c.347.085.664.228.921.421.427.32.579.686.579.991 0 .305-.152.671-.579.991a2.534 2.534 0 0 1-.921.42Z" }),
|
|
81308
81683
|
/* @__PURE__ */ jsx(
|
|
@@ -81325,7 +81700,7 @@ const items$c = [
|
|
|
81325
81700
|
xmlns: "http://www.w3.org/2000/svg",
|
|
81326
81701
|
viewBox: "0 0 24 24",
|
|
81327
81702
|
fill: "currentColor",
|
|
81328
|
-
className:
|
|
81703
|
+
className: clsx(styles$1T.w6, styles$1T.h6),
|
|
81329
81704
|
children: /* @__PURE__ */ jsx("path", { d: "m11.645 20.91-.007-.003-.022-.012a15.247 15.247 0 0 1-.383-.218 25.18 25.18 0 0 1-4.244-3.17C4.688 15.36 2.25 12.174 2.25 8.25 2.25 5.322 4.714 3 7.688 3A5.5 5.5 0 0 1 12 5.052 5.5 5.5 0 0 1 16.313 3c2.973 0 5.437 2.322 5.437 5.25 0 3.925-2.438 7.111-4.739 9.256a25.175 25.175 0 0 1-4.244 3.17 15.247 15.247 0 0 1-.383.219l-.022.012-.007.004-.003.001a.752.752 0 0 1-.704 0l-.003-.001Z" })
|
|
81330
81705
|
}
|
|
81331
81706
|
)
|
|
@@ -81338,7 +81713,7 @@ const items$c = [
|
|
|
81338
81713
|
xmlns: "http://www.w3.org/2000/svg",
|
|
81339
81714
|
viewBox: "0 0 24 24",
|
|
81340
81715
|
fill: "currentColor",
|
|
81341
|
-
className:
|
|
81716
|
+
className: clsx(styles$1T.w6, styles$1T.h6),
|
|
81342
81717
|
children: /* @__PURE__ */ jsx(
|
|
81343
81718
|
"path",
|
|
81344
81719
|
{
|
|
@@ -81358,7 +81733,7 @@ const items$c = [
|
|
|
81358
81733
|
xmlns: "http://www.w3.org/2000/svg",
|
|
81359
81734
|
viewBox: "0 0 24 24",
|
|
81360
81735
|
fill: "currentColor",
|
|
81361
|
-
className:
|
|
81736
|
+
className: clsx(styles$1T.w6, styles$1T.h6),
|
|
81362
81737
|
children: /* @__PURE__ */ jsx("path", { d: "M9.375 3a1.875 1.875 0 0 0 0 3.75h1.875v4.5H3.375A1.875 1.875 0 0 1 1.5 9.375v-.75c0-1.036.84-1.875 1.875-1.875h3.193A3.375 3.375 0 0 1 12 2.753a3.375 3.375 0 0 1 5.432 3.997h3.943c1.035 0 1.875.84 1.875 1.875v.75c0 1.036-.84 1.875-1.875 1.875H12.75v-4.5h1.875a1.875 1.875 0 1 0-1.875-1.875V6.75h-1.5V4.875C11.25 3.839 10.41 3 9.375 3ZM11.25 12.75H3v6.75a2.25 2.25 0 0 0 2.25 2.25h6v-9ZM12.75 12.75v9h6.75a2.25 2.25 0 0 0 2.25-2.25v-6.75h-9Z" })
|
|
81363
81738
|
}
|
|
81364
81739
|
)
|
|
@@ -81371,7 +81746,7 @@ const items$c = [
|
|
|
81371
81746
|
xmlns: "http://www.w3.org/2000/svg",
|
|
81372
81747
|
viewBox: "0 0 24 24",
|
|
81373
81748
|
fill: "currentColor",
|
|
81374
|
-
className:
|
|
81749
|
+
className: clsx(styles$1T.w6, styles$1T.h6),
|
|
81375
81750
|
children: [
|
|
81376
81751
|
/* @__PURE__ */ jsx("path", { d: "M17.004 10.407c.138.435-.216.842-.672.842h-3.465a.75.75 0 0 1-.65-.375l-1.732-3c-.229-.396-.053-.907.393-1.004a5.252 5.252 0 0 1 6.126 3.537ZM8.12 8.464c.307-.338.838-.235 1.066.16l1.732 3a.75.75 0 0 1 0 .75l-1.732 3c-.229.397-.76.5-1.067.161A5.23 5.23 0 0 1 6.75 12a5.23 5.23 0 0 1 1.37-3.536ZM10.878 17.13c-.447-.098-.623-.608-.394-1.004l1.733-3.002a.75.75 0 0 1 .65-.375h3.465c.457 0 .81.407.672.842a5.252 5.252 0 0 1-6.126 3.539Z" }),
|
|
81377
81752
|
/* @__PURE__ */ jsx(
|
|
@@ -81439,7 +81814,7 @@ const CardMarquee = () => {
|
|
|
81439
81814
|
xmlns: "http://www.w3.org/2000/svg",
|
|
81440
81815
|
viewBox: "0 0 24 24",
|
|
81441
81816
|
fill: "currentColor",
|
|
81442
|
-
className:
|
|
81817
|
+
className: clsx(styles$1T.w6, styles$1T.h6),
|
|
81443
81818
|
"aria-hidden": true,
|
|
81444
81819
|
children: [
|
|
81445
81820
|
/* @__PURE__ */ jsx("path", { d: "M12 2.25a.75.75 0 0 1 .75.75v2.25a.75.75 0 0 1-1.5 0V3a.75.75 0 0 1 .75-.75ZM7.5 12a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM18.894 6.166a.75.75 0 0 0-1.06-1.06l-1.591 1.59a.75.75 0 1 0 1.06 1.061l1.591-1.59ZM21.75 12a.75.75 0 0 1-.75.75h-2.25a.75.75 0 0 1 0-1.5H21a.75.75 0 0 1 .75.75ZM17.834 18.894a.75.75 0 0 0 1.06-1.06l-1.59-1.591a.75.75 0 1 0-1.061 1.06l1.59 1.591ZM12 18a.75.75 0 0 1 .75.75V21a.75.75 0 0 1-1.5 0v-2.25A.75.75 0 0 1 12 18ZM7.758 17.303a.75.75 0 0 0-1.061-1.06l-1.591 1.59a.75.75 0 0 0 1.06 1.061l1.591-1.59ZM6 12a.75.75 0 0 1-.75.75H3a.75.75 0 0 1 0-1.5h2.25A.75.75 0 0 1 6 12ZM6.697 7.757a.75.75 0 0 0 1.06-1.06l-1.59-1.591a.75.75 0 0 0-1.061 1.06l1.59 1.591Z" }),
|
|
@@ -81523,7 +81898,7 @@ const Ticker = () => {
|
|
|
81523
81898
|
"data-active": isActive,
|
|
81524
81899
|
"data-speed": "fast",
|
|
81525
81900
|
"data-direction": "right",
|
|
81526
|
-
children: /* @__PURE__ */ jsxs("ul", { className:
|
|
81901
|
+
children: /* @__PURE__ */ jsxs("ul", { className: clsx(styles$1S.tags, styles$1S.list), children: [
|
|
81527
81902
|
items.map((item) => /* @__PURE__ */ jsx("li", { children: item }, item)),
|
|
81528
81903
|
isActive && items.map((item) => /* @__PURE__ */ jsx("li", { "aria-hidden": true, children: item }, item + "hidden"))
|
|
81529
81904
|
] })
|
|
@@ -81800,10 +82175,10 @@ const AnimatedIconsNav = () => {
|
|
|
81800
82175
|
}, []);
|
|
81801
82176
|
return /* @__PURE__ */ jsxs("div", { className: styles$1R.root, children: [
|
|
81802
82177
|
/* @__PURE__ */ jsxs("div", { className: styles$1R.cards, children: [
|
|
81803
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
81804
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
82178
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$1R.card, { [styles$1R.flyOut]: showCards }) }),
|
|
82179
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$1R.card, { [styles$1R.flyOut]: showCards }) })
|
|
81805
82180
|
] }),
|
|
81806
|
-
/* @__PURE__ */ jsxs("nav", { className:
|
|
82181
|
+
/* @__PURE__ */ jsxs("nav", { className: clsx(styles$1R.nav, styles$1R[`tilt${page}`]), children: [
|
|
81807
82182
|
/* @__PURE__ */ jsx("ul", { className: styles$1R.items, children: items$a.map((item, index) => /* @__PURE__ */ jsx("li", { className: styles$1R.item, children: /* @__PURE__ */ jsxs(
|
|
81808
82183
|
"button",
|
|
81809
82184
|
{
|
|
@@ -81923,7 +82298,7 @@ const AnimatedShareMenu = () => {
|
|
|
81923
82298
|
"button",
|
|
81924
82299
|
{
|
|
81925
82300
|
id: "share-btn",
|
|
81926
|
-
className:
|
|
82301
|
+
className: clsx(styles$1Q.btn, { [styles$1Q.open]: open }),
|
|
81927
82302
|
type: "button",
|
|
81928
82303
|
title: open ? "Close" : "Share",
|
|
81929
82304
|
onClick: () => setOpen((prev) => !prev),
|
|
@@ -82119,8 +82494,8 @@ const CurtainRevealMenu = () => {
|
|
|
82119
82494
|
setToggle((prev) => !prev);
|
|
82120
82495
|
},
|
|
82121
82496
|
children: [
|
|
82122
|
-
/* @__PURE__ */ jsx(RxHamburgerMenu, { className:
|
|
82123
|
-
/* @__PURE__ */ jsx(RxDropdownMenu, { className:
|
|
82497
|
+
/* @__PURE__ */ jsx(RxHamburgerMenu, { className: clsx(styles$1P.icon, styles$1P.open) }),
|
|
82498
|
+
/* @__PURE__ */ jsx(RxDropdownMenu, { className: clsx(styles$1P.icon, styles$1P.close) })
|
|
82124
82499
|
]
|
|
82125
82500
|
}
|
|
82126
82501
|
)
|
|
@@ -82252,7 +82627,7 @@ const DropdownMenu = ({ value, items = ITEMS }) => {
|
|
|
82252
82627
|
/* @__PURE__ */ jsxs(
|
|
82253
82628
|
"button",
|
|
82254
82629
|
{
|
|
82255
|
-
className:
|
|
82630
|
+
className: clsx(styles$1N.mainButton, styles$1N.dropdownButton),
|
|
82256
82631
|
onClick: () => {
|
|
82257
82632
|
const listWrapperSizes = 3.5;
|
|
82258
82633
|
const dropdownOpenHeight = 4.6 * ITEMS.length + listWrapperSizes;
|
|
@@ -82263,7 +82638,7 @@ const DropdownMenu = ({ value, items = ITEMS }) => {
|
|
|
82263
82638
|
/* @__PURE__ */ jsx(
|
|
82264
82639
|
"span",
|
|
82265
82640
|
{
|
|
82266
|
-
className:
|
|
82641
|
+
className: clsx(styles$1N.dropdownTitle, styles$1N.textTruncate, {
|
|
82267
82642
|
[styles$1N.placeholder]: !active
|
|
82268
82643
|
}),
|
|
82269
82644
|
children: active ? active.title : "Choose a platform"
|
|
@@ -82310,7 +82685,7 @@ const DropdownMenu = ({ value, items = ITEMS }) => {
|
|
|
82310
82685
|
"button",
|
|
82311
82686
|
{
|
|
82312
82687
|
type: "button",
|
|
82313
|
-
className:
|
|
82688
|
+
className: clsx(styles$1N.dropdownButton, styles$1N.listButton),
|
|
82314
82689
|
"data-translate-value": `${100 * index}%`,
|
|
82315
82690
|
children: /* @__PURE__ */ jsx("span", { className: styles$1N.textTruncate, children: item.title })
|
|
82316
82691
|
}
|
|
@@ -82430,7 +82805,7 @@ const GlowingSelect = ({ accessible, nomotion }) => {
|
|
|
82430
82805
|
return /* @__PURE__ */ jsxs(
|
|
82431
82806
|
"div",
|
|
82432
82807
|
{
|
|
82433
|
-
className:
|
|
82808
|
+
className: clsx(styles$1L.select, { [styles$1L.nomotion]: nomotion }),
|
|
82434
82809
|
tabIndex: 0,
|
|
82435
82810
|
role: "button",
|
|
82436
82811
|
style: {
|
|
@@ -82489,7 +82864,7 @@ const GlowingTab = ({
|
|
|
82489
82864
|
{
|
|
82490
82865
|
ref,
|
|
82491
82866
|
type: "button",
|
|
82492
|
-
className:
|
|
82867
|
+
className: clsx(styles$1K.button, { [styles$1K.active]: isActive }),
|
|
82493
82868
|
onClick,
|
|
82494
82869
|
...rest,
|
|
82495
82870
|
children: [
|
|
@@ -82678,7 +83053,7 @@ const GlowingTab2 = ({ id, text, active, onClick, rootRef }) => {
|
|
|
82678
83053
|
);
|
|
82679
83054
|
nav.style.setProperty("--after-bg-width", String(width));
|
|
82680
83055
|
}, [active, rootRef]);
|
|
82681
|
-
return /* @__PURE__ */ jsx("li", { className:
|
|
83056
|
+
return /* @__PURE__ */ jsx("li", { className: clsx(styles$1J.item, { [styles$1J.active]: active }), children: /* @__PURE__ */ jsx(
|
|
82682
83057
|
"a",
|
|
82683
83058
|
{
|
|
82684
83059
|
ref,
|
|
@@ -82863,12 +83238,12 @@ const MagnifiedNavItems = () => {
|
|
|
82863
83238
|
/* @__PURE__ */ jsx("path", { d: "M20.473,23H3.003c-1.276,0-2.228-1.175-1.957-2.422,.705-3.239,3.029-8.578,10.693-8.578s9.987,5.336,10.692,8.575c.272,1.248-.681,2.425-1.959,2.425Z" })
|
|
82864
83239
|
] }) })
|
|
82865
83240
|
] }),
|
|
82866
|
-
/* @__PURE__ */ jsxs("nav", { ref: navRef, className:
|
|
83241
|
+
/* @__PURE__ */ jsxs("nav", { ref: navRef, className: clsx(styles$1I.nav, styles$1I[`page${page + 1}`]), children: [
|
|
82867
83242
|
/* @__PURE__ */ jsx("ul", { className: styles$1I.items, children: items$7.map((item, index) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(
|
|
82868
83243
|
"button",
|
|
82869
83244
|
{
|
|
82870
83245
|
type: "button",
|
|
82871
|
-
className:
|
|
83246
|
+
className: clsx(styles$1I.itemLink, item.color),
|
|
82872
83247
|
onClick: () => {
|
|
82873
83248
|
setPage(index);
|
|
82874
83249
|
},
|
|
@@ -82895,7 +83270,7 @@ const MagnifiedNavItems = () => {
|
|
|
82895
83270
|
/* @__PURE__ */ jsx("div", { ref: fakeIconsRef, className: styles$1I.fakeIcons, children: items$7.map((item, index) => /* @__PURE__ */ jsx("div", { className: styles$1I.fakeIconBox, children: /* @__PURE__ */ jsx(
|
|
82896
83271
|
"svg",
|
|
82897
83272
|
{
|
|
82898
|
-
className:
|
|
83273
|
+
className: clsx(styles$1I.fakeIcon, item.fake),
|
|
82899
83274
|
width: "24px",
|
|
82900
83275
|
height: "24px",
|
|
82901
83276
|
"aria-hidden": "true",
|
|
@@ -82973,7 +83348,7 @@ const MobileNavBar = () => {
|
|
|
82973
83348
|
/* @__PURE__ */ jsxs(
|
|
82974
83349
|
"button",
|
|
82975
83350
|
{
|
|
82976
|
-
className:
|
|
83351
|
+
className: clsx(styles$1H.navitem, {
|
|
82977
83352
|
[styles$1H.active]: activeItem === 0 /* Home */
|
|
82978
83353
|
}),
|
|
82979
83354
|
"data-clr": "#e4ecfa",
|
|
@@ -82989,7 +83364,7 @@ const MobileNavBar = () => {
|
|
|
82989
83364
|
/* @__PURE__ */ jsxs(
|
|
82990
83365
|
"button",
|
|
82991
83366
|
{
|
|
82992
|
-
className:
|
|
83367
|
+
className: clsx(styles$1H.navitem, {
|
|
82993
83368
|
[styles$1H.active]: activeItem === 1 /* Person */
|
|
82994
83369
|
}),
|
|
82995
83370
|
"data-clr": "#fff6cc",
|
|
@@ -83005,7 +83380,7 @@ const MobileNavBar = () => {
|
|
|
83005
83380
|
/* @__PURE__ */ jsxs(
|
|
83006
83381
|
"div",
|
|
83007
83382
|
{
|
|
83008
|
-
className:
|
|
83383
|
+
className: clsx(styles$1H.navsearch, { [styles$1H.active]: activeSearch }),
|
|
83009
83384
|
children: [
|
|
83010
83385
|
/* @__PURE__ */ jsx(
|
|
83011
83386
|
"input",
|
|
@@ -83039,7 +83414,7 @@ const MobileNavBar = () => {
|
|
|
83039
83414
|
/* @__PURE__ */ jsxs(
|
|
83040
83415
|
"button",
|
|
83041
83416
|
{
|
|
83042
|
-
className:
|
|
83417
|
+
className: clsx(styles$1H.navitem, {
|
|
83043
83418
|
[styles$1H.active]: activeItem === 2 /* Settings */
|
|
83044
83419
|
}),
|
|
83045
83420
|
"data-clr": "#f0e4fa",
|
|
@@ -83402,7 +83777,7 @@ const styles$1D = {
|
|
|
83402
83777
|
|
|
83403
83778
|
const PinDropdown = () => {
|
|
83404
83779
|
const [isActive, setIsActive] = useState(false);
|
|
83405
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
83780
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx(styles$1D.root, { [styles$1D.active]: isActive }), children: [
|
|
83406
83781
|
/* @__PURE__ */ jsx(
|
|
83407
83782
|
"button",
|
|
83408
83783
|
{
|
|
@@ -83413,9 +83788,9 @@ const PinDropdown = () => {
|
|
|
83413
83788
|
setIsActive((prev) => !prev);
|
|
83414
83789
|
}, []),
|
|
83415
83790
|
children: /* @__PURE__ */ jsxs("div", { className: styles$1D.menuIconWrapper, children: [
|
|
83416
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
83791
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$1D.menuIconLine, styles$1D.half, styles$1D.first) }),
|
|
83417
83792
|
/* @__PURE__ */ jsx("div", { className: styles$1D.menuIconLine }),
|
|
83418
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
83793
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$1D.menuIconLine, styles$1D.half, styles$1D.last) })
|
|
83419
83794
|
] })
|
|
83420
83795
|
}
|
|
83421
83796
|
),
|
|
@@ -83535,7 +83910,7 @@ const RadialMenu = () => {
|
|
|
83535
83910
|
}, []),
|
|
83536
83911
|
isActive
|
|
83537
83912
|
);
|
|
83538
|
-
return /* @__PURE__ */ jsx("nav", { ref, className:
|
|
83913
|
+
return /* @__PURE__ */ jsx("nav", { ref, className: clsx(styles$1C.root, { [styles$1C.isActive]: isActive }), children: /* @__PURE__ */ jsxs("div", { className: styles$1C.menu, children: [
|
|
83539
83914
|
/* @__PURE__ */ jsxs(
|
|
83540
83915
|
"label",
|
|
83541
83916
|
{
|
|
@@ -83811,7 +84186,7 @@ const RadialNavigation = ({
|
|
|
83811
84186
|
return /* @__PURE__ */ jsxs(
|
|
83812
84187
|
"nav",
|
|
83813
84188
|
{
|
|
83814
|
-
className:
|
|
84189
|
+
className: clsx(styles$1B.root, className, {
|
|
83815
84190
|
[styles$1B.active]: isActive || isActiveByViewport,
|
|
83816
84191
|
[styles$1B.highlighted]: isHighlighted || isActiveByViewport,
|
|
83817
84192
|
[styles$1B.opposite]: direction === "right",
|
|
@@ -83825,7 +84200,7 @@ const RadialNavigation = ({
|
|
|
83825
84200
|
"button",
|
|
83826
84201
|
{
|
|
83827
84202
|
type: "button",
|
|
83828
|
-
className:
|
|
84203
|
+
className: clsx(styles$1B.item, {
|
|
83829
84204
|
[styles$1B.activeItem]: activeId === item.id
|
|
83830
84205
|
}),
|
|
83831
84206
|
"data-action": true,
|
|
@@ -83953,10 +84328,10 @@ const SinglePopoverMenu = () => {
|
|
|
83953
84328
|
/* @__PURE__ */ jsx("div", { className: "sub-menu-holder" })
|
|
83954
84329
|
] })
|
|
83955
84330
|
] }),
|
|
83956
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
84331
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(styles$1A.item, styles$1A.highlight), children: [
|
|
83957
84332
|
/* @__PURE__ */ jsx("div", { className: styles$1A.menuText, children: /* @__PURE__ */ jsx("a", { href: "apps/tarsis/recipes/SinglePopoverMenu#", children: "Services" }) }),
|
|
83958
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
83959
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
84333
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(styles$1A.subMenu, styles$1A.double), children: [
|
|
84334
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(styles$1A.iconBox, styles$1A.gb, styles$1A.a), children: [
|
|
83960
84335
|
/* @__PURE__ */ jsx("div", { className: styles$1A.icon, children: /* @__PURE__ */ jsx("i", { className: "far fa-question-circle" }) }),
|
|
83961
84336
|
/* @__PURE__ */ jsxs("div", { className: styles$1A.text, children: [
|
|
83962
84337
|
/* @__PURE__ */ jsxs("div", { className: styles$1A.title, children: [
|
|
@@ -83966,7 +84341,7 @@ const SinglePopoverMenu = () => {
|
|
|
83966
84341
|
/* @__PURE__ */ jsx("div", { className: styles$1A.subText, children: "From Professionals" })
|
|
83967
84342
|
] })
|
|
83968
84343
|
] }),
|
|
83969
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
84344
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(styles$1A.iconBox, styles$1A.gb, styles$1A.b), children: [
|
|
83970
84345
|
/* @__PURE__ */ jsx("div", { className: styles$1A.icon, children: /* @__PURE__ */ jsx("i", { className: "far fa-users-class" }) }),
|
|
83971
84346
|
/* @__PURE__ */ jsxs("div", { className: styles$1A.text, children: [
|
|
83972
84347
|
/* @__PURE__ */ jsxs("div", { className: styles$1A.title, children: [
|
|
@@ -83976,7 +84351,7 @@ const SinglePopoverMenu = () => {
|
|
|
83976
84351
|
/* @__PURE__ */ jsx("div", { className: styles$1A.subText, children: "In Classroom" })
|
|
83977
84352
|
] })
|
|
83978
84353
|
] }),
|
|
83979
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
84354
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(styles$1A.iconBox, styles$1A.gb, styles$1A.c), children: [
|
|
83980
84355
|
/* @__PURE__ */ jsx("div", { className: styles$1A.icon, children: /* @__PURE__ */ jsx("i", { className: "far fa-school" }) }),
|
|
83981
84356
|
/* @__PURE__ */ jsxs("div", { className: styles$1A.text, children: [
|
|
83982
84357
|
/* @__PURE__ */ jsxs("div", { className: styles$1A.title, children: [
|
|
@@ -83986,7 +84361,7 @@ const SinglePopoverMenu = () => {
|
|
|
83986
84361
|
/* @__PURE__ */ jsx("div", { className: styles$1A.subText, children: "By Video" })
|
|
83987
84362
|
] })
|
|
83988
84363
|
] }),
|
|
83989
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
84364
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(styles$1A.iconBox, styles$1A.gb, styles$1A.d), children: [
|
|
83990
84365
|
/* @__PURE__ */ jsx("div", { className: styles$1A.icon, children: /* @__PURE__ */ jsx("i", { className: "far fa-chess-rook" }) }),
|
|
83991
84366
|
/* @__PURE__ */ jsxs("div", { className: styles$1A.text, children: [
|
|
83992
84367
|
/* @__PURE__ */ jsxs("div", { className: styles$1A.title, children: [
|
|
@@ -83996,7 +84371,7 @@ const SinglePopoverMenu = () => {
|
|
|
83996
84371
|
/* @__PURE__ */ jsx("div", { className: styles$1A.subText, children: "The Castle" })
|
|
83997
84372
|
] })
|
|
83998
84373
|
] }),
|
|
83999
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
84374
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(styles$1A.iconBox, styles$1A.gb, styles$1A.e), children: [
|
|
84000
84375
|
/* @__PURE__ */ jsx("div", { className: styles$1A.icon, children: /* @__PURE__ */ jsx("i", { className: "far fa-video-plus" }) }),
|
|
84001
84376
|
/* @__PURE__ */ jsxs("div", { className: styles$1A.text, children: [
|
|
84002
84377
|
/* @__PURE__ */ jsxs("div", { className: styles$1A.title, children: [
|
|
@@ -84006,7 +84381,7 @@ const SinglePopoverMenu = () => {
|
|
|
84006
84381
|
/* @__PURE__ */ jsx("div", { className: styles$1A.subText, children: "A Creator" })
|
|
84007
84382
|
] })
|
|
84008
84383
|
] }),
|
|
84009
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
84384
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(styles$1A.iconBox, styles$1A.gb, styles$1A.f), children: [
|
|
84010
84385
|
/* @__PURE__ */ jsx("div", { className: styles$1A.icon, children: /* @__PURE__ */ jsx("i", { className: "far fa-cat" }) }),
|
|
84011
84386
|
/* @__PURE__ */ jsxs("div", { className: styles$1A.text, children: [
|
|
84012
84387
|
/* @__PURE__ */ jsxs("div", { className: styles$1A.title, children: [
|
|
@@ -84024,20 +84399,20 @@ const SinglePopoverMenu = () => {
|
|
|
84024
84399
|
/* @__PURE__ */ jsx("div", { className: "sub-menu-holder" })
|
|
84025
84400
|
] })
|
|
84026
84401
|
] }),
|
|
84027
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
84402
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(styles$1A.item, styles$1A.highlight), children: [
|
|
84028
84403
|
/* @__PURE__ */ jsx("div", { className: styles$1A.menuText, children: /* @__PURE__ */ jsx("a", { href: "apps/tarsis/recipes/SinglePopoverMenu#", children: "Support" }) }),
|
|
84029
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
84404
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(styles$1A.subMenu, styles$1A.triple), children: [
|
|
84030
84405
|
/* @__PURE__ */ jsxs(
|
|
84031
84406
|
"div",
|
|
84032
84407
|
{
|
|
84033
|
-
className:
|
|
84408
|
+
className: clsx(
|
|
84034
84409
|
styles$1A.iconBox,
|
|
84035
84410
|
styles$1A.gb,
|
|
84036
84411
|
styles$1A.a,
|
|
84037
84412
|
styles$1A.topContainer
|
|
84038
84413
|
),
|
|
84039
84414
|
children: [
|
|
84040
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
84415
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$1A.icon, styles$1A.big), children: /* @__PURE__ */ jsx("i", { className: "far fa-book" }) }),
|
|
84041
84416
|
/* @__PURE__ */ jsxs("div", { className: styles$1A.text, children: [
|
|
84042
84417
|
/* @__PURE__ */ jsx("div", { className: styles$1A.title, children: "Where to start" }),
|
|
84043
84418
|
/* @__PURE__ */ jsx("div", { className: styles$1A.subText, children: "Find out where to begin below" })
|
|
@@ -84059,28 +84434,28 @@ const SinglePopoverMenu = () => {
|
|
|
84059
84434
|
/* @__PURE__ */ jsx("a", { href: "apps/tarsis/recipes/SinglePopoverMenu#", children: "Brain Enhancer" }),
|
|
84060
84435
|
/* @__PURE__ */ jsx("a", { href: "apps/tarsis/recipes/SinglePopoverMenu#", children: "Network Maker" })
|
|
84061
84436
|
] }),
|
|
84062
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
84437
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(styles$1A.iconBox, styles$1A.flat), children: [
|
|
84063
84438
|
/* @__PURE__ */ jsx("div", { className: styles$1A.icon, children: /* @__PURE__ */ jsx("i", { className: "fal fa-plug" }) }),
|
|
84064
84439
|
/* @__PURE__ */ jsx("div", { className: styles$1A.text, children: /* @__PURE__ */ jsxs("div", { className: styles$1A.title, children: [
|
|
84065
84440
|
"API Guide ",
|
|
84066
84441
|
/* @__PURE__ */ jsx("i", { className: "far fa-arrow-right" })
|
|
84067
84442
|
] }) })
|
|
84068
84443
|
] }),
|
|
84069
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
84444
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(styles$1A.iconBox, styles$1A.flat), children: [
|
|
84070
84445
|
/* @__PURE__ */ jsx("div", { className: styles$1A.icon, children: /* @__PURE__ */ jsx("i", { className: "fal fa-comments" }) }),
|
|
84071
84446
|
/* @__PURE__ */ jsx("div", { className: styles$1A.text, children: /* @__PURE__ */ jsxs("div", { className: styles$1A.title, children: [
|
|
84072
84447
|
"Support Line ",
|
|
84073
84448
|
/* @__PURE__ */ jsx("i", { className: "far fa-arrow-right" })
|
|
84074
84449
|
] }) })
|
|
84075
84450
|
] }),
|
|
84076
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
84451
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(styles$1A.iconBox, styles$1A.flat), children: [
|
|
84077
84452
|
/* @__PURE__ */ jsx("div", { className: styles$1A.icon, children: /* @__PURE__ */ jsx("i", { className: "fal fa-phone-volume" }) }),
|
|
84078
84453
|
/* @__PURE__ */ jsx("div", { className: styles$1A.text, children: /* @__PURE__ */ jsxs("div", { className: styles$1A.title, children: [
|
|
84079
84454
|
"Live Chat ",
|
|
84080
84455
|
/* @__PURE__ */ jsx("i", { className: "far fa-arrow-right" })
|
|
84081
84456
|
] }) })
|
|
84082
84457
|
] }),
|
|
84083
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
84458
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(styles$1A.iconBox, styles$1A.flat), children: [
|
|
84084
84459
|
/* @__PURE__ */ jsx("div", { className: styles$1A.icon, children: /* @__PURE__ */ jsx("i", { className: "fal fa-book-spells" }) }),
|
|
84085
84460
|
/* @__PURE__ */ jsx("div", { className: styles$1A.text, children: /* @__PURE__ */ jsxs("div", { className: styles$1A.title, children: [
|
|
84086
84461
|
"Documentation ",
|
|
@@ -84089,7 +84464,7 @@ const SinglePopoverMenu = () => {
|
|
|
84089
84464
|
] })
|
|
84090
84465
|
] })
|
|
84091
84466
|
] }),
|
|
84092
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
84467
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(styles$1A.item, styles$1A.highlight), children: [
|
|
84093
84468
|
/* @__PURE__ */ jsx("div", { className: styles$1A.menuText, children: /* @__PURE__ */ jsx("a", { href: "apps/tarsis/recipes/SinglePopoverMenu#", children: "Community" }) }),
|
|
84094
84469
|
/* @__PURE__ */ jsxs("div", { className: styles$1A.subMenu, children: [
|
|
84095
84470
|
/* @__PURE__ */ jsxs("div", { className: styles$1A.iconBox, children: [
|
|
@@ -84214,7 +84589,7 @@ const TabBarAnimation = () => {
|
|
|
84214
84589
|
return /* @__PURE__ */ jsx("nav", { ref: navRef, className: styles$1z.root, children: /* @__PURE__ */ jsx("ul", { className: styles$1z.list, children: options$2.map((option, index) => /* @__PURE__ */ jsx(
|
|
84215
84590
|
"li",
|
|
84216
84591
|
{
|
|
84217
|
-
className:
|
|
84592
|
+
className: clsx(styles$1z.item, {
|
|
84218
84593
|
[styles$1z.active]: activeIndex === index
|
|
84219
84594
|
}),
|
|
84220
84595
|
children: /* @__PURE__ */ jsx(
|
|
@@ -84315,7 +84690,7 @@ const WavyItem = ({
|
|
|
84315
84690
|
className = "",
|
|
84316
84691
|
...props
|
|
84317
84692
|
}) => {
|
|
84318
|
-
return /* @__PURE__ */ jsx("li", { className:
|
|
84693
|
+
return /* @__PURE__ */ jsx("li", { className: clsx(styles$1y.item, className, { [styles$1y.active]: isActive }), children: /* @__PURE__ */ jsx("a", { className: styles$1y.link, href, ...props, children }) });
|
|
84319
84694
|
};
|
|
84320
84695
|
|
|
84321
84696
|
const options$1 = [
|
|
@@ -84522,8 +84897,8 @@ const ParallaxEmoji = () => {
|
|
|
84522
84897
|
children: [
|
|
84523
84898
|
/* @__PURE__ */ jsx(EmojiLayer, { className: styles$1w.face, depth: 0.2 }),
|
|
84524
84899
|
/* @__PURE__ */ jsx(EmojiLayer, { className: styles$1w.shine, depth: 0.3 }),
|
|
84525
|
-
/* @__PURE__ */ jsx(EmojiLayer, { className:
|
|
84526
|
-
/* @__PURE__ */ jsx(EmojiLayer, { className:
|
|
84900
|
+
/* @__PURE__ */ jsx(EmojiLayer, { className: clsx(styles$1w.eye, styles$1w.left), depth: 0.8 }),
|
|
84901
|
+
/* @__PURE__ */ jsx(EmojiLayer, { className: clsx(styles$1w.eye, styles$1w.right), depth: 0.8 }),
|
|
84527
84902
|
/* @__PURE__ */ jsx(EmojiLayer, { className: styles$1w.mouth, depth: 0.8 })
|
|
84528
84903
|
]
|
|
84529
84904
|
}
|
|
@@ -84581,9 +84956,9 @@ const ApertureVideo = () => {
|
|
|
84581
84956
|
poster: "/images/aperture.webp"
|
|
84582
84957
|
}
|
|
84583
84958
|
),
|
|
84584
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
84585
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
84586
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
84959
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$1v.aperture, styles$1v.apertureLeft) }),
|
|
84960
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$1v.aperture, styles$1v.apertureTopRight) }),
|
|
84961
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$1v.aperture, styles$1v.apertureBottomRight) })
|
|
84587
84962
|
] })
|
|
84588
84963
|
}
|
|
84589
84964
|
);
|
|
@@ -84629,11 +85004,11 @@ const RadioRolling = () => {
|
|
|
84629
85004
|
),
|
|
84630
85005
|
/* @__PURE__ */ jsx("label", { className: styles$1u.label, htmlFor: option, children: option })
|
|
84631
85006
|
] }, option)),
|
|
84632
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
85007
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(styles$1u.circles, { [styles$1u.flip]: flip }), children: [
|
|
84633
85008
|
/* @__PURE__ */ jsx("div", { className: styles$1u.circle }),
|
|
84634
85009
|
/* @__PURE__ */ jsx("div", { className: styles$1u.circle }),
|
|
84635
85010
|
/* @__PURE__ */ jsx("div", { className: styles$1u.circle }),
|
|
84636
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
85011
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$1u.circle, styles$1u.circleChecked) }),
|
|
84637
85012
|
/* @__PURE__ */ jsx("div", { className: styles$1u.circle }),
|
|
84638
85013
|
/* @__PURE__ */ jsx("div", { className: styles$1u.circle }),
|
|
84639
85014
|
/* @__PURE__ */ jsx("div", { className: styles$1u.circle })
|
|
@@ -84826,7 +85201,7 @@ const ScrollDrivenTextBlowOut = () => {
|
|
|
84826
85201
|
/* @__PURE__ */ jsxs(
|
|
84827
85202
|
"svg",
|
|
84828
85203
|
{
|
|
84829
|
-
className:
|
|
85204
|
+
className: clsx(styles$1q.svg, styles$1q.signature),
|
|
84830
85205
|
viewBox: "0 0 271 209",
|
|
84831
85206
|
fill: "none",
|
|
84832
85207
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -85147,7 +85522,7 @@ const DDDRangeSlider = () => {
|
|
|
85147
85522
|
"div",
|
|
85148
85523
|
{
|
|
85149
85524
|
ref: rootRef,
|
|
85150
|
-
className:
|
|
85525
|
+
className: clsx(styles$1l.root, styles$1l.pristine, {
|
|
85151
85526
|
[styles$1l.pristine]: isPristine,
|
|
85152
85527
|
[styles$1l.active]: active
|
|
85153
85528
|
}),
|
|
@@ -85288,16 +85663,16 @@ const FeedbackReactions = () => {
|
|
|
85288
85663
|
/* @__PURE__ */ jsxs("label", { className: styles$1i.angry, children: [
|
|
85289
85664
|
/* @__PURE__ */ jsx("input", { type: "radio", value: "1", name: "feedback" }),
|
|
85290
85665
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
85291
|
-
/* @__PURE__ */ jsx("svg", { className:
|
|
85292
|
-
/* @__PURE__ */ jsx("svg", { className:
|
|
85666
|
+
/* @__PURE__ */ jsx("svg", { className: clsx(styles$1i.eye, styles$1i.left), children: /* @__PURE__ */ jsx("use", { xlinkHref: "#eye" }) }),
|
|
85667
|
+
/* @__PURE__ */ jsx("svg", { className: clsx(styles$1i.eye, styles$1i.right), children: /* @__PURE__ */ jsx("use", { xlinkHref: "#eye" }) }),
|
|
85293
85668
|
/* @__PURE__ */ jsx("svg", { className: styles$1i.mouth, children: /* @__PURE__ */ jsx("use", { xlinkHref: "#mouth" }) })
|
|
85294
85669
|
] })
|
|
85295
85670
|
] }),
|
|
85296
85671
|
/* @__PURE__ */ jsxs("label", { className: styles$1i.sad, children: [
|
|
85297
85672
|
/* @__PURE__ */ jsx("input", { type: "radio", value: "2", name: "feedback" }),
|
|
85298
85673
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
85299
|
-
/* @__PURE__ */ jsx("svg", { className:
|
|
85300
|
-
/* @__PURE__ */ jsx("svg", { className:
|
|
85674
|
+
/* @__PURE__ */ jsx("svg", { className: clsx(styles$1i.eye, styles$1i.left), children: /* @__PURE__ */ jsx("use", { xlinkHref: "#eye" }) }),
|
|
85675
|
+
/* @__PURE__ */ jsx("svg", { className: clsx(styles$1i.eye, styles$1i.right), children: /* @__PURE__ */ jsx("use", { xlinkHref: "#eye" }) }),
|
|
85301
85676
|
/* @__PURE__ */ jsx("svg", { className: styles$1i.mouth, children: /* @__PURE__ */ jsx("use", { xlinkHref: "#mouth" }) })
|
|
85302
85677
|
] })
|
|
85303
85678
|
] }),
|
|
@@ -85308,16 +85683,16 @@ const FeedbackReactions = () => {
|
|
|
85308
85683
|
/* @__PURE__ */ jsxs("label", { className: styles$1i.good, children: [
|
|
85309
85684
|
/* @__PURE__ */ jsx("input", { type: "radio", value: "4", name: "feedback", defaultChecked: true }),
|
|
85310
85685
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
85311
|
-
/* @__PURE__ */ jsx("svg", { className:
|
|
85312
|
-
/* @__PURE__ */ jsx("svg", { className:
|
|
85686
|
+
/* @__PURE__ */ jsx("svg", { className: clsx(styles$1i.eye, styles$1i.left), children: /* @__PURE__ */ jsx("use", { xlinkHref: "#eye" }) }),
|
|
85687
|
+
/* @__PURE__ */ jsx("svg", { className: clsx(styles$1i.eye, styles$1i.right), children: /* @__PURE__ */ jsx("use", { xlinkHref: "#eye" }) }),
|
|
85313
85688
|
/* @__PURE__ */ jsx("svg", { className: styles$1i.mouth, children: /* @__PURE__ */ jsx("use", { xlinkHref: "#mouth" }) })
|
|
85314
85689
|
] })
|
|
85315
85690
|
] }),
|
|
85316
85691
|
/* @__PURE__ */ jsxs("label", { className: styles$1i.happy, children: [
|
|
85317
85692
|
/* @__PURE__ */ jsx("input", { type: "radio", value: "5", name: "feedback" }),
|
|
85318
85693
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
85319
|
-
/* @__PURE__ */ jsx("svg", { className:
|
|
85320
|
-
/* @__PURE__ */ jsx("svg", { className:
|
|
85694
|
+
/* @__PURE__ */ jsx("svg", { className: clsx(styles$1i.eye, styles$1i.left), children: /* @__PURE__ */ jsx("use", { xlinkHref: "#eye" }) }),
|
|
85695
|
+
/* @__PURE__ */ jsx("svg", { className: clsx(styles$1i.eye, styles$1i.right), children: /* @__PURE__ */ jsx("use", { xlinkHref: "#eye" }) })
|
|
85321
85696
|
] })
|
|
85322
85697
|
] })
|
|
85323
85698
|
] }),
|
|
@@ -85386,7 +85761,7 @@ const styles$1h = {
|
|
|
85386
85761
|
|
|
85387
85762
|
const DaySwitch = () => {
|
|
85388
85763
|
const [morning, setMorning] = useState(false);
|
|
85389
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
85764
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx(styles$1h.root, { [styles$1h.morning]: morning }), children: [
|
|
85390
85765
|
/* @__PURE__ */ jsx(
|
|
85391
85766
|
"input",
|
|
85392
85767
|
{
|
|
@@ -85402,22 +85777,22 @@ const DaySwitch = () => {
|
|
|
85402
85777
|
),
|
|
85403
85778
|
/* @__PURE__ */ jsxs("label", { htmlFor: "hide-checkbox", className: styles$1h.toggle, children: [
|
|
85404
85779
|
/* @__PURE__ */ jsxs("span", { className: styles$1h.toggleButton, children: [
|
|
85405
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
85406
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
85407
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
85408
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
85409
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
85410
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
85411
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
85780
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$1h.crater, styles$1h.crater1) }),
|
|
85781
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$1h.crater, styles$1h.crater2) }),
|
|
85782
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$1h.crater, styles$1h.crater3) }),
|
|
85783
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$1h.crater, styles$1h.crater4) }),
|
|
85784
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$1h.crater, styles$1h.crater5) }),
|
|
85785
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$1h.crater, styles$1h.crater6) }),
|
|
85786
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$1h.crater, styles$1h.crater7) })
|
|
85412
85787
|
] }),
|
|
85413
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
85414
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
85415
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
85416
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
85417
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
85418
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
85419
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
85420
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
85788
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$1h.star, styles$1h.star1) }),
|
|
85789
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$1h.star, styles$1h.star2) }),
|
|
85790
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$1h.star, styles$1h.star3) }),
|
|
85791
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$1h.star, styles$1h.star4) }),
|
|
85792
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$1h.star, styles$1h.star5, styles$1h.half) }),
|
|
85793
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$1h.star, styles$1h.star6, styles$1h.half) }),
|
|
85794
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$1h.star, styles$1h.star7, styles$1h.half) }),
|
|
85795
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$1h.star, styles$1h.star8, styles$1h.half) })
|
|
85421
85796
|
] })
|
|
85422
85797
|
] });
|
|
85423
85798
|
};
|
|
@@ -85494,7 +85869,7 @@ const styles$1f = {
|
|
|
85494
85869
|
};
|
|
85495
85870
|
|
|
85496
85871
|
const IosSwitch = ({ className, ...props }) => {
|
|
85497
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
85872
|
+
return /* @__PURE__ */ jsx("div", { className: clsx(styles$1f.root, className), children: /* @__PURE__ */ jsxs("label", { className: styles$1f.label, children: [
|
|
85498
85873
|
/* @__PURE__ */ jsx(
|
|
85499
85874
|
"input",
|
|
85500
85875
|
{
|
|
@@ -85622,7 +85997,7 @@ const styles$1d = {
|
|
|
85622
85997
|
|
|
85623
85998
|
const NeuromorphicToggle = ({ dark = true }) => {
|
|
85624
85999
|
const [isActive, setIsActive] = useState(false);
|
|
85625
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
86000
|
+
return /* @__PURE__ */ jsx("div", { className: clsx(styles$1d.root, { [styles$1d.dark]: dark }), children: /* @__PURE__ */ jsxs(
|
|
85626
86001
|
"button",
|
|
85627
86002
|
{
|
|
85628
86003
|
className: styles$1d.button,
|
|
@@ -85710,7 +86085,7 @@ const styles$1b = {
|
|
|
85710
86085
|
|
|
85711
86086
|
const StretchToggle = () => {
|
|
85712
86087
|
const [pristine, setPristine] = useState(false);
|
|
85713
|
-
return /* @__PURE__ */ jsx("div", { className: styles$1b.root, children: /* @__PURE__ */ jsxs("label", { className:
|
|
86088
|
+
return /* @__PURE__ */ jsx("div", { className: styles$1b.root, children: /* @__PURE__ */ jsxs("label", { className: clsx(styles$1b.toggle, { [styles$1b.pristine]: pristine }), children: [
|
|
85714
86089
|
/* @__PURE__ */ jsx(
|
|
85715
86090
|
"input",
|
|
85716
86091
|
{
|
|
@@ -85741,7 +86116,7 @@ const TippingSwitch = ({ withText = false }) => {
|
|
|
85741
86116
|
"input",
|
|
85742
86117
|
{
|
|
85743
86118
|
type: "checkbox",
|
|
85744
|
-
className:
|
|
86119
|
+
className: clsx(styles$1a.input, { [styles$1a.withText]: withText })
|
|
85745
86120
|
}
|
|
85746
86121
|
);
|
|
85747
86122
|
};
|
|
@@ -85783,7 +86158,7 @@ const styles$17 = {
|
|
|
85783
86158
|
root: root$12,
|
|
85784
86159
|
text: text$8};
|
|
85785
86160
|
|
|
85786
|
-
const EnlightenedText = ({ children }) => /* @__PURE__ */ jsx("span", { className:
|
|
86161
|
+
const EnlightenedText = ({ children }) => /* @__PURE__ */ jsx("span", { className: clsx(styles$17.root, styles$17.text), children });
|
|
85787
86162
|
|
|
85788
86163
|
const root$11 = "_root_g9iok_1";
|
|
85789
86164
|
const text$7 = "_text_g9iok_9";
|
|
@@ -85946,7 +86321,7 @@ const JellyText = ({ children, className = "" }) => {
|
|
|
85946
86321
|
"div",
|
|
85947
86322
|
{
|
|
85948
86323
|
ref,
|
|
85949
|
-
className:
|
|
86324
|
+
className: clsx(styles$14.root, className),
|
|
85950
86325
|
"aria-description": children,
|
|
85951
86326
|
children: parts
|
|
85952
86327
|
}
|
|
@@ -86163,11 +86538,11 @@ const ScrambledText = ({ children, reveal = false }) => {
|
|
|
86163
86538
|
);
|
|
86164
86539
|
};
|
|
86165
86540
|
|
|
86166
|
-
const root$Y = "
|
|
86167
|
-
const line = "
|
|
86168
|
-
const word$1 = "
|
|
86169
|
-
const link = "
|
|
86170
|
-
const letter = "
|
|
86541
|
+
const root$Y = "_root_19h89_1";
|
|
86542
|
+
const line = "_line_19h89_9";
|
|
86543
|
+
const word$1 = "_word_19h89_14";
|
|
86544
|
+
const link = "_link_19h89_18";
|
|
86545
|
+
const letter = "_letter_19h89_22";
|
|
86171
86546
|
const styles$11 = {
|
|
86172
86547
|
root: root$Y,
|
|
86173
86548
|
line: line,
|
|
@@ -86180,7 +86555,7 @@ const Word = ({ children, href }) => {
|
|
|
86180
86555
|
return children.split("").map((letter, index) => /* @__PURE__ */ jsx("span", { className: styles$11.letter, children: letter }, letter + index));
|
|
86181
86556
|
}, [children]);
|
|
86182
86557
|
if (href) {
|
|
86183
|
-
return /* @__PURE__ */ jsx("a", { className:
|
|
86558
|
+
return /* @__PURE__ */ jsx("a", { className: clsx(styles$11.word, styles$11.link), children: content });
|
|
86184
86559
|
}
|
|
86185
86560
|
return /* @__PURE__ */ jsx("span", { className: styles$11.word, children: content });
|
|
86186
86561
|
};
|
|
@@ -86218,16 +86593,16 @@ const styles$10 = {
|
|
|
86218
86593
|
second: second$1};
|
|
86219
86594
|
|
|
86220
86595
|
const ShakingText = ({ children }) => /* @__PURE__ */ jsxs("span", { className: styles$10.root, children: [
|
|
86221
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
86596
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$10.text, styles$10.first), children }),
|
|
86222
86597
|
children,
|
|
86223
|
-
/* @__PURE__ */ jsx("span", { className:
|
|
86598
|
+
/* @__PURE__ */ jsx("span", { className: clsx(styles$10.text, styles$10.second), children })
|
|
86224
86599
|
] });
|
|
86225
86600
|
|
|
86226
86601
|
const root$W = "_root_ijw1m_1";
|
|
86227
86602
|
const styles$$ = {
|
|
86228
86603
|
root: root$W};
|
|
86229
86604
|
|
|
86230
|
-
const ShiningText = ({ children, className = "" }) => /* @__PURE__ */ jsx("span", { className:
|
|
86605
|
+
const ShiningText = ({ children, className = "" }) => /* @__PURE__ */ jsx("span", { className: clsx(styles$$.root, className), children });
|
|
86231
86606
|
|
|
86232
86607
|
const root$V = "_root_wb10x_1";
|
|
86233
86608
|
const word = "_word_wb10x_12";
|
|
@@ -86368,7 +86743,7 @@ const Toast = ({
|
|
|
86368
86743
|
return /* @__PURE__ */ jsx(
|
|
86369
86744
|
"div",
|
|
86370
86745
|
{
|
|
86371
|
-
className:
|
|
86746
|
+
className: clsx(styles$W.toast, className, { [styles$W.visible]: visible }),
|
|
86372
86747
|
role: "alert",
|
|
86373
86748
|
onClick: onDismiss,
|
|
86374
86749
|
onKeyDown: (e) => {
|
|
@@ -86465,7 +86840,7 @@ const Toasts = ({ container, maxQueue = 4 }) => {
|
|
|
86465
86840
|
children: toasts.map((t, index) => /* @__PURE__ */ jsx(
|
|
86466
86841
|
Toast,
|
|
86467
86842
|
{
|
|
86468
|
-
className:
|
|
86843
|
+
className: clsx(
|
|
86469
86844
|
styles$W.toastItem,
|
|
86470
86845
|
toasts.length === index + 1 ? styles$W.first : toasts.length === index + 2 ? styles$W.second : toasts.length === index + 3 ? styles$W.third : styles$W.forth
|
|
86471
86846
|
),
|
|
@@ -86495,7 +86870,7 @@ const Filter = ({ children, defaultActive = false }) => {
|
|
|
86495
86870
|
"button",
|
|
86496
86871
|
{
|
|
86497
86872
|
type: "button",
|
|
86498
|
-
className:
|
|
86873
|
+
className: clsx(styles$V.button, { [styles$V.active]: isActive }),
|
|
86499
86874
|
onClick: () => setIsActive((prev) => !prev),
|
|
86500
86875
|
children
|
|
86501
86876
|
}
|
|
@@ -86553,7 +86928,7 @@ const Duck = () => {
|
|
|
86553
86928
|
scheduleAnimation();
|
|
86554
86929
|
return cleanup;
|
|
86555
86930
|
}, []);
|
|
86556
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
86931
|
+
return /* @__PURE__ */ jsx("div", { className: clsx(styles$U.root, { [styles$U.animating]: animating }), children: /* @__PURE__ */ jsx("div", { className: styles$U.sideToSide, children: /* @__PURE__ */ jsx("div", { className: styles$U.upAndDown, children: /* @__PURE__ */ jsxs("svg", { className: styles$U.duck, viewBox: "-100 -300 600 600", children: [
|
|
86557
86932
|
/* @__PURE__ */ jsx(
|
|
86558
86933
|
"path",
|
|
86559
86934
|
{
|
|
@@ -86643,7 +87018,7 @@ const DynamicIsland = ({ position = "fixed" }) => /* @__PURE__ */ jsxs(Fragment,
|
|
|
86643
87018
|
/* @__PURE__ */ jsx(
|
|
86644
87019
|
"div",
|
|
86645
87020
|
{
|
|
86646
|
-
className:
|
|
87021
|
+
className: clsx(styles$T.root, { [styles$T.static]: position === "static" }),
|
|
86647
87022
|
children: /* @__PURE__ */ jsxs("div", { className: styles$T.island, children: [
|
|
86648
87023
|
/* @__PURE__ */ jsx("div", { className: styles$T.notch }),
|
|
86649
87024
|
/* @__PURE__ */ jsx(
|
|
@@ -86819,13 +87194,13 @@ const SegmentedControls = ({
|
|
|
86819
87194
|
}) => /* @__PURE__ */ jsx(
|
|
86820
87195
|
"nav",
|
|
86821
87196
|
{
|
|
86822
|
-
className:
|
|
87197
|
+
className: clsx(styles$R.root, { [styles$R.isVertical]: isVertical }),
|
|
86823
87198
|
role: "tablist",
|
|
86824
87199
|
children: options.map((option) => /* @__PURE__ */ jsx(
|
|
86825
87200
|
"button",
|
|
86826
87201
|
{
|
|
86827
87202
|
role: "button",
|
|
86828
|
-
className:
|
|
87203
|
+
className: clsx(styles$R.control, {
|
|
86829
87204
|
[styles$R.active]: activeId === option.id
|
|
86830
87205
|
}),
|
|
86831
87206
|
onClick: () => onChange(option.id),
|
|
@@ -86862,10 +87237,10 @@ const ShapeSelection = ({ children }) => {
|
|
|
86862
87237
|
}
|
|
86863
87238
|
}, []);
|
|
86864
87239
|
return /* @__PURE__ */ jsxs("span", { ref, className: styles$Q.root, children: [
|
|
86865
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
86866
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
86867
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
86868
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
87240
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$Q.dot, styles$Q.topLeft) }),
|
|
87241
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$Q.dot, styles$Q.topRight) }),
|
|
87242
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$Q.dot, styles$Q.bottomLeft) }),
|
|
87243
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$Q.dot, styles$Q.bottomRight) }),
|
|
86869
87244
|
/* @__PURE__ */ jsx("span", { className: styles$Q.content, children }),
|
|
86870
87245
|
rect && /* @__PURE__ */ jsxs("div", { className: styles$Q.size, children: [
|
|
86871
87246
|
Math.round(rect.width),
|
|
@@ -86913,7 +87288,7 @@ const Appearance = ({ type = "reveal" }) => {
|
|
|
86913
87288
|
return /* @__PURE__ */ jsx(
|
|
86914
87289
|
"div",
|
|
86915
87290
|
{
|
|
86916
|
-
className:
|
|
87291
|
+
className: clsx(styles$P.root, {
|
|
86917
87292
|
[styles$P.reveal]: type === "reveal",
|
|
86918
87293
|
[styles$P.fadeIn]: type === "fade-in",
|
|
86919
87294
|
[styles$P.glow]: type === "glow"
|
|
@@ -92165,7 +92540,7 @@ const BackgroundSlider = () => {
|
|
|
92165
92540
|
sensitivity: 1
|
|
92166
92541
|
},
|
|
92167
92542
|
children: SLIDES.map((slide, index) => /* @__PURE__ */ jsxs(SwiperSlide, { className: styles$M.swiperSlide, children: [
|
|
92168
|
-
/* @__PURE__ */ jsx("h1", { className:
|
|
92543
|
+
/* @__PURE__ */ jsx("h1", { className: clsx(styles$M.title, styles$M[`slide${index + 1}`]), children: slide.title }),
|
|
92169
92544
|
/* @__PURE__ */ jsx("img", { className: styles$M.image, src: slide.image, alt: "" })
|
|
92170
92545
|
] }, slide.title))
|
|
92171
92546
|
}
|
|
@@ -92237,7 +92612,7 @@ const BouncyClock = () => {
|
|
|
92237
92612
|
return /* @__PURE__ */ jsx("div", { className: styles$K.root, children: digits.map((digit, i) => /* @__PURE__ */ jsx(
|
|
92238
92613
|
"span",
|
|
92239
92614
|
{
|
|
92240
|
-
className:
|
|
92615
|
+
className: clsx(styles$K.digit, {
|
|
92241
92616
|
[styles$K.bounce]: prev[i] !== void 0 && digit !== prev[i]
|
|
92242
92617
|
}),
|
|
92243
92618
|
children: digit
|
|
@@ -92299,7 +92674,7 @@ const BreakingProgress = ({ loop = false }) => {
|
|
|
92299
92674
|
return /* @__PURE__ */ jsxs(
|
|
92300
92675
|
"div",
|
|
92301
92676
|
{
|
|
92302
|
-
className:
|
|
92677
|
+
className: clsx(styles$J.root, {
|
|
92303
92678
|
[styles$J.falling]: falling,
|
|
92304
92679
|
[styles$J.resetting]: resetting
|
|
92305
92680
|
}),
|
|
@@ -92352,7 +92727,7 @@ const CardDetails = () => {
|
|
|
92352
92727
|
alt: "image"
|
|
92353
92728
|
}
|
|
92354
92729
|
) }),
|
|
92355
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
92730
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(styles$I.detail, styles$I.detail1), children: [
|
|
92356
92731
|
/* @__PURE__ */ jsx("span", { className: styles$I.detailText, children: "SPACIOUS" }),
|
|
92357
92732
|
/* @__PURE__ */ jsx("div", { className: styles$I.detailIcon, children: /* @__PURE__ */ jsx(RxPlus, { className: styles$I.icon }) }),
|
|
92358
92733
|
/* @__PURE__ */ jsx("div", { className: styles$I.detailImage, children: /* @__PURE__ */ jsx(
|
|
@@ -92364,7 +92739,7 @@ const CardDetails = () => {
|
|
|
92364
92739
|
}
|
|
92365
92740
|
) })
|
|
92366
92741
|
] }),
|
|
92367
|
-
/* @__PURE__ */ jsxs("div", { className:
|
|
92742
|
+
/* @__PURE__ */ jsxs("div", { className: clsx(styles$I.detail, styles$I.detail2), children: [
|
|
92368
92743
|
/* @__PURE__ */ jsx("span", { className: styles$I.detailText, children: "ACCESSIBLE" }),
|
|
92369
92744
|
/* @__PURE__ */ jsx("div", { className: styles$I.detailIcon, children: /* @__PURE__ */ jsx(RxPlus, { className: styles$I.icon }) }),
|
|
92370
92745
|
/* @__PURE__ */ jsx("div", { className: styles$I.detailImage, children: /* @__PURE__ */ jsx(
|
|
@@ -92459,7 +92834,7 @@ const styles$E = {
|
|
|
92459
92834
|
};
|
|
92460
92835
|
|
|
92461
92836
|
const File = ({ type }) => {
|
|
92462
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
92837
|
+
return /* @__PURE__ */ jsx("div", { className: clsx(styles$E.icon, styles$E[type]), children: /* @__PURE__ */ jsx("i", { className: styles$E.i, title: type }) });
|
|
92463
92838
|
};
|
|
92464
92839
|
const FileIcons = () => {
|
|
92465
92840
|
return /* @__PURE__ */ jsxs("div", { className: styles$E.root, children: [
|
|
@@ -92720,7 +93095,7 @@ const options = [
|
|
|
92720
93095
|
];
|
|
92721
93096
|
const LayeredComponents = () => {
|
|
92722
93097
|
const [rotated, setRotated] = useState(true);
|
|
92723
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
93098
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx(styles$y.root, { [styles$y.checked]: rotated }), children: [
|
|
92724
93099
|
/* @__PURE__ */ jsx(
|
|
92725
93100
|
"input",
|
|
92726
93101
|
{
|
|
@@ -96121,7 +96496,7 @@ const Lock = () => {
|
|
|
96121
96496
|
}
|
|
96122
96497
|
};
|
|
96123
96498
|
const asynchronously = async () => {
|
|
96124
|
-
const Flickity = await import('./index-
|
|
96499
|
+
const Flickity = await import('./index-DI2YEpFt.js').then(n => n.i).then((m) => m.default);
|
|
96125
96500
|
if (!rowsRef.current || !window) return;
|
|
96126
96501
|
const rows = rowsRef.current.children;
|
|
96127
96502
|
for (let i = 0, len = rows.length; i < len; i++) {
|
|
@@ -96163,7 +96538,7 @@ const Lock = () => {
|
|
|
96163
96538
|
"div",
|
|
96164
96539
|
{
|
|
96165
96540
|
ref: lockRef,
|
|
96166
|
-
className:
|
|
96541
|
+
className: clsx(styles$x.root, { [styles$x.verified]: isVerified }),
|
|
96167
96542
|
children: [
|
|
96168
96543
|
/* @__PURE__ */ jsxs("div", { className: styles$x.screen, children: [
|
|
96169
96544
|
/* @__PURE__ */ jsx("div", { className: styles$x.code, children: code }),
|
|
@@ -96279,9 +96654,9 @@ const MotionDigits = () => {
|
|
|
96279
96654
|
/* @__PURE__ */ jsx("option", { value: 2e4, label: "20000" })
|
|
96280
96655
|
] }),
|
|
96281
96656
|
/* @__PURE__ */ jsxs("div", { className: styles$w.number, children: [
|
|
96282
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
96283
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
96284
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
96657
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$w.left, { [styles$w.animate]: animateLeft }), children: left }),
|
|
96658
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$w.separator, { [styles$w.show]: separator }), children: "," }),
|
|
96659
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$w.right, { [styles$w.animate]: animateRight }), children: right })
|
|
96285
96660
|
] })
|
|
96286
96661
|
] }),
|
|
96287
96662
|
/* @__PURE__ */ jsx(
|
|
@@ -96628,7 +97003,7 @@ const NotificationBell = () => {
|
|
|
96628
97003
|
"button",
|
|
96629
97004
|
{
|
|
96630
97005
|
type: "button",
|
|
96631
|
-
className:
|
|
97006
|
+
className: clsx(styles$s.root, { [styles$s.active]: isActive }),
|
|
96632
97007
|
onClick: () => {
|
|
96633
97008
|
read();
|
|
96634
97009
|
},
|
|
@@ -96708,7 +97083,7 @@ const PhotoZoom = () => {
|
|
|
96708
97083
|
"video",
|
|
96709
97084
|
{
|
|
96710
97085
|
ref: videoRef,
|
|
96711
|
-
className:
|
|
97086
|
+
className: clsx(styles$r.video, {
|
|
96712
97087
|
[styles$r.flippingIn]: isFlippingIn,
|
|
96713
97088
|
[styles$r.flippingOut]: isFlippingOut
|
|
96714
97089
|
}),
|
|
@@ -96726,14 +97101,14 @@ const PhotoZoom = () => {
|
|
|
96726
97101
|
"div",
|
|
96727
97102
|
{
|
|
96728
97103
|
ref: flashRef,
|
|
96729
|
-
className:
|
|
97104
|
+
className: clsx(styles$r.flash, { [styles$r.shutterClick]: isShuttering })
|
|
96730
97105
|
}
|
|
96731
97106
|
)
|
|
96732
97107
|
] }),
|
|
96733
97108
|
/* @__PURE__ */ jsx("div", { className: styles$r.controls, children: ZOOM_OPTIONS.map((zoom) => /* @__PURE__ */ jsxs(
|
|
96734
97109
|
"button",
|
|
96735
97110
|
{
|
|
96736
|
-
className:
|
|
97111
|
+
className: clsx(styles$r.control, {
|
|
96737
97112
|
[styles$r.active]: zoom.level === activeZoom
|
|
96738
97113
|
}),
|
|
96739
97114
|
onClick: () => {
|
|
@@ -96992,7 +97367,7 @@ const RealisticSmoke = () => {
|
|
|
96992
97367
|
height: "397",
|
|
96993
97368
|
x: "83",
|
|
96994
97369
|
y: "112.564",
|
|
96995
|
-
className:
|
|
97370
|
+
className: clsx(styles$o.blick, { [styles$o.ready]: renderBlick1 }),
|
|
96996
97371
|
children: /* @__PURE__ */ jsx(
|
|
96997
97372
|
"animate",
|
|
96998
97373
|
{
|
|
@@ -97029,7 +97404,7 @@ const RealisticSmoke = () => {
|
|
|
97029
97404
|
height: "287",
|
|
97030
97405
|
x: "69",
|
|
97031
97406
|
y: "19.2447",
|
|
97032
|
-
className:
|
|
97407
|
+
className: clsx(styles$o.blick, { [styles$o.ready]: renderBlick2 }),
|
|
97033
97408
|
children: /* @__PURE__ */ jsx(
|
|
97034
97409
|
"animate",
|
|
97035
97410
|
{
|
|
@@ -97064,7 +97439,7 @@ const RevealImageAnimation = () => {
|
|
|
97064
97439
|
"img",
|
|
97065
97440
|
{
|
|
97066
97441
|
src: "https://picsum.photos/id/995/250/250",
|
|
97067
|
-
className:
|
|
97442
|
+
className: clsx(styles$n.root, { [styles$n.alt]: true })
|
|
97068
97443
|
}
|
|
97069
97444
|
)
|
|
97070
97445
|
);
|
|
@@ -101965,9 +102340,9 @@ const BaileysBead = ({ theta, offset = 0, opa }) => {
|
|
|
101965
102340
|
opacity: opacity.to((o) => o * mapOpacityToAngle())
|
|
101966
102341
|
},
|
|
101967
102342
|
children: [
|
|
101968
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
101969
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
101970
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
102343
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$j.bead, styles$j.bead3) }),
|
|
102344
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$j.bead, styles$j.bead2) }),
|
|
102345
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$j.bead, styles$j.bead1) })
|
|
101971
102346
|
]
|
|
101972
102347
|
}
|
|
101973
102348
|
)
|
|
@@ -102105,7 +102480,7 @@ const SpeechToText = () => {
|
|
|
102105
102480
|
recognitionRef.current = null;
|
|
102106
102481
|
}
|
|
102107
102482
|
}, []);
|
|
102108
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
102483
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx(styles$i.container, { [styles$i.speaking]: isSpeaking }), children: [
|
|
102109
102484
|
/* @__PURE__ */ jsx(
|
|
102110
102485
|
"textarea",
|
|
102111
102486
|
{
|
|
@@ -102157,12 +102532,12 @@ const styles$h = {
|
|
|
102157
102532
|
|
|
102158
102533
|
const StaticSolarEclipse = () => {
|
|
102159
102534
|
return /* @__PURE__ */ jsxs("div", { className: styles$h.root, children: [
|
|
102160
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
102161
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
102162
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
102163
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
102164
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
102165
|
-
/* @__PURE__ */ jsx("div", { className:
|
|
102535
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$h.layer, styles$h.layer1) }),
|
|
102536
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$h.layer, styles$h.layer2) }),
|
|
102537
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$h.layer, styles$h.layer3) }),
|
|
102538
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$h.layer, styles$h.layer4) }),
|
|
102539
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$h.layer, styles$h.layer5) }),
|
|
102540
|
+
/* @__PURE__ */ jsx("div", { className: clsx(styles$h.layer, styles$h.layer6) })
|
|
102166
102541
|
] });
|
|
102167
102542
|
};
|
|
102168
102543
|
|
|
@@ -102565,7 +102940,7 @@ const TextImageHover = () => {
|
|
|
102565
102940
|
/* @__PURE__ */ jsx(
|
|
102566
102941
|
"image",
|
|
102567
102942
|
{
|
|
102568
|
-
className:
|
|
102943
|
+
className: clsx(styles$c.image, {
|
|
102569
102944
|
[styles$c.active]: activeIndex === 0
|
|
102570
102945
|
}),
|
|
102571
102946
|
x: "50",
|
|
@@ -102578,7 +102953,7 @@ const TextImageHover = () => {
|
|
|
102578
102953
|
/* @__PURE__ */ jsx(
|
|
102579
102954
|
"image",
|
|
102580
102955
|
{
|
|
102581
|
-
className:
|
|
102956
|
+
className: clsx(styles$c.image, {
|
|
102582
102957
|
[styles$c.active]: activeIndex === 1
|
|
102583
102958
|
}),
|
|
102584
102959
|
x: "50",
|
|
@@ -102629,7 +103004,7 @@ const BlurVignette = ({
|
|
|
102629
103004
|
return /* @__PURE__ */ jsx(
|
|
102630
103005
|
"div",
|
|
102631
103006
|
{
|
|
102632
|
-
className:
|
|
103007
|
+
className: clsx(styles$a.root, className),
|
|
102633
103008
|
style: {
|
|
102634
103009
|
"--background-image-url": `url(${url})`,
|
|
102635
103010
|
"--radius": `${radius}px`,
|
|
@@ -105236,7 +105611,7 @@ const FORMATTERS = {
|
|
|
105236
105611
|
})
|
|
105237
105612
|
};
|
|
105238
105613
|
const Character = ({ className, parentKey, value }) => {
|
|
105239
|
-
return /* @__PURE__ */ jsx("span", { "data-value": value, className:
|
|
105614
|
+
return /* @__PURE__ */ jsx("span", { "data-value": value, className: clsx(styles$7.character, className), children: /* @__PURE__ */ jsxs("span", { className: styles$7.track, style: { "--v": value }, children: [
|
|
105240
105615
|
/* @__PURE__ */ jsx("span", { children: "9" }),
|
|
105241
105616
|
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9].map((val, index) => {
|
|
105242
105617
|
return /* @__PURE__ */ jsx("span", { children: val }, `${parentKey}--${index}`);
|
|
@@ -105307,7 +105682,7 @@ const Counter = () => {
|
|
|
105307
105682
|
return /* @__PURE__ */ jsx(
|
|
105308
105683
|
"span",
|
|
105309
105684
|
{
|
|
105310
|
-
className:
|
|
105685
|
+
className: clsx(styles$7.character, styles$7.symbol),
|
|
105311
105686
|
children: character
|
|
105312
105687
|
},
|
|
105313
105688
|
index
|
|
@@ -105352,7 +105727,7 @@ const Illumination = () => {
|
|
|
105352
105727
|
"div",
|
|
105353
105728
|
{
|
|
105354
105729
|
ref,
|
|
105355
|
-
className:
|
|
105730
|
+
className: clsx(styles$6.root, { [styles$6.loading]: loading }),
|
|
105356
105731
|
onPointerMove: (e) => {
|
|
105357
105732
|
setInteracted(true);
|
|
105358
105733
|
const { x, y } = e.nativeEvent;
|
|
@@ -105441,7 +105816,7 @@ const LandingXYScroll = () => {
|
|
|
105441
105816
|
/* @__PURE__ */ jsx(
|
|
105442
105817
|
"section",
|
|
105443
105818
|
{
|
|
105444
|
-
className:
|
|
105819
|
+
className: clsx(styles$5.section, styles$5.sectionPin),
|
|
105445
105820
|
id: "sectionPin",
|
|
105446
105821
|
children: /* @__PURE__ */ jsx("div", { className: styles$5.pinWrapSticky, children: /* @__PURE__ */ jsxs("div", { className: styles$5.pinWrap, children: [
|
|
105447
105822
|
/* @__PURE__ */ jsx("h2", { className: styles$5.h2, children: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua." }),
|
|
@@ -105487,7 +105862,7 @@ const LandingXYScroll = () => {
|
|
|
105487
105862
|
alt: ""
|
|
105488
105863
|
}
|
|
105489
105864
|
),
|
|
105490
|
-
/* @__PURE__ */ jsxs("h2", { className:
|
|
105865
|
+
/* @__PURE__ */ jsxs("h2", { className: clsx(styles$5.h2, styles$5.credit), children: [
|
|
105491
105866
|
"Created by",
|
|
105492
105867
|
/* @__PURE__ */ jsx(
|
|
105493
105868
|
"a",
|
|
@@ -113463,10 +113838,10 @@ rotate(${15 * (Math.random() - 0.5)}deg)`;
|
|
|
113463
113838
|
}
|
|
113464
113839
|
const ThanosDisappearEffect = () => {
|
|
113465
113840
|
useOklch();
|
|
113466
|
-
return /* @__PURE__ */ jsx("div", { className:
|
|
113841
|
+
return /* @__PURE__ */ jsx("div", { className: clsx(styles$3.container, styles$3.grid), children: /* @__PURE__ */ jsxs(
|
|
113467
113842
|
"div",
|
|
113468
113843
|
{
|
|
113469
|
-
className:
|
|
113844
|
+
className: clsx(
|
|
113470
113845
|
styles$3.item,
|
|
113471
113846
|
styles$3.disintegrationTarget,
|
|
113472
113847
|
styles$3.grid,
|