@tarsis/toolkit 0.3.0 → 0.3.1
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-Bc7gqmwA.cjs → gl-Ck8RJfgo.cjs} +1 -1
- package/dist/{gl-DXFUxIz-.js → gl-aoSUckLs.js} +1 -1
- package/dist/{index-CnHy4iac.js → index-DHV_gGtW.js} +67 -90
- package/dist/{index-cMJ-sqWf.cjs → index-DKo54p8r.cjs} +67 -89
- package/dist/index.cjs +3 -2
- package/dist/index.css +484 -484
- package/dist/index.d.ts +6 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-DKo54p8r.cjs');
|
|
6
6
|
|
|
7
7
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
8
8
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as WebGLRenderer, P as PerspectiveCamera, S as Scene, T as THREE$1, C as Clock, a as TextureLoader, R as RawShaderMaterial, D as DoubleSide, b as WebGLRenderTarget, c as Color, M as Mesh, d as TorusKnotGeometry, e as ShaderMaterial } from './index-
|
|
1
|
+
import { W as WebGLRenderer, P as PerspectiveCamera, S as Scene, T as THREE$1, C as Clock, a as TextureLoader, R as RawShaderMaterial, D as DoubleSide, b as WebGLRenderTarget, c as Color, M as Mesh, d as TorusKnotGeometry, e as ShaderMaterial } from './index-DHV_gGtW.js';
|
|
2
2
|
|
|
3
3
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import React, { useRef, useState, useEffect, useMemo, useCallback, forwardRef, createContext, useLayoutEffect } from 'react';
|
|
3
|
+
import React, { useRef, useState, useEffect, useMemo, useCallback, Fragment as Fragment$1, forwardRef, createContext, useLayoutEffect } from 'react';
|
|
4
4
|
import ReactDOM from 'react-dom';
|
|
5
5
|
import { useMotionValue, animate as animate$2, useSpring, useTransform, motion, useAnimate } from 'framer-motion';
|
|
6
6
|
import { Howl } from 'howler';
|
|
@@ -51809,41 +51809,6 @@ const useBowser = () => {
|
|
|
51809
51809
|
}, [browser, parser]);
|
|
51810
51810
|
};
|
|
51811
51811
|
|
|
51812
|
-
const move = (source, start, end) => {
|
|
51813
|
-
const item = source[start];
|
|
51814
|
-
const result = source.slice(0);
|
|
51815
|
-
result.splice(start, 1);
|
|
51816
|
-
result.splice(end, 0, item);
|
|
51817
|
-
return result;
|
|
51818
|
-
};
|
|
51819
|
-
|
|
51820
|
-
const times = (fn, size) => Array.from({ length: size }, (_, index) => fn(index));
|
|
51821
|
-
|
|
51822
|
-
const noop = (..._args) => {
|
|
51823
|
-
};
|
|
51824
|
-
|
|
51825
|
-
const wait = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
51826
|
-
|
|
51827
|
-
const isNonNullable = (value) => value !== void 0 && value !== null;
|
|
51828
|
-
|
|
51829
|
-
const notReachable = (arg) => {
|
|
51830
|
-
throw new Error(`"${arg}" should never be reached`);
|
|
51831
|
-
};
|
|
51832
|
-
|
|
51833
|
-
const keys = (value) => {
|
|
51834
|
-
const primitiveKeys = Object.keys(
|
|
51835
|
-
value
|
|
51836
|
-
);
|
|
51837
|
-
const symbolKeys = Object.getOwnPropertySymbols(value).filter(
|
|
51838
|
-
(sym) => Object.getOwnPropertyDescriptor(value, sym)?.enumerable
|
|
51839
|
-
);
|
|
51840
|
-
return [...primitiveKeys, ...symbolKeys];
|
|
51841
|
-
};
|
|
51842
|
-
|
|
51843
|
-
const values = (input) => {
|
|
51844
|
-
return keys(input).map((key) => input[key]);
|
|
51845
|
-
};
|
|
51846
|
-
|
|
51847
51812
|
const useOutsideClick = (ref, cb, when = true) => {
|
|
51848
51813
|
const savedCallback = useRef(cb);
|
|
51849
51814
|
const memoizedHandler = useCallback(
|
|
@@ -51858,46 +51823,14 @@ const useOutsideClick = (ref, cb, when = true) => {
|
|
|
51858
51823
|
savedCallback.current = cb;
|
|
51859
51824
|
});
|
|
51860
51825
|
useEffect(() => {
|
|
51861
|
-
if (when) {
|
|
51862
|
-
|
|
51863
|
-
document.addEventListener("ontouchstart", memoizedHandler, true);
|
|
51864
|
-
return () => {
|
|
51865
|
-
document.removeEventListener("click", memoizedHandler, true);
|
|
51866
|
-
document.removeEventListener("ontouchstart", memoizedHandler, true);
|
|
51867
|
-
};
|
|
51868
|
-
}
|
|
51869
|
-
return noop;
|
|
51870
|
-
}, [ref, cb, when, memoizedHandler]);
|
|
51871
|
-
};
|
|
51872
|
-
const useOutsideClickRef = (handler, when = true) => {
|
|
51873
|
-
const savedHandler = useRef(handler);
|
|
51874
|
-
const [node, setNode] = useState(null);
|
|
51875
|
-
const memoizedCallback = useCallback(
|
|
51876
|
-
(event) => {
|
|
51877
|
-
if (node && !node.contains(event.target)) {
|
|
51878
|
-
savedHandler.current(event);
|
|
51879
|
-
}
|
|
51880
|
-
},
|
|
51881
|
-
[node]
|
|
51882
|
-
);
|
|
51883
|
-
useEffect(() => {
|
|
51884
|
-
savedHandler.current = handler;
|
|
51885
|
-
});
|
|
51886
|
-
const ref = useCallback((nodeElement) => {
|
|
51887
|
-
setNode(nodeElement);
|
|
51888
|
-
}, []);
|
|
51889
|
-
useEffect(() => {
|
|
51890
|
-
if (when) {
|
|
51891
|
-
document.addEventListener("click", memoizedCallback, true);
|
|
51892
|
-
document.addEventListener("ontouchstart", memoizedCallback, true);
|
|
51893
|
-
return () => {
|
|
51894
|
-
document.removeEventListener("click", memoizedCallback, true);
|
|
51895
|
-
document.removeEventListener("ontouchstart", memoizedCallback, true);
|
|
51896
|
-
};
|
|
51826
|
+
if (!when) {
|
|
51827
|
+
return;
|
|
51897
51828
|
}
|
|
51898
|
-
|
|
51899
|
-
|
|
51900
|
-
|
|
51829
|
+
document.addEventListener("pointerdown", memoizedHandler, true);
|
|
51830
|
+
return () => {
|
|
51831
|
+
document.removeEventListener("pointerdown", memoizedHandler, true);
|
|
51832
|
+
};
|
|
51833
|
+
}, [when, memoizedHandler]);
|
|
51901
51834
|
};
|
|
51902
51835
|
|
|
51903
51836
|
const useUniversalLayoutEffect = typeof window === "undefined" ? React.useEffect : React.useLayoutEffect;
|
|
@@ -52386,11 +52319,11 @@ const BubblyParticlesButton = () => {
|
|
|
52386
52319
|
);
|
|
52387
52320
|
};
|
|
52388
52321
|
|
|
52389
|
-
const root$4g = "
|
|
52390
|
-
const button$n = "
|
|
52391
|
-
const p = "
|
|
52392
|
-
const text$z = "
|
|
52393
|
-
const effects = "
|
|
52322
|
+
const root$4g = "_root_zvoec_1";
|
|
52323
|
+
const button$n = "_button_zvoec_13";
|
|
52324
|
+
const p = "_p_zvoec_26";
|
|
52325
|
+
const text$z = "_text_zvoec_26";
|
|
52326
|
+
const effects = "_effects_zvoec_240";
|
|
52394
52327
|
const styles$4E = {
|
|
52395
52328
|
root: root$4g,
|
|
52396
52329
|
button: button$n,
|
|
@@ -53375,6 +53308,50 @@ const DarkMatterButton = () => {
|
|
|
53375
53308
|
] });
|
|
53376
53309
|
};
|
|
53377
53310
|
|
|
53311
|
+
const move = (source, start, end) => {
|
|
53312
|
+
const item = source[start];
|
|
53313
|
+
const result = source.slice(0);
|
|
53314
|
+
result.splice(start, 1);
|
|
53315
|
+
result.splice(end, 0, item);
|
|
53316
|
+
return result;
|
|
53317
|
+
};
|
|
53318
|
+
|
|
53319
|
+
const times = (fn, size) => Array.from({ length: size }, (_, index) => fn(index));
|
|
53320
|
+
|
|
53321
|
+
const noop = (..._args) => {
|
|
53322
|
+
};
|
|
53323
|
+
|
|
53324
|
+
const wait = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
53325
|
+
|
|
53326
|
+
const is = (type) => (x) => Object(x) instanceof type;
|
|
53327
|
+
|
|
53328
|
+
const isNonNullable = (value) => value !== void 0 && value !== null;
|
|
53329
|
+
|
|
53330
|
+
const notReachable = (arg) => {
|
|
53331
|
+
throw new Error(`"${arg}" should never be reached`);
|
|
53332
|
+
};
|
|
53333
|
+
|
|
53334
|
+
const keys = (value) => {
|
|
53335
|
+
const primitiveKeys = Object.keys(
|
|
53336
|
+
value
|
|
53337
|
+
);
|
|
53338
|
+
const symbolKeys = Object.getOwnPropertySymbols(value).filter(
|
|
53339
|
+
(sym) => Object.getOwnPropertyDescriptor(value, sym)?.enumerable
|
|
53340
|
+
);
|
|
53341
|
+
return [...primitiveKeys, ...symbolKeys];
|
|
53342
|
+
};
|
|
53343
|
+
|
|
53344
|
+
const values = (input) => {
|
|
53345
|
+
return keys(input).map((key) => input[key]);
|
|
53346
|
+
};
|
|
53347
|
+
|
|
53348
|
+
const chain = (...elements) => {
|
|
53349
|
+
return elements.map((element, index) => /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
53350
|
+
/* @__PURE__ */ jsx("span", { children: element }),
|
|
53351
|
+
index !== elements.length - 1 && /* @__PURE__ */ jsx("span", { children: " • " })
|
|
53352
|
+
] }, index));
|
|
53353
|
+
};
|
|
53354
|
+
|
|
53378
53355
|
const root$49 = "_root_v0pdt_1";
|
|
53379
53356
|
const content$p = "_content_v0pdt_24";
|
|
53380
53357
|
const styles$4v = {
|
|
@@ -55832,9 +55809,9 @@ const NeonButton = ({ className = "", ...props }) => {
|
|
|
55832
55809
|
return /* @__PURE__ */ jsx("button", { type: "button", className: cn(styles$46.root, className), ...props, children: "Neon" });
|
|
55833
55810
|
};
|
|
55834
55811
|
|
|
55835
|
-
const root$3N = "
|
|
55836
|
-
const i$1 = "
|
|
55837
|
-
const text$s = "
|
|
55812
|
+
const root$3N = "_root_11wt6_2";
|
|
55813
|
+
const i$1 = "_i_11wt6_22";
|
|
55814
|
+
const text$s = "_text_11wt6_482";
|
|
55838
55815
|
const styles$45 = {
|
|
55839
55816
|
root: root$3N,
|
|
55840
55817
|
i: i$1,
|
|
@@ -63918,7 +63895,7 @@ const EndlessLoader = () => {
|
|
|
63918
63895
|
if (typeof window === "undefined") return;
|
|
63919
63896
|
const loadGl = async () => {
|
|
63920
63897
|
window.THREE = require("three");
|
|
63921
|
-
const GLModule = await import('./gl-
|
|
63898
|
+
const GLModule = await import('./gl-aoSUckLs.js');
|
|
63922
63899
|
const glInstance = new GLModule.GL();
|
|
63923
63900
|
glInstance.init();
|
|
63924
63901
|
};
|
|
@@ -69808,11 +69785,11 @@ const ScrambledText = ({
|
|
|
69808
69785
|
);
|
|
69809
69786
|
};
|
|
69810
69787
|
|
|
69811
|
-
const root$Y = "
|
|
69812
|
-
const line = "
|
|
69813
|
-
const word$1 = "
|
|
69814
|
-
const link = "
|
|
69815
|
-
const letter = "
|
|
69788
|
+
const root$Y = "_root_m12f5_1";
|
|
69789
|
+
const line = "_line_m12f5_9";
|
|
69790
|
+
const word$1 = "_word_m12f5_14";
|
|
69791
|
+
const link = "_link_m12f5_18";
|
|
69792
|
+
const letter = "_letter_m12f5_22";
|
|
69816
69793
|
const styles$12 = {
|
|
69817
69794
|
root: root$Y,
|
|
69818
69795
|
line: line,
|
|
@@ -79055,4 +79032,4 @@ const CircleParticles = () => {
|
|
|
79055
79032
|
);
|
|
79056
79033
|
};
|
|
79057
79034
|
|
|
79058
|
-
export { StaticSolarEclipse as $, AdjoinedFilters as A, BlurredBackground as B, Clock as C, DoubleSide as D, AvatarHover as E, Fingerprint as F, GradientBorder as G, GlowingShadows as H, GlitterCard as I, MotionDigits as J, SolarEclipse as K, Lock as L, Mesh as M, NamedPointer as N, SchrodingerFormControls as O, PerspectiveCamera as P, LayeredComponents as Q, RawShaderMaterial as R, Scene as S, THREE as T, QuickTimeClock as U, BreakingProgress as V, WebGLRenderer as W, BouncyClock as X, NotificationBell as Y, Appearance as Z, ImageClipping as _, TextureLoader as a, HoldSubmitButton as a$, TranslucentBackdrop as a0, GlidingReveal as a1, RevealImageAnimation as a2, AreaLight as a3, ChromaticAberration as a4, PhotoZoom as a5, BackgroundSlider as a6, LoveGlow as a7, TextImageHover as a8, ElasticCards as a9, BurningButton as aA, ButtonHoverFill as aB, ButtonShimmer as aC, ButtonWithDot as aD, ClaymorphicHeart as aE, ClickButtonParticles as aF, ColorfulButtons as aG, ConfettiButton as aH, DarkMatterButton as aI, DDDButton as aJ, DockButton as aK, DoubleArrowButton as aL, DoubleArrowCollabButton as aM, DoubleStateButton as aN, DynamicIconButton as aO, EchoClickButton as aP, ElectrifiedButton as aQ, ElectrifiedButtonGS as aR, FailedDownloadButton as aS, FootprintButton as aT, GalaxyButton as aU, GlowButton as aV, GodRaysButton as aW, GoHoverButton as aX, GooeyButton as aY, GravityButton as aZ, HeartFoldButton as a_, VoiceAnimation as aa, Illumination as ab, ThanosDisappearEffect as ac, ThanosDisappearEffectList as ad, LandingXYScroll as ae, ViewTransitionImageGallery as af, ViewTransitionAddToCard as ag, BlurVignette as ah, BorderGradient as ai, RhombusGallery as aj, CircleParticles as ak, Expand as al, GridAccordion as am, BackgroundCircles as an, ComplexGradient as ao, RaysBackground as ap, Texture$1 as aq, WebGLSmoke as ar, ApertureVideo as as, ComingSoonBadge as at, ActivateButton as au, AirplaneAnimation as av, AnimatedHoverButton as aw, AnimatedHoverGlowButton as ax, AuroraButton as ay, BubblyParticlesButton as az, WebGLRenderTarget as b, SlidingImages as b$, HoverGlowButton as b0, Ios15Button as b1, MagneticButton as b2, MinimalisticGlassButton as b3, MorphingSubmitButton as b4, MultiStageButton as b5, NeonButton as b6, NoisyButton as b7, OrbitalSubmitButton as b8, PaperPlanButton as b9, FigmaLogo as bA, CaptionCard as bB, CardGlow as bC, CardTile as bD, ChequeredCard as bE, DDDHoverCard as bF, EnvelopeTile as bG, GradientGlowingTile as bH, GlowingTile as bI, HoverTile as bJ, Hoverable3DCard as bK, ImageCard as bL, PhotoCard$1 as bM, ProductTile as bN, ProfileCard as bO, ShineAnimation as bP, StackingCards as bQ, BulletsCarousel as bR, CardCarousel as bS, CoverFlowGallery as bT, FullScreenImageCarousel as bU, GalleryReverseScroll as bV, GlideImageGallery as bW, ListItemHover as bX, RotatedCardsCarousel as bY, Scroller as bZ, ShadowedCardsList as b_, PlayPauseButton as ba, PlayPauseMusicButton as bb, PositionHover as bc, PredictionButton as bd, ProgressButton as be, PsychedelicButton as bf, RepostButton as bg, RubberButton as bh, RunningButton as bi, ShimmerButton as bj, ShimmeringBorderGradient as bk, ShinyButton as bl, SkeuomorphicLikeButton as bm, SlidingButton as bn, SlidingStepper as bo, SparkleButton as bp, SparklyButton as bq, SquishButton as br, SuccessLoadingButton as bs, ThreadsLikeButton as bt, ThumbsUpButton as bu, TicklishButton as bv, TrickButton as bw, AccentShardCard as bx, AnimatedBlendedCard as by, BrandCard as bz, Color as c, CubeLoader as c$, Checkbox as c0, IndeterminateCheckboxes as c1, StrikethroughCheckbox as c2, StrikethroughCheckboxes as c3, Chips as c4, FlipChips as c5, DailClock as c6, MotionClock as c7, NeumorphicAnalogClock as c8, CircleTextHover as c9, FluidGooeyTextBackground as cA, GlassIcon as cB, NeumorphicLogo as cC, SlidingIcon as cD, SquircleAvatar as cE, ClearInput as cF, FloatingLabelInput as cG, GlowingInput as cH, InputFirework as cI, SearchInput as cJ, EmailInput as cK, NewsletterInput as cL, PasswordInput as cM, ShadowedClick as cN, BorderLink as cO, CircleLink as cP, ForwardArrowLink as cQ, PaintedLink as cR, RegularLink as cS, ShakyLine as cT, UnderlinedLink as cU, UnderlinedLink2 as cV, AcrobaticPreloader as cW, AlienSkeuomorphicLoaders as cX, CanOfDigits as cY, ChaseLoader as cZ, CircleDotsLoader as c_, ClickSpark as ca, DarkMatterMouseEffect as cb, ElasticCursor as cc, SplashCursor as cd, MagicMouseEffect as ce, DialControl as cf, DialFuturistic as cg, MetalCircleController as ch, Dock as ci, DockHas as cj, DockMotion as ck, getDockTooltipPosition as cl, DockY as cm, AutoMasonryGrid as cn, DenseGrid as co, Grid3DCards as cp, GridHover as cq, GridViewTransition as cr, LeaningCards as cs, BoldHamburger as ct, HamburgerMusic as cu, HamburgerX as cv, Header as cw, StickyHeader as cx, AnimatedHeroTitle as cy, ContrastBackgroundText as cz, TorusKnotGeometry as d, IosSwitch as d$, EndlessLoader as d0, InfiniteLoader as d1, LoaderGenerator as d2, LoadingBook as d3, LoadingWave as d4, OffTrackPreloader as d5, PieLoader as d6, PulseInLoader as d7, PulseOutLoader as d8, RingLoader as d9, NavigationMenu as dA, ParallaxMenu as dB, PianoNav as dC, PinDropdown as dD, RadialMenu as dE, RadialNavigation as dF, SinglePopoverMenu as dG, TabBarAnimation as dH, WavyMenu as dI, CronRedirectPage as dJ, EmojiLayer as dK, ParallaxEmoji as dL, RadioRolling as dM, RadioParticles as dN, RadioHopping as dO, ScrollCountdown as dP, ScrollDrivenTextBlowOut as dQ, ScrollingTextReveal as dR, ScrollTextHighlight as dS, ScrollTimeline as dT, ScrollWithLight as dU, DDDRangeSlider as dV, GlowSlider as dW, NeumorphicSlider as dX, FeedbackReactions as dY, DaySwitch as dZ, GlassSwitch as d_, RoundScaleLoader as da, SkateboardPreloader as db, SmileyPreloader as dc, SnowballPreloader as dd, SpinningClickAnimation as de, StretchyLoader as df, StuntPreloader as dg, SubtleBorderAnimation as dh, SuccessLoader as di, ThreeDotsLoader as dj, TimeCirclesLoader as dk, CardMarquee as dl, Ticker as dm, AnimatedIconsNav as dn, AnimatedShareMenu as dp, ITEMS$1 as dq, CurtainRevealMenu as dr, DetachedMenu as ds, DropdownMenu as dt, Futuristic3DHoverMenu as du, GlowingDropdown as dv, GlowingTabs as dw, GlowingTabs2 as dx, MagnifiedNavItems as dy, MobileNavBar as dz, ShaderMaterial as e, NeonToggleSwitch as e0, NeuromorphicToggle as e1, SegmentedToggle as e2, StretchToggle as e3, TippingSwitch as e4, ToggleBubble as e5, ToggleClipPath as e6, EnlightenedText as e7, GlowingText as e8, GrainyGradientText as e9,
|
|
79035
|
+
export { StaticSolarEclipse as $, AdjoinedFilters as A, BlurredBackground as B, Clock as C, DoubleSide as D, AvatarHover as E, Fingerprint as F, GradientBorder as G, GlowingShadows as H, GlitterCard as I, MotionDigits as J, SolarEclipse as K, Lock as L, Mesh as M, NamedPointer as N, SchrodingerFormControls as O, PerspectiveCamera as P, LayeredComponents as Q, RawShaderMaterial as R, Scene as S, THREE as T, QuickTimeClock as U, BreakingProgress as V, WebGLRenderer as W, BouncyClock as X, NotificationBell as Y, Appearance as Z, ImageClipping as _, TextureLoader as a, HoldSubmitButton as a$, TranslucentBackdrop as a0, GlidingReveal as a1, RevealImageAnimation as a2, AreaLight as a3, ChromaticAberration as a4, PhotoZoom as a5, BackgroundSlider as a6, LoveGlow as a7, TextImageHover as a8, ElasticCards as a9, BurningButton as aA, ButtonHoverFill as aB, ButtonShimmer as aC, ButtonWithDot as aD, ClaymorphicHeart as aE, ClickButtonParticles as aF, ColorfulButtons as aG, ConfettiButton as aH, DarkMatterButton as aI, DDDButton as aJ, DockButton as aK, DoubleArrowButton as aL, DoubleArrowCollabButton as aM, DoubleStateButton as aN, DynamicIconButton as aO, EchoClickButton as aP, ElectrifiedButton as aQ, ElectrifiedButtonGS as aR, FailedDownloadButton as aS, FootprintButton as aT, GalaxyButton as aU, GlowButton as aV, GodRaysButton as aW, GoHoverButton as aX, GooeyButton as aY, GravityButton as aZ, HeartFoldButton as a_, VoiceAnimation as aa, Illumination as ab, ThanosDisappearEffect as ac, ThanosDisappearEffectList as ad, LandingXYScroll as ae, ViewTransitionImageGallery as af, ViewTransitionAddToCard as ag, BlurVignette as ah, BorderGradient as ai, RhombusGallery as aj, CircleParticles as ak, Expand as al, GridAccordion as am, BackgroundCircles as an, ComplexGradient as ao, RaysBackground as ap, Texture$1 as aq, WebGLSmoke as ar, ApertureVideo as as, ComingSoonBadge as at, ActivateButton as au, AirplaneAnimation as av, AnimatedHoverButton as aw, AnimatedHoverGlowButton as ax, AuroraButton as ay, BubblyParticlesButton as az, WebGLRenderTarget as b, SlidingImages as b$, HoverGlowButton as b0, Ios15Button as b1, MagneticButton as b2, MinimalisticGlassButton as b3, MorphingSubmitButton as b4, MultiStageButton as b5, NeonButton as b6, NoisyButton as b7, OrbitalSubmitButton as b8, PaperPlanButton as b9, FigmaLogo as bA, CaptionCard as bB, CardGlow as bC, CardTile as bD, ChequeredCard as bE, DDDHoverCard as bF, EnvelopeTile as bG, GradientGlowingTile as bH, GlowingTile as bI, HoverTile as bJ, Hoverable3DCard as bK, ImageCard as bL, PhotoCard$1 as bM, ProductTile as bN, ProfileCard as bO, ShineAnimation as bP, StackingCards as bQ, BulletsCarousel as bR, CardCarousel as bS, CoverFlowGallery as bT, FullScreenImageCarousel as bU, GalleryReverseScroll as bV, GlideImageGallery as bW, ListItemHover as bX, RotatedCardsCarousel as bY, Scroller as bZ, ShadowedCardsList as b_, PlayPauseButton as ba, PlayPauseMusicButton as bb, PositionHover as bc, PredictionButton as bd, ProgressButton as be, PsychedelicButton as bf, RepostButton as bg, RubberButton as bh, RunningButton as bi, ShimmerButton as bj, ShimmeringBorderGradient as bk, ShinyButton as bl, SkeuomorphicLikeButton as bm, SlidingButton as bn, SlidingStepper as bo, SparkleButton as bp, SparklyButton as bq, SquishButton as br, SuccessLoadingButton as bs, ThreadsLikeButton as bt, ThumbsUpButton as bu, TicklishButton as bv, TrickButton as bw, AccentShardCard as bx, AnimatedBlendedCard as by, BrandCard as bz, Color as c, CubeLoader as c$, Checkbox as c0, IndeterminateCheckboxes as c1, StrikethroughCheckbox as c2, StrikethroughCheckboxes as c3, Chips as c4, FlipChips as c5, DailClock as c6, MotionClock as c7, NeumorphicAnalogClock as c8, CircleTextHover as c9, FluidGooeyTextBackground as cA, GlassIcon as cB, NeumorphicLogo as cC, SlidingIcon as cD, SquircleAvatar as cE, ClearInput as cF, FloatingLabelInput as cG, GlowingInput as cH, InputFirework as cI, SearchInput as cJ, EmailInput as cK, NewsletterInput as cL, PasswordInput as cM, ShadowedClick as cN, BorderLink as cO, CircleLink as cP, ForwardArrowLink as cQ, PaintedLink as cR, RegularLink as cS, ShakyLine as cT, UnderlinedLink as cU, UnderlinedLink2 as cV, AcrobaticPreloader as cW, AlienSkeuomorphicLoaders as cX, CanOfDigits as cY, ChaseLoader as cZ, CircleDotsLoader as c_, ClickSpark as ca, DarkMatterMouseEffect as cb, ElasticCursor as cc, SplashCursor as cd, MagicMouseEffect as ce, DialControl as cf, DialFuturistic as cg, MetalCircleController as ch, Dock as ci, DockHas as cj, DockMotion as ck, getDockTooltipPosition as cl, DockY as cm, AutoMasonryGrid as cn, DenseGrid as co, Grid3DCards as cp, GridHover as cq, GridViewTransition as cr, LeaningCards as cs, BoldHamburger as ct, HamburgerMusic as cu, HamburgerX as cv, Header as cw, StickyHeader as cx, AnimatedHeroTitle as cy, ContrastBackgroundText as cz, TorusKnotGeometry as d, IosSwitch as d$, EndlessLoader as d0, InfiniteLoader as d1, LoaderGenerator as d2, LoadingBook as d3, LoadingWave as d4, OffTrackPreloader as d5, PieLoader as d6, PulseInLoader as d7, PulseOutLoader as d8, RingLoader as d9, NavigationMenu as dA, ParallaxMenu as dB, PianoNav as dC, PinDropdown as dD, RadialMenu as dE, RadialNavigation as dF, SinglePopoverMenu as dG, TabBarAnimation as dH, WavyMenu as dI, CronRedirectPage as dJ, EmojiLayer as dK, ParallaxEmoji as dL, RadioRolling as dM, RadioParticles as dN, RadioHopping as dO, ScrollCountdown as dP, ScrollDrivenTextBlowOut as dQ, ScrollingTextReveal as dR, ScrollTextHighlight as dS, ScrollTimeline as dT, ScrollWithLight as dU, DDDRangeSlider as dV, GlowSlider as dW, NeumorphicSlider as dX, FeedbackReactions as dY, DaySwitch as dZ, GlassSwitch as d_, RoundScaleLoader as da, SkateboardPreloader as db, SmileyPreloader as dc, SnowballPreloader as dd, SpinningClickAnimation as de, StretchyLoader as df, StuntPreloader as dg, SubtleBorderAnimation as dh, SuccessLoader as di, ThreeDotsLoader as dj, TimeCirclesLoader as dk, CardMarquee as dl, Ticker as dm, AnimatedIconsNav as dn, AnimatedShareMenu as dp, ITEMS$1 as dq, CurtainRevealMenu as dr, DetachedMenu as ds, DropdownMenu as dt, Futuristic3DHoverMenu as du, GlowingDropdown as dv, GlowingTabs as dw, GlowingTabs2 as dx, MagnifiedNavItems as dy, MobileNavBar as dz, ShaderMaterial as e, NeonToggleSwitch as e0, NeuromorphicToggle as e1, SegmentedToggle as e2, StretchToggle as e3, TippingSwitch as e4, ToggleBubble as e5, ToggleClipPath as e6, EnlightenedText as e7, GlowingText as e8, GrainyGradientText as e9, is as eA, isNonNullable as eB, notReachable as eC, keys as eD, values as eE, chain as eF, JellyText as ea, MagicalText as eb, ScrambledText as ec, ScramblingLetters as ed, ShakingText as ee, ShiningText as ef, TextMorphing as eg, TextOutline as eh, TextShadow as ei, WeightText as ej, TooltipRangeSlider as ek, useAnimatedText as el, useBowser as em, useOutsideClick as en, useUniversalLayoutEffect as eo, useEffectEvent as ep, useLiveRef as eq, useMatchMedia as er, useOklch as es, usePrevious as et, usePreviousRender as eu, useWindowReady as ev, move as ew, times as ex, noop as ey, wait as ez, Toasts as f, SegmentedControls as g, SmoothScroll as h, Duck as i, ShapeSelection as j, DynamicIsland as k, FadeUp as l, CollapseAnimation as m, MultipathSvgAnimation as n, CircleLinesAnimation as o, SlideIn as p, StickyList as q, FileIcons as r, PolaroidStack as s, SpeechToText as t, CardDetails as u, SmokeTextDisappearance as v, TurbulenceFilter as w, MouseMoveGallery as x, RealisticSmoke as y, MultiGradientBackground as z };
|
|
@@ -51811,41 +51811,6 @@ const useBowser = () => {
|
|
|
51811
51811
|
}, [browser, parser]);
|
|
51812
51812
|
};
|
|
51813
51813
|
|
|
51814
|
-
const move = (source, start, end) => {
|
|
51815
|
-
const item = source[start];
|
|
51816
|
-
const result = source.slice(0);
|
|
51817
|
-
result.splice(start, 1);
|
|
51818
|
-
result.splice(end, 0, item);
|
|
51819
|
-
return result;
|
|
51820
|
-
};
|
|
51821
|
-
|
|
51822
|
-
const times = (fn, size) => Array.from({ length: size }, (_, index) => fn(index));
|
|
51823
|
-
|
|
51824
|
-
const noop = (..._args) => {
|
|
51825
|
-
};
|
|
51826
|
-
|
|
51827
|
-
const wait = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
51828
|
-
|
|
51829
|
-
const isNonNullable = (value) => value !== void 0 && value !== null;
|
|
51830
|
-
|
|
51831
|
-
const notReachable = (arg) => {
|
|
51832
|
-
throw new Error(`"${arg}" should never be reached`);
|
|
51833
|
-
};
|
|
51834
|
-
|
|
51835
|
-
const keys = (value) => {
|
|
51836
|
-
const primitiveKeys = Object.keys(
|
|
51837
|
-
value
|
|
51838
|
-
);
|
|
51839
|
-
const symbolKeys = Object.getOwnPropertySymbols(value).filter(
|
|
51840
|
-
(sym) => Object.getOwnPropertyDescriptor(value, sym)?.enumerable
|
|
51841
|
-
);
|
|
51842
|
-
return [...primitiveKeys, ...symbolKeys];
|
|
51843
|
-
};
|
|
51844
|
-
|
|
51845
|
-
const values = (input) => {
|
|
51846
|
-
return keys(input).map((key) => input[key]);
|
|
51847
|
-
};
|
|
51848
|
-
|
|
51849
51814
|
const useOutsideClick = (ref, cb, when = true) => {
|
|
51850
51815
|
const savedCallback = React.useRef(cb);
|
|
51851
51816
|
const memoizedHandler = React.useCallback(
|
|
@@ -51860,46 +51825,14 @@ const useOutsideClick = (ref, cb, when = true) => {
|
|
|
51860
51825
|
savedCallback.current = cb;
|
|
51861
51826
|
});
|
|
51862
51827
|
React.useEffect(() => {
|
|
51863
|
-
if (when) {
|
|
51864
|
-
|
|
51865
|
-
document.addEventListener("ontouchstart", memoizedHandler, true);
|
|
51866
|
-
return () => {
|
|
51867
|
-
document.removeEventListener("click", memoizedHandler, true);
|
|
51868
|
-
document.removeEventListener("ontouchstart", memoizedHandler, true);
|
|
51869
|
-
};
|
|
51870
|
-
}
|
|
51871
|
-
return noop;
|
|
51872
|
-
}, [ref, cb, when, memoizedHandler]);
|
|
51873
|
-
};
|
|
51874
|
-
const useOutsideClickRef = (handler, when = true) => {
|
|
51875
|
-
const savedHandler = React.useRef(handler);
|
|
51876
|
-
const [node, setNode] = React.useState(null);
|
|
51877
|
-
const memoizedCallback = React.useCallback(
|
|
51878
|
-
(event) => {
|
|
51879
|
-
if (node && !node.contains(event.target)) {
|
|
51880
|
-
savedHandler.current(event);
|
|
51881
|
-
}
|
|
51882
|
-
},
|
|
51883
|
-
[node]
|
|
51884
|
-
);
|
|
51885
|
-
React.useEffect(() => {
|
|
51886
|
-
savedHandler.current = handler;
|
|
51887
|
-
});
|
|
51888
|
-
const ref = React.useCallback((nodeElement) => {
|
|
51889
|
-
setNode(nodeElement);
|
|
51890
|
-
}, []);
|
|
51891
|
-
React.useEffect(() => {
|
|
51892
|
-
if (when) {
|
|
51893
|
-
document.addEventListener("click", memoizedCallback, true);
|
|
51894
|
-
document.addEventListener("ontouchstart", memoizedCallback, true);
|
|
51895
|
-
return () => {
|
|
51896
|
-
document.removeEventListener("click", memoizedCallback, true);
|
|
51897
|
-
document.removeEventListener("ontouchstart", memoizedCallback, true);
|
|
51898
|
-
};
|
|
51828
|
+
if (!when) {
|
|
51829
|
+
return;
|
|
51899
51830
|
}
|
|
51900
|
-
|
|
51901
|
-
|
|
51902
|
-
|
|
51831
|
+
document.addEventListener("pointerdown", memoizedHandler, true);
|
|
51832
|
+
return () => {
|
|
51833
|
+
document.removeEventListener("pointerdown", memoizedHandler, true);
|
|
51834
|
+
};
|
|
51835
|
+
}, [when, memoizedHandler]);
|
|
51903
51836
|
};
|
|
51904
51837
|
|
|
51905
51838
|
const useUniversalLayoutEffect = typeof window === "undefined" ? React.useEffect : React.useLayoutEffect;
|
|
@@ -52388,11 +52321,11 @@ const BubblyParticlesButton = () => {
|
|
|
52388
52321
|
);
|
|
52389
52322
|
};
|
|
52390
52323
|
|
|
52391
|
-
const root$4g = "
|
|
52392
|
-
const button$n = "
|
|
52393
|
-
const p = "
|
|
52394
|
-
const text$z = "
|
|
52395
|
-
const effects = "
|
|
52324
|
+
const root$4g = "_root_zvoec_1";
|
|
52325
|
+
const button$n = "_button_zvoec_13";
|
|
52326
|
+
const p = "_p_zvoec_26";
|
|
52327
|
+
const text$z = "_text_zvoec_26";
|
|
52328
|
+
const effects = "_effects_zvoec_240";
|
|
52396
52329
|
const styles$4E = {
|
|
52397
52330
|
root: root$4g,
|
|
52398
52331
|
button: button$n,
|
|
@@ -53377,6 +53310,50 @@ const DarkMatterButton = () => {
|
|
|
53377
53310
|
] });
|
|
53378
53311
|
};
|
|
53379
53312
|
|
|
53313
|
+
const move = (source, start, end) => {
|
|
53314
|
+
const item = source[start];
|
|
53315
|
+
const result = source.slice(0);
|
|
53316
|
+
result.splice(start, 1);
|
|
53317
|
+
result.splice(end, 0, item);
|
|
53318
|
+
return result;
|
|
53319
|
+
};
|
|
53320
|
+
|
|
53321
|
+
const times = (fn, size) => Array.from({ length: size }, (_, index) => fn(index));
|
|
53322
|
+
|
|
53323
|
+
const noop = (..._args) => {
|
|
53324
|
+
};
|
|
53325
|
+
|
|
53326
|
+
const wait = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
53327
|
+
|
|
53328
|
+
const is = (type) => (x) => Object(x) instanceof type;
|
|
53329
|
+
|
|
53330
|
+
const isNonNullable = (value) => value !== void 0 && value !== null;
|
|
53331
|
+
|
|
53332
|
+
const notReachable = (arg) => {
|
|
53333
|
+
throw new Error(`"${arg}" should never be reached`);
|
|
53334
|
+
};
|
|
53335
|
+
|
|
53336
|
+
const keys = (value) => {
|
|
53337
|
+
const primitiveKeys = Object.keys(
|
|
53338
|
+
value
|
|
53339
|
+
);
|
|
53340
|
+
const symbolKeys = Object.getOwnPropertySymbols(value).filter(
|
|
53341
|
+
(sym) => Object.getOwnPropertyDescriptor(value, sym)?.enumerable
|
|
53342
|
+
);
|
|
53343
|
+
return [...primitiveKeys, ...symbolKeys];
|
|
53344
|
+
};
|
|
53345
|
+
|
|
53346
|
+
const values = (input) => {
|
|
53347
|
+
return keys(input).map((key) => input[key]);
|
|
53348
|
+
};
|
|
53349
|
+
|
|
53350
|
+
const chain = (...elements) => {
|
|
53351
|
+
return elements.map((element, index) => /* @__PURE__ */ jsxRuntime.jsxs(React.Fragment, { children: [
|
|
53352
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: element }),
|
|
53353
|
+
index !== elements.length - 1 && /* @__PURE__ */ jsxRuntime.jsx("span", { children: " • " })
|
|
53354
|
+
] }, index));
|
|
53355
|
+
};
|
|
53356
|
+
|
|
53380
53357
|
const root$49 = "_root_v0pdt_1";
|
|
53381
53358
|
const content$p = "_content_v0pdt_24";
|
|
53382
53359
|
const styles$4v = {
|
|
@@ -55834,9 +55811,9 @@ const NeonButton = ({ className = "", ...props }) => {
|
|
|
55834
55811
|
return /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: cn(styles$46.root, className), ...props, children: "Neon" });
|
|
55835
55812
|
};
|
|
55836
55813
|
|
|
55837
|
-
const root$3N = "
|
|
55838
|
-
const i$1 = "
|
|
55839
|
-
const text$s = "
|
|
55814
|
+
const root$3N = "_root_11wt6_2";
|
|
55815
|
+
const i$1 = "_i_11wt6_22";
|
|
55816
|
+
const text$s = "_text_11wt6_482";
|
|
55840
55817
|
const styles$45 = {
|
|
55841
55818
|
root: root$3N,
|
|
55842
55819
|
i: i$1,
|
|
@@ -63920,7 +63897,7 @@ const EndlessLoader = () => {
|
|
|
63920
63897
|
if (typeof window === "undefined") return;
|
|
63921
63898
|
const loadGl = async () => {
|
|
63922
63899
|
window.THREE = require("three");
|
|
63923
|
-
const GLModule = await Promise.resolve().then(() => require('./gl-
|
|
63900
|
+
const GLModule = await Promise.resolve().then(() => require('./gl-Ck8RJfgo.cjs'));
|
|
63924
63901
|
const glInstance = new GLModule.GL();
|
|
63925
63902
|
glInstance.init();
|
|
63926
63903
|
};
|
|
@@ -69810,11 +69787,11 @@ const ScrambledText = ({
|
|
|
69810
69787
|
);
|
|
69811
69788
|
};
|
|
69812
69789
|
|
|
69813
|
-
const root$Y = "
|
|
69814
|
-
const line = "
|
|
69815
|
-
const word$1 = "
|
|
69816
|
-
const link = "
|
|
69817
|
-
const letter = "
|
|
69790
|
+
const root$Y = "_root_m12f5_1";
|
|
69791
|
+
const line = "_line_m12f5_9";
|
|
69792
|
+
const word$1 = "_word_m12f5_14";
|
|
69793
|
+
const link = "_link_m12f5_18";
|
|
69794
|
+
const letter = "_letter_m12f5_22";
|
|
69818
69795
|
const styles$12 = {
|
|
69819
69796
|
root: root$Y,
|
|
69820
69797
|
line: line,
|
|
@@ -79386,7 +79363,9 @@ exports.WebGLRenderTarget = WebGLRenderTarget;
|
|
|
79386
79363
|
exports.WebGLRenderer = WebGLRenderer;
|
|
79387
79364
|
exports.WebGLSmoke = WebGLSmoke;
|
|
79388
79365
|
exports.WeightText = WeightText;
|
|
79366
|
+
exports.chain = chain;
|
|
79389
79367
|
exports.getDockTooltipPosition = getDockTooltipPosition;
|
|
79368
|
+
exports.is = is;
|
|
79390
79369
|
exports.isNonNullable = isNonNullable;
|
|
79391
79370
|
exports.keys = keys;
|
|
79392
79371
|
exports.move = move;
|
|
@@ -79400,7 +79379,6 @@ exports.useLiveRef = useLiveRef;
|
|
|
79400
79379
|
exports.useMatchMedia = useMatchMedia;
|
|
79401
79380
|
exports.useOklch = useOklch;
|
|
79402
79381
|
exports.useOutsideClick = useOutsideClick;
|
|
79403
|
-
exports.useOutsideClickRef = useOutsideClickRef;
|
|
79404
79382
|
exports.usePrevious = usePrevious;
|
|
79405
79383
|
exports.usePreviousRender = usePreviousRender;
|
|
79406
79384
|
exports.useUniversalLayoutEffect = useUniversalLayoutEffect;
|
package/dist/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-DKo54p8r.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -322,7 +322,9 @@ exports.VoiceAnimation = index.VoiceAnimation;
|
|
|
322
322
|
exports.WavyMenu = index.WavyMenu;
|
|
323
323
|
exports.WebGLSmoke = index.WebGLSmoke;
|
|
324
324
|
exports.WeightText = index.WeightText;
|
|
325
|
+
exports.chain = index.chain;
|
|
325
326
|
exports.getDockTooltipPosition = index.getDockTooltipPosition;
|
|
327
|
+
exports.is = index.is;
|
|
326
328
|
exports.isNonNullable = index.isNonNullable;
|
|
327
329
|
exports.keys = index.keys;
|
|
328
330
|
exports.move = index.move;
|
|
@@ -336,7 +338,6 @@ exports.useLiveRef = index.useLiveRef;
|
|
|
336
338
|
exports.useMatchMedia = index.useMatchMedia;
|
|
337
339
|
exports.useOklch = index.useOklch;
|
|
338
340
|
exports.useOutsideClick = index.useOutsideClick;
|
|
339
|
-
exports.useOutsideClickRef = index.useOutsideClickRef;
|
|
340
341
|
exports.usePrevious = index.usePrevious;
|
|
341
342
|
exports.usePreviousRender = index.usePreviousRender;
|
|
342
343
|
exports.useUniversalLayoutEffect = index.useUniversalLayoutEffect;
|