@remotion/promo-pages 4.0.362 → 4.0.364
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/.turbo/turbo-make.log +1 -1
- package/dist/Homepage.js +671 -635
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/Homepage.js +671 -635
- package/dist/cn.d.ts +2 -0
- package/dist/cn.js +5 -0
- package/dist/components/Homepage.d.ts +6 -0
- package/dist/components/Homepage.js +21 -0
- package/dist/components/TeamPicture.d.ts +1 -0
- package/dist/components/TeamPicture.js +4 -0
- package/dist/components/homepage/BackgroundAnimation.d.ts +2 -0
- package/dist/components/homepage/BackgroundAnimation.js +66 -0
- package/dist/components/homepage/ChooseTemplate.d.ts +2 -0
- package/dist/components/homepage/ChooseTemplate.js +27 -0
- package/dist/components/homepage/CommunityStats.d.ts +3 -0
- package/dist/components/homepage/CommunityStats.js +6 -0
- package/dist/components/homepage/CommunityStatsItems.d.ts +7 -0
- package/dist/components/homepage/CommunityStatsItems.js +58 -0
- package/dist/components/homepage/Counter.d.ts +9 -0
- package/dist/components/homepage/Counter.js +55 -0
- package/dist/components/homepage/Demo/Card.d.ts +15 -0
- package/dist/components/homepage/Demo/Card.js +174 -0
- package/dist/components/homepage/Demo/Cards.d.ts +15 -0
- package/dist/components/homepage/Demo/Cards.js +57 -0
- package/dist/components/homepage/Demo/Comp.d.ts +38 -0
- package/dist/components/homepage/Demo/Comp.js +71 -0
- package/dist/components/homepage/Demo/CurrentCountry.d.ts +9 -0
- package/dist/components/homepage/Demo/CurrentCountry.js +48 -0
- package/dist/components/homepage/Demo/DemoError.d.ts +2 -0
- package/dist/components/homepage/Demo/DemoError.js +10 -0
- package/dist/components/homepage/Demo/DemoErrorIcon.d.ts +2 -0
- package/dist/components/homepage/Demo/DemoErrorIcon.js +16 -0
- package/dist/components/homepage/Demo/DemoRender.d.ts +102 -0
- package/dist/components/homepage/Demo/DemoRender.js +95 -0
- package/dist/components/homepage/Demo/DigitWheel.d.ts +9 -0
- package/dist/components/homepage/Demo/DigitWheel.js +94 -0
- package/dist/components/homepage/Demo/DisplayedEmoji.d.ts +5 -0
- package/dist/components/homepage/Demo/DisplayedEmoji.js +64 -0
- package/dist/components/homepage/Demo/DoneCheckmark.d.ts +2 -0
- package/dist/components/homepage/Demo/DoneCheckmark.js +20 -0
- package/dist/components/homepage/Demo/DownloadNudge.d.ts +2 -0
- package/dist/components/homepage/Demo/DownloadNudge.js +27 -0
- package/dist/components/homepage/Demo/DragAndDropNudge.d.ts +3 -0
- package/dist/components/homepage/Demo/DragAndDropNudge.js +26 -0
- package/dist/components/homepage/Demo/EmojiCard.d.ts +10 -0
- package/dist/components/homepage/Demo/EmojiCard.js +120 -0
- package/dist/components/homepage/Demo/Minus.d.ts +5 -0
- package/dist/components/homepage/Demo/Minus.js +11 -0
- package/dist/components/homepage/Demo/PlayPauseButton.d.ts +5 -0
- package/dist/components/homepage/Demo/PlayPauseButton.js +47 -0
- package/dist/components/homepage/Demo/PlayerControls.d.ts +8 -0
- package/dist/components/homepage/Demo/PlayerControls.js +15 -0
- package/dist/components/homepage/Demo/PlayerSeekBar.d.ts +11 -0
- package/dist/components/homepage/Demo/PlayerSeekBar.js +216 -0
- package/dist/components/homepage/Demo/PlayerVolume.d.ts +5 -0
- package/dist/components/homepage/Demo/PlayerVolume.js +53 -0
- package/dist/components/homepage/Demo/Progress.d.ts +4 -0
- package/dist/components/homepage/Demo/Progress.js +14 -0
- package/dist/components/homepage/Demo/Spinner.d.ts +5 -0
- package/dist/components/homepage/Demo/Spinner.js +37 -0
- package/dist/components/homepage/Demo/Switcher.d.ts +6 -0
- package/dist/components/homepage/Demo/Switcher.js +25 -0
- package/dist/components/homepage/Demo/Temperature.d.ts +6 -0
- package/dist/components/homepage/Demo/Temperature.js +21 -0
- package/dist/components/homepage/Demo/TemperatureNumber.d.ts +5 -0
- package/dist/components/homepage/Demo/TemperatureNumber.js +36 -0
- package/dist/components/homepage/Demo/ThemeNudge.d.ts +3 -0
- package/dist/components/homepage/Demo/ThemeNudge.js +35 -0
- package/dist/components/homepage/Demo/TimeDisplay.d.ts +6 -0
- package/dist/components/homepage/Demo/TimeDisplay.js +27 -0
- package/dist/components/homepage/Demo/TrendingRepos.d.ts +6 -0
- package/dist/components/homepage/Demo/TrendingRepos.js +65 -0
- package/dist/components/homepage/Demo/icons.d.ts +10 -0
- package/dist/components/homepage/Demo/icons.js +22 -0
- package/dist/components/homepage/Demo/index.d.ts +2 -0
- package/dist/components/homepage/Demo/index.js +95 -0
- package/dist/components/homepage/Demo/math.d.ts +10 -0
- package/dist/components/homepage/Demo/math.js +29 -0
- package/dist/components/homepage/Demo/types.d.ts +6 -0
- package/dist/components/homepage/Demo/types.js +0 -0
- package/dist/components/homepage/EditorStarterSection.d.ts +3 -0
- package/dist/components/homepage/EditorStarterSection.js +8 -0
- package/dist/components/homepage/EvaluateRemotion.d.ts +3 -0
- package/dist/components/homepage/EvaluateRemotion.js +38 -0
- package/dist/components/homepage/FreePricing.d.ts +4 -0
- package/dist/components/homepage/FreePricing.js +69 -0
- package/dist/components/homepage/GetStartedStrip.d.ts +2 -0
- package/dist/components/homepage/GetStartedStrip.js +14 -0
- package/dist/components/homepage/GitHubButton.d.ts +2 -0
- package/dist/components/homepage/GitHubButton.js +7 -0
- package/dist/components/homepage/IconForTemplate.d.ts +6 -0
- package/dist/components/homepage/IconForTemplate.js +98 -0
- package/dist/components/homepage/IfYouKnowReact.d.ts +3 -0
- package/dist/components/homepage/IfYouKnowReact.js +23 -0
- package/dist/components/homepage/InfoTooltip.d.ts +6 -0
- package/dist/components/homepage/InfoTooltip.js +6 -0
- package/dist/components/homepage/MoreTemplatesButton.d.ts +2 -0
- package/dist/components/homepage/MoreTemplatesButton.js +10 -0
- package/dist/components/homepage/MoreVideoPowerSection.d.ts +2 -0
- package/dist/components/homepage/MoreVideoPowerSection.js +16 -0
- package/dist/components/homepage/MuxVideo.d.ts +7 -0
- package/dist/components/homepage/MuxVideo.js +45 -0
- package/dist/components/homepage/NewsletterButton.d.ts +2 -0
- package/dist/components/homepage/NewsletterButton.js +39 -0
- package/dist/components/homepage/ParameterizeAndEdit.d.ts +2 -0
- package/dist/components/homepage/ParameterizeAndEdit.js +22 -0
- package/dist/components/homepage/Pricing.d.ts +2 -0
- package/dist/components/homepage/Pricing.js +15 -0
- package/dist/components/homepage/PricingBulletPoint.d.ts +6 -0
- package/dist/components/homepage/PricingBulletPoint.js +19 -0
- package/dist/components/homepage/RealMp4Videos.d.ts +2 -0
- package/dist/components/homepage/RealMp4Videos.js +41 -0
- package/dist/components/homepage/Spacer.d.ts +2 -0
- package/dist/components/homepage/Spacer.js +4 -0
- package/dist/components/homepage/TemplateIcon.d.ts +5 -0
- package/dist/components/homepage/TemplateIcon.js +24 -0
- package/dist/components/homepage/TextInput.d.ts +7 -0
- package/dist/components/homepage/TextInput.js +34 -0
- package/dist/components/homepage/TrustedByBanner.d.ts +2 -0
- package/dist/components/homepage/TrustedByBanner.js +27 -0
- package/dist/components/homepage/VideoApps.d.ts +4 -0
- package/dist/components/homepage/VideoApps.js +72 -0
- package/dist/components/homepage/VideoAppsShowcase.d.ts +3 -0
- package/dist/components/homepage/VideoAppsShowcase.js +133 -0
- package/dist/components/homepage/VideoAppsTitle.d.ts +4 -0
- package/dist/components/homepage/VideoAppsTitle.js +4 -0
- package/dist/components/homepage/VideoPlayerWithControls.d.ts +20 -0
- package/dist/components/homepage/VideoPlayerWithControls.js +105 -0
- package/dist/components/homepage/WriteInReact.d.ts +2 -0
- package/dist/components/homepage/WriteInReact.js +10 -0
- package/dist/components/homepage/YouAreHere.d.ts +2 -0
- package/dist/components/homepage/YouAreHere.js +23 -0
- package/dist/components/homepage/layout/Button.d.ts +19 -0
- package/dist/components/homepage/layout/Button.js +29 -0
- package/dist/components/homepage/layout/colors.d.ts +13 -0
- package/dist/components/homepage/layout/colors.js +14 -0
- package/dist/components/homepage/layout/use-color-mode.d.ts +21 -0
- package/dist/components/homepage/layout/use-color-mode.js +22 -0
- package/dist/components/homepage/layout/use-el-size.d.ts +5 -0
- package/dist/components/homepage/layout/use-el-size.js +40 -0
- package/dist/components/homepage/layout/use-mobile-layout.d.ts +1 -0
- package/dist/components/homepage/layout/use-mobile-layout.js +6 -0
- package/dist/components/icons/blank.d.ts +3 -0
- package/dist/components/icons/blank.js +4 -0
- package/dist/components/icons/clone.d.ts +2 -0
- package/dist/components/icons/clone.js +2 -0
- package/dist/components/icons/code-hike.d.ts +3 -0
- package/dist/components/icons/code-hike.js +4 -0
- package/dist/components/icons/cubes.d.ts +3 -0
- package/dist/components/icons/cubes.js +4 -0
- package/dist/components/icons/js.d.ts +3 -0
- package/dist/components/icons/js.js +4 -0
- package/dist/components/icons/music.d.ts +2 -0
- package/dist/components/icons/music.js +4 -0
- package/dist/components/icons/next.d.ts +4 -0
- package/dist/components/icons/next.js +4 -0
- package/dist/components/icons/overlay.d.ts +3 -0
- package/dist/components/icons/overlay.js +4 -0
- package/dist/components/icons/recorder.d.ts +3 -0
- package/dist/components/icons/recorder.js +4 -0
- package/dist/components/icons/remix.d.ts +3 -0
- package/dist/components/icons/remix.js +4 -0
- package/dist/components/icons/skia.d.ts +3 -0
- package/dist/components/icons/skia.js +4 -0
- package/dist/components/icons/stargazer.d.ts +3 -0
- package/dist/components/icons/stargazer.js +4 -0
- package/dist/components/icons/still.d.ts +3 -0
- package/dist/components/icons/still.js +4 -0
- package/dist/components/icons/tailwind.d.ts +3 -0
- package/dist/components/icons/tailwind.js +4 -0
- package/dist/components/icons/tiktok.d.ts +3 -0
- package/dist/components/icons/tiktok.js +4 -0
- package/dist/components/icons/ts.d.ts +3 -0
- package/dist/components/icons/ts.js +4 -0
- package/dist/components/icons/tts.d.ts +3 -0
- package/dist/components/icons/tts.js +4 -0
- package/dist/components/icons/undo.d.ts +3 -0
- package/dist/components/icons/undo.js +2 -0
- package/dist/components/icons/waveform.d.ts +3 -0
- package/dist/components/icons/waveform.js +4 -0
- package/dist/components/team/TeamCards.d.ts +6 -0
- package/dist/components/team/TeamCards.js +19 -0
- package/dist/components/team/TitleTeamCards.d.ts +2 -0
- package/dist/components/team/TitleTeamCards.js +6 -0
- package/dist/components/team.d.ts +3 -0
- package/dist/components/team.js +14 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +6 -0
- package/dist/team.d.ts +1 -0
- package/package.json +10 -10
- package/src/components/homepage/VideoPlayerWithControls.tsx +1 -0
package/dist/Homepage.js
CHANGED
|
@@ -189,54 +189,56 @@ import { jsx as jsx25 } from "react/jsx-runtime";
|
|
|
189
189
|
import {
|
|
190
190
|
useEffect as useEffect18,
|
|
191
191
|
useLayoutEffect as useLayoutEffect8,
|
|
192
|
-
useMemo as
|
|
192
|
+
useMemo as useMemo26,
|
|
193
193
|
useRef as useRef15,
|
|
194
194
|
useState as useState17
|
|
195
195
|
} from "react";
|
|
196
|
+
import { createContext as createContext18, useContext as useContext30, useMemo as useMemo25 } from "react";
|
|
196
197
|
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
197
|
-
import
|
|
198
|
+
import { jsx as jsx27 } from "react/jsx-runtime";
|
|
199
|
+
import React26, { createContext as createContext19 } from "react";
|
|
198
200
|
import { useCallback as useCallback16 } from "react";
|
|
199
201
|
import {
|
|
200
202
|
useCallback as useCallback15,
|
|
201
|
-
useContext as
|
|
203
|
+
useContext as useContext31,
|
|
202
204
|
useEffect as useEffect19,
|
|
203
205
|
useLayoutEffect as useLayoutEffect9,
|
|
204
|
-
useMemo as
|
|
206
|
+
useMemo as useMemo27,
|
|
205
207
|
useState as useState18
|
|
206
208
|
} from "react";
|
|
207
|
-
import { jsx as
|
|
209
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
208
210
|
import {
|
|
209
211
|
forwardRef as forwardRef9,
|
|
210
|
-
useContext as
|
|
212
|
+
useContext as useContext32,
|
|
211
213
|
useEffect as useEffect21,
|
|
212
214
|
useImperativeHandle as useImperativeHandle9,
|
|
213
|
-
useMemo as
|
|
215
|
+
useMemo as useMemo28,
|
|
214
216
|
useRef as useRef16,
|
|
215
217
|
useState as useState19
|
|
216
218
|
} from "react";
|
|
217
219
|
import { useEffect as useEffect20 } from "react";
|
|
218
|
-
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
219
220
|
import { jsx as jsx29 } from "react/jsx-runtime";
|
|
220
|
-
import React30, { useMemo as useMemo28 } from "react";
|
|
221
221
|
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
222
|
-
import
|
|
223
|
-
import React31 from "react";
|
|
224
|
-
import React322, { createContext as createContext19 } from "react";
|
|
222
|
+
import React30, { useMemo as useMemo29 } from "react";
|
|
225
223
|
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
224
|
+
import { Children, forwardRef as forwardRef10, useMemo as useMemo30 } from "react";
|
|
225
|
+
import React31 from "react";
|
|
226
|
+
import React322, { createContext as createContext20 } from "react";
|
|
226
227
|
import { jsx as jsx322 } from "react/jsx-runtime";
|
|
228
|
+
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
227
229
|
import React34 from "react";
|
|
228
|
-
import { forwardRef as forwardRef12, useCallback as useCallback17, useContext as
|
|
230
|
+
import { forwardRef as forwardRef12, useCallback as useCallback17, useContext as useContext34 } from "react";
|
|
229
231
|
import {
|
|
230
232
|
forwardRef as forwardRef11,
|
|
231
|
-
useContext as
|
|
233
|
+
useContext as useContext33,
|
|
232
234
|
useEffect as useEffect222,
|
|
233
235
|
useImperativeHandle as useImperativeHandle10,
|
|
234
236
|
useLayoutEffect as useLayoutEffect10,
|
|
235
|
-
useMemo as
|
|
237
|
+
useMemo as useMemo31,
|
|
236
238
|
useRef as useRef17
|
|
237
239
|
} from "react";
|
|
238
|
-
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
239
240
|
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
241
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
240
242
|
function getNodeEnvString() {
|
|
241
243
|
return ["NOD", "E_EN", "V"].join("");
|
|
242
244
|
}
|
|
@@ -453,7 +455,7 @@ function useRemotionContexts() {
|
|
|
453
455
|
const sequenceManagerContext = React30.useContext(SequenceManager);
|
|
454
456
|
const bufferManagerContext = React30.useContext(BufferingContextReact);
|
|
455
457
|
const logLevelContext = React30.useContext(LogLevelContext);
|
|
456
|
-
return
|
|
458
|
+
return useMemo29(() => ({
|
|
457
459
|
compositionManagerCtx,
|
|
458
460
|
timelineContext,
|
|
459
461
|
setTimelineContext,
|
|
@@ -743,7 +745,7 @@ var __defProp2, __export2 = (target, all) => {
|
|
|
743
745
|
});
|
|
744
746
|
}, useIsPlayer = () => {
|
|
745
747
|
return useContext(IsPlayerContext);
|
|
746
|
-
}, VERSION = "4.0.
|
|
748
|
+
}, VERSION = "4.0.364", checkMultipleRemotionVersions = () => {
|
|
747
749
|
if (typeof globalThis === "undefined") {
|
|
748
750
|
return;
|
|
749
751
|
}
|
|
@@ -1934,7 +1936,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
1934
1936
|
if (getRemotionEnvironment().isRendering && !getRemotionEnvironment().isClientSideRendering) {
|
|
1935
1937
|
arr.unshift(Symbol.for(`__remotion_level_${logLevel}`));
|
|
1936
1938
|
}
|
|
1937
|
-
if (tag) {
|
|
1939
|
+
if (tag && getRemotionEnvironment().isRendering && !getRemotionEnvironment().isClientSideRendering) {
|
|
1938
1940
|
arr.unshift(Symbol.for(`__remotion_tag_${tag}`));
|
|
1939
1941
|
}
|
|
1940
1942
|
return arr;
|
|
@@ -2715,7 +2717,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
2715
2717
|
throw new TypeError(`trimAfter must be a positive number, instead got ${trimAfter}.`);
|
|
2716
2718
|
}
|
|
2717
2719
|
}
|
|
2718
|
-
if (trimAfter
|
|
2720
|
+
if (trimAfter <= trimBefore) {
|
|
2719
2721
|
throw new TypeError("trimAfter prop must be greater than trimBefore prop.");
|
|
2720
2722
|
}
|
|
2721
2723
|
}, validateMediaTrimProps = ({
|
|
@@ -5038,18 +5040,14 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5038
5040
|
return;
|
|
5039
5041
|
}
|
|
5040
5042
|
current.src = actualSrc;
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
current.addEventListener("load", onComplete);
|
|
5050
|
-
}
|
|
5051
|
-
});
|
|
5052
|
-
}
|
|
5043
|
+
current.decode().then(onComplete).catch((err) => {
|
|
5044
|
+
console.warn(err);
|
|
5045
|
+
if (current.complete) {
|
|
5046
|
+
onComplete();
|
|
5047
|
+
} else {
|
|
5048
|
+
current.addEventListener("load", onComplete);
|
|
5049
|
+
}
|
|
5050
|
+
});
|
|
5053
5051
|
return () => {
|
|
5054
5052
|
unmounted = true;
|
|
5055
5053
|
current.removeEventListener("load", onComplete);
|
|
@@ -5077,7 +5075,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5077
5075
|
...props2,
|
|
5078
5076
|
ref: imageRef,
|
|
5079
5077
|
crossOrigin: crossOriginValue,
|
|
5080
|
-
onError: didGetError
|
|
5078
|
+
onError: didGetError,
|
|
5079
|
+
decoding: "sync"
|
|
5081
5080
|
});
|
|
5082
5081
|
}, Img, compositionsRef, CompositionManagerProvider = ({
|
|
5083
5082
|
children,
|
|
@@ -5245,13 +5244,43 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5245
5244
|
return () => {
|
|
5246
5245
|
listeners = listeners.filter((l) => l !== fn);
|
|
5247
5246
|
};
|
|
5247
|
+
}, MediaEnabledContext, useVideoEnabled = () => {
|
|
5248
|
+
const context = useContext30(MediaEnabledContext);
|
|
5249
|
+
if (!context) {
|
|
5250
|
+
return window.remotion_videoEnabled;
|
|
5251
|
+
}
|
|
5252
|
+
if (context.videoEnabled === null) {
|
|
5253
|
+
return window.remotion_videoEnabled;
|
|
5254
|
+
}
|
|
5255
|
+
return context.videoEnabled;
|
|
5256
|
+
}, useAudioEnabled = () => {
|
|
5257
|
+
const context = useContext30(MediaEnabledContext);
|
|
5258
|
+
if (!context) {
|
|
5259
|
+
return window.remotion_audioEnabled;
|
|
5260
|
+
}
|
|
5261
|
+
if (context.audioEnabled === null) {
|
|
5262
|
+
return window.remotion_audioEnabled;
|
|
5263
|
+
}
|
|
5264
|
+
return context.audioEnabled;
|
|
5265
|
+
}, MediaEnabledProvider = ({
|
|
5266
|
+
children,
|
|
5267
|
+
videoEnabled,
|
|
5268
|
+
audioEnabled
|
|
5269
|
+
}) => {
|
|
5270
|
+
const value = useMemo25(() => ({ videoEnabled, audioEnabled }), [videoEnabled, audioEnabled]);
|
|
5271
|
+
return /* @__PURE__ */ jsx26(MediaEnabledContext.Provider, {
|
|
5272
|
+
value,
|
|
5273
|
+
children
|
|
5274
|
+
});
|
|
5248
5275
|
}, RemotionRoot = ({
|
|
5249
5276
|
children,
|
|
5250
5277
|
numberOfAudioTags,
|
|
5251
5278
|
logLevel,
|
|
5252
5279
|
onlyRenderComposition,
|
|
5253
5280
|
currentCompositionMetadata,
|
|
5254
|
-
audioLatencyHint
|
|
5281
|
+
audioLatencyHint,
|
|
5282
|
+
videoEnabled,
|
|
5283
|
+
audioEnabled
|
|
5255
5284
|
}) => {
|
|
5256
5285
|
const [remotionRootId] = useState17(() => String(random(null)));
|
|
5257
5286
|
const [frame, setFrame] = useState17(() => getInitialFrameState());
|
|
@@ -5288,7 +5317,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5288
5317
|
window.remotion_isPlayer = false;
|
|
5289
5318
|
}, [continueRender2, delayRender2]);
|
|
5290
5319
|
}
|
|
5291
|
-
const timelineContextValue =
|
|
5320
|
+
const timelineContextValue = useMemo26(() => {
|
|
5292
5321
|
return {
|
|
5293
5322
|
frame,
|
|
5294
5323
|
playing,
|
|
@@ -5299,13 +5328,13 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5299
5328
|
audioAndVideoTags
|
|
5300
5329
|
};
|
|
5301
5330
|
}, [frame, playbackRate, playing, remotionRootId]);
|
|
5302
|
-
const setTimelineContextValue =
|
|
5331
|
+
const setTimelineContextValue = useMemo26(() => {
|
|
5303
5332
|
return {
|
|
5304
5333
|
setFrame,
|
|
5305
5334
|
setPlaying
|
|
5306
5335
|
};
|
|
5307
5336
|
}, []);
|
|
5308
|
-
const nonceContext =
|
|
5337
|
+
const nonceContext = useMemo26(() => {
|
|
5309
5338
|
let counter = 0;
|
|
5310
5339
|
return {
|
|
5311
5340
|
getNonce: () => counter++,
|
|
@@ -5313,7 +5342,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5313
5342
|
manualRefreshes
|
|
5314
5343
|
};
|
|
5315
5344
|
}, [fastRefreshes, manualRefreshes]);
|
|
5316
|
-
const setNonceContext =
|
|
5345
|
+
const setNonceContext = useMemo26(() => {
|
|
5317
5346
|
return {
|
|
5318
5347
|
increaseManualRefreshes: () => {
|
|
5319
5348
|
setManualRefreshes((i) => i + 1);
|
|
@@ -5331,29 +5360,33 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5331
5360
|
}
|
|
5332
5361
|
}
|
|
5333
5362
|
}, []);
|
|
5334
|
-
const logging =
|
|
5363
|
+
const logging = useMemo26(() => {
|
|
5335
5364
|
return { logLevel, mountTime: Date.now() };
|
|
5336
5365
|
}, [logLevel]);
|
|
5337
|
-
return /* @__PURE__ */
|
|
5366
|
+
return /* @__PURE__ */ jsx27(LogLevelContext.Provider, {
|
|
5338
5367
|
value: logging,
|
|
5339
|
-
children: /* @__PURE__ */
|
|
5368
|
+
children: /* @__PURE__ */ jsx27(NonceContext.Provider, {
|
|
5340
5369
|
value: nonceContext,
|
|
5341
|
-
children: /* @__PURE__ */
|
|
5370
|
+
children: /* @__PURE__ */ jsx27(SetNonceContext.Provider, {
|
|
5342
5371
|
value: setNonceContext,
|
|
5343
|
-
children: /* @__PURE__ */
|
|
5372
|
+
children: /* @__PURE__ */ jsx27(TimelineContext.Provider, {
|
|
5344
5373
|
value: timelineContextValue,
|
|
5345
|
-
children: /* @__PURE__ */
|
|
5374
|
+
children: /* @__PURE__ */ jsx27(SetTimelineContext.Provider, {
|
|
5346
5375
|
value: setTimelineContextValue,
|
|
5347
|
-
children: /* @__PURE__ */
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5376
|
+
children: /* @__PURE__ */ jsx27(MediaEnabledProvider, {
|
|
5377
|
+
videoEnabled,
|
|
5378
|
+
audioEnabled,
|
|
5379
|
+
children: /* @__PURE__ */ jsx27(EditorPropsProvider, {
|
|
5380
|
+
children: /* @__PURE__ */ jsx27(PrefetchProvider, {
|
|
5381
|
+
children: /* @__PURE__ */ jsx27(CompositionManagerProvider, {
|
|
5382
|
+
numberOfAudioTags,
|
|
5383
|
+
onlyRenderComposition,
|
|
5384
|
+
currentCompositionMetadata,
|
|
5385
|
+
audioLatencyHint,
|
|
5386
|
+
children: /* @__PURE__ */ jsx27(DurationsContextProvider, {
|
|
5387
|
+
children: /* @__PURE__ */ jsx27(BufferingProvider, {
|
|
5388
|
+
children
|
|
5389
|
+
})
|
|
5357
5390
|
})
|
|
5358
5391
|
})
|
|
5359
5392
|
})
|
|
@@ -5433,13 +5466,13 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5433
5466
|
const frame = useCurrentFrame();
|
|
5434
5467
|
const volumePropsFrame = useFrameForVolumeProp(loopVolumeCurveBehavior);
|
|
5435
5468
|
const videoConfig = useUnsafeVideoConfig();
|
|
5436
|
-
const sequenceContext =
|
|
5469
|
+
const sequenceContext = useContext31(SequenceContext);
|
|
5437
5470
|
const mediaStartsAt = useMediaStartsAt();
|
|
5438
|
-
const { registerRenderAsset, unregisterRenderAsset } =
|
|
5471
|
+
const { registerRenderAsset, unregisterRenderAsset } = useContext31(RenderAssetManager);
|
|
5439
5472
|
if (!src) {
|
|
5440
5473
|
throw new TypeError("No `src` was passed to <OffthreadVideo>.");
|
|
5441
5474
|
}
|
|
5442
|
-
const id =
|
|
5475
|
+
const id = useMemo27(() => `offthreadvideo-${random(src)}-${sequenceContext?.cumulatedFrom}-${sequenceContext?.relativeFrom}-${sequenceContext?.durationInFrames}`, [
|
|
5443
5476
|
src,
|
|
5444
5477
|
sequenceContext?.cumulatedFrom,
|
|
5445
5478
|
sequenceContext?.relativeFrom,
|
|
@@ -5494,14 +5527,14 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5494
5527
|
sequenceContext?.relativeFrom,
|
|
5495
5528
|
audioStreamIndex
|
|
5496
5529
|
]);
|
|
5497
|
-
const currentTime =
|
|
5530
|
+
const currentTime = useMemo27(() => {
|
|
5498
5531
|
return getExpectedMediaFrameUncorrected({
|
|
5499
5532
|
frame,
|
|
5500
5533
|
playbackRate: playbackRate || 1,
|
|
5501
5534
|
startFrom: -mediaStartsAt
|
|
5502
5535
|
}) / videoConfig.fps;
|
|
5503
5536
|
}, [frame, mediaStartsAt, playbackRate, videoConfig.fps]);
|
|
5504
|
-
const actualSrc =
|
|
5537
|
+
const actualSrc = useMemo27(() => {
|
|
5505
5538
|
return getOffthreadVideoSource({
|
|
5506
5539
|
src,
|
|
5507
5540
|
currentTime,
|
|
@@ -5589,7 +5622,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5589
5622
|
cancelRender("Failed to load image with src " + imageSrc);
|
|
5590
5623
|
}
|
|
5591
5624
|
}, [imageSrc, onError]);
|
|
5592
|
-
const className =
|
|
5625
|
+
const className = useMemo27(() => {
|
|
5593
5626
|
return [OBJECTFIT_CONTAIN_CLASS_NAME, props2.className].filter(truthy).join(" ");
|
|
5594
5627
|
}, [props2.className]);
|
|
5595
5628
|
const onImageFrame = useCallback15((img) => {
|
|
@@ -5601,7 +5634,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5601
5634
|
return null;
|
|
5602
5635
|
}
|
|
5603
5636
|
continueRender2(imageSrc.handle);
|
|
5604
|
-
return /* @__PURE__ */
|
|
5637
|
+
return /* @__PURE__ */ jsx28(Img, {
|
|
5605
5638
|
src: imageSrc.src,
|
|
5606
5639
|
delayRenderRetries,
|
|
5607
5640
|
delayRenderTimeoutInMilliseconds,
|
|
@@ -5636,12 +5669,12 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5636
5669
|
};
|
|
5637
5670
|
}, [onVideoFrame, ref]);
|
|
5638
5671
|
}, VideoForDevelopmentRefForwardingFunction = (props2, ref) => {
|
|
5639
|
-
const context =
|
|
5672
|
+
const context = useContext32(SharedAudioContext);
|
|
5640
5673
|
if (!context) {
|
|
5641
5674
|
throw new Error("SharedAudioContext not found");
|
|
5642
5675
|
}
|
|
5643
5676
|
const videoRef = useRef16(null);
|
|
5644
|
-
const sharedSource =
|
|
5677
|
+
const sharedSource = useMemo28(() => {
|
|
5645
5678
|
if (!context.audioContext) {
|
|
5646
5679
|
return null;
|
|
5647
5680
|
}
|
|
@@ -5684,8 +5717,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5684
5717
|
}
|
|
5685
5718
|
const volumePropFrame = useFrameForVolumeProp(loopVolumeCurveBehavior ?? "repeat");
|
|
5686
5719
|
const { fps, durationInFrames } = useVideoConfig();
|
|
5687
|
-
const parentSequence =
|
|
5688
|
-
const { hidden } =
|
|
5720
|
+
const parentSequence = useContext32(SequenceContext);
|
|
5721
|
+
const { hidden } = useContext32(SequenceVisibilityToggleContext);
|
|
5689
5722
|
const logLevel = useLogLevel();
|
|
5690
5723
|
const mountTime = useMountTime();
|
|
5691
5724
|
const [timelineId] = useState19(() => String(Math.random()));
|
|
@@ -5819,7 +5852,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5819
5852
|
current.preload = "auto";
|
|
5820
5853
|
}
|
|
5821
5854
|
}, []);
|
|
5822
|
-
const actualStyle =
|
|
5855
|
+
const actualStyle = useMemo28(() => {
|
|
5823
5856
|
return {
|
|
5824
5857
|
...style,
|
|
5825
5858
|
opacity: isSequenceHidden ? 0 : style?.opacity ?? 1
|
|
@@ -5829,7 +5862,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5829
5862
|
crossOrigin,
|
|
5830
5863
|
requestsVideoFrame: Boolean(onVideoFrame)
|
|
5831
5864
|
});
|
|
5832
|
-
return /* @__PURE__ */
|
|
5865
|
+
return /* @__PURE__ */ jsx29("video", {
|
|
5833
5866
|
ref: videoRef,
|
|
5834
5867
|
muted: muted || mediaMuted || isSequenceHidden || userPreferredVolume <= 0,
|
|
5835
5868
|
playsInline: true,
|
|
@@ -5867,13 +5900,13 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5867
5900
|
trimAfter
|
|
5868
5901
|
});
|
|
5869
5902
|
if (typeof trimBeforeValue !== "undefined" || typeof trimAfterValue !== "undefined") {
|
|
5870
|
-
return /* @__PURE__ */
|
|
5903
|
+
return /* @__PURE__ */ jsx30(Sequence, {
|
|
5871
5904
|
layout: "none",
|
|
5872
5905
|
from: 0 - (trimBeforeValue ?? 0),
|
|
5873
5906
|
showInTimeline: false,
|
|
5874
5907
|
durationInFrames: trimAfterValue,
|
|
5875
5908
|
name,
|
|
5876
|
-
children: /* @__PURE__ */
|
|
5909
|
+
children: /* @__PURE__ */ jsx30(InnerOffthreadVideo, {
|
|
5877
5910
|
pauseWhenBuffering: pauseWhenBuffering ?? false,
|
|
5878
5911
|
...otherProps,
|
|
5879
5912
|
trimAfter: undefined,
|
|
@@ -5888,7 +5921,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5888
5921
|
}
|
|
5889
5922
|
validateMediaProps(props2, "Video");
|
|
5890
5923
|
if (environment.isRendering) {
|
|
5891
|
-
return /* @__PURE__ */
|
|
5924
|
+
return /* @__PURE__ */ jsx30(OffthreadVideoForRendering, {
|
|
5892
5925
|
pauseWhenBuffering: pauseWhenBuffering ?? false,
|
|
5893
5926
|
...otherProps,
|
|
5894
5927
|
trimAfter: undefined,
|
|
@@ -5910,7 +5943,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5910
5943
|
delayRenderTimeoutInMilliseconds,
|
|
5911
5944
|
...propsForPreview
|
|
5912
5945
|
} = otherProps;
|
|
5913
|
-
return /* @__PURE__ */
|
|
5946
|
+
return /* @__PURE__ */ jsx30(VideoForPreview, {
|
|
5914
5947
|
_remotionInternalStack: stack ?? null,
|
|
5915
5948
|
onDuration,
|
|
5916
5949
|
onlyWarnForMediaSeekingError: true,
|
|
@@ -5958,7 +5991,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5958
5991
|
if (imageFormat) {
|
|
5959
5992
|
throw new TypeError(`The \`<OffthreadVideo>\` tag does no longer accept \`imageFormat\`. Use the \`transparent\` prop if you want to render a transparent video.`);
|
|
5960
5993
|
}
|
|
5961
|
-
return /* @__PURE__ */
|
|
5994
|
+
return /* @__PURE__ */ jsx30(InnerOffthreadVideo, {
|
|
5962
5995
|
acceptableTimeShiftInSeconds,
|
|
5963
5996
|
allowAmplificationDuringRender: allowAmplificationDuringRender ?? true,
|
|
5964
5997
|
audioStreamIndex: audioStreamIndex ?? 0,
|
|
@@ -5992,29 +6025,29 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5992
6025
|
});
|
|
5993
6026
|
}, WATCH_REMOTION_STATIC_FILES = "remotion_staticFilesChanged", RemotionContextProvider = (props2) => {
|
|
5994
6027
|
const { children, contexts } = props2;
|
|
5995
|
-
return /* @__PURE__ */
|
|
6028
|
+
return /* @__PURE__ */ jsx31(LogLevelContext.Provider, {
|
|
5996
6029
|
value: contexts.logLevelContext,
|
|
5997
|
-
children: /* @__PURE__ */
|
|
6030
|
+
children: /* @__PURE__ */ jsx31(CanUseRemotionHooks.Provider, {
|
|
5998
6031
|
value: contexts.canUseRemotionHooksContext,
|
|
5999
|
-
children: /* @__PURE__ */
|
|
6032
|
+
children: /* @__PURE__ */ jsx31(NonceContext.Provider, {
|
|
6000
6033
|
value: contexts.nonceContext,
|
|
6001
|
-
children: /* @__PURE__ */
|
|
6034
|
+
children: /* @__PURE__ */ jsx31(PreloadContext.Provider, {
|
|
6002
6035
|
value: contexts.preloadContext,
|
|
6003
|
-
children: /* @__PURE__ */
|
|
6036
|
+
children: /* @__PURE__ */ jsx31(CompositionManager.Provider, {
|
|
6004
6037
|
value: contexts.compositionManagerCtx,
|
|
6005
|
-
children: /* @__PURE__ */
|
|
6038
|
+
children: /* @__PURE__ */ jsx31(SequenceManager.Provider, {
|
|
6006
6039
|
value: contexts.sequenceManagerContext,
|
|
6007
|
-
children: /* @__PURE__ */
|
|
6040
|
+
children: /* @__PURE__ */ jsx31(RenderAssetManager.Provider, {
|
|
6008
6041
|
value: contexts.renderAssetManagerContext,
|
|
6009
|
-
children: /* @__PURE__ */
|
|
6042
|
+
children: /* @__PURE__ */ jsx31(ResolveCompositionContext.Provider, {
|
|
6010
6043
|
value: contexts.resolveCompositionContext,
|
|
6011
|
-
children: /* @__PURE__ */
|
|
6044
|
+
children: /* @__PURE__ */ jsx31(TimelineContext.Provider, {
|
|
6012
6045
|
value: contexts.timelineContext,
|
|
6013
|
-
children: /* @__PURE__ */
|
|
6046
|
+
children: /* @__PURE__ */ jsx31(SetTimelineContext.Provider, {
|
|
6014
6047
|
value: contexts.setTimelineContext,
|
|
6015
|
-
children: /* @__PURE__ */
|
|
6048
|
+
children: /* @__PURE__ */ jsx31(SequenceContext.Provider, {
|
|
6016
6049
|
value: contexts.sequenceContext,
|
|
6017
|
-
children: /* @__PURE__ */
|
|
6050
|
+
children: /* @__PURE__ */ jsx31(BufferingContextReact.Provider, {
|
|
6018
6051
|
value: contexts.bufferManagerContext,
|
|
6019
6052
|
children
|
|
6020
6053
|
})
|
|
@@ -6062,12 +6095,12 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6062
6095
|
return flatChildren;
|
|
6063
6096
|
}, []);
|
|
6064
6097
|
}, IsInsideSeriesContext, IsInsideSeriesContainer = ({ children }) => {
|
|
6065
|
-
return /* @__PURE__ */
|
|
6098
|
+
return /* @__PURE__ */ jsx322(IsInsideSeriesContext.Provider, {
|
|
6066
6099
|
value: true,
|
|
6067
6100
|
children
|
|
6068
6101
|
});
|
|
6069
6102
|
}, IsNotInsideSeriesProvider = ({ children }) => {
|
|
6070
|
-
return /* @__PURE__ */
|
|
6103
|
+
return /* @__PURE__ */ jsx322(IsInsideSeriesContext.Provider, {
|
|
6071
6104
|
value: false,
|
|
6072
6105
|
children
|
|
6073
6106
|
});
|
|
@@ -6078,11 +6111,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6078
6111
|
}
|
|
6079
6112
|
}, SeriesSequenceRefForwardingFunction = ({ children }, _ref) => {
|
|
6080
6113
|
useRequireToBeInsideSeries();
|
|
6081
|
-
return /* @__PURE__ */
|
|
6114
|
+
return /* @__PURE__ */ jsx33(IsNotInsideSeriesProvider, {
|
|
6082
6115
|
children
|
|
6083
6116
|
});
|
|
6084
6117
|
}, SeriesSequence, Series = (props2) => {
|
|
6085
|
-
const childrenValue =
|
|
6118
|
+
const childrenValue = useMemo30(() => {
|
|
6086
6119
|
let startFrame = 0;
|
|
6087
6120
|
const flattenedChildren = flattenChildren(props2.children);
|
|
6088
6121
|
return Children.map(flattenedChildren, (child, i) => {
|
|
@@ -6126,7 +6159,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6126
6159
|
}
|
|
6127
6160
|
const currentStartFrame = startFrame + offset;
|
|
6128
6161
|
startFrame += durationInFramesProp + offset;
|
|
6129
|
-
return /* @__PURE__ */
|
|
6162
|
+
return /* @__PURE__ */ jsx33(Sequence, {
|
|
6130
6163
|
name: name || "<Series.Sequence>",
|
|
6131
6164
|
from: currentStartFrame,
|
|
6132
6165
|
durationInFrames: durationInFramesProp,
|
|
@@ -6137,14 +6170,14 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6137
6170
|
});
|
|
6138
6171
|
}, [props2.children]);
|
|
6139
6172
|
if (ENABLE_V5_BREAKING_CHANGES) {
|
|
6140
|
-
return /* @__PURE__ */
|
|
6141
|
-
children: /* @__PURE__ */
|
|
6173
|
+
return /* @__PURE__ */ jsx33(IsInsideSeriesContainer, {
|
|
6174
|
+
children: /* @__PURE__ */ jsx33(Sequence, {
|
|
6142
6175
|
...props2,
|
|
6143
6176
|
children: childrenValue
|
|
6144
6177
|
})
|
|
6145
6178
|
});
|
|
6146
6179
|
}
|
|
6147
|
-
return /* @__PURE__ */
|
|
6180
|
+
return /* @__PURE__ */ jsx33(IsInsideSeriesContainer, {
|
|
6148
6181
|
children: childrenValue
|
|
6149
6182
|
});
|
|
6150
6183
|
}, validateSpringDuration = (dur) => {
|
|
@@ -6364,14 +6397,14 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6364
6397
|
const volumePropsFrame = useFrameForVolumeProp(loopVolumeCurveBehavior ?? "repeat");
|
|
6365
6398
|
const videoConfig = useUnsafeVideoConfig();
|
|
6366
6399
|
const videoRef = useRef17(null);
|
|
6367
|
-
const sequenceContext =
|
|
6400
|
+
const sequenceContext = useContext33(SequenceContext);
|
|
6368
6401
|
const mediaStartsAt = useMediaStartsAt();
|
|
6369
6402
|
const environment = useRemotionEnvironment();
|
|
6370
6403
|
const logLevel = useLogLevel();
|
|
6371
6404
|
const mountTime = useMountTime();
|
|
6372
6405
|
const { delayRender: delayRender2, continueRender: continueRender2 } = useDelayRender();
|
|
6373
|
-
const { registerRenderAsset, unregisterRenderAsset } =
|
|
6374
|
-
const id =
|
|
6406
|
+
const { registerRenderAsset, unregisterRenderAsset } = useContext33(RenderAssetManager);
|
|
6407
|
+
const id = useMemo31(() => `video-${random(props2.src ?? "")}-${sequenceContext?.cumulatedFrom}-${sequenceContext?.relativeFrom}-${sequenceContext?.durationInFrames}`, [
|
|
6375
6408
|
props2.src,
|
|
6376
6409
|
sequenceContext?.cumulatedFrom,
|
|
6377
6410
|
sequenceContext?.relativeFrom,
|
|
@@ -6547,7 +6580,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6547
6580
|
delayRender2
|
|
6548
6581
|
]);
|
|
6549
6582
|
}
|
|
6550
|
-
return /* @__PURE__ */
|
|
6583
|
+
return /* @__PURE__ */ jsx34("video", {
|
|
6551
6584
|
ref: videoRef,
|
|
6552
6585
|
disableRemotePlayback: true,
|
|
6553
6586
|
...props2
|
|
@@ -6569,7 +6602,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6569
6602
|
const { loop, ...propsOtherThanLoop } = props2;
|
|
6570
6603
|
const { fps } = useVideoConfig();
|
|
6571
6604
|
const environment = useRemotionEnvironment();
|
|
6572
|
-
const { durations, setDurations } =
|
|
6605
|
+
const { durations, setDurations } = useContext34(DurationsContext);
|
|
6573
6606
|
if (typeof ref === "string") {
|
|
6574
6607
|
throw new Error("string refs are not supported");
|
|
6575
6608
|
}
|
|
@@ -6591,14 +6624,14 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6591
6624
|
});
|
|
6592
6625
|
if (loop && durationFetched !== undefined) {
|
|
6593
6626
|
if (!Number.isFinite(durationFetched)) {
|
|
6594
|
-
return /* @__PURE__ */
|
|
6627
|
+
return /* @__PURE__ */ jsx35(Html5Video, {
|
|
6595
6628
|
...propsOtherThanLoop,
|
|
6596
6629
|
ref,
|
|
6597
6630
|
_remotionInternalNativeLoopPassed: true
|
|
6598
6631
|
});
|
|
6599
6632
|
}
|
|
6600
6633
|
const mediaDuration = durationFetched * fps;
|
|
6601
|
-
return /* @__PURE__ */
|
|
6634
|
+
return /* @__PURE__ */ jsx35(Loop, {
|
|
6602
6635
|
durationInFrames: calculateMediaDuration({
|
|
6603
6636
|
trimAfter: trimAfterValue,
|
|
6604
6637
|
mediaDurationInFrames: mediaDuration,
|
|
@@ -6607,7 +6640,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6607
6640
|
}),
|
|
6608
6641
|
layout: "none",
|
|
6609
6642
|
name,
|
|
6610
|
-
children: /* @__PURE__ */
|
|
6643
|
+
children: /* @__PURE__ */ jsx35(Html5Video, {
|
|
6611
6644
|
...propsOtherThanLoop,
|
|
6612
6645
|
ref,
|
|
6613
6646
|
_remotionInternalNativeLoopPassed: true
|
|
@@ -6615,13 +6648,13 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6615
6648
|
});
|
|
6616
6649
|
}
|
|
6617
6650
|
if (typeof trimBeforeValue !== "undefined" || typeof trimAfterValue !== "undefined") {
|
|
6618
|
-
return /* @__PURE__ */
|
|
6651
|
+
return /* @__PURE__ */ jsx35(Sequence, {
|
|
6619
6652
|
layout: "none",
|
|
6620
6653
|
from: 0 - (trimBeforeValue ?? 0),
|
|
6621
6654
|
showInTimeline: false,
|
|
6622
6655
|
durationInFrames: trimAfterValue,
|
|
6623
6656
|
name,
|
|
6624
|
-
children: /* @__PURE__ */
|
|
6657
|
+
children: /* @__PURE__ */ jsx35(Html5Video, {
|
|
6625
6658
|
pauseWhenBuffering: pauseWhenBuffering ?? false,
|
|
6626
6659
|
...otherProps,
|
|
6627
6660
|
ref
|
|
@@ -6630,14 +6663,14 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6630
6663
|
}
|
|
6631
6664
|
validateMediaProps({ playbackRate: props2.playbackRate, volume: props2.volume }, "Html5Video");
|
|
6632
6665
|
if (environment.isRendering) {
|
|
6633
|
-
return /* @__PURE__ */
|
|
6666
|
+
return /* @__PURE__ */ jsx35(VideoForRendering, {
|
|
6634
6667
|
onDuration,
|
|
6635
6668
|
onVideoFrame: onVideoFrame ?? null,
|
|
6636
6669
|
...otherProps,
|
|
6637
6670
|
ref
|
|
6638
6671
|
});
|
|
6639
6672
|
}
|
|
6640
|
-
return /* @__PURE__ */
|
|
6673
|
+
return /* @__PURE__ */ jsx35(VideoForPreview, {
|
|
6641
6674
|
onlyWarnForMediaSeekingError: false,
|
|
6642
6675
|
...otherProps,
|
|
6643
6676
|
ref,
|
|
@@ -6794,12 +6827,12 @@ var init_esm = __esm(() => {
|
|
|
6794
6827
|
warn,
|
|
6795
6828
|
error
|
|
6796
6829
|
};
|
|
6797
|
-
if (typeof window !== "undefined") {
|
|
6798
|
-
window.remotion_renderReady = false;
|
|
6799
|
-
}
|
|
6800
6830
|
handles = [];
|
|
6801
6831
|
if (typeof window !== "undefined") {
|
|
6802
|
-
window.
|
|
6832
|
+
window.remotion_renderReady = false;
|
|
6833
|
+
if (!window.remotion_delayRenderTimeouts) {
|
|
6834
|
+
window.remotion_delayRenderTimeouts = {};
|
|
6835
|
+
}
|
|
6803
6836
|
}
|
|
6804
6837
|
Canvas = React9.forwardRef(CanvasRefForwardingFunction);
|
|
6805
6838
|
AnimatedImage = forwardRef3(({
|
|
@@ -6985,8 +7018,9 @@ var init_esm = __esm(() => {
|
|
|
6985
7018
|
});
|
|
6986
7019
|
injected = {};
|
|
6987
7020
|
listeners = [];
|
|
7021
|
+
MediaEnabledContext = createContext18(null);
|
|
6988
7022
|
CurrentScaleContext = React26.createContext(null);
|
|
6989
|
-
PreviewSizeContext =
|
|
7023
|
+
PreviewSizeContext = createContext19({
|
|
6990
7024
|
setSize: () => {
|
|
6991
7025
|
return;
|
|
6992
7026
|
},
|
|
@@ -7080,10 +7114,12 @@ var init_esm = __esm(() => {
|
|
|
7080
7114
|
InnerOffthreadVideo,
|
|
7081
7115
|
useBasicMediaInTimeline,
|
|
7082
7116
|
getInputPropsOverride,
|
|
7083
|
-
setInputPropsOverride
|
|
7117
|
+
setInputPropsOverride,
|
|
7118
|
+
useVideoEnabled,
|
|
7119
|
+
useAudioEnabled
|
|
7084
7120
|
};
|
|
7085
7121
|
PERCENTAGE = NUMBER + "%";
|
|
7086
|
-
IsInsideSeriesContext =
|
|
7122
|
+
IsInsideSeriesContext = createContext20(false);
|
|
7087
7123
|
SeriesSequence = forwardRef10(SeriesSequenceRefForwardingFunction);
|
|
7088
7124
|
Series.Sequence = SeriesSequence;
|
|
7089
7125
|
addSequenceStackTraces(SeriesSequence);
|
|
@@ -7151,7 +7187,7 @@ __export(exports_esm, {
|
|
|
7151
7187
|
});
|
|
7152
7188
|
import lottie from "lottie-web";
|
|
7153
7189
|
import { useEffect as useEffect26, useRef as useRef21, useState as useState24 } from "react";
|
|
7154
|
-
import { jsx as
|
|
7190
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
7155
7191
|
var getLottieMetadata = (animationData) => {
|
|
7156
7192
|
const width2 = animationData.w;
|
|
7157
7193
|
const height2 = animationData.h;
|
|
@@ -7309,7 +7345,7 @@ var getLottieMetadata = (animationData) => {
|
|
|
7309
7345
|
img.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", img.href.baseVal);
|
|
7310
7346
|
});
|
|
7311
7347
|
}, [direction, frame, loop, playbackRate, delayRender, continueRender]);
|
|
7312
|
-
return /* @__PURE__ */
|
|
7348
|
+
return /* @__PURE__ */ jsx44("div", {
|
|
7313
7349
|
ref: containerRef,
|
|
7314
7350
|
className: className2,
|
|
7315
7351
|
style: style2
|
|
@@ -12224,17 +12260,17 @@ init_esm();
|
|
|
12224
12260
|
init_esm();
|
|
12225
12261
|
init_esm();
|
|
12226
12262
|
init_esm();
|
|
12227
|
-
import { jsx as
|
|
12263
|
+
import { jsx as jsx36, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
12228
12264
|
import { jsx as jsx210, jsxs as jsxs23, Fragment } from "react/jsx-runtime";
|
|
12229
12265
|
import React6 from "react";
|
|
12230
12266
|
import { useContext as useContext210, useEffect as useEffect23, useState as useState20 } from "react";
|
|
12231
|
-
import { useContext as
|
|
12232
|
-
import { jsx as
|
|
12267
|
+
import { useContext as useContext35, useEffect as useEffect24 } from "react";
|
|
12268
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
12233
12269
|
import { useCallback as useCallback18, useRef as useRef18 } from "react";
|
|
12234
12270
|
import { useEffect as useEffect32, useState as useState23 } from "react";
|
|
12235
12271
|
import { useContext as useContext42, useEffect as useEffect62, useRef as useRef42 } from "react";
|
|
12236
12272
|
import { useEffect as useEffect42 } from "react";
|
|
12237
|
-
import { useCallback as useCallback23, useContext as
|
|
12273
|
+
import { useCallback as useCallback23, useContext as useContext36, useMemo as useMemo32, useRef as useRef22, useState as useState32 } from "react";
|
|
12238
12274
|
import { useEffect as useEffect52, useRef as useRef32 } from "react";
|
|
12239
12275
|
import { useCallback as useCallback32, useEffect as useEffect72, useMemo as useMemo210, useState as useState42 } from "react";
|
|
12240
12276
|
import {
|
|
@@ -12260,7 +12296,7 @@ import React102, {
|
|
|
12260
12296
|
import { useCallback as useCallback82, useEffect as useEffect112, useMemo as useMemo92, useRef as useRef82, useState as useState102 } from "react";
|
|
12261
12297
|
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
12262
12298
|
import { useCallback as useCallback52, useMemo as useMemo42, useRef as useRef52, useState as useState62 } from "react";
|
|
12263
|
-
import React33, { useCallback as useCallback42, useMemo as
|
|
12299
|
+
import React33, { useCallback as useCallback42, useMemo as useMemo33, useState as useState52 } from "react";
|
|
12264
12300
|
import { jsx as jsx53, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
12265
12301
|
import { jsx as jsx63, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
12266
12302
|
import {
|
|
@@ -12393,9 +12429,9 @@ function truthy2(value) {
|
|
|
12393
12429
|
}
|
|
12394
12430
|
if (typeof window !== "undefined") {
|
|
12395
12431
|
window.remotion_renderReady = false;
|
|
12396
|
-
|
|
12397
|
-
|
|
12398
|
-
|
|
12432
|
+
if (!window.remotion_delayRenderTimeouts) {
|
|
12433
|
+
window.remotion_delayRenderTimeouts = {};
|
|
12434
|
+
}
|
|
12399
12435
|
}
|
|
12400
12436
|
var DELAY_RENDER_CALLSTACK_TOKEN2 = "The delayRender was called:";
|
|
12401
12437
|
var DELAY_RENDER_RETRIES_LEFT2 = "Retries left: ";
|
|
@@ -12932,12 +12968,12 @@ import { jsx as jsx162 } from "react/jsx-runtime";
|
|
|
12932
12968
|
var ICON_SIZE2 = 25;
|
|
12933
12969
|
var fullscreenIconSize = 16;
|
|
12934
12970
|
var PlayIcon = () => {
|
|
12935
|
-
return /* @__PURE__ */
|
|
12971
|
+
return /* @__PURE__ */ jsx36("svg", {
|
|
12936
12972
|
width: ICON_SIZE2,
|
|
12937
12973
|
height: ICON_SIZE2,
|
|
12938
12974
|
viewBox: "0 0 25 25",
|
|
12939
12975
|
fill: "none",
|
|
12940
|
-
children: /* @__PURE__ */
|
|
12976
|
+
children: /* @__PURE__ */ jsx36("path", {
|
|
12941
12977
|
d: "M8 6.375C7.40904 8.17576 7.06921 10.2486 7.01438 12.3871C6.95955 14.5255 7.19163 16.6547 7.6875 18.5625C9.95364 18.2995 12.116 17.6164 14.009 16.5655C15.902 15.5147 17.4755 14.124 18.6088 12.5C17.5158 10.8949 15.9949 9.51103 14.1585 8.45082C12.3222 7.3906 10.2174 6.68116 8 6.375Z",
|
|
12942
12978
|
fill: "white",
|
|
12943
12979
|
stroke: "white",
|
|
@@ -12952,7 +12988,7 @@ var PauseIcon = () => {
|
|
|
12952
12988
|
width: ICON_SIZE2,
|
|
12953
12989
|
height: ICON_SIZE2,
|
|
12954
12990
|
children: [
|
|
12955
|
-
/* @__PURE__ */
|
|
12991
|
+
/* @__PURE__ */ jsx36("rect", {
|
|
12956
12992
|
x: "25",
|
|
12957
12993
|
y: "20",
|
|
12958
12994
|
width: "20",
|
|
@@ -12961,7 +12997,7 @@ var PauseIcon = () => {
|
|
|
12961
12997
|
ry: "5",
|
|
12962
12998
|
rx: "5"
|
|
12963
12999
|
}),
|
|
12964
|
-
/* @__PURE__ */
|
|
13000
|
+
/* @__PURE__ */ jsx36("rect", {
|
|
12965
13001
|
x: "55",
|
|
12966
13002
|
y: "20",
|
|
12967
13003
|
width: "20",
|
|
@@ -12986,7 +13022,7 @@ var FullscreenIcon = ({
|
|
|
12986
13022
|
height: fullscreenIconSize,
|
|
12987
13023
|
width: fullscreenIconSize,
|
|
12988
13024
|
children: [
|
|
12989
|
-
/* @__PURE__ */
|
|
13025
|
+
/* @__PURE__ */ jsx36("path", {
|
|
12990
13026
|
d: `
|
|
12991
13027
|
M ${out} ${inset}
|
|
12992
13028
|
L ${middleInset} ${middleInset}
|
|
@@ -12996,7 +13032,7 @@ var FullscreenIcon = ({
|
|
|
12996
13032
|
strokeWidth: strokeWidth2,
|
|
12997
13033
|
fill: "none"
|
|
12998
13034
|
}),
|
|
12999
|
-
/* @__PURE__ */
|
|
13035
|
+
/* @__PURE__ */ jsx36("path", {
|
|
13000
13036
|
d: `
|
|
13001
13037
|
M ${viewSize - out} ${inset}
|
|
13002
13038
|
L ${viewSize - middleInset} ${middleInset}
|
|
@@ -13006,7 +13042,7 @@ var FullscreenIcon = ({
|
|
|
13006
13042
|
strokeWidth: strokeWidth2,
|
|
13007
13043
|
fill: "none"
|
|
13008
13044
|
}),
|
|
13009
|
-
/* @__PURE__ */
|
|
13045
|
+
/* @__PURE__ */ jsx36("path", {
|
|
13010
13046
|
d: `
|
|
13011
13047
|
M ${out} ${viewSize - inset}
|
|
13012
13048
|
L ${middleInset} ${viewSize - middleInset}
|
|
@@ -13016,7 +13052,7 @@ var FullscreenIcon = ({
|
|
|
13016
13052
|
strokeWidth: strokeWidth2,
|
|
13017
13053
|
fill: "none"
|
|
13018
13054
|
}),
|
|
13019
|
-
/* @__PURE__ */
|
|
13055
|
+
/* @__PURE__ */ jsx36("path", {
|
|
13020
13056
|
d: `
|
|
13021
13057
|
M ${viewSize - out} ${viewSize - inset}
|
|
13022
13058
|
L ${viewSize - middleInset} ${viewSize - middleInset}
|
|
@@ -13030,22 +13066,22 @@ var FullscreenIcon = ({
|
|
|
13030
13066
|
});
|
|
13031
13067
|
};
|
|
13032
13068
|
var VolumeOffIcon = () => {
|
|
13033
|
-
return /* @__PURE__ */
|
|
13069
|
+
return /* @__PURE__ */ jsx36("svg", {
|
|
13034
13070
|
width: ICON_SIZE2,
|
|
13035
13071
|
height: ICON_SIZE2,
|
|
13036
13072
|
viewBox: "0 0 24 24",
|
|
13037
|
-
children: /* @__PURE__ */
|
|
13073
|
+
children: /* @__PURE__ */ jsx36("path", {
|
|
13038
13074
|
d: "M3.63 3.63a.996.996 0 000 1.41L7.29 8.7 7 9H4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h3l3.29 3.29c.63.63 1.71.18 1.71-.71v-4.17l4.18 4.18c-.49.37-1.02.68-1.6.91-.36.15-.58.53-.58.92 0 .72.73 1.18 1.39.91.8-.33 1.55-.77 2.22-1.31l1.34 1.34a.996.996 0 101.41-1.41L5.05 3.63c-.39-.39-1.02-.39-1.42 0zM19 12c0 .82-.15 1.61-.41 2.34l1.53 1.53c.56-1.17.88-2.48.88-3.87 0-3.83-2.4-7.11-5.78-8.4-.59-.23-1.22.23-1.22.86v.19c0 .38.25.71.61.85C17.18 6.54 19 9.06 19 12zm-8.71-6.29l-.17.17L12 7.76V6.41c0-.89-1.08-1.33-1.71-.7zM16.5 12A4.5 4.5 0 0014 7.97v1.79l2.48 2.48c.01-.08.02-.16.02-.24z",
|
|
13039
13075
|
fill: "#fff"
|
|
13040
13076
|
})
|
|
13041
13077
|
});
|
|
13042
13078
|
};
|
|
13043
13079
|
var VolumeOnIcon = () => {
|
|
13044
|
-
return /* @__PURE__ */
|
|
13080
|
+
return /* @__PURE__ */ jsx36("svg", {
|
|
13045
13081
|
width: ICON_SIZE2,
|
|
13046
13082
|
height: ICON_SIZE2,
|
|
13047
13083
|
viewBox: "0 0 24 24",
|
|
13048
|
-
children: /* @__PURE__ */
|
|
13084
|
+
children: /* @__PURE__ */ jsx36("path", {
|
|
13049
13085
|
d: "M3 10v4c0 .55.45 1 1 1h3l3.29 3.29c.63.63 1.71.18 1.71-.71V6.41c0-.89-1.08-1.34-1.71-.71L7 9H4c-.55 0-1 .45-1 1zm13.5 2A4.5 4.5 0 0014 7.97v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 4.45v.2c0 .38.25.71.6.85C17.18 6.53 19 9.06 19 12s-1.82 5.47-4.4 6.5c-.36.14-.6.47-.6.85v.2c0 .63.63 1.07 1.21.85C18.6 19.11 21 15.84 21 12s-2.4-7.11-5.79-8.4c-.58-.23-1.21.22-1.21.85z",
|
|
13050
13086
|
fill: "#fff"
|
|
13051
13087
|
})
|
|
@@ -13361,7 +13397,7 @@ class ThumbnailEmitter {
|
|
|
13361
13397
|
};
|
|
13362
13398
|
}
|
|
13363
13399
|
var useBufferStateEmitter = (emitter) => {
|
|
13364
|
-
const bufferManager =
|
|
13400
|
+
const bufferManager = useContext35(Internals.BufferingContextReact);
|
|
13365
13401
|
if (!bufferManager) {
|
|
13366
13402
|
throw new Error("BufferingContextReact not found");
|
|
13367
13403
|
}
|
|
@@ -13392,7 +13428,7 @@ var PlayerEmitterProvider = ({ children, currentPlaybackRate }) => {
|
|
|
13392
13428
|
}
|
|
13393
13429
|
}, [emitter, currentPlaybackRate]);
|
|
13394
13430
|
useBufferStateEmitter(emitter);
|
|
13395
|
-
return /* @__PURE__ */
|
|
13431
|
+
return /* @__PURE__ */ jsx37(PlayerEventEmitterContext.Provider, {
|
|
13396
13432
|
value: emitter,
|
|
13397
13433
|
children
|
|
13398
13434
|
});
|
|
@@ -13444,20 +13480,20 @@ var usePlayer = () => {
|
|
|
13444
13480
|
const playStart = useRef22(frame);
|
|
13445
13481
|
const setFrame = Internals.Timeline.useTimelineSetFrame();
|
|
13446
13482
|
const setTimelinePosition = Internals.Timeline.useTimelineSetFrame();
|
|
13447
|
-
const audioContext =
|
|
13448
|
-
const { audioAndVideoTags } =
|
|
13483
|
+
const audioContext = useContext36(Internals.SharedAudioContext);
|
|
13484
|
+
const { audioAndVideoTags } = useContext36(Internals.Timeline.TimelineContext);
|
|
13449
13485
|
const frameRef = useRef22(frame);
|
|
13450
13486
|
frameRef.current = frame;
|
|
13451
13487
|
const video = Internals.useVideo();
|
|
13452
13488
|
const config = Internals.useUnsafeVideoConfig();
|
|
13453
|
-
const emitter =
|
|
13489
|
+
const emitter = useContext36(PlayerEventEmitterContext);
|
|
13454
13490
|
const lastFrame = (config?.durationInFrames ?? 1) - 1;
|
|
13455
13491
|
const isLastFrame = frame === lastFrame;
|
|
13456
13492
|
const isFirstFrame = frame === 0;
|
|
13457
13493
|
if (!emitter) {
|
|
13458
13494
|
throw new TypeError("Expected Player event emitter context");
|
|
13459
13495
|
}
|
|
13460
|
-
const bufferingContext =
|
|
13496
|
+
const bufferingContext = useContext36(Internals.BufferingContextReact);
|
|
13461
13497
|
if (!bufferingContext) {
|
|
13462
13498
|
throw new Error("Missing the buffering context. Most likely you have a Remotion version mismatch.");
|
|
13463
13499
|
}
|
|
@@ -13563,7 +13599,7 @@ var usePlayer = () => {
|
|
|
13563
13599
|
play(e);
|
|
13564
13600
|
}
|
|
13565
13601
|
}, [imperativePlaying, pause, play]);
|
|
13566
|
-
const returnValue =
|
|
13602
|
+
const returnValue = useMemo32(() => {
|
|
13567
13603
|
return {
|
|
13568
13604
|
frameBack,
|
|
13569
13605
|
frameForward,
|
|
@@ -14027,7 +14063,7 @@ var DefaultVolumeSlider = ({
|
|
|
14027
14063
|
inputRef,
|
|
14028
14064
|
setVolume
|
|
14029
14065
|
}) => {
|
|
14030
|
-
const sliderContainer =
|
|
14066
|
+
const sliderContainer = useMemo33(() => {
|
|
14031
14067
|
const paddingLeft = 5;
|
|
14032
14068
|
const common = {
|
|
14033
14069
|
paddingLeft,
|
|
@@ -14052,7 +14088,7 @@ var DefaultVolumeSlider = ({
|
|
|
14052
14088
|
const onVolumeChange = useCallback42((e) => {
|
|
14053
14089
|
setVolume(parseFloat(e.target.value));
|
|
14054
14090
|
}, [setVolume]);
|
|
14055
|
-
const inputStyle =
|
|
14091
|
+
const inputStyle = useMemo33(() => {
|
|
14056
14092
|
const commonStyle = {
|
|
14057
14093
|
WebkitAppearance: "none",
|
|
14058
14094
|
backgroundColor: "rgba(255, 255, 255, 0.5)",
|
|
@@ -16282,7 +16318,7 @@ var Thumbnail = forward2(ThumbnailFn);
|
|
|
16282
16318
|
import {
|
|
16283
16319
|
useCallback as useCallback35,
|
|
16284
16320
|
useEffect as useEffect38,
|
|
16285
|
-
useMemo as
|
|
16321
|
+
useMemo as useMemo43,
|
|
16286
16322
|
useRef as useRef28,
|
|
16287
16323
|
useState as useState33
|
|
16288
16324
|
} from "react";
|
|
@@ -17033,24 +17069,24 @@ var UNDERLAY_RED = curriedTransparentize$1(0.9, RED);
|
|
|
17033
17069
|
var BLUE_TEXT = curriedDarken$1(0.3, "#42e9f5");
|
|
17034
17070
|
|
|
17035
17071
|
// src/components/homepage/layout/use-color-mode.tsx
|
|
17036
|
-
import React11, { useContext as
|
|
17037
|
-
import { jsx as
|
|
17072
|
+
import React11, { useContext as useContext37, useMemo as useMemo34 } from "react";
|
|
17073
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
17038
17074
|
var Context = React11.createContext(undefined);
|
|
17039
17075
|
var ColorModeProvider = ({
|
|
17040
17076
|
children,
|
|
17041
17077
|
colorMode,
|
|
17042
17078
|
setColorMode
|
|
17043
17079
|
}) => {
|
|
17044
|
-
const value =
|
|
17080
|
+
const value = useMemo34(() => {
|
|
17045
17081
|
return { colorMode, setColorMode };
|
|
17046
17082
|
}, [colorMode, setColorMode]);
|
|
17047
|
-
return /* @__PURE__ */
|
|
17083
|
+
return /* @__PURE__ */ jsx38(Context.Provider, {
|
|
17048
17084
|
value,
|
|
17049
17085
|
children
|
|
17050
17086
|
});
|
|
17051
17087
|
};
|
|
17052
17088
|
function useColorMode() {
|
|
17053
|
-
const context =
|
|
17089
|
+
const context = useContext37(Context);
|
|
17054
17090
|
if (context === null || context === undefined) {
|
|
17055
17091
|
throw new Error("ColorModeProvider");
|
|
17056
17092
|
}
|
|
@@ -17059,7 +17095,7 @@ function useColorMode() {
|
|
|
17059
17095
|
|
|
17060
17096
|
// src/components/homepage/Demo/Comp.tsx
|
|
17061
17097
|
init_esm();
|
|
17062
|
-
import { useCallback as useCallback27, useEffect as useEffect30, useMemo as
|
|
17098
|
+
import { useCallback as useCallback27, useEffect as useEffect30, useMemo as useMemo37, useState as useState28 } from "react";
|
|
17063
17099
|
|
|
17064
17100
|
// src/components/homepage/Demo/Cards.tsx
|
|
17065
17101
|
init_esm();
|
|
@@ -17108,14 +17144,14 @@ var getIndexFromPosition = (clientX, clientY) => {
|
|
|
17108
17144
|
|
|
17109
17145
|
// src/components/homepage/Demo/Switcher.tsx
|
|
17110
17146
|
import { useCallback as useCallback20 } from "react";
|
|
17111
|
-
import { jsx as
|
|
17147
|
+
import { jsx as jsx39, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
17112
17148
|
var Switcher = ({ type, theme, onTap }) => {
|
|
17113
17149
|
const onPointerDown = useCallback20((e) => {
|
|
17114
17150
|
e.stopPropagation();
|
|
17115
17151
|
onTap();
|
|
17116
17152
|
}, [onTap]);
|
|
17117
17153
|
const switcherSize = 40;
|
|
17118
|
-
return /* @__PURE__ */
|
|
17154
|
+
return /* @__PURE__ */ jsx39("div", {
|
|
17119
17155
|
onPointerDown,
|
|
17120
17156
|
style: {
|
|
17121
17157
|
height: switcherSize,
|
|
@@ -17137,11 +17173,11 @@ var Switcher = ({ type, theme, onTap }) => {
|
|
|
17137
17173
|
style: { height: switcherSize / 2 },
|
|
17138
17174
|
viewBox: "0 0 320 512",
|
|
17139
17175
|
children: [
|
|
17140
|
-
type === "left" ? /* @__PURE__ */
|
|
17176
|
+
type === "left" ? /* @__PURE__ */ jsx39("path", {
|
|
17141
17177
|
fill: "currentcolor",
|
|
17142
17178
|
d: "M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"
|
|
17143
17179
|
}) : null,
|
|
17144
|
-
type === "right" ? /* @__PURE__ */
|
|
17180
|
+
type === "right" ? /* @__PURE__ */ jsx39("path", {
|
|
17145
17181
|
fill: "currentcolor",
|
|
17146
17182
|
d: "M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"
|
|
17147
17183
|
}) : null
|
|
@@ -17151,7 +17187,7 @@ var Switcher = ({ type, theme, onTap }) => {
|
|
|
17151
17187
|
};
|
|
17152
17188
|
|
|
17153
17189
|
// src/components/homepage/Demo/Card.tsx
|
|
17154
|
-
import { jsx as
|
|
17190
|
+
import { jsx as jsx40, jsxs as jsxs12, Fragment as Fragment4 } from "react/jsx-runtime";
|
|
17155
17191
|
var arePositionsEqual = (a, b) => {
|
|
17156
17192
|
return a.every((pos, i) => {
|
|
17157
17193
|
return pos.x === b[i].x && pos.y === b[i].y;
|
|
@@ -17312,7 +17348,7 @@ var Card = ({
|
|
|
17312
17348
|
}, []);
|
|
17313
17349
|
const { x, y } = getPositionForIndex(index);
|
|
17314
17350
|
const color = theme === "light" ? " #EAEAEA" : "#333";
|
|
17315
|
-
return /* @__PURE__ */
|
|
17351
|
+
return /* @__PURE__ */ jsx40("div", {
|
|
17316
17352
|
ref: refToUse,
|
|
17317
17353
|
className: "transition-opacity duration-200",
|
|
17318
17354
|
onPointerDown,
|
|
@@ -17338,12 +17374,12 @@ var Card = ({
|
|
|
17338
17374
|
content,
|
|
17339
17375
|
withSwitcher ? /* @__PURE__ */ jsxs12(Fragment4, {
|
|
17340
17376
|
children: [
|
|
17341
|
-
/* @__PURE__ */
|
|
17377
|
+
/* @__PURE__ */ jsx40(Switcher, {
|
|
17342
17378
|
onTap: onClickLeft,
|
|
17343
17379
|
type: "left",
|
|
17344
17380
|
theme
|
|
17345
17381
|
}),
|
|
17346
|
-
/* @__PURE__ */
|
|
17382
|
+
/* @__PURE__ */ jsx40(Switcher, {
|
|
17347
17383
|
onTap: onClickRight,
|
|
17348
17384
|
type: "right",
|
|
17349
17385
|
theme
|
|
@@ -17357,7 +17393,7 @@ var Card = ({
|
|
|
17357
17393
|
|
|
17358
17394
|
// src/components/homepage/Demo/CurrentCountry.tsx
|
|
17359
17395
|
init_esm();
|
|
17360
|
-
import { jsx as
|
|
17396
|
+
import { jsx as jsx41, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
17361
17397
|
var CurrentCountry = ({ theme, countryPaths, countryLabel }) => {
|
|
17362
17398
|
const { fps } = useVideoConfig();
|
|
17363
17399
|
const frame = useCurrentFrame();
|
|
@@ -17375,16 +17411,16 @@ var CurrentCountry = ({ theme, countryPaths, countryLabel }) => {
|
|
|
17375
17411
|
return /* @__PURE__ */ jsxs13(AbsoluteFill, {
|
|
17376
17412
|
style: { overflow: "hidden" },
|
|
17377
17413
|
children: [
|
|
17378
|
-
/* @__PURE__ */
|
|
17414
|
+
/* @__PURE__ */ jsx41(AbsoluteFill, {
|
|
17379
17415
|
style: {
|
|
17380
17416
|
transform: `scale(${progress})`
|
|
17381
17417
|
},
|
|
17382
|
-
children: /* @__PURE__ */
|
|
17418
|
+
children: /* @__PURE__ */ jsx41("svg", {
|
|
17383
17419
|
viewBox: boundingBox.viewBox,
|
|
17384
17420
|
style: {
|
|
17385
17421
|
scale: "0.8"
|
|
17386
17422
|
},
|
|
17387
|
-
children: /* @__PURE__ */
|
|
17423
|
+
children: /* @__PURE__ */ jsx41("path", {
|
|
17388
17424
|
fill: theme === "light" ? "#bbb" : "#222",
|
|
17389
17425
|
d: reset
|
|
17390
17426
|
})
|
|
@@ -17396,7 +17432,7 @@ var CurrentCountry = ({ theme, countryPaths, countryLabel }) => {
|
|
|
17396
17432
|
justifyContent: "center"
|
|
17397
17433
|
},
|
|
17398
17434
|
children: [
|
|
17399
|
-
/* @__PURE__ */
|
|
17435
|
+
/* @__PURE__ */ jsx41("div", {
|
|
17400
17436
|
style: {
|
|
17401
17437
|
color: "#0b84f3",
|
|
17402
17438
|
fontFamily: "GTPlanar",
|
|
@@ -17411,7 +17447,7 @@ var CurrentCountry = ({ theme, countryPaths, countryLabel }) => {
|
|
|
17411
17447
|
},
|
|
17412
17448
|
children: "Your country"
|
|
17413
17449
|
}),
|
|
17414
|
-
/* @__PURE__ */
|
|
17450
|
+
/* @__PURE__ */ jsx41("div", {
|
|
17415
17451
|
style: {
|
|
17416
17452
|
lineHeight: 1.1,
|
|
17417
17453
|
fontFamily: "GTPlanar",
|
|
@@ -17444,14 +17480,14 @@ import {
|
|
|
17444
17480
|
|
|
17445
17481
|
// src/components/homepage/Demo/DisplayedEmoji.tsx
|
|
17446
17482
|
init_esm();
|
|
17447
|
-
import { useEffect as useEffect27, useMemo as
|
|
17448
|
-
import { jsx as
|
|
17483
|
+
import { useEffect as useEffect27, useMemo as useMemo35, useState as useState26 } from "react";
|
|
17484
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
17449
17485
|
var DisplayedEmoji = ({ emoji }) => {
|
|
17450
17486
|
const [data, setData] = useState26(null);
|
|
17451
17487
|
const { durationInFrames, fps } = useVideoConfig();
|
|
17452
17488
|
const [browser, setBrowser] = useState26(typeof document !== "undefined");
|
|
17453
17489
|
const { delayRender, continueRender } = useDelayRender();
|
|
17454
|
-
const src =
|
|
17490
|
+
const src = useMemo35(() => {
|
|
17455
17491
|
if (emoji === "melting") {
|
|
17456
17492
|
return "https://fonts.gstatic.com/s/e/notoemoji/latest/1fae0/lottie.json";
|
|
17457
17493
|
}
|
|
@@ -17497,7 +17533,7 @@ var DisplayedEmoji = ({ emoji }) => {
|
|
|
17497
17533
|
const ratio = durationInFrames / fps / animDurtion;
|
|
17498
17534
|
const closestInteger = ratio;
|
|
17499
17535
|
const closestRatio = closestInteger / ratio;
|
|
17500
|
-
return /* @__PURE__ */
|
|
17536
|
+
return /* @__PURE__ */ jsx46(data.Lottie, {
|
|
17501
17537
|
style: {
|
|
17502
17538
|
height: 100,
|
|
17503
17539
|
width: "100%",
|
|
@@ -17511,7 +17547,7 @@ var DisplayedEmoji = ({ emoji }) => {
|
|
|
17511
17547
|
};
|
|
17512
17548
|
|
|
17513
17549
|
// src/components/homepage/Demo/EmojiCard.tsx
|
|
17514
|
-
import { jsx as
|
|
17550
|
+
import { jsx as jsx47, jsxs as jsxs14, Fragment as Fragment6 } from "react/jsx-runtime";
|
|
17515
17551
|
var applyTransforms = ({ ref1, ref2, ref3, transforms }) => {
|
|
17516
17552
|
ref1.style.transform = `translateX(${transforms[0]}%)`;
|
|
17517
17553
|
ref2.style.transform = `translateX(${transforms[1]}%)`;
|
|
@@ -17614,7 +17650,7 @@ var EmojiCardRefFn = ({ emojiIndex }, ref) => {
|
|
|
17614
17650
|
overflow: "hidden"
|
|
17615
17651
|
},
|
|
17616
17652
|
children: [
|
|
17617
|
-
/* @__PURE__ */
|
|
17653
|
+
/* @__PURE__ */ jsx47("div", {
|
|
17618
17654
|
style: {
|
|
17619
17655
|
color: "#0b84f3",
|
|
17620
17656
|
fontFamily: "GTPlanar",
|
|
@@ -17626,7 +17662,7 @@ var EmojiCardRefFn = ({ emojiIndex }, ref) => {
|
|
|
17626
17662
|
},
|
|
17627
17663
|
children: "Choose an emoji"
|
|
17628
17664
|
}),
|
|
17629
|
-
/* @__PURE__ */
|
|
17665
|
+
/* @__PURE__ */ jsx47("div", {
|
|
17630
17666
|
style: {
|
|
17631
17667
|
position: "absolute",
|
|
17632
17668
|
width: "100%",
|
|
@@ -17634,31 +17670,31 @@ var EmojiCardRefFn = ({ emojiIndex }, ref) => {
|
|
|
17634
17670
|
whiteSpace: "nowrap",
|
|
17635
17671
|
height: "100%"
|
|
17636
17672
|
},
|
|
17637
|
-
children: env.isRendering ? /* @__PURE__ */
|
|
17673
|
+
children: env.isRendering ? /* @__PURE__ */ jsx47("div", {
|
|
17638
17674
|
style: emojiStyle,
|
|
17639
|
-
children: /* @__PURE__ */
|
|
17675
|
+
children: /* @__PURE__ */ jsx47(DisplayedEmoji, {
|
|
17640
17676
|
emoji: emojiIndex
|
|
17641
17677
|
})
|
|
17642
17678
|
}) : /* @__PURE__ */ jsxs14(Fragment6, {
|
|
17643
17679
|
children: [
|
|
17644
|
-
/* @__PURE__ */
|
|
17680
|
+
/* @__PURE__ */ jsx47("div", {
|
|
17645
17681
|
ref: ref1,
|
|
17646
17682
|
style: emojiStyle,
|
|
17647
|
-
children: /* @__PURE__ */
|
|
17683
|
+
children: /* @__PURE__ */ jsx47(DisplayedEmoji, {
|
|
17648
17684
|
emoji: "melting"
|
|
17649
17685
|
})
|
|
17650
17686
|
}),
|
|
17651
|
-
/* @__PURE__ */
|
|
17687
|
+
/* @__PURE__ */ jsx47("div", {
|
|
17652
17688
|
ref: ref2,
|
|
17653
17689
|
style: emojiStyle,
|
|
17654
|
-
children: /* @__PURE__ */
|
|
17690
|
+
children: /* @__PURE__ */ jsx47(DisplayedEmoji, {
|
|
17655
17691
|
emoji: "partying-face"
|
|
17656
17692
|
})
|
|
17657
17693
|
}),
|
|
17658
|
-
/* @__PURE__ */
|
|
17694
|
+
/* @__PURE__ */ jsx47("div", {
|
|
17659
17695
|
ref: ref3,
|
|
17660
17696
|
style: emojiStyle,
|
|
17661
|
-
children: /* @__PURE__ */
|
|
17697
|
+
children: /* @__PURE__ */ jsx47(DisplayedEmoji, {
|
|
17662
17698
|
emoji: "fire"
|
|
17663
17699
|
})
|
|
17664
17700
|
})
|
|
@@ -17677,9 +17713,9 @@ init_esm();
|
|
|
17677
17713
|
init_esm();
|
|
17678
17714
|
|
|
17679
17715
|
// src/components/homepage/Demo/Minus.tsx
|
|
17680
|
-
import { jsx as
|
|
17716
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
17681
17717
|
var Minus = ({ leftOffset, minusSignOpacity }) => {
|
|
17682
|
-
return /* @__PURE__ */
|
|
17718
|
+
return /* @__PURE__ */ jsx48("div", {
|
|
17683
17719
|
style: {
|
|
17684
17720
|
position: "relative",
|
|
17685
17721
|
marginLeft: -40 - leftOffset,
|
|
@@ -17693,7 +17729,7 @@ var Minus = ({ leftOffset, minusSignOpacity }) => {
|
|
|
17693
17729
|
};
|
|
17694
17730
|
|
|
17695
17731
|
// src/components/homepage/Demo/DigitWheel.tsx
|
|
17696
|
-
import { jsx as
|
|
17732
|
+
import { jsx as jsx49, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
17697
17733
|
var DURATION = 25;
|
|
17698
17734
|
var items = 10;
|
|
17699
17735
|
var NUM_WIDTH = 36;
|
|
@@ -17746,11 +17782,11 @@ var Wheel = ({ delay: delay2, digits, renderDigit, isLeadingDigit, isNegative })
|
|
|
17746
17782
|
marginLeft: shiftLeft
|
|
17747
17783
|
},
|
|
17748
17784
|
children: [
|
|
17749
|
-
isLeadingDigit ? /* @__PURE__ */
|
|
17785
|
+
isLeadingDigit ? /* @__PURE__ */ jsx49(Minus, {
|
|
17750
17786
|
minusSignOpacity,
|
|
17751
17787
|
leftOffset: shiftLeft + minusSignMarginLeft
|
|
17752
17788
|
}) : null,
|
|
17753
|
-
/* @__PURE__ */
|
|
17789
|
+
/* @__PURE__ */ jsx49(AbsoluteFill, {
|
|
17754
17790
|
style: {
|
|
17755
17791
|
perspective: 5000,
|
|
17756
17792
|
maskImage: `linear-gradient(to bottom, transparent 0%, #000 28%, #000 80%, transparent 100%)`,
|
|
@@ -17761,7 +17797,7 @@ var Wheel = ({ delay: delay2, digits, renderDigit, isLeadingDigit, isNegative })
|
|
|
17761
17797
|
const z = Math.cos(index * -Math.PI * 2) * 120;
|
|
17762
17798
|
const y = Math.sin(index * Math.PI * 2) * -120;
|
|
17763
17799
|
const r2 = interpolate(index, [0, 1], [0, Math.PI * 2]);
|
|
17764
|
-
return /* @__PURE__ */
|
|
17800
|
+
return /* @__PURE__ */ jsx49(AbsoluteFill, {
|
|
17765
17801
|
style: {
|
|
17766
17802
|
justifyContent: "center",
|
|
17767
17803
|
alignItems: "center",
|
|
@@ -17771,7 +17807,7 @@ var Wheel = ({ delay: delay2, digits, renderDigit, isLeadingDigit, isNegative })
|
|
|
17771
17807
|
backfaceVisibility: "hidden",
|
|
17772
17808
|
perspective: 1000
|
|
17773
17809
|
},
|
|
17774
|
-
children: /* @__PURE__ */
|
|
17810
|
+
children: /* @__PURE__ */ jsx49("div", {
|
|
17775
17811
|
style: {
|
|
17776
17812
|
transform: `rotateX(-${r2}rad)`,
|
|
17777
17813
|
backfaceVisibility: "hidden",
|
|
@@ -17781,7 +17817,7 @@ var Wheel = ({ delay: delay2, digits, renderDigit, isLeadingDigit, isNegative })
|
|
|
17781
17817
|
justifyContent: "center",
|
|
17782
17818
|
opacity
|
|
17783
17819
|
},
|
|
17784
|
-
children: /* @__PURE__ */
|
|
17820
|
+
children: /* @__PURE__ */ jsx49("div", {
|
|
17785
17821
|
style: {
|
|
17786
17822
|
lineHeight: 1,
|
|
17787
17823
|
display: "inline",
|
|
@@ -17798,7 +17834,7 @@ var Wheel = ({ delay: delay2, digits, renderDigit, isLeadingDigit, isNegative })
|
|
|
17798
17834
|
};
|
|
17799
17835
|
|
|
17800
17836
|
// src/components/homepage/Demo/TemperatureNumber.tsx
|
|
17801
|
-
import { jsx as
|
|
17837
|
+
import { jsx as jsx50, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
17802
17838
|
var TemperatureNumber = ({ theme, temperatureInCelsius }) => {
|
|
17803
17839
|
const temperatureInFahrenheit = temperatureInCelsius * 9 / 5 + 32;
|
|
17804
17840
|
const celsiusDegree = Math.abs(temperatureInCelsius);
|
|
@@ -17819,7 +17855,7 @@ var TemperatureNumber = ({ theme, temperatureInCelsius }) => {
|
|
|
17819
17855
|
alignItems: "center"
|
|
17820
17856
|
},
|
|
17821
17857
|
children: [
|
|
17822
|
-
paddedCelsiusDegree.map((digit, i) => /* @__PURE__ */
|
|
17858
|
+
paddedCelsiusDegree.map((digit, i) => /* @__PURE__ */ jsx50(Wheel, {
|
|
17823
17859
|
delay: i * 4,
|
|
17824
17860
|
renderDigit: (_i) => 9 - _i,
|
|
17825
17861
|
digits: [
|
|
@@ -17834,14 +17870,14 @@ var TemperatureNumber = ({ theme, temperatureInCelsius }) => {
|
|
|
17834
17870
|
],
|
|
17835
17871
|
isLeadingDigit: i === 0
|
|
17836
17872
|
}, i)),
|
|
17837
|
-
/* @__PURE__ */
|
|
17873
|
+
/* @__PURE__ */ jsx50("div", {
|
|
17838
17874
|
style: { width: 8 }
|
|
17839
17875
|
}),
|
|
17840
17876
|
"°",
|
|
17841
|
-
/* @__PURE__ */
|
|
17877
|
+
/* @__PURE__ */ jsx50(Wheel, {
|
|
17842
17878
|
delay: paddedCelsiusDegree.length * 4 - 2,
|
|
17843
17879
|
digits: [0, 1, 0],
|
|
17844
|
-
renderDigit: (_i) => _i % 2 === 0 ? "C" : /* @__PURE__ */
|
|
17880
|
+
renderDigit: (_i) => _i % 2 === 0 ? "C" : /* @__PURE__ */ jsx50("span", {
|
|
17845
17881
|
style: { marginLeft: -5 },
|
|
17846
17882
|
children: "F"
|
|
17847
17883
|
}),
|
|
@@ -17853,12 +17889,12 @@ var TemperatureNumber = ({ theme, temperatureInCelsius }) => {
|
|
|
17853
17889
|
};
|
|
17854
17890
|
|
|
17855
17891
|
// src/components/homepage/Demo/Temperature.tsx
|
|
17856
|
-
import { jsx as
|
|
17892
|
+
import { jsx as jsx51, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
17857
17893
|
var Temperature = ({ theme, city, temperatureInCelsius }) => {
|
|
17858
17894
|
if (temperatureInCelsius === null) {
|
|
17859
17895
|
return null;
|
|
17860
17896
|
}
|
|
17861
|
-
return /* @__PURE__ */
|
|
17897
|
+
return /* @__PURE__ */ jsx51(AbsoluteFill, {
|
|
17862
17898
|
children: /* @__PURE__ */ jsxs17(AbsoluteFill, {
|
|
17863
17899
|
style: {
|
|
17864
17900
|
alignItems: "center",
|
|
@@ -17881,7 +17917,7 @@ var Temperature = ({ theme, city, temperatureInCelsius }) => {
|
|
|
17881
17917
|
city
|
|
17882
17918
|
]
|
|
17883
17919
|
}),
|
|
17884
|
-
/* @__PURE__ */
|
|
17920
|
+
/* @__PURE__ */ jsx51(TemperatureNumber, {
|
|
17885
17921
|
theme,
|
|
17886
17922
|
temperatureInCelsius
|
|
17887
17923
|
})
|
|
@@ -17892,8 +17928,8 @@ var Temperature = ({ theme, city, temperatureInCelsius }) => {
|
|
|
17892
17928
|
|
|
17893
17929
|
// src/components/homepage/Demo/TrendingRepos.tsx
|
|
17894
17930
|
init_esm();
|
|
17895
|
-
import { useMemo as
|
|
17896
|
-
import { jsx as
|
|
17931
|
+
import { useMemo as useMemo36 } from "react";
|
|
17932
|
+
import { jsx as jsx54, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
17897
17933
|
var TrendingRepoItem = ({ repo, theme, number }) => {
|
|
17898
17934
|
const frame = useCurrentFrame();
|
|
17899
17935
|
const { fps } = useVideoConfig();
|
|
@@ -17905,7 +17941,7 @@ var TrendingRepoItem = ({ repo, theme, number }) => {
|
|
|
17905
17941
|
},
|
|
17906
17942
|
delay: number * 10 + 20
|
|
17907
17943
|
});
|
|
17908
|
-
const item =
|
|
17944
|
+
const item = useMemo36(() => {
|
|
17909
17945
|
return {
|
|
17910
17946
|
lineHeight: 1.1,
|
|
17911
17947
|
fontFamily: "GTPlanar",
|
|
@@ -17939,8 +17975,8 @@ var TrendingRepos = ({ theme, trending }) => {
|
|
|
17939
17975
|
if (trending === null) {
|
|
17940
17976
|
return null;
|
|
17941
17977
|
}
|
|
17942
|
-
return /* @__PURE__ */
|
|
17943
|
-
children: /* @__PURE__ */
|
|
17978
|
+
return /* @__PURE__ */ jsx54(AbsoluteFill, {
|
|
17979
|
+
children: /* @__PURE__ */ jsx54(AbsoluteFill, {
|
|
17944
17980
|
style: {
|
|
17945
17981
|
justifyContent: "center",
|
|
17946
17982
|
paddingLeft: 20,
|
|
@@ -17948,7 +17984,7 @@ var TrendingRepos = ({ theme, trending }) => {
|
|
|
17948
17984
|
},
|
|
17949
17985
|
children: /* @__PURE__ */ jsxs18("div", {
|
|
17950
17986
|
children: [
|
|
17951
|
-
/* @__PURE__ */
|
|
17987
|
+
/* @__PURE__ */ jsx54("div", {
|
|
17952
17988
|
style: {
|
|
17953
17989
|
color: fill,
|
|
17954
17990
|
fontFamily: "GTPlanar",
|
|
@@ -17962,7 +17998,7 @@ var TrendingRepos = ({ theme, trending }) => {
|
|
|
17962
17998
|
day: "numeric"
|
|
17963
17999
|
}).format(new Date(trending.date))
|
|
17964
18000
|
}),
|
|
17965
|
-
/* @__PURE__ */
|
|
18001
|
+
/* @__PURE__ */ jsx54("div", {
|
|
17966
18002
|
style: {
|
|
17967
18003
|
color: "#0b84f3",
|
|
17968
18004
|
fontFamily: "GTPlanar",
|
|
@@ -17974,17 +18010,17 @@ var TrendingRepos = ({ theme, trending }) => {
|
|
|
17974
18010
|
},
|
|
17975
18011
|
children: "Trending repositories"
|
|
17976
18012
|
}),
|
|
17977
|
-
/* @__PURE__ */
|
|
18013
|
+
/* @__PURE__ */ jsx54(TrendingRepoItem, {
|
|
17978
18014
|
number: 1,
|
|
17979
18015
|
repo: trending.repos[0],
|
|
17980
18016
|
theme
|
|
17981
18017
|
}),
|
|
17982
|
-
/* @__PURE__ */
|
|
18018
|
+
/* @__PURE__ */ jsx54(TrendingRepoItem, {
|
|
17983
18019
|
number: 2,
|
|
17984
18020
|
repo: trending.repos[1],
|
|
17985
18021
|
theme
|
|
17986
18022
|
}),
|
|
17987
|
-
/* @__PURE__ */
|
|
18023
|
+
/* @__PURE__ */ jsx54(TrendingRepoItem, {
|
|
17988
18024
|
number: 3,
|
|
17989
18025
|
repo: trending.repos[2],
|
|
17990
18026
|
theme
|
|
@@ -17996,7 +18032,7 @@ var TrendingRepos = ({ theme, trending }) => {
|
|
|
17996
18032
|
};
|
|
17997
18033
|
|
|
17998
18034
|
// src/components/homepage/Demo/Cards.tsx
|
|
17999
|
-
import { jsx as
|
|
18035
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
18000
18036
|
var Cards = ({
|
|
18001
18037
|
onUpdate,
|
|
18002
18038
|
indices,
|
|
@@ -18042,26 +18078,26 @@ var Cards = ({
|
|
|
18042
18078
|
ref.current?.onLeft();
|
|
18043
18079
|
onLeftPress();
|
|
18044
18080
|
}, [onLeftPress]);
|
|
18045
|
-
return /* @__PURE__ */
|
|
18081
|
+
return /* @__PURE__ */ jsx56(AbsoluteFill, {
|
|
18046
18082
|
ref: container4,
|
|
18047
18083
|
children: new Array(4).fill(true).map((_, i) => {
|
|
18048
18084
|
const index = indices[i];
|
|
18049
|
-
const content = index === 0 ? /* @__PURE__ */
|
|
18085
|
+
const content = index === 0 ? /* @__PURE__ */ jsx56(TrendingRepos, {
|
|
18050
18086
|
trending,
|
|
18051
18087
|
theme
|
|
18052
|
-
}) : index === 1 ? /* @__PURE__ */
|
|
18088
|
+
}) : index === 1 ? /* @__PURE__ */ jsx56(Temperature, {
|
|
18053
18089
|
city: location?.city ? decodeURIComponent(location?.city) : null,
|
|
18054
18090
|
theme,
|
|
18055
18091
|
temperatureInCelsius: trending?.temperatureInCelsius ?? null
|
|
18056
|
-
}) : index === 2 ? /* @__PURE__ */
|
|
18092
|
+
}) : index === 2 ? /* @__PURE__ */ jsx56(CurrentCountry, {
|
|
18057
18093
|
countryPaths: trending?.countryPaths ?? null,
|
|
18058
18094
|
countryLabel: trending?.countryLabel ?? null,
|
|
18059
18095
|
theme
|
|
18060
|
-
}) : /* @__PURE__ */
|
|
18096
|
+
}) : /* @__PURE__ */ jsx56(EmojiCard, {
|
|
18061
18097
|
ref,
|
|
18062
18098
|
emojiIndex: emojiName
|
|
18063
18099
|
});
|
|
18064
|
-
return /* @__PURE__ */
|
|
18100
|
+
return /* @__PURE__ */ jsx56(Card, {
|
|
18065
18101
|
onUpdate,
|
|
18066
18102
|
refsToUse: refs,
|
|
18067
18103
|
index: i,
|
|
@@ -18079,7 +18115,7 @@ var Cards = ({
|
|
|
18079
18115
|
};
|
|
18080
18116
|
|
|
18081
18117
|
// src/components/homepage/Demo/Comp.tsx
|
|
18082
|
-
import { jsx as
|
|
18118
|
+
import { jsx as jsx57, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
18083
18119
|
var getDataAndProps = async () => {
|
|
18084
18120
|
const location = await fetch("https://bugs-git-homepage-player-remotion.vercel.app/api/location").then((res) => res.json());
|
|
18085
18121
|
const trending = await fetch(`https://bugs.remotion.dev/trending?lat=${location.latitude}&lng=${location.longitude}&country=${location.country}`).then((res) => res.json()).then((data) => {
|
|
@@ -18112,7 +18148,7 @@ var HomepageVideoComp = ({
|
|
|
18112
18148
|
setRerenders(rerenders + 1);
|
|
18113
18149
|
updateCardOrder(newIndices);
|
|
18114
18150
|
}, [rerenders, updateCardOrder]);
|
|
18115
|
-
const emoji =
|
|
18151
|
+
const emoji = useMemo37(() => {
|
|
18116
18152
|
if ((emojiIndex + 1e4 * 3) % 3 === 1) {
|
|
18117
18153
|
return "melting";
|
|
18118
18154
|
}
|
|
@@ -18121,7 +18157,7 @@ var HomepageVideoComp = ({
|
|
|
18121
18157
|
}
|
|
18122
18158
|
return "partying-face";
|
|
18123
18159
|
}, [emojiIndex]);
|
|
18124
|
-
const audioSrc =
|
|
18160
|
+
const audioSrc = useMemo37(() => {
|
|
18125
18161
|
if (emoji === "fire") {
|
|
18126
18162
|
return fireAudio;
|
|
18127
18163
|
}
|
|
@@ -18145,7 +18181,7 @@ var HomepageVideoComp = ({
|
|
|
18145
18181
|
backgroundColor: theme === "dark" ? "#222" : "#fafafa"
|
|
18146
18182
|
},
|
|
18147
18183
|
children: [
|
|
18148
|
-
/* @__PURE__ */
|
|
18184
|
+
/* @__PURE__ */ jsx57(Cards, {
|
|
18149
18185
|
onUpdate,
|
|
18150
18186
|
indices: cardOrder,
|
|
18151
18187
|
theme,
|
|
@@ -18156,7 +18192,7 @@ var HomepageVideoComp = ({
|
|
|
18156
18192
|
onRight: onClickRight,
|
|
18157
18193
|
emojiName: emoji
|
|
18158
18194
|
}, rerenders),
|
|
18159
|
-
audioSrc ? /* @__PURE__ */
|
|
18195
|
+
audioSrc ? /* @__PURE__ */ jsx57(Html5Audio, {
|
|
18160
18196
|
src: audioSrc
|
|
18161
18197
|
}) : null
|
|
18162
18198
|
]
|
|
@@ -18164,9 +18200,9 @@ var HomepageVideoComp = ({
|
|
|
18164
18200
|
};
|
|
18165
18201
|
|
|
18166
18202
|
// src/components/homepage/Demo/DemoError.tsx
|
|
18167
|
-
import { jsx as
|
|
18203
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
18168
18204
|
var DemoError = () => {
|
|
18169
|
-
return /* @__PURE__ */
|
|
18205
|
+
return /* @__PURE__ */ jsx58("div", {
|
|
18170
18206
|
style: {
|
|
18171
18207
|
color: RED,
|
|
18172
18208
|
fontFamily: FONTS.GTPLANAR,
|
|
@@ -18182,9 +18218,9 @@ import React37, { useCallback as useCallback28 } from "react";
|
|
|
18182
18218
|
import { z } from "zod";
|
|
18183
18219
|
|
|
18184
18220
|
// src/components/homepage/Demo/DemoErrorIcon.tsx
|
|
18185
|
-
import { jsx as
|
|
18221
|
+
import { jsx as jsx59 } from "react/jsx-runtime";
|
|
18186
18222
|
var DemoErrorIcon = () => {
|
|
18187
|
-
return /* @__PURE__ */
|
|
18223
|
+
return /* @__PURE__ */ jsx59("div", {
|
|
18188
18224
|
style: {
|
|
18189
18225
|
height: 26,
|
|
18190
18226
|
width: 26,
|
|
@@ -18194,14 +18230,14 @@ var DemoErrorIcon = () => {
|
|
|
18194
18230
|
justifyContent: "center",
|
|
18195
18231
|
animation: "jump 0.2s ease-out"
|
|
18196
18232
|
},
|
|
18197
|
-
children: /* @__PURE__ */
|
|
18233
|
+
children: /* @__PURE__ */ jsx59("svg", {
|
|
18198
18234
|
style: {
|
|
18199
18235
|
flexShrink: 0,
|
|
18200
18236
|
width: 26
|
|
18201
18237
|
},
|
|
18202
18238
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18203
18239
|
viewBox: "0 0 512 512",
|
|
18204
|
-
children: /* @__PURE__ */
|
|
18240
|
+
children: /* @__PURE__ */ jsx59("path", {
|
|
18205
18241
|
fill: RED,
|
|
18206
18242
|
d: "M17.1 292c-12.9-22.3-12.9-49.7 0-72L105.4 67.1c12.9-22.3 36.6-36 62.4-36l176.6 0c25.7 0 49.5 13.7 62.4 36L494.9 220c12.9 22.3 12.9 49.7 0 72L406.6 444.9c-12.9 22.3-36.6 36-62.4 36l-176.6 0c-25.7 0-49.5-13.7-62.4-36L17.1 292zM256 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"
|
|
18207
18243
|
})
|
|
@@ -18210,9 +18246,9 @@ var DemoErrorIcon = () => {
|
|
|
18210
18246
|
};
|
|
18211
18247
|
|
|
18212
18248
|
// src/components/homepage/Demo/DoneCheckmark.tsx
|
|
18213
|
-
import { jsx as
|
|
18249
|
+
import { jsx as jsx60, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
18214
18250
|
var DoneCheckmark = () => {
|
|
18215
|
-
return /* @__PURE__ */
|
|
18251
|
+
return /* @__PURE__ */ jsx60("div", {
|
|
18216
18252
|
style: {
|
|
18217
18253
|
backgroundColor: PALETTE.BRAND,
|
|
18218
18254
|
height: 26,
|
|
@@ -18232,13 +18268,13 @@ var DoneCheckmark = () => {
|
|
|
18232
18268
|
width: 26
|
|
18233
18269
|
},
|
|
18234
18270
|
children: [
|
|
18235
|
-
/* @__PURE__ */
|
|
18271
|
+
/* @__PURE__ */ jsx60("circle", {
|
|
18236
18272
|
cx: "10",
|
|
18237
18273
|
cy: "10",
|
|
18238
18274
|
r: "10",
|
|
18239
18275
|
fill: "#0B84F3"
|
|
18240
18276
|
}),
|
|
18241
|
-
/* @__PURE__ */
|
|
18277
|
+
/* @__PURE__ */ jsx60("path", {
|
|
18242
18278
|
d: "M14.7908 7.20505C15.0697 7.47844 15.0697 7.92243 14.7908 8.19583L9.07711 13.795C8.79813 14.0683 8.34505 14.0683 8.06606 13.795L5.20924 10.9954C4.93025 10.722 4.93025 10.278 5.20924 10.0046C5.48823 9.73121 5.9413 9.73121 6.22029 10.0046L8.5727 12.3077L13.7819 7.20505C14.0609 6.93165 14.514 6.93165 14.793 7.20505H14.7908Z",
|
|
18243
18279
|
fill: "white",
|
|
18244
18280
|
style: {
|
|
@@ -18252,9 +18288,9 @@ var DoneCheckmark = () => {
|
|
|
18252
18288
|
};
|
|
18253
18289
|
|
|
18254
18290
|
// ../shapes/dist/esm/index.mjs
|
|
18255
|
-
import React29, { useMemo as
|
|
18291
|
+
import React29, { useMemo as useMemo38 } from "react";
|
|
18256
18292
|
import { version } from "react-dom";
|
|
18257
|
-
import { jsx as
|
|
18293
|
+
import { jsx as jsx61, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
18258
18294
|
import { jsx as jsx212 } from "react/jsx-runtime";
|
|
18259
18295
|
import { jsx as jsx310 } from "react/jsx-runtime";
|
|
18260
18296
|
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
@@ -18410,7 +18446,7 @@ var makePie = ({
|
|
|
18410
18446
|
};
|
|
18411
18447
|
|
|
18412
18448
|
// src/components/homepage/Demo/Progress.tsx
|
|
18413
|
-
import { jsx as
|
|
18449
|
+
import { jsx as jsx65, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
18414
18450
|
var Progress = ({ progress }) => {
|
|
18415
18451
|
const inner2 = makeCircle({
|
|
18416
18452
|
radius: 10
|
|
@@ -18424,13 +18460,13 @@ var Progress = ({ progress }) => {
|
|
|
18424
18460
|
viewBox: `0 0 ${inner2.width} ${inner2.height}`,
|
|
18425
18461
|
style: { overflow: "visible", height: 22 },
|
|
18426
18462
|
children: [
|
|
18427
|
-
/* @__PURE__ */
|
|
18463
|
+
/* @__PURE__ */ jsx65("path", {
|
|
18428
18464
|
d: inner2.path,
|
|
18429
18465
|
stroke: PALETTE.BORDER_COLOR,
|
|
18430
18466
|
strokeWidth: 4,
|
|
18431
18467
|
fill: "transparent"
|
|
18432
18468
|
}),
|
|
18433
|
-
/* @__PURE__ */
|
|
18469
|
+
/* @__PURE__ */ jsx65("path", {
|
|
18434
18470
|
d: outer.path,
|
|
18435
18471
|
stroke: PALETTE.BRAND,
|
|
18436
18472
|
strokeWidth: 4,
|
|
@@ -18442,15 +18478,15 @@ var Progress = ({ progress }) => {
|
|
|
18442
18478
|
};
|
|
18443
18479
|
|
|
18444
18480
|
// src/components/homepage/Demo/Spinner.tsx
|
|
18445
|
-
import { useMemo as
|
|
18446
|
-
import { jsx as
|
|
18481
|
+
import { useMemo as useMemo39 } from "react";
|
|
18482
|
+
import { jsx as jsx67, jsxs as jsxs26, Fragment as Fragment7 } from "react/jsx-runtime";
|
|
18447
18483
|
var viewBox = 100;
|
|
18448
18484
|
var lines = 8;
|
|
18449
18485
|
var className2 = "__remotion_spinner_line";
|
|
18450
18486
|
var remotionSpinnerAnimation = "__remotion_spinner_animation";
|
|
18451
18487
|
var translated = "M 44 0 L 50 0 a 6 6 0 0 1 6 6 L 56 26 a 6 6 0 0 1 -6 6 L 50 32 a 6 6 0 0 1 -6 -6 L 44 6 a 6 6 0 0 1 6 -6 Z";
|
|
18452
18488
|
var Spinner = ({ size, duration }) => {
|
|
18453
|
-
const style2 =
|
|
18489
|
+
const style2 = useMemo39(() => {
|
|
18454
18490
|
return {
|
|
18455
18491
|
width: size,
|
|
18456
18492
|
height: size
|
|
@@ -18458,7 +18494,7 @@ var Spinner = ({ size, duration }) => {
|
|
|
18458
18494
|
}, [size]);
|
|
18459
18495
|
return /* @__PURE__ */ jsxs26(Fragment7, {
|
|
18460
18496
|
children: [
|
|
18461
|
-
/* @__PURE__ */
|
|
18497
|
+
/* @__PURE__ */ jsx67("style", {
|
|
18462
18498
|
type: "text/css",
|
|
18463
18499
|
children: `
|
|
18464
18500
|
@keyframes ${remotionSpinnerAnimation} {
|
|
@@ -18475,11 +18511,11 @@ var Spinner = ({ size, duration }) => {
|
|
|
18475
18511
|
}
|
|
18476
18512
|
`
|
|
18477
18513
|
}),
|
|
18478
|
-
/* @__PURE__ */
|
|
18514
|
+
/* @__PURE__ */ jsx67("svg", {
|
|
18479
18515
|
style: style2,
|
|
18480
18516
|
viewBox: `0 0 ${viewBox} ${viewBox}`,
|
|
18481
18517
|
children: new Array(lines).fill(true).map((_, index) => {
|
|
18482
|
-
return /* @__PURE__ */
|
|
18518
|
+
return /* @__PURE__ */ jsx67("path", {
|
|
18483
18519
|
className: className2,
|
|
18484
18520
|
style: {
|
|
18485
18521
|
rotate: `${index * Math.PI * 2 / lines}rad`,
|
|
@@ -18496,7 +18532,7 @@ var Spinner = ({ size, duration }) => {
|
|
|
18496
18532
|
};
|
|
18497
18533
|
|
|
18498
18534
|
// src/components/homepage/Demo/DemoRender.tsx
|
|
18499
|
-
import { jsx as
|
|
18535
|
+
import { jsx as jsx68 } from "react/jsx-runtime";
|
|
18500
18536
|
var countryPath = z.object({
|
|
18501
18537
|
d: z.string(),
|
|
18502
18538
|
class: z.string()
|
|
@@ -18577,24 +18613,24 @@ var RenderButton = ({ renderData, onError }) => {
|
|
|
18577
18613
|
onError();
|
|
18578
18614
|
}
|
|
18579
18615
|
}, [onError, renderData]);
|
|
18580
|
-
return /* @__PURE__ */
|
|
18616
|
+
return /* @__PURE__ */ jsx68("button", {
|
|
18581
18617
|
type: "button",
|
|
18582
18618
|
onClick: triggerRender,
|
|
18583
18619
|
style: style2,
|
|
18584
18620
|
disabled: !renderData || state.type !== "idle",
|
|
18585
|
-
children: state.type === "error" ? /* @__PURE__ */
|
|
18621
|
+
children: state.type === "error" ? /* @__PURE__ */ jsx68(DemoErrorIcon, {}) : state.type === "done" ? /* @__PURE__ */ jsx68(DoneCheckmark, {}) : state.type === "progress" ? /* @__PURE__ */ jsx68(Progress, {
|
|
18586
18622
|
progress: state.progress
|
|
18587
|
-
}) : state.type === "invoking" ? /* @__PURE__ */
|
|
18623
|
+
}) : state.type === "invoking" ? /* @__PURE__ */ jsx68(Spinner, {
|
|
18588
18624
|
size: 20,
|
|
18589
18625
|
duration: 1
|
|
18590
|
-
}) : /* @__PURE__ */
|
|
18626
|
+
}) : /* @__PURE__ */ jsx68("svg", {
|
|
18591
18627
|
style: {
|
|
18592
18628
|
width: 18,
|
|
18593
18629
|
opacity: renderData ? 1 : 0.5
|
|
18594
18630
|
},
|
|
18595
18631
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18596
18632
|
viewBox: "0 0 384 512",
|
|
18597
|
-
children: /* @__PURE__ */
|
|
18633
|
+
children: /* @__PURE__ */ jsx68("path", {
|
|
18598
18634
|
fill: PALETTE.TEXT_COLOR,
|
|
18599
18635
|
d: "M214.6 342.6L192 365.3l-22.6-22.6-128-128L18.7 192 64 146.7l22.6 22.6L160 242.7 160 64l0-32 64 0 0 32 0 178.7 73.4-73.4L320 146.7 365.3 192l-22.6 22.6-128 128zM32 416l320 0 32 0 0 64-32 0L32 480 0 480l0-64 32 0z"
|
|
18600
18636
|
})
|
|
@@ -18603,18 +18639,18 @@ var RenderButton = ({ renderData, onError }) => {
|
|
|
18603
18639
|
};
|
|
18604
18640
|
|
|
18605
18641
|
// src/components/homepage/Demo/DownloadNudge.tsx
|
|
18606
|
-
import { jsx as
|
|
18642
|
+
import { jsx as jsx69, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
18607
18643
|
var origWidth = 77;
|
|
18608
18644
|
var scale = 0.4;
|
|
18609
18645
|
var Icon = () => {
|
|
18610
|
-
return /* @__PURE__ */
|
|
18646
|
+
return /* @__PURE__ */ jsx69("svg", {
|
|
18611
18647
|
style: {
|
|
18612
18648
|
width: origWidth * scale
|
|
18613
18649
|
},
|
|
18614
18650
|
viewBox: "0 0 77 160",
|
|
18615
18651
|
fill: "none",
|
|
18616
18652
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18617
|
-
children: /* @__PURE__ */
|
|
18653
|
+
children: /* @__PURE__ */ jsx69("path", {
|
|
18618
18654
|
d: "M5 154.5C51 121 79 81 69 5",
|
|
18619
18655
|
stroke: "currentColor",
|
|
18620
18656
|
strokeWidth: "8",
|
|
@@ -18623,7 +18659,7 @@ var Icon = () => {
|
|
|
18623
18659
|
});
|
|
18624
18660
|
};
|
|
18625
18661
|
var DownloadNudge = () => {
|
|
18626
|
-
return /* @__PURE__ */
|
|
18662
|
+
return /* @__PURE__ */ jsx69("div", {
|
|
18627
18663
|
style: {
|
|
18628
18664
|
position: "relative",
|
|
18629
18665
|
flexDirection: "row",
|
|
@@ -18635,7 +18671,7 @@ var DownloadNudge = () => {
|
|
|
18635
18671
|
},
|
|
18636
18672
|
children: /* @__PURE__ */ jsxs27("div", {
|
|
18637
18673
|
children: [
|
|
18638
|
-
/* @__PURE__ */
|
|
18674
|
+
/* @__PURE__ */ jsx69(Icon, {}),
|
|
18639
18675
|
/* @__PURE__ */ jsxs27("div", {
|
|
18640
18676
|
style: {
|
|
18641
18677
|
fontFamily: FONTS.GTPLANAR,
|
|
@@ -18647,9 +18683,9 @@ var DownloadNudge = () => {
|
|
|
18647
18683
|
},
|
|
18648
18684
|
children: [
|
|
18649
18685
|
"Export the video using",
|
|
18650
|
-
/* @__PURE__ */
|
|
18686
|
+
/* @__PURE__ */ jsx69("br", {}),
|
|
18651
18687
|
" ",
|
|
18652
|
-
/* @__PURE__ */
|
|
18688
|
+
/* @__PURE__ */ jsx69("a", {
|
|
18653
18689
|
href: "/lambda",
|
|
18654
18690
|
className: "bluelink",
|
|
18655
18691
|
children: "Remotion Lambda"
|
|
@@ -18663,18 +18699,18 @@ var DownloadNudge = () => {
|
|
|
18663
18699
|
};
|
|
18664
18700
|
|
|
18665
18701
|
// src/components/homepage/Demo/DragAndDropNudge.tsx
|
|
18666
|
-
import { jsx as
|
|
18702
|
+
import { jsx as jsx70, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
18667
18703
|
var origWidth2 = 37;
|
|
18668
18704
|
var scale2 = 0.4;
|
|
18669
18705
|
var Icon2 = () => {
|
|
18670
|
-
return /* @__PURE__ */
|
|
18706
|
+
return /* @__PURE__ */ jsx70("svg", {
|
|
18671
18707
|
style: {
|
|
18672
18708
|
width: origWidth2 * scale2,
|
|
18673
18709
|
overflow: "visible"
|
|
18674
18710
|
},
|
|
18675
18711
|
viewBox: "0 0 37 59",
|
|
18676
18712
|
fill: "none",
|
|
18677
|
-
children: /* @__PURE__ */
|
|
18713
|
+
children: /* @__PURE__ */ jsx70("path", {
|
|
18678
18714
|
d: "M5.00003 5C5.00002 36.5 16 44 32.0002 54",
|
|
18679
18715
|
stroke: PALETTE.TEXT_COLOR,
|
|
18680
18716
|
strokeWidth: "8",
|
|
@@ -18683,7 +18719,7 @@ var Icon2 = () => {
|
|
|
18683
18719
|
});
|
|
18684
18720
|
};
|
|
18685
18721
|
var DragAndDropNudge = () => {
|
|
18686
|
-
return /* @__PURE__ */
|
|
18722
|
+
return /* @__PURE__ */ jsx70("div", {
|
|
18687
18723
|
style: {
|
|
18688
18724
|
position: "absolute",
|
|
18689
18725
|
flexDirection: "row",
|
|
@@ -18695,7 +18731,7 @@ var DragAndDropNudge = () => {
|
|
|
18695
18731
|
className: "ml-4 lg:-ml-5",
|
|
18696
18732
|
children: /* @__PURE__ */ jsxs28("div", {
|
|
18697
18733
|
children: [
|
|
18698
|
-
/* @__PURE__ */
|
|
18734
|
+
/* @__PURE__ */ jsx70("div", {
|
|
18699
18735
|
style: {
|
|
18700
18736
|
fontFamily: FONTS.GTPLANAR,
|
|
18701
18737
|
fontSize: 15,
|
|
@@ -18706,7 +18742,7 @@ var DragAndDropNudge = () => {
|
|
|
18706
18742
|
className: "-ml-3 lg:-ml-5",
|
|
18707
18743
|
children: "Drag and drop the cards to reorder them."
|
|
18708
18744
|
}),
|
|
18709
|
-
/* @__PURE__ */
|
|
18745
|
+
/* @__PURE__ */ jsx70(Icon2, {})
|
|
18710
18746
|
]
|
|
18711
18747
|
})
|
|
18712
18748
|
});
|
|
@@ -18714,13 +18750,13 @@ var DragAndDropNudge = () => {
|
|
|
18714
18750
|
|
|
18715
18751
|
// src/components/homepage/Demo/PlayerSeekBar.tsx
|
|
18716
18752
|
init_esm();
|
|
18717
|
-
import { useCallback as useCallback30, useEffect as useEffect33, useMemo as
|
|
18753
|
+
import { useCallback as useCallback30, useEffect as useEffect33, useMemo as useMemo41, useRef as useRef26, useState as useState30 } from "react";
|
|
18718
18754
|
|
|
18719
18755
|
// src/components/homepage/layout/use-el-size.ts
|
|
18720
|
-
import { useCallback as useCallback29, useEffect as useEffect31, useMemo as
|
|
18756
|
+
import { useCallback as useCallback29, useEffect as useEffect31, useMemo as useMemo40, useState as useState29 } from "react";
|
|
18721
18757
|
var useElementSize2 = (ref) => {
|
|
18722
18758
|
const [size, setSize] = useState29(null);
|
|
18723
|
-
const observer =
|
|
18759
|
+
const observer = useMemo40(() => {
|
|
18724
18760
|
if (typeof ResizeObserver === "undefined") {
|
|
18725
18761
|
return;
|
|
18726
18762
|
}
|
|
@@ -18759,7 +18795,7 @@ var useElementSize2 = (ref) => {
|
|
|
18759
18795
|
};
|
|
18760
18796
|
|
|
18761
18797
|
// src/components/homepage/Demo/PlayerSeekBar.tsx
|
|
18762
|
-
import { jsx as
|
|
18798
|
+
import { jsx as jsx71, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
18763
18799
|
var getFrameFromX2 = (clientX, durationInFrames, width2) => {
|
|
18764
18800
|
const pos = clientX;
|
|
18765
18801
|
const frame = Math.round(interpolate(pos, [0, width2], [0, durationInFrames - 1], {
|
|
@@ -18934,7 +18970,7 @@ var PlayerSeekBar2 = ({
|
|
|
18934
18970
|
body.removeEventListener("pointerup", onPointerUp);
|
|
18935
18971
|
};
|
|
18936
18972
|
}, [dragging.dragging, onPointerMove, onPointerUp]);
|
|
18937
|
-
const knobStyle =
|
|
18973
|
+
const knobStyle = useMemo41(() => {
|
|
18938
18974
|
return {
|
|
18939
18975
|
height: KNOB_SIZE3,
|
|
18940
18976
|
width: KNOB_SIZE3,
|
|
@@ -18948,7 +18984,7 @@ var PlayerSeekBar2 = ({
|
|
|
18948
18984
|
transition: "opacity 0.s ease"
|
|
18949
18985
|
};
|
|
18950
18986
|
}, [barHovered, durationInFrames, frame, width2]);
|
|
18951
|
-
const fillStyle =
|
|
18987
|
+
const fillStyle = useMemo41(() => {
|
|
18952
18988
|
return {
|
|
18953
18989
|
height: BAR_HEIGHT3,
|
|
18954
18990
|
backgroundColor: "var(--ifm-font-color-base)",
|
|
@@ -18957,7 +18993,7 @@ var PlayerSeekBar2 = ({
|
|
|
18957
18993
|
borderRadius: BAR_HEIGHT3 / 2
|
|
18958
18994
|
};
|
|
18959
18995
|
}, [durationInFrames, frame, inFrame]);
|
|
18960
|
-
const active =
|
|
18996
|
+
const active = useMemo41(() => {
|
|
18961
18997
|
return {
|
|
18962
18998
|
height: BAR_HEIGHT3,
|
|
18963
18999
|
backgroundColor: "var(--ifm-font-color-base)",
|
|
@@ -18976,15 +19012,15 @@ var PlayerSeekBar2 = ({
|
|
|
18976
19012
|
/* @__PURE__ */ jsxs29("div", {
|
|
18977
19013
|
style: barBackground2,
|
|
18978
19014
|
children: [
|
|
18979
|
-
/* @__PURE__ */
|
|
19015
|
+
/* @__PURE__ */ jsx71("div", {
|
|
18980
19016
|
style: active
|
|
18981
19017
|
}),
|
|
18982
|
-
/* @__PURE__ */
|
|
19018
|
+
/* @__PURE__ */ jsx71("div", {
|
|
18983
19019
|
style: fillStyle
|
|
18984
19020
|
})
|
|
18985
19021
|
]
|
|
18986
19022
|
}),
|
|
18987
|
-
/* @__PURE__ */
|
|
19023
|
+
/* @__PURE__ */ jsx71("div", {
|
|
18988
19024
|
style: knobStyle
|
|
18989
19025
|
})
|
|
18990
19026
|
]
|
|
@@ -18995,9 +19031,9 @@ var PlayerSeekBar2 = ({
|
|
|
18995
19031
|
import { useCallback as useCallback31, useEffect as useEffect35, useRef as useRef27, useState as useState31 } from "react";
|
|
18996
19032
|
|
|
18997
19033
|
// src/components/homepage/Demo/icons.tsx
|
|
18998
|
-
import { jsx as
|
|
19034
|
+
import { jsx as jsx75 } from "react/jsx-runtime";
|
|
18999
19035
|
var PausedIcon = (props) => {
|
|
19000
|
-
return /* @__PURE__ */
|
|
19036
|
+
return /* @__PURE__ */ jsx75("svg", {
|
|
19001
19037
|
"aria-hidden": "true",
|
|
19002
19038
|
focusable: "false",
|
|
19003
19039
|
"data-prefix": "fas",
|
|
@@ -19007,48 +19043,48 @@ var PausedIcon = (props) => {
|
|
|
19007
19043
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19008
19044
|
viewBox: "0 0 480 512",
|
|
19009
19045
|
...props,
|
|
19010
|
-
children: /* @__PURE__ */
|
|
19046
|
+
children: /* @__PURE__ */ jsx75("path", {
|
|
19011
19047
|
fill: "currentColor",
|
|
19012
19048
|
d: "M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"
|
|
19013
19049
|
})
|
|
19014
19050
|
});
|
|
19015
19051
|
};
|
|
19016
19052
|
var PlayingIcon = (props) => {
|
|
19017
|
-
return /* @__PURE__ */
|
|
19053
|
+
return /* @__PURE__ */ jsx75("svg", {
|
|
19018
19054
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19019
19055
|
viewBox: "0 0 400 512",
|
|
19020
19056
|
fill: "currentColor",
|
|
19021
19057
|
...props,
|
|
19022
|
-
children: /* @__PURE__ */
|
|
19058
|
+
children: /* @__PURE__ */ jsx75("path", {
|
|
19023
19059
|
d: "M48 64C21.5 64 0 85.5 0 112L0 400c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48L48 64zm192 0c-26.5 0-48 21.5-48 48l0 288c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48l-32 0z"
|
|
19024
19060
|
})
|
|
19025
19061
|
});
|
|
19026
19062
|
};
|
|
19027
19063
|
var NotMutedIcon = (props) => {
|
|
19028
|
-
return /* @__PURE__ */
|
|
19064
|
+
return /* @__PURE__ */ jsx75("svg", {
|
|
19029
19065
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19030
19066
|
...props,
|
|
19031
19067
|
viewBox: "0 0 640 512",
|
|
19032
19068
|
fill: "currentColor",
|
|
19033
|
-
children: /* @__PURE__ */
|
|
19069
|
+
children: /* @__PURE__ */ jsx75("path", {
|
|
19034
19070
|
d: "M32 160l0 192 128 0L304 480l48 0 0-448-48 0L160 160 32 160zM441.6 332.8C464.9 315.3 480 287.4 480 256s-15.1-59.3-38.4-76.8l-28.8 38.4c11.7 8.8 19.2 22.7 19.2 38.4s-7.5 29.6-19.2 38.4l28.8 38.4zm57.6 76.8c46.6-35 76.8-90.8 76.8-153.6s-30.2-118.6-76.8-153.6l-28.8 38.4c35 26.3 57.6 68.1 57.6 115.2s-22.6 88.9-57.6 115.2l28.8 38.4z"
|
|
19035
19071
|
})
|
|
19036
19072
|
});
|
|
19037
19073
|
};
|
|
19038
19074
|
var IsMutedIcon = (props) => {
|
|
19039
|
-
return /* @__PURE__ */
|
|
19075
|
+
return /* @__PURE__ */ jsx75("svg", {
|
|
19040
19076
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19041
19077
|
...props,
|
|
19042
19078
|
viewBox: "0 0 640 512",
|
|
19043
19079
|
fill: RED,
|
|
19044
|
-
children: /* @__PURE__ */
|
|
19080
|
+
children: /* @__PURE__ */ jsx75("path", {
|
|
19045
19081
|
d: "M48.4 14.8L29.4 .1 0 38l19 14.7L591.5 497.2l19 14.7L639.9 474l-19-14.7-95.1-73.8C557 351.3 576 305.9 576 256c0-62.8-30.2-118.6-76.8-153.6l-28.8 38.4c35 26.3 57.6 68.1 57.6 115.2c0 38.8-15.3 74-40.3 99.9l-38.2-29.7C468.3 308.7 480 283.7 480 256c0-31.4-15.1-59.3-38.4-76.8l-28.8 38.4c11.7 8.8 19.2 22.7 19.2 38.4s-7.5 29.6-19.2 38.4l5.9 7.9L352 250.5 352 32l-48 0L195.2 128.7 48.4 14.8zM352 373.3L81.2 160 32 160l0 192 128 0L304 480l48 0 0-106.7z"
|
|
19046
19082
|
})
|
|
19047
19083
|
});
|
|
19048
19084
|
};
|
|
19049
19085
|
|
|
19050
19086
|
// src/components/homepage/Demo/PlayerVolume.tsx
|
|
19051
|
-
import { jsx as
|
|
19087
|
+
import { jsx as jsx77 } from "react/jsx-runtime";
|
|
19052
19088
|
var PlayerVolume = ({ playerRef }) => {
|
|
19053
19089
|
const [muted, setIsMuted] = useState31(() => playerRef.current?.isMuted() ?? true);
|
|
19054
19090
|
const [isHovered, setIsHovered] = useState31(false);
|
|
@@ -19084,10 +19120,10 @@ var PlayerVolume = ({ playerRef }) => {
|
|
|
19084
19120
|
playerRef.current.mute();
|
|
19085
19121
|
}
|
|
19086
19122
|
}, [playerRef]);
|
|
19087
|
-
return /* @__PURE__ */
|
|
19123
|
+
return /* @__PURE__ */ jsx77("div", {
|
|
19088
19124
|
className: "relative cursor-pointer block pl-4 pr-4 h-full",
|
|
19089
19125
|
onMouseEnter: () => setIsHovered(true),
|
|
19090
|
-
children: /* @__PURE__ */
|
|
19126
|
+
children: /* @__PURE__ */ jsx77("button", {
|
|
19091
19127
|
type: "button",
|
|
19092
19128
|
onClick,
|
|
19093
19129
|
style: {
|
|
@@ -19101,9 +19137,9 @@ var PlayerVolume = ({ playerRef }) => {
|
|
|
19101
19137
|
alignItems: "center",
|
|
19102
19138
|
color: PALETTE.TEXT_COLOR
|
|
19103
19139
|
},
|
|
19104
|
-
children: muted ? /* @__PURE__ */
|
|
19140
|
+
children: muted ? /* @__PURE__ */ jsx77(IsMutedIcon, {
|
|
19105
19141
|
style: { height: 20 }
|
|
19106
|
-
}) : /* @__PURE__ */
|
|
19142
|
+
}) : /* @__PURE__ */ jsx77(NotMutedIcon, {
|
|
19107
19143
|
style: { height: 20 }
|
|
19108
19144
|
})
|
|
19109
19145
|
})
|
|
@@ -19112,7 +19148,7 @@ var PlayerVolume = ({ playerRef }) => {
|
|
|
19112
19148
|
|
|
19113
19149
|
// src/components/homepage/Demo/PlayPauseButton.tsx
|
|
19114
19150
|
import React40, { useCallback as useCallback33, useEffect as useEffect36 } from "react";
|
|
19115
|
-
import { jsx as
|
|
19151
|
+
import { jsx as jsx78 } from "react/jsx-runtime";
|
|
19116
19152
|
var playerButtonStyle2 = {
|
|
19117
19153
|
appearance: "none",
|
|
19118
19154
|
border: "none",
|
|
@@ -19153,13 +19189,13 @@ var PlayPauseButton = ({ playerRef }) => {
|
|
|
19153
19189
|
const playPauseIconStyle = {
|
|
19154
19190
|
width: 15
|
|
19155
19191
|
};
|
|
19156
|
-
return /* @__PURE__ */
|
|
19192
|
+
return /* @__PURE__ */ jsx78("button", {
|
|
19157
19193
|
type: "button",
|
|
19158
19194
|
style: playerButtonStyle2,
|
|
19159
19195
|
onClick: onToggle,
|
|
19160
|
-
children: playing ? /* @__PURE__ */
|
|
19196
|
+
children: playing ? /* @__PURE__ */ jsx78(PlayingIcon, {
|
|
19161
19197
|
style: playPauseIconStyle
|
|
19162
|
-
}) : /* @__PURE__ */
|
|
19198
|
+
}) : /* @__PURE__ */ jsx78(PausedIcon, {
|
|
19163
19199
|
style: playPauseIconStyle
|
|
19164
19200
|
})
|
|
19165
19201
|
});
|
|
@@ -19167,7 +19203,7 @@ var PlayPauseButton = ({ playerRef }) => {
|
|
|
19167
19203
|
|
|
19168
19204
|
// src/components/homepage/Demo/TimeDisplay.tsx
|
|
19169
19205
|
import React41, { useEffect as useEffect37 } from "react";
|
|
19170
|
-
import { jsx as
|
|
19206
|
+
import { jsx as jsx79 } from "react/jsx-runtime";
|
|
19171
19207
|
var formatTime2 = (timeInSeconds) => {
|
|
19172
19208
|
const minutes = Math.floor(timeInSeconds / 60);
|
|
19173
19209
|
const seconds = Math.floor(timeInSeconds - minutes * 60);
|
|
@@ -19188,21 +19224,21 @@ var TimeDisplay = ({ fps, playerRef }) => {
|
|
|
19188
19224
|
current.removeEventListener("frameupdate", onTimeUpdate);
|
|
19189
19225
|
};
|
|
19190
19226
|
}, [playerRef]);
|
|
19191
|
-
return /* @__PURE__ */
|
|
19227
|
+
return /* @__PURE__ */ jsx79("div", {
|
|
19192
19228
|
style: {
|
|
19193
19229
|
fontSize: 16,
|
|
19194
19230
|
fontVariantNumeric: "tabular-nums"
|
|
19195
19231
|
},
|
|
19196
|
-
children: /* @__PURE__ */
|
|
19232
|
+
children: /* @__PURE__ */ jsx79("span", {
|
|
19197
19233
|
children: formatTime2(time / fps)
|
|
19198
19234
|
})
|
|
19199
19235
|
});
|
|
19200
19236
|
};
|
|
19201
19237
|
|
|
19202
19238
|
// src/components/homepage/Demo/PlayerControls.tsx
|
|
19203
|
-
import { jsx as
|
|
19239
|
+
import { jsx as jsx80, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
19204
19240
|
var Separator = () => {
|
|
19205
|
-
return /* @__PURE__ */
|
|
19241
|
+
return /* @__PURE__ */ jsx80("div", {
|
|
19206
19242
|
style: {
|
|
19207
19243
|
borderRight: `2px solid ${PALETTE.BOX_STROKE}`,
|
|
19208
19244
|
height: 50
|
|
@@ -19213,25 +19249,25 @@ var PlayerControls = ({ playerRef, durationInFrames, fps, children }) => {
|
|
|
19213
19249
|
return /* @__PURE__ */ jsxs30("div", {
|
|
19214
19250
|
className: "flex flex-row items-center bg-pane",
|
|
19215
19251
|
children: [
|
|
19216
|
-
/* @__PURE__ */
|
|
19252
|
+
/* @__PURE__ */ jsx80(PlayPauseButton, {
|
|
19217
19253
|
playerRef
|
|
19218
19254
|
}),
|
|
19219
|
-
/* @__PURE__ */
|
|
19220
|
-
/* @__PURE__ */
|
|
19255
|
+
/* @__PURE__ */ jsx80(Separator, {}),
|
|
19256
|
+
/* @__PURE__ */ jsx80(PlayerVolume, {
|
|
19221
19257
|
playerRef
|
|
19222
19258
|
}),
|
|
19223
|
-
/* @__PURE__ */
|
|
19224
|
-
/* @__PURE__ */
|
|
19259
|
+
/* @__PURE__ */ jsx80(Separator, {}),
|
|
19260
|
+
/* @__PURE__ */ jsx80("div", {
|
|
19225
19261
|
style: { width: 15 }
|
|
19226
19262
|
}),
|
|
19227
|
-
/* @__PURE__ */
|
|
19263
|
+
/* @__PURE__ */ jsx80(TimeDisplay, {
|
|
19228
19264
|
playerRef,
|
|
19229
19265
|
fps
|
|
19230
19266
|
}),
|
|
19231
|
-
/* @__PURE__ */
|
|
19267
|
+
/* @__PURE__ */ jsx80("div", {
|
|
19232
19268
|
style: { width: 15 }
|
|
19233
19269
|
}),
|
|
19234
|
-
/* @__PURE__ */
|
|
19270
|
+
/* @__PURE__ */ jsx80(PlayerSeekBar2, {
|
|
19235
19271
|
durationInFrames,
|
|
19236
19272
|
playerRef,
|
|
19237
19273
|
inFrame: null,
|
|
@@ -19243,10 +19279,10 @@ var PlayerControls = ({ playerRef, durationInFrames, fps, children }) => {
|
|
|
19243
19279
|
return;
|
|
19244
19280
|
}
|
|
19245
19281
|
}),
|
|
19246
|
-
/* @__PURE__ */
|
|
19282
|
+
/* @__PURE__ */ jsx80("div", {
|
|
19247
19283
|
style: { width: 20 }
|
|
19248
19284
|
}),
|
|
19249
|
-
/* @__PURE__ */
|
|
19285
|
+
/* @__PURE__ */ jsx80(Separator, {}),
|
|
19250
19286
|
children
|
|
19251
19287
|
]
|
|
19252
19288
|
});
|
|
@@ -19254,18 +19290,18 @@ var PlayerControls = ({ playerRef, durationInFrames, fps, children }) => {
|
|
|
19254
19290
|
|
|
19255
19291
|
// src/components/homepage/Demo/ThemeNudge.tsx
|
|
19256
19292
|
import React43 from "react";
|
|
19257
|
-
import { jsx as
|
|
19293
|
+
import { jsx as jsx81, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
19258
19294
|
var origWidth3 = 21;
|
|
19259
19295
|
var scale3 = 0.4;
|
|
19260
19296
|
var Icon3 = () => {
|
|
19261
|
-
return /* @__PURE__ */
|
|
19297
|
+
return /* @__PURE__ */ jsx81("svg", {
|
|
19262
19298
|
style: {
|
|
19263
19299
|
width: origWidth3 * scale3
|
|
19264
19300
|
},
|
|
19265
19301
|
viewBox: "0 0 21 161",
|
|
19266
19302
|
fill: "none",
|
|
19267
19303
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19268
|
-
children: /* @__PURE__ */
|
|
19304
|
+
children: /* @__PURE__ */ jsx81("path", {
|
|
19269
19305
|
d: "M5 5C23 59.5 14.5 120.5 5.00005 156",
|
|
19270
19306
|
stroke: "currentColor",
|
|
19271
19307
|
strokeWidth: "8",
|
|
@@ -19279,7 +19315,7 @@ var ThemeNudge = () => {
|
|
|
19279
19315
|
e.preventDefault();
|
|
19280
19316
|
setColorMode(colorMode === "dark" ? "light" : "dark");
|
|
19281
19317
|
}, [colorMode, setColorMode]);
|
|
19282
|
-
return /* @__PURE__ */
|
|
19318
|
+
return /* @__PURE__ */ jsx81("div", {
|
|
19283
19319
|
style: {
|
|
19284
19320
|
flexDirection: "row",
|
|
19285
19321
|
display: "flex",
|
|
@@ -19317,14 +19353,14 @@ var ThemeNudge = () => {
|
|
|
19317
19353
|
" "
|
|
19318
19354
|
]
|
|
19319
19355
|
}),
|
|
19320
|
-
/* @__PURE__ */
|
|
19356
|
+
/* @__PURE__ */ jsx81(Icon3, {})
|
|
19321
19357
|
]
|
|
19322
19358
|
})
|
|
19323
19359
|
});
|
|
19324
19360
|
};
|
|
19325
19361
|
|
|
19326
19362
|
// src/components/homepage/Demo/index.tsx
|
|
19327
|
-
import { jsx as
|
|
19363
|
+
import { jsx as jsx85, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
19328
19364
|
var style3 = {
|
|
19329
19365
|
width: "100%",
|
|
19330
19366
|
aspectRatio: "640 / 360",
|
|
@@ -19370,7 +19406,7 @@ var Demo = () => {
|
|
|
19370
19406
|
const updateCardOrder = useCallback35((newCardOrder) => {
|
|
19371
19407
|
setCardOrder(newCardOrder);
|
|
19372
19408
|
}, []);
|
|
19373
|
-
const props =
|
|
19409
|
+
const props = useMemo43(() => {
|
|
19374
19410
|
return {
|
|
19375
19411
|
theme: colorMode,
|
|
19376
19412
|
onToggle: () => {
|
|
@@ -19394,22 +19430,22 @@ var Demo = () => {
|
|
|
19394
19430
|
}, []);
|
|
19395
19431
|
return /* @__PURE__ */ jsxs33("div", {
|
|
19396
19432
|
children: [
|
|
19397
|
-
/* @__PURE__ */
|
|
19398
|
-
/* @__PURE__ */
|
|
19399
|
-
/* @__PURE__ */
|
|
19433
|
+
/* @__PURE__ */ jsx85("br", {}),
|
|
19434
|
+
/* @__PURE__ */ jsx85("br", {}),
|
|
19435
|
+
/* @__PURE__ */ jsx85(SectionTitle, {
|
|
19400
19436
|
children: "Demo"
|
|
19401
19437
|
}),
|
|
19402
19438
|
/* @__PURE__ */ jsxs33("div", {
|
|
19403
19439
|
style: { height: 140, position: "relative" },
|
|
19404
19440
|
children: [
|
|
19405
|
-
/* @__PURE__ */
|
|
19406
|
-
/* @__PURE__ */
|
|
19441
|
+
/* @__PURE__ */ jsx85(DragAndDropNudge, {}),
|
|
19442
|
+
/* @__PURE__ */ jsx85(ThemeNudge, {})
|
|
19407
19443
|
]
|
|
19408
19444
|
}),
|
|
19409
19445
|
/* @__PURE__ */ jsxs33("div", {
|
|
19410
19446
|
style: playerWrapper,
|
|
19411
19447
|
children: [
|
|
19412
|
-
/* @__PURE__ */
|
|
19448
|
+
/* @__PURE__ */ jsx85(Player, {
|
|
19413
19449
|
ref,
|
|
19414
19450
|
component: HomepageVideoComp,
|
|
19415
19451
|
compositionWidth: 640,
|
|
@@ -19424,11 +19460,11 @@ var Demo = () => {
|
|
|
19424
19460
|
inputProps: props,
|
|
19425
19461
|
loop: true
|
|
19426
19462
|
}),
|
|
19427
|
-
/* @__PURE__ */
|
|
19463
|
+
/* @__PURE__ */ jsx85(PlayerControls, {
|
|
19428
19464
|
playerRef: ref,
|
|
19429
19465
|
durationInFrames: 120,
|
|
19430
19466
|
fps: 30,
|
|
19431
|
-
children: /* @__PURE__ */
|
|
19467
|
+
children: /* @__PURE__ */ jsx85(RenderButton, {
|
|
19432
19468
|
onError,
|
|
19433
19469
|
renderData: data2 ? {
|
|
19434
19470
|
cardOrder,
|
|
@@ -19441,18 +19477,18 @@ var Demo = () => {
|
|
|
19441
19477
|
})
|
|
19442
19478
|
]
|
|
19443
19479
|
}),
|
|
19444
|
-
error2 ? /* @__PURE__ */
|
|
19445
|
-
/* @__PURE__ */
|
|
19480
|
+
error2 ? /* @__PURE__ */ jsx85(DemoError, {}) : null,
|
|
19481
|
+
/* @__PURE__ */ jsx85(DownloadNudge, {})
|
|
19446
19482
|
]
|
|
19447
19483
|
});
|
|
19448
19484
|
};
|
|
19449
19485
|
|
|
19450
19486
|
// src/components/homepage/layout/Button.tsx
|
|
19451
|
-
import { jsx as
|
|
19487
|
+
import { jsx as jsx87 } from "react/jsx-runtime";
|
|
19452
19488
|
var Button = (props) => {
|
|
19453
19489
|
const { children, loading, hoverColor, color, size, className: className3, ...other } = props;
|
|
19454
19490
|
const actualDisabled = other.disabled || loading;
|
|
19455
|
-
return /* @__PURE__ */
|
|
19491
|
+
return /* @__PURE__ */ jsx87("button", {
|
|
19456
19492
|
type: "button",
|
|
19457
19493
|
className: cn("text-base rounded-lg font-bold appearance-none border-2 border-solid border-black border-b-4 font-sans flex flex-row items-center justify-center ", className3),
|
|
19458
19494
|
disabled: actualDisabled,
|
|
@@ -19469,21 +19505,21 @@ var Button = (props) => {
|
|
|
19469
19505
|
});
|
|
19470
19506
|
};
|
|
19471
19507
|
var BlueButton = (props) => {
|
|
19472
|
-
return /* @__PURE__ */
|
|
19508
|
+
return /* @__PURE__ */ jsx87(Button, {
|
|
19473
19509
|
...props,
|
|
19474
19510
|
background: "var(--blue-underlay)",
|
|
19475
19511
|
color: "white"
|
|
19476
19512
|
});
|
|
19477
19513
|
};
|
|
19478
19514
|
var PlainButton = (props) => {
|
|
19479
|
-
return /* @__PURE__ */
|
|
19515
|
+
return /* @__PURE__ */ jsx87(Button, {
|
|
19480
19516
|
...props,
|
|
19481
19517
|
background: "var(--plain-button)",
|
|
19482
19518
|
color: "var(--text-color)"
|
|
19483
19519
|
});
|
|
19484
19520
|
};
|
|
19485
19521
|
var ClearButton = (props) => {
|
|
19486
|
-
return /* @__PURE__ */
|
|
19522
|
+
return /* @__PURE__ */ jsx87(Button, {
|
|
19487
19523
|
...props,
|
|
19488
19524
|
background: "transparent",
|
|
19489
19525
|
color: "var(--text-color)",
|
|
@@ -19499,7 +19535,7 @@ import { forwardRef as forwardRef17, useEffect as useEffect40, useImperativeHand
|
|
|
19499
19535
|
import Hls from "hls.js";
|
|
19500
19536
|
import"plyr/dist/plyr.css";
|
|
19501
19537
|
import { forwardRef as forwardRef16, useCallback as useCallback36, useEffect as useEffect39, useRef as useRef29, useState as useState35 } from "react";
|
|
19502
|
-
import { jsx as
|
|
19538
|
+
import { jsx as jsx88 } from "react/jsx-runtime";
|
|
19503
19539
|
var useCombinedRefs = function(...refs) {
|
|
19504
19540
|
const targetRef = useRef29(null);
|
|
19505
19541
|
useEffect39(() => {
|
|
@@ -19585,9 +19621,9 @@ var VideoPlayerWithControls = forwardRef16(({ playbackId, poster, currentTime, o
|
|
|
19585
19621
|
video.currentTime = currentTime;
|
|
19586
19622
|
}
|
|
19587
19623
|
}, [currentTime]);
|
|
19588
|
-
return /* @__PURE__ */
|
|
19624
|
+
return /* @__PURE__ */ jsx88("div", {
|
|
19589
19625
|
className: "video-container",
|
|
19590
|
-
children: /* @__PURE__ */
|
|
19626
|
+
children: /* @__PURE__ */ jsx88("video", {
|
|
19591
19627
|
ref: metaRef,
|
|
19592
19628
|
autoPlay,
|
|
19593
19629
|
poster,
|
|
@@ -19598,7 +19634,7 @@ var VideoPlayerWithControls = forwardRef16(({ playbackId, poster, currentTime, o
|
|
|
19598
19634
|
});
|
|
19599
19635
|
|
|
19600
19636
|
// src/components/homepage/MuxVideo.tsx
|
|
19601
|
-
import { jsx as
|
|
19637
|
+
import { jsx as jsx89 } from "react/jsx-runtime";
|
|
19602
19638
|
var getVideoToPlayUrl = (muxId) => {
|
|
19603
19639
|
return `https://stream.mux.com/${muxId}.m3u8`;
|
|
19604
19640
|
};
|
|
@@ -19626,7 +19662,7 @@ var MuxVideoForward = ({ muxId, ...props }, ref) => {
|
|
|
19626
19662
|
}
|
|
19627
19663
|
};
|
|
19628
19664
|
}, [vidUrl, videoRef]);
|
|
19629
|
-
return /* @__PURE__ */
|
|
19665
|
+
return /* @__PURE__ */ jsx89("video", {
|
|
19630
19666
|
ref: videoRef,
|
|
19631
19667
|
...props
|
|
19632
19668
|
});
|
|
@@ -19634,22 +19670,22 @@ var MuxVideoForward = ({ muxId, ...props }, ref) => {
|
|
|
19634
19670
|
var MuxVideo = forwardRef17(MuxVideoForward);
|
|
19635
19671
|
|
|
19636
19672
|
// src/components/homepage/EditorStarterSection.tsx
|
|
19637
|
-
import { jsx as
|
|
19673
|
+
import { jsx as jsx90, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
19638
19674
|
var EditorStarterSection = () => {
|
|
19639
19675
|
return /* @__PURE__ */ jsxs35("div", {
|
|
19640
19676
|
children: [
|
|
19641
|
-
/* @__PURE__ */
|
|
19677
|
+
/* @__PURE__ */ jsx90(SectionTitle, {
|
|
19642
19678
|
children: "Build your own video editor"
|
|
19643
19679
|
}),
|
|
19644
|
-
/* @__PURE__ */
|
|
19645
|
-
/* @__PURE__ */
|
|
19680
|
+
/* @__PURE__ */ jsx90("br", {}),
|
|
19681
|
+
/* @__PURE__ */ jsx90("div", {
|
|
19646
19682
|
className: "card flex p-0 overflow-hidden",
|
|
19647
19683
|
children: /* @__PURE__ */ jsxs35("div", {
|
|
19648
19684
|
className: "flex-1 flex flex-col lg:flex-row justify-center",
|
|
19649
19685
|
children: [
|
|
19650
|
-
/* @__PURE__ */
|
|
19686
|
+
/* @__PURE__ */ jsx90("div", {
|
|
19651
19687
|
className: "w-full max-w-[500px] aspect-square relative overflow-hidden bg-[#eee]",
|
|
19652
|
-
children: /* @__PURE__ */
|
|
19688
|
+
children: /* @__PURE__ */ jsx90(MuxVideo, {
|
|
19653
19689
|
muxId: "YIvIidbcAc7009B00Wr7gIbGyq67YGNlytGvMXwdsLRtc",
|
|
19654
19690
|
className: "absolute left-0 top-0 w-full h-full object-cover object-top rounded-sm rounded-tr-none rounded-br-none",
|
|
19655
19691
|
loop: true,
|
|
@@ -19661,45 +19697,45 @@ var EditorStarterSection = () => {
|
|
|
19661
19697
|
/* @__PURE__ */ jsxs35("div", {
|
|
19662
19698
|
className: "p-6 flex-1 flex flex-col h-full",
|
|
19663
19699
|
children: [
|
|
19664
|
-
/* @__PURE__ */
|
|
19700
|
+
/* @__PURE__ */ jsx90("div", {
|
|
19665
19701
|
className: "text-4xl font-bold fontbrand mt-0",
|
|
19666
19702
|
children: "Editor Starter"
|
|
19667
19703
|
}),
|
|
19668
|
-
/* @__PURE__ */
|
|
19704
|
+
/* @__PURE__ */ jsx90("div", {
|
|
19669
19705
|
className: "text-muted mt-4 text-base fontbrand",
|
|
19670
19706
|
children: "A comprehensive template that includes everything you need to create custom video editing applications with React and TypeScript."
|
|
19671
19707
|
}),
|
|
19672
|
-
/* @__PURE__ */
|
|
19708
|
+
/* @__PURE__ */ jsx90("div", {
|
|
19673
19709
|
className: "h-5"
|
|
19674
19710
|
}),
|
|
19675
19711
|
/* @__PURE__ */ jsxs35("div", {
|
|
19676
19712
|
className: "flex gap-2 items-center",
|
|
19677
19713
|
children: [
|
|
19678
|
-
/* @__PURE__ */
|
|
19714
|
+
/* @__PURE__ */ jsx90("a", {
|
|
19679
19715
|
href: "https://www.remotion.pro/editor-starter?ref=remotion.dev",
|
|
19680
19716
|
target: "_blank",
|
|
19681
19717
|
className: "no-underline",
|
|
19682
|
-
children: /* @__PURE__ */
|
|
19718
|
+
children: /* @__PURE__ */ jsx90(BlueButton, {
|
|
19683
19719
|
size: "sm",
|
|
19684
19720
|
loading: false,
|
|
19685
19721
|
children: "Purchase"
|
|
19686
19722
|
})
|
|
19687
19723
|
}),
|
|
19688
|
-
/* @__PURE__ */
|
|
19724
|
+
/* @__PURE__ */ jsx90("a", {
|
|
19689
19725
|
href: "https://editor-starter.remotion.dev?ref=remotion.dev",
|
|
19690
19726
|
target: "_blank",
|
|
19691
19727
|
className: "no-underline",
|
|
19692
|
-
children: /* @__PURE__ */
|
|
19728
|
+
children: /* @__PURE__ */ jsx90(ClearButton, {
|
|
19693
19729
|
size: "sm",
|
|
19694
19730
|
loading: false,
|
|
19695
19731
|
children: "Demo"
|
|
19696
19732
|
})
|
|
19697
19733
|
}),
|
|
19698
19734
|
" ",
|
|
19699
|
-
/* @__PURE__ */
|
|
19735
|
+
/* @__PURE__ */ jsx90("a", {
|
|
19700
19736
|
href: "https://remotion.dev/editor-starter",
|
|
19701
19737
|
className: "no-underline",
|
|
19702
|
-
children: /* @__PURE__ */
|
|
19738
|
+
children: /* @__PURE__ */ jsx90(ClearButton, {
|
|
19703
19739
|
size: "sm",
|
|
19704
19740
|
loading: false,
|
|
19705
19741
|
children: "Docs"
|
|
@@ -19707,7 +19743,7 @@ var EditorStarterSection = () => {
|
|
|
19707
19743
|
})
|
|
19708
19744
|
]
|
|
19709
19745
|
}),
|
|
19710
|
-
/* @__PURE__ */
|
|
19746
|
+
/* @__PURE__ */ jsx90("br", {})
|
|
19711
19747
|
]
|
|
19712
19748
|
})
|
|
19713
19749
|
]
|
|
@@ -19720,7 +19756,7 @@ var EditorStarterSection_default = EditorStarterSection;
|
|
|
19720
19756
|
|
|
19721
19757
|
// src/components/homepage/EvaluateRemotion.tsx
|
|
19722
19758
|
import { useEffect as useEffect41, useState as useState36 } from "react";
|
|
19723
|
-
import { jsx as
|
|
19759
|
+
import { jsx as jsx91, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
19724
19760
|
var EvaluateRemotionSection = () => {
|
|
19725
19761
|
const [dailyAvatars, setDailyAvatars] = useState36([]);
|
|
19726
19762
|
useEffect41(() => {
|
|
@@ -19756,22 +19792,22 @@ var EvaluateRemotionSection = () => {
|
|
|
19756
19792
|
/* @__PURE__ */ jsxs36("div", {
|
|
19757
19793
|
className: "card flex-1 flex flex-col",
|
|
19758
19794
|
children: [
|
|
19759
|
-
/* @__PURE__ */
|
|
19795
|
+
/* @__PURE__ */ jsx91("div", {
|
|
19760
19796
|
className: "fontbrand text-2xl font-bold",
|
|
19761
19797
|
children: "Evaluate Remotion for your company"
|
|
19762
19798
|
}),
|
|
19763
|
-
/* @__PURE__ */
|
|
19799
|
+
/* @__PURE__ */ jsx91("p", {
|
|
19764
19800
|
className: "text-muted fontbrand leading-snug",
|
|
19765
19801
|
children: "Book a 20 minute call with us to get all your questions answered."
|
|
19766
19802
|
}),
|
|
19767
|
-
/* @__PURE__ */
|
|
19803
|
+
/* @__PURE__ */ jsx91("div", {
|
|
19768
19804
|
className: "flex-1"
|
|
19769
19805
|
}),
|
|
19770
|
-
/* @__PURE__ */
|
|
19806
|
+
/* @__PURE__ */ jsx91("a", {
|
|
19771
19807
|
target: "_blank",
|
|
19772
19808
|
href: "https://cal.com/remotion/evaluate",
|
|
19773
19809
|
style: { textDecoration: "none" },
|
|
19774
|
-
children: /* @__PURE__ */
|
|
19810
|
+
children: /* @__PURE__ */ jsx91(BlueButton, {
|
|
19775
19811
|
size: "sm",
|
|
19776
19812
|
loading: false,
|
|
19777
19813
|
children: "Schedule a call"
|
|
@@ -19782,32 +19818,32 @@ var EvaluateRemotionSection = () => {
|
|
|
19782
19818
|
/* @__PURE__ */ jsxs36("div", {
|
|
19783
19819
|
className: "card flex-1 flex flex-col",
|
|
19784
19820
|
children: [
|
|
19785
|
-
/* @__PURE__ */
|
|
19821
|
+
/* @__PURE__ */ jsx91("div", {
|
|
19786
19822
|
className: "fontbrand text-2xl font-bold",
|
|
19787
19823
|
children: "Get help for your projects"
|
|
19788
19824
|
}),
|
|
19789
|
-
/* @__PURE__ */
|
|
19825
|
+
/* @__PURE__ */ jsx91("p", {
|
|
19790
19826
|
className: "text-muted fontbrand leading-snug",
|
|
19791
19827
|
children: "Contact our experts for help and work."
|
|
19792
19828
|
}),
|
|
19793
|
-
/* @__PURE__ */
|
|
19829
|
+
/* @__PURE__ */ jsx91("div", {
|
|
19794
19830
|
className: "flex-1"
|
|
19795
19831
|
}),
|
|
19796
19832
|
/* @__PURE__ */ jsxs36("div", {
|
|
19797
19833
|
className: "flex flex-row justify-between",
|
|
19798
19834
|
children: [
|
|
19799
|
-
/* @__PURE__ */
|
|
19835
|
+
/* @__PURE__ */ jsx91("a", {
|
|
19800
19836
|
href: "/experts",
|
|
19801
19837
|
style: { textDecoration: "none" },
|
|
19802
|
-
children: /* @__PURE__ */
|
|
19838
|
+
children: /* @__PURE__ */ jsx91(BlueButton, {
|
|
19803
19839
|
size: "sm",
|
|
19804
19840
|
loading: false,
|
|
19805
19841
|
children: "Remotion Experts"
|
|
19806
19842
|
})
|
|
19807
19843
|
}),
|
|
19808
|
-
/* @__PURE__ */
|
|
19844
|
+
/* @__PURE__ */ jsx91("div", {
|
|
19809
19845
|
className: "flex justify-end items-end gap-3",
|
|
19810
|
-
children: dailyAvatars.map((avatar) => /* @__PURE__ */
|
|
19846
|
+
children: dailyAvatars.map((avatar) => /* @__PURE__ */ jsx91("div", {
|
|
19811
19847
|
className: "w-12 h-12 rounded-full bg-muted bg-cover bg-center -ml-5 border-2 border-black",
|
|
19812
19848
|
style: { backgroundImage: `url(${avatar})` }
|
|
19813
19849
|
}, avatar))
|
|
@@ -19823,7 +19859,7 @@ var EvaluateRemotion_default = EvaluateRemotionSection;
|
|
|
19823
19859
|
|
|
19824
19860
|
// src/components/homepage/IfYouKnowReact.tsx
|
|
19825
19861
|
import { useEffect as useEffect43, useState as useState37 } from "react";
|
|
19826
|
-
import { jsx as
|
|
19862
|
+
import { jsx as jsx95, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
19827
19863
|
var isWebkit = () => {
|
|
19828
19864
|
if (typeof window === "undefined") {
|
|
19829
19865
|
return false;
|
|
@@ -19846,7 +19882,7 @@ var IfYouKnowReact = () => {
|
|
|
19846
19882
|
return /* @__PURE__ */ jsxs37("div", {
|
|
19847
19883
|
className: "flex flex-col lg:flex-row text-left justify-start lg:justify-end items-start lg:mb-0 gap-6 mt-8",
|
|
19848
19884
|
children: [
|
|
19849
|
-
/* @__PURE__ */
|
|
19885
|
+
/* @__PURE__ */ jsx95("video", {
|
|
19850
19886
|
src: vid,
|
|
19851
19887
|
muted: true,
|
|
19852
19888
|
autoPlay: true,
|
|
@@ -19859,18 +19895,18 @@ var IfYouKnowReact = () => {
|
|
|
19859
19895
|
/* @__PURE__ */ jsxs37("h2", {
|
|
19860
19896
|
className: "text-4xl fontbrand pt-20",
|
|
19861
19897
|
children: [
|
|
19862
|
-
/* @__PURE__ */
|
|
19898
|
+
/* @__PURE__ */ jsx95("span", {
|
|
19863
19899
|
className: "text-brand",
|
|
19864
19900
|
children: "Compose"
|
|
19865
19901
|
}),
|
|
19866
19902
|
" with code"
|
|
19867
19903
|
]
|
|
19868
19904
|
}),
|
|
19869
|
-
/* @__PURE__ */
|
|
19905
|
+
/* @__PURE__ */ jsx95("p", {
|
|
19870
19906
|
className: "leading-relaxed font-brand",
|
|
19871
19907
|
children: "Use React, a powerful frontend technology, to create sophisticated videos with code."
|
|
19872
19908
|
}),
|
|
19873
|
-
/* @__PURE__ */
|
|
19909
|
+
/* @__PURE__ */ jsx95("div", {
|
|
19874
19910
|
className: "h-4"
|
|
19875
19911
|
}),
|
|
19876
19912
|
/* @__PURE__ */ jsxs37("a", {
|
|
@@ -19879,11 +19915,11 @@ var IfYouKnowReact = () => {
|
|
|
19879
19915
|
children: [
|
|
19880
19916
|
"Learn Remotion",
|
|
19881
19917
|
" ",
|
|
19882
|
-
/* @__PURE__ */
|
|
19918
|
+
/* @__PURE__ */ jsx95("svg", {
|
|
19883
19919
|
style: icon2,
|
|
19884
19920
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19885
19921
|
viewBox: "0 0 448 512",
|
|
19886
|
-
children: /* @__PURE__ */
|
|
19922
|
+
children: /* @__PURE__ */ jsx95("path", {
|
|
19887
19923
|
fill: "currentColor",
|
|
19888
19924
|
d: "M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z"
|
|
19889
19925
|
})
|
|
@@ -19897,21 +19933,21 @@ var IfYouKnowReact = () => {
|
|
|
19897
19933
|
};
|
|
19898
19934
|
|
|
19899
19935
|
// src/components/homepage/MoreVideoPowerSection.tsx
|
|
19900
|
-
import { jsx as
|
|
19936
|
+
import { jsx as jsx97, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
19901
19937
|
var StepTitle = ({ children }) => {
|
|
19902
|
-
return /* @__PURE__ */
|
|
19938
|
+
return /* @__PURE__ */ jsx97("div", {
|
|
19903
19939
|
className: "text-left text-xl font-semibold fontbrand",
|
|
19904
19940
|
children
|
|
19905
19941
|
});
|
|
19906
19942
|
};
|
|
19907
19943
|
var Subtitle = ({ children }) => {
|
|
19908
|
-
return /* @__PURE__ */
|
|
19944
|
+
return /* @__PURE__ */ jsx97("div", {
|
|
19909
19945
|
className: "text-left text-base fontbrand text-[var(--subtitle)]",
|
|
19910
19946
|
children
|
|
19911
19947
|
});
|
|
19912
19948
|
};
|
|
19913
19949
|
var Pane = ({ children, className: className3 }) => {
|
|
19914
|
-
return /* @__PURE__ */
|
|
19950
|
+
return /* @__PURE__ */ jsx97("div", {
|
|
19915
19951
|
className: `border-effect bg-pane flex-1 flex flex-col ${className3 || ""}`,
|
|
19916
19952
|
children
|
|
19917
19953
|
});
|
|
@@ -19921,9 +19957,9 @@ var FeatureCard = ({ title, subtitle, image, link }) => {
|
|
|
19921
19957
|
href: link,
|
|
19922
19958
|
className: "group lg:border-r-2 border-b lg:border-b-0 border-[var(--border)] cursor-pointer hover:bg-[var(--hover)] transition-colors no-underline text-inherit",
|
|
19923
19959
|
children: [
|
|
19924
|
-
/* @__PURE__ */
|
|
19960
|
+
/* @__PURE__ */ jsx97("div", {
|
|
19925
19961
|
className: "relative",
|
|
19926
|
-
children: /* @__PURE__ */
|
|
19962
|
+
children: /* @__PURE__ */ jsx97("img", {
|
|
19927
19963
|
src: image,
|
|
19928
19964
|
alt: title,
|
|
19929
19965
|
className: "w-full h-auto"
|
|
@@ -19935,25 +19971,25 @@ var FeatureCard = ({ title, subtitle, image, link }) => {
|
|
|
19935
19971
|
/* @__PURE__ */ jsxs38("div", {
|
|
19936
19972
|
className: "flex items-center gap-2",
|
|
19937
19973
|
children: [
|
|
19938
|
-
/* @__PURE__ */
|
|
19974
|
+
/* @__PURE__ */ jsx97(StepTitle, {
|
|
19939
19975
|
children: title
|
|
19940
19976
|
}),
|
|
19941
|
-
/* @__PURE__ */
|
|
19977
|
+
/* @__PURE__ */ jsx97("svg", {
|
|
19942
19978
|
width: "16",
|
|
19943
19979
|
viewBox: "0 0 448 512",
|
|
19944
19980
|
fill: "currentColor",
|
|
19945
19981
|
className: "opacity-0 group-hover:opacity-100 transition-opacity",
|
|
19946
|
-
children: /* @__PURE__ */
|
|
19982
|
+
children: /* @__PURE__ */ jsx97("path", {
|
|
19947
19983
|
d: "M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"
|
|
19948
19984
|
})
|
|
19949
19985
|
})
|
|
19950
19986
|
]
|
|
19951
19987
|
}),
|
|
19952
|
-
/* @__PURE__ */
|
|
19988
|
+
/* @__PURE__ */ jsx97(Subtitle, {
|
|
19953
19989
|
children: subtitle
|
|
19954
19990
|
}),
|
|
19955
|
-
/* @__PURE__ */
|
|
19956
|
-
/* @__PURE__ */
|
|
19991
|
+
/* @__PURE__ */ jsx97("br", {}),
|
|
19992
|
+
/* @__PURE__ */ jsx97("div", {
|
|
19957
19993
|
className: "flex-1"
|
|
19958
19994
|
})
|
|
19959
19995
|
]
|
|
@@ -19962,26 +19998,26 @@ var FeatureCard = ({ title, subtitle, image, link }) => {
|
|
|
19962
19998
|
});
|
|
19963
19999
|
};
|
|
19964
20000
|
var MoreVideoPowerSection = () => {
|
|
19965
|
-
return /* @__PURE__ */
|
|
20001
|
+
return /* @__PURE__ */ jsx97("div", {
|
|
19966
20002
|
className: "w-full",
|
|
19967
|
-
children: /* @__PURE__ */
|
|
20003
|
+
children: /* @__PURE__ */ jsx97(Pane, {
|
|
19968
20004
|
className: "overflow-hidden",
|
|
19969
20005
|
children: /* @__PURE__ */ jsxs38("div", {
|
|
19970
20006
|
className: "grid grid-cols-1 lg:grid-cols-3 h-full",
|
|
19971
20007
|
children: [
|
|
19972
|
-
/* @__PURE__ */
|
|
20008
|
+
/* @__PURE__ */ jsx97(FeatureCard, {
|
|
19973
20009
|
title: "Media Parser",
|
|
19974
20010
|
subtitle: "A new multimedia library for the web",
|
|
19975
20011
|
image: "/img/media-parser.png",
|
|
19976
20012
|
link: "/media-parser"
|
|
19977
20013
|
}),
|
|
19978
|
-
/* @__PURE__ */
|
|
20014
|
+
/* @__PURE__ */ jsx97(FeatureCard, {
|
|
19979
20015
|
title: "WebCodecs",
|
|
19980
20016
|
subtitle: "Read, process, transform and create videos on the frontend",
|
|
19981
20017
|
image: "/img/webcodecs.png",
|
|
19982
20018
|
link: "/webcodecs"
|
|
19983
20019
|
}),
|
|
19984
|
-
/* @__PURE__ */
|
|
20020
|
+
/* @__PURE__ */ jsx97(FeatureCard, {
|
|
19985
20021
|
title: "Recorder",
|
|
19986
20022
|
subtitle: "Produce engaging screencasts end-to-end in JavaScript",
|
|
19987
20023
|
image: "/img/recorder.png",
|
|
@@ -19997,15 +20033,15 @@ var MoreVideoPowerSection = () => {
|
|
|
19997
20033
|
import { useCallback as useCallback37, useState as useState38 } from "react";
|
|
19998
20034
|
|
|
19999
20035
|
// src/components/homepage/Spacer.tsx
|
|
20000
|
-
import { jsx as
|
|
20036
|
+
import { jsx as jsx98 } from "react/jsx-runtime";
|
|
20001
20037
|
var Spacer = () => {
|
|
20002
|
-
return /* @__PURE__ */
|
|
20038
|
+
return /* @__PURE__ */ jsx98("div", {
|
|
20003
20039
|
style: { width: 4, height: 4 }
|
|
20004
20040
|
});
|
|
20005
20041
|
};
|
|
20006
20042
|
|
|
20007
20043
|
// src/components/homepage/NewsletterButton.tsx
|
|
20008
|
-
import { jsx as
|
|
20044
|
+
import { jsx as jsx99, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
20009
20045
|
var NewsletterButton = () => {
|
|
20010
20046
|
const [email, setEmail] = useState38("");
|
|
20011
20047
|
const [submitting, setSubmitting] = useState38(false);
|
|
@@ -20032,15 +20068,15 @@ var NewsletterButton = () => {
|
|
|
20032
20068
|
alert("Something went wrong. Please try again later.");
|
|
20033
20069
|
}
|
|
20034
20070
|
}, [email]);
|
|
20035
|
-
return /* @__PURE__ */
|
|
20036
|
-
children: /* @__PURE__ */
|
|
20071
|
+
return /* @__PURE__ */ jsx99("div", {
|
|
20072
|
+
children: /* @__PURE__ */ jsx99("div", {
|
|
20037
20073
|
className: "flex flex-col",
|
|
20038
|
-
children: /* @__PURE__ */
|
|
20074
|
+
children: /* @__PURE__ */ jsx99("div", {
|
|
20039
20075
|
className: "w-full",
|
|
20040
20076
|
children: /* @__PURE__ */ jsxs39("div", {
|
|
20041
20077
|
className: "flex flex-col flex-1",
|
|
20042
20078
|
children: [
|
|
20043
|
-
/* @__PURE__ */
|
|
20079
|
+
/* @__PURE__ */ jsx99(SectionTitle, {
|
|
20044
20080
|
children: "Newsletter"
|
|
20045
20081
|
}),
|
|
20046
20082
|
/* @__PURE__ */ jsxs39("form", {
|
|
@@ -20056,7 +20092,7 @@ var NewsletterButton = () => {
|
|
|
20056
20092
|
" "
|
|
20057
20093
|
]
|
|
20058
20094
|
}),
|
|
20059
|
-
/* @__PURE__ */
|
|
20095
|
+
/* @__PURE__ */ jsx99("input", {
|
|
20060
20096
|
className: "w-full dark:bg-[#121212] rounded-lg border-effect border-black outline-none px-3 py-3 fontbrand text-lg box-border focus:border-brand",
|
|
20061
20097
|
disabled: submitting,
|
|
20062
20098
|
value: email,
|
|
@@ -20065,10 +20101,10 @@ var NewsletterButton = () => {
|
|
|
20065
20101
|
required: true,
|
|
20066
20102
|
placeholder: "animator@gmail.com"
|
|
20067
20103
|
}),
|
|
20068
|
-
/* @__PURE__ */
|
|
20069
|
-
/* @__PURE__ */
|
|
20070
|
-
/* @__PURE__ */
|
|
20071
|
-
children: /* @__PURE__ */
|
|
20104
|
+
/* @__PURE__ */ jsx99(Spacer, {}),
|
|
20105
|
+
/* @__PURE__ */ jsx99(Spacer, {}),
|
|
20106
|
+
/* @__PURE__ */ jsx99("div", {
|
|
20107
|
+
children: /* @__PURE__ */ jsx99(BlueButton, {
|
|
20072
20108
|
type: "submit",
|
|
20073
20109
|
className: "w-full",
|
|
20074
20110
|
loading: submitting,
|
|
@@ -20088,7 +20124,7 @@ var NewsletterButton = () => {
|
|
|
20088
20124
|
|
|
20089
20125
|
// src/components/homepage/ParameterizeAndEdit.tsx
|
|
20090
20126
|
import { useEffect as useEffect45, useRef as useRef31, useState as useState39 } from "react";
|
|
20091
|
-
import { jsx as
|
|
20127
|
+
import { jsx as jsx100, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
20092
20128
|
var icon3 = {
|
|
20093
20129
|
height: 16,
|
|
20094
20130
|
marginLeft: 10
|
|
@@ -20105,8 +20141,8 @@ var ParameterizeAndEdit = () => {
|
|
|
20105
20141
|
ref,
|
|
20106
20142
|
className: "flex flex-col lg:flex-row justify-start lg:justify-end items-start gap-6 mt-20 lg:mt-0",
|
|
20107
20143
|
children: [
|
|
20108
|
-
/* @__PURE__ */
|
|
20109
|
-
children: /* @__PURE__ */
|
|
20144
|
+
/* @__PURE__ */ jsx100("div", {
|
|
20145
|
+
children: /* @__PURE__ */ jsx100("video", {
|
|
20110
20146
|
src: vid,
|
|
20111
20147
|
autoPlay: true,
|
|
20112
20148
|
muted: true,
|
|
@@ -20128,7 +20164,7 @@ var ParameterizeAndEdit = () => {
|
|
|
20128
20164
|
className: "fontbrand text-4xl",
|
|
20129
20165
|
children: [
|
|
20130
20166
|
"Edit ",
|
|
20131
|
-
/* @__PURE__ */
|
|
20167
|
+
/* @__PURE__ */ jsx100("span", {
|
|
20132
20168
|
className: "text-brand",
|
|
20133
20169
|
children: "dynamically"
|
|
20134
20170
|
})
|
|
@@ -20138,11 +20174,11 @@ var ParameterizeAndEdit = () => {
|
|
|
20138
20174
|
className: "leading-relaxed",
|
|
20139
20175
|
children: [
|
|
20140
20176
|
"Parameterize your video by passing data.",
|
|
20141
|
-
/* @__PURE__ */
|
|
20177
|
+
/* @__PURE__ */ jsx100("br", {}),
|
|
20142
20178
|
"Or embed it into your app and build an interface around it."
|
|
20143
20179
|
]
|
|
20144
20180
|
}),
|
|
20145
|
-
/* @__PURE__ */
|
|
20181
|
+
/* @__PURE__ */ jsx100("div", {
|
|
20146
20182
|
className: "h-4"
|
|
20147
20183
|
}),
|
|
20148
20184
|
/* @__PURE__ */ jsxs40("div", {
|
|
@@ -20154,47 +20190,47 @@ var ParameterizeAndEdit = () => {
|
|
|
20154
20190
|
children: [
|
|
20155
20191
|
"Remotion Studio",
|
|
20156
20192
|
" ",
|
|
20157
|
-
/* @__PURE__ */
|
|
20193
|
+
/* @__PURE__ */ jsx100("svg", {
|
|
20158
20194
|
style: icon3,
|
|
20159
20195
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20160
20196
|
viewBox: "0 0 448 512",
|
|
20161
|
-
children: /* @__PURE__ */
|
|
20197
|
+
children: /* @__PURE__ */ jsx100("path", {
|
|
20162
20198
|
fill: "currentColor",
|
|
20163
20199
|
d: "M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z"
|
|
20164
20200
|
})
|
|
20165
20201
|
})
|
|
20166
20202
|
]
|
|
20167
20203
|
}),
|
|
20168
|
-
/* @__PURE__ */
|
|
20204
|
+
/* @__PURE__ */ jsx100("br", {}),
|
|
20169
20205
|
/* @__PURE__ */ jsxs40("a", {
|
|
20170
20206
|
className: "no-underline text-brand font-brand font-bold inline-flex flex-row items-center",
|
|
20171
20207
|
href: "/player",
|
|
20172
20208
|
children: [
|
|
20173
20209
|
"Remotion Player",
|
|
20174
20210
|
" ",
|
|
20175
|
-
/* @__PURE__ */
|
|
20211
|
+
/* @__PURE__ */ jsx100("svg", {
|
|
20176
20212
|
style: icon3,
|
|
20177
20213
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20178
20214
|
viewBox: "0 0 448 512",
|
|
20179
|
-
children: /* @__PURE__ */
|
|
20215
|
+
children: /* @__PURE__ */ jsx100("path", {
|
|
20180
20216
|
fill: "currentColor",
|
|
20181
20217
|
d: "M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z"
|
|
20182
20218
|
})
|
|
20183
20219
|
})
|
|
20184
20220
|
]
|
|
20185
20221
|
}),
|
|
20186
|
-
/* @__PURE__ */
|
|
20222
|
+
/* @__PURE__ */ jsx100("br", {}),
|
|
20187
20223
|
/* @__PURE__ */ jsxs40("a", {
|
|
20188
20224
|
className: "no-underline text-brand font-brand font-bold inline-flex flex-row items-center",
|
|
20189
20225
|
href: "/docs/editor-starter",
|
|
20190
20226
|
children: [
|
|
20191
20227
|
"Remotion Editor Starter",
|
|
20192
20228
|
" ",
|
|
20193
|
-
/* @__PURE__ */
|
|
20229
|
+
/* @__PURE__ */ jsx100("svg", {
|
|
20194
20230
|
style: icon3,
|
|
20195
20231
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20196
20232
|
viewBox: "0 0 448 512",
|
|
20197
|
-
children: /* @__PURE__ */
|
|
20233
|
+
children: /* @__PURE__ */ jsx100("path", {
|
|
20198
20234
|
fill: "currentColor",
|
|
20199
20235
|
d: "M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z"
|
|
20200
20236
|
})
|
|
@@ -20211,7 +20247,7 @@ var ParameterizeAndEdit = () => {
|
|
|
20211
20247
|
|
|
20212
20248
|
// src/components/homepage/RealMp4Videos.tsx
|
|
20213
20249
|
import { useEffect as useEffect46, useRef as useRef33, useState as useState40 } from "react";
|
|
20214
|
-
import { jsx as
|
|
20250
|
+
import { jsx as jsx101, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
20215
20251
|
var icon4 = {
|
|
20216
20252
|
height: 16,
|
|
20217
20253
|
marginLeft: 10
|
|
@@ -20246,9 +20282,9 @@ var RealMP4Videos = () => {
|
|
|
20246
20282
|
ref,
|
|
20247
20283
|
className: "flex flex-col lg:flex-row mt-40 lg:mt-30 gap-6",
|
|
20248
20284
|
children: [
|
|
20249
|
-
/* @__PURE__ */
|
|
20285
|
+
/* @__PURE__ */ jsx101("div", {
|
|
20250
20286
|
className: "flex w-[500px] justify-start lg:justify-start items-end",
|
|
20251
|
-
children: /* @__PURE__ */
|
|
20287
|
+
children: /* @__PURE__ */ jsx101("video", {
|
|
20252
20288
|
ref: videoRef,
|
|
20253
20289
|
src: vid,
|
|
20254
20290
|
muted: true,
|
|
@@ -20271,7 +20307,7 @@ var RealMP4Videos = () => {
|
|
|
20271
20307
|
/* @__PURE__ */ jsxs41("h2", {
|
|
20272
20308
|
className: "text-4xl fontbrand",
|
|
20273
20309
|
children: [
|
|
20274
|
-
/* @__PURE__ */
|
|
20310
|
+
/* @__PURE__ */ jsx101("span", {
|
|
20275
20311
|
className: "text-brand",
|
|
20276
20312
|
children: "Scalable"
|
|
20277
20313
|
}),
|
|
@@ -20282,12 +20318,12 @@ var RealMP4Videos = () => {
|
|
|
20282
20318
|
className: "leading-relaxed",
|
|
20283
20319
|
children: [
|
|
20284
20320
|
"Render the video .mp4 or other formats. ",
|
|
20285
|
-
/* @__PURE__ */
|
|
20321
|
+
/* @__PURE__ */ jsx101("br", {}),
|
|
20286
20322
|
"Locally, on the server or serverless."
|
|
20287
20323
|
]
|
|
20288
20324
|
}),
|
|
20289
20325
|
" ",
|
|
20290
|
-
/* @__PURE__ */
|
|
20326
|
+
/* @__PURE__ */ jsx101("div", {
|
|
20291
20327
|
className: "h-4"
|
|
20292
20328
|
}),
|
|
20293
20329
|
/* @__PURE__ */ jsxs41("div", {
|
|
@@ -20299,29 +20335,29 @@ var RealMP4Videos = () => {
|
|
|
20299
20335
|
children: [
|
|
20300
20336
|
"Render options",
|
|
20301
20337
|
" ",
|
|
20302
|
-
/* @__PURE__ */
|
|
20338
|
+
/* @__PURE__ */ jsx101("svg", {
|
|
20303
20339
|
style: icon4,
|
|
20304
20340
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20305
20341
|
viewBox: "0 0 448 512",
|
|
20306
|
-
children: /* @__PURE__ */
|
|
20342
|
+
children: /* @__PURE__ */ jsx101("path", {
|
|
20307
20343
|
fill: "currentColor",
|
|
20308
20344
|
d: "M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z"
|
|
20309
20345
|
})
|
|
20310
20346
|
})
|
|
20311
20347
|
]
|
|
20312
20348
|
}),
|
|
20313
|
-
/* @__PURE__ */
|
|
20349
|
+
/* @__PURE__ */ jsx101("br", {}),
|
|
20314
20350
|
/* @__PURE__ */ jsxs41("a", {
|
|
20315
20351
|
className: "no-underline text-brand font-brand font-bold inline-flex flex-row items-center",
|
|
20316
20352
|
href: "/lambda",
|
|
20317
20353
|
children: [
|
|
20318
20354
|
"Remotion Lambda",
|
|
20319
20355
|
" ",
|
|
20320
|
-
/* @__PURE__ */
|
|
20356
|
+
/* @__PURE__ */ jsx101("svg", {
|
|
20321
20357
|
style: icon4,
|
|
20322
20358
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20323
20359
|
viewBox: "0 0 448 512",
|
|
20324
|
-
children: /* @__PURE__ */
|
|
20360
|
+
children: /* @__PURE__ */ jsx101("path", {
|
|
20325
20361
|
fill: "currentColor",
|
|
20326
20362
|
d: "M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z"
|
|
20327
20363
|
})
|
|
@@ -20337,18 +20373,18 @@ var RealMP4Videos = () => {
|
|
|
20337
20373
|
};
|
|
20338
20374
|
|
|
20339
20375
|
// src/components/homepage/TrustedByBanner.tsx
|
|
20340
|
-
import { jsx as
|
|
20376
|
+
import { jsx as jsx104, jsxs as jsxs43, Fragment as Fragment8 } from "react/jsx-runtime";
|
|
20341
20377
|
var TrustedByBanner = () => {
|
|
20342
20378
|
const logos = [
|
|
20343
20379
|
{
|
|
20344
20380
|
id: "logo1",
|
|
20345
20381
|
url: "https://www.github.com/",
|
|
20346
|
-
light: /* @__PURE__ */
|
|
20382
|
+
light: /* @__PURE__ */ jsx104("svg", {
|
|
20347
20383
|
height: "50",
|
|
20348
20384
|
viewBox: "0 0 64 62",
|
|
20349
20385
|
fill: "none",
|
|
20350
20386
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20351
|
-
children: /* @__PURE__ */
|
|
20387
|
+
children: /* @__PURE__ */ jsx104("path", {
|
|
20352
20388
|
d: "M21.3033 49.7496C21.3033 50.0051 21.0079 50.2095 20.6355 50.2095C20.2118 50.2478 19.9164 50.0434 19.9164 49.7496C19.9164 49.4941 20.2118 49.2896 20.5842 49.2896C20.9694 49.2513 21.3033 49.4557 21.3033 49.7496ZM17.3097 49.1747C17.2198 49.4302 17.4766 49.724 17.8619 49.8007C18.1957 49.9284 18.581 49.8007 18.658 49.5452C18.7351 49.2896 18.4911 48.9958 18.1059 48.8808C17.772 48.7914 17.3996 48.9191 17.3097 49.1747ZM22.9854 48.9575C22.6131 49.0469 22.3562 49.2896 22.3948 49.5835C22.4333 49.839 22.7671 50.0051 23.1524 49.9157C23.5248 49.8262 23.7816 49.5835 23.7431 49.328C23.7045 49.0852 23.3578 48.9191 22.9854 48.9575ZM31.4348 0C13.6243 0 0 13.4531 0 31.1733C0 45.3419 8.96304 57.4663 21.7655 61.7334C23.4092 62.0273 23.987 61.018 23.987 60.1875C23.987 59.3954 23.9485 55.0261 23.9485 52.3431C23.9485 52.3431 14.9598 54.2595 13.0722 48.5359C13.0722 48.5359 11.6083 44.8181 9.50236 43.8599C9.50236 43.8599 6.56177 41.854 9.70782 41.8924C9.70782 41.8924 12.9052 42.1479 14.6645 45.1886C17.4766 50.1201 22.1893 48.702 24.0256 47.8587C24.3209 45.8146 25.1556 44.3965 26.0801 43.5532C18.902 42.7611 11.6597 41.7263 11.6597 29.4358C11.6597 25.9224 12.6356 24.1593 14.6901 21.9108C14.3563 21.0803 13.2648 17.6564 15.024 13.2359C17.7078 12.4055 23.8843 16.6854 23.8843 16.6854C26.4525 15.9699 29.2133 15.5994 31.9485 15.5994C34.6836 15.5994 37.4444 15.9699 40.0126 16.6854C40.0126 16.6854 46.1892 12.3927 48.873 13.2359C50.6322 17.6691 49.5407 21.0803 49.2068 21.9108C51.2614 24.1721 52.5198 25.9352 52.5198 29.4358C52.5198 41.7646 44.9564 42.7484 37.7783 43.5532C38.9597 44.5625 39.9613 46.4789 39.9613 49.4813C39.9613 53.7868 39.9228 59.1144 39.9228 60.162C39.9228 60.9924 40.5134 62.0017 42.1443 61.7079C54.9853 57.4663 63.6915 45.3419 63.6915 31.1733C63.6915 13.4531 49.2453 0 31.4348 0ZM12.4815 44.0643C12.3145 44.192 12.3531 44.4859 12.5714 44.7286C12.7768 44.933 13.0722 45.0225 13.2391 44.8564C13.406 44.7286 13.3675 44.4348 13.1492 44.192C12.9438 43.9876 12.6484 43.8982 12.4815 44.0643ZM11.0946 43.0294C11.0048 43.1955 11.1332 43.3999 11.39 43.5277C11.5954 43.6554 11.8523 43.6171 11.9422 43.4383C12.032 43.2722 11.9036 43.0678 11.6468 42.94C11.39 42.8633 11.1845 42.9017 11.0946 43.0294ZM15.2551 47.5777C15.0497 47.7438 15.1267 48.127 15.4221 48.3698C15.7174 48.6636 16.0898 48.702 16.2567 48.4975C16.4237 48.3314 16.3466 47.9482 16.0898 47.7054C15.8073 47.4116 15.4221 47.3732 15.2551 47.5777ZM13.7913 45.6996C13.5858 45.8274 13.5858 46.1595 13.7913 46.4534C13.9967 46.7472 14.3434 46.875 14.5104 46.7472C14.7158 46.5811 14.7158 46.249 14.5104 45.9551C14.3306 45.6613 13.9967 45.5335 13.7913 45.6996Z",
|
|
20353
20389
|
fill: "var(--text-color)"
|
|
20354
20390
|
})
|
|
@@ -20363,51 +20399,51 @@ var TrustedByBanner = () => {
|
|
|
20363
20399
|
fill: "none",
|
|
20364
20400
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20365
20401
|
children: [
|
|
20366
|
-
/* @__PURE__ */
|
|
20402
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20367
20403
|
d: "M6.51644 0.088258C4.05524 0.528184 1.89128 2.12143 0.856857 4.24972C-0.058664 6.12832 0.000785433 4.71342 0.000785433 23.7491C0.000785433 38.5758 0.0245652 40.9181 0.179134 41.5245C0.892527 44.3543 2.99704 46.4826 5.82683 47.2435C6.77802 47.4932 8.49017 47.5289 9.48892 47.303C11.0465 46.9582 11.855 46.4113 18.9889 40.9538C22.7224 38.1002 25.8137 35.7579 25.8613 35.7579C25.897 35.7579 29.0002 38.1002 32.7336 40.9538C36.5622 43.8906 39.9033 46.3518 40.367 46.6015C40.8307 46.8393 41.5441 47.1246 41.9721 47.2435C43.0065 47.517 44.8613 47.517 45.8958 47.2435C48.4996 46.5302 50.5328 44.5921 51.4364 41.9407C51.6505 41.3105 51.6623 40.5733 51.6623 23.7491V6.21155L51.377 5.34359C50.6398 3.08451 48.7255 1.19402 46.3595 0.385505C45.4796 0.088258 45.1943 0.0406985 43.9339 0.0406985C42.6855 0.0406985 42.3882 0.088258 41.5559 0.373615C41.0328 0.551964 40.3432 0.861101 40.0103 1.06323C39.6892 1.26536 36.3957 3.70278 32.7099 6.48502C29.0121 9.26725 25.9326 11.5382 25.8613 11.5382C25.79 11.5382 22.7105 9.26725 19.0127 6.48502C15.3269 3.70278 12.0334 1.26536 11.7123 1.06323C10.3569 0.230937 8.06213 -0.197099 6.51644 0.088258ZM8.82308 4.63019C9.13222 4.72531 11.5459 6.46124 15.6835 9.57639C19.1911 12.2159 22.0684 14.4037 22.0803 14.4512C22.1279 14.582 14.1141 20.7172 13.912 20.7053C13.8168 20.7053 11.6291 19.0764 9.06088 17.0908L4.38815 13.4882L4.42382 10.2066L4.45949 6.92494L4.78052 6.33045C5.06588 5.7954 5.39879 5.40304 5.96951 4.975C6.57589 4.5113 7.91945 4.35673 8.82308 4.63019ZM45.0872 4.67775C45.8125 4.91555 46.5497 5.5695 46.9421 6.31856L47.2631 6.92494L47.2988 10.2066L47.3344 13.4882L42.6617 17.0908C40.0935 19.0764 37.9057 20.7053 37.7987 20.7053C37.5966 20.7172 29.5947 14.582 29.6423 14.4512C29.7017 14.2491 42.519 4.71342 42.8519 4.6183C43.4345 4.43996 44.4927 4.47563 45.0872 4.67775ZM30.0346 20.5032C32.2818 22.251 34.0891 23.7135 34.0415 23.7491C33.8632 23.9156 26.0991 29.8843 25.9683 29.9675C25.8375 30.0389 17.7167 23.868 17.6929 23.6778C17.6929 23.5827 25.6948 17.3405 25.8375 17.3405C25.897 17.3286 27.7875 18.7554 30.0346 20.5032ZM7.37252 21.4425C9.72671 23.2616 10.2142 23.6897 10.0834 23.8086C9.80994 24.082 4.51894 28.1484 4.45949 28.1484C4.42382 28.1484 4.40004 26.139 4.40004 23.6897C4.40004 21.2404 4.42382 19.231 4.4476 19.231C4.48327 19.231 5.80305 20.2297 7.37252 21.4425ZM47.3225 23.6897C47.3225 26.139 47.2988 28.1484 47.2631 28.1484C47.2274 28.1484 45.9195 27.1496 44.3501 25.9369C42.2456 24.308 41.5203 23.6778 41.6154 23.5827C41.8651 23.333 47.1442 19.2548 47.2393 19.2429C47.2869 19.231 47.3225 21.2404 47.3225 23.6897ZM20.3682 31.4776C21.3312 32.2147 22.116 32.8568 22.116 32.8925C22.1041 33.047 9.59592 42.4995 9.07277 42.7373C7.51519 43.4745 5.58903 42.7492 4.79241 41.1321L4.45949 40.4544L4.42382 37.1847L4.38815 33.9031L9.156 30.2053L13.9357 26.5076L16.2662 28.3148C17.5621 29.3017 19.3932 30.7285 20.3682 31.4776ZM42.6617 30.3005L47.3344 33.915L47.2988 37.2442L47.2631 40.5733L46.9421 41.1678C46.5378 41.9288 46.1217 42.3211 45.3013 42.7016C44.4452 43.1059 43.4583 43.1178 42.6498 42.7373C42.0197 42.4519 29.5947 33.0232 29.6423 32.8687C29.7017 32.6665 37.7631 26.5195 37.8701 26.6027C37.9414 26.6503 40.0935 28.303 42.6617 30.3005Z",
|
|
20368
20404
|
fill: "var(--text-color)"
|
|
20369
20405
|
}),
|
|
20370
|
-
/* @__PURE__ */
|
|
20406
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20371
20407
|
d: "M120.255 8.16145C119.673 8.43492 118.983 9.20776 118.805 9.82604C118.484 10.8842 118.709 11.7998 119.47 12.5607C120.374 13.4643 121.563 13.6546 122.681 13.0958C124.785 12.0494 124.678 9.00564 122.502 8.09011C121.955 7.86421 120.838 7.89988 120.255 8.16145Z",
|
|
20372
20408
|
fill: "var(--text-color)"
|
|
20373
20409
|
}),
|
|
20374
|
-
/* @__PURE__ */
|
|
20410
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20375
20411
|
d: "M214.613 19.7065V31.4775H216.801H219.001L219.036 26.8048C219.084 21.6446 219.084 21.6327 219.88 20.7885C220.427 20.2178 221.081 19.9443 221.926 19.9443C222.817 19.9443 223.507 20.2535 223.947 20.8123C224.565 21.6327 224.601 21.9656 224.601 26.9237V31.4775H226.8H229V26.0914C229 21.6446 228.964 20.5864 228.822 20.0038C228.382 18.2916 227.478 17.1145 226.087 16.4249C223.935 15.3667 221.414 15.6759 219.809 17.1978C219.452 17.5307 219.131 17.8042 219.096 17.8042C219.048 17.8042 219.013 15.5807 219.013 12.8699V7.93555H216.813H214.613V19.7065Z",
|
|
20376
20412
|
fill: "var(--text-color)"
|
|
20377
20413
|
}),
|
|
20378
|
-
/* @__PURE__ */
|
|
20414
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20379
20415
|
d: "M188.574 13.6427V16.0207H187.088H185.602V17.9825V19.9443H187.076H188.563L188.598 23.8323C188.646 27.4587 188.67 27.7917 188.907 28.5051C189.383 29.9437 190.477 30.9781 191.963 31.43C192.819 31.6915 194.757 31.7629 195.827 31.5726L196.719 31.4181L196.755 29.6108L196.79 27.8154L195.482 27.7679C194.032 27.7322 193.723 27.6014 193.271 26.8286C193.045 26.4481 193.033 26.2103 193.033 23.2141V20.0038L194.971 19.9681L196.897 19.9443V17.9825V16.0207H194.935H192.974V13.6427V11.2647H190.774H188.574V13.6427Z",
|
|
20380
20416
|
fill: "var(--text-color)"
|
|
20381
20417
|
}),
|
|
20382
|
-
/* @__PURE__ */
|
|
20418
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20383
20419
|
d: "M109.768 15.8423C106.82 16.3774 104.763 18.6959 105.048 21.1809C105.321 23.654 106.736 24.8192 110.196 25.4137C110.957 25.5445 111.813 25.7466 112.087 25.8417C113.775 26.46 113.145 28.3862 111.266 28.3862C110.089 28.3862 109.233 27.8511 108.829 26.8999C108.71 26.6027 108.532 26.3649 108.437 26.3649C108.341 26.3649 107.485 26.5789 106.534 26.8286C104.81 27.2804 104.81 27.2923 104.822 27.6252C104.87 28.6834 106.273 30.3837 107.652 31.0614C109.804 32.1196 112.8 32.0839 114.869 30.9901C115.796 30.4907 116.783 29.4206 117.104 28.5764C117.616 27.1972 117.544 25.6039 116.902 24.4268C116.141 23.0238 114.477 22.1797 111.778 21.8467C110.47 21.6803 109.673 21.4187 109.447 21.0977C108.936 20.3605 109.554 19.3261 110.612 19.1715C111.742 19.0051 112.574 19.3974 113.074 20.3367C113.24 20.6459 113.43 20.8955 113.49 20.8955C113.561 20.8955 114.417 20.6815 115.392 20.4318C117.425 19.9206 117.342 20.0157 116.759 18.8029C116.046 17.3167 114.405 16.1753 112.515 15.8423C111.385 15.6402 110.898 15.6402 109.768 15.8423Z",
|
|
20384
20420
|
fill: "var(--text-color)"
|
|
20385
20421
|
}),
|
|
20386
|
-
/* @__PURE__ */
|
|
20422
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20387
20423
|
d: "M70.1511 15.9493C69.4496 16.1515 68.9146 16.4249 68.1655 16.9838L67.5353 17.4593V16.7341V16.0207H65.3357H63.1361V23.7491V31.4775H65.3952H67.6424L67.678 26.6265C67.7137 21.9299 67.7256 21.7754 67.9753 21.3117C68.4865 20.3605 69.2237 19.9443 70.3889 19.9443C71.5541 19.9443 72.2675 20.3961 72.7312 21.4306C72.9215 21.8586 72.9452 22.3937 72.9809 26.6859L73.0166 31.4775H75.2043H77.3921L77.4277 26.6265C77.4634 21.9299 77.4753 21.7754 77.725 21.3117C78.2362 20.3486 78.9734 19.9443 80.1624 19.9443C81.0304 19.9443 81.7557 20.2297 82.1361 20.7172C82.7068 21.4425 82.7544 21.9181 82.7544 26.8642V31.4775H85.0254H87.2963L87.2488 26.0914C87.2012 20.9431 87.1893 20.6815 86.9396 19.9324C86.4284 18.3749 85.4058 17.2216 83.8602 16.4487C82.9565 15.9969 81.9102 15.7829 80.5548 15.7829C78.7832 15.7829 77.5942 16.1515 76.5003 17.0432L76.0009 17.4356L75.561 17.0194C74.6574 16.1634 73.4684 15.7829 71.8276 15.7948C71.1974 15.7948 70.4484 15.8661 70.1511 15.9493Z",
|
|
20388
20424
|
fill: "var(--text-color)"
|
|
20389
20425
|
}),
|
|
20390
|
-
/* @__PURE__ */
|
|
20426
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20391
20427
|
d: "M149.064 15.9018C148.434 16.0682 147.459 16.5676 146.877 17.0551L146.365 17.4593V16.746V16.0207H144.166H141.966V23.7491V31.4775H144.154H146.353L146.401 26.8048C146.425 23.7253 146.484 22.0013 146.579 21.7278C146.781 21.1333 147.4 20.4199 147.959 20.1702C148.624 19.873 149.801 19.873 150.384 20.1702C150.943 20.4556 151.169 20.7053 151.466 21.3711C151.704 21.8824 151.716 22.1321 151.716 26.6859V31.4775H153.975H156.234V26.8286C156.234 21.7873 156.258 21.5614 156.864 20.8242C157.363 20.2178 158.017 19.9443 158.98 19.9443C160.134 19.9443 160.704 20.2654 161.168 21.1928L161.525 21.9062L161.561 26.6859L161.596 31.4775H163.796H165.984V26.1509C165.984 20.3961 165.96 20.194 165.318 18.9218C164.628 17.5664 162.833 16.2704 161.133 15.9137C160.324 15.7472 158.445 15.7472 157.637 15.9137C156.793 16.092 155.913 16.52 155.306 17.0432L154.807 17.4712L154.201 16.9243C153.321 16.1277 152.536 15.878 150.883 15.8304C150.134 15.8067 149.314 15.8423 149.064 15.9018Z",
|
|
20392
20428
|
fill: "var(--text-color)"
|
|
20393
20429
|
}),
|
|
20394
|
-
/* @__PURE__ */
|
|
20430
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20395
20431
|
d: "M173.95 15.8661C171.203 16.2823 168.849 18.4224 167.934 21.3236C167.232 23.5351 167.541 26.2103 168.742 28.2435C169.23 29.0758 170.49 30.3718 171.239 30.8117C172.583 31.5964 174.211 31.9056 175.924 31.7153C177.267 31.5727 178.385 31.2278 179.074 30.7641L179.598 30.4193L179.633 30.9425L179.669 31.4775H181.869H184.056V23.8086V16.1396H181.857H179.657V16.6746V17.2216L179.122 16.853C177.957 16.0563 175.614 15.6045 173.95 15.8661ZM177.113 20.0038C178.04 20.2891 178.813 20.955 179.3 21.8943C179.693 22.6552 179.716 22.786 179.716 23.7967C179.705 24.6408 179.657 24.9975 179.455 25.4375C179.098 26.2222 178.313 27.0188 177.529 27.3993C176.97 27.6847 176.72 27.7322 175.912 27.7203C175.127 27.7203 174.842 27.6609 174.283 27.3993C173.486 27.0069 172.844 26.3292 172.428 25.4256C171.976 24.4625 171.976 23.0238 172.428 22.0607C173.248 20.2891 175.21 19.4331 177.113 20.0038Z",
|
|
20396
20432
|
fill: "var(--text-color)"
|
|
20397
20433
|
}),
|
|
20398
|
-
/* @__PURE__ */
|
|
20434
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20399
20435
|
d: "M203.615 15.9612C200.607 16.6152 198.181 18.9575 197.432 21.9062C197.004 23.5708 197.29 25.9725 198.11 27.649C198.669 28.7904 200.215 30.3123 201.416 30.9068C202.902 31.6202 203.615 31.7748 205.577 31.7629C207.099 31.7629 207.408 31.7272 208.217 31.4538C210.369 30.7404 211.831 29.5276 212.723 27.7441C213.02 27.1258 213.186 26.674 213.115 26.6146C212.996 26.4957 209.501 25.4137 209.251 25.4137C209.156 25.4137 209.013 25.5564 208.942 25.7347C208.656 26.3768 208.062 26.9475 207.301 27.328C206.635 27.6609 206.409 27.7084 205.577 27.7084C204.745 27.7084 204.531 27.6609 203.853 27.328C201.094 25.9606 201.118 21.5733 203.889 20.2178C204.471 19.9325 204.709 19.8849 205.577 19.8849C206.362 19.8849 206.718 19.9443 207.135 20.1465C207.8 20.4437 208.538 21.1571 208.823 21.7516L209.025 22.1915L209.596 22.0132C209.905 21.9181 210.809 21.6446 211.617 21.4068L213.079 20.9669L212.996 20.6102C212.961 20.408 212.735 19.8849 212.509 19.445C211.665 17.8161 209.715 16.4368 207.634 15.9731C206.599 15.7472 204.614 15.7353 203.615 15.9612Z",
|
|
20400
20436
|
fill: "var(--text-color)"
|
|
20401
20437
|
}),
|
|
20402
|
-
/* @__PURE__ */
|
|
20438
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20403
20439
|
d: "M119.256 23.7491V31.4775H121.456H123.656V23.7491V16.0207H121.456H119.256V23.7491Z",
|
|
20404
20440
|
fill: "var(--text-color)"
|
|
20405
20441
|
}),
|
|
20406
|
-
/* @__PURE__ */
|
|
20442
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20407
20443
|
d: "M125.082 16.0801C125.082 16.1158 126.283 17.8517 127.746 19.9443L130.409 23.7491L127.686 27.5539C126.188 29.6584 124.964 31.3943 124.964 31.4181C124.964 31.4537 126.057 31.4775 127.401 31.4775H129.838L131.277 29.2779C132.074 28.0651 132.763 27.0783 132.811 27.0783C132.858 27.0783 133.548 28.0651 134.333 29.2779L135.771 31.4775H138.28H140.801L140.385 30.9068C138.661 28.5407 135.308 23.7372 135.308 23.6421C135.308 23.5826 136.473 21.9062 137.9 19.9206C139.326 17.9231 140.539 16.2347 140.587 16.1634C140.646 16.0563 140.087 16.0207 138.221 16.0207H135.771L134.333 18.2203C133.548 19.4212 132.858 20.3961 132.823 20.3724C132.787 20.3486 132.133 19.3498 131.384 18.1727L130.017 16.0207H127.556C126.188 16.0207 125.082 16.0445 125.082 16.0801Z",
|
|
20408
20444
|
fill: "var(--text-color)"
|
|
20409
20445
|
}),
|
|
20410
|
-
/* @__PURE__ */
|
|
20446
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20411
20447
|
d: "M88.9728 21.0382C89.0323 26.5076 89.0679 26.7929 89.8527 28.291C90.9228 30.3361 93.051 31.6083 95.7144 31.7986C98.5561 32.0007 101.41 30.5501 102.575 28.3267C103.336 26.8643 103.36 26.6978 103.407 21.1571L103.455 16.1396H101.196H98.9246V20.8123C98.9246 26.1033 98.9009 26.2698 98.0924 27.0069C97.0579 27.9343 95.2269 27.8987 94.2638 26.9356C93.491 26.1627 93.4553 25.8655 93.4553 20.6934V16.1396H91.1843H88.9134L88.9728 21.0382Z",
|
|
20412
20448
|
fill: "var(--text-color)"
|
|
20413
20449
|
})
|
|
@@ -20424,11 +20460,11 @@ var TrustedByBanner = () => {
|
|
|
20424
20460
|
className: "-mt-2",
|
|
20425
20461
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20426
20462
|
children: [
|
|
20427
|
-
/* @__PURE__ */
|
|
20463
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20428
20464
|
d: "M16.4128 26.0434H11.2775C9.66644 26.0434 8.15605 26.4461 7.04844 27.6544L0.302047 35.4078C5.23597 35.7098 10.3713 35.7098 13.9962 35.7098C32.4229 35.7098 35.343 24.6337 35.4437 19.0956C33.8326 21.1094 28.9994 26.0434 16.4128 26.0434ZM33.1278 8.22082C33.0271 9.12705 32.5236 13.0541 21.4474 13.0541C12.4858 13.0541 8.8609 13.054 -3.05176e-05 12.8527L6.64567 20.5053C7.95467 22.0157 9.76713 22.5191 11.781 22.6198C13.9962 22.6198 17.017 22.7205 17.4198 22.7205C29.8049 22.7205 35.0409 16.9811 35.0409 12.8527C35.1416 10.6374 34.4368 9.22774 33.1278 8.22082Z",
|
|
20429
20465
|
fill: "var(--light-text-color)"
|
|
20430
20466
|
}),
|
|
20431
|
-
/* @__PURE__ */
|
|
20467
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20432
20468
|
d: "M68.0509 9.70953H75.3052V27.0081C75.3052 28.9054 74.8588 30.5795 74.0776 31.9187C73.2963 33.258 72.2919 34.1508 70.9526 34.8204C69.6134 35.49 68.1625 35.7132 66.4885 35.7132C64.8144 35.7132 63.3636 35.3784 62.0243 34.8204C60.6851 34.1508 59.6807 33.258 58.8994 31.9187C58.7878 31.8071 58.7878 31.5839 58.6762 31.4723C58.5646 31.5839 58.5646 31.8071 58.453 31.9187C57.6718 33.258 56.6673 34.1508 55.3281 34.8204C53.9889 35.49 52.538 35.7132 50.8639 35.7132C49.1899 35.7132 47.739 35.3784 46.5114 34.8204C45.1722 34.1508 44.1677 33.258 43.3865 31.9187C42.6053 30.5795 42.2704 29.017 42.2704 27.0081L42.0472 9.70953H49.3015V25.6689C49.3015 26.7849 49.5247 27.5662 50.0827 28.0126C50.6407 28.459 51.3104 28.6822 52.0916 28.6822C52.8728 28.6822 53.654 28.459 54.2121 28.0126C54.7701 27.5662 55.1049 26.7849 55.1049 25.6689V9.70953H57.7834H59.6807H62.3592V25.6689C62.3592 26.7849 62.694 27.5662 63.252 28.0126C63.81 28.459 64.5912 28.6822 65.3725 28.6822C66.1537 28.6822 66.8233 28.459 67.3813 28.0126C67.8277 27.5662 68.0509 26.7849 68.0509 25.6689V9.70953ZM85.796 0.446408C85.2379 0.111596 84.5683 -7.62939e-06 83.7871 -7.62939e-06C83.0059 -7.62939e-06 82.3362 0.111596 81.7782 0.446408C81.2202 0.78122 80.6622 1.22764 80.3274 1.78565C79.9926 2.34367 79.7694 3.0133 79.7694 3.68292C79.7694 4.79896 80.1042 5.69179 80.8854 6.36141C81.6666 7.03104 82.6711 7.36585 83.7871 7.36585C84.5683 7.36585 85.2379 7.25425 85.796 6.91943C86.4656 6.58462 86.912 6.13821 87.2468 5.58019C87.5816 5.02217 87.8048 4.35254 87.8048 3.57132C87.8048 2.79009 87.5816 2.23207 87.2468 1.67405C86.912 1.22764 86.4656 0.78122 85.796 0.446408ZM80.1042 35.1552H87.3584V10.0443H80.1042V35.1552ZM104.211 23.4368C103.876 22.8788 103.318 22.3208 102.871 21.7628C102.425 21.3163 101.867 20.8699 101.309 20.3119C100.862 19.8655 100.528 19.5307 100.193 19.1959C99.9697 18.8611 99.8581 18.5262 99.8581 18.0798C99.8581 17.4102 100.193 16.9638 100.974 16.629C101.755 16.2942 102.648 16.1826 103.764 16.1826H104.88L104.211 9.48632C103.541 9.37472 102.871 9.37472 102.202 9.37472C100.416 9.37472 98.742 9.59793 97.068 10.0443C95.5055 10.4908 94.1663 11.272 93.1618 12.388C92.1574 13.5041 91.5994 14.9549 91.5994 16.8522C91.5994 18.1914 91.8226 19.3075 92.3806 20.3119C92.9386 21.3163 93.6082 22.2092 94.3895 23.102C94.8359 23.5484 95.2823 23.9948 95.7287 24.4412C96.1751 24.8877 96.6215 25.3341 96.8448 25.6689C97.068 26.0037 97.1796 26.3385 97.1796 26.7849C97.1796 27.4546 96.8447 28.0126 96.0635 28.3474C95.2823 28.6822 94.2779 28.9054 92.827 28.9054C92.269 28.9054 91.8226 28.9054 91.5994 28.7938L92.4922 35.49C93.1618 35.7132 93.7198 35.7132 94.5011 35.7132C96.6215 35.7132 98.4072 35.3784 100.081 34.8204C101.755 34.2624 103.095 33.3696 104.099 32.1419C105.103 30.9143 105.55 29.4634 105.55 27.5662C105.55 26.7849 105.438 26.0037 105.215 25.2225C104.88 24.5529 104.657 23.9948 104.211 23.4368ZM117.491 28.0126C116.933 27.4546 116.71 26.6733 116.71 25.6689V16.4058H121.956V10.0443H116.71V3.68292L109.456 5.8034V28.0126C109.456 30.5795 110.014 32.5883 111.018 33.816C112.134 35.0436 113.697 35.7132 115.817 35.7132C116.933 35.7132 117.938 35.6016 118.942 35.49C119.947 35.3784 120.728 35.1552 121.509 34.8204L122.848 28.5706C122.067 28.7938 121.063 28.9054 119.947 28.9054C118.719 28.7938 117.938 28.5706 117.491 28.0126ZM126.531 35.1552H133.786V10.0443H126.531V35.1552ZM132.223 0.446408C131.665 0.111596 130.996 -7.62939e-06 130.214 -7.62939e-06C129.433 -7.62939e-06 128.763 0.111596 128.205 0.446408C127.647 0.78122 127.089 1.22764 126.755 1.78565C126.42 2.34367 126.197 3.0133 126.197 3.68292C126.197 4.79896 126.531 5.69179 127.313 6.36141C128.094 7.03104 129.098 7.36585 130.214 7.36585C130.996 7.36585 131.665 7.25425 132.223 6.91943C132.893 6.58462 133.339 6.13821 133.674 5.58019C134.009 5.02217 134.232 4.35254 134.232 3.57132C134.232 2.79009 134.009 2.23207 133.674 1.67405C133.339 1.22764 132.893 0.78122 132.223 0.446408ZM164.477 10.0443V35.1552H157.222V31.0259C156.441 32.2535 155.548 33.258 154.432 34.0392C152.87 35.1552 150.973 35.7132 148.852 35.7132C146.732 35.7132 144.834 35.1552 143.272 34.0392C141.71 32.9231 140.482 31.3607 139.589 29.3518C138.696 27.3429 138.25 25.1109 138.25 22.544C138.25 19.9771 138.696 17.745 139.589 15.8477C140.482 13.8389 141.71 12.2764 143.272 11.1604C144.834 10.0443 146.732 9.48632 148.852 9.48632C150.973 9.48632 152.87 10.0443 154.432 11.1604C155.548 11.9416 156.441 12.946 157.222 14.1737V10.0443H164.477ZM156.664 25.6689C157.222 24.7761 157.446 23.66 157.446 22.544C157.446 21.4279 157.222 20.3119 156.664 19.4191C156.218 18.5262 155.548 17.745 154.656 17.2986C153.763 16.7406 152.87 16.5174 151.754 16.5174C150.749 16.5174 149.745 16.7406 148.852 17.2986C147.959 17.8566 147.29 18.5262 146.843 19.4191C146.285 20.3119 146.062 21.3163 146.062 22.544C146.062 23.66 146.285 24.7761 146.843 25.6689C147.401 26.5617 148.071 27.3429 148.852 27.7894C149.745 28.3474 150.638 28.5706 151.754 28.5706C152.758 28.5706 153.763 28.3474 154.656 27.7894C155.548 27.3429 156.218 26.5617 156.664 25.6689Z",
|
|
20433
20469
|
fill: "var(--text-color)"
|
|
20434
20470
|
})
|
|
@@ -20438,12 +20474,12 @@ var TrustedByBanner = () => {
|
|
|
20438
20474
|
{
|
|
20439
20475
|
id: "logo5",
|
|
20440
20476
|
url: "https://www.soundcloud.com/",
|
|
20441
|
-
light: /* @__PURE__ */
|
|
20477
|
+
light: /* @__PURE__ */ jsx104("svg", {
|
|
20442
20478
|
height: "40",
|
|
20443
20479
|
viewBox: "0 0 129 57",
|
|
20444
20480
|
fill: "none",
|
|
20445
20481
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20446
|
-
children: /* @__PURE__ */
|
|
20482
|
+
children: /* @__PURE__ */ jsx104("path", {
|
|
20447
20483
|
d: "M68.962 1.89524C67.7646 2.35781 67.4474 2.83682 67.4351 3.75787V54.1228C67.4597 55.093 68.2007 55.9034 69.1483 55.9976C69.1893 55.9996 112.847 56.0222 113.134 56.0222C121.898 56.0222 129 48.9199 129 40.1536C129 31.3872 121.898 24.287 113.134 24.287C111.027 24.286 108.941 24.7042 106.997 25.5171C105.734 11.2183 93.7445 -2.25304e-06 79.1141 -2.25304e-06C75.643 0.00545336 72.2022 0.649256 68.964 1.89936M62.4471 5.46073L61.7308 41.2056L62.4471 54.1781C62.4717 55.1257 63.2454 55.9055 64.1951 55.9055C64.6562 55.9018 65.0976 55.7172 65.4241 55.3915C65.7506 55.0657 65.9362 54.6249 65.941 54.1637V54.1761L66.7188 41.2036L65.941 5.45461C65.9165 4.49876 65.1427 3.7149 64.1951 3.7149C63.2474 3.7149 62.4553 4.50079 62.4471 5.46073ZM57.1398 8.42858L56.5259 41.1913C56.5259 41.2118 57.1398 54.3643 57.1398 54.3643C57.1643 55.2547 57.889 55.9875 58.7773 55.9875C59.2089 55.9827 59.6215 55.8099 59.9276 55.5056C60.2338 55.2014 60.4094 54.7897 60.4168 54.3582L61.1064 41.2036L60.4168 8.42645C60.3923 7.52996 59.6656 6.7993 58.7793 6.7993C58.3481 6.80456 57.9359 6.97771 57.6302 7.28189C57.3245 7.58607 57.1495 7.99738 57.142 8.42858M41.2713 11.863L40.4588 41.1933L41.2733 54.6611C41.2938 55.3816 41.8872 55.9506 42.579 55.9506C43.2708 55.9506 43.8625 55.3775 43.885 54.655V54.6488L44.7999 41.1913L43.885 11.861C43.8604 11.1303 43.2872 10.5613 42.579 10.5613C41.8708 10.5613 41.2898 11.1303 41.2693 11.861M46.5171 12.6122L45.7721 41.1953L46.5191 54.5301C46.5437 55.314 47.1577 55.9343 47.9375 55.9343C48.7174 55.9343 49.3294 55.312 49.3539 54.522V54.5301L50.1727 41.1933L49.3539 12.6101C49.3294 11.818 48.7112 11.1978 47.9375 11.1978C47.1639 11.1978 46.5356 11.82 46.5171 12.6101M36.0642 12.8148L35.1842 41.1892L36.0642 54.7388C36.0711 55.0527 36.1999 55.3516 36.4234 55.5721C36.647 55.7926 36.9477 55.9173 37.2617 55.9199C37.9064 55.9199 38.4324 55.402 38.459 54.7327L39.4496 41.1892L38.459 12.8127C38.4324 12.1475 37.9064 11.6257 37.2617 11.6257C36.9467 11.6283 36.6451 11.7538 36.4214 11.9756C36.1978 12.1974 36.0695 12.4978 36.0642 12.8127M51.808 13.6561L51.1244 41.1933L51.808 54.4461C51.8325 55.2915 52.4979 55.9567 53.3371 55.9567C54.1762 55.9567 54.8435 55.2915 54.8619 54.438V54.4483L55.6272 41.1953L54.8619 13.6539C54.8581 13.2511 54.6962 12.8658 54.4109 12.5813C54.1256 12.2968 53.7399 12.1359 53.3371 12.1332C52.5184 12.1332 51.8223 12.8026 51.808 13.6561ZM30.8982 14.9946C30.8982 14.9967 29.9566 41.1831 29.9566 41.1831L30.8982 54.8719C30.9066 55.1562 31.0241 55.4263 31.2266 55.6261C31.429 55.8258 31.7008 55.9398 31.9851 55.9444C32.5643 55.9444 33.041 55.4736 33.0697 54.8678L34.1341 41.1831L33.0697 14.9946C33.039 14.3908 32.5623 13.918 31.9851 13.918C31.7001 13.9227 31.4278 14.0372 31.2253 14.2378C31.0228 14.4385 30.9056 14.7097 30.8982 14.9946ZM25.7751 19.866L24.7659 41.1831L25.7751 54.9578C25.8017 55.4961 26.2296 55.9199 26.7515 55.9199C27.0066 55.9138 27.2498 55.8107 27.4316 55.6316C27.6133 55.4525 27.7198 55.2108 27.7296 54.9558V54.96L28.872 41.1851L27.7296 19.868C27.6969 19.3276 27.2673 18.9019 26.7515 18.9019C26.2357 18.9019 25.8017 19.3256 25.7751 19.866ZM15.6516 27.0563L14.5138 41.179L15.6516 54.8412C15.6844 55.2648 16.008 55.5821 16.4092 55.5821C16.8103 55.5821 17.1296 55.2648 17.1665 54.8412L18.4559 41.179L17.1665 27.0522C17.1296 26.6326 16.8062 26.3112 16.4092 26.3112C16.0121 26.3112 15.6823 26.6306 15.6516 27.0563ZM10.6514 27.4308C10.6514 27.4329 9.44385 41.177 9.44385 41.177L10.6514 54.4195C10.6882 54.788 10.9585 55.0337 11.2982 55.0337C11.638 55.0337 11.9042 54.7676 11.9431 54.3992L13.3103 41.1565L11.9451 27.4103C11.9042 27.0419 11.6319 26.7758 11.2982 26.7758C10.9646 26.7758 10.6841 27.0419 10.6514 27.4103M20.6929 28.0592L19.6205 41.1585L20.6929 54.9334C20.7256 55.4184 21.0942 55.7888 21.5588 55.7888C22.0235 55.7888 22.3898 55.4204 22.4246 54.9354L23.6423 41.1606L22.4246 28.0531C22.3877 27.5721 22.0194 27.2057 21.5588 27.2057C21.0983 27.2057 20.7236 27.57 20.6929 28.0592ZM5.69409 29.5738C5.69409 29.5758 4.4251 41.1585 4.4251 41.1585L5.69409 52.4894C5.73093 52.7924 5.9603 53.0094 6.23252 53.0094C6.50474 53.0094 6.72376 52.7965 6.7647 52.4916L8.20559 41.1585L6.7647 29.5738C6.71762 29.2668 6.49869 29.0539 6.22852 29.0539C5.95835 29.0539 5.72693 29.2729 5.69009 29.5738M0.941686 33.9948L0 41.1585L0.941686 48.1994C0.978528 48.4962 1.19125 48.705 1.45938 48.705C1.7275 48.705 1.93013 48.4962 1.97107 48.2015L3.08865 41.1565L1.97107 33.9928C1.93013 33.698 1.71727 33.4913 1.45938 33.4913C1.20148 33.4913 0.976481 33.7 0.941686 33.9948Z",
|
|
20448
20484
|
fill: "var(--text-color)"
|
|
20449
20485
|
})
|
|
@@ -20452,13 +20488,13 @@ var TrustedByBanner = () => {
|
|
|
20452
20488
|
];
|
|
20453
20489
|
return /* @__PURE__ */ jsxs43(Fragment8, {
|
|
20454
20490
|
children: [
|
|
20455
|
-
/* @__PURE__ */
|
|
20491
|
+
/* @__PURE__ */ jsx104("h3", {
|
|
20456
20492
|
className: "text-center mt-20 mb-10",
|
|
20457
20493
|
children: "Trusted by"
|
|
20458
20494
|
}),
|
|
20459
|
-
/* @__PURE__ */
|
|
20495
|
+
/* @__PURE__ */ jsx104("div", {
|
|
20460
20496
|
className: "text-center flex flex-col lg:flex-row flex-nowrap justify-center items-center gap-10 mb-20",
|
|
20461
|
-
children: logos.map((logo) => /* @__PURE__ */
|
|
20497
|
+
children: logos.map((logo) => /* @__PURE__ */ jsx104("a", {
|
|
20462
20498
|
href: logo.url,
|
|
20463
20499
|
target: "_blank",
|
|
20464
20500
|
className: "opacity-80 hover:opacity-100 transition-opacity",
|
|
@@ -20472,7 +20508,7 @@ var TrustedByBanner_default = TrustedByBanner;
|
|
|
20472
20508
|
|
|
20473
20509
|
// src/components/homepage/VideoAppsShowcase.tsx
|
|
20474
20510
|
import { useEffect as useEffect47, useRef as useRef35, useState as useState41 } from "react";
|
|
20475
|
-
import { jsx as
|
|
20511
|
+
import { jsx as jsx106, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
20476
20512
|
var tabs = [
|
|
20477
20513
|
"Music visualization",
|
|
20478
20514
|
"Captions",
|
|
@@ -20566,12 +20602,12 @@ var VideoAppsShowcase = () => {
|
|
|
20566
20602
|
return /* @__PURE__ */ jsxs45("div", {
|
|
20567
20603
|
ref: containerRef,
|
|
20568
20604
|
children: [
|
|
20569
|
-
/* @__PURE__ */
|
|
20605
|
+
/* @__PURE__ */ jsx106(SectionTitle, {
|
|
20570
20606
|
children: "Use Cases"
|
|
20571
20607
|
}),
|
|
20572
|
-
/* @__PURE__ */
|
|
20608
|
+
/* @__PURE__ */ jsx106("div", {
|
|
20573
20609
|
className: "grid justify-center grid-flow-col grid-rows-1 gap-2.5 justify-self-center mb-4 w-[90vw] md:w-auto -mt-4",
|
|
20574
|
-
children: tabs.map((tab, index) => /* @__PURE__ */
|
|
20610
|
+
children: tabs.map((tab, index) => /* @__PURE__ */ jsx106("button", {
|
|
20575
20611
|
type: "button",
|
|
20576
20612
|
"data-active": index === activeTab,
|
|
20577
20613
|
className: `bg-transparent border-none m-0 p-0 lg:mx-3 my-4 cursor-pointer text-base fontbrand font-bold transition-colors text-muted data-[active=true]:text-brand`,
|
|
@@ -20579,7 +20615,7 @@ var VideoAppsShowcase = () => {
|
|
|
20579
20615
|
children: tab
|
|
20580
20616
|
}, tab))
|
|
20581
20617
|
}),
|
|
20582
|
-
/* @__PURE__ */
|
|
20618
|
+
/* @__PURE__ */ jsx106("div", {
|
|
20583
20619
|
className: "card flex p-0 overflow-hidden",
|
|
20584
20620
|
children: /* @__PURE__ */ jsxs45("div", {
|
|
20585
20621
|
className: "flex-1 flex flex-col lg:flex-row justify-center",
|
|
@@ -20588,7 +20624,7 @@ var VideoAppsShowcase = () => {
|
|
|
20588
20624
|
className: "w-full max-w-[500px] aspect-square relative overflow-hidden bg-[#eee] cursor-pointer",
|
|
20589
20625
|
onClick: handlePlayPause,
|
|
20590
20626
|
children: [
|
|
20591
|
-
/* @__PURE__ */
|
|
20627
|
+
/* @__PURE__ */ jsx106(MuxVideo, {
|
|
20592
20628
|
ref: videoRef,
|
|
20593
20629
|
muxId: videoApps[activeTab].muxId,
|
|
20594
20630
|
className: "absolute left-0 top-0 w-full h-full object-contain rounded-sm rounded-tr-none rounded-br-none",
|
|
@@ -20596,21 +20632,21 @@ var VideoAppsShowcase = () => {
|
|
|
20596
20632
|
playsInline: true,
|
|
20597
20633
|
muted: isMuted
|
|
20598
20634
|
}),
|
|
20599
|
-
/* @__PURE__ */
|
|
20635
|
+
/* @__PURE__ */ jsx106("button", {
|
|
20600
20636
|
type: "button",
|
|
20601
20637
|
className: "absolute bottom-2.5 left-2.5 bg-white text-black rounded-full w-8 h-8 flex justify-center items-center text-base cursor-pointer transition-colors border-2 border-black border-solid",
|
|
20602
20638
|
onClick: (e) => {
|
|
20603
20639
|
e.stopPropagation();
|
|
20604
20640
|
handlePlayPause();
|
|
20605
20641
|
},
|
|
20606
|
-
children: isPlaying ? /* @__PURE__ */
|
|
20642
|
+
children: isPlaying ? /* @__PURE__ */ jsx106(PlayingIcon, {
|
|
20607
20643
|
style: {
|
|
20608
20644
|
width: 12,
|
|
20609
20645
|
height: 20,
|
|
20610
20646
|
marginLeft: "2px",
|
|
20611
20647
|
marginTop: "1px"
|
|
20612
20648
|
}
|
|
20613
|
-
}) : /* @__PURE__ */
|
|
20649
|
+
}) : /* @__PURE__ */ jsx106(PausedIcon, {
|
|
20614
20650
|
style: {
|
|
20615
20651
|
width: 14,
|
|
20616
20652
|
height: 16,
|
|
@@ -20619,20 +20655,20 @@ var VideoAppsShowcase = () => {
|
|
|
20619
20655
|
}
|
|
20620
20656
|
})
|
|
20621
20657
|
}),
|
|
20622
|
-
/* @__PURE__ */
|
|
20658
|
+
/* @__PURE__ */ jsx106("button", {
|
|
20623
20659
|
type: "button",
|
|
20624
20660
|
className: "absolute bottom-2.5 right-2.5 bg-white text-black rounded-full w-8 h-8 flex justify-center items-center text-base cursor-pointer transition-colors border-2 border-black border-solid",
|
|
20625
20661
|
onClick: (e) => {
|
|
20626
20662
|
e.stopPropagation();
|
|
20627
20663
|
handleMuteToggle();
|
|
20628
20664
|
},
|
|
20629
|
-
children: isMuted ? /* @__PURE__ */
|
|
20665
|
+
children: isMuted ? /* @__PURE__ */ jsx106(IsMutedIcon, {
|
|
20630
20666
|
style: {
|
|
20631
20667
|
width: 16,
|
|
20632
20668
|
height: 16,
|
|
20633
20669
|
marginTop: "1px"
|
|
20634
20670
|
}
|
|
20635
|
-
}) : /* @__PURE__ */
|
|
20671
|
+
}) : /* @__PURE__ */ jsx106(NotMutedIcon, {
|
|
20636
20672
|
style: {
|
|
20637
20673
|
width: 16,
|
|
20638
20674
|
height: 16,
|
|
@@ -20645,19 +20681,19 @@ var VideoAppsShowcase = () => {
|
|
|
20645
20681
|
/* @__PURE__ */ jsxs45("div", {
|
|
20646
20682
|
className: "p-6 flex-1 flex flex-col h-full",
|
|
20647
20683
|
children: [
|
|
20648
|
-
/* @__PURE__ */
|
|
20684
|
+
/* @__PURE__ */ jsx106("div", {
|
|
20649
20685
|
className: "text-4xl font-bold fontbrand mt-0",
|
|
20650
20686
|
children: videoApps[activeTab].title
|
|
20651
20687
|
}),
|
|
20652
|
-
/* @__PURE__ */
|
|
20688
|
+
/* @__PURE__ */ jsx106("div", {
|
|
20653
20689
|
className: "text-muted mt-4 text-base fontbrand",
|
|
20654
20690
|
children: videoApps[activeTab].description
|
|
20655
20691
|
}),
|
|
20656
|
-
videoApps[activeTab].additionalInfo ? /* @__PURE__ */
|
|
20692
|
+
videoApps[activeTab].additionalInfo ? /* @__PURE__ */ jsx106("div", {
|
|
20657
20693
|
className: "text-muted mt-4 text-base fontbrand",
|
|
20658
20694
|
children: videoApps[activeTab].additionalInfo
|
|
20659
20695
|
}) : null,
|
|
20660
|
-
/* @__PURE__ */
|
|
20696
|
+
/* @__PURE__ */ jsx106("div", {
|
|
20661
20697
|
className: "h-5"
|
|
20662
20698
|
}),
|
|
20663
20699
|
/* @__PURE__ */ jsxs45("a", {
|
|
@@ -20665,11 +20701,11 @@ var VideoAppsShowcase = () => {
|
|
|
20665
20701
|
href: videoApps[activeTab].link,
|
|
20666
20702
|
children: [
|
|
20667
20703
|
videoApps[activeTab].buttonText,
|
|
20668
|
-
/* @__PURE__ */
|
|
20704
|
+
/* @__PURE__ */ jsx106("svg", {
|
|
20669
20705
|
style: icon5,
|
|
20670
20706
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20671
20707
|
viewBox: "0 0 448 512",
|
|
20672
|
-
children: /* @__PURE__ */
|
|
20708
|
+
children: /* @__PURE__ */ jsx106("path", {
|
|
20673
20709
|
fill: "currentColor",
|
|
20674
20710
|
d: "M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z"
|
|
20675
20711
|
})
|
|
@@ -20681,7 +20717,7 @@ var VideoAppsShowcase = () => {
|
|
|
20681
20717
|
]
|
|
20682
20718
|
})
|
|
20683
20719
|
}),
|
|
20684
|
-
/* @__PURE__ */
|
|
20720
|
+
/* @__PURE__ */ jsx106("div", {
|
|
20685
20721
|
style: {
|
|
20686
20722
|
marginTop: "1rem",
|
|
20687
20723
|
justifyContent: "center",
|
|
@@ -20694,7 +20730,7 @@ var VideoAppsShowcase = () => {
|
|
|
20694
20730
|
children: [
|
|
20695
20731
|
"For more examples see our",
|
|
20696
20732
|
" ",
|
|
20697
|
-
/* @__PURE__ */
|
|
20733
|
+
/* @__PURE__ */ jsx106("a", {
|
|
20698
20734
|
href: "/showcase",
|
|
20699
20735
|
className: "bluelink",
|
|
20700
20736
|
children: "Showcase page"
|
|
@@ -21225,13 +21261,13 @@ var CreateVideoInternals = {
|
|
|
21225
21261
|
};
|
|
21226
21262
|
|
|
21227
21263
|
// src/components/icons/blank.tsx
|
|
21228
|
-
import { jsx as
|
|
21264
|
+
import { jsx as jsx107 } from "react/jsx-runtime";
|
|
21229
21265
|
var Blank = (props) => {
|
|
21230
|
-
return /* @__PURE__ */
|
|
21266
|
+
return /* @__PURE__ */ jsx107("svg", {
|
|
21231
21267
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21232
21268
|
viewBox: "0 0 384 512",
|
|
21233
21269
|
...props,
|
|
21234
|
-
children: /* @__PURE__ */
|
|
21270
|
+
children: /* @__PURE__ */ jsx107("path", {
|
|
21235
21271
|
fill: "currentColor",
|
|
21236
21272
|
d: "M0 64C0 28.65 28.65 0 64 0H220.1C232.8 0 245.1 5.057 254.1 14.06L369.9 129.9C378.9 138.9 384 151.2 384 163.9V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V64zM352 192H240C213.5 192 192 170.5 192 144V32H64C46.33 32 32 46.33 32 64V448C32 465.7 46.33 480 64 480H320C337.7 480 352 465.7 352 448V192zM347.3 152.6L231.4 36.69C229.4 34.62 226.8 33.18 224 32.48V144C224 152.8 231.2 160 240 160H351.5C350.8 157.2 349.4 154.6 347.3 152.6z"
|
|
21237
21273
|
})
|
|
@@ -21239,29 +21275,29 @@ var Blank = (props) => {
|
|
|
21239
21275
|
};
|
|
21240
21276
|
|
|
21241
21277
|
// src/components/icons/code-hike.tsx
|
|
21242
|
-
import { jsx as
|
|
21278
|
+
import { jsx as jsx108, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
21243
21279
|
var CodeHike = (props) => {
|
|
21244
21280
|
return /* @__PURE__ */ jsxs46("svg", {
|
|
21245
21281
|
...props,
|
|
21246
21282
|
viewBox: "-100 -100 200 200",
|
|
21247
21283
|
fill: "currentColor",
|
|
21248
21284
|
children: [
|
|
21249
|
-
/* @__PURE__ */
|
|
21285
|
+
/* @__PURE__ */ jsx108("path", {
|
|
21250
21286
|
d: "M 70 60 L 42 -27 L 72 -27 L 100 60 Z"
|
|
21251
21287
|
}),
|
|
21252
|
-
/* @__PURE__ */
|
|
21288
|
+
/* @__PURE__ */ jsx108("path", {
|
|
21253
21289
|
d: "M 20.419540229885058 40.05357142857142 L 42 -27 L 72 -27 L 50.41954022988506 40.05357142857142 Z"
|
|
21254
21290
|
}),
|
|
21255
|
-
/* @__PURE__ */
|
|
21291
|
+
/* @__PURE__ */ jsx108("path", {
|
|
21256
21292
|
d: "M 20.419540229885058 40.05357142857142 L -15 -70 L 15 -70 L 50.41954022988506 40.05357142857142 Z"
|
|
21257
21293
|
}),
|
|
21258
|
-
/* @__PURE__ */
|
|
21294
|
+
/* @__PURE__ */ jsx108("path", {
|
|
21259
21295
|
d: "M -50.41954022988506 40.05357142857142 L -15 -70 L 15 -70 L -20.419540229885058 40.05357142857142 Z"
|
|
21260
21296
|
}),
|
|
21261
|
-
/* @__PURE__ */
|
|
21297
|
+
/* @__PURE__ */ jsx108("path", {
|
|
21262
21298
|
d: "M -50.41954022988506 40.05357142857142 L -72 -27 L -42 -27 L -20.419540229885058 40.05357142857142 Z"
|
|
21263
21299
|
}),
|
|
21264
|
-
/* @__PURE__ */
|
|
21300
|
+
/* @__PURE__ */ jsx108("path", {
|
|
21265
21301
|
d: "M -100 60 L -72 -27 L -42 -27 L -70 60 Z"
|
|
21266
21302
|
})
|
|
21267
21303
|
]
|
|
@@ -21269,13 +21305,13 @@ var CodeHike = (props) => {
|
|
|
21269
21305
|
};
|
|
21270
21306
|
|
|
21271
21307
|
// src/components/icons/cubes.tsx
|
|
21272
|
-
import { jsx as
|
|
21308
|
+
import { jsx as jsx109 } from "react/jsx-runtime";
|
|
21273
21309
|
var Cubes = (props) => {
|
|
21274
|
-
return /* @__PURE__ */
|
|
21310
|
+
return /* @__PURE__ */ jsx109("svg", {
|
|
21275
21311
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21276
21312
|
viewBox: "0 0 512 512",
|
|
21277
21313
|
...props,
|
|
21278
|
-
children: /* @__PURE__ */
|
|
21314
|
+
children: /* @__PURE__ */ jsx109("path", {
|
|
21279
21315
|
fill: "currentColor",
|
|
21280
21316
|
d: "M239.5 5.018C250.1 1.106 261.9 1.106 272.5 5.018L480.5 81.28C499.4 88.22 512 106.2 512 126.4V385.7C512 405.8 499.4 423.8 480.5 430.7L272.5 506.1C261.9 510.9 250.1 510.9 239.5 506.1L31.48 430.7C12.57 423.8 0 405.8 0 385.7V126.4C0 106.2 12.57 88.22 31.48 81.28L239.5 5.018zM261.5 35.06C257.1 33.76 254 33.76 250.5 35.06L44.14 110.7L256 193.1L467.9 110.7L261.5 35.06zM42.49 400.7L240 473.1V222L32 140.3V385.7C32 392.4 36.19 398.4 42.49 400.7V400.7zM272 473.1L469.5 400.7C475.8 398.4 480 392.4 480 385.7V140.3L272 222V473.1z"
|
|
21281
21317
|
})
|
|
@@ -21283,13 +21319,13 @@ var Cubes = (props) => {
|
|
|
21283
21319
|
};
|
|
21284
21320
|
|
|
21285
21321
|
// src/components/icons/js.tsx
|
|
21286
|
-
import { jsx as
|
|
21322
|
+
import { jsx as jsx110 } from "react/jsx-runtime";
|
|
21287
21323
|
var JSIcon = (props) => {
|
|
21288
|
-
return /* @__PURE__ */
|
|
21324
|
+
return /* @__PURE__ */ jsx110("svg", {
|
|
21289
21325
|
className: "svg-inline--fa fa-js-square fa-w-14",
|
|
21290
21326
|
viewBox: "0 0 448 512",
|
|
21291
21327
|
...props,
|
|
21292
|
-
children: /* @__PURE__ */
|
|
21328
|
+
children: /* @__PURE__ */ jsx110("path", {
|
|
21293
21329
|
fill: "currentColor",
|
|
21294
21330
|
d: "M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM243.8 381.4c0 43.6-25.6 63.5-62.9 63.5-33.7 0-53.2-17.4-63.2-38.5l34.3-20.7c6.6 11.7 12.6 21.6 27.1 21.6 13.8 0 22.6-5.4 22.6-26.5V237.7h42.1v143.7zm99.6 63.5c-39.1 0-64.4-18.6-76.7-43l34.3-19.8c9 14.7 20.8 25.6 41.5 25.6 17.4 0 28.6-8.7 28.6-20.8 0-14.4-11.4-19.5-30.7-28l-10.5-4.5c-30.4-12.9-50.5-29.2-50.5-63.5 0-31.6 24.1-55.6 61.6-55.6 26.8 0 46 9.3 59.8 33.7L368 290c-7.2-12.9-15-18-27.1-18-12.3 0-20.1 7.8-20.1 18 0 12.6 7.8 17.7 25.9 25.6l10.5 4.5c35.8 15.3 55.9 31 55.9 66.2 0 37.8-29.8 58.6-69.7 58.6z"
|
|
21295
21331
|
})
|
|
@@ -21297,20 +21333,20 @@ var JSIcon = (props) => {
|
|
|
21297
21333
|
};
|
|
21298
21334
|
|
|
21299
21335
|
// src/components/icons/music.tsx
|
|
21300
|
-
import { jsx as
|
|
21336
|
+
import { jsx as jsx111 } from "react/jsx-runtime";
|
|
21301
21337
|
var MusicIcon = (props) => {
|
|
21302
|
-
return /* @__PURE__ */
|
|
21338
|
+
return /* @__PURE__ */ jsx111("svg", {
|
|
21303
21339
|
...props,
|
|
21304
21340
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21305
21341
|
viewBox: "0 0 512 512",
|
|
21306
|
-
children: /* @__PURE__ */
|
|
21342
|
+
children: /* @__PURE__ */ jsx111("path", {
|
|
21307
21343
|
d: "M499.1 6.3c8.1 6 12.9 15.6 12.9 25.7l0 72 0 264c0 44.2-43 80-96 80s-96-35.8-96-80s43-80 96-80c11.2 0 22 1.6 32 4.6L448 147 192 223.8 192 432c0 44.2-43 80-96 80s-96-35.8-96-80s43-80 96-80c11.2 0 22 1.6 32 4.6L128 200l0-72c0-14.1 9.3-26.6 22.8-30.7l320-96c9.7-2.9 20.2-1.1 28.3 5z"
|
|
21308
21344
|
})
|
|
21309
21345
|
});
|
|
21310
21346
|
};
|
|
21311
21347
|
|
|
21312
21348
|
// src/components/icons/next.tsx
|
|
21313
|
-
import { jsx as
|
|
21349
|
+
import { jsx as jsx113, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
21314
21350
|
var NextIcon = ({ style: style4 }) => {
|
|
21315
21351
|
return /* @__PURE__ */ jsxs47("svg", {
|
|
21316
21352
|
fill: "none",
|
|
@@ -21318,7 +21354,7 @@ var NextIcon = ({ style: style4 }) => {
|
|
|
21318
21354
|
style: style4,
|
|
21319
21355
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21320
21356
|
children: [
|
|
21321
|
-
/* @__PURE__ */
|
|
21357
|
+
/* @__PURE__ */ jsx113("mask", {
|
|
21322
21358
|
height: "180",
|
|
21323
21359
|
id: "mask0_292_250",
|
|
21324
21360
|
maskUnits: "userSpaceOnUse",
|
|
@@ -21326,7 +21362,7 @@ var NextIcon = ({ style: style4 }) => {
|
|
|
21326
21362
|
width: "180",
|
|
21327
21363
|
x: "0",
|
|
21328
21364
|
y: "0",
|
|
21329
|
-
children: /* @__PURE__ */
|
|
21365
|
+
children: /* @__PURE__ */ jsx113("circle", {
|
|
21330
21366
|
cx: "90",
|
|
21331
21367
|
cy: "90",
|
|
21332
21368
|
fill: "currentcolor",
|
|
@@ -21336,17 +21372,17 @@ var NextIcon = ({ style: style4 }) => {
|
|
|
21336
21372
|
/* @__PURE__ */ jsxs47("g", {
|
|
21337
21373
|
mask: "url(#mask0_292_250)",
|
|
21338
21374
|
children: [
|
|
21339
|
-
/* @__PURE__ */
|
|
21375
|
+
/* @__PURE__ */ jsx113("circle", {
|
|
21340
21376
|
cx: "90",
|
|
21341
21377
|
cy: "90",
|
|
21342
21378
|
fill: "currentcolor",
|
|
21343
21379
|
r: "90"
|
|
21344
21380
|
}),
|
|
21345
|
-
/* @__PURE__ */
|
|
21381
|
+
/* @__PURE__ */ jsx113("path", {
|
|
21346
21382
|
d: "M149.508 157.52L69.142 54H54V125.97H66.1136V69.3836L139.999 164.845C143.333 162.614 146.509 160.165 149.508 157.52Z",
|
|
21347
21383
|
fill: "url(#paint0_linear_292_250)"
|
|
21348
21384
|
}),
|
|
21349
|
-
/* @__PURE__ */
|
|
21385
|
+
/* @__PURE__ */ jsx113("rect", {
|
|
21350
21386
|
fill: "url(#paint1_linear_292_250)",
|
|
21351
21387
|
height: "72",
|
|
21352
21388
|
width: "12",
|
|
@@ -21365,10 +21401,10 @@ var NextIcon = ({ style: style4 }) => {
|
|
|
21365
21401
|
y1: "116.5",
|
|
21366
21402
|
y2: "160.5",
|
|
21367
21403
|
children: [
|
|
21368
|
-
/* @__PURE__ */
|
|
21404
|
+
/* @__PURE__ */ jsx113("stop", {
|
|
21369
21405
|
stopColor: "var(--background)"
|
|
21370
21406
|
}),
|
|
21371
|
-
/* @__PURE__ */
|
|
21407
|
+
/* @__PURE__ */ jsx113("stop", {
|
|
21372
21408
|
offset: "1",
|
|
21373
21409
|
stopColor: "var(--background)",
|
|
21374
21410
|
stopOpacity: "0"
|
|
@@ -21383,10 +21419,10 @@ var NextIcon = ({ style: style4 }) => {
|
|
|
21383
21419
|
y1: "54",
|
|
21384
21420
|
y2: "106.875",
|
|
21385
21421
|
children: [
|
|
21386
|
-
/* @__PURE__ */
|
|
21422
|
+
/* @__PURE__ */ jsx113("stop", {
|
|
21387
21423
|
stopColor: "var(--background)"
|
|
21388
21424
|
}),
|
|
21389
|
-
/* @__PURE__ */
|
|
21425
|
+
/* @__PURE__ */ jsx113("stop", {
|
|
21390
21426
|
offset: "1",
|
|
21391
21427
|
stopColor: "var(--background)",
|
|
21392
21428
|
stopOpacity: "0"
|
|
@@ -21400,7 +21436,7 @@ var NextIcon = ({ style: style4 }) => {
|
|
|
21400
21436
|
};
|
|
21401
21437
|
|
|
21402
21438
|
// src/components/icons/overlay.tsx
|
|
21403
|
-
import { jsx as
|
|
21439
|
+
import { jsx as jsx115, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
21404
21440
|
var OverlayIcon = (props) => {
|
|
21405
21441
|
return /* @__PURE__ */ jsxs48("svg", {
|
|
21406
21442
|
viewBox: "0 0 576 512",
|
|
@@ -21408,11 +21444,11 @@ var OverlayIcon = (props) => {
|
|
|
21408
21444
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21409
21445
|
...props,
|
|
21410
21446
|
children: [
|
|
21411
|
-
/* @__PURE__ */
|
|
21447
|
+
/* @__PURE__ */ jsx115("path", {
|
|
21412
21448
|
d: "M251.1 407.9C274.5 418.7 301.5 418.7 324.9 407.9V407.8L476.9 337.6L530.1 362.2C538.6 366.1 544 374.6 544 384C544 393.4 538.6 401.9 530.1 405.8L311.5 506.8C296.6 513.7 279.4 513.7 264.5 506.8L45.9 405.8C37.4 401.9 32 393.4 32 384C32 374.6 37.4 366.1 45.9 362.2L99.1 337.7L251.1 407.9Z",
|
|
21413
21449
|
fill: "currentcolor"
|
|
21414
21450
|
}),
|
|
21415
|
-
/* @__PURE__ */
|
|
21451
|
+
/* @__PURE__ */ jsx115("path", {
|
|
21416
21452
|
d: "M277.8 132.7L495.2 230.1C505.4 234.7 512 244.8 512 256C512 267.2 505.4 277.3 495.2 281.9L277.8 379.3C270.1 382.4 263.5 384 256 384C248.5 384 241 382.4 234.2 379.3L16.76 281.9C6.561 277.3 0.0003 267.2 0.0003 256C0.0003 244.8 6.561 234.7 16.76 230.1L234.2 132.7C241 129.6 248.5 128 256 128C263.5 128 270.1 129.6 277.8 132.7Z",
|
|
21417
21453
|
stroke: "currentcolor",
|
|
21418
21454
|
transform: "translate(32, -25)",
|
|
@@ -21423,23 +21459,23 @@ var OverlayIcon = (props) => {
|
|
|
21423
21459
|
};
|
|
21424
21460
|
|
|
21425
21461
|
// src/components/icons/recorder.tsx
|
|
21426
|
-
import { jsx as
|
|
21462
|
+
import { jsx as jsx116, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
21427
21463
|
var Recorder = (props) => {
|
|
21428
21464
|
return /* @__PURE__ */ jsxs49("svg", {
|
|
21429
21465
|
viewBox: "0 0 700 700",
|
|
21430
21466
|
...props,
|
|
21431
21467
|
children: [
|
|
21432
|
-
/* @__PURE__ */
|
|
21468
|
+
/* @__PURE__ */ jsx116("path", {
|
|
21433
21469
|
d: "M0 350C0 115.5 115.5 0 350 0C584.5 0 700 115.5 700 350C700 584.5 584.5 700 350 700C115.5 700 0 584.5 0 350Z",
|
|
21434
21470
|
fill: "#F43B00",
|
|
21435
21471
|
fillOpacity: "0.15"
|
|
21436
21472
|
}),
|
|
21437
|
-
/* @__PURE__ */
|
|
21473
|
+
/* @__PURE__ */ jsx116("path", {
|
|
21438
21474
|
d: "M79.4595 344.324C79.4595 161.794 169.362 71.8915 351.892 71.8915C534.422 71.8915 624.324 161.794 624.324 344.324C624.324 526.854 534.422 616.756 351.892 616.756C169.362 616.756 79.4595 526.854 79.4595 344.324Z",
|
|
21439
21475
|
fill: "#F43B00",
|
|
21440
21476
|
fillOpacity: "0.3"
|
|
21441
21477
|
}),
|
|
21442
|
-
/* @__PURE__ */
|
|
21478
|
+
/* @__PURE__ */ jsx116("path", {
|
|
21443
21479
|
d: "M155.135 343.378C155.135 212.185 219.752 147.567 350.946 147.567C482.139 147.567 546.756 212.185 546.756 343.378C546.756 474.571 482.139 539.189 350.946 539.189C219.752 539.189 155.135 474.571 155.135 343.378Z",
|
|
21444
21480
|
fill: "#F43B00"
|
|
21445
21481
|
})
|
|
@@ -21448,9 +21484,9 @@ var Recorder = (props) => {
|
|
|
21448
21484
|
};
|
|
21449
21485
|
|
|
21450
21486
|
// src/components/icons/remix.tsx
|
|
21451
|
-
import { jsx as
|
|
21487
|
+
import { jsx as jsx117, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
21452
21488
|
var ReactRouterIcon = (props) => {
|
|
21453
|
-
return /* @__PURE__ */
|
|
21489
|
+
return /* @__PURE__ */ jsx117("svg", {
|
|
21454
21490
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21455
21491
|
width: "800px",
|
|
21456
21492
|
height: "800px",
|
|
@@ -21460,11 +21496,11 @@ var ReactRouterIcon = (props) => {
|
|
|
21460
21496
|
...props,
|
|
21461
21497
|
children: /* @__PURE__ */ jsxs50("g", {
|
|
21462
21498
|
children: [
|
|
21463
|
-
/* @__PURE__ */
|
|
21499
|
+
/* @__PURE__ */ jsx117("path", {
|
|
21464
21500
|
d: "M78.0659341,92.5875806 C90.8837956,92.5875806 101.274726,82.1966508 101.274726,69.3787894 C101.274726,56.5609279 90.8837956,46.1699982 78.0659341,46.1699982 C65.2480726,46.1699982 54.8571429,56.5609279 54.8571429,69.3787894 C54.8571429,82.1966508 65.2480726,92.5875806 78.0659341,92.5875806 Z M23.2087913,139.005163 C36.0266526,139.005163 46.4175825,128.614233 46.4175825,115.796372 C46.4175825,102.97851 36.0266526,92.5875806 23.2087913,92.5875806 C10.3909298,92.5875806 0,102.97851 0,115.796372 C0,128.614233 10.3909298,139.005163 23.2087913,139.005163 Z M232.791209,139.005163 C245.60907,139.005163 256,128.614233 256,115.796372 C256,102.97851 245.60907,92.5875806 232.791209,92.5875806 C219.973347,92.5875806 209.582418,102.97851 209.582418,115.796372 C209.582418,128.614233 219.973347,139.005163 232.791209,139.005163 Z",
|
|
21465
21501
|
fill: "currentcolor"
|
|
21466
21502
|
}),
|
|
21467
|
-
/* @__PURE__ */
|
|
21503
|
+
/* @__PURE__ */ jsx117("path", {
|
|
21468
21504
|
d: "M156.565464,70.3568084 C155.823426,62.6028163 155.445577,56.1490255 149.505494,51.6131676 C141.982638,45.8687002 133.461166,49.5960243 122.964463,45.8072968 C112.650326,43.3121427 105,34.1545727 105,23.2394367 C105,10.4046502 115.577888,0 128.626373,0 C138.29063,0 146.599638,5.70747659 150.259573,13.8825477 C155.861013,24.5221258 152.220489,35.3500418 159.258242,40.8041273 C167.591489,47.2621895 178.826167,42.5329154 191.362109,48.6517412 C195.390112,50.5026944 198.799584,53.4384578 201.202056,57.0769224 C203.604528,60.7153869 205,65.0565524 205,69.7183101 C205,80.633446 197.349674,89.7910161 187.035538,92.2861702 C176.538834,96.0748977 168.017363,92.3475736 160.494506,98.092041 C152.03503,104.551712 156.563892,115.358642 149.669352,126.774447 C145.756163,134.291567 137.802119,139.43662 128.626373,139.43662 C115.577888,139.43662 105,129.03197 105,116.197184 C105,106.873668 110.581887,98.832521 118.637891,95.1306146 C131.173833,89.0117889 142.408511,93.7410629 150.741758,87.2830007 C155.549106,83.5574243 156.565464,77.8102648 156.565464,70.3568084 Z",
|
|
21469
21505
|
fill: "currentcolor"
|
|
21470
21506
|
})
|
|
@@ -21474,13 +21510,13 @@ var ReactRouterIcon = (props) => {
|
|
|
21474
21510
|
};
|
|
21475
21511
|
|
|
21476
21512
|
// src/components/icons/skia.tsx
|
|
21477
|
-
import { jsx as
|
|
21513
|
+
import { jsx as jsx118 } from "react/jsx-runtime";
|
|
21478
21514
|
var SkiaIcon = (props) => {
|
|
21479
|
-
return /* @__PURE__ */
|
|
21515
|
+
return /* @__PURE__ */ jsx118("svg", {
|
|
21480
21516
|
...props,
|
|
21481
21517
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21482
21518
|
viewBox: "0 0 576 512",
|
|
21483
|
-
children: /* @__PURE__ */
|
|
21519
|
+
children: /* @__PURE__ */ jsx118("path", {
|
|
21484
21520
|
fill: "currentColor",
|
|
21485
21521
|
d: "M288 400C288 461.9 237.9 512 176 512H32C14.33 512 0 497.7 0 480C0 462.3 14.33 448 32 448H36.81C54.44 448 66.4 429.1 64.59 411.6C64.2 407.8 64 403.9 64 400C64 338.1 114.1 288 176 288C178.8 288 181.5 288.1 184.3 288.3C184.1 285.7 183.1 282.1 183.1 280.3C183.1 244.6 201.1 210.1 229.1 189.1L474.3 12.25C499.7-6.279 534.9-3.526 557.2 18.74C579.4 41 582.2 76.16 563.7 101.6L386.1 345.1C365 374.9 331.4 392 295.7 392C293 392 290.3 391.9 287.7 391.7C287.9 394.5 287.1 397.2 287.1 400H288zM295.7 360C321.2 360 345.2 347.8 360.2 327.2L537.8 82.82C547.1 70.08 545.7 52.5 534.5 41.37C523.4 30.24 505.8 28.86 493.1 38.12L248.8 215.8C228.2 230.8 215.1 254.8 215.1 280.3C215.1 285.7 216.5 290.9 217.5 295.1L217.6 295.1C217.9 297.3 218.2 298.6 218.5 299.9L276.1 357.5C277.4 357.8 278.7 358.1 280 358.4L280 358.5C285.1 359.5 290.3 360 295.7 360L295.7 360zM253.5 380.1L195.9 322.5C194.5 322.2 193.2 321.8 191.9 321.6C186.7 320.5 181.4 320 176 320C131.8 320 96 355.8 96 400C96 402.8 96.14 405.6 96.43 408.3C98.15 425 93.42 441.9 83.96 455.1C74.31 468.5 58 480 36.81 480H176C220.2 480 256 444.2 256 400C256 394.6 255.5 389.3 254.4 384.1C254.2 382.8 253.9 381.5 253.5 380.1V380.1z"
|
|
21486
21522
|
})
|
|
@@ -21488,13 +21524,13 @@ var SkiaIcon = (props) => {
|
|
|
21488
21524
|
};
|
|
21489
21525
|
|
|
21490
21526
|
// src/components/icons/stargazer.tsx
|
|
21491
|
-
import { jsx as
|
|
21527
|
+
import { jsx as jsx119 } from "react/jsx-runtime";
|
|
21492
21528
|
var Stargazer = (props) => {
|
|
21493
|
-
return /* @__PURE__ */
|
|
21529
|
+
return /* @__PURE__ */ jsx119("svg", {
|
|
21494
21530
|
height: "1em",
|
|
21495
21531
|
viewBox: "0 0 512 512",
|
|
21496
21532
|
...props,
|
|
21497
|
-
children: /* @__PURE__ */
|
|
21533
|
+
children: /* @__PURE__ */ jsx119("path", {
|
|
21498
21534
|
fill: "currentcolor",
|
|
21499
21535
|
d: "M325.8 152.3c1.3 4.6 5.5 7.7 10.2 7.7s8.9-3.1 10.2-7.7L360 104l48.3-13.8c4.6-1.3 7.7-5.5 7.7-10.2s-3.1-8.9-7.7-10.2L360 56 346.2 7.7C344.9 3.1 340.7 0 336 0s-8.9 3.1-10.2 7.7L312 56 263.7 69.8c-4.6 1.3-7.7 5.5-7.7 10.2s3.1 8.9 7.7 10.2L312 104l13.8 48.3zM115.7 346.2L75.5 307l55.5-8.1c15.6-2.3 29.2-12.1 36.1-26.3l24.8-50.3 24.8 50.3c7 14.2 20.5 24 36.1 26.3l55.5 8.1-40.2 39.2c-11.3 11-16.4 26.9-13.8 42.4l9.5 55.4-49.5-26.1c-14-7.4-30.7-7.4-44.7 0L120 444l9.5-55.4c2.7-15.6-2.5-31.4-13.8-42.4zm54.7-188.8l-46.3 94L20.5 266.5C.9 269.3-7 293.5 7.2 307.4l74.9 73.2L64.5 483.9c-3.4 19.6 17.2 34.6 34.8 25.3l92.6-48.8 92.6 48.8c17.6 9.3 38.2-5.7 34.8-25.3L301.6 380.6l74.9-73.2c14.2-13.9 6.4-38.1-13.3-40.9L259.7 251.4l-46.3-94c-8.8-17.9-34.3-17.9-43.1 0zm258.4 85.8l11 38.6c1 3.6 4.4 6.2 8.2 6.2s7.1-2.5 8.2-6.2l11-38.6 38.6-11c3.6-1 6.2-4.4 6.2-8.2s-2.5-7.1-6.2-8.2l-38.6-11-11-38.6c-1-3.6-4.4-6.2-8.2-6.2s-7.1 2.5-8.2 6.2l-11 38.6-38.6 11c-3.6 1-6.2 4.4-6.2 8.2s2.5 7.1 6.2 8.2l38.6 11z"
|
|
21500
21536
|
})
|
|
@@ -21502,13 +21538,13 @@ var Stargazer = (props) => {
|
|
|
21502
21538
|
};
|
|
21503
21539
|
|
|
21504
21540
|
// src/components/icons/still.tsx
|
|
21505
|
-
import { jsx as
|
|
21541
|
+
import { jsx as jsx120 } from "react/jsx-runtime";
|
|
21506
21542
|
var StillIcon = (props) => {
|
|
21507
|
-
return /* @__PURE__ */
|
|
21543
|
+
return /* @__PURE__ */ jsx120("svg", {
|
|
21508
21544
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21509
21545
|
viewBox: "0 0 512 512",
|
|
21510
21546
|
...props,
|
|
21511
|
-
children: /* @__PURE__ */
|
|
21547
|
+
children: /* @__PURE__ */ jsx120("path", {
|
|
21512
21548
|
fill: "currentColor",
|
|
21513
21549
|
d: "M324.9 157.8c-11.38-17.38-39.89-17.31-51.23-.0625L200.5 268.5L184.1 245.9C172.7 229.1 145.9 229.9 134.4 245.9l-64.52 89.16c-6.797 9.406-7.75 21.72-2.547 32C72.53 377.5 83.05 384 94.75 384h322.5c11.41 0 21.8-6.281 27.14-16.38c5.312-10 4.734-22.09-1.516-31.56L324.9 157.8zM95.8 352l62.39-87.38l29.91 41.34C191.2 310.2 196.4 313.2 201.4 312.6c5.25-.125 10.12-2.781 13.02-7.188l83.83-129.9L415 352H95.8zM447.1 32h-384C28.65 32-.0091 60.65-.0091 96v320c0 35.35 28.65 64 63.1 64h384c35.35 0 64-28.65 64-64V96C511.1 60.65 483.3 32 447.1 32zM480 416c0 17.64-14.36 32-32 32H64c-17.64 0-32-14.36-32-32V96c0-17.64 14.36-32 32-32h384c17.64 0 32 14.36 32 32V416zM144 192C170.5 192 192 170.5 192 144S170.5 96 144 96S96 117.5 96 144S117.5 192 144 192zM144 128c8.822 0 15.1 7.178 15.1 16S152.8 160 144 160S128 152.8 128 144S135.2 128 144 128z"
|
|
21514
21550
|
})
|
|
@@ -21516,12 +21552,12 @@ var StillIcon = (props) => {
|
|
|
21516
21552
|
};
|
|
21517
21553
|
|
|
21518
21554
|
// src/components/icons/tiktok.tsx
|
|
21519
|
-
import { jsx as
|
|
21555
|
+
import { jsx as jsx121 } from "react/jsx-runtime";
|
|
21520
21556
|
var TikTok = (props) => {
|
|
21521
|
-
return /* @__PURE__ */
|
|
21557
|
+
return /* @__PURE__ */ jsx121("svg", {
|
|
21522
21558
|
...props,
|
|
21523
21559
|
viewBox: "0 0 448 512",
|
|
21524
|
-
children: /* @__PURE__ */
|
|
21560
|
+
children: /* @__PURE__ */ jsx121("path", {
|
|
21525
21561
|
fill: "currentcolor",
|
|
21526
21562
|
d: "M448 209.9a210.1 210.1 0 0 1 -122.8-39.3V349.4A162.6 162.6 0 1 1 185 188.3V278.2a74.6 74.6 0 1 0 52.2 71.2V0l88 0a121.2 121.2 0 0 0 1.9 22.2h0A122.2 122.2 0 0 0 381 102.4a121.4 121.4 0 0 0 67 20.1z"
|
|
21527
21563
|
})
|
|
@@ -21529,14 +21565,14 @@ var TikTok = (props) => {
|
|
|
21529
21565
|
};
|
|
21530
21566
|
|
|
21531
21567
|
// src/components/icons/ts.tsx
|
|
21532
|
-
import { jsx as
|
|
21568
|
+
import { jsx as jsx123 } from "react/jsx-runtime";
|
|
21533
21569
|
var TypeScriptIcon = (props) => {
|
|
21534
|
-
return /* @__PURE__ */
|
|
21570
|
+
return /* @__PURE__ */ jsx123("svg", {
|
|
21535
21571
|
fill: "#000000",
|
|
21536
21572
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21537
21573
|
viewBox: "0 0 24 24",
|
|
21538
21574
|
...props,
|
|
21539
|
-
children: /* @__PURE__ */
|
|
21575
|
+
children: /* @__PURE__ */ jsx123("path", {
|
|
21540
21576
|
fill: "currentColor",
|
|
21541
21577
|
d: "M3,5v14c0,1.105,0.895,2,2,2h14c1.105,0,2-0.895,2-2V5c0-1.105-0.895-2-2-2H5C3.895,3,3,3.895,3,5z M13.666,12.451h-2.118\tV19H9.841v-6.549H7.767V11h5.899V12.451z M13.998,18.626v-1.751c0,0,0.956,0.721,2.104,0.721c1.148,0,1.103-0.75,1.103-0.853\tc0-1.089-3.251-1.089-3.251-3.501c0-3.281,4.737-1.986,4.737-1.986l-0.059,1.559c0,0-0.794-0.53-1.692-0.53\tc-0.897,0-1.221,0.427-1.221,0.883c0,1.177,3.281,1.059,3.281,3.428C19,20.244,13.998,18.626,13.998,18.626z"
|
|
21542
21578
|
})
|
|
@@ -21544,13 +21580,13 @@ var TypeScriptIcon = (props) => {
|
|
|
21544
21580
|
};
|
|
21545
21581
|
|
|
21546
21582
|
// src/components/icons/tts.tsx
|
|
21547
|
-
import { jsx as
|
|
21583
|
+
import { jsx as jsx125 } from "react/jsx-runtime";
|
|
21548
21584
|
var TTSIcon = (props) => {
|
|
21549
|
-
return /* @__PURE__ */
|
|
21585
|
+
return /* @__PURE__ */ jsx125("svg", {
|
|
21550
21586
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21551
21587
|
viewBox: "0 0 512 512",
|
|
21552
21588
|
...props,
|
|
21553
|
-
children: /* @__PURE__ */
|
|
21589
|
+
children: /* @__PURE__ */ jsx125("path", {
|
|
21554
21590
|
fill: "currentColor",
|
|
21555
21591
|
d: "M256 31.1c-141.4 0-255.1 93.13-255.1 208c0 47.62 19.91 91.25 52.91 126.3c-14.87 39.5-45.87 72.88-46.37 73.25c-6.623 7-8.373 17.25-4.623 26C5.816 474.3 14.38 480 24 480c61.49 0 109.1-25.75 139.1-46.25c28.1 9 60.16 14.25 92.9 14.25c141.4 0 255.1-93.13 255.1-207.1S397.4 31.1 256 31.1zM256 416c-28.25 0-56.24-4.25-83.24-12.75c-9.516-3.068-19.92-1.461-28.07 4.338c-22.1 16.25-58.54 35.29-102.7 39.66c11.1-15.12 29.75-40.5 40.74-69.63l.1289-.3398c4.283-11.27 1.791-23.1-6.43-32.82C47.51 313.1 32.06 277.6 32.06 240c0-97 100.5-176 223.1-176c123.5 0 223.1 79 223.1 176S379.5 416 256 416zM272 272h-128c-8.801 0-16 7.199-16 15.1C127.1 296.8 135.2 304 144 304h128c8.801 0 15.1-7.204 15.1-16C287.1 279.2 280.8 272 272 272zM368 176h-224c-8.801 0-16 7.199-16 15.1C127.1 200.8 135.2 208 144 208h224c8.801 0 15.1-7.204 15.1-16C383.1 183.2 376.8 176 368 176z"
|
|
21556
21592
|
})
|
|
@@ -21558,13 +21594,13 @@ var TTSIcon = (props) => {
|
|
|
21558
21594
|
};
|
|
21559
21595
|
|
|
21560
21596
|
// src/components/icons/waveform.tsx
|
|
21561
|
-
import { jsx as
|
|
21597
|
+
import { jsx as jsx126 } from "react/jsx-runtime";
|
|
21562
21598
|
var Waveform = (props) => {
|
|
21563
|
-
return /* @__PURE__ */
|
|
21599
|
+
return /* @__PURE__ */ jsx126("svg", {
|
|
21564
21600
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21565
21601
|
viewBox: "0 0 640 512",
|
|
21566
21602
|
...props,
|
|
21567
|
-
children: /* @__PURE__ */
|
|
21603
|
+
children: /* @__PURE__ */ jsx126("path", {
|
|
21568
21604
|
fill: "currentColor",
|
|
21569
21605
|
d: "M224 96C215.2 96 208 103.2 208 111.1v288C208 408.8 215.2 416 223.1 416C232.8 416 240 408.8 240 400V111.1C240 103.2 232.8 96 224 96zM128 192C119.2 192 112 199.2 112 207.1V304C112 312.8 119.2 320 127.1 320S144 312.8 144 304V207.1C144 199.2 136.8 192 128 192zM32 224C23.2 224 16 231.2 16 239.1V272C16 280.8 23.2 288 31.1 288S48 280.8 48 272V239.1C48 231.2 40.8 224 32 224zM416 128C407.2 128 400 135.2 400 143.1v224C400 376.8 407.2 384 415.1 384S432 376.8 432 368V143.1C432 135.2 424.8 128 416 128zM608 224c-8.8 0-16 7.2-16 15.1V272C592 280.8 599.2 288 608 288s16-7.2 16-15.1V239.1C624 231.2 616.8 224 608 224zM512 64c-8.8 0-16 7.2-16 15.1V432C496 440.8 503.2 448 511.1 448C520.8 448 528 440.8 528 432V79.1C528 71.2 520.8 64 512 64zM320 0C311.2 0 304 7.2 304 15.1V496C304 504.8 311.2 512 319.1 512S336 504.8 336 496V15.1C336 7.2 328.8 0 320 0z"
|
|
21570
21606
|
})
|
|
@@ -21572,17 +21608,17 @@ var Waveform = (props) => {
|
|
|
21572
21608
|
};
|
|
21573
21609
|
|
|
21574
21610
|
// src/components/homepage/IconForTemplate.tsx
|
|
21575
|
-
import { jsx as
|
|
21611
|
+
import { jsx as jsx127 } from "react/jsx-runtime";
|
|
21576
21612
|
var IconForTemplate = ({ template, scale: scale4 = 1 }) => {
|
|
21577
21613
|
if (template.cliId === "hello-world") {
|
|
21578
|
-
return /* @__PURE__ */
|
|
21614
|
+
return /* @__PURE__ */ jsx127(TypeScriptIcon, {
|
|
21579
21615
|
style: {
|
|
21580
21616
|
height: scale4 * 48
|
|
21581
21617
|
}
|
|
21582
21618
|
});
|
|
21583
21619
|
}
|
|
21584
21620
|
if (template.cliId === "blank") {
|
|
21585
|
-
return /* @__PURE__ */
|
|
21621
|
+
return /* @__PURE__ */ jsx127(Blank, {
|
|
21586
21622
|
style: {
|
|
21587
21623
|
height: scale4 * 36,
|
|
21588
21624
|
overflow: "visible"
|
|
@@ -21590,99 +21626,99 @@ var IconForTemplate = ({ template, scale: scale4 = 1 }) => {
|
|
|
21590
21626
|
});
|
|
21591
21627
|
}
|
|
21592
21628
|
if (template.cliId === "javascript") {
|
|
21593
|
-
return /* @__PURE__ */
|
|
21629
|
+
return /* @__PURE__ */ jsx127(JSIcon, {
|
|
21594
21630
|
style: {
|
|
21595
21631
|
height: scale4 * 40
|
|
21596
21632
|
}
|
|
21597
21633
|
});
|
|
21598
21634
|
}
|
|
21599
21635
|
if (template.cliId === "three") {
|
|
21600
|
-
return /* @__PURE__ */
|
|
21636
|
+
return /* @__PURE__ */ jsx127(Cubes, {
|
|
21601
21637
|
style: {
|
|
21602
21638
|
height: scale4 * 36
|
|
21603
21639
|
}
|
|
21604
21640
|
});
|
|
21605
21641
|
}
|
|
21606
21642
|
if (template.cliId === "still") {
|
|
21607
|
-
return /* @__PURE__ */
|
|
21643
|
+
return /* @__PURE__ */ jsx127(StillIcon, {
|
|
21608
21644
|
style: {
|
|
21609
21645
|
height: scale4 * 36
|
|
21610
21646
|
}
|
|
21611
21647
|
});
|
|
21612
21648
|
}
|
|
21613
21649
|
if (template.cliId === "audiogram") {
|
|
21614
|
-
return /* @__PURE__ */
|
|
21650
|
+
return /* @__PURE__ */ jsx127(Waveform, {
|
|
21615
21651
|
style: {
|
|
21616
21652
|
height: scale4 * 36
|
|
21617
21653
|
}
|
|
21618
21654
|
});
|
|
21619
21655
|
}
|
|
21620
21656
|
if (template.cliId === "tts") {
|
|
21621
|
-
return /* @__PURE__ */
|
|
21657
|
+
return /* @__PURE__ */ jsx127(TTSIcon, {
|
|
21622
21658
|
style: {
|
|
21623
21659
|
height: scale4 * 36
|
|
21624
21660
|
}
|
|
21625
21661
|
});
|
|
21626
21662
|
}
|
|
21627
21663
|
if (template.cliId === "google-tts") {
|
|
21628
|
-
return /* @__PURE__ */
|
|
21664
|
+
return /* @__PURE__ */ jsx127(TTSIcon, {
|
|
21629
21665
|
style: {
|
|
21630
21666
|
height: scale4 * 36
|
|
21631
21667
|
}
|
|
21632
21668
|
});
|
|
21633
21669
|
}
|
|
21634
21670
|
if (template.cliId === "skia") {
|
|
21635
|
-
return /* @__PURE__ */
|
|
21671
|
+
return /* @__PURE__ */ jsx127(SkiaIcon, {
|
|
21636
21672
|
style: {
|
|
21637
21673
|
height: scale4 * 32
|
|
21638
21674
|
}
|
|
21639
21675
|
});
|
|
21640
21676
|
}
|
|
21641
21677
|
if (template.cliId === "music-visualization") {
|
|
21642
|
-
return /* @__PURE__ */
|
|
21678
|
+
return /* @__PURE__ */ jsx127(MusicIcon, {
|
|
21643
21679
|
style: {
|
|
21644
21680
|
height: scale4 * 32
|
|
21645
21681
|
}
|
|
21646
21682
|
});
|
|
21647
21683
|
}
|
|
21648
21684
|
if (template.cliId === "react-router") {
|
|
21649
|
-
return /* @__PURE__ */
|
|
21685
|
+
return /* @__PURE__ */ jsx127(ReactRouterIcon, {
|
|
21650
21686
|
style: {
|
|
21651
21687
|
height: scale4 * 32
|
|
21652
21688
|
}
|
|
21653
21689
|
});
|
|
21654
21690
|
}
|
|
21655
21691
|
if (template.cliId === "overlay") {
|
|
21656
|
-
return /* @__PURE__ */
|
|
21692
|
+
return /* @__PURE__ */ jsx127(OverlayIcon, {
|
|
21657
21693
|
style: { height: scale4 * 42 }
|
|
21658
21694
|
});
|
|
21659
21695
|
}
|
|
21660
21696
|
if (template.cliId === "recorder") {
|
|
21661
|
-
return /* @__PURE__ */
|
|
21697
|
+
return /* @__PURE__ */ jsx127(Recorder, {
|
|
21662
21698
|
style: { height: scale4 * 36 }
|
|
21663
21699
|
});
|
|
21664
21700
|
}
|
|
21665
21701
|
if (template.cliId === "next" || template.cliId === "next-tailwind" || template.cliId === "next-pages-dir") {
|
|
21666
|
-
return /* @__PURE__ */
|
|
21702
|
+
return /* @__PURE__ */ jsx127(NextIcon, {
|
|
21667
21703
|
style: { height: scale4 * 36 }
|
|
21668
21704
|
});
|
|
21669
21705
|
}
|
|
21670
21706
|
if (template.cliId === "stargazer") {
|
|
21671
|
-
return /* @__PURE__ */
|
|
21707
|
+
return /* @__PURE__ */ jsx127(Stargazer, {
|
|
21672
21708
|
style: { height: scale4 * 36 }
|
|
21673
21709
|
});
|
|
21674
21710
|
}
|
|
21675
21711
|
if (template.cliId === "tiktok") {
|
|
21676
|
-
return /* @__PURE__ */
|
|
21712
|
+
return /* @__PURE__ */ jsx127(TikTok, {
|
|
21677
21713
|
style: { height: scale4 * 36 }
|
|
21678
21714
|
});
|
|
21679
21715
|
}
|
|
21680
21716
|
if (template.cliId === "code-hike") {
|
|
21681
|
-
return /* @__PURE__ */
|
|
21717
|
+
return /* @__PURE__ */ jsx127(CodeHike, {
|
|
21682
21718
|
style: { height: scale4 * 36 }
|
|
21683
21719
|
});
|
|
21684
21720
|
}
|
|
21685
|
-
return /* @__PURE__ */
|
|
21721
|
+
return /* @__PURE__ */ jsx127(Blank, {
|
|
21686
21722
|
style: {
|
|
21687
21723
|
height: scale4 * 40
|
|
21688
21724
|
}
|
|
@@ -21696,25 +21732,25 @@ var useMobileLayout = () => {
|
|
|
21696
21732
|
};
|
|
21697
21733
|
|
|
21698
21734
|
// src/components/homepage/MoreTemplatesButton.tsx
|
|
21699
|
-
import { jsx as
|
|
21735
|
+
import { jsx as jsx128, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
21700
21736
|
var icon6 = {
|
|
21701
21737
|
height: 16,
|
|
21702
21738
|
marginLeft: 10
|
|
21703
21739
|
};
|
|
21704
21740
|
var MoreTemplatesButton = () => {
|
|
21705
21741
|
const mobileLayout = useMobileLayout();
|
|
21706
|
-
return /* @__PURE__ */
|
|
21742
|
+
return /* @__PURE__ */ jsx128("a", {
|
|
21707
21743
|
href: "/templates",
|
|
21708
21744
|
className: "no-underline text-inherit",
|
|
21709
21745
|
children: /* @__PURE__ */ jsxs51("div", {
|
|
21710
21746
|
className: "right-0 border-2 rounded-full text-inherit px-4 py-2 fontbrand font-semibold text-sm flex flex-row items-center",
|
|
21711
21747
|
children: [
|
|
21712
21748
|
mobileLayout ? "Templates" : "Find a template",
|
|
21713
|
-
/* @__PURE__ */
|
|
21749
|
+
/* @__PURE__ */ jsx128("svg", {
|
|
21714
21750
|
style: icon6,
|
|
21715
21751
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21716
21752
|
viewBox: "0 0 448 512",
|
|
21717
|
-
children: /* @__PURE__ */
|
|
21753
|
+
children: /* @__PURE__ */ jsx128("path", {
|
|
21718
21754
|
fill: "currentColor",
|
|
21719
21755
|
d: "M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z"
|
|
21720
21756
|
})
|
|
@@ -21725,7 +21761,7 @@ var MoreTemplatesButton = () => {
|
|
|
21725
21761
|
};
|
|
21726
21762
|
|
|
21727
21763
|
// src/components/homepage/TemplateIcon.tsx
|
|
21728
|
-
import { jsx as
|
|
21764
|
+
import { jsx as jsx129, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
21729
21765
|
var icon7 = {
|
|
21730
21766
|
display: "flex",
|
|
21731
21767
|
width: 36,
|
|
@@ -21749,11 +21785,11 @@ var TemplateIcon = ({ children, label: label3 }) => {
|
|
|
21749
21785
|
return /* @__PURE__ */ jsxs53("span", {
|
|
21750
21786
|
style: outer,
|
|
21751
21787
|
children: [
|
|
21752
|
-
/* @__PURE__ */
|
|
21788
|
+
/* @__PURE__ */ jsx129("div", {
|
|
21753
21789
|
style: icon7,
|
|
21754
21790
|
children
|
|
21755
21791
|
}),
|
|
21756
|
-
mobileLayout ? null : /* @__PURE__ */
|
|
21792
|
+
mobileLayout ? null : /* @__PURE__ */ jsx129("div", {
|
|
21757
21793
|
className: "text-xs fontbrand",
|
|
21758
21794
|
children: label3
|
|
21759
21795
|
})
|
|
@@ -21762,14 +21798,14 @@ var TemplateIcon = ({ children, label: label3 }) => {
|
|
|
21762
21798
|
};
|
|
21763
21799
|
|
|
21764
21800
|
// src/components/homepage/ChooseTemplate.tsx
|
|
21765
|
-
import { jsx as
|
|
21801
|
+
import { jsx as jsx130, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
21766
21802
|
var ChooseTemplate = () => {
|
|
21767
|
-
return /* @__PURE__ */
|
|
21803
|
+
return /* @__PURE__ */ jsx130("div", {
|
|
21768
21804
|
style: {
|
|
21769
21805
|
display: "flex",
|
|
21770
21806
|
flexDirection: "column"
|
|
21771
21807
|
},
|
|
21772
|
-
children: /* @__PURE__ */
|
|
21808
|
+
children: /* @__PURE__ */ jsx130("div", {
|
|
21773
21809
|
style: {
|
|
21774
21810
|
position: "relative",
|
|
21775
21811
|
textAlign: "center"
|
|
@@ -21790,19 +21826,19 @@ var ChooseTemplate = () => {
|
|
|
21790
21826
|
},
|
|
21791
21827
|
children: [
|
|
21792
21828
|
CreateVideoInternals.FEATURED_TEMPLATES.filter((f) => f.featuredOnHomePage).map((template) => {
|
|
21793
|
-
return /* @__PURE__ */
|
|
21829
|
+
return /* @__PURE__ */ jsx130("a", {
|
|
21794
21830
|
className: "text-inherit no-underline",
|
|
21795
21831
|
href: `/templates/${template.cliId}`,
|
|
21796
|
-
children: /* @__PURE__ */
|
|
21832
|
+
children: /* @__PURE__ */ jsx130(TemplateIcon, {
|
|
21797
21833
|
label: template.featuredOnHomePage,
|
|
21798
|
-
children: /* @__PURE__ */
|
|
21834
|
+
children: /* @__PURE__ */ jsx130(IconForTemplate, {
|
|
21799
21835
|
scale: 0.7,
|
|
21800
21836
|
template
|
|
21801
21837
|
})
|
|
21802
21838
|
})
|
|
21803
21839
|
}, template.cliId);
|
|
21804
21840
|
}),
|
|
21805
|
-
/* @__PURE__ */
|
|
21841
|
+
/* @__PURE__ */ jsx130(MoreTemplatesButton, {})
|
|
21806
21842
|
]
|
|
21807
21843
|
})
|
|
21808
21844
|
})
|
|
@@ -21813,12 +21849,12 @@ var ChooseTemplate = () => {
|
|
|
21813
21849
|
import { useState as useState43 } from "react";
|
|
21814
21850
|
|
|
21815
21851
|
// src/components/homepage/GitHubButton.tsx
|
|
21816
|
-
import { jsx as
|
|
21852
|
+
import { jsx as jsx131, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
21817
21853
|
var GithubIcon = () => {
|
|
21818
|
-
return /* @__PURE__ */
|
|
21854
|
+
return /* @__PURE__ */ jsx131("svg", {
|
|
21819
21855
|
viewBox: "0 0 496 512",
|
|
21820
21856
|
style: { height: 24, marginRight: 8 },
|
|
21821
|
-
children: /* @__PURE__ */
|
|
21857
|
+
children: /* @__PURE__ */ jsx131("path", {
|
|
21822
21858
|
fill: "currentColor",
|
|
21823
21859
|
d: "M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"
|
|
21824
21860
|
})
|
|
@@ -21828,13 +21864,13 @@ var GithubButton = () => {
|
|
|
21828
21864
|
return /* @__PURE__ */ jsxs56("div", {
|
|
21829
21865
|
className: "flex flex-row items-center text-base",
|
|
21830
21866
|
children: [
|
|
21831
|
-
/* @__PURE__ */
|
|
21867
|
+
/* @__PURE__ */ jsx131(GithubIcon, {}),
|
|
21832
21868
|
" ",
|
|
21833
|
-
/* @__PURE__ */
|
|
21869
|
+
/* @__PURE__ */ jsx131("span", {
|
|
21834
21870
|
children: "GitHub"
|
|
21835
21871
|
}),
|
|
21836
21872
|
" ",
|
|
21837
|
-
/* @__PURE__ */
|
|
21873
|
+
/* @__PURE__ */ jsx131("div", {
|
|
21838
21874
|
className: "text-xs inline-block ml-2 leading-none mt-[3px] self-center",
|
|
21839
21875
|
children: "24k"
|
|
21840
21876
|
})
|
|
@@ -21843,18 +21879,18 @@ var GithubButton = () => {
|
|
|
21843
21879
|
};
|
|
21844
21880
|
|
|
21845
21881
|
// src/components/homepage/GetStartedStrip.tsx
|
|
21846
|
-
import { jsx as
|
|
21882
|
+
import { jsx as jsx133, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
21847
21883
|
var GetStarted = () => {
|
|
21848
21884
|
const [clicked, setClicked] = useState43(null);
|
|
21849
21885
|
return /* @__PURE__ */ jsxs57("div", {
|
|
21850
21886
|
className: "flex flex-col lg:flex-row items-center justify-center text-center w-full",
|
|
21851
21887
|
children: [
|
|
21852
|
-
/* @__PURE__ */
|
|
21888
|
+
/* @__PURE__ */ jsx133("div", {
|
|
21853
21889
|
className: "w-full lg:w-auto",
|
|
21854
21890
|
children: /* @__PURE__ */ jsxs57("div", {
|
|
21855
21891
|
className: "flex flex-row w-full ",
|
|
21856
21892
|
children: [
|
|
21857
|
-
clicked ? /* @__PURE__ */
|
|
21893
|
+
clicked ? /* @__PURE__ */ jsx133("div", {
|
|
21858
21894
|
style: {
|
|
21859
21895
|
animation: "click 0.7s linear",
|
|
21860
21896
|
animationFillMode: "forwards"
|
|
@@ -21862,7 +21898,7 @@ var GetStarted = () => {
|
|
|
21862
21898
|
className: "absolute z-0 top-0 font-mono text-sm text-center w-full",
|
|
21863
21899
|
children: "Copied!"
|
|
21864
21900
|
}, clicked) : null,
|
|
21865
|
-
/* @__PURE__ */
|
|
21901
|
+
/* @__PURE__ */ jsx133("div", {
|
|
21866
21902
|
className: "bg-[#333] text-white rounded-lg px-4 font-mono hover:[#444] cursor-pointer justify-center items-center flex flex-1 min-h-12",
|
|
21867
21903
|
onClick: () => {
|
|
21868
21904
|
navigator.clipboard.writeText("npx create-video@latest");
|
|
@@ -21874,16 +21910,16 @@ var GetStarted = () => {
|
|
|
21874
21910
|
]
|
|
21875
21911
|
})
|
|
21876
21912
|
}),
|
|
21877
|
-
/* @__PURE__ */
|
|
21913
|
+
/* @__PURE__ */ jsx133("div", {
|
|
21878
21914
|
className: "w-2 h-2"
|
|
21879
21915
|
}),
|
|
21880
|
-
/* @__PURE__ */
|
|
21916
|
+
/* @__PURE__ */ jsx133("div", {
|
|
21881
21917
|
className: "w-full lg:w-auto",
|
|
21882
|
-
children: /* @__PURE__ */
|
|
21918
|
+
children: /* @__PURE__ */ jsx133("a", {
|
|
21883
21919
|
className: "no-underline w-full block",
|
|
21884
21920
|
href: "https://www.youtube.com/watch?v=deg8bOoziaE",
|
|
21885
21921
|
target: "_blank",
|
|
21886
|
-
children: /* @__PURE__ */
|
|
21922
|
+
children: /* @__PURE__ */ jsx133(PlainButton, {
|
|
21887
21923
|
size: "sm",
|
|
21888
21924
|
loading: false,
|
|
21889
21925
|
className: "w-full",
|
|
@@ -21891,45 +21927,45 @@ var GetStarted = () => {
|
|
|
21891
21927
|
})
|
|
21892
21928
|
})
|
|
21893
21929
|
}),
|
|
21894
|
-
/* @__PURE__ */
|
|
21930
|
+
/* @__PURE__ */ jsx133("div", {
|
|
21895
21931
|
style: { width: 10, height: 10 }
|
|
21896
21932
|
}),
|
|
21897
|
-
/* @__PURE__ */
|
|
21933
|
+
/* @__PURE__ */ jsx133("a", {
|
|
21898
21934
|
className: "no-underline w-full lg:w-auto",
|
|
21899
21935
|
href: "/docs",
|
|
21900
|
-
children: /* @__PURE__ */
|
|
21936
|
+
children: /* @__PURE__ */ jsx133(PlainButton, {
|
|
21901
21937
|
size: "sm",
|
|
21902
21938
|
loading: false,
|
|
21903
21939
|
className: "w-full",
|
|
21904
21940
|
children: "Docs"
|
|
21905
21941
|
})
|
|
21906
21942
|
}),
|
|
21907
|
-
/* @__PURE__ */
|
|
21943
|
+
/* @__PURE__ */ jsx133("div", {
|
|
21908
21944
|
className: "w-2 h-2"
|
|
21909
21945
|
}),
|
|
21910
|
-
/* @__PURE__ */
|
|
21946
|
+
/* @__PURE__ */ jsx133("a", {
|
|
21911
21947
|
className: "no-underline w-full lg:w-auto",
|
|
21912
21948
|
href: "https://remotion.dev/discord",
|
|
21913
21949
|
target: "_blank",
|
|
21914
|
-
children: /* @__PURE__ */
|
|
21950
|
+
children: /* @__PURE__ */ jsx133(PlainButton, {
|
|
21915
21951
|
size: "sm",
|
|
21916
21952
|
loading: false,
|
|
21917
21953
|
className: "w-full",
|
|
21918
21954
|
children: "Discord"
|
|
21919
21955
|
})
|
|
21920
21956
|
}),
|
|
21921
|
-
/* @__PURE__ */
|
|
21957
|
+
/* @__PURE__ */ jsx133("div", {
|
|
21922
21958
|
className: "w-2 h-2"
|
|
21923
21959
|
}),
|
|
21924
|
-
/* @__PURE__ */
|
|
21960
|
+
/* @__PURE__ */ jsx133("a", {
|
|
21925
21961
|
className: "no-underline w-full lg:w-auto",
|
|
21926
21962
|
href: "https://github.com/remotion-dev/remotion",
|
|
21927
21963
|
target: "_blank",
|
|
21928
|
-
children: /* @__PURE__ */
|
|
21964
|
+
children: /* @__PURE__ */ jsx133(PlainButton, {
|
|
21929
21965
|
size: "sm",
|
|
21930
21966
|
loading: false,
|
|
21931
21967
|
className: "w-full",
|
|
21932
|
-
children: /* @__PURE__ */
|
|
21968
|
+
children: /* @__PURE__ */ jsx133(GithubButton, {})
|
|
21933
21969
|
})
|
|
21934
21970
|
})
|
|
21935
21971
|
]
|
|
@@ -21937,11 +21973,11 @@ var GetStarted = () => {
|
|
|
21937
21973
|
};
|
|
21938
21974
|
|
|
21939
21975
|
// src/components/homepage/WriteInReact.tsx
|
|
21940
|
-
import { jsx as
|
|
21976
|
+
import { jsx as jsx135, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
21941
21977
|
var WriteInReact = () => {
|
|
21942
21978
|
return /* @__PURE__ */ jsxs58("div", {
|
|
21943
21979
|
children: [
|
|
21944
|
-
/* @__PURE__ */
|
|
21980
|
+
/* @__PURE__ */ jsx135("h1", {
|
|
21945
21981
|
className: "text-5xl lg:text-[5em] text-center fontbrand font-black leading-none ",
|
|
21946
21982
|
style: {
|
|
21947
21983
|
textShadow: "0 5px 30px var(--background)"
|
|
@@ -21955,91 +21991,91 @@ var WriteInReact = () => {
|
|
|
21955
21991
|
className: "font-medium text-center text-lg",
|
|
21956
21992
|
children: [
|
|
21957
21993
|
"Create real MP4 videos with React. ",
|
|
21958
|
-
/* @__PURE__ */
|
|
21994
|
+
/* @__PURE__ */ jsx135("br", {}),
|
|
21959
21995
|
"Parametrize content, render server-side and build applications."
|
|
21960
21996
|
]
|
|
21961
21997
|
}),
|
|
21962
|
-
/* @__PURE__ */
|
|
21963
|
-
/* @__PURE__ */
|
|
21964
|
-
children: /* @__PURE__ */
|
|
21998
|
+
/* @__PURE__ */ jsx135("br", {}),
|
|
21999
|
+
/* @__PURE__ */ jsx135("div", {
|
|
22000
|
+
children: /* @__PURE__ */ jsx135(GetStarted, {})
|
|
21965
22001
|
}),
|
|
21966
|
-
/* @__PURE__ */
|
|
21967
|
-
/* @__PURE__ */
|
|
21968
|
-
/* @__PURE__ */
|
|
22002
|
+
/* @__PURE__ */ jsx135("br", {}),
|
|
22003
|
+
/* @__PURE__ */ jsx135("br", {}),
|
|
22004
|
+
/* @__PURE__ */ jsx135(ChooseTemplate, {})
|
|
21969
22005
|
]
|
|
21970
22006
|
});
|
|
21971
22007
|
};
|
|
21972
22008
|
|
|
21973
22009
|
// src/components/Homepage.tsx
|
|
21974
|
-
import { jsx as
|
|
22010
|
+
import { jsx as jsx136, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
21975
22011
|
"use client";
|
|
21976
22012
|
var NewLanding = ({ colorMode, setColorMode }) => {
|
|
21977
|
-
return /* @__PURE__ */
|
|
22013
|
+
return /* @__PURE__ */ jsx136(ColorModeProvider, {
|
|
21978
22014
|
colorMode,
|
|
21979
22015
|
setColorMode,
|
|
21980
|
-
children: /* @__PURE__ */
|
|
22016
|
+
children: /* @__PURE__ */ jsx136("div", {
|
|
21981
22017
|
className: "bg-[var(--background)] relative",
|
|
21982
22018
|
children: /* @__PURE__ */ jsxs59("div", {
|
|
21983
22019
|
style: { overflow: "hidden" },
|
|
21984
22020
|
children: [
|
|
21985
|
-
/* @__PURE__ */
|
|
21986
|
-
children: /* @__PURE__ */
|
|
22021
|
+
/* @__PURE__ */ jsx136("div", {
|
|
22022
|
+
children: /* @__PURE__ */ jsx136(BackgroundAnimation, {})
|
|
21987
22023
|
}),
|
|
21988
|
-
/* @__PURE__ */
|
|
21989
|
-
/* @__PURE__ */
|
|
21990
|
-
/* @__PURE__ */
|
|
21991
|
-
/* @__PURE__ */
|
|
22024
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22025
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22026
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22027
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
21992
22028
|
/* @__PURE__ */ jsxs59("div", {
|
|
21993
22029
|
className: "max-w-[500px] lg:max-w-[1000px] m-auto pl-5 pr-5 overflow-x-clip md:overflow-x-visible relative",
|
|
21994
22030
|
children: [
|
|
21995
|
-
/* @__PURE__ */
|
|
21996
|
-
/* @__PURE__ */
|
|
21997
|
-
/* @__PURE__ */
|
|
21998
|
-
/* @__PURE__ */
|
|
21999
|
-
/* @__PURE__ */
|
|
22000
|
-
/* @__PURE__ */
|
|
22001
|
-
/* @__PURE__ */
|
|
22002
|
-
/* @__PURE__ */
|
|
22003
|
-
/* @__PURE__ */
|
|
22004
|
-
/* @__PURE__ */
|
|
22005
|
-
/* @__PURE__ */
|
|
22006
|
-
/* @__PURE__ */
|
|
22007
|
-
/* @__PURE__ */
|
|
22008
|
-
/* @__PURE__ */
|
|
22009
|
-
/* @__PURE__ */
|
|
22010
|
-
/* @__PURE__ */
|
|
22031
|
+
/* @__PURE__ */ jsx136(WriteInReact, {}),
|
|
22032
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22033
|
+
/* @__PURE__ */ jsx136(IfYouKnowReact, {}),
|
|
22034
|
+
/* @__PURE__ */ jsx136(ParameterizeAndEdit, {}),
|
|
22035
|
+
/* @__PURE__ */ jsx136(RealMP4Videos, {}),
|
|
22036
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22037
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22038
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22039
|
+
/* @__PURE__ */ jsx136(VideoAppsShowcase_default, {}),
|
|
22040
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22041
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22042
|
+
/* @__PURE__ */ jsx136(Demo, {}),
|
|
22043
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22044
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22045
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22046
|
+
/* @__PURE__ */ jsx136(SectionTitle, {
|
|
22011
22047
|
children: "Pricing"
|
|
22012
22048
|
}),
|
|
22013
|
-
/* @__PURE__ */
|
|
22014
|
-
/* @__PURE__ */
|
|
22015
|
-
/* @__PURE__ */
|
|
22016
|
-
/* @__PURE__ */
|
|
22017
|
-
/* @__PURE__ */
|
|
22018
|
-
/* @__PURE__ */
|
|
22019
|
-
/* @__PURE__ */
|
|
22020
|
-
/* @__PURE__ */
|
|
22021
|
-
/* @__PURE__ */
|
|
22022
|
-
/* @__PURE__ */
|
|
22023
|
-
/* @__PURE__ */
|
|
22024
|
-
/* @__PURE__ */
|
|
22025
|
-
/* @__PURE__ */
|
|
22026
|
-
/* @__PURE__ */
|
|
22027
|
-
/* @__PURE__ */
|
|
22028
|
-
/* @__PURE__ */
|
|
22049
|
+
/* @__PURE__ */ jsx136(Pricing, {}),
|
|
22050
|
+
/* @__PURE__ */ jsx136(TrustedByBanner_default, {}),
|
|
22051
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22052
|
+
/* @__PURE__ */ jsx136(EvaluateRemotion_default, {}),
|
|
22053
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22054
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22055
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22056
|
+
/* @__PURE__ */ jsx136(CommunityStats_default, {}),
|
|
22057
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22058
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22059
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22060
|
+
/* @__PURE__ */ jsx136(EditorStarterSection_default, {}),
|
|
22061
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22062
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22063
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22064
|
+
/* @__PURE__ */ jsx136(SectionTitle, {
|
|
22029
22065
|
children: "Even more power to developers"
|
|
22030
22066
|
}),
|
|
22031
|
-
/* @__PURE__ */
|
|
22067
|
+
/* @__PURE__ */ jsx136("div", {
|
|
22032
22068
|
className: "fontbrand text-center mb-10 -mt-4",
|
|
22033
22069
|
children: "Innovative video products that you might enjoy."
|
|
22034
22070
|
}),
|
|
22035
|
-
/* @__PURE__ */
|
|
22036
|
-
/* @__PURE__ */
|
|
22037
|
-
/* @__PURE__ */
|
|
22038
|
-
/* @__PURE__ */
|
|
22039
|
-
/* @__PURE__ */
|
|
22040
|
-
/* @__PURE__ */
|
|
22041
|
-
/* @__PURE__ */
|
|
22042
|
-
/* @__PURE__ */
|
|
22071
|
+
/* @__PURE__ */ jsx136(MoreVideoPowerSection, {}),
|
|
22072
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22073
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22074
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22075
|
+
/* @__PURE__ */ jsx136(NewsletterButton, {}),
|
|
22076
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22077
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22078
|
+
/* @__PURE__ */ jsx136("br", {})
|
|
22043
22079
|
]
|
|
22044
22080
|
})
|
|
22045
22081
|
]
|