@remotion/promo-pages 4.0.362 → 4.0.363
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 +656 -615
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/Homepage.js +656 -615
- 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.363", 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;
|
|
@@ -5031,7 +5033,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5031
5033
|
onImageFrame?.(current);
|
|
5032
5034
|
}
|
|
5033
5035
|
unblock();
|
|
5034
|
-
|
|
5036
|
+
requestAnimationFrame(() => {
|
|
5037
|
+
continueRender2(newHandle);
|
|
5038
|
+
});
|
|
5035
5039
|
};
|
|
5036
5040
|
if (!imageRef.current) {
|
|
5037
5041
|
onComplete();
|
|
@@ -5245,13 +5249,43 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5245
5249
|
return () => {
|
|
5246
5250
|
listeners = listeners.filter((l) => l !== fn);
|
|
5247
5251
|
};
|
|
5252
|
+
}, MediaEnabledContext, useVideoEnabled = () => {
|
|
5253
|
+
const context = useContext30(MediaEnabledContext);
|
|
5254
|
+
if (!context) {
|
|
5255
|
+
return window.remotion_videoEnabled;
|
|
5256
|
+
}
|
|
5257
|
+
if (context.videoEnabled === null) {
|
|
5258
|
+
return window.remotion_videoEnabled;
|
|
5259
|
+
}
|
|
5260
|
+
return context.videoEnabled;
|
|
5261
|
+
}, useAudioEnabled = () => {
|
|
5262
|
+
const context = useContext30(MediaEnabledContext);
|
|
5263
|
+
if (!context) {
|
|
5264
|
+
return window.remotion_audioEnabled;
|
|
5265
|
+
}
|
|
5266
|
+
if (context.audioEnabled === null) {
|
|
5267
|
+
return window.remotion_audioEnabled;
|
|
5268
|
+
}
|
|
5269
|
+
return context.audioEnabled;
|
|
5270
|
+
}, MediaEnabledProvider = ({
|
|
5271
|
+
children,
|
|
5272
|
+
videoEnabled,
|
|
5273
|
+
audioEnabled
|
|
5274
|
+
}) => {
|
|
5275
|
+
const value = useMemo25(() => ({ videoEnabled, audioEnabled }), [videoEnabled, audioEnabled]);
|
|
5276
|
+
return /* @__PURE__ */ jsx26(MediaEnabledContext.Provider, {
|
|
5277
|
+
value,
|
|
5278
|
+
children
|
|
5279
|
+
});
|
|
5248
5280
|
}, RemotionRoot = ({
|
|
5249
5281
|
children,
|
|
5250
5282
|
numberOfAudioTags,
|
|
5251
5283
|
logLevel,
|
|
5252
5284
|
onlyRenderComposition,
|
|
5253
5285
|
currentCompositionMetadata,
|
|
5254
|
-
audioLatencyHint
|
|
5286
|
+
audioLatencyHint,
|
|
5287
|
+
videoEnabled,
|
|
5288
|
+
audioEnabled
|
|
5255
5289
|
}) => {
|
|
5256
5290
|
const [remotionRootId] = useState17(() => String(random(null)));
|
|
5257
5291
|
const [frame, setFrame] = useState17(() => getInitialFrameState());
|
|
@@ -5288,7 +5322,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5288
5322
|
window.remotion_isPlayer = false;
|
|
5289
5323
|
}, [continueRender2, delayRender2]);
|
|
5290
5324
|
}
|
|
5291
|
-
const timelineContextValue =
|
|
5325
|
+
const timelineContextValue = useMemo26(() => {
|
|
5292
5326
|
return {
|
|
5293
5327
|
frame,
|
|
5294
5328
|
playing,
|
|
@@ -5299,13 +5333,13 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5299
5333
|
audioAndVideoTags
|
|
5300
5334
|
};
|
|
5301
5335
|
}, [frame, playbackRate, playing, remotionRootId]);
|
|
5302
|
-
const setTimelineContextValue =
|
|
5336
|
+
const setTimelineContextValue = useMemo26(() => {
|
|
5303
5337
|
return {
|
|
5304
5338
|
setFrame,
|
|
5305
5339
|
setPlaying
|
|
5306
5340
|
};
|
|
5307
5341
|
}, []);
|
|
5308
|
-
const nonceContext =
|
|
5342
|
+
const nonceContext = useMemo26(() => {
|
|
5309
5343
|
let counter = 0;
|
|
5310
5344
|
return {
|
|
5311
5345
|
getNonce: () => counter++,
|
|
@@ -5313,7 +5347,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5313
5347
|
manualRefreshes
|
|
5314
5348
|
};
|
|
5315
5349
|
}, [fastRefreshes, manualRefreshes]);
|
|
5316
|
-
const setNonceContext =
|
|
5350
|
+
const setNonceContext = useMemo26(() => {
|
|
5317
5351
|
return {
|
|
5318
5352
|
increaseManualRefreshes: () => {
|
|
5319
5353
|
setManualRefreshes((i) => i + 1);
|
|
@@ -5331,29 +5365,33 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5331
5365
|
}
|
|
5332
5366
|
}
|
|
5333
5367
|
}, []);
|
|
5334
|
-
const logging =
|
|
5368
|
+
const logging = useMemo26(() => {
|
|
5335
5369
|
return { logLevel, mountTime: Date.now() };
|
|
5336
5370
|
}, [logLevel]);
|
|
5337
|
-
return /* @__PURE__ */
|
|
5371
|
+
return /* @__PURE__ */ jsx27(LogLevelContext.Provider, {
|
|
5338
5372
|
value: logging,
|
|
5339
|
-
children: /* @__PURE__ */
|
|
5373
|
+
children: /* @__PURE__ */ jsx27(NonceContext.Provider, {
|
|
5340
5374
|
value: nonceContext,
|
|
5341
|
-
children: /* @__PURE__ */
|
|
5375
|
+
children: /* @__PURE__ */ jsx27(SetNonceContext.Provider, {
|
|
5342
5376
|
value: setNonceContext,
|
|
5343
|
-
children: /* @__PURE__ */
|
|
5377
|
+
children: /* @__PURE__ */ jsx27(TimelineContext.Provider, {
|
|
5344
5378
|
value: timelineContextValue,
|
|
5345
|
-
children: /* @__PURE__ */
|
|
5379
|
+
children: /* @__PURE__ */ jsx27(SetTimelineContext.Provider, {
|
|
5346
5380
|
value: setTimelineContextValue,
|
|
5347
|
-
children: /* @__PURE__ */
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5381
|
+
children: /* @__PURE__ */ jsx27(MediaEnabledProvider, {
|
|
5382
|
+
videoEnabled,
|
|
5383
|
+
audioEnabled,
|
|
5384
|
+
children: /* @__PURE__ */ jsx27(EditorPropsProvider, {
|
|
5385
|
+
children: /* @__PURE__ */ jsx27(PrefetchProvider, {
|
|
5386
|
+
children: /* @__PURE__ */ jsx27(CompositionManagerProvider, {
|
|
5387
|
+
numberOfAudioTags,
|
|
5388
|
+
onlyRenderComposition,
|
|
5389
|
+
currentCompositionMetadata,
|
|
5390
|
+
audioLatencyHint,
|
|
5391
|
+
children: /* @__PURE__ */ jsx27(DurationsContextProvider, {
|
|
5392
|
+
children: /* @__PURE__ */ jsx27(BufferingProvider, {
|
|
5393
|
+
children
|
|
5394
|
+
})
|
|
5357
5395
|
})
|
|
5358
5396
|
})
|
|
5359
5397
|
})
|
|
@@ -5433,13 +5471,13 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5433
5471
|
const frame = useCurrentFrame();
|
|
5434
5472
|
const volumePropsFrame = useFrameForVolumeProp(loopVolumeCurveBehavior);
|
|
5435
5473
|
const videoConfig = useUnsafeVideoConfig();
|
|
5436
|
-
const sequenceContext =
|
|
5474
|
+
const sequenceContext = useContext31(SequenceContext);
|
|
5437
5475
|
const mediaStartsAt = useMediaStartsAt();
|
|
5438
|
-
const { registerRenderAsset, unregisterRenderAsset } =
|
|
5476
|
+
const { registerRenderAsset, unregisterRenderAsset } = useContext31(RenderAssetManager);
|
|
5439
5477
|
if (!src) {
|
|
5440
5478
|
throw new TypeError("No `src` was passed to <OffthreadVideo>.");
|
|
5441
5479
|
}
|
|
5442
|
-
const id =
|
|
5480
|
+
const id = useMemo27(() => `offthreadvideo-${random(src)}-${sequenceContext?.cumulatedFrom}-${sequenceContext?.relativeFrom}-${sequenceContext?.durationInFrames}`, [
|
|
5443
5481
|
src,
|
|
5444
5482
|
sequenceContext?.cumulatedFrom,
|
|
5445
5483
|
sequenceContext?.relativeFrom,
|
|
@@ -5494,14 +5532,14 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5494
5532
|
sequenceContext?.relativeFrom,
|
|
5495
5533
|
audioStreamIndex
|
|
5496
5534
|
]);
|
|
5497
|
-
const currentTime =
|
|
5535
|
+
const currentTime = useMemo27(() => {
|
|
5498
5536
|
return getExpectedMediaFrameUncorrected({
|
|
5499
5537
|
frame,
|
|
5500
5538
|
playbackRate: playbackRate || 1,
|
|
5501
5539
|
startFrom: -mediaStartsAt
|
|
5502
5540
|
}) / videoConfig.fps;
|
|
5503
5541
|
}, [frame, mediaStartsAt, playbackRate, videoConfig.fps]);
|
|
5504
|
-
const actualSrc =
|
|
5542
|
+
const actualSrc = useMemo27(() => {
|
|
5505
5543
|
return getOffthreadVideoSource({
|
|
5506
5544
|
src,
|
|
5507
5545
|
currentTime,
|
|
@@ -5589,7 +5627,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5589
5627
|
cancelRender("Failed to load image with src " + imageSrc);
|
|
5590
5628
|
}
|
|
5591
5629
|
}, [imageSrc, onError]);
|
|
5592
|
-
const className =
|
|
5630
|
+
const className = useMemo27(() => {
|
|
5593
5631
|
return [OBJECTFIT_CONTAIN_CLASS_NAME, props2.className].filter(truthy).join(" ");
|
|
5594
5632
|
}, [props2.className]);
|
|
5595
5633
|
const onImageFrame = useCallback15((img) => {
|
|
@@ -5601,7 +5639,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5601
5639
|
return null;
|
|
5602
5640
|
}
|
|
5603
5641
|
continueRender2(imageSrc.handle);
|
|
5604
|
-
return /* @__PURE__ */
|
|
5642
|
+
return /* @__PURE__ */ jsx28(Img, {
|
|
5605
5643
|
src: imageSrc.src,
|
|
5606
5644
|
delayRenderRetries,
|
|
5607
5645
|
delayRenderTimeoutInMilliseconds,
|
|
@@ -5636,12 +5674,12 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5636
5674
|
};
|
|
5637
5675
|
}, [onVideoFrame, ref]);
|
|
5638
5676
|
}, VideoForDevelopmentRefForwardingFunction = (props2, ref) => {
|
|
5639
|
-
const context =
|
|
5677
|
+
const context = useContext32(SharedAudioContext);
|
|
5640
5678
|
if (!context) {
|
|
5641
5679
|
throw new Error("SharedAudioContext not found");
|
|
5642
5680
|
}
|
|
5643
5681
|
const videoRef = useRef16(null);
|
|
5644
|
-
const sharedSource =
|
|
5682
|
+
const sharedSource = useMemo28(() => {
|
|
5645
5683
|
if (!context.audioContext) {
|
|
5646
5684
|
return null;
|
|
5647
5685
|
}
|
|
@@ -5684,8 +5722,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5684
5722
|
}
|
|
5685
5723
|
const volumePropFrame = useFrameForVolumeProp(loopVolumeCurveBehavior ?? "repeat");
|
|
5686
5724
|
const { fps, durationInFrames } = useVideoConfig();
|
|
5687
|
-
const parentSequence =
|
|
5688
|
-
const { hidden } =
|
|
5725
|
+
const parentSequence = useContext32(SequenceContext);
|
|
5726
|
+
const { hidden } = useContext32(SequenceVisibilityToggleContext);
|
|
5689
5727
|
const logLevel = useLogLevel();
|
|
5690
5728
|
const mountTime = useMountTime();
|
|
5691
5729
|
const [timelineId] = useState19(() => String(Math.random()));
|
|
@@ -5819,7 +5857,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5819
5857
|
current.preload = "auto";
|
|
5820
5858
|
}
|
|
5821
5859
|
}, []);
|
|
5822
|
-
const actualStyle =
|
|
5860
|
+
const actualStyle = useMemo28(() => {
|
|
5823
5861
|
return {
|
|
5824
5862
|
...style,
|
|
5825
5863
|
opacity: isSequenceHidden ? 0 : style?.opacity ?? 1
|
|
@@ -5829,7 +5867,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5829
5867
|
crossOrigin,
|
|
5830
5868
|
requestsVideoFrame: Boolean(onVideoFrame)
|
|
5831
5869
|
});
|
|
5832
|
-
return /* @__PURE__ */
|
|
5870
|
+
return /* @__PURE__ */ jsx29("video", {
|
|
5833
5871
|
ref: videoRef,
|
|
5834
5872
|
muted: muted || mediaMuted || isSequenceHidden || userPreferredVolume <= 0,
|
|
5835
5873
|
playsInline: true,
|
|
@@ -5867,13 +5905,13 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5867
5905
|
trimAfter
|
|
5868
5906
|
});
|
|
5869
5907
|
if (typeof trimBeforeValue !== "undefined" || typeof trimAfterValue !== "undefined") {
|
|
5870
|
-
return /* @__PURE__ */
|
|
5908
|
+
return /* @__PURE__ */ jsx30(Sequence, {
|
|
5871
5909
|
layout: "none",
|
|
5872
5910
|
from: 0 - (trimBeforeValue ?? 0),
|
|
5873
5911
|
showInTimeline: false,
|
|
5874
5912
|
durationInFrames: trimAfterValue,
|
|
5875
5913
|
name,
|
|
5876
|
-
children: /* @__PURE__ */
|
|
5914
|
+
children: /* @__PURE__ */ jsx30(InnerOffthreadVideo, {
|
|
5877
5915
|
pauseWhenBuffering: pauseWhenBuffering ?? false,
|
|
5878
5916
|
...otherProps,
|
|
5879
5917
|
trimAfter: undefined,
|
|
@@ -5888,7 +5926,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5888
5926
|
}
|
|
5889
5927
|
validateMediaProps(props2, "Video");
|
|
5890
5928
|
if (environment.isRendering) {
|
|
5891
|
-
return /* @__PURE__ */
|
|
5929
|
+
return /* @__PURE__ */ jsx30(OffthreadVideoForRendering, {
|
|
5892
5930
|
pauseWhenBuffering: pauseWhenBuffering ?? false,
|
|
5893
5931
|
...otherProps,
|
|
5894
5932
|
trimAfter: undefined,
|
|
@@ -5910,7 +5948,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5910
5948
|
delayRenderTimeoutInMilliseconds,
|
|
5911
5949
|
...propsForPreview
|
|
5912
5950
|
} = otherProps;
|
|
5913
|
-
return /* @__PURE__ */
|
|
5951
|
+
return /* @__PURE__ */ jsx30(VideoForPreview, {
|
|
5914
5952
|
_remotionInternalStack: stack ?? null,
|
|
5915
5953
|
onDuration,
|
|
5916
5954
|
onlyWarnForMediaSeekingError: true,
|
|
@@ -5958,7 +5996,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5958
5996
|
if (imageFormat) {
|
|
5959
5997
|
throw new TypeError(`The \`<OffthreadVideo>\` tag does no longer accept \`imageFormat\`. Use the \`transparent\` prop if you want to render a transparent video.`);
|
|
5960
5998
|
}
|
|
5961
|
-
return /* @__PURE__ */
|
|
5999
|
+
return /* @__PURE__ */ jsx30(InnerOffthreadVideo, {
|
|
5962
6000
|
acceptableTimeShiftInSeconds,
|
|
5963
6001
|
allowAmplificationDuringRender: allowAmplificationDuringRender ?? true,
|
|
5964
6002
|
audioStreamIndex: audioStreamIndex ?? 0,
|
|
@@ -5992,29 +6030,29 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5992
6030
|
});
|
|
5993
6031
|
}, WATCH_REMOTION_STATIC_FILES = "remotion_staticFilesChanged", RemotionContextProvider = (props2) => {
|
|
5994
6032
|
const { children, contexts } = props2;
|
|
5995
|
-
return /* @__PURE__ */
|
|
6033
|
+
return /* @__PURE__ */ jsx31(LogLevelContext.Provider, {
|
|
5996
6034
|
value: contexts.logLevelContext,
|
|
5997
|
-
children: /* @__PURE__ */
|
|
6035
|
+
children: /* @__PURE__ */ jsx31(CanUseRemotionHooks.Provider, {
|
|
5998
6036
|
value: contexts.canUseRemotionHooksContext,
|
|
5999
|
-
children: /* @__PURE__ */
|
|
6037
|
+
children: /* @__PURE__ */ jsx31(NonceContext.Provider, {
|
|
6000
6038
|
value: contexts.nonceContext,
|
|
6001
|
-
children: /* @__PURE__ */
|
|
6039
|
+
children: /* @__PURE__ */ jsx31(PreloadContext.Provider, {
|
|
6002
6040
|
value: contexts.preloadContext,
|
|
6003
|
-
children: /* @__PURE__ */
|
|
6041
|
+
children: /* @__PURE__ */ jsx31(CompositionManager.Provider, {
|
|
6004
6042
|
value: contexts.compositionManagerCtx,
|
|
6005
|
-
children: /* @__PURE__ */
|
|
6043
|
+
children: /* @__PURE__ */ jsx31(SequenceManager.Provider, {
|
|
6006
6044
|
value: contexts.sequenceManagerContext,
|
|
6007
|
-
children: /* @__PURE__ */
|
|
6045
|
+
children: /* @__PURE__ */ jsx31(RenderAssetManager.Provider, {
|
|
6008
6046
|
value: contexts.renderAssetManagerContext,
|
|
6009
|
-
children: /* @__PURE__ */
|
|
6047
|
+
children: /* @__PURE__ */ jsx31(ResolveCompositionContext.Provider, {
|
|
6010
6048
|
value: contexts.resolveCompositionContext,
|
|
6011
|
-
children: /* @__PURE__ */
|
|
6049
|
+
children: /* @__PURE__ */ jsx31(TimelineContext.Provider, {
|
|
6012
6050
|
value: contexts.timelineContext,
|
|
6013
|
-
children: /* @__PURE__ */
|
|
6051
|
+
children: /* @__PURE__ */ jsx31(SetTimelineContext.Provider, {
|
|
6014
6052
|
value: contexts.setTimelineContext,
|
|
6015
|
-
children: /* @__PURE__ */
|
|
6053
|
+
children: /* @__PURE__ */ jsx31(SequenceContext.Provider, {
|
|
6016
6054
|
value: contexts.sequenceContext,
|
|
6017
|
-
children: /* @__PURE__ */
|
|
6055
|
+
children: /* @__PURE__ */ jsx31(BufferingContextReact.Provider, {
|
|
6018
6056
|
value: contexts.bufferManagerContext,
|
|
6019
6057
|
children
|
|
6020
6058
|
})
|
|
@@ -6062,12 +6100,12 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6062
6100
|
return flatChildren;
|
|
6063
6101
|
}, []);
|
|
6064
6102
|
}, IsInsideSeriesContext, IsInsideSeriesContainer = ({ children }) => {
|
|
6065
|
-
return /* @__PURE__ */
|
|
6103
|
+
return /* @__PURE__ */ jsx322(IsInsideSeriesContext.Provider, {
|
|
6066
6104
|
value: true,
|
|
6067
6105
|
children
|
|
6068
6106
|
});
|
|
6069
6107
|
}, IsNotInsideSeriesProvider = ({ children }) => {
|
|
6070
|
-
return /* @__PURE__ */
|
|
6108
|
+
return /* @__PURE__ */ jsx322(IsInsideSeriesContext.Provider, {
|
|
6071
6109
|
value: false,
|
|
6072
6110
|
children
|
|
6073
6111
|
});
|
|
@@ -6078,11 +6116,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6078
6116
|
}
|
|
6079
6117
|
}, SeriesSequenceRefForwardingFunction = ({ children }, _ref) => {
|
|
6080
6118
|
useRequireToBeInsideSeries();
|
|
6081
|
-
return /* @__PURE__ */
|
|
6119
|
+
return /* @__PURE__ */ jsx33(IsNotInsideSeriesProvider, {
|
|
6082
6120
|
children
|
|
6083
6121
|
});
|
|
6084
6122
|
}, SeriesSequence, Series = (props2) => {
|
|
6085
|
-
const childrenValue =
|
|
6123
|
+
const childrenValue = useMemo30(() => {
|
|
6086
6124
|
let startFrame = 0;
|
|
6087
6125
|
const flattenedChildren = flattenChildren(props2.children);
|
|
6088
6126
|
return Children.map(flattenedChildren, (child, i) => {
|
|
@@ -6126,7 +6164,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6126
6164
|
}
|
|
6127
6165
|
const currentStartFrame = startFrame + offset;
|
|
6128
6166
|
startFrame += durationInFramesProp + offset;
|
|
6129
|
-
return /* @__PURE__ */
|
|
6167
|
+
return /* @__PURE__ */ jsx33(Sequence, {
|
|
6130
6168
|
name: name || "<Series.Sequence>",
|
|
6131
6169
|
from: currentStartFrame,
|
|
6132
6170
|
durationInFrames: durationInFramesProp,
|
|
@@ -6137,14 +6175,14 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6137
6175
|
});
|
|
6138
6176
|
}, [props2.children]);
|
|
6139
6177
|
if (ENABLE_V5_BREAKING_CHANGES) {
|
|
6140
|
-
return /* @__PURE__ */
|
|
6141
|
-
children: /* @__PURE__ */
|
|
6178
|
+
return /* @__PURE__ */ jsx33(IsInsideSeriesContainer, {
|
|
6179
|
+
children: /* @__PURE__ */ jsx33(Sequence, {
|
|
6142
6180
|
...props2,
|
|
6143
6181
|
children: childrenValue
|
|
6144
6182
|
})
|
|
6145
6183
|
});
|
|
6146
6184
|
}
|
|
6147
|
-
return /* @__PURE__ */
|
|
6185
|
+
return /* @__PURE__ */ jsx33(IsInsideSeriesContainer, {
|
|
6148
6186
|
children: childrenValue
|
|
6149
6187
|
});
|
|
6150
6188
|
}, validateSpringDuration = (dur) => {
|
|
@@ -6364,14 +6402,14 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6364
6402
|
const volumePropsFrame = useFrameForVolumeProp(loopVolumeCurveBehavior ?? "repeat");
|
|
6365
6403
|
const videoConfig = useUnsafeVideoConfig();
|
|
6366
6404
|
const videoRef = useRef17(null);
|
|
6367
|
-
const sequenceContext =
|
|
6405
|
+
const sequenceContext = useContext33(SequenceContext);
|
|
6368
6406
|
const mediaStartsAt = useMediaStartsAt();
|
|
6369
6407
|
const environment = useRemotionEnvironment();
|
|
6370
6408
|
const logLevel = useLogLevel();
|
|
6371
6409
|
const mountTime = useMountTime();
|
|
6372
6410
|
const { delayRender: delayRender2, continueRender: continueRender2 } = useDelayRender();
|
|
6373
|
-
const { registerRenderAsset, unregisterRenderAsset } =
|
|
6374
|
-
const id =
|
|
6411
|
+
const { registerRenderAsset, unregisterRenderAsset } = useContext33(RenderAssetManager);
|
|
6412
|
+
const id = useMemo31(() => `video-${random(props2.src ?? "")}-${sequenceContext?.cumulatedFrom}-${sequenceContext?.relativeFrom}-${sequenceContext?.durationInFrames}`, [
|
|
6375
6413
|
props2.src,
|
|
6376
6414
|
sequenceContext?.cumulatedFrom,
|
|
6377
6415
|
sequenceContext?.relativeFrom,
|
|
@@ -6547,7 +6585,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6547
6585
|
delayRender2
|
|
6548
6586
|
]);
|
|
6549
6587
|
}
|
|
6550
|
-
return /* @__PURE__ */
|
|
6588
|
+
return /* @__PURE__ */ jsx34("video", {
|
|
6551
6589
|
ref: videoRef,
|
|
6552
6590
|
disableRemotePlayback: true,
|
|
6553
6591
|
...props2
|
|
@@ -6569,7 +6607,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6569
6607
|
const { loop, ...propsOtherThanLoop } = props2;
|
|
6570
6608
|
const { fps } = useVideoConfig();
|
|
6571
6609
|
const environment = useRemotionEnvironment();
|
|
6572
|
-
const { durations, setDurations } =
|
|
6610
|
+
const { durations, setDurations } = useContext34(DurationsContext);
|
|
6573
6611
|
if (typeof ref === "string") {
|
|
6574
6612
|
throw new Error("string refs are not supported");
|
|
6575
6613
|
}
|
|
@@ -6591,14 +6629,14 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6591
6629
|
});
|
|
6592
6630
|
if (loop && durationFetched !== undefined) {
|
|
6593
6631
|
if (!Number.isFinite(durationFetched)) {
|
|
6594
|
-
return /* @__PURE__ */
|
|
6632
|
+
return /* @__PURE__ */ jsx35(Html5Video, {
|
|
6595
6633
|
...propsOtherThanLoop,
|
|
6596
6634
|
ref,
|
|
6597
6635
|
_remotionInternalNativeLoopPassed: true
|
|
6598
6636
|
});
|
|
6599
6637
|
}
|
|
6600
6638
|
const mediaDuration = durationFetched * fps;
|
|
6601
|
-
return /* @__PURE__ */
|
|
6639
|
+
return /* @__PURE__ */ jsx35(Loop, {
|
|
6602
6640
|
durationInFrames: calculateMediaDuration({
|
|
6603
6641
|
trimAfter: trimAfterValue,
|
|
6604
6642
|
mediaDurationInFrames: mediaDuration,
|
|
@@ -6607,7 +6645,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6607
6645
|
}),
|
|
6608
6646
|
layout: "none",
|
|
6609
6647
|
name,
|
|
6610
|
-
children: /* @__PURE__ */
|
|
6648
|
+
children: /* @__PURE__ */ jsx35(Html5Video, {
|
|
6611
6649
|
...propsOtherThanLoop,
|
|
6612
6650
|
ref,
|
|
6613
6651
|
_remotionInternalNativeLoopPassed: true
|
|
@@ -6615,13 +6653,13 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6615
6653
|
});
|
|
6616
6654
|
}
|
|
6617
6655
|
if (typeof trimBeforeValue !== "undefined" || typeof trimAfterValue !== "undefined") {
|
|
6618
|
-
return /* @__PURE__ */
|
|
6656
|
+
return /* @__PURE__ */ jsx35(Sequence, {
|
|
6619
6657
|
layout: "none",
|
|
6620
6658
|
from: 0 - (trimBeforeValue ?? 0),
|
|
6621
6659
|
showInTimeline: false,
|
|
6622
6660
|
durationInFrames: trimAfterValue,
|
|
6623
6661
|
name,
|
|
6624
|
-
children: /* @__PURE__ */
|
|
6662
|
+
children: /* @__PURE__ */ jsx35(Html5Video, {
|
|
6625
6663
|
pauseWhenBuffering: pauseWhenBuffering ?? false,
|
|
6626
6664
|
...otherProps,
|
|
6627
6665
|
ref
|
|
@@ -6630,14 +6668,14 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6630
6668
|
}
|
|
6631
6669
|
validateMediaProps({ playbackRate: props2.playbackRate, volume: props2.volume }, "Html5Video");
|
|
6632
6670
|
if (environment.isRendering) {
|
|
6633
|
-
return /* @__PURE__ */
|
|
6671
|
+
return /* @__PURE__ */ jsx35(VideoForRendering, {
|
|
6634
6672
|
onDuration,
|
|
6635
6673
|
onVideoFrame: onVideoFrame ?? null,
|
|
6636
6674
|
...otherProps,
|
|
6637
6675
|
ref
|
|
6638
6676
|
});
|
|
6639
6677
|
}
|
|
6640
|
-
return /* @__PURE__ */
|
|
6678
|
+
return /* @__PURE__ */ jsx35(VideoForPreview, {
|
|
6641
6679
|
onlyWarnForMediaSeekingError: false,
|
|
6642
6680
|
...otherProps,
|
|
6643
6681
|
ref,
|
|
@@ -6985,8 +7023,9 @@ var init_esm = __esm(() => {
|
|
|
6985
7023
|
});
|
|
6986
7024
|
injected = {};
|
|
6987
7025
|
listeners = [];
|
|
7026
|
+
MediaEnabledContext = createContext18(null);
|
|
6988
7027
|
CurrentScaleContext = React26.createContext(null);
|
|
6989
|
-
PreviewSizeContext =
|
|
7028
|
+
PreviewSizeContext = createContext19({
|
|
6990
7029
|
setSize: () => {
|
|
6991
7030
|
return;
|
|
6992
7031
|
},
|
|
@@ -7080,10 +7119,12 @@ var init_esm = __esm(() => {
|
|
|
7080
7119
|
InnerOffthreadVideo,
|
|
7081
7120
|
useBasicMediaInTimeline,
|
|
7082
7121
|
getInputPropsOverride,
|
|
7083
|
-
setInputPropsOverride
|
|
7122
|
+
setInputPropsOverride,
|
|
7123
|
+
useVideoEnabled,
|
|
7124
|
+
useAudioEnabled
|
|
7084
7125
|
};
|
|
7085
7126
|
PERCENTAGE = NUMBER + "%";
|
|
7086
|
-
IsInsideSeriesContext =
|
|
7127
|
+
IsInsideSeriesContext = createContext20(false);
|
|
7087
7128
|
SeriesSequence = forwardRef10(SeriesSequenceRefForwardingFunction);
|
|
7088
7129
|
Series.Sequence = SeriesSequence;
|
|
7089
7130
|
addSequenceStackTraces(SeriesSequence);
|
|
@@ -7151,7 +7192,7 @@ __export(exports_esm, {
|
|
|
7151
7192
|
});
|
|
7152
7193
|
import lottie from "lottie-web";
|
|
7153
7194
|
import { useEffect as useEffect26, useRef as useRef21, useState as useState24 } from "react";
|
|
7154
|
-
import { jsx as
|
|
7195
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
7155
7196
|
var getLottieMetadata = (animationData) => {
|
|
7156
7197
|
const width2 = animationData.w;
|
|
7157
7198
|
const height2 = animationData.h;
|
|
@@ -7309,7 +7350,7 @@ var getLottieMetadata = (animationData) => {
|
|
|
7309
7350
|
img.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", img.href.baseVal);
|
|
7310
7351
|
});
|
|
7311
7352
|
}, [direction, frame, loop, playbackRate, delayRender, continueRender]);
|
|
7312
|
-
return /* @__PURE__ */
|
|
7353
|
+
return /* @__PURE__ */ jsx44("div", {
|
|
7313
7354
|
ref: containerRef,
|
|
7314
7355
|
className: className2,
|
|
7315
7356
|
style: style2
|
|
@@ -12224,17 +12265,17 @@ init_esm();
|
|
|
12224
12265
|
init_esm();
|
|
12225
12266
|
init_esm();
|
|
12226
12267
|
init_esm();
|
|
12227
|
-
import { jsx as
|
|
12268
|
+
import { jsx as jsx36, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
12228
12269
|
import { jsx as jsx210, jsxs as jsxs23, Fragment } from "react/jsx-runtime";
|
|
12229
12270
|
import React6 from "react";
|
|
12230
12271
|
import { useContext as useContext210, useEffect as useEffect23, useState as useState20 } from "react";
|
|
12231
|
-
import { useContext as
|
|
12232
|
-
import { jsx as
|
|
12272
|
+
import { useContext as useContext35, useEffect as useEffect24 } from "react";
|
|
12273
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
12233
12274
|
import { useCallback as useCallback18, useRef as useRef18 } from "react";
|
|
12234
12275
|
import { useEffect as useEffect32, useState as useState23 } from "react";
|
|
12235
12276
|
import { useContext as useContext42, useEffect as useEffect62, useRef as useRef42 } from "react";
|
|
12236
12277
|
import { useEffect as useEffect42 } from "react";
|
|
12237
|
-
import { useCallback as useCallback23, useContext as
|
|
12278
|
+
import { useCallback as useCallback23, useContext as useContext36, useMemo as useMemo32, useRef as useRef22, useState as useState32 } from "react";
|
|
12238
12279
|
import { useEffect as useEffect52, useRef as useRef32 } from "react";
|
|
12239
12280
|
import { useCallback as useCallback32, useEffect as useEffect72, useMemo as useMemo210, useState as useState42 } from "react";
|
|
12240
12281
|
import {
|
|
@@ -12260,7 +12301,7 @@ import React102, {
|
|
|
12260
12301
|
import { useCallback as useCallback82, useEffect as useEffect112, useMemo as useMemo92, useRef as useRef82, useState as useState102 } from "react";
|
|
12261
12302
|
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
12262
12303
|
import { useCallback as useCallback52, useMemo as useMemo42, useRef as useRef52, useState as useState62 } from "react";
|
|
12263
|
-
import React33, { useCallback as useCallback42, useMemo as
|
|
12304
|
+
import React33, { useCallback as useCallback42, useMemo as useMemo33, useState as useState52 } from "react";
|
|
12264
12305
|
import { jsx as jsx53, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
12265
12306
|
import { jsx as jsx63, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
12266
12307
|
import {
|
|
@@ -12932,12 +12973,12 @@ import { jsx as jsx162 } from "react/jsx-runtime";
|
|
|
12932
12973
|
var ICON_SIZE2 = 25;
|
|
12933
12974
|
var fullscreenIconSize = 16;
|
|
12934
12975
|
var PlayIcon = () => {
|
|
12935
|
-
return /* @__PURE__ */
|
|
12976
|
+
return /* @__PURE__ */ jsx36("svg", {
|
|
12936
12977
|
width: ICON_SIZE2,
|
|
12937
12978
|
height: ICON_SIZE2,
|
|
12938
12979
|
viewBox: "0 0 25 25",
|
|
12939
12980
|
fill: "none",
|
|
12940
|
-
children: /* @__PURE__ */
|
|
12981
|
+
children: /* @__PURE__ */ jsx36("path", {
|
|
12941
12982
|
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
12983
|
fill: "white",
|
|
12943
12984
|
stroke: "white",
|
|
@@ -12952,7 +12993,7 @@ var PauseIcon = () => {
|
|
|
12952
12993
|
width: ICON_SIZE2,
|
|
12953
12994
|
height: ICON_SIZE2,
|
|
12954
12995
|
children: [
|
|
12955
|
-
/* @__PURE__ */
|
|
12996
|
+
/* @__PURE__ */ jsx36("rect", {
|
|
12956
12997
|
x: "25",
|
|
12957
12998
|
y: "20",
|
|
12958
12999
|
width: "20",
|
|
@@ -12961,7 +13002,7 @@ var PauseIcon = () => {
|
|
|
12961
13002
|
ry: "5",
|
|
12962
13003
|
rx: "5"
|
|
12963
13004
|
}),
|
|
12964
|
-
/* @__PURE__ */
|
|
13005
|
+
/* @__PURE__ */ jsx36("rect", {
|
|
12965
13006
|
x: "55",
|
|
12966
13007
|
y: "20",
|
|
12967
13008
|
width: "20",
|
|
@@ -12986,7 +13027,7 @@ var FullscreenIcon = ({
|
|
|
12986
13027
|
height: fullscreenIconSize,
|
|
12987
13028
|
width: fullscreenIconSize,
|
|
12988
13029
|
children: [
|
|
12989
|
-
/* @__PURE__ */
|
|
13030
|
+
/* @__PURE__ */ jsx36("path", {
|
|
12990
13031
|
d: `
|
|
12991
13032
|
M ${out} ${inset}
|
|
12992
13033
|
L ${middleInset} ${middleInset}
|
|
@@ -12996,7 +13037,7 @@ var FullscreenIcon = ({
|
|
|
12996
13037
|
strokeWidth: strokeWidth2,
|
|
12997
13038
|
fill: "none"
|
|
12998
13039
|
}),
|
|
12999
|
-
/* @__PURE__ */
|
|
13040
|
+
/* @__PURE__ */ jsx36("path", {
|
|
13000
13041
|
d: `
|
|
13001
13042
|
M ${viewSize - out} ${inset}
|
|
13002
13043
|
L ${viewSize - middleInset} ${middleInset}
|
|
@@ -13006,7 +13047,7 @@ var FullscreenIcon = ({
|
|
|
13006
13047
|
strokeWidth: strokeWidth2,
|
|
13007
13048
|
fill: "none"
|
|
13008
13049
|
}),
|
|
13009
|
-
/* @__PURE__ */
|
|
13050
|
+
/* @__PURE__ */ jsx36("path", {
|
|
13010
13051
|
d: `
|
|
13011
13052
|
M ${out} ${viewSize - inset}
|
|
13012
13053
|
L ${middleInset} ${viewSize - middleInset}
|
|
@@ -13016,7 +13057,7 @@ var FullscreenIcon = ({
|
|
|
13016
13057
|
strokeWidth: strokeWidth2,
|
|
13017
13058
|
fill: "none"
|
|
13018
13059
|
}),
|
|
13019
|
-
/* @__PURE__ */
|
|
13060
|
+
/* @__PURE__ */ jsx36("path", {
|
|
13020
13061
|
d: `
|
|
13021
13062
|
M ${viewSize - out} ${viewSize - inset}
|
|
13022
13063
|
L ${viewSize - middleInset} ${viewSize - middleInset}
|
|
@@ -13030,22 +13071,22 @@ var FullscreenIcon = ({
|
|
|
13030
13071
|
});
|
|
13031
13072
|
};
|
|
13032
13073
|
var VolumeOffIcon = () => {
|
|
13033
|
-
return /* @__PURE__ */
|
|
13074
|
+
return /* @__PURE__ */ jsx36("svg", {
|
|
13034
13075
|
width: ICON_SIZE2,
|
|
13035
13076
|
height: ICON_SIZE2,
|
|
13036
13077
|
viewBox: "0 0 24 24",
|
|
13037
|
-
children: /* @__PURE__ */
|
|
13078
|
+
children: /* @__PURE__ */ jsx36("path", {
|
|
13038
13079
|
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
13080
|
fill: "#fff"
|
|
13040
13081
|
})
|
|
13041
13082
|
});
|
|
13042
13083
|
};
|
|
13043
13084
|
var VolumeOnIcon = () => {
|
|
13044
|
-
return /* @__PURE__ */
|
|
13085
|
+
return /* @__PURE__ */ jsx36("svg", {
|
|
13045
13086
|
width: ICON_SIZE2,
|
|
13046
13087
|
height: ICON_SIZE2,
|
|
13047
13088
|
viewBox: "0 0 24 24",
|
|
13048
|
-
children: /* @__PURE__ */
|
|
13089
|
+
children: /* @__PURE__ */ jsx36("path", {
|
|
13049
13090
|
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
13091
|
fill: "#fff"
|
|
13051
13092
|
})
|
|
@@ -13361,7 +13402,7 @@ class ThumbnailEmitter {
|
|
|
13361
13402
|
};
|
|
13362
13403
|
}
|
|
13363
13404
|
var useBufferStateEmitter = (emitter) => {
|
|
13364
|
-
const bufferManager =
|
|
13405
|
+
const bufferManager = useContext35(Internals.BufferingContextReact);
|
|
13365
13406
|
if (!bufferManager) {
|
|
13366
13407
|
throw new Error("BufferingContextReact not found");
|
|
13367
13408
|
}
|
|
@@ -13392,7 +13433,7 @@ var PlayerEmitterProvider = ({ children, currentPlaybackRate }) => {
|
|
|
13392
13433
|
}
|
|
13393
13434
|
}, [emitter, currentPlaybackRate]);
|
|
13394
13435
|
useBufferStateEmitter(emitter);
|
|
13395
|
-
return /* @__PURE__ */
|
|
13436
|
+
return /* @__PURE__ */ jsx37(PlayerEventEmitterContext.Provider, {
|
|
13396
13437
|
value: emitter,
|
|
13397
13438
|
children
|
|
13398
13439
|
});
|
|
@@ -13444,20 +13485,20 @@ var usePlayer = () => {
|
|
|
13444
13485
|
const playStart = useRef22(frame);
|
|
13445
13486
|
const setFrame = Internals.Timeline.useTimelineSetFrame();
|
|
13446
13487
|
const setTimelinePosition = Internals.Timeline.useTimelineSetFrame();
|
|
13447
|
-
const audioContext =
|
|
13448
|
-
const { audioAndVideoTags } =
|
|
13488
|
+
const audioContext = useContext36(Internals.SharedAudioContext);
|
|
13489
|
+
const { audioAndVideoTags } = useContext36(Internals.Timeline.TimelineContext);
|
|
13449
13490
|
const frameRef = useRef22(frame);
|
|
13450
13491
|
frameRef.current = frame;
|
|
13451
13492
|
const video = Internals.useVideo();
|
|
13452
13493
|
const config = Internals.useUnsafeVideoConfig();
|
|
13453
|
-
const emitter =
|
|
13494
|
+
const emitter = useContext36(PlayerEventEmitterContext);
|
|
13454
13495
|
const lastFrame = (config?.durationInFrames ?? 1) - 1;
|
|
13455
13496
|
const isLastFrame = frame === lastFrame;
|
|
13456
13497
|
const isFirstFrame = frame === 0;
|
|
13457
13498
|
if (!emitter) {
|
|
13458
13499
|
throw new TypeError("Expected Player event emitter context");
|
|
13459
13500
|
}
|
|
13460
|
-
const bufferingContext =
|
|
13501
|
+
const bufferingContext = useContext36(Internals.BufferingContextReact);
|
|
13461
13502
|
if (!bufferingContext) {
|
|
13462
13503
|
throw new Error("Missing the buffering context. Most likely you have a Remotion version mismatch.");
|
|
13463
13504
|
}
|
|
@@ -13563,7 +13604,7 @@ var usePlayer = () => {
|
|
|
13563
13604
|
play(e);
|
|
13564
13605
|
}
|
|
13565
13606
|
}, [imperativePlaying, pause, play]);
|
|
13566
|
-
const returnValue =
|
|
13607
|
+
const returnValue = useMemo32(() => {
|
|
13567
13608
|
return {
|
|
13568
13609
|
frameBack,
|
|
13569
13610
|
frameForward,
|
|
@@ -14027,7 +14068,7 @@ var DefaultVolumeSlider = ({
|
|
|
14027
14068
|
inputRef,
|
|
14028
14069
|
setVolume
|
|
14029
14070
|
}) => {
|
|
14030
|
-
const sliderContainer =
|
|
14071
|
+
const sliderContainer = useMemo33(() => {
|
|
14031
14072
|
const paddingLeft = 5;
|
|
14032
14073
|
const common = {
|
|
14033
14074
|
paddingLeft,
|
|
@@ -14052,7 +14093,7 @@ var DefaultVolumeSlider = ({
|
|
|
14052
14093
|
const onVolumeChange = useCallback42((e) => {
|
|
14053
14094
|
setVolume(parseFloat(e.target.value));
|
|
14054
14095
|
}, [setVolume]);
|
|
14055
|
-
const inputStyle =
|
|
14096
|
+
const inputStyle = useMemo33(() => {
|
|
14056
14097
|
const commonStyle = {
|
|
14057
14098
|
WebkitAppearance: "none",
|
|
14058
14099
|
backgroundColor: "rgba(255, 255, 255, 0.5)",
|
|
@@ -16282,7 +16323,7 @@ var Thumbnail = forward2(ThumbnailFn);
|
|
|
16282
16323
|
import {
|
|
16283
16324
|
useCallback as useCallback35,
|
|
16284
16325
|
useEffect as useEffect38,
|
|
16285
|
-
useMemo as
|
|
16326
|
+
useMemo as useMemo43,
|
|
16286
16327
|
useRef as useRef28,
|
|
16287
16328
|
useState as useState33
|
|
16288
16329
|
} from "react";
|
|
@@ -17033,24 +17074,24 @@ var UNDERLAY_RED = curriedTransparentize$1(0.9, RED);
|
|
|
17033
17074
|
var BLUE_TEXT = curriedDarken$1(0.3, "#42e9f5");
|
|
17034
17075
|
|
|
17035
17076
|
// src/components/homepage/layout/use-color-mode.tsx
|
|
17036
|
-
import React11, { useContext as
|
|
17037
|
-
import { jsx as
|
|
17077
|
+
import React11, { useContext as useContext37, useMemo as useMemo34 } from "react";
|
|
17078
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
17038
17079
|
var Context = React11.createContext(undefined);
|
|
17039
17080
|
var ColorModeProvider = ({
|
|
17040
17081
|
children,
|
|
17041
17082
|
colorMode,
|
|
17042
17083
|
setColorMode
|
|
17043
17084
|
}) => {
|
|
17044
|
-
const value =
|
|
17085
|
+
const value = useMemo34(() => {
|
|
17045
17086
|
return { colorMode, setColorMode };
|
|
17046
17087
|
}, [colorMode, setColorMode]);
|
|
17047
|
-
return /* @__PURE__ */
|
|
17088
|
+
return /* @__PURE__ */ jsx38(Context.Provider, {
|
|
17048
17089
|
value,
|
|
17049
17090
|
children
|
|
17050
17091
|
});
|
|
17051
17092
|
};
|
|
17052
17093
|
function useColorMode() {
|
|
17053
|
-
const context =
|
|
17094
|
+
const context = useContext37(Context);
|
|
17054
17095
|
if (context === null || context === undefined) {
|
|
17055
17096
|
throw new Error("ColorModeProvider");
|
|
17056
17097
|
}
|
|
@@ -17059,7 +17100,7 @@ function useColorMode() {
|
|
|
17059
17100
|
|
|
17060
17101
|
// src/components/homepage/Demo/Comp.tsx
|
|
17061
17102
|
init_esm();
|
|
17062
|
-
import { useCallback as useCallback27, useEffect as useEffect30, useMemo as
|
|
17103
|
+
import { useCallback as useCallback27, useEffect as useEffect30, useMemo as useMemo37, useState as useState28 } from "react";
|
|
17063
17104
|
|
|
17064
17105
|
// src/components/homepage/Demo/Cards.tsx
|
|
17065
17106
|
init_esm();
|
|
@@ -17108,14 +17149,14 @@ var getIndexFromPosition = (clientX, clientY) => {
|
|
|
17108
17149
|
|
|
17109
17150
|
// src/components/homepage/Demo/Switcher.tsx
|
|
17110
17151
|
import { useCallback as useCallback20 } from "react";
|
|
17111
|
-
import { jsx as
|
|
17152
|
+
import { jsx as jsx39, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
17112
17153
|
var Switcher = ({ type, theme, onTap }) => {
|
|
17113
17154
|
const onPointerDown = useCallback20((e) => {
|
|
17114
17155
|
e.stopPropagation();
|
|
17115
17156
|
onTap();
|
|
17116
17157
|
}, [onTap]);
|
|
17117
17158
|
const switcherSize = 40;
|
|
17118
|
-
return /* @__PURE__ */
|
|
17159
|
+
return /* @__PURE__ */ jsx39("div", {
|
|
17119
17160
|
onPointerDown,
|
|
17120
17161
|
style: {
|
|
17121
17162
|
height: switcherSize,
|
|
@@ -17137,11 +17178,11 @@ var Switcher = ({ type, theme, onTap }) => {
|
|
|
17137
17178
|
style: { height: switcherSize / 2 },
|
|
17138
17179
|
viewBox: "0 0 320 512",
|
|
17139
17180
|
children: [
|
|
17140
|
-
type === "left" ? /* @__PURE__ */
|
|
17181
|
+
type === "left" ? /* @__PURE__ */ jsx39("path", {
|
|
17141
17182
|
fill: "currentcolor",
|
|
17142
17183
|
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
17184
|
}) : null,
|
|
17144
|
-
type === "right" ? /* @__PURE__ */
|
|
17185
|
+
type === "right" ? /* @__PURE__ */ jsx39("path", {
|
|
17145
17186
|
fill: "currentcolor",
|
|
17146
17187
|
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
17188
|
}) : null
|
|
@@ -17151,7 +17192,7 @@ var Switcher = ({ type, theme, onTap }) => {
|
|
|
17151
17192
|
};
|
|
17152
17193
|
|
|
17153
17194
|
// src/components/homepage/Demo/Card.tsx
|
|
17154
|
-
import { jsx as
|
|
17195
|
+
import { jsx as jsx40, jsxs as jsxs12, Fragment as Fragment4 } from "react/jsx-runtime";
|
|
17155
17196
|
var arePositionsEqual = (a, b) => {
|
|
17156
17197
|
return a.every((pos, i) => {
|
|
17157
17198
|
return pos.x === b[i].x && pos.y === b[i].y;
|
|
@@ -17312,7 +17353,7 @@ var Card = ({
|
|
|
17312
17353
|
}, []);
|
|
17313
17354
|
const { x, y } = getPositionForIndex(index);
|
|
17314
17355
|
const color = theme === "light" ? " #EAEAEA" : "#333";
|
|
17315
|
-
return /* @__PURE__ */
|
|
17356
|
+
return /* @__PURE__ */ jsx40("div", {
|
|
17316
17357
|
ref: refToUse,
|
|
17317
17358
|
className: "transition-opacity duration-200",
|
|
17318
17359
|
onPointerDown,
|
|
@@ -17338,12 +17379,12 @@ var Card = ({
|
|
|
17338
17379
|
content,
|
|
17339
17380
|
withSwitcher ? /* @__PURE__ */ jsxs12(Fragment4, {
|
|
17340
17381
|
children: [
|
|
17341
|
-
/* @__PURE__ */
|
|
17382
|
+
/* @__PURE__ */ jsx40(Switcher, {
|
|
17342
17383
|
onTap: onClickLeft,
|
|
17343
17384
|
type: "left",
|
|
17344
17385
|
theme
|
|
17345
17386
|
}),
|
|
17346
|
-
/* @__PURE__ */
|
|
17387
|
+
/* @__PURE__ */ jsx40(Switcher, {
|
|
17347
17388
|
onTap: onClickRight,
|
|
17348
17389
|
type: "right",
|
|
17349
17390
|
theme
|
|
@@ -17357,7 +17398,7 @@ var Card = ({
|
|
|
17357
17398
|
|
|
17358
17399
|
// src/components/homepage/Demo/CurrentCountry.tsx
|
|
17359
17400
|
init_esm();
|
|
17360
|
-
import { jsx as
|
|
17401
|
+
import { jsx as jsx41, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
17361
17402
|
var CurrentCountry = ({ theme, countryPaths, countryLabel }) => {
|
|
17362
17403
|
const { fps } = useVideoConfig();
|
|
17363
17404
|
const frame = useCurrentFrame();
|
|
@@ -17375,16 +17416,16 @@ var CurrentCountry = ({ theme, countryPaths, countryLabel }) => {
|
|
|
17375
17416
|
return /* @__PURE__ */ jsxs13(AbsoluteFill, {
|
|
17376
17417
|
style: { overflow: "hidden" },
|
|
17377
17418
|
children: [
|
|
17378
|
-
/* @__PURE__ */
|
|
17419
|
+
/* @__PURE__ */ jsx41(AbsoluteFill, {
|
|
17379
17420
|
style: {
|
|
17380
17421
|
transform: `scale(${progress})`
|
|
17381
17422
|
},
|
|
17382
|
-
children: /* @__PURE__ */
|
|
17423
|
+
children: /* @__PURE__ */ jsx41("svg", {
|
|
17383
17424
|
viewBox: boundingBox.viewBox,
|
|
17384
17425
|
style: {
|
|
17385
17426
|
scale: "0.8"
|
|
17386
17427
|
},
|
|
17387
|
-
children: /* @__PURE__ */
|
|
17428
|
+
children: /* @__PURE__ */ jsx41("path", {
|
|
17388
17429
|
fill: theme === "light" ? "#bbb" : "#222",
|
|
17389
17430
|
d: reset
|
|
17390
17431
|
})
|
|
@@ -17396,7 +17437,7 @@ var CurrentCountry = ({ theme, countryPaths, countryLabel }) => {
|
|
|
17396
17437
|
justifyContent: "center"
|
|
17397
17438
|
},
|
|
17398
17439
|
children: [
|
|
17399
|
-
/* @__PURE__ */
|
|
17440
|
+
/* @__PURE__ */ jsx41("div", {
|
|
17400
17441
|
style: {
|
|
17401
17442
|
color: "#0b84f3",
|
|
17402
17443
|
fontFamily: "GTPlanar",
|
|
@@ -17411,7 +17452,7 @@ var CurrentCountry = ({ theme, countryPaths, countryLabel }) => {
|
|
|
17411
17452
|
},
|
|
17412
17453
|
children: "Your country"
|
|
17413
17454
|
}),
|
|
17414
|
-
/* @__PURE__ */
|
|
17455
|
+
/* @__PURE__ */ jsx41("div", {
|
|
17415
17456
|
style: {
|
|
17416
17457
|
lineHeight: 1.1,
|
|
17417
17458
|
fontFamily: "GTPlanar",
|
|
@@ -17444,14 +17485,14 @@ import {
|
|
|
17444
17485
|
|
|
17445
17486
|
// src/components/homepage/Demo/DisplayedEmoji.tsx
|
|
17446
17487
|
init_esm();
|
|
17447
|
-
import { useEffect as useEffect27, useMemo as
|
|
17448
|
-
import { jsx as
|
|
17488
|
+
import { useEffect as useEffect27, useMemo as useMemo35, useState as useState26 } from "react";
|
|
17489
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
17449
17490
|
var DisplayedEmoji = ({ emoji }) => {
|
|
17450
17491
|
const [data, setData] = useState26(null);
|
|
17451
17492
|
const { durationInFrames, fps } = useVideoConfig();
|
|
17452
17493
|
const [browser, setBrowser] = useState26(typeof document !== "undefined");
|
|
17453
17494
|
const { delayRender, continueRender } = useDelayRender();
|
|
17454
|
-
const src =
|
|
17495
|
+
const src = useMemo35(() => {
|
|
17455
17496
|
if (emoji === "melting") {
|
|
17456
17497
|
return "https://fonts.gstatic.com/s/e/notoemoji/latest/1fae0/lottie.json";
|
|
17457
17498
|
}
|
|
@@ -17497,7 +17538,7 @@ var DisplayedEmoji = ({ emoji }) => {
|
|
|
17497
17538
|
const ratio = durationInFrames / fps / animDurtion;
|
|
17498
17539
|
const closestInteger = ratio;
|
|
17499
17540
|
const closestRatio = closestInteger / ratio;
|
|
17500
|
-
return /* @__PURE__ */
|
|
17541
|
+
return /* @__PURE__ */ jsx46(data.Lottie, {
|
|
17501
17542
|
style: {
|
|
17502
17543
|
height: 100,
|
|
17503
17544
|
width: "100%",
|
|
@@ -17511,7 +17552,7 @@ var DisplayedEmoji = ({ emoji }) => {
|
|
|
17511
17552
|
};
|
|
17512
17553
|
|
|
17513
17554
|
// src/components/homepage/Demo/EmojiCard.tsx
|
|
17514
|
-
import { jsx as
|
|
17555
|
+
import { jsx as jsx47, jsxs as jsxs14, Fragment as Fragment6 } from "react/jsx-runtime";
|
|
17515
17556
|
var applyTransforms = ({ ref1, ref2, ref3, transforms }) => {
|
|
17516
17557
|
ref1.style.transform = `translateX(${transforms[0]}%)`;
|
|
17517
17558
|
ref2.style.transform = `translateX(${transforms[1]}%)`;
|
|
@@ -17614,7 +17655,7 @@ var EmojiCardRefFn = ({ emojiIndex }, ref) => {
|
|
|
17614
17655
|
overflow: "hidden"
|
|
17615
17656
|
},
|
|
17616
17657
|
children: [
|
|
17617
|
-
/* @__PURE__ */
|
|
17658
|
+
/* @__PURE__ */ jsx47("div", {
|
|
17618
17659
|
style: {
|
|
17619
17660
|
color: "#0b84f3",
|
|
17620
17661
|
fontFamily: "GTPlanar",
|
|
@@ -17626,7 +17667,7 @@ var EmojiCardRefFn = ({ emojiIndex }, ref) => {
|
|
|
17626
17667
|
},
|
|
17627
17668
|
children: "Choose an emoji"
|
|
17628
17669
|
}),
|
|
17629
|
-
/* @__PURE__ */
|
|
17670
|
+
/* @__PURE__ */ jsx47("div", {
|
|
17630
17671
|
style: {
|
|
17631
17672
|
position: "absolute",
|
|
17632
17673
|
width: "100%",
|
|
@@ -17634,31 +17675,31 @@ var EmojiCardRefFn = ({ emojiIndex }, ref) => {
|
|
|
17634
17675
|
whiteSpace: "nowrap",
|
|
17635
17676
|
height: "100%"
|
|
17636
17677
|
},
|
|
17637
|
-
children: env.isRendering ? /* @__PURE__ */
|
|
17678
|
+
children: env.isRendering ? /* @__PURE__ */ jsx47("div", {
|
|
17638
17679
|
style: emojiStyle,
|
|
17639
|
-
children: /* @__PURE__ */
|
|
17680
|
+
children: /* @__PURE__ */ jsx47(DisplayedEmoji, {
|
|
17640
17681
|
emoji: emojiIndex
|
|
17641
17682
|
})
|
|
17642
17683
|
}) : /* @__PURE__ */ jsxs14(Fragment6, {
|
|
17643
17684
|
children: [
|
|
17644
|
-
/* @__PURE__ */
|
|
17685
|
+
/* @__PURE__ */ jsx47("div", {
|
|
17645
17686
|
ref: ref1,
|
|
17646
17687
|
style: emojiStyle,
|
|
17647
|
-
children: /* @__PURE__ */
|
|
17688
|
+
children: /* @__PURE__ */ jsx47(DisplayedEmoji, {
|
|
17648
17689
|
emoji: "melting"
|
|
17649
17690
|
})
|
|
17650
17691
|
}),
|
|
17651
|
-
/* @__PURE__ */
|
|
17692
|
+
/* @__PURE__ */ jsx47("div", {
|
|
17652
17693
|
ref: ref2,
|
|
17653
17694
|
style: emojiStyle,
|
|
17654
|
-
children: /* @__PURE__ */
|
|
17695
|
+
children: /* @__PURE__ */ jsx47(DisplayedEmoji, {
|
|
17655
17696
|
emoji: "partying-face"
|
|
17656
17697
|
})
|
|
17657
17698
|
}),
|
|
17658
|
-
/* @__PURE__ */
|
|
17699
|
+
/* @__PURE__ */ jsx47("div", {
|
|
17659
17700
|
ref: ref3,
|
|
17660
17701
|
style: emojiStyle,
|
|
17661
|
-
children: /* @__PURE__ */
|
|
17702
|
+
children: /* @__PURE__ */ jsx47(DisplayedEmoji, {
|
|
17662
17703
|
emoji: "fire"
|
|
17663
17704
|
})
|
|
17664
17705
|
})
|
|
@@ -17677,9 +17718,9 @@ init_esm();
|
|
|
17677
17718
|
init_esm();
|
|
17678
17719
|
|
|
17679
17720
|
// src/components/homepage/Demo/Minus.tsx
|
|
17680
|
-
import { jsx as
|
|
17721
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
17681
17722
|
var Minus = ({ leftOffset, minusSignOpacity }) => {
|
|
17682
|
-
return /* @__PURE__ */
|
|
17723
|
+
return /* @__PURE__ */ jsx48("div", {
|
|
17683
17724
|
style: {
|
|
17684
17725
|
position: "relative",
|
|
17685
17726
|
marginLeft: -40 - leftOffset,
|
|
@@ -17693,7 +17734,7 @@ var Minus = ({ leftOffset, minusSignOpacity }) => {
|
|
|
17693
17734
|
};
|
|
17694
17735
|
|
|
17695
17736
|
// src/components/homepage/Demo/DigitWheel.tsx
|
|
17696
|
-
import { jsx as
|
|
17737
|
+
import { jsx as jsx49, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
17697
17738
|
var DURATION = 25;
|
|
17698
17739
|
var items = 10;
|
|
17699
17740
|
var NUM_WIDTH = 36;
|
|
@@ -17746,11 +17787,11 @@ var Wheel = ({ delay: delay2, digits, renderDigit, isLeadingDigit, isNegative })
|
|
|
17746
17787
|
marginLeft: shiftLeft
|
|
17747
17788
|
},
|
|
17748
17789
|
children: [
|
|
17749
|
-
isLeadingDigit ? /* @__PURE__ */
|
|
17790
|
+
isLeadingDigit ? /* @__PURE__ */ jsx49(Minus, {
|
|
17750
17791
|
minusSignOpacity,
|
|
17751
17792
|
leftOffset: shiftLeft + minusSignMarginLeft
|
|
17752
17793
|
}) : null,
|
|
17753
|
-
/* @__PURE__ */
|
|
17794
|
+
/* @__PURE__ */ jsx49(AbsoluteFill, {
|
|
17754
17795
|
style: {
|
|
17755
17796
|
perspective: 5000,
|
|
17756
17797
|
maskImage: `linear-gradient(to bottom, transparent 0%, #000 28%, #000 80%, transparent 100%)`,
|
|
@@ -17761,7 +17802,7 @@ var Wheel = ({ delay: delay2, digits, renderDigit, isLeadingDigit, isNegative })
|
|
|
17761
17802
|
const z = Math.cos(index * -Math.PI * 2) * 120;
|
|
17762
17803
|
const y = Math.sin(index * Math.PI * 2) * -120;
|
|
17763
17804
|
const r2 = interpolate(index, [0, 1], [0, Math.PI * 2]);
|
|
17764
|
-
return /* @__PURE__ */
|
|
17805
|
+
return /* @__PURE__ */ jsx49(AbsoluteFill, {
|
|
17765
17806
|
style: {
|
|
17766
17807
|
justifyContent: "center",
|
|
17767
17808
|
alignItems: "center",
|
|
@@ -17771,7 +17812,7 @@ var Wheel = ({ delay: delay2, digits, renderDigit, isLeadingDigit, isNegative })
|
|
|
17771
17812
|
backfaceVisibility: "hidden",
|
|
17772
17813
|
perspective: 1000
|
|
17773
17814
|
},
|
|
17774
|
-
children: /* @__PURE__ */
|
|
17815
|
+
children: /* @__PURE__ */ jsx49("div", {
|
|
17775
17816
|
style: {
|
|
17776
17817
|
transform: `rotateX(-${r2}rad)`,
|
|
17777
17818
|
backfaceVisibility: "hidden",
|
|
@@ -17781,7 +17822,7 @@ var Wheel = ({ delay: delay2, digits, renderDigit, isLeadingDigit, isNegative })
|
|
|
17781
17822
|
justifyContent: "center",
|
|
17782
17823
|
opacity
|
|
17783
17824
|
},
|
|
17784
|
-
children: /* @__PURE__ */
|
|
17825
|
+
children: /* @__PURE__ */ jsx49("div", {
|
|
17785
17826
|
style: {
|
|
17786
17827
|
lineHeight: 1,
|
|
17787
17828
|
display: "inline",
|
|
@@ -17798,7 +17839,7 @@ var Wheel = ({ delay: delay2, digits, renderDigit, isLeadingDigit, isNegative })
|
|
|
17798
17839
|
};
|
|
17799
17840
|
|
|
17800
17841
|
// src/components/homepage/Demo/TemperatureNumber.tsx
|
|
17801
|
-
import { jsx as
|
|
17842
|
+
import { jsx as jsx50, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
17802
17843
|
var TemperatureNumber = ({ theme, temperatureInCelsius }) => {
|
|
17803
17844
|
const temperatureInFahrenheit = temperatureInCelsius * 9 / 5 + 32;
|
|
17804
17845
|
const celsiusDegree = Math.abs(temperatureInCelsius);
|
|
@@ -17819,7 +17860,7 @@ var TemperatureNumber = ({ theme, temperatureInCelsius }) => {
|
|
|
17819
17860
|
alignItems: "center"
|
|
17820
17861
|
},
|
|
17821
17862
|
children: [
|
|
17822
|
-
paddedCelsiusDegree.map((digit, i) => /* @__PURE__ */
|
|
17863
|
+
paddedCelsiusDegree.map((digit, i) => /* @__PURE__ */ jsx50(Wheel, {
|
|
17823
17864
|
delay: i * 4,
|
|
17824
17865
|
renderDigit: (_i) => 9 - _i,
|
|
17825
17866
|
digits: [
|
|
@@ -17834,14 +17875,14 @@ var TemperatureNumber = ({ theme, temperatureInCelsius }) => {
|
|
|
17834
17875
|
],
|
|
17835
17876
|
isLeadingDigit: i === 0
|
|
17836
17877
|
}, i)),
|
|
17837
|
-
/* @__PURE__ */
|
|
17878
|
+
/* @__PURE__ */ jsx50("div", {
|
|
17838
17879
|
style: { width: 8 }
|
|
17839
17880
|
}),
|
|
17840
17881
|
"°",
|
|
17841
|
-
/* @__PURE__ */
|
|
17882
|
+
/* @__PURE__ */ jsx50(Wheel, {
|
|
17842
17883
|
delay: paddedCelsiusDegree.length * 4 - 2,
|
|
17843
17884
|
digits: [0, 1, 0],
|
|
17844
|
-
renderDigit: (_i) => _i % 2 === 0 ? "C" : /* @__PURE__ */
|
|
17885
|
+
renderDigit: (_i) => _i % 2 === 0 ? "C" : /* @__PURE__ */ jsx50("span", {
|
|
17845
17886
|
style: { marginLeft: -5 },
|
|
17846
17887
|
children: "F"
|
|
17847
17888
|
}),
|
|
@@ -17853,12 +17894,12 @@ var TemperatureNumber = ({ theme, temperatureInCelsius }) => {
|
|
|
17853
17894
|
};
|
|
17854
17895
|
|
|
17855
17896
|
// src/components/homepage/Demo/Temperature.tsx
|
|
17856
|
-
import { jsx as
|
|
17897
|
+
import { jsx as jsx51, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
17857
17898
|
var Temperature = ({ theme, city, temperatureInCelsius }) => {
|
|
17858
17899
|
if (temperatureInCelsius === null) {
|
|
17859
17900
|
return null;
|
|
17860
17901
|
}
|
|
17861
|
-
return /* @__PURE__ */
|
|
17902
|
+
return /* @__PURE__ */ jsx51(AbsoluteFill, {
|
|
17862
17903
|
children: /* @__PURE__ */ jsxs17(AbsoluteFill, {
|
|
17863
17904
|
style: {
|
|
17864
17905
|
alignItems: "center",
|
|
@@ -17881,7 +17922,7 @@ var Temperature = ({ theme, city, temperatureInCelsius }) => {
|
|
|
17881
17922
|
city
|
|
17882
17923
|
]
|
|
17883
17924
|
}),
|
|
17884
|
-
/* @__PURE__ */
|
|
17925
|
+
/* @__PURE__ */ jsx51(TemperatureNumber, {
|
|
17885
17926
|
theme,
|
|
17886
17927
|
temperatureInCelsius
|
|
17887
17928
|
})
|
|
@@ -17892,8 +17933,8 @@ var Temperature = ({ theme, city, temperatureInCelsius }) => {
|
|
|
17892
17933
|
|
|
17893
17934
|
// src/components/homepage/Demo/TrendingRepos.tsx
|
|
17894
17935
|
init_esm();
|
|
17895
|
-
import { useMemo as
|
|
17896
|
-
import { jsx as
|
|
17936
|
+
import { useMemo as useMemo36 } from "react";
|
|
17937
|
+
import { jsx as jsx54, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
17897
17938
|
var TrendingRepoItem = ({ repo, theme, number }) => {
|
|
17898
17939
|
const frame = useCurrentFrame();
|
|
17899
17940
|
const { fps } = useVideoConfig();
|
|
@@ -17905,7 +17946,7 @@ var TrendingRepoItem = ({ repo, theme, number }) => {
|
|
|
17905
17946
|
},
|
|
17906
17947
|
delay: number * 10 + 20
|
|
17907
17948
|
});
|
|
17908
|
-
const item =
|
|
17949
|
+
const item = useMemo36(() => {
|
|
17909
17950
|
return {
|
|
17910
17951
|
lineHeight: 1.1,
|
|
17911
17952
|
fontFamily: "GTPlanar",
|
|
@@ -17939,8 +17980,8 @@ var TrendingRepos = ({ theme, trending }) => {
|
|
|
17939
17980
|
if (trending === null) {
|
|
17940
17981
|
return null;
|
|
17941
17982
|
}
|
|
17942
|
-
return /* @__PURE__ */
|
|
17943
|
-
children: /* @__PURE__ */
|
|
17983
|
+
return /* @__PURE__ */ jsx54(AbsoluteFill, {
|
|
17984
|
+
children: /* @__PURE__ */ jsx54(AbsoluteFill, {
|
|
17944
17985
|
style: {
|
|
17945
17986
|
justifyContent: "center",
|
|
17946
17987
|
paddingLeft: 20,
|
|
@@ -17948,7 +17989,7 @@ var TrendingRepos = ({ theme, trending }) => {
|
|
|
17948
17989
|
},
|
|
17949
17990
|
children: /* @__PURE__ */ jsxs18("div", {
|
|
17950
17991
|
children: [
|
|
17951
|
-
/* @__PURE__ */
|
|
17992
|
+
/* @__PURE__ */ jsx54("div", {
|
|
17952
17993
|
style: {
|
|
17953
17994
|
color: fill,
|
|
17954
17995
|
fontFamily: "GTPlanar",
|
|
@@ -17962,7 +18003,7 @@ var TrendingRepos = ({ theme, trending }) => {
|
|
|
17962
18003
|
day: "numeric"
|
|
17963
18004
|
}).format(new Date(trending.date))
|
|
17964
18005
|
}),
|
|
17965
|
-
/* @__PURE__ */
|
|
18006
|
+
/* @__PURE__ */ jsx54("div", {
|
|
17966
18007
|
style: {
|
|
17967
18008
|
color: "#0b84f3",
|
|
17968
18009
|
fontFamily: "GTPlanar",
|
|
@@ -17974,17 +18015,17 @@ var TrendingRepos = ({ theme, trending }) => {
|
|
|
17974
18015
|
},
|
|
17975
18016
|
children: "Trending repositories"
|
|
17976
18017
|
}),
|
|
17977
|
-
/* @__PURE__ */
|
|
18018
|
+
/* @__PURE__ */ jsx54(TrendingRepoItem, {
|
|
17978
18019
|
number: 1,
|
|
17979
18020
|
repo: trending.repos[0],
|
|
17980
18021
|
theme
|
|
17981
18022
|
}),
|
|
17982
|
-
/* @__PURE__ */
|
|
18023
|
+
/* @__PURE__ */ jsx54(TrendingRepoItem, {
|
|
17983
18024
|
number: 2,
|
|
17984
18025
|
repo: trending.repos[1],
|
|
17985
18026
|
theme
|
|
17986
18027
|
}),
|
|
17987
|
-
/* @__PURE__ */
|
|
18028
|
+
/* @__PURE__ */ jsx54(TrendingRepoItem, {
|
|
17988
18029
|
number: 3,
|
|
17989
18030
|
repo: trending.repos[2],
|
|
17990
18031
|
theme
|
|
@@ -17996,7 +18037,7 @@ var TrendingRepos = ({ theme, trending }) => {
|
|
|
17996
18037
|
};
|
|
17997
18038
|
|
|
17998
18039
|
// src/components/homepage/Demo/Cards.tsx
|
|
17999
|
-
import { jsx as
|
|
18040
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
18000
18041
|
var Cards = ({
|
|
18001
18042
|
onUpdate,
|
|
18002
18043
|
indices,
|
|
@@ -18042,26 +18083,26 @@ var Cards = ({
|
|
|
18042
18083
|
ref.current?.onLeft();
|
|
18043
18084
|
onLeftPress();
|
|
18044
18085
|
}, [onLeftPress]);
|
|
18045
|
-
return /* @__PURE__ */
|
|
18086
|
+
return /* @__PURE__ */ jsx56(AbsoluteFill, {
|
|
18046
18087
|
ref: container4,
|
|
18047
18088
|
children: new Array(4).fill(true).map((_, i) => {
|
|
18048
18089
|
const index = indices[i];
|
|
18049
|
-
const content = index === 0 ? /* @__PURE__ */
|
|
18090
|
+
const content = index === 0 ? /* @__PURE__ */ jsx56(TrendingRepos, {
|
|
18050
18091
|
trending,
|
|
18051
18092
|
theme
|
|
18052
|
-
}) : index === 1 ? /* @__PURE__ */
|
|
18093
|
+
}) : index === 1 ? /* @__PURE__ */ jsx56(Temperature, {
|
|
18053
18094
|
city: location?.city ? decodeURIComponent(location?.city) : null,
|
|
18054
18095
|
theme,
|
|
18055
18096
|
temperatureInCelsius: trending?.temperatureInCelsius ?? null
|
|
18056
|
-
}) : index === 2 ? /* @__PURE__ */
|
|
18097
|
+
}) : index === 2 ? /* @__PURE__ */ jsx56(CurrentCountry, {
|
|
18057
18098
|
countryPaths: trending?.countryPaths ?? null,
|
|
18058
18099
|
countryLabel: trending?.countryLabel ?? null,
|
|
18059
18100
|
theme
|
|
18060
|
-
}) : /* @__PURE__ */
|
|
18101
|
+
}) : /* @__PURE__ */ jsx56(EmojiCard, {
|
|
18061
18102
|
ref,
|
|
18062
18103
|
emojiIndex: emojiName
|
|
18063
18104
|
});
|
|
18064
|
-
return /* @__PURE__ */
|
|
18105
|
+
return /* @__PURE__ */ jsx56(Card, {
|
|
18065
18106
|
onUpdate,
|
|
18066
18107
|
refsToUse: refs,
|
|
18067
18108
|
index: i,
|
|
@@ -18079,7 +18120,7 @@ var Cards = ({
|
|
|
18079
18120
|
};
|
|
18080
18121
|
|
|
18081
18122
|
// src/components/homepage/Demo/Comp.tsx
|
|
18082
|
-
import { jsx as
|
|
18123
|
+
import { jsx as jsx57, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
18083
18124
|
var getDataAndProps = async () => {
|
|
18084
18125
|
const location = await fetch("https://bugs-git-homepage-player-remotion.vercel.app/api/location").then((res) => res.json());
|
|
18085
18126
|
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 +18153,7 @@ var HomepageVideoComp = ({
|
|
|
18112
18153
|
setRerenders(rerenders + 1);
|
|
18113
18154
|
updateCardOrder(newIndices);
|
|
18114
18155
|
}, [rerenders, updateCardOrder]);
|
|
18115
|
-
const emoji =
|
|
18156
|
+
const emoji = useMemo37(() => {
|
|
18116
18157
|
if ((emojiIndex + 1e4 * 3) % 3 === 1) {
|
|
18117
18158
|
return "melting";
|
|
18118
18159
|
}
|
|
@@ -18121,7 +18162,7 @@ var HomepageVideoComp = ({
|
|
|
18121
18162
|
}
|
|
18122
18163
|
return "partying-face";
|
|
18123
18164
|
}, [emojiIndex]);
|
|
18124
|
-
const audioSrc =
|
|
18165
|
+
const audioSrc = useMemo37(() => {
|
|
18125
18166
|
if (emoji === "fire") {
|
|
18126
18167
|
return fireAudio;
|
|
18127
18168
|
}
|
|
@@ -18145,7 +18186,7 @@ var HomepageVideoComp = ({
|
|
|
18145
18186
|
backgroundColor: theme === "dark" ? "#222" : "#fafafa"
|
|
18146
18187
|
},
|
|
18147
18188
|
children: [
|
|
18148
|
-
/* @__PURE__ */
|
|
18189
|
+
/* @__PURE__ */ jsx57(Cards, {
|
|
18149
18190
|
onUpdate,
|
|
18150
18191
|
indices: cardOrder,
|
|
18151
18192
|
theme,
|
|
@@ -18156,7 +18197,7 @@ var HomepageVideoComp = ({
|
|
|
18156
18197
|
onRight: onClickRight,
|
|
18157
18198
|
emojiName: emoji
|
|
18158
18199
|
}, rerenders),
|
|
18159
|
-
audioSrc ? /* @__PURE__ */
|
|
18200
|
+
audioSrc ? /* @__PURE__ */ jsx57(Html5Audio, {
|
|
18160
18201
|
src: audioSrc
|
|
18161
18202
|
}) : null
|
|
18162
18203
|
]
|
|
@@ -18164,9 +18205,9 @@ var HomepageVideoComp = ({
|
|
|
18164
18205
|
};
|
|
18165
18206
|
|
|
18166
18207
|
// src/components/homepage/Demo/DemoError.tsx
|
|
18167
|
-
import { jsx as
|
|
18208
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
18168
18209
|
var DemoError = () => {
|
|
18169
|
-
return /* @__PURE__ */
|
|
18210
|
+
return /* @__PURE__ */ jsx58("div", {
|
|
18170
18211
|
style: {
|
|
18171
18212
|
color: RED,
|
|
18172
18213
|
fontFamily: FONTS.GTPLANAR,
|
|
@@ -18182,9 +18223,9 @@ import React37, { useCallback as useCallback28 } from "react";
|
|
|
18182
18223
|
import { z } from "zod";
|
|
18183
18224
|
|
|
18184
18225
|
// src/components/homepage/Demo/DemoErrorIcon.tsx
|
|
18185
|
-
import { jsx as
|
|
18226
|
+
import { jsx as jsx59 } from "react/jsx-runtime";
|
|
18186
18227
|
var DemoErrorIcon = () => {
|
|
18187
|
-
return /* @__PURE__ */
|
|
18228
|
+
return /* @__PURE__ */ jsx59("div", {
|
|
18188
18229
|
style: {
|
|
18189
18230
|
height: 26,
|
|
18190
18231
|
width: 26,
|
|
@@ -18194,14 +18235,14 @@ var DemoErrorIcon = () => {
|
|
|
18194
18235
|
justifyContent: "center",
|
|
18195
18236
|
animation: "jump 0.2s ease-out"
|
|
18196
18237
|
},
|
|
18197
|
-
children: /* @__PURE__ */
|
|
18238
|
+
children: /* @__PURE__ */ jsx59("svg", {
|
|
18198
18239
|
style: {
|
|
18199
18240
|
flexShrink: 0,
|
|
18200
18241
|
width: 26
|
|
18201
18242
|
},
|
|
18202
18243
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18203
18244
|
viewBox: "0 0 512 512",
|
|
18204
|
-
children: /* @__PURE__ */
|
|
18245
|
+
children: /* @__PURE__ */ jsx59("path", {
|
|
18205
18246
|
fill: RED,
|
|
18206
18247
|
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
18248
|
})
|
|
@@ -18210,9 +18251,9 @@ var DemoErrorIcon = () => {
|
|
|
18210
18251
|
};
|
|
18211
18252
|
|
|
18212
18253
|
// src/components/homepage/Demo/DoneCheckmark.tsx
|
|
18213
|
-
import { jsx as
|
|
18254
|
+
import { jsx as jsx60, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
18214
18255
|
var DoneCheckmark = () => {
|
|
18215
|
-
return /* @__PURE__ */
|
|
18256
|
+
return /* @__PURE__ */ jsx60("div", {
|
|
18216
18257
|
style: {
|
|
18217
18258
|
backgroundColor: PALETTE.BRAND,
|
|
18218
18259
|
height: 26,
|
|
@@ -18232,13 +18273,13 @@ var DoneCheckmark = () => {
|
|
|
18232
18273
|
width: 26
|
|
18233
18274
|
},
|
|
18234
18275
|
children: [
|
|
18235
|
-
/* @__PURE__ */
|
|
18276
|
+
/* @__PURE__ */ jsx60("circle", {
|
|
18236
18277
|
cx: "10",
|
|
18237
18278
|
cy: "10",
|
|
18238
18279
|
r: "10",
|
|
18239
18280
|
fill: "#0B84F3"
|
|
18240
18281
|
}),
|
|
18241
|
-
/* @__PURE__ */
|
|
18282
|
+
/* @__PURE__ */ jsx60("path", {
|
|
18242
18283
|
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
18284
|
fill: "white",
|
|
18244
18285
|
style: {
|
|
@@ -18252,9 +18293,9 @@ var DoneCheckmark = () => {
|
|
|
18252
18293
|
};
|
|
18253
18294
|
|
|
18254
18295
|
// ../shapes/dist/esm/index.mjs
|
|
18255
|
-
import React29, { useMemo as
|
|
18296
|
+
import React29, { useMemo as useMemo38 } from "react";
|
|
18256
18297
|
import { version } from "react-dom";
|
|
18257
|
-
import { jsx as
|
|
18298
|
+
import { jsx as jsx61, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
18258
18299
|
import { jsx as jsx212 } from "react/jsx-runtime";
|
|
18259
18300
|
import { jsx as jsx310 } from "react/jsx-runtime";
|
|
18260
18301
|
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
@@ -18410,7 +18451,7 @@ var makePie = ({
|
|
|
18410
18451
|
};
|
|
18411
18452
|
|
|
18412
18453
|
// src/components/homepage/Demo/Progress.tsx
|
|
18413
|
-
import { jsx as
|
|
18454
|
+
import { jsx as jsx65, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
18414
18455
|
var Progress = ({ progress }) => {
|
|
18415
18456
|
const inner2 = makeCircle({
|
|
18416
18457
|
radius: 10
|
|
@@ -18424,13 +18465,13 @@ var Progress = ({ progress }) => {
|
|
|
18424
18465
|
viewBox: `0 0 ${inner2.width} ${inner2.height}`,
|
|
18425
18466
|
style: { overflow: "visible", height: 22 },
|
|
18426
18467
|
children: [
|
|
18427
|
-
/* @__PURE__ */
|
|
18468
|
+
/* @__PURE__ */ jsx65("path", {
|
|
18428
18469
|
d: inner2.path,
|
|
18429
18470
|
stroke: PALETTE.BORDER_COLOR,
|
|
18430
18471
|
strokeWidth: 4,
|
|
18431
18472
|
fill: "transparent"
|
|
18432
18473
|
}),
|
|
18433
|
-
/* @__PURE__ */
|
|
18474
|
+
/* @__PURE__ */ jsx65("path", {
|
|
18434
18475
|
d: outer.path,
|
|
18435
18476
|
stroke: PALETTE.BRAND,
|
|
18436
18477
|
strokeWidth: 4,
|
|
@@ -18442,15 +18483,15 @@ var Progress = ({ progress }) => {
|
|
|
18442
18483
|
};
|
|
18443
18484
|
|
|
18444
18485
|
// src/components/homepage/Demo/Spinner.tsx
|
|
18445
|
-
import { useMemo as
|
|
18446
|
-
import { jsx as
|
|
18486
|
+
import { useMemo as useMemo39 } from "react";
|
|
18487
|
+
import { jsx as jsx67, jsxs as jsxs26, Fragment as Fragment7 } from "react/jsx-runtime";
|
|
18447
18488
|
var viewBox = 100;
|
|
18448
18489
|
var lines = 8;
|
|
18449
18490
|
var className2 = "__remotion_spinner_line";
|
|
18450
18491
|
var remotionSpinnerAnimation = "__remotion_spinner_animation";
|
|
18451
18492
|
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
18493
|
var Spinner = ({ size, duration }) => {
|
|
18453
|
-
const style2 =
|
|
18494
|
+
const style2 = useMemo39(() => {
|
|
18454
18495
|
return {
|
|
18455
18496
|
width: size,
|
|
18456
18497
|
height: size
|
|
@@ -18458,7 +18499,7 @@ var Spinner = ({ size, duration }) => {
|
|
|
18458
18499
|
}, [size]);
|
|
18459
18500
|
return /* @__PURE__ */ jsxs26(Fragment7, {
|
|
18460
18501
|
children: [
|
|
18461
|
-
/* @__PURE__ */
|
|
18502
|
+
/* @__PURE__ */ jsx67("style", {
|
|
18462
18503
|
type: "text/css",
|
|
18463
18504
|
children: `
|
|
18464
18505
|
@keyframes ${remotionSpinnerAnimation} {
|
|
@@ -18475,11 +18516,11 @@ var Spinner = ({ size, duration }) => {
|
|
|
18475
18516
|
}
|
|
18476
18517
|
`
|
|
18477
18518
|
}),
|
|
18478
|
-
/* @__PURE__ */
|
|
18519
|
+
/* @__PURE__ */ jsx67("svg", {
|
|
18479
18520
|
style: style2,
|
|
18480
18521
|
viewBox: `0 0 ${viewBox} ${viewBox}`,
|
|
18481
18522
|
children: new Array(lines).fill(true).map((_, index) => {
|
|
18482
|
-
return /* @__PURE__ */
|
|
18523
|
+
return /* @__PURE__ */ jsx67("path", {
|
|
18483
18524
|
className: className2,
|
|
18484
18525
|
style: {
|
|
18485
18526
|
rotate: `${index * Math.PI * 2 / lines}rad`,
|
|
@@ -18496,7 +18537,7 @@ var Spinner = ({ size, duration }) => {
|
|
|
18496
18537
|
};
|
|
18497
18538
|
|
|
18498
18539
|
// src/components/homepage/Demo/DemoRender.tsx
|
|
18499
|
-
import { jsx as
|
|
18540
|
+
import { jsx as jsx68 } from "react/jsx-runtime";
|
|
18500
18541
|
var countryPath = z.object({
|
|
18501
18542
|
d: z.string(),
|
|
18502
18543
|
class: z.string()
|
|
@@ -18577,24 +18618,24 @@ var RenderButton = ({ renderData, onError }) => {
|
|
|
18577
18618
|
onError();
|
|
18578
18619
|
}
|
|
18579
18620
|
}, [onError, renderData]);
|
|
18580
|
-
return /* @__PURE__ */
|
|
18621
|
+
return /* @__PURE__ */ jsx68("button", {
|
|
18581
18622
|
type: "button",
|
|
18582
18623
|
onClick: triggerRender,
|
|
18583
18624
|
style: style2,
|
|
18584
18625
|
disabled: !renderData || state.type !== "idle",
|
|
18585
|
-
children: state.type === "error" ? /* @__PURE__ */
|
|
18626
|
+
children: state.type === "error" ? /* @__PURE__ */ jsx68(DemoErrorIcon, {}) : state.type === "done" ? /* @__PURE__ */ jsx68(DoneCheckmark, {}) : state.type === "progress" ? /* @__PURE__ */ jsx68(Progress, {
|
|
18586
18627
|
progress: state.progress
|
|
18587
|
-
}) : state.type === "invoking" ? /* @__PURE__ */
|
|
18628
|
+
}) : state.type === "invoking" ? /* @__PURE__ */ jsx68(Spinner, {
|
|
18588
18629
|
size: 20,
|
|
18589
18630
|
duration: 1
|
|
18590
|
-
}) : /* @__PURE__ */
|
|
18631
|
+
}) : /* @__PURE__ */ jsx68("svg", {
|
|
18591
18632
|
style: {
|
|
18592
18633
|
width: 18,
|
|
18593
18634
|
opacity: renderData ? 1 : 0.5
|
|
18594
18635
|
},
|
|
18595
18636
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18596
18637
|
viewBox: "0 0 384 512",
|
|
18597
|
-
children: /* @__PURE__ */
|
|
18638
|
+
children: /* @__PURE__ */ jsx68("path", {
|
|
18598
18639
|
fill: PALETTE.TEXT_COLOR,
|
|
18599
18640
|
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
18641
|
})
|
|
@@ -18603,18 +18644,18 @@ var RenderButton = ({ renderData, onError }) => {
|
|
|
18603
18644
|
};
|
|
18604
18645
|
|
|
18605
18646
|
// src/components/homepage/Demo/DownloadNudge.tsx
|
|
18606
|
-
import { jsx as
|
|
18647
|
+
import { jsx as jsx69, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
18607
18648
|
var origWidth = 77;
|
|
18608
18649
|
var scale = 0.4;
|
|
18609
18650
|
var Icon = () => {
|
|
18610
|
-
return /* @__PURE__ */
|
|
18651
|
+
return /* @__PURE__ */ jsx69("svg", {
|
|
18611
18652
|
style: {
|
|
18612
18653
|
width: origWidth * scale
|
|
18613
18654
|
},
|
|
18614
18655
|
viewBox: "0 0 77 160",
|
|
18615
18656
|
fill: "none",
|
|
18616
18657
|
xmlns: "http://www.w3.org/2000/svg",
|
|
18617
|
-
children: /* @__PURE__ */
|
|
18658
|
+
children: /* @__PURE__ */ jsx69("path", {
|
|
18618
18659
|
d: "M5 154.5C51 121 79 81 69 5",
|
|
18619
18660
|
stroke: "currentColor",
|
|
18620
18661
|
strokeWidth: "8",
|
|
@@ -18623,7 +18664,7 @@ var Icon = () => {
|
|
|
18623
18664
|
});
|
|
18624
18665
|
};
|
|
18625
18666
|
var DownloadNudge = () => {
|
|
18626
|
-
return /* @__PURE__ */
|
|
18667
|
+
return /* @__PURE__ */ jsx69("div", {
|
|
18627
18668
|
style: {
|
|
18628
18669
|
position: "relative",
|
|
18629
18670
|
flexDirection: "row",
|
|
@@ -18635,7 +18676,7 @@ var DownloadNudge = () => {
|
|
|
18635
18676
|
},
|
|
18636
18677
|
children: /* @__PURE__ */ jsxs27("div", {
|
|
18637
18678
|
children: [
|
|
18638
|
-
/* @__PURE__ */
|
|
18679
|
+
/* @__PURE__ */ jsx69(Icon, {}),
|
|
18639
18680
|
/* @__PURE__ */ jsxs27("div", {
|
|
18640
18681
|
style: {
|
|
18641
18682
|
fontFamily: FONTS.GTPLANAR,
|
|
@@ -18647,9 +18688,9 @@ var DownloadNudge = () => {
|
|
|
18647
18688
|
},
|
|
18648
18689
|
children: [
|
|
18649
18690
|
"Export the video using",
|
|
18650
|
-
/* @__PURE__ */
|
|
18691
|
+
/* @__PURE__ */ jsx69("br", {}),
|
|
18651
18692
|
" ",
|
|
18652
|
-
/* @__PURE__ */
|
|
18693
|
+
/* @__PURE__ */ jsx69("a", {
|
|
18653
18694
|
href: "/lambda",
|
|
18654
18695
|
className: "bluelink",
|
|
18655
18696
|
children: "Remotion Lambda"
|
|
@@ -18663,18 +18704,18 @@ var DownloadNudge = () => {
|
|
|
18663
18704
|
};
|
|
18664
18705
|
|
|
18665
18706
|
// src/components/homepage/Demo/DragAndDropNudge.tsx
|
|
18666
|
-
import { jsx as
|
|
18707
|
+
import { jsx as jsx70, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
18667
18708
|
var origWidth2 = 37;
|
|
18668
18709
|
var scale2 = 0.4;
|
|
18669
18710
|
var Icon2 = () => {
|
|
18670
|
-
return /* @__PURE__ */
|
|
18711
|
+
return /* @__PURE__ */ jsx70("svg", {
|
|
18671
18712
|
style: {
|
|
18672
18713
|
width: origWidth2 * scale2,
|
|
18673
18714
|
overflow: "visible"
|
|
18674
18715
|
},
|
|
18675
18716
|
viewBox: "0 0 37 59",
|
|
18676
18717
|
fill: "none",
|
|
18677
|
-
children: /* @__PURE__ */
|
|
18718
|
+
children: /* @__PURE__ */ jsx70("path", {
|
|
18678
18719
|
d: "M5.00003 5C5.00002 36.5 16 44 32.0002 54",
|
|
18679
18720
|
stroke: PALETTE.TEXT_COLOR,
|
|
18680
18721
|
strokeWidth: "8",
|
|
@@ -18683,7 +18724,7 @@ var Icon2 = () => {
|
|
|
18683
18724
|
});
|
|
18684
18725
|
};
|
|
18685
18726
|
var DragAndDropNudge = () => {
|
|
18686
|
-
return /* @__PURE__ */
|
|
18727
|
+
return /* @__PURE__ */ jsx70("div", {
|
|
18687
18728
|
style: {
|
|
18688
18729
|
position: "absolute",
|
|
18689
18730
|
flexDirection: "row",
|
|
@@ -18695,7 +18736,7 @@ var DragAndDropNudge = () => {
|
|
|
18695
18736
|
className: "ml-4 lg:-ml-5",
|
|
18696
18737
|
children: /* @__PURE__ */ jsxs28("div", {
|
|
18697
18738
|
children: [
|
|
18698
|
-
/* @__PURE__ */
|
|
18739
|
+
/* @__PURE__ */ jsx70("div", {
|
|
18699
18740
|
style: {
|
|
18700
18741
|
fontFamily: FONTS.GTPLANAR,
|
|
18701
18742
|
fontSize: 15,
|
|
@@ -18706,7 +18747,7 @@ var DragAndDropNudge = () => {
|
|
|
18706
18747
|
className: "-ml-3 lg:-ml-5",
|
|
18707
18748
|
children: "Drag and drop the cards to reorder them."
|
|
18708
18749
|
}),
|
|
18709
|
-
/* @__PURE__ */
|
|
18750
|
+
/* @__PURE__ */ jsx70(Icon2, {})
|
|
18710
18751
|
]
|
|
18711
18752
|
})
|
|
18712
18753
|
});
|
|
@@ -18714,13 +18755,13 @@ var DragAndDropNudge = () => {
|
|
|
18714
18755
|
|
|
18715
18756
|
// src/components/homepage/Demo/PlayerSeekBar.tsx
|
|
18716
18757
|
init_esm();
|
|
18717
|
-
import { useCallback as useCallback30, useEffect as useEffect33, useMemo as
|
|
18758
|
+
import { useCallback as useCallback30, useEffect as useEffect33, useMemo as useMemo41, useRef as useRef26, useState as useState30 } from "react";
|
|
18718
18759
|
|
|
18719
18760
|
// src/components/homepage/layout/use-el-size.ts
|
|
18720
|
-
import { useCallback as useCallback29, useEffect as useEffect31, useMemo as
|
|
18761
|
+
import { useCallback as useCallback29, useEffect as useEffect31, useMemo as useMemo40, useState as useState29 } from "react";
|
|
18721
18762
|
var useElementSize2 = (ref) => {
|
|
18722
18763
|
const [size, setSize] = useState29(null);
|
|
18723
|
-
const observer =
|
|
18764
|
+
const observer = useMemo40(() => {
|
|
18724
18765
|
if (typeof ResizeObserver === "undefined") {
|
|
18725
18766
|
return;
|
|
18726
18767
|
}
|
|
@@ -18759,7 +18800,7 @@ var useElementSize2 = (ref) => {
|
|
|
18759
18800
|
};
|
|
18760
18801
|
|
|
18761
18802
|
// src/components/homepage/Demo/PlayerSeekBar.tsx
|
|
18762
|
-
import { jsx as
|
|
18803
|
+
import { jsx as jsx71, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
18763
18804
|
var getFrameFromX2 = (clientX, durationInFrames, width2) => {
|
|
18764
18805
|
const pos = clientX;
|
|
18765
18806
|
const frame = Math.round(interpolate(pos, [0, width2], [0, durationInFrames - 1], {
|
|
@@ -18934,7 +18975,7 @@ var PlayerSeekBar2 = ({
|
|
|
18934
18975
|
body.removeEventListener("pointerup", onPointerUp);
|
|
18935
18976
|
};
|
|
18936
18977
|
}, [dragging.dragging, onPointerMove, onPointerUp]);
|
|
18937
|
-
const knobStyle =
|
|
18978
|
+
const knobStyle = useMemo41(() => {
|
|
18938
18979
|
return {
|
|
18939
18980
|
height: KNOB_SIZE3,
|
|
18940
18981
|
width: KNOB_SIZE3,
|
|
@@ -18948,7 +18989,7 @@ var PlayerSeekBar2 = ({
|
|
|
18948
18989
|
transition: "opacity 0.s ease"
|
|
18949
18990
|
};
|
|
18950
18991
|
}, [barHovered, durationInFrames, frame, width2]);
|
|
18951
|
-
const fillStyle =
|
|
18992
|
+
const fillStyle = useMemo41(() => {
|
|
18952
18993
|
return {
|
|
18953
18994
|
height: BAR_HEIGHT3,
|
|
18954
18995
|
backgroundColor: "var(--ifm-font-color-base)",
|
|
@@ -18957,7 +18998,7 @@ var PlayerSeekBar2 = ({
|
|
|
18957
18998
|
borderRadius: BAR_HEIGHT3 / 2
|
|
18958
18999
|
};
|
|
18959
19000
|
}, [durationInFrames, frame, inFrame]);
|
|
18960
|
-
const active =
|
|
19001
|
+
const active = useMemo41(() => {
|
|
18961
19002
|
return {
|
|
18962
19003
|
height: BAR_HEIGHT3,
|
|
18963
19004
|
backgroundColor: "var(--ifm-font-color-base)",
|
|
@@ -18976,15 +19017,15 @@ var PlayerSeekBar2 = ({
|
|
|
18976
19017
|
/* @__PURE__ */ jsxs29("div", {
|
|
18977
19018
|
style: barBackground2,
|
|
18978
19019
|
children: [
|
|
18979
|
-
/* @__PURE__ */
|
|
19020
|
+
/* @__PURE__ */ jsx71("div", {
|
|
18980
19021
|
style: active
|
|
18981
19022
|
}),
|
|
18982
|
-
/* @__PURE__ */
|
|
19023
|
+
/* @__PURE__ */ jsx71("div", {
|
|
18983
19024
|
style: fillStyle
|
|
18984
19025
|
})
|
|
18985
19026
|
]
|
|
18986
19027
|
}),
|
|
18987
|
-
/* @__PURE__ */
|
|
19028
|
+
/* @__PURE__ */ jsx71("div", {
|
|
18988
19029
|
style: knobStyle
|
|
18989
19030
|
})
|
|
18990
19031
|
]
|
|
@@ -18995,9 +19036,9 @@ var PlayerSeekBar2 = ({
|
|
|
18995
19036
|
import { useCallback as useCallback31, useEffect as useEffect35, useRef as useRef27, useState as useState31 } from "react";
|
|
18996
19037
|
|
|
18997
19038
|
// src/components/homepage/Demo/icons.tsx
|
|
18998
|
-
import { jsx as
|
|
19039
|
+
import { jsx as jsx75 } from "react/jsx-runtime";
|
|
18999
19040
|
var PausedIcon = (props) => {
|
|
19000
|
-
return /* @__PURE__ */
|
|
19041
|
+
return /* @__PURE__ */ jsx75("svg", {
|
|
19001
19042
|
"aria-hidden": "true",
|
|
19002
19043
|
focusable: "false",
|
|
19003
19044
|
"data-prefix": "fas",
|
|
@@ -19007,48 +19048,48 @@ var PausedIcon = (props) => {
|
|
|
19007
19048
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19008
19049
|
viewBox: "0 0 480 512",
|
|
19009
19050
|
...props,
|
|
19010
|
-
children: /* @__PURE__ */
|
|
19051
|
+
children: /* @__PURE__ */ jsx75("path", {
|
|
19011
19052
|
fill: "currentColor",
|
|
19012
19053
|
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
19054
|
})
|
|
19014
19055
|
});
|
|
19015
19056
|
};
|
|
19016
19057
|
var PlayingIcon = (props) => {
|
|
19017
|
-
return /* @__PURE__ */
|
|
19058
|
+
return /* @__PURE__ */ jsx75("svg", {
|
|
19018
19059
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19019
19060
|
viewBox: "0 0 400 512",
|
|
19020
19061
|
fill: "currentColor",
|
|
19021
19062
|
...props,
|
|
19022
|
-
children: /* @__PURE__ */
|
|
19063
|
+
children: /* @__PURE__ */ jsx75("path", {
|
|
19023
19064
|
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
19065
|
})
|
|
19025
19066
|
});
|
|
19026
19067
|
};
|
|
19027
19068
|
var NotMutedIcon = (props) => {
|
|
19028
|
-
return /* @__PURE__ */
|
|
19069
|
+
return /* @__PURE__ */ jsx75("svg", {
|
|
19029
19070
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19030
19071
|
...props,
|
|
19031
19072
|
viewBox: "0 0 640 512",
|
|
19032
19073
|
fill: "currentColor",
|
|
19033
|
-
children: /* @__PURE__ */
|
|
19074
|
+
children: /* @__PURE__ */ jsx75("path", {
|
|
19034
19075
|
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
19076
|
})
|
|
19036
19077
|
});
|
|
19037
19078
|
};
|
|
19038
19079
|
var IsMutedIcon = (props) => {
|
|
19039
|
-
return /* @__PURE__ */
|
|
19080
|
+
return /* @__PURE__ */ jsx75("svg", {
|
|
19040
19081
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19041
19082
|
...props,
|
|
19042
19083
|
viewBox: "0 0 640 512",
|
|
19043
19084
|
fill: RED,
|
|
19044
|
-
children: /* @__PURE__ */
|
|
19085
|
+
children: /* @__PURE__ */ jsx75("path", {
|
|
19045
19086
|
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
19087
|
})
|
|
19047
19088
|
});
|
|
19048
19089
|
};
|
|
19049
19090
|
|
|
19050
19091
|
// src/components/homepage/Demo/PlayerVolume.tsx
|
|
19051
|
-
import { jsx as
|
|
19092
|
+
import { jsx as jsx77 } from "react/jsx-runtime";
|
|
19052
19093
|
var PlayerVolume = ({ playerRef }) => {
|
|
19053
19094
|
const [muted, setIsMuted] = useState31(() => playerRef.current?.isMuted() ?? true);
|
|
19054
19095
|
const [isHovered, setIsHovered] = useState31(false);
|
|
@@ -19084,10 +19125,10 @@ var PlayerVolume = ({ playerRef }) => {
|
|
|
19084
19125
|
playerRef.current.mute();
|
|
19085
19126
|
}
|
|
19086
19127
|
}, [playerRef]);
|
|
19087
|
-
return /* @__PURE__ */
|
|
19128
|
+
return /* @__PURE__ */ jsx77("div", {
|
|
19088
19129
|
className: "relative cursor-pointer block pl-4 pr-4 h-full",
|
|
19089
19130
|
onMouseEnter: () => setIsHovered(true),
|
|
19090
|
-
children: /* @__PURE__ */
|
|
19131
|
+
children: /* @__PURE__ */ jsx77("button", {
|
|
19091
19132
|
type: "button",
|
|
19092
19133
|
onClick,
|
|
19093
19134
|
style: {
|
|
@@ -19101,9 +19142,9 @@ var PlayerVolume = ({ playerRef }) => {
|
|
|
19101
19142
|
alignItems: "center",
|
|
19102
19143
|
color: PALETTE.TEXT_COLOR
|
|
19103
19144
|
},
|
|
19104
|
-
children: muted ? /* @__PURE__ */
|
|
19145
|
+
children: muted ? /* @__PURE__ */ jsx77(IsMutedIcon, {
|
|
19105
19146
|
style: { height: 20 }
|
|
19106
|
-
}) : /* @__PURE__ */
|
|
19147
|
+
}) : /* @__PURE__ */ jsx77(NotMutedIcon, {
|
|
19107
19148
|
style: { height: 20 }
|
|
19108
19149
|
})
|
|
19109
19150
|
})
|
|
@@ -19112,7 +19153,7 @@ var PlayerVolume = ({ playerRef }) => {
|
|
|
19112
19153
|
|
|
19113
19154
|
// src/components/homepage/Demo/PlayPauseButton.tsx
|
|
19114
19155
|
import React40, { useCallback as useCallback33, useEffect as useEffect36 } from "react";
|
|
19115
|
-
import { jsx as
|
|
19156
|
+
import { jsx as jsx78 } from "react/jsx-runtime";
|
|
19116
19157
|
var playerButtonStyle2 = {
|
|
19117
19158
|
appearance: "none",
|
|
19118
19159
|
border: "none",
|
|
@@ -19153,13 +19194,13 @@ var PlayPauseButton = ({ playerRef }) => {
|
|
|
19153
19194
|
const playPauseIconStyle = {
|
|
19154
19195
|
width: 15
|
|
19155
19196
|
};
|
|
19156
|
-
return /* @__PURE__ */
|
|
19197
|
+
return /* @__PURE__ */ jsx78("button", {
|
|
19157
19198
|
type: "button",
|
|
19158
19199
|
style: playerButtonStyle2,
|
|
19159
19200
|
onClick: onToggle,
|
|
19160
|
-
children: playing ? /* @__PURE__ */
|
|
19201
|
+
children: playing ? /* @__PURE__ */ jsx78(PlayingIcon, {
|
|
19161
19202
|
style: playPauseIconStyle
|
|
19162
|
-
}) : /* @__PURE__ */
|
|
19203
|
+
}) : /* @__PURE__ */ jsx78(PausedIcon, {
|
|
19163
19204
|
style: playPauseIconStyle
|
|
19164
19205
|
})
|
|
19165
19206
|
});
|
|
@@ -19167,7 +19208,7 @@ var PlayPauseButton = ({ playerRef }) => {
|
|
|
19167
19208
|
|
|
19168
19209
|
// src/components/homepage/Demo/TimeDisplay.tsx
|
|
19169
19210
|
import React41, { useEffect as useEffect37 } from "react";
|
|
19170
|
-
import { jsx as
|
|
19211
|
+
import { jsx as jsx79 } from "react/jsx-runtime";
|
|
19171
19212
|
var formatTime2 = (timeInSeconds) => {
|
|
19172
19213
|
const minutes = Math.floor(timeInSeconds / 60);
|
|
19173
19214
|
const seconds = Math.floor(timeInSeconds - minutes * 60);
|
|
@@ -19188,21 +19229,21 @@ var TimeDisplay = ({ fps, playerRef }) => {
|
|
|
19188
19229
|
current.removeEventListener("frameupdate", onTimeUpdate);
|
|
19189
19230
|
};
|
|
19190
19231
|
}, [playerRef]);
|
|
19191
|
-
return /* @__PURE__ */
|
|
19232
|
+
return /* @__PURE__ */ jsx79("div", {
|
|
19192
19233
|
style: {
|
|
19193
19234
|
fontSize: 16,
|
|
19194
19235
|
fontVariantNumeric: "tabular-nums"
|
|
19195
19236
|
},
|
|
19196
|
-
children: /* @__PURE__ */
|
|
19237
|
+
children: /* @__PURE__ */ jsx79("span", {
|
|
19197
19238
|
children: formatTime2(time / fps)
|
|
19198
19239
|
})
|
|
19199
19240
|
});
|
|
19200
19241
|
};
|
|
19201
19242
|
|
|
19202
19243
|
// src/components/homepage/Demo/PlayerControls.tsx
|
|
19203
|
-
import { jsx as
|
|
19244
|
+
import { jsx as jsx80, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
19204
19245
|
var Separator = () => {
|
|
19205
|
-
return /* @__PURE__ */
|
|
19246
|
+
return /* @__PURE__ */ jsx80("div", {
|
|
19206
19247
|
style: {
|
|
19207
19248
|
borderRight: `2px solid ${PALETTE.BOX_STROKE}`,
|
|
19208
19249
|
height: 50
|
|
@@ -19213,25 +19254,25 @@ var PlayerControls = ({ playerRef, durationInFrames, fps, children }) => {
|
|
|
19213
19254
|
return /* @__PURE__ */ jsxs30("div", {
|
|
19214
19255
|
className: "flex flex-row items-center bg-pane",
|
|
19215
19256
|
children: [
|
|
19216
|
-
/* @__PURE__ */
|
|
19257
|
+
/* @__PURE__ */ jsx80(PlayPauseButton, {
|
|
19217
19258
|
playerRef
|
|
19218
19259
|
}),
|
|
19219
|
-
/* @__PURE__ */
|
|
19220
|
-
/* @__PURE__ */
|
|
19260
|
+
/* @__PURE__ */ jsx80(Separator, {}),
|
|
19261
|
+
/* @__PURE__ */ jsx80(PlayerVolume, {
|
|
19221
19262
|
playerRef
|
|
19222
19263
|
}),
|
|
19223
|
-
/* @__PURE__ */
|
|
19224
|
-
/* @__PURE__ */
|
|
19264
|
+
/* @__PURE__ */ jsx80(Separator, {}),
|
|
19265
|
+
/* @__PURE__ */ jsx80("div", {
|
|
19225
19266
|
style: { width: 15 }
|
|
19226
19267
|
}),
|
|
19227
|
-
/* @__PURE__ */
|
|
19268
|
+
/* @__PURE__ */ jsx80(TimeDisplay, {
|
|
19228
19269
|
playerRef,
|
|
19229
19270
|
fps
|
|
19230
19271
|
}),
|
|
19231
|
-
/* @__PURE__ */
|
|
19272
|
+
/* @__PURE__ */ jsx80("div", {
|
|
19232
19273
|
style: { width: 15 }
|
|
19233
19274
|
}),
|
|
19234
|
-
/* @__PURE__ */
|
|
19275
|
+
/* @__PURE__ */ jsx80(PlayerSeekBar2, {
|
|
19235
19276
|
durationInFrames,
|
|
19236
19277
|
playerRef,
|
|
19237
19278
|
inFrame: null,
|
|
@@ -19243,10 +19284,10 @@ var PlayerControls = ({ playerRef, durationInFrames, fps, children }) => {
|
|
|
19243
19284
|
return;
|
|
19244
19285
|
}
|
|
19245
19286
|
}),
|
|
19246
|
-
/* @__PURE__ */
|
|
19287
|
+
/* @__PURE__ */ jsx80("div", {
|
|
19247
19288
|
style: { width: 20 }
|
|
19248
19289
|
}),
|
|
19249
|
-
/* @__PURE__ */
|
|
19290
|
+
/* @__PURE__ */ jsx80(Separator, {}),
|
|
19250
19291
|
children
|
|
19251
19292
|
]
|
|
19252
19293
|
});
|
|
@@ -19254,18 +19295,18 @@ var PlayerControls = ({ playerRef, durationInFrames, fps, children }) => {
|
|
|
19254
19295
|
|
|
19255
19296
|
// src/components/homepage/Demo/ThemeNudge.tsx
|
|
19256
19297
|
import React43 from "react";
|
|
19257
|
-
import { jsx as
|
|
19298
|
+
import { jsx as jsx81, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
19258
19299
|
var origWidth3 = 21;
|
|
19259
19300
|
var scale3 = 0.4;
|
|
19260
19301
|
var Icon3 = () => {
|
|
19261
|
-
return /* @__PURE__ */
|
|
19302
|
+
return /* @__PURE__ */ jsx81("svg", {
|
|
19262
19303
|
style: {
|
|
19263
19304
|
width: origWidth3 * scale3
|
|
19264
19305
|
},
|
|
19265
19306
|
viewBox: "0 0 21 161",
|
|
19266
19307
|
fill: "none",
|
|
19267
19308
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19268
|
-
children: /* @__PURE__ */
|
|
19309
|
+
children: /* @__PURE__ */ jsx81("path", {
|
|
19269
19310
|
d: "M5 5C23 59.5 14.5 120.5 5.00005 156",
|
|
19270
19311
|
stroke: "currentColor",
|
|
19271
19312
|
strokeWidth: "8",
|
|
@@ -19279,7 +19320,7 @@ var ThemeNudge = () => {
|
|
|
19279
19320
|
e.preventDefault();
|
|
19280
19321
|
setColorMode(colorMode === "dark" ? "light" : "dark");
|
|
19281
19322
|
}, [colorMode, setColorMode]);
|
|
19282
|
-
return /* @__PURE__ */
|
|
19323
|
+
return /* @__PURE__ */ jsx81("div", {
|
|
19283
19324
|
style: {
|
|
19284
19325
|
flexDirection: "row",
|
|
19285
19326
|
display: "flex",
|
|
@@ -19317,14 +19358,14 @@ var ThemeNudge = () => {
|
|
|
19317
19358
|
" "
|
|
19318
19359
|
]
|
|
19319
19360
|
}),
|
|
19320
|
-
/* @__PURE__ */
|
|
19361
|
+
/* @__PURE__ */ jsx81(Icon3, {})
|
|
19321
19362
|
]
|
|
19322
19363
|
})
|
|
19323
19364
|
});
|
|
19324
19365
|
};
|
|
19325
19366
|
|
|
19326
19367
|
// src/components/homepage/Demo/index.tsx
|
|
19327
|
-
import { jsx as
|
|
19368
|
+
import { jsx as jsx85, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
19328
19369
|
var style3 = {
|
|
19329
19370
|
width: "100%",
|
|
19330
19371
|
aspectRatio: "640 / 360",
|
|
@@ -19370,7 +19411,7 @@ var Demo = () => {
|
|
|
19370
19411
|
const updateCardOrder = useCallback35((newCardOrder) => {
|
|
19371
19412
|
setCardOrder(newCardOrder);
|
|
19372
19413
|
}, []);
|
|
19373
|
-
const props =
|
|
19414
|
+
const props = useMemo43(() => {
|
|
19374
19415
|
return {
|
|
19375
19416
|
theme: colorMode,
|
|
19376
19417
|
onToggle: () => {
|
|
@@ -19394,22 +19435,22 @@ var Demo = () => {
|
|
|
19394
19435
|
}, []);
|
|
19395
19436
|
return /* @__PURE__ */ jsxs33("div", {
|
|
19396
19437
|
children: [
|
|
19397
|
-
/* @__PURE__ */
|
|
19398
|
-
/* @__PURE__ */
|
|
19399
|
-
/* @__PURE__ */
|
|
19438
|
+
/* @__PURE__ */ jsx85("br", {}),
|
|
19439
|
+
/* @__PURE__ */ jsx85("br", {}),
|
|
19440
|
+
/* @__PURE__ */ jsx85(SectionTitle, {
|
|
19400
19441
|
children: "Demo"
|
|
19401
19442
|
}),
|
|
19402
19443
|
/* @__PURE__ */ jsxs33("div", {
|
|
19403
19444
|
style: { height: 140, position: "relative" },
|
|
19404
19445
|
children: [
|
|
19405
|
-
/* @__PURE__ */
|
|
19406
|
-
/* @__PURE__ */
|
|
19446
|
+
/* @__PURE__ */ jsx85(DragAndDropNudge, {}),
|
|
19447
|
+
/* @__PURE__ */ jsx85(ThemeNudge, {})
|
|
19407
19448
|
]
|
|
19408
19449
|
}),
|
|
19409
19450
|
/* @__PURE__ */ jsxs33("div", {
|
|
19410
19451
|
style: playerWrapper,
|
|
19411
19452
|
children: [
|
|
19412
|
-
/* @__PURE__ */
|
|
19453
|
+
/* @__PURE__ */ jsx85(Player, {
|
|
19413
19454
|
ref,
|
|
19414
19455
|
component: HomepageVideoComp,
|
|
19415
19456
|
compositionWidth: 640,
|
|
@@ -19424,11 +19465,11 @@ var Demo = () => {
|
|
|
19424
19465
|
inputProps: props,
|
|
19425
19466
|
loop: true
|
|
19426
19467
|
}),
|
|
19427
|
-
/* @__PURE__ */
|
|
19468
|
+
/* @__PURE__ */ jsx85(PlayerControls, {
|
|
19428
19469
|
playerRef: ref,
|
|
19429
19470
|
durationInFrames: 120,
|
|
19430
19471
|
fps: 30,
|
|
19431
|
-
children: /* @__PURE__ */
|
|
19472
|
+
children: /* @__PURE__ */ jsx85(RenderButton, {
|
|
19432
19473
|
onError,
|
|
19433
19474
|
renderData: data2 ? {
|
|
19434
19475
|
cardOrder,
|
|
@@ -19441,18 +19482,18 @@ var Demo = () => {
|
|
|
19441
19482
|
})
|
|
19442
19483
|
]
|
|
19443
19484
|
}),
|
|
19444
|
-
error2 ? /* @__PURE__ */
|
|
19445
|
-
/* @__PURE__ */
|
|
19485
|
+
error2 ? /* @__PURE__ */ jsx85(DemoError, {}) : null,
|
|
19486
|
+
/* @__PURE__ */ jsx85(DownloadNudge, {})
|
|
19446
19487
|
]
|
|
19447
19488
|
});
|
|
19448
19489
|
};
|
|
19449
19490
|
|
|
19450
19491
|
// src/components/homepage/layout/Button.tsx
|
|
19451
|
-
import { jsx as
|
|
19492
|
+
import { jsx as jsx87 } from "react/jsx-runtime";
|
|
19452
19493
|
var Button = (props) => {
|
|
19453
19494
|
const { children, loading, hoverColor, color, size, className: className3, ...other } = props;
|
|
19454
19495
|
const actualDisabled = other.disabled || loading;
|
|
19455
|
-
return /* @__PURE__ */
|
|
19496
|
+
return /* @__PURE__ */ jsx87("button", {
|
|
19456
19497
|
type: "button",
|
|
19457
19498
|
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
19499
|
disabled: actualDisabled,
|
|
@@ -19469,21 +19510,21 @@ var Button = (props) => {
|
|
|
19469
19510
|
});
|
|
19470
19511
|
};
|
|
19471
19512
|
var BlueButton = (props) => {
|
|
19472
|
-
return /* @__PURE__ */
|
|
19513
|
+
return /* @__PURE__ */ jsx87(Button, {
|
|
19473
19514
|
...props,
|
|
19474
19515
|
background: "var(--blue-underlay)",
|
|
19475
19516
|
color: "white"
|
|
19476
19517
|
});
|
|
19477
19518
|
};
|
|
19478
19519
|
var PlainButton = (props) => {
|
|
19479
|
-
return /* @__PURE__ */
|
|
19520
|
+
return /* @__PURE__ */ jsx87(Button, {
|
|
19480
19521
|
...props,
|
|
19481
19522
|
background: "var(--plain-button)",
|
|
19482
19523
|
color: "var(--text-color)"
|
|
19483
19524
|
});
|
|
19484
19525
|
};
|
|
19485
19526
|
var ClearButton = (props) => {
|
|
19486
|
-
return /* @__PURE__ */
|
|
19527
|
+
return /* @__PURE__ */ jsx87(Button, {
|
|
19487
19528
|
...props,
|
|
19488
19529
|
background: "transparent",
|
|
19489
19530
|
color: "var(--text-color)",
|
|
@@ -19499,7 +19540,7 @@ import { forwardRef as forwardRef17, useEffect as useEffect40, useImperativeHand
|
|
|
19499
19540
|
import Hls from "hls.js";
|
|
19500
19541
|
import"plyr/dist/plyr.css";
|
|
19501
19542
|
import { forwardRef as forwardRef16, useCallback as useCallback36, useEffect as useEffect39, useRef as useRef29, useState as useState35 } from "react";
|
|
19502
|
-
import { jsx as
|
|
19543
|
+
import { jsx as jsx88 } from "react/jsx-runtime";
|
|
19503
19544
|
var useCombinedRefs = function(...refs) {
|
|
19504
19545
|
const targetRef = useRef29(null);
|
|
19505
19546
|
useEffect39(() => {
|
|
@@ -19585,9 +19626,9 @@ var VideoPlayerWithControls = forwardRef16(({ playbackId, poster, currentTime, o
|
|
|
19585
19626
|
video.currentTime = currentTime;
|
|
19586
19627
|
}
|
|
19587
19628
|
}, [currentTime]);
|
|
19588
|
-
return /* @__PURE__ */
|
|
19629
|
+
return /* @__PURE__ */ jsx88("div", {
|
|
19589
19630
|
className: "video-container",
|
|
19590
|
-
children: /* @__PURE__ */
|
|
19631
|
+
children: /* @__PURE__ */ jsx88("video", {
|
|
19591
19632
|
ref: metaRef,
|
|
19592
19633
|
autoPlay,
|
|
19593
19634
|
poster,
|
|
@@ -19598,7 +19639,7 @@ var VideoPlayerWithControls = forwardRef16(({ playbackId, poster, currentTime, o
|
|
|
19598
19639
|
});
|
|
19599
19640
|
|
|
19600
19641
|
// src/components/homepage/MuxVideo.tsx
|
|
19601
|
-
import { jsx as
|
|
19642
|
+
import { jsx as jsx89 } from "react/jsx-runtime";
|
|
19602
19643
|
var getVideoToPlayUrl = (muxId) => {
|
|
19603
19644
|
return `https://stream.mux.com/${muxId}.m3u8`;
|
|
19604
19645
|
};
|
|
@@ -19626,7 +19667,7 @@ var MuxVideoForward = ({ muxId, ...props }, ref) => {
|
|
|
19626
19667
|
}
|
|
19627
19668
|
};
|
|
19628
19669
|
}, [vidUrl, videoRef]);
|
|
19629
|
-
return /* @__PURE__ */
|
|
19670
|
+
return /* @__PURE__ */ jsx89("video", {
|
|
19630
19671
|
ref: videoRef,
|
|
19631
19672
|
...props
|
|
19632
19673
|
});
|
|
@@ -19634,22 +19675,22 @@ var MuxVideoForward = ({ muxId, ...props }, ref) => {
|
|
|
19634
19675
|
var MuxVideo = forwardRef17(MuxVideoForward);
|
|
19635
19676
|
|
|
19636
19677
|
// src/components/homepage/EditorStarterSection.tsx
|
|
19637
|
-
import { jsx as
|
|
19678
|
+
import { jsx as jsx90, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
19638
19679
|
var EditorStarterSection = () => {
|
|
19639
19680
|
return /* @__PURE__ */ jsxs35("div", {
|
|
19640
19681
|
children: [
|
|
19641
|
-
/* @__PURE__ */
|
|
19682
|
+
/* @__PURE__ */ jsx90(SectionTitle, {
|
|
19642
19683
|
children: "Build your own video editor"
|
|
19643
19684
|
}),
|
|
19644
|
-
/* @__PURE__ */
|
|
19645
|
-
/* @__PURE__ */
|
|
19685
|
+
/* @__PURE__ */ jsx90("br", {}),
|
|
19686
|
+
/* @__PURE__ */ jsx90("div", {
|
|
19646
19687
|
className: "card flex p-0 overflow-hidden",
|
|
19647
19688
|
children: /* @__PURE__ */ jsxs35("div", {
|
|
19648
19689
|
className: "flex-1 flex flex-col lg:flex-row justify-center",
|
|
19649
19690
|
children: [
|
|
19650
|
-
/* @__PURE__ */
|
|
19691
|
+
/* @__PURE__ */ jsx90("div", {
|
|
19651
19692
|
className: "w-full max-w-[500px] aspect-square relative overflow-hidden bg-[#eee]",
|
|
19652
|
-
children: /* @__PURE__ */
|
|
19693
|
+
children: /* @__PURE__ */ jsx90(MuxVideo, {
|
|
19653
19694
|
muxId: "YIvIidbcAc7009B00Wr7gIbGyq67YGNlytGvMXwdsLRtc",
|
|
19654
19695
|
className: "absolute left-0 top-0 w-full h-full object-cover object-top rounded-sm rounded-tr-none rounded-br-none",
|
|
19655
19696
|
loop: true,
|
|
@@ -19661,45 +19702,45 @@ var EditorStarterSection = () => {
|
|
|
19661
19702
|
/* @__PURE__ */ jsxs35("div", {
|
|
19662
19703
|
className: "p-6 flex-1 flex flex-col h-full",
|
|
19663
19704
|
children: [
|
|
19664
|
-
/* @__PURE__ */
|
|
19705
|
+
/* @__PURE__ */ jsx90("div", {
|
|
19665
19706
|
className: "text-4xl font-bold fontbrand mt-0",
|
|
19666
19707
|
children: "Editor Starter"
|
|
19667
19708
|
}),
|
|
19668
|
-
/* @__PURE__ */
|
|
19709
|
+
/* @__PURE__ */ jsx90("div", {
|
|
19669
19710
|
className: "text-muted mt-4 text-base fontbrand",
|
|
19670
19711
|
children: "A comprehensive template that includes everything you need to create custom video editing applications with React and TypeScript."
|
|
19671
19712
|
}),
|
|
19672
|
-
/* @__PURE__ */
|
|
19713
|
+
/* @__PURE__ */ jsx90("div", {
|
|
19673
19714
|
className: "h-5"
|
|
19674
19715
|
}),
|
|
19675
19716
|
/* @__PURE__ */ jsxs35("div", {
|
|
19676
19717
|
className: "flex gap-2 items-center",
|
|
19677
19718
|
children: [
|
|
19678
|
-
/* @__PURE__ */
|
|
19719
|
+
/* @__PURE__ */ jsx90("a", {
|
|
19679
19720
|
href: "https://www.remotion.pro/editor-starter?ref=remotion.dev",
|
|
19680
19721
|
target: "_blank",
|
|
19681
19722
|
className: "no-underline",
|
|
19682
|
-
children: /* @__PURE__ */
|
|
19723
|
+
children: /* @__PURE__ */ jsx90(BlueButton, {
|
|
19683
19724
|
size: "sm",
|
|
19684
19725
|
loading: false,
|
|
19685
19726
|
children: "Purchase"
|
|
19686
19727
|
})
|
|
19687
19728
|
}),
|
|
19688
|
-
/* @__PURE__ */
|
|
19729
|
+
/* @__PURE__ */ jsx90("a", {
|
|
19689
19730
|
href: "https://editor-starter.remotion.dev?ref=remotion.dev",
|
|
19690
19731
|
target: "_blank",
|
|
19691
19732
|
className: "no-underline",
|
|
19692
|
-
children: /* @__PURE__ */
|
|
19733
|
+
children: /* @__PURE__ */ jsx90(ClearButton, {
|
|
19693
19734
|
size: "sm",
|
|
19694
19735
|
loading: false,
|
|
19695
19736
|
children: "Demo"
|
|
19696
19737
|
})
|
|
19697
19738
|
}),
|
|
19698
19739
|
" ",
|
|
19699
|
-
/* @__PURE__ */
|
|
19740
|
+
/* @__PURE__ */ jsx90("a", {
|
|
19700
19741
|
href: "https://remotion.dev/editor-starter",
|
|
19701
19742
|
className: "no-underline",
|
|
19702
|
-
children: /* @__PURE__ */
|
|
19743
|
+
children: /* @__PURE__ */ jsx90(ClearButton, {
|
|
19703
19744
|
size: "sm",
|
|
19704
19745
|
loading: false,
|
|
19705
19746
|
children: "Docs"
|
|
@@ -19707,7 +19748,7 @@ var EditorStarterSection = () => {
|
|
|
19707
19748
|
})
|
|
19708
19749
|
]
|
|
19709
19750
|
}),
|
|
19710
|
-
/* @__PURE__ */
|
|
19751
|
+
/* @__PURE__ */ jsx90("br", {})
|
|
19711
19752
|
]
|
|
19712
19753
|
})
|
|
19713
19754
|
]
|
|
@@ -19720,7 +19761,7 @@ var EditorStarterSection_default = EditorStarterSection;
|
|
|
19720
19761
|
|
|
19721
19762
|
// src/components/homepage/EvaluateRemotion.tsx
|
|
19722
19763
|
import { useEffect as useEffect41, useState as useState36 } from "react";
|
|
19723
|
-
import { jsx as
|
|
19764
|
+
import { jsx as jsx91, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
19724
19765
|
var EvaluateRemotionSection = () => {
|
|
19725
19766
|
const [dailyAvatars, setDailyAvatars] = useState36([]);
|
|
19726
19767
|
useEffect41(() => {
|
|
@@ -19756,22 +19797,22 @@ var EvaluateRemotionSection = () => {
|
|
|
19756
19797
|
/* @__PURE__ */ jsxs36("div", {
|
|
19757
19798
|
className: "card flex-1 flex flex-col",
|
|
19758
19799
|
children: [
|
|
19759
|
-
/* @__PURE__ */
|
|
19800
|
+
/* @__PURE__ */ jsx91("div", {
|
|
19760
19801
|
className: "fontbrand text-2xl font-bold",
|
|
19761
19802
|
children: "Evaluate Remotion for your company"
|
|
19762
19803
|
}),
|
|
19763
|
-
/* @__PURE__ */
|
|
19804
|
+
/* @__PURE__ */ jsx91("p", {
|
|
19764
19805
|
className: "text-muted fontbrand leading-snug",
|
|
19765
19806
|
children: "Book a 20 minute call with us to get all your questions answered."
|
|
19766
19807
|
}),
|
|
19767
|
-
/* @__PURE__ */
|
|
19808
|
+
/* @__PURE__ */ jsx91("div", {
|
|
19768
19809
|
className: "flex-1"
|
|
19769
19810
|
}),
|
|
19770
|
-
/* @__PURE__ */
|
|
19811
|
+
/* @__PURE__ */ jsx91("a", {
|
|
19771
19812
|
target: "_blank",
|
|
19772
19813
|
href: "https://cal.com/remotion/evaluate",
|
|
19773
19814
|
style: { textDecoration: "none" },
|
|
19774
|
-
children: /* @__PURE__ */
|
|
19815
|
+
children: /* @__PURE__ */ jsx91(BlueButton, {
|
|
19775
19816
|
size: "sm",
|
|
19776
19817
|
loading: false,
|
|
19777
19818
|
children: "Schedule a call"
|
|
@@ -19782,32 +19823,32 @@ var EvaluateRemotionSection = () => {
|
|
|
19782
19823
|
/* @__PURE__ */ jsxs36("div", {
|
|
19783
19824
|
className: "card flex-1 flex flex-col",
|
|
19784
19825
|
children: [
|
|
19785
|
-
/* @__PURE__ */
|
|
19826
|
+
/* @__PURE__ */ jsx91("div", {
|
|
19786
19827
|
className: "fontbrand text-2xl font-bold",
|
|
19787
19828
|
children: "Get help for your projects"
|
|
19788
19829
|
}),
|
|
19789
|
-
/* @__PURE__ */
|
|
19830
|
+
/* @__PURE__ */ jsx91("p", {
|
|
19790
19831
|
className: "text-muted fontbrand leading-snug",
|
|
19791
19832
|
children: "Contact our experts for help and work."
|
|
19792
19833
|
}),
|
|
19793
|
-
/* @__PURE__ */
|
|
19834
|
+
/* @__PURE__ */ jsx91("div", {
|
|
19794
19835
|
className: "flex-1"
|
|
19795
19836
|
}),
|
|
19796
19837
|
/* @__PURE__ */ jsxs36("div", {
|
|
19797
19838
|
className: "flex flex-row justify-between",
|
|
19798
19839
|
children: [
|
|
19799
|
-
/* @__PURE__ */
|
|
19840
|
+
/* @__PURE__ */ jsx91("a", {
|
|
19800
19841
|
href: "/experts",
|
|
19801
19842
|
style: { textDecoration: "none" },
|
|
19802
|
-
children: /* @__PURE__ */
|
|
19843
|
+
children: /* @__PURE__ */ jsx91(BlueButton, {
|
|
19803
19844
|
size: "sm",
|
|
19804
19845
|
loading: false,
|
|
19805
19846
|
children: "Remotion Experts"
|
|
19806
19847
|
})
|
|
19807
19848
|
}),
|
|
19808
|
-
/* @__PURE__ */
|
|
19849
|
+
/* @__PURE__ */ jsx91("div", {
|
|
19809
19850
|
className: "flex justify-end items-end gap-3",
|
|
19810
|
-
children: dailyAvatars.map((avatar) => /* @__PURE__ */
|
|
19851
|
+
children: dailyAvatars.map((avatar) => /* @__PURE__ */ jsx91("div", {
|
|
19811
19852
|
className: "w-12 h-12 rounded-full bg-muted bg-cover bg-center -ml-5 border-2 border-black",
|
|
19812
19853
|
style: { backgroundImage: `url(${avatar})` }
|
|
19813
19854
|
}, avatar))
|
|
@@ -19823,7 +19864,7 @@ var EvaluateRemotion_default = EvaluateRemotionSection;
|
|
|
19823
19864
|
|
|
19824
19865
|
// src/components/homepage/IfYouKnowReact.tsx
|
|
19825
19866
|
import { useEffect as useEffect43, useState as useState37 } from "react";
|
|
19826
|
-
import { jsx as
|
|
19867
|
+
import { jsx as jsx95, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
19827
19868
|
var isWebkit = () => {
|
|
19828
19869
|
if (typeof window === "undefined") {
|
|
19829
19870
|
return false;
|
|
@@ -19846,7 +19887,7 @@ var IfYouKnowReact = () => {
|
|
|
19846
19887
|
return /* @__PURE__ */ jsxs37("div", {
|
|
19847
19888
|
className: "flex flex-col lg:flex-row text-left justify-start lg:justify-end items-start lg:mb-0 gap-6 mt-8",
|
|
19848
19889
|
children: [
|
|
19849
|
-
/* @__PURE__ */
|
|
19890
|
+
/* @__PURE__ */ jsx95("video", {
|
|
19850
19891
|
src: vid,
|
|
19851
19892
|
muted: true,
|
|
19852
19893
|
autoPlay: true,
|
|
@@ -19859,18 +19900,18 @@ var IfYouKnowReact = () => {
|
|
|
19859
19900
|
/* @__PURE__ */ jsxs37("h2", {
|
|
19860
19901
|
className: "text-4xl fontbrand pt-20",
|
|
19861
19902
|
children: [
|
|
19862
|
-
/* @__PURE__ */
|
|
19903
|
+
/* @__PURE__ */ jsx95("span", {
|
|
19863
19904
|
className: "text-brand",
|
|
19864
19905
|
children: "Compose"
|
|
19865
19906
|
}),
|
|
19866
19907
|
" with code"
|
|
19867
19908
|
]
|
|
19868
19909
|
}),
|
|
19869
|
-
/* @__PURE__ */
|
|
19910
|
+
/* @__PURE__ */ jsx95("p", {
|
|
19870
19911
|
className: "leading-relaxed font-brand",
|
|
19871
19912
|
children: "Use React, a powerful frontend technology, to create sophisticated videos with code."
|
|
19872
19913
|
}),
|
|
19873
|
-
/* @__PURE__ */
|
|
19914
|
+
/* @__PURE__ */ jsx95("div", {
|
|
19874
19915
|
className: "h-4"
|
|
19875
19916
|
}),
|
|
19876
19917
|
/* @__PURE__ */ jsxs37("a", {
|
|
@@ -19879,11 +19920,11 @@ var IfYouKnowReact = () => {
|
|
|
19879
19920
|
children: [
|
|
19880
19921
|
"Learn Remotion",
|
|
19881
19922
|
" ",
|
|
19882
|
-
/* @__PURE__ */
|
|
19923
|
+
/* @__PURE__ */ jsx95("svg", {
|
|
19883
19924
|
style: icon2,
|
|
19884
19925
|
xmlns: "http://www.w3.org/2000/svg",
|
|
19885
19926
|
viewBox: "0 0 448 512",
|
|
19886
|
-
children: /* @__PURE__ */
|
|
19927
|
+
children: /* @__PURE__ */ jsx95("path", {
|
|
19887
19928
|
fill: "currentColor",
|
|
19888
19929
|
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
19930
|
})
|
|
@@ -19897,21 +19938,21 @@ var IfYouKnowReact = () => {
|
|
|
19897
19938
|
};
|
|
19898
19939
|
|
|
19899
19940
|
// src/components/homepage/MoreVideoPowerSection.tsx
|
|
19900
|
-
import { jsx as
|
|
19941
|
+
import { jsx as jsx97, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
19901
19942
|
var StepTitle = ({ children }) => {
|
|
19902
|
-
return /* @__PURE__ */
|
|
19943
|
+
return /* @__PURE__ */ jsx97("div", {
|
|
19903
19944
|
className: "text-left text-xl font-semibold fontbrand",
|
|
19904
19945
|
children
|
|
19905
19946
|
});
|
|
19906
19947
|
};
|
|
19907
19948
|
var Subtitle = ({ children }) => {
|
|
19908
|
-
return /* @__PURE__ */
|
|
19949
|
+
return /* @__PURE__ */ jsx97("div", {
|
|
19909
19950
|
className: "text-left text-base fontbrand text-[var(--subtitle)]",
|
|
19910
19951
|
children
|
|
19911
19952
|
});
|
|
19912
19953
|
};
|
|
19913
19954
|
var Pane = ({ children, className: className3 }) => {
|
|
19914
|
-
return /* @__PURE__ */
|
|
19955
|
+
return /* @__PURE__ */ jsx97("div", {
|
|
19915
19956
|
className: `border-effect bg-pane flex-1 flex flex-col ${className3 || ""}`,
|
|
19916
19957
|
children
|
|
19917
19958
|
});
|
|
@@ -19921,9 +19962,9 @@ var FeatureCard = ({ title, subtitle, image, link }) => {
|
|
|
19921
19962
|
href: link,
|
|
19922
19963
|
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
19964
|
children: [
|
|
19924
|
-
/* @__PURE__ */
|
|
19965
|
+
/* @__PURE__ */ jsx97("div", {
|
|
19925
19966
|
className: "relative",
|
|
19926
|
-
children: /* @__PURE__ */
|
|
19967
|
+
children: /* @__PURE__ */ jsx97("img", {
|
|
19927
19968
|
src: image,
|
|
19928
19969
|
alt: title,
|
|
19929
19970
|
className: "w-full h-auto"
|
|
@@ -19935,25 +19976,25 @@ var FeatureCard = ({ title, subtitle, image, link }) => {
|
|
|
19935
19976
|
/* @__PURE__ */ jsxs38("div", {
|
|
19936
19977
|
className: "flex items-center gap-2",
|
|
19937
19978
|
children: [
|
|
19938
|
-
/* @__PURE__ */
|
|
19979
|
+
/* @__PURE__ */ jsx97(StepTitle, {
|
|
19939
19980
|
children: title
|
|
19940
19981
|
}),
|
|
19941
|
-
/* @__PURE__ */
|
|
19982
|
+
/* @__PURE__ */ jsx97("svg", {
|
|
19942
19983
|
width: "16",
|
|
19943
19984
|
viewBox: "0 0 448 512",
|
|
19944
19985
|
fill: "currentColor",
|
|
19945
19986
|
className: "opacity-0 group-hover:opacity-100 transition-opacity",
|
|
19946
|
-
children: /* @__PURE__ */
|
|
19987
|
+
children: /* @__PURE__ */ jsx97("path", {
|
|
19947
19988
|
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
19989
|
})
|
|
19949
19990
|
})
|
|
19950
19991
|
]
|
|
19951
19992
|
}),
|
|
19952
|
-
/* @__PURE__ */
|
|
19993
|
+
/* @__PURE__ */ jsx97(Subtitle, {
|
|
19953
19994
|
children: subtitle
|
|
19954
19995
|
}),
|
|
19955
|
-
/* @__PURE__ */
|
|
19956
|
-
/* @__PURE__ */
|
|
19996
|
+
/* @__PURE__ */ jsx97("br", {}),
|
|
19997
|
+
/* @__PURE__ */ jsx97("div", {
|
|
19957
19998
|
className: "flex-1"
|
|
19958
19999
|
})
|
|
19959
20000
|
]
|
|
@@ -19962,26 +20003,26 @@ var FeatureCard = ({ title, subtitle, image, link }) => {
|
|
|
19962
20003
|
});
|
|
19963
20004
|
};
|
|
19964
20005
|
var MoreVideoPowerSection = () => {
|
|
19965
|
-
return /* @__PURE__ */
|
|
20006
|
+
return /* @__PURE__ */ jsx97("div", {
|
|
19966
20007
|
className: "w-full",
|
|
19967
|
-
children: /* @__PURE__ */
|
|
20008
|
+
children: /* @__PURE__ */ jsx97(Pane, {
|
|
19968
20009
|
className: "overflow-hidden",
|
|
19969
20010
|
children: /* @__PURE__ */ jsxs38("div", {
|
|
19970
20011
|
className: "grid grid-cols-1 lg:grid-cols-3 h-full",
|
|
19971
20012
|
children: [
|
|
19972
|
-
/* @__PURE__ */
|
|
20013
|
+
/* @__PURE__ */ jsx97(FeatureCard, {
|
|
19973
20014
|
title: "Media Parser",
|
|
19974
20015
|
subtitle: "A new multimedia library for the web",
|
|
19975
20016
|
image: "/img/media-parser.png",
|
|
19976
20017
|
link: "/media-parser"
|
|
19977
20018
|
}),
|
|
19978
|
-
/* @__PURE__ */
|
|
20019
|
+
/* @__PURE__ */ jsx97(FeatureCard, {
|
|
19979
20020
|
title: "WebCodecs",
|
|
19980
20021
|
subtitle: "Read, process, transform and create videos on the frontend",
|
|
19981
20022
|
image: "/img/webcodecs.png",
|
|
19982
20023
|
link: "/webcodecs"
|
|
19983
20024
|
}),
|
|
19984
|
-
/* @__PURE__ */
|
|
20025
|
+
/* @__PURE__ */ jsx97(FeatureCard, {
|
|
19985
20026
|
title: "Recorder",
|
|
19986
20027
|
subtitle: "Produce engaging screencasts end-to-end in JavaScript",
|
|
19987
20028
|
image: "/img/recorder.png",
|
|
@@ -19997,15 +20038,15 @@ var MoreVideoPowerSection = () => {
|
|
|
19997
20038
|
import { useCallback as useCallback37, useState as useState38 } from "react";
|
|
19998
20039
|
|
|
19999
20040
|
// src/components/homepage/Spacer.tsx
|
|
20000
|
-
import { jsx as
|
|
20041
|
+
import { jsx as jsx98 } from "react/jsx-runtime";
|
|
20001
20042
|
var Spacer = () => {
|
|
20002
|
-
return /* @__PURE__ */
|
|
20043
|
+
return /* @__PURE__ */ jsx98("div", {
|
|
20003
20044
|
style: { width: 4, height: 4 }
|
|
20004
20045
|
});
|
|
20005
20046
|
};
|
|
20006
20047
|
|
|
20007
20048
|
// src/components/homepage/NewsletterButton.tsx
|
|
20008
|
-
import { jsx as
|
|
20049
|
+
import { jsx as jsx99, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
20009
20050
|
var NewsletterButton = () => {
|
|
20010
20051
|
const [email, setEmail] = useState38("");
|
|
20011
20052
|
const [submitting, setSubmitting] = useState38(false);
|
|
@@ -20032,15 +20073,15 @@ var NewsletterButton = () => {
|
|
|
20032
20073
|
alert("Something went wrong. Please try again later.");
|
|
20033
20074
|
}
|
|
20034
20075
|
}, [email]);
|
|
20035
|
-
return /* @__PURE__ */
|
|
20036
|
-
children: /* @__PURE__ */
|
|
20076
|
+
return /* @__PURE__ */ jsx99("div", {
|
|
20077
|
+
children: /* @__PURE__ */ jsx99("div", {
|
|
20037
20078
|
className: "flex flex-col",
|
|
20038
|
-
children: /* @__PURE__ */
|
|
20079
|
+
children: /* @__PURE__ */ jsx99("div", {
|
|
20039
20080
|
className: "w-full",
|
|
20040
20081
|
children: /* @__PURE__ */ jsxs39("div", {
|
|
20041
20082
|
className: "flex flex-col flex-1",
|
|
20042
20083
|
children: [
|
|
20043
|
-
/* @__PURE__ */
|
|
20084
|
+
/* @__PURE__ */ jsx99(SectionTitle, {
|
|
20044
20085
|
children: "Newsletter"
|
|
20045
20086
|
}),
|
|
20046
20087
|
/* @__PURE__ */ jsxs39("form", {
|
|
@@ -20056,7 +20097,7 @@ var NewsletterButton = () => {
|
|
|
20056
20097
|
" "
|
|
20057
20098
|
]
|
|
20058
20099
|
}),
|
|
20059
|
-
/* @__PURE__ */
|
|
20100
|
+
/* @__PURE__ */ jsx99("input", {
|
|
20060
20101
|
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
20102
|
disabled: submitting,
|
|
20062
20103
|
value: email,
|
|
@@ -20065,10 +20106,10 @@ var NewsletterButton = () => {
|
|
|
20065
20106
|
required: true,
|
|
20066
20107
|
placeholder: "animator@gmail.com"
|
|
20067
20108
|
}),
|
|
20068
|
-
/* @__PURE__ */
|
|
20069
|
-
/* @__PURE__ */
|
|
20070
|
-
/* @__PURE__ */
|
|
20071
|
-
children: /* @__PURE__ */
|
|
20109
|
+
/* @__PURE__ */ jsx99(Spacer, {}),
|
|
20110
|
+
/* @__PURE__ */ jsx99(Spacer, {}),
|
|
20111
|
+
/* @__PURE__ */ jsx99("div", {
|
|
20112
|
+
children: /* @__PURE__ */ jsx99(BlueButton, {
|
|
20072
20113
|
type: "submit",
|
|
20073
20114
|
className: "w-full",
|
|
20074
20115
|
loading: submitting,
|
|
@@ -20088,7 +20129,7 @@ var NewsletterButton = () => {
|
|
|
20088
20129
|
|
|
20089
20130
|
// src/components/homepage/ParameterizeAndEdit.tsx
|
|
20090
20131
|
import { useEffect as useEffect45, useRef as useRef31, useState as useState39 } from "react";
|
|
20091
|
-
import { jsx as
|
|
20132
|
+
import { jsx as jsx100, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
20092
20133
|
var icon3 = {
|
|
20093
20134
|
height: 16,
|
|
20094
20135
|
marginLeft: 10
|
|
@@ -20105,8 +20146,8 @@ var ParameterizeAndEdit = () => {
|
|
|
20105
20146
|
ref,
|
|
20106
20147
|
className: "flex flex-col lg:flex-row justify-start lg:justify-end items-start gap-6 mt-20 lg:mt-0",
|
|
20107
20148
|
children: [
|
|
20108
|
-
/* @__PURE__ */
|
|
20109
|
-
children: /* @__PURE__ */
|
|
20149
|
+
/* @__PURE__ */ jsx100("div", {
|
|
20150
|
+
children: /* @__PURE__ */ jsx100("video", {
|
|
20110
20151
|
src: vid,
|
|
20111
20152
|
autoPlay: true,
|
|
20112
20153
|
muted: true,
|
|
@@ -20128,7 +20169,7 @@ var ParameterizeAndEdit = () => {
|
|
|
20128
20169
|
className: "fontbrand text-4xl",
|
|
20129
20170
|
children: [
|
|
20130
20171
|
"Edit ",
|
|
20131
|
-
/* @__PURE__ */
|
|
20172
|
+
/* @__PURE__ */ jsx100("span", {
|
|
20132
20173
|
className: "text-brand",
|
|
20133
20174
|
children: "dynamically"
|
|
20134
20175
|
})
|
|
@@ -20138,11 +20179,11 @@ var ParameterizeAndEdit = () => {
|
|
|
20138
20179
|
className: "leading-relaxed",
|
|
20139
20180
|
children: [
|
|
20140
20181
|
"Parameterize your video by passing data.",
|
|
20141
|
-
/* @__PURE__ */
|
|
20182
|
+
/* @__PURE__ */ jsx100("br", {}),
|
|
20142
20183
|
"Or embed it into your app and build an interface around it."
|
|
20143
20184
|
]
|
|
20144
20185
|
}),
|
|
20145
|
-
/* @__PURE__ */
|
|
20186
|
+
/* @__PURE__ */ jsx100("div", {
|
|
20146
20187
|
className: "h-4"
|
|
20147
20188
|
}),
|
|
20148
20189
|
/* @__PURE__ */ jsxs40("div", {
|
|
@@ -20154,47 +20195,47 @@ var ParameterizeAndEdit = () => {
|
|
|
20154
20195
|
children: [
|
|
20155
20196
|
"Remotion Studio",
|
|
20156
20197
|
" ",
|
|
20157
|
-
/* @__PURE__ */
|
|
20198
|
+
/* @__PURE__ */ jsx100("svg", {
|
|
20158
20199
|
style: icon3,
|
|
20159
20200
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20160
20201
|
viewBox: "0 0 448 512",
|
|
20161
|
-
children: /* @__PURE__ */
|
|
20202
|
+
children: /* @__PURE__ */ jsx100("path", {
|
|
20162
20203
|
fill: "currentColor",
|
|
20163
20204
|
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
20205
|
})
|
|
20165
20206
|
})
|
|
20166
20207
|
]
|
|
20167
20208
|
}),
|
|
20168
|
-
/* @__PURE__ */
|
|
20209
|
+
/* @__PURE__ */ jsx100("br", {}),
|
|
20169
20210
|
/* @__PURE__ */ jsxs40("a", {
|
|
20170
20211
|
className: "no-underline text-brand font-brand font-bold inline-flex flex-row items-center",
|
|
20171
20212
|
href: "/player",
|
|
20172
20213
|
children: [
|
|
20173
20214
|
"Remotion Player",
|
|
20174
20215
|
" ",
|
|
20175
|
-
/* @__PURE__ */
|
|
20216
|
+
/* @__PURE__ */ jsx100("svg", {
|
|
20176
20217
|
style: icon3,
|
|
20177
20218
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20178
20219
|
viewBox: "0 0 448 512",
|
|
20179
|
-
children: /* @__PURE__ */
|
|
20220
|
+
children: /* @__PURE__ */ jsx100("path", {
|
|
20180
20221
|
fill: "currentColor",
|
|
20181
20222
|
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
20223
|
})
|
|
20183
20224
|
})
|
|
20184
20225
|
]
|
|
20185
20226
|
}),
|
|
20186
|
-
/* @__PURE__ */
|
|
20227
|
+
/* @__PURE__ */ jsx100("br", {}),
|
|
20187
20228
|
/* @__PURE__ */ jsxs40("a", {
|
|
20188
20229
|
className: "no-underline text-brand font-brand font-bold inline-flex flex-row items-center",
|
|
20189
20230
|
href: "/docs/editor-starter",
|
|
20190
20231
|
children: [
|
|
20191
20232
|
"Remotion Editor Starter",
|
|
20192
20233
|
" ",
|
|
20193
|
-
/* @__PURE__ */
|
|
20234
|
+
/* @__PURE__ */ jsx100("svg", {
|
|
20194
20235
|
style: icon3,
|
|
20195
20236
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20196
20237
|
viewBox: "0 0 448 512",
|
|
20197
|
-
children: /* @__PURE__ */
|
|
20238
|
+
children: /* @__PURE__ */ jsx100("path", {
|
|
20198
20239
|
fill: "currentColor",
|
|
20199
20240
|
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
20241
|
})
|
|
@@ -20211,7 +20252,7 @@ var ParameterizeAndEdit = () => {
|
|
|
20211
20252
|
|
|
20212
20253
|
// src/components/homepage/RealMp4Videos.tsx
|
|
20213
20254
|
import { useEffect as useEffect46, useRef as useRef33, useState as useState40 } from "react";
|
|
20214
|
-
import { jsx as
|
|
20255
|
+
import { jsx as jsx101, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
20215
20256
|
var icon4 = {
|
|
20216
20257
|
height: 16,
|
|
20217
20258
|
marginLeft: 10
|
|
@@ -20246,9 +20287,9 @@ var RealMP4Videos = () => {
|
|
|
20246
20287
|
ref,
|
|
20247
20288
|
className: "flex flex-col lg:flex-row mt-40 lg:mt-30 gap-6",
|
|
20248
20289
|
children: [
|
|
20249
|
-
/* @__PURE__ */
|
|
20290
|
+
/* @__PURE__ */ jsx101("div", {
|
|
20250
20291
|
className: "flex w-[500px] justify-start lg:justify-start items-end",
|
|
20251
|
-
children: /* @__PURE__ */
|
|
20292
|
+
children: /* @__PURE__ */ jsx101("video", {
|
|
20252
20293
|
ref: videoRef,
|
|
20253
20294
|
src: vid,
|
|
20254
20295
|
muted: true,
|
|
@@ -20271,7 +20312,7 @@ var RealMP4Videos = () => {
|
|
|
20271
20312
|
/* @__PURE__ */ jsxs41("h2", {
|
|
20272
20313
|
className: "text-4xl fontbrand",
|
|
20273
20314
|
children: [
|
|
20274
|
-
/* @__PURE__ */
|
|
20315
|
+
/* @__PURE__ */ jsx101("span", {
|
|
20275
20316
|
className: "text-brand",
|
|
20276
20317
|
children: "Scalable"
|
|
20277
20318
|
}),
|
|
@@ -20282,12 +20323,12 @@ var RealMP4Videos = () => {
|
|
|
20282
20323
|
className: "leading-relaxed",
|
|
20283
20324
|
children: [
|
|
20284
20325
|
"Render the video .mp4 or other formats. ",
|
|
20285
|
-
/* @__PURE__ */
|
|
20326
|
+
/* @__PURE__ */ jsx101("br", {}),
|
|
20286
20327
|
"Locally, on the server or serverless."
|
|
20287
20328
|
]
|
|
20288
20329
|
}),
|
|
20289
20330
|
" ",
|
|
20290
|
-
/* @__PURE__ */
|
|
20331
|
+
/* @__PURE__ */ jsx101("div", {
|
|
20291
20332
|
className: "h-4"
|
|
20292
20333
|
}),
|
|
20293
20334
|
/* @__PURE__ */ jsxs41("div", {
|
|
@@ -20299,29 +20340,29 @@ var RealMP4Videos = () => {
|
|
|
20299
20340
|
children: [
|
|
20300
20341
|
"Render options",
|
|
20301
20342
|
" ",
|
|
20302
|
-
/* @__PURE__ */
|
|
20343
|
+
/* @__PURE__ */ jsx101("svg", {
|
|
20303
20344
|
style: icon4,
|
|
20304
20345
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20305
20346
|
viewBox: "0 0 448 512",
|
|
20306
|
-
children: /* @__PURE__ */
|
|
20347
|
+
children: /* @__PURE__ */ jsx101("path", {
|
|
20307
20348
|
fill: "currentColor",
|
|
20308
20349
|
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
20350
|
})
|
|
20310
20351
|
})
|
|
20311
20352
|
]
|
|
20312
20353
|
}),
|
|
20313
|
-
/* @__PURE__ */
|
|
20354
|
+
/* @__PURE__ */ jsx101("br", {}),
|
|
20314
20355
|
/* @__PURE__ */ jsxs41("a", {
|
|
20315
20356
|
className: "no-underline text-brand font-brand font-bold inline-flex flex-row items-center",
|
|
20316
20357
|
href: "/lambda",
|
|
20317
20358
|
children: [
|
|
20318
20359
|
"Remotion Lambda",
|
|
20319
20360
|
" ",
|
|
20320
|
-
/* @__PURE__ */
|
|
20361
|
+
/* @__PURE__ */ jsx101("svg", {
|
|
20321
20362
|
style: icon4,
|
|
20322
20363
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20323
20364
|
viewBox: "0 0 448 512",
|
|
20324
|
-
children: /* @__PURE__ */
|
|
20365
|
+
children: /* @__PURE__ */ jsx101("path", {
|
|
20325
20366
|
fill: "currentColor",
|
|
20326
20367
|
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
20368
|
})
|
|
@@ -20337,18 +20378,18 @@ var RealMP4Videos = () => {
|
|
|
20337
20378
|
};
|
|
20338
20379
|
|
|
20339
20380
|
// src/components/homepage/TrustedByBanner.tsx
|
|
20340
|
-
import { jsx as
|
|
20381
|
+
import { jsx as jsx104, jsxs as jsxs43, Fragment as Fragment8 } from "react/jsx-runtime";
|
|
20341
20382
|
var TrustedByBanner = () => {
|
|
20342
20383
|
const logos = [
|
|
20343
20384
|
{
|
|
20344
20385
|
id: "logo1",
|
|
20345
20386
|
url: "https://www.github.com/",
|
|
20346
|
-
light: /* @__PURE__ */
|
|
20387
|
+
light: /* @__PURE__ */ jsx104("svg", {
|
|
20347
20388
|
height: "50",
|
|
20348
20389
|
viewBox: "0 0 64 62",
|
|
20349
20390
|
fill: "none",
|
|
20350
20391
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20351
|
-
children: /* @__PURE__ */
|
|
20392
|
+
children: /* @__PURE__ */ jsx104("path", {
|
|
20352
20393
|
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
20394
|
fill: "var(--text-color)"
|
|
20354
20395
|
})
|
|
@@ -20363,51 +20404,51 @@ var TrustedByBanner = () => {
|
|
|
20363
20404
|
fill: "none",
|
|
20364
20405
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20365
20406
|
children: [
|
|
20366
|
-
/* @__PURE__ */
|
|
20407
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20367
20408
|
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
20409
|
fill: "var(--text-color)"
|
|
20369
20410
|
}),
|
|
20370
|
-
/* @__PURE__ */
|
|
20411
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20371
20412
|
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
20413
|
fill: "var(--text-color)"
|
|
20373
20414
|
}),
|
|
20374
|
-
/* @__PURE__ */
|
|
20415
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20375
20416
|
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
20417
|
fill: "var(--text-color)"
|
|
20377
20418
|
}),
|
|
20378
|
-
/* @__PURE__ */
|
|
20419
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20379
20420
|
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
20421
|
fill: "var(--text-color)"
|
|
20381
20422
|
}),
|
|
20382
|
-
/* @__PURE__ */
|
|
20423
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20383
20424
|
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
20425
|
fill: "var(--text-color)"
|
|
20385
20426
|
}),
|
|
20386
|
-
/* @__PURE__ */
|
|
20427
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20387
20428
|
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
20429
|
fill: "var(--text-color)"
|
|
20389
20430
|
}),
|
|
20390
|
-
/* @__PURE__ */
|
|
20431
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20391
20432
|
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
20433
|
fill: "var(--text-color)"
|
|
20393
20434
|
}),
|
|
20394
|
-
/* @__PURE__ */
|
|
20435
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20395
20436
|
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
20437
|
fill: "var(--text-color)"
|
|
20397
20438
|
}),
|
|
20398
|
-
/* @__PURE__ */
|
|
20439
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20399
20440
|
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
20441
|
fill: "var(--text-color)"
|
|
20401
20442
|
}),
|
|
20402
|
-
/* @__PURE__ */
|
|
20443
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20403
20444
|
d: "M119.256 23.7491V31.4775H121.456H123.656V23.7491V16.0207H121.456H119.256V23.7491Z",
|
|
20404
20445
|
fill: "var(--text-color)"
|
|
20405
20446
|
}),
|
|
20406
|
-
/* @__PURE__ */
|
|
20447
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20407
20448
|
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
20449
|
fill: "var(--text-color)"
|
|
20409
20450
|
}),
|
|
20410
|
-
/* @__PURE__ */
|
|
20451
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20411
20452
|
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
20453
|
fill: "var(--text-color)"
|
|
20413
20454
|
})
|
|
@@ -20424,11 +20465,11 @@ var TrustedByBanner = () => {
|
|
|
20424
20465
|
className: "-mt-2",
|
|
20425
20466
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20426
20467
|
children: [
|
|
20427
|
-
/* @__PURE__ */
|
|
20468
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20428
20469
|
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
20470
|
fill: "var(--light-text-color)"
|
|
20430
20471
|
}),
|
|
20431
|
-
/* @__PURE__ */
|
|
20472
|
+
/* @__PURE__ */ jsx104("path", {
|
|
20432
20473
|
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
20474
|
fill: "var(--text-color)"
|
|
20434
20475
|
})
|
|
@@ -20438,12 +20479,12 @@ var TrustedByBanner = () => {
|
|
|
20438
20479
|
{
|
|
20439
20480
|
id: "logo5",
|
|
20440
20481
|
url: "https://www.soundcloud.com/",
|
|
20441
|
-
light: /* @__PURE__ */
|
|
20482
|
+
light: /* @__PURE__ */ jsx104("svg", {
|
|
20442
20483
|
height: "40",
|
|
20443
20484
|
viewBox: "0 0 129 57",
|
|
20444
20485
|
fill: "none",
|
|
20445
20486
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20446
|
-
children: /* @__PURE__ */
|
|
20487
|
+
children: /* @__PURE__ */ jsx104("path", {
|
|
20447
20488
|
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
20489
|
fill: "var(--text-color)"
|
|
20449
20490
|
})
|
|
@@ -20452,13 +20493,13 @@ var TrustedByBanner = () => {
|
|
|
20452
20493
|
];
|
|
20453
20494
|
return /* @__PURE__ */ jsxs43(Fragment8, {
|
|
20454
20495
|
children: [
|
|
20455
|
-
/* @__PURE__ */
|
|
20496
|
+
/* @__PURE__ */ jsx104("h3", {
|
|
20456
20497
|
className: "text-center mt-20 mb-10",
|
|
20457
20498
|
children: "Trusted by"
|
|
20458
20499
|
}),
|
|
20459
|
-
/* @__PURE__ */
|
|
20500
|
+
/* @__PURE__ */ jsx104("div", {
|
|
20460
20501
|
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__ */
|
|
20502
|
+
children: logos.map((logo) => /* @__PURE__ */ jsx104("a", {
|
|
20462
20503
|
href: logo.url,
|
|
20463
20504
|
target: "_blank",
|
|
20464
20505
|
className: "opacity-80 hover:opacity-100 transition-opacity",
|
|
@@ -20472,7 +20513,7 @@ var TrustedByBanner_default = TrustedByBanner;
|
|
|
20472
20513
|
|
|
20473
20514
|
// src/components/homepage/VideoAppsShowcase.tsx
|
|
20474
20515
|
import { useEffect as useEffect47, useRef as useRef35, useState as useState41 } from "react";
|
|
20475
|
-
import { jsx as
|
|
20516
|
+
import { jsx as jsx106, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
20476
20517
|
var tabs = [
|
|
20477
20518
|
"Music visualization",
|
|
20478
20519
|
"Captions",
|
|
@@ -20566,12 +20607,12 @@ var VideoAppsShowcase = () => {
|
|
|
20566
20607
|
return /* @__PURE__ */ jsxs45("div", {
|
|
20567
20608
|
ref: containerRef,
|
|
20568
20609
|
children: [
|
|
20569
|
-
/* @__PURE__ */
|
|
20610
|
+
/* @__PURE__ */ jsx106(SectionTitle, {
|
|
20570
20611
|
children: "Use Cases"
|
|
20571
20612
|
}),
|
|
20572
|
-
/* @__PURE__ */
|
|
20613
|
+
/* @__PURE__ */ jsx106("div", {
|
|
20573
20614
|
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__ */
|
|
20615
|
+
children: tabs.map((tab, index) => /* @__PURE__ */ jsx106("button", {
|
|
20575
20616
|
type: "button",
|
|
20576
20617
|
"data-active": index === activeTab,
|
|
20577
20618
|
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 +20620,7 @@ var VideoAppsShowcase = () => {
|
|
|
20579
20620
|
children: tab
|
|
20580
20621
|
}, tab))
|
|
20581
20622
|
}),
|
|
20582
|
-
/* @__PURE__ */
|
|
20623
|
+
/* @__PURE__ */ jsx106("div", {
|
|
20583
20624
|
className: "card flex p-0 overflow-hidden",
|
|
20584
20625
|
children: /* @__PURE__ */ jsxs45("div", {
|
|
20585
20626
|
className: "flex-1 flex flex-col lg:flex-row justify-center",
|
|
@@ -20588,7 +20629,7 @@ var VideoAppsShowcase = () => {
|
|
|
20588
20629
|
className: "w-full max-w-[500px] aspect-square relative overflow-hidden bg-[#eee] cursor-pointer",
|
|
20589
20630
|
onClick: handlePlayPause,
|
|
20590
20631
|
children: [
|
|
20591
|
-
/* @__PURE__ */
|
|
20632
|
+
/* @__PURE__ */ jsx106(MuxVideo, {
|
|
20592
20633
|
ref: videoRef,
|
|
20593
20634
|
muxId: videoApps[activeTab].muxId,
|
|
20594
20635
|
className: "absolute left-0 top-0 w-full h-full object-contain rounded-sm rounded-tr-none rounded-br-none",
|
|
@@ -20596,21 +20637,21 @@ var VideoAppsShowcase = () => {
|
|
|
20596
20637
|
playsInline: true,
|
|
20597
20638
|
muted: isMuted
|
|
20598
20639
|
}),
|
|
20599
|
-
/* @__PURE__ */
|
|
20640
|
+
/* @__PURE__ */ jsx106("button", {
|
|
20600
20641
|
type: "button",
|
|
20601
20642
|
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
20643
|
onClick: (e) => {
|
|
20603
20644
|
e.stopPropagation();
|
|
20604
20645
|
handlePlayPause();
|
|
20605
20646
|
},
|
|
20606
|
-
children: isPlaying ? /* @__PURE__ */
|
|
20647
|
+
children: isPlaying ? /* @__PURE__ */ jsx106(PlayingIcon, {
|
|
20607
20648
|
style: {
|
|
20608
20649
|
width: 12,
|
|
20609
20650
|
height: 20,
|
|
20610
20651
|
marginLeft: "2px",
|
|
20611
20652
|
marginTop: "1px"
|
|
20612
20653
|
}
|
|
20613
|
-
}) : /* @__PURE__ */
|
|
20654
|
+
}) : /* @__PURE__ */ jsx106(PausedIcon, {
|
|
20614
20655
|
style: {
|
|
20615
20656
|
width: 14,
|
|
20616
20657
|
height: 16,
|
|
@@ -20619,20 +20660,20 @@ var VideoAppsShowcase = () => {
|
|
|
20619
20660
|
}
|
|
20620
20661
|
})
|
|
20621
20662
|
}),
|
|
20622
|
-
/* @__PURE__ */
|
|
20663
|
+
/* @__PURE__ */ jsx106("button", {
|
|
20623
20664
|
type: "button",
|
|
20624
20665
|
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
20666
|
onClick: (e) => {
|
|
20626
20667
|
e.stopPropagation();
|
|
20627
20668
|
handleMuteToggle();
|
|
20628
20669
|
},
|
|
20629
|
-
children: isMuted ? /* @__PURE__ */
|
|
20670
|
+
children: isMuted ? /* @__PURE__ */ jsx106(IsMutedIcon, {
|
|
20630
20671
|
style: {
|
|
20631
20672
|
width: 16,
|
|
20632
20673
|
height: 16,
|
|
20633
20674
|
marginTop: "1px"
|
|
20634
20675
|
}
|
|
20635
|
-
}) : /* @__PURE__ */
|
|
20676
|
+
}) : /* @__PURE__ */ jsx106(NotMutedIcon, {
|
|
20636
20677
|
style: {
|
|
20637
20678
|
width: 16,
|
|
20638
20679
|
height: 16,
|
|
@@ -20645,19 +20686,19 @@ var VideoAppsShowcase = () => {
|
|
|
20645
20686
|
/* @__PURE__ */ jsxs45("div", {
|
|
20646
20687
|
className: "p-6 flex-1 flex flex-col h-full",
|
|
20647
20688
|
children: [
|
|
20648
|
-
/* @__PURE__ */
|
|
20689
|
+
/* @__PURE__ */ jsx106("div", {
|
|
20649
20690
|
className: "text-4xl font-bold fontbrand mt-0",
|
|
20650
20691
|
children: videoApps[activeTab].title
|
|
20651
20692
|
}),
|
|
20652
|
-
/* @__PURE__ */
|
|
20693
|
+
/* @__PURE__ */ jsx106("div", {
|
|
20653
20694
|
className: "text-muted mt-4 text-base fontbrand",
|
|
20654
20695
|
children: videoApps[activeTab].description
|
|
20655
20696
|
}),
|
|
20656
|
-
videoApps[activeTab].additionalInfo ? /* @__PURE__ */
|
|
20697
|
+
videoApps[activeTab].additionalInfo ? /* @__PURE__ */ jsx106("div", {
|
|
20657
20698
|
className: "text-muted mt-4 text-base fontbrand",
|
|
20658
20699
|
children: videoApps[activeTab].additionalInfo
|
|
20659
20700
|
}) : null,
|
|
20660
|
-
/* @__PURE__ */
|
|
20701
|
+
/* @__PURE__ */ jsx106("div", {
|
|
20661
20702
|
className: "h-5"
|
|
20662
20703
|
}),
|
|
20663
20704
|
/* @__PURE__ */ jsxs45("a", {
|
|
@@ -20665,11 +20706,11 @@ var VideoAppsShowcase = () => {
|
|
|
20665
20706
|
href: videoApps[activeTab].link,
|
|
20666
20707
|
children: [
|
|
20667
20708
|
videoApps[activeTab].buttonText,
|
|
20668
|
-
/* @__PURE__ */
|
|
20709
|
+
/* @__PURE__ */ jsx106("svg", {
|
|
20669
20710
|
style: icon5,
|
|
20670
20711
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20671
20712
|
viewBox: "0 0 448 512",
|
|
20672
|
-
children: /* @__PURE__ */
|
|
20713
|
+
children: /* @__PURE__ */ jsx106("path", {
|
|
20673
20714
|
fill: "currentColor",
|
|
20674
20715
|
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
20716
|
})
|
|
@@ -20681,7 +20722,7 @@ var VideoAppsShowcase = () => {
|
|
|
20681
20722
|
]
|
|
20682
20723
|
})
|
|
20683
20724
|
}),
|
|
20684
|
-
/* @__PURE__ */
|
|
20725
|
+
/* @__PURE__ */ jsx106("div", {
|
|
20685
20726
|
style: {
|
|
20686
20727
|
marginTop: "1rem",
|
|
20687
20728
|
justifyContent: "center",
|
|
@@ -20694,7 +20735,7 @@ var VideoAppsShowcase = () => {
|
|
|
20694
20735
|
children: [
|
|
20695
20736
|
"For more examples see our",
|
|
20696
20737
|
" ",
|
|
20697
|
-
/* @__PURE__ */
|
|
20738
|
+
/* @__PURE__ */ jsx106("a", {
|
|
20698
20739
|
href: "/showcase",
|
|
20699
20740
|
className: "bluelink",
|
|
20700
20741
|
children: "Showcase page"
|
|
@@ -21225,13 +21266,13 @@ var CreateVideoInternals = {
|
|
|
21225
21266
|
};
|
|
21226
21267
|
|
|
21227
21268
|
// src/components/icons/blank.tsx
|
|
21228
|
-
import { jsx as
|
|
21269
|
+
import { jsx as jsx107 } from "react/jsx-runtime";
|
|
21229
21270
|
var Blank = (props) => {
|
|
21230
|
-
return /* @__PURE__ */
|
|
21271
|
+
return /* @__PURE__ */ jsx107("svg", {
|
|
21231
21272
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21232
21273
|
viewBox: "0 0 384 512",
|
|
21233
21274
|
...props,
|
|
21234
|
-
children: /* @__PURE__ */
|
|
21275
|
+
children: /* @__PURE__ */ jsx107("path", {
|
|
21235
21276
|
fill: "currentColor",
|
|
21236
21277
|
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
21278
|
})
|
|
@@ -21239,29 +21280,29 @@ var Blank = (props) => {
|
|
|
21239
21280
|
};
|
|
21240
21281
|
|
|
21241
21282
|
// src/components/icons/code-hike.tsx
|
|
21242
|
-
import { jsx as
|
|
21283
|
+
import { jsx as jsx108, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
21243
21284
|
var CodeHike = (props) => {
|
|
21244
21285
|
return /* @__PURE__ */ jsxs46("svg", {
|
|
21245
21286
|
...props,
|
|
21246
21287
|
viewBox: "-100 -100 200 200",
|
|
21247
21288
|
fill: "currentColor",
|
|
21248
21289
|
children: [
|
|
21249
|
-
/* @__PURE__ */
|
|
21290
|
+
/* @__PURE__ */ jsx108("path", {
|
|
21250
21291
|
d: "M 70 60 L 42 -27 L 72 -27 L 100 60 Z"
|
|
21251
21292
|
}),
|
|
21252
|
-
/* @__PURE__ */
|
|
21293
|
+
/* @__PURE__ */ jsx108("path", {
|
|
21253
21294
|
d: "M 20.419540229885058 40.05357142857142 L 42 -27 L 72 -27 L 50.41954022988506 40.05357142857142 Z"
|
|
21254
21295
|
}),
|
|
21255
|
-
/* @__PURE__ */
|
|
21296
|
+
/* @__PURE__ */ jsx108("path", {
|
|
21256
21297
|
d: "M 20.419540229885058 40.05357142857142 L -15 -70 L 15 -70 L 50.41954022988506 40.05357142857142 Z"
|
|
21257
21298
|
}),
|
|
21258
|
-
/* @__PURE__ */
|
|
21299
|
+
/* @__PURE__ */ jsx108("path", {
|
|
21259
21300
|
d: "M -50.41954022988506 40.05357142857142 L -15 -70 L 15 -70 L -20.419540229885058 40.05357142857142 Z"
|
|
21260
21301
|
}),
|
|
21261
|
-
/* @__PURE__ */
|
|
21302
|
+
/* @__PURE__ */ jsx108("path", {
|
|
21262
21303
|
d: "M -50.41954022988506 40.05357142857142 L -72 -27 L -42 -27 L -20.419540229885058 40.05357142857142 Z"
|
|
21263
21304
|
}),
|
|
21264
|
-
/* @__PURE__ */
|
|
21305
|
+
/* @__PURE__ */ jsx108("path", {
|
|
21265
21306
|
d: "M -100 60 L -72 -27 L -42 -27 L -70 60 Z"
|
|
21266
21307
|
})
|
|
21267
21308
|
]
|
|
@@ -21269,13 +21310,13 @@ var CodeHike = (props) => {
|
|
|
21269
21310
|
};
|
|
21270
21311
|
|
|
21271
21312
|
// src/components/icons/cubes.tsx
|
|
21272
|
-
import { jsx as
|
|
21313
|
+
import { jsx as jsx109 } from "react/jsx-runtime";
|
|
21273
21314
|
var Cubes = (props) => {
|
|
21274
|
-
return /* @__PURE__ */
|
|
21315
|
+
return /* @__PURE__ */ jsx109("svg", {
|
|
21275
21316
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21276
21317
|
viewBox: "0 0 512 512",
|
|
21277
21318
|
...props,
|
|
21278
|
-
children: /* @__PURE__ */
|
|
21319
|
+
children: /* @__PURE__ */ jsx109("path", {
|
|
21279
21320
|
fill: "currentColor",
|
|
21280
21321
|
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
21322
|
})
|
|
@@ -21283,13 +21324,13 @@ var Cubes = (props) => {
|
|
|
21283
21324
|
};
|
|
21284
21325
|
|
|
21285
21326
|
// src/components/icons/js.tsx
|
|
21286
|
-
import { jsx as
|
|
21327
|
+
import { jsx as jsx110 } from "react/jsx-runtime";
|
|
21287
21328
|
var JSIcon = (props) => {
|
|
21288
|
-
return /* @__PURE__ */
|
|
21329
|
+
return /* @__PURE__ */ jsx110("svg", {
|
|
21289
21330
|
className: "svg-inline--fa fa-js-square fa-w-14",
|
|
21290
21331
|
viewBox: "0 0 448 512",
|
|
21291
21332
|
...props,
|
|
21292
|
-
children: /* @__PURE__ */
|
|
21333
|
+
children: /* @__PURE__ */ jsx110("path", {
|
|
21293
21334
|
fill: "currentColor",
|
|
21294
21335
|
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
21336
|
})
|
|
@@ -21297,20 +21338,20 @@ var JSIcon = (props) => {
|
|
|
21297
21338
|
};
|
|
21298
21339
|
|
|
21299
21340
|
// src/components/icons/music.tsx
|
|
21300
|
-
import { jsx as
|
|
21341
|
+
import { jsx as jsx111 } from "react/jsx-runtime";
|
|
21301
21342
|
var MusicIcon = (props) => {
|
|
21302
|
-
return /* @__PURE__ */
|
|
21343
|
+
return /* @__PURE__ */ jsx111("svg", {
|
|
21303
21344
|
...props,
|
|
21304
21345
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21305
21346
|
viewBox: "0 0 512 512",
|
|
21306
|
-
children: /* @__PURE__ */
|
|
21347
|
+
children: /* @__PURE__ */ jsx111("path", {
|
|
21307
21348
|
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
21349
|
})
|
|
21309
21350
|
});
|
|
21310
21351
|
};
|
|
21311
21352
|
|
|
21312
21353
|
// src/components/icons/next.tsx
|
|
21313
|
-
import { jsx as
|
|
21354
|
+
import { jsx as jsx113, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
21314
21355
|
var NextIcon = ({ style: style4 }) => {
|
|
21315
21356
|
return /* @__PURE__ */ jsxs47("svg", {
|
|
21316
21357
|
fill: "none",
|
|
@@ -21318,7 +21359,7 @@ var NextIcon = ({ style: style4 }) => {
|
|
|
21318
21359
|
style: style4,
|
|
21319
21360
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21320
21361
|
children: [
|
|
21321
|
-
/* @__PURE__ */
|
|
21362
|
+
/* @__PURE__ */ jsx113("mask", {
|
|
21322
21363
|
height: "180",
|
|
21323
21364
|
id: "mask0_292_250",
|
|
21324
21365
|
maskUnits: "userSpaceOnUse",
|
|
@@ -21326,7 +21367,7 @@ var NextIcon = ({ style: style4 }) => {
|
|
|
21326
21367
|
width: "180",
|
|
21327
21368
|
x: "0",
|
|
21328
21369
|
y: "0",
|
|
21329
|
-
children: /* @__PURE__ */
|
|
21370
|
+
children: /* @__PURE__ */ jsx113("circle", {
|
|
21330
21371
|
cx: "90",
|
|
21331
21372
|
cy: "90",
|
|
21332
21373
|
fill: "currentcolor",
|
|
@@ -21336,17 +21377,17 @@ var NextIcon = ({ style: style4 }) => {
|
|
|
21336
21377
|
/* @__PURE__ */ jsxs47("g", {
|
|
21337
21378
|
mask: "url(#mask0_292_250)",
|
|
21338
21379
|
children: [
|
|
21339
|
-
/* @__PURE__ */
|
|
21380
|
+
/* @__PURE__ */ jsx113("circle", {
|
|
21340
21381
|
cx: "90",
|
|
21341
21382
|
cy: "90",
|
|
21342
21383
|
fill: "currentcolor",
|
|
21343
21384
|
r: "90"
|
|
21344
21385
|
}),
|
|
21345
|
-
/* @__PURE__ */
|
|
21386
|
+
/* @__PURE__ */ jsx113("path", {
|
|
21346
21387
|
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
21388
|
fill: "url(#paint0_linear_292_250)"
|
|
21348
21389
|
}),
|
|
21349
|
-
/* @__PURE__ */
|
|
21390
|
+
/* @__PURE__ */ jsx113("rect", {
|
|
21350
21391
|
fill: "url(#paint1_linear_292_250)",
|
|
21351
21392
|
height: "72",
|
|
21352
21393
|
width: "12",
|
|
@@ -21365,10 +21406,10 @@ var NextIcon = ({ style: style4 }) => {
|
|
|
21365
21406
|
y1: "116.5",
|
|
21366
21407
|
y2: "160.5",
|
|
21367
21408
|
children: [
|
|
21368
|
-
/* @__PURE__ */
|
|
21409
|
+
/* @__PURE__ */ jsx113("stop", {
|
|
21369
21410
|
stopColor: "var(--background)"
|
|
21370
21411
|
}),
|
|
21371
|
-
/* @__PURE__ */
|
|
21412
|
+
/* @__PURE__ */ jsx113("stop", {
|
|
21372
21413
|
offset: "1",
|
|
21373
21414
|
stopColor: "var(--background)",
|
|
21374
21415
|
stopOpacity: "0"
|
|
@@ -21383,10 +21424,10 @@ var NextIcon = ({ style: style4 }) => {
|
|
|
21383
21424
|
y1: "54",
|
|
21384
21425
|
y2: "106.875",
|
|
21385
21426
|
children: [
|
|
21386
|
-
/* @__PURE__ */
|
|
21427
|
+
/* @__PURE__ */ jsx113("stop", {
|
|
21387
21428
|
stopColor: "var(--background)"
|
|
21388
21429
|
}),
|
|
21389
|
-
/* @__PURE__ */
|
|
21430
|
+
/* @__PURE__ */ jsx113("stop", {
|
|
21390
21431
|
offset: "1",
|
|
21391
21432
|
stopColor: "var(--background)",
|
|
21392
21433
|
stopOpacity: "0"
|
|
@@ -21400,7 +21441,7 @@ var NextIcon = ({ style: style4 }) => {
|
|
|
21400
21441
|
};
|
|
21401
21442
|
|
|
21402
21443
|
// src/components/icons/overlay.tsx
|
|
21403
|
-
import { jsx as
|
|
21444
|
+
import { jsx as jsx115, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
21404
21445
|
var OverlayIcon = (props) => {
|
|
21405
21446
|
return /* @__PURE__ */ jsxs48("svg", {
|
|
21406
21447
|
viewBox: "0 0 576 512",
|
|
@@ -21408,11 +21449,11 @@ var OverlayIcon = (props) => {
|
|
|
21408
21449
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21409
21450
|
...props,
|
|
21410
21451
|
children: [
|
|
21411
|
-
/* @__PURE__ */
|
|
21452
|
+
/* @__PURE__ */ jsx115("path", {
|
|
21412
21453
|
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
21454
|
fill: "currentcolor"
|
|
21414
21455
|
}),
|
|
21415
|
-
/* @__PURE__ */
|
|
21456
|
+
/* @__PURE__ */ jsx115("path", {
|
|
21416
21457
|
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
21458
|
stroke: "currentcolor",
|
|
21418
21459
|
transform: "translate(32, -25)",
|
|
@@ -21423,23 +21464,23 @@ var OverlayIcon = (props) => {
|
|
|
21423
21464
|
};
|
|
21424
21465
|
|
|
21425
21466
|
// src/components/icons/recorder.tsx
|
|
21426
|
-
import { jsx as
|
|
21467
|
+
import { jsx as jsx116, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
21427
21468
|
var Recorder = (props) => {
|
|
21428
21469
|
return /* @__PURE__ */ jsxs49("svg", {
|
|
21429
21470
|
viewBox: "0 0 700 700",
|
|
21430
21471
|
...props,
|
|
21431
21472
|
children: [
|
|
21432
|
-
/* @__PURE__ */
|
|
21473
|
+
/* @__PURE__ */ jsx116("path", {
|
|
21433
21474
|
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
21475
|
fill: "#F43B00",
|
|
21435
21476
|
fillOpacity: "0.15"
|
|
21436
21477
|
}),
|
|
21437
|
-
/* @__PURE__ */
|
|
21478
|
+
/* @__PURE__ */ jsx116("path", {
|
|
21438
21479
|
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
21480
|
fill: "#F43B00",
|
|
21440
21481
|
fillOpacity: "0.3"
|
|
21441
21482
|
}),
|
|
21442
|
-
/* @__PURE__ */
|
|
21483
|
+
/* @__PURE__ */ jsx116("path", {
|
|
21443
21484
|
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
21485
|
fill: "#F43B00"
|
|
21445
21486
|
})
|
|
@@ -21448,9 +21489,9 @@ var Recorder = (props) => {
|
|
|
21448
21489
|
};
|
|
21449
21490
|
|
|
21450
21491
|
// src/components/icons/remix.tsx
|
|
21451
|
-
import { jsx as
|
|
21492
|
+
import { jsx as jsx117, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
21452
21493
|
var ReactRouterIcon = (props) => {
|
|
21453
|
-
return /* @__PURE__ */
|
|
21494
|
+
return /* @__PURE__ */ jsx117("svg", {
|
|
21454
21495
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21455
21496
|
width: "800px",
|
|
21456
21497
|
height: "800px",
|
|
@@ -21460,11 +21501,11 @@ var ReactRouterIcon = (props) => {
|
|
|
21460
21501
|
...props,
|
|
21461
21502
|
children: /* @__PURE__ */ jsxs50("g", {
|
|
21462
21503
|
children: [
|
|
21463
|
-
/* @__PURE__ */
|
|
21504
|
+
/* @__PURE__ */ jsx117("path", {
|
|
21464
21505
|
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
21506
|
fill: "currentcolor"
|
|
21466
21507
|
}),
|
|
21467
|
-
/* @__PURE__ */
|
|
21508
|
+
/* @__PURE__ */ jsx117("path", {
|
|
21468
21509
|
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
21510
|
fill: "currentcolor"
|
|
21470
21511
|
})
|
|
@@ -21474,13 +21515,13 @@ var ReactRouterIcon = (props) => {
|
|
|
21474
21515
|
};
|
|
21475
21516
|
|
|
21476
21517
|
// src/components/icons/skia.tsx
|
|
21477
|
-
import { jsx as
|
|
21518
|
+
import { jsx as jsx118 } from "react/jsx-runtime";
|
|
21478
21519
|
var SkiaIcon = (props) => {
|
|
21479
|
-
return /* @__PURE__ */
|
|
21520
|
+
return /* @__PURE__ */ jsx118("svg", {
|
|
21480
21521
|
...props,
|
|
21481
21522
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21482
21523
|
viewBox: "0 0 576 512",
|
|
21483
|
-
children: /* @__PURE__ */
|
|
21524
|
+
children: /* @__PURE__ */ jsx118("path", {
|
|
21484
21525
|
fill: "currentColor",
|
|
21485
21526
|
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
21527
|
})
|
|
@@ -21488,13 +21529,13 @@ var SkiaIcon = (props) => {
|
|
|
21488
21529
|
};
|
|
21489
21530
|
|
|
21490
21531
|
// src/components/icons/stargazer.tsx
|
|
21491
|
-
import { jsx as
|
|
21532
|
+
import { jsx as jsx119 } from "react/jsx-runtime";
|
|
21492
21533
|
var Stargazer = (props) => {
|
|
21493
|
-
return /* @__PURE__ */
|
|
21534
|
+
return /* @__PURE__ */ jsx119("svg", {
|
|
21494
21535
|
height: "1em",
|
|
21495
21536
|
viewBox: "0 0 512 512",
|
|
21496
21537
|
...props,
|
|
21497
|
-
children: /* @__PURE__ */
|
|
21538
|
+
children: /* @__PURE__ */ jsx119("path", {
|
|
21498
21539
|
fill: "currentcolor",
|
|
21499
21540
|
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
21541
|
})
|
|
@@ -21502,13 +21543,13 @@ var Stargazer = (props) => {
|
|
|
21502
21543
|
};
|
|
21503
21544
|
|
|
21504
21545
|
// src/components/icons/still.tsx
|
|
21505
|
-
import { jsx as
|
|
21546
|
+
import { jsx as jsx120 } from "react/jsx-runtime";
|
|
21506
21547
|
var StillIcon = (props) => {
|
|
21507
|
-
return /* @__PURE__ */
|
|
21548
|
+
return /* @__PURE__ */ jsx120("svg", {
|
|
21508
21549
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21509
21550
|
viewBox: "0 0 512 512",
|
|
21510
21551
|
...props,
|
|
21511
|
-
children: /* @__PURE__ */
|
|
21552
|
+
children: /* @__PURE__ */ jsx120("path", {
|
|
21512
21553
|
fill: "currentColor",
|
|
21513
21554
|
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
21555
|
})
|
|
@@ -21516,12 +21557,12 @@ var StillIcon = (props) => {
|
|
|
21516
21557
|
};
|
|
21517
21558
|
|
|
21518
21559
|
// src/components/icons/tiktok.tsx
|
|
21519
|
-
import { jsx as
|
|
21560
|
+
import { jsx as jsx121 } from "react/jsx-runtime";
|
|
21520
21561
|
var TikTok = (props) => {
|
|
21521
|
-
return /* @__PURE__ */
|
|
21562
|
+
return /* @__PURE__ */ jsx121("svg", {
|
|
21522
21563
|
...props,
|
|
21523
21564
|
viewBox: "0 0 448 512",
|
|
21524
|
-
children: /* @__PURE__ */
|
|
21565
|
+
children: /* @__PURE__ */ jsx121("path", {
|
|
21525
21566
|
fill: "currentcolor",
|
|
21526
21567
|
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
21568
|
})
|
|
@@ -21529,14 +21570,14 @@ var TikTok = (props) => {
|
|
|
21529
21570
|
};
|
|
21530
21571
|
|
|
21531
21572
|
// src/components/icons/ts.tsx
|
|
21532
|
-
import { jsx as
|
|
21573
|
+
import { jsx as jsx123 } from "react/jsx-runtime";
|
|
21533
21574
|
var TypeScriptIcon = (props) => {
|
|
21534
|
-
return /* @__PURE__ */
|
|
21575
|
+
return /* @__PURE__ */ jsx123("svg", {
|
|
21535
21576
|
fill: "#000000",
|
|
21536
21577
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21537
21578
|
viewBox: "0 0 24 24",
|
|
21538
21579
|
...props,
|
|
21539
|
-
children: /* @__PURE__ */
|
|
21580
|
+
children: /* @__PURE__ */ jsx123("path", {
|
|
21540
21581
|
fill: "currentColor",
|
|
21541
21582
|
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
21583
|
})
|
|
@@ -21544,13 +21585,13 @@ var TypeScriptIcon = (props) => {
|
|
|
21544
21585
|
};
|
|
21545
21586
|
|
|
21546
21587
|
// src/components/icons/tts.tsx
|
|
21547
|
-
import { jsx as
|
|
21588
|
+
import { jsx as jsx125 } from "react/jsx-runtime";
|
|
21548
21589
|
var TTSIcon = (props) => {
|
|
21549
|
-
return /* @__PURE__ */
|
|
21590
|
+
return /* @__PURE__ */ jsx125("svg", {
|
|
21550
21591
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21551
21592
|
viewBox: "0 0 512 512",
|
|
21552
21593
|
...props,
|
|
21553
|
-
children: /* @__PURE__ */
|
|
21594
|
+
children: /* @__PURE__ */ jsx125("path", {
|
|
21554
21595
|
fill: "currentColor",
|
|
21555
21596
|
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
21597
|
})
|
|
@@ -21558,13 +21599,13 @@ var TTSIcon = (props) => {
|
|
|
21558
21599
|
};
|
|
21559
21600
|
|
|
21560
21601
|
// src/components/icons/waveform.tsx
|
|
21561
|
-
import { jsx as
|
|
21602
|
+
import { jsx as jsx126 } from "react/jsx-runtime";
|
|
21562
21603
|
var Waveform = (props) => {
|
|
21563
|
-
return /* @__PURE__ */
|
|
21604
|
+
return /* @__PURE__ */ jsx126("svg", {
|
|
21564
21605
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21565
21606
|
viewBox: "0 0 640 512",
|
|
21566
21607
|
...props,
|
|
21567
|
-
children: /* @__PURE__ */
|
|
21608
|
+
children: /* @__PURE__ */ jsx126("path", {
|
|
21568
21609
|
fill: "currentColor",
|
|
21569
21610
|
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
21611
|
})
|
|
@@ -21572,17 +21613,17 @@ var Waveform = (props) => {
|
|
|
21572
21613
|
};
|
|
21573
21614
|
|
|
21574
21615
|
// src/components/homepage/IconForTemplate.tsx
|
|
21575
|
-
import { jsx as
|
|
21616
|
+
import { jsx as jsx127 } from "react/jsx-runtime";
|
|
21576
21617
|
var IconForTemplate = ({ template, scale: scale4 = 1 }) => {
|
|
21577
21618
|
if (template.cliId === "hello-world") {
|
|
21578
|
-
return /* @__PURE__ */
|
|
21619
|
+
return /* @__PURE__ */ jsx127(TypeScriptIcon, {
|
|
21579
21620
|
style: {
|
|
21580
21621
|
height: scale4 * 48
|
|
21581
21622
|
}
|
|
21582
21623
|
});
|
|
21583
21624
|
}
|
|
21584
21625
|
if (template.cliId === "blank") {
|
|
21585
|
-
return /* @__PURE__ */
|
|
21626
|
+
return /* @__PURE__ */ jsx127(Blank, {
|
|
21586
21627
|
style: {
|
|
21587
21628
|
height: scale4 * 36,
|
|
21588
21629
|
overflow: "visible"
|
|
@@ -21590,99 +21631,99 @@ var IconForTemplate = ({ template, scale: scale4 = 1 }) => {
|
|
|
21590
21631
|
});
|
|
21591
21632
|
}
|
|
21592
21633
|
if (template.cliId === "javascript") {
|
|
21593
|
-
return /* @__PURE__ */
|
|
21634
|
+
return /* @__PURE__ */ jsx127(JSIcon, {
|
|
21594
21635
|
style: {
|
|
21595
21636
|
height: scale4 * 40
|
|
21596
21637
|
}
|
|
21597
21638
|
});
|
|
21598
21639
|
}
|
|
21599
21640
|
if (template.cliId === "three") {
|
|
21600
|
-
return /* @__PURE__ */
|
|
21641
|
+
return /* @__PURE__ */ jsx127(Cubes, {
|
|
21601
21642
|
style: {
|
|
21602
21643
|
height: scale4 * 36
|
|
21603
21644
|
}
|
|
21604
21645
|
});
|
|
21605
21646
|
}
|
|
21606
21647
|
if (template.cliId === "still") {
|
|
21607
|
-
return /* @__PURE__ */
|
|
21648
|
+
return /* @__PURE__ */ jsx127(StillIcon, {
|
|
21608
21649
|
style: {
|
|
21609
21650
|
height: scale4 * 36
|
|
21610
21651
|
}
|
|
21611
21652
|
});
|
|
21612
21653
|
}
|
|
21613
21654
|
if (template.cliId === "audiogram") {
|
|
21614
|
-
return /* @__PURE__ */
|
|
21655
|
+
return /* @__PURE__ */ jsx127(Waveform, {
|
|
21615
21656
|
style: {
|
|
21616
21657
|
height: scale4 * 36
|
|
21617
21658
|
}
|
|
21618
21659
|
});
|
|
21619
21660
|
}
|
|
21620
21661
|
if (template.cliId === "tts") {
|
|
21621
|
-
return /* @__PURE__ */
|
|
21662
|
+
return /* @__PURE__ */ jsx127(TTSIcon, {
|
|
21622
21663
|
style: {
|
|
21623
21664
|
height: scale4 * 36
|
|
21624
21665
|
}
|
|
21625
21666
|
});
|
|
21626
21667
|
}
|
|
21627
21668
|
if (template.cliId === "google-tts") {
|
|
21628
|
-
return /* @__PURE__ */
|
|
21669
|
+
return /* @__PURE__ */ jsx127(TTSIcon, {
|
|
21629
21670
|
style: {
|
|
21630
21671
|
height: scale4 * 36
|
|
21631
21672
|
}
|
|
21632
21673
|
});
|
|
21633
21674
|
}
|
|
21634
21675
|
if (template.cliId === "skia") {
|
|
21635
|
-
return /* @__PURE__ */
|
|
21676
|
+
return /* @__PURE__ */ jsx127(SkiaIcon, {
|
|
21636
21677
|
style: {
|
|
21637
21678
|
height: scale4 * 32
|
|
21638
21679
|
}
|
|
21639
21680
|
});
|
|
21640
21681
|
}
|
|
21641
21682
|
if (template.cliId === "music-visualization") {
|
|
21642
|
-
return /* @__PURE__ */
|
|
21683
|
+
return /* @__PURE__ */ jsx127(MusicIcon, {
|
|
21643
21684
|
style: {
|
|
21644
21685
|
height: scale4 * 32
|
|
21645
21686
|
}
|
|
21646
21687
|
});
|
|
21647
21688
|
}
|
|
21648
21689
|
if (template.cliId === "react-router") {
|
|
21649
|
-
return /* @__PURE__ */
|
|
21690
|
+
return /* @__PURE__ */ jsx127(ReactRouterIcon, {
|
|
21650
21691
|
style: {
|
|
21651
21692
|
height: scale4 * 32
|
|
21652
21693
|
}
|
|
21653
21694
|
});
|
|
21654
21695
|
}
|
|
21655
21696
|
if (template.cliId === "overlay") {
|
|
21656
|
-
return /* @__PURE__ */
|
|
21697
|
+
return /* @__PURE__ */ jsx127(OverlayIcon, {
|
|
21657
21698
|
style: { height: scale4 * 42 }
|
|
21658
21699
|
});
|
|
21659
21700
|
}
|
|
21660
21701
|
if (template.cliId === "recorder") {
|
|
21661
|
-
return /* @__PURE__ */
|
|
21702
|
+
return /* @__PURE__ */ jsx127(Recorder, {
|
|
21662
21703
|
style: { height: scale4 * 36 }
|
|
21663
21704
|
});
|
|
21664
21705
|
}
|
|
21665
21706
|
if (template.cliId === "next" || template.cliId === "next-tailwind" || template.cliId === "next-pages-dir") {
|
|
21666
|
-
return /* @__PURE__ */
|
|
21707
|
+
return /* @__PURE__ */ jsx127(NextIcon, {
|
|
21667
21708
|
style: { height: scale4 * 36 }
|
|
21668
21709
|
});
|
|
21669
21710
|
}
|
|
21670
21711
|
if (template.cliId === "stargazer") {
|
|
21671
|
-
return /* @__PURE__ */
|
|
21712
|
+
return /* @__PURE__ */ jsx127(Stargazer, {
|
|
21672
21713
|
style: { height: scale4 * 36 }
|
|
21673
21714
|
});
|
|
21674
21715
|
}
|
|
21675
21716
|
if (template.cliId === "tiktok") {
|
|
21676
|
-
return /* @__PURE__ */
|
|
21717
|
+
return /* @__PURE__ */ jsx127(TikTok, {
|
|
21677
21718
|
style: { height: scale4 * 36 }
|
|
21678
21719
|
});
|
|
21679
21720
|
}
|
|
21680
21721
|
if (template.cliId === "code-hike") {
|
|
21681
|
-
return /* @__PURE__ */
|
|
21722
|
+
return /* @__PURE__ */ jsx127(CodeHike, {
|
|
21682
21723
|
style: { height: scale4 * 36 }
|
|
21683
21724
|
});
|
|
21684
21725
|
}
|
|
21685
|
-
return /* @__PURE__ */
|
|
21726
|
+
return /* @__PURE__ */ jsx127(Blank, {
|
|
21686
21727
|
style: {
|
|
21687
21728
|
height: scale4 * 40
|
|
21688
21729
|
}
|
|
@@ -21696,25 +21737,25 @@ var useMobileLayout = () => {
|
|
|
21696
21737
|
};
|
|
21697
21738
|
|
|
21698
21739
|
// src/components/homepage/MoreTemplatesButton.tsx
|
|
21699
|
-
import { jsx as
|
|
21740
|
+
import { jsx as jsx128, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
21700
21741
|
var icon6 = {
|
|
21701
21742
|
height: 16,
|
|
21702
21743
|
marginLeft: 10
|
|
21703
21744
|
};
|
|
21704
21745
|
var MoreTemplatesButton = () => {
|
|
21705
21746
|
const mobileLayout = useMobileLayout();
|
|
21706
|
-
return /* @__PURE__ */
|
|
21747
|
+
return /* @__PURE__ */ jsx128("a", {
|
|
21707
21748
|
href: "/templates",
|
|
21708
21749
|
className: "no-underline text-inherit",
|
|
21709
21750
|
children: /* @__PURE__ */ jsxs51("div", {
|
|
21710
21751
|
className: "right-0 border-2 rounded-full text-inherit px-4 py-2 fontbrand font-semibold text-sm flex flex-row items-center",
|
|
21711
21752
|
children: [
|
|
21712
21753
|
mobileLayout ? "Templates" : "Find a template",
|
|
21713
|
-
/* @__PURE__ */
|
|
21754
|
+
/* @__PURE__ */ jsx128("svg", {
|
|
21714
21755
|
style: icon6,
|
|
21715
21756
|
xmlns: "http://www.w3.org/2000/svg",
|
|
21716
21757
|
viewBox: "0 0 448 512",
|
|
21717
|
-
children: /* @__PURE__ */
|
|
21758
|
+
children: /* @__PURE__ */ jsx128("path", {
|
|
21718
21759
|
fill: "currentColor",
|
|
21719
21760
|
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
21761
|
})
|
|
@@ -21725,7 +21766,7 @@ var MoreTemplatesButton = () => {
|
|
|
21725
21766
|
};
|
|
21726
21767
|
|
|
21727
21768
|
// src/components/homepage/TemplateIcon.tsx
|
|
21728
|
-
import { jsx as
|
|
21769
|
+
import { jsx as jsx129, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
21729
21770
|
var icon7 = {
|
|
21730
21771
|
display: "flex",
|
|
21731
21772
|
width: 36,
|
|
@@ -21749,11 +21790,11 @@ var TemplateIcon = ({ children, label: label3 }) => {
|
|
|
21749
21790
|
return /* @__PURE__ */ jsxs53("span", {
|
|
21750
21791
|
style: outer,
|
|
21751
21792
|
children: [
|
|
21752
|
-
/* @__PURE__ */
|
|
21793
|
+
/* @__PURE__ */ jsx129("div", {
|
|
21753
21794
|
style: icon7,
|
|
21754
21795
|
children
|
|
21755
21796
|
}),
|
|
21756
|
-
mobileLayout ? null : /* @__PURE__ */
|
|
21797
|
+
mobileLayout ? null : /* @__PURE__ */ jsx129("div", {
|
|
21757
21798
|
className: "text-xs fontbrand",
|
|
21758
21799
|
children: label3
|
|
21759
21800
|
})
|
|
@@ -21762,14 +21803,14 @@ var TemplateIcon = ({ children, label: label3 }) => {
|
|
|
21762
21803
|
};
|
|
21763
21804
|
|
|
21764
21805
|
// src/components/homepage/ChooseTemplate.tsx
|
|
21765
|
-
import { jsx as
|
|
21806
|
+
import { jsx as jsx130, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
21766
21807
|
var ChooseTemplate = () => {
|
|
21767
|
-
return /* @__PURE__ */
|
|
21808
|
+
return /* @__PURE__ */ jsx130("div", {
|
|
21768
21809
|
style: {
|
|
21769
21810
|
display: "flex",
|
|
21770
21811
|
flexDirection: "column"
|
|
21771
21812
|
},
|
|
21772
|
-
children: /* @__PURE__ */
|
|
21813
|
+
children: /* @__PURE__ */ jsx130("div", {
|
|
21773
21814
|
style: {
|
|
21774
21815
|
position: "relative",
|
|
21775
21816
|
textAlign: "center"
|
|
@@ -21790,19 +21831,19 @@ var ChooseTemplate = () => {
|
|
|
21790
21831
|
},
|
|
21791
21832
|
children: [
|
|
21792
21833
|
CreateVideoInternals.FEATURED_TEMPLATES.filter((f) => f.featuredOnHomePage).map((template) => {
|
|
21793
|
-
return /* @__PURE__ */
|
|
21834
|
+
return /* @__PURE__ */ jsx130("a", {
|
|
21794
21835
|
className: "text-inherit no-underline",
|
|
21795
21836
|
href: `/templates/${template.cliId}`,
|
|
21796
|
-
children: /* @__PURE__ */
|
|
21837
|
+
children: /* @__PURE__ */ jsx130(TemplateIcon, {
|
|
21797
21838
|
label: template.featuredOnHomePage,
|
|
21798
|
-
children: /* @__PURE__ */
|
|
21839
|
+
children: /* @__PURE__ */ jsx130(IconForTemplate, {
|
|
21799
21840
|
scale: 0.7,
|
|
21800
21841
|
template
|
|
21801
21842
|
})
|
|
21802
21843
|
})
|
|
21803
21844
|
}, template.cliId);
|
|
21804
21845
|
}),
|
|
21805
|
-
/* @__PURE__ */
|
|
21846
|
+
/* @__PURE__ */ jsx130(MoreTemplatesButton, {})
|
|
21806
21847
|
]
|
|
21807
21848
|
})
|
|
21808
21849
|
})
|
|
@@ -21813,12 +21854,12 @@ var ChooseTemplate = () => {
|
|
|
21813
21854
|
import { useState as useState43 } from "react";
|
|
21814
21855
|
|
|
21815
21856
|
// src/components/homepage/GitHubButton.tsx
|
|
21816
|
-
import { jsx as
|
|
21857
|
+
import { jsx as jsx131, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
21817
21858
|
var GithubIcon = () => {
|
|
21818
|
-
return /* @__PURE__ */
|
|
21859
|
+
return /* @__PURE__ */ jsx131("svg", {
|
|
21819
21860
|
viewBox: "0 0 496 512",
|
|
21820
21861
|
style: { height: 24, marginRight: 8 },
|
|
21821
|
-
children: /* @__PURE__ */
|
|
21862
|
+
children: /* @__PURE__ */ jsx131("path", {
|
|
21822
21863
|
fill: "currentColor",
|
|
21823
21864
|
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
21865
|
})
|
|
@@ -21828,13 +21869,13 @@ var GithubButton = () => {
|
|
|
21828
21869
|
return /* @__PURE__ */ jsxs56("div", {
|
|
21829
21870
|
className: "flex flex-row items-center text-base",
|
|
21830
21871
|
children: [
|
|
21831
|
-
/* @__PURE__ */
|
|
21872
|
+
/* @__PURE__ */ jsx131(GithubIcon, {}),
|
|
21832
21873
|
" ",
|
|
21833
|
-
/* @__PURE__ */
|
|
21874
|
+
/* @__PURE__ */ jsx131("span", {
|
|
21834
21875
|
children: "GitHub"
|
|
21835
21876
|
}),
|
|
21836
21877
|
" ",
|
|
21837
|
-
/* @__PURE__ */
|
|
21878
|
+
/* @__PURE__ */ jsx131("div", {
|
|
21838
21879
|
className: "text-xs inline-block ml-2 leading-none mt-[3px] self-center",
|
|
21839
21880
|
children: "24k"
|
|
21840
21881
|
})
|
|
@@ -21843,18 +21884,18 @@ var GithubButton = () => {
|
|
|
21843
21884
|
};
|
|
21844
21885
|
|
|
21845
21886
|
// src/components/homepage/GetStartedStrip.tsx
|
|
21846
|
-
import { jsx as
|
|
21887
|
+
import { jsx as jsx133, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
21847
21888
|
var GetStarted = () => {
|
|
21848
21889
|
const [clicked, setClicked] = useState43(null);
|
|
21849
21890
|
return /* @__PURE__ */ jsxs57("div", {
|
|
21850
21891
|
className: "flex flex-col lg:flex-row items-center justify-center text-center w-full",
|
|
21851
21892
|
children: [
|
|
21852
|
-
/* @__PURE__ */
|
|
21893
|
+
/* @__PURE__ */ jsx133("div", {
|
|
21853
21894
|
className: "w-full lg:w-auto",
|
|
21854
21895
|
children: /* @__PURE__ */ jsxs57("div", {
|
|
21855
21896
|
className: "flex flex-row w-full ",
|
|
21856
21897
|
children: [
|
|
21857
|
-
clicked ? /* @__PURE__ */
|
|
21898
|
+
clicked ? /* @__PURE__ */ jsx133("div", {
|
|
21858
21899
|
style: {
|
|
21859
21900
|
animation: "click 0.7s linear",
|
|
21860
21901
|
animationFillMode: "forwards"
|
|
@@ -21862,7 +21903,7 @@ var GetStarted = () => {
|
|
|
21862
21903
|
className: "absolute z-0 top-0 font-mono text-sm text-center w-full",
|
|
21863
21904
|
children: "Copied!"
|
|
21864
21905
|
}, clicked) : null,
|
|
21865
|
-
/* @__PURE__ */
|
|
21906
|
+
/* @__PURE__ */ jsx133("div", {
|
|
21866
21907
|
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
21908
|
onClick: () => {
|
|
21868
21909
|
navigator.clipboard.writeText("npx create-video@latest");
|
|
@@ -21874,16 +21915,16 @@ var GetStarted = () => {
|
|
|
21874
21915
|
]
|
|
21875
21916
|
})
|
|
21876
21917
|
}),
|
|
21877
|
-
/* @__PURE__ */
|
|
21918
|
+
/* @__PURE__ */ jsx133("div", {
|
|
21878
21919
|
className: "w-2 h-2"
|
|
21879
21920
|
}),
|
|
21880
|
-
/* @__PURE__ */
|
|
21921
|
+
/* @__PURE__ */ jsx133("div", {
|
|
21881
21922
|
className: "w-full lg:w-auto",
|
|
21882
|
-
children: /* @__PURE__ */
|
|
21923
|
+
children: /* @__PURE__ */ jsx133("a", {
|
|
21883
21924
|
className: "no-underline w-full block",
|
|
21884
21925
|
href: "https://www.youtube.com/watch?v=deg8bOoziaE",
|
|
21885
21926
|
target: "_blank",
|
|
21886
|
-
children: /* @__PURE__ */
|
|
21927
|
+
children: /* @__PURE__ */ jsx133(PlainButton, {
|
|
21887
21928
|
size: "sm",
|
|
21888
21929
|
loading: false,
|
|
21889
21930
|
className: "w-full",
|
|
@@ -21891,45 +21932,45 @@ var GetStarted = () => {
|
|
|
21891
21932
|
})
|
|
21892
21933
|
})
|
|
21893
21934
|
}),
|
|
21894
|
-
/* @__PURE__ */
|
|
21935
|
+
/* @__PURE__ */ jsx133("div", {
|
|
21895
21936
|
style: { width: 10, height: 10 }
|
|
21896
21937
|
}),
|
|
21897
|
-
/* @__PURE__ */
|
|
21938
|
+
/* @__PURE__ */ jsx133("a", {
|
|
21898
21939
|
className: "no-underline w-full lg:w-auto",
|
|
21899
21940
|
href: "/docs",
|
|
21900
|
-
children: /* @__PURE__ */
|
|
21941
|
+
children: /* @__PURE__ */ jsx133(PlainButton, {
|
|
21901
21942
|
size: "sm",
|
|
21902
21943
|
loading: false,
|
|
21903
21944
|
className: "w-full",
|
|
21904
21945
|
children: "Docs"
|
|
21905
21946
|
})
|
|
21906
21947
|
}),
|
|
21907
|
-
/* @__PURE__ */
|
|
21948
|
+
/* @__PURE__ */ jsx133("div", {
|
|
21908
21949
|
className: "w-2 h-2"
|
|
21909
21950
|
}),
|
|
21910
|
-
/* @__PURE__ */
|
|
21951
|
+
/* @__PURE__ */ jsx133("a", {
|
|
21911
21952
|
className: "no-underline w-full lg:w-auto",
|
|
21912
21953
|
href: "https://remotion.dev/discord",
|
|
21913
21954
|
target: "_blank",
|
|
21914
|
-
children: /* @__PURE__ */
|
|
21955
|
+
children: /* @__PURE__ */ jsx133(PlainButton, {
|
|
21915
21956
|
size: "sm",
|
|
21916
21957
|
loading: false,
|
|
21917
21958
|
className: "w-full",
|
|
21918
21959
|
children: "Discord"
|
|
21919
21960
|
})
|
|
21920
21961
|
}),
|
|
21921
|
-
/* @__PURE__ */
|
|
21962
|
+
/* @__PURE__ */ jsx133("div", {
|
|
21922
21963
|
className: "w-2 h-2"
|
|
21923
21964
|
}),
|
|
21924
|
-
/* @__PURE__ */
|
|
21965
|
+
/* @__PURE__ */ jsx133("a", {
|
|
21925
21966
|
className: "no-underline w-full lg:w-auto",
|
|
21926
21967
|
href: "https://github.com/remotion-dev/remotion",
|
|
21927
21968
|
target: "_blank",
|
|
21928
|
-
children: /* @__PURE__ */
|
|
21969
|
+
children: /* @__PURE__ */ jsx133(PlainButton, {
|
|
21929
21970
|
size: "sm",
|
|
21930
21971
|
loading: false,
|
|
21931
21972
|
className: "w-full",
|
|
21932
|
-
children: /* @__PURE__ */
|
|
21973
|
+
children: /* @__PURE__ */ jsx133(GithubButton, {})
|
|
21933
21974
|
})
|
|
21934
21975
|
})
|
|
21935
21976
|
]
|
|
@@ -21937,11 +21978,11 @@ var GetStarted = () => {
|
|
|
21937
21978
|
};
|
|
21938
21979
|
|
|
21939
21980
|
// src/components/homepage/WriteInReact.tsx
|
|
21940
|
-
import { jsx as
|
|
21981
|
+
import { jsx as jsx135, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
21941
21982
|
var WriteInReact = () => {
|
|
21942
21983
|
return /* @__PURE__ */ jsxs58("div", {
|
|
21943
21984
|
children: [
|
|
21944
|
-
/* @__PURE__ */
|
|
21985
|
+
/* @__PURE__ */ jsx135("h1", {
|
|
21945
21986
|
className: "text-5xl lg:text-[5em] text-center fontbrand font-black leading-none ",
|
|
21946
21987
|
style: {
|
|
21947
21988
|
textShadow: "0 5px 30px var(--background)"
|
|
@@ -21955,91 +21996,91 @@ var WriteInReact = () => {
|
|
|
21955
21996
|
className: "font-medium text-center text-lg",
|
|
21956
21997
|
children: [
|
|
21957
21998
|
"Create real MP4 videos with React. ",
|
|
21958
|
-
/* @__PURE__ */
|
|
21999
|
+
/* @__PURE__ */ jsx135("br", {}),
|
|
21959
22000
|
"Parametrize content, render server-side and build applications."
|
|
21960
22001
|
]
|
|
21961
22002
|
}),
|
|
21962
|
-
/* @__PURE__ */
|
|
21963
|
-
/* @__PURE__ */
|
|
21964
|
-
children: /* @__PURE__ */
|
|
22003
|
+
/* @__PURE__ */ jsx135("br", {}),
|
|
22004
|
+
/* @__PURE__ */ jsx135("div", {
|
|
22005
|
+
children: /* @__PURE__ */ jsx135(GetStarted, {})
|
|
21965
22006
|
}),
|
|
21966
|
-
/* @__PURE__ */
|
|
21967
|
-
/* @__PURE__ */
|
|
21968
|
-
/* @__PURE__ */
|
|
22007
|
+
/* @__PURE__ */ jsx135("br", {}),
|
|
22008
|
+
/* @__PURE__ */ jsx135("br", {}),
|
|
22009
|
+
/* @__PURE__ */ jsx135(ChooseTemplate, {})
|
|
21969
22010
|
]
|
|
21970
22011
|
});
|
|
21971
22012
|
};
|
|
21972
22013
|
|
|
21973
22014
|
// src/components/Homepage.tsx
|
|
21974
|
-
import { jsx as
|
|
22015
|
+
import { jsx as jsx136, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
21975
22016
|
"use client";
|
|
21976
22017
|
var NewLanding = ({ colorMode, setColorMode }) => {
|
|
21977
|
-
return /* @__PURE__ */
|
|
22018
|
+
return /* @__PURE__ */ jsx136(ColorModeProvider, {
|
|
21978
22019
|
colorMode,
|
|
21979
22020
|
setColorMode,
|
|
21980
|
-
children: /* @__PURE__ */
|
|
22021
|
+
children: /* @__PURE__ */ jsx136("div", {
|
|
21981
22022
|
className: "bg-[var(--background)] relative",
|
|
21982
22023
|
children: /* @__PURE__ */ jsxs59("div", {
|
|
21983
22024
|
style: { overflow: "hidden" },
|
|
21984
22025
|
children: [
|
|
21985
|
-
/* @__PURE__ */
|
|
21986
|
-
children: /* @__PURE__ */
|
|
22026
|
+
/* @__PURE__ */ jsx136("div", {
|
|
22027
|
+
children: /* @__PURE__ */ jsx136(BackgroundAnimation, {})
|
|
21987
22028
|
}),
|
|
21988
|
-
/* @__PURE__ */
|
|
21989
|
-
/* @__PURE__ */
|
|
21990
|
-
/* @__PURE__ */
|
|
21991
|
-
/* @__PURE__ */
|
|
22029
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22030
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22031
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22032
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
21992
22033
|
/* @__PURE__ */ jsxs59("div", {
|
|
21993
22034
|
className: "max-w-[500px] lg:max-w-[1000px] m-auto pl-5 pr-5 overflow-x-clip md:overflow-x-visible relative",
|
|
21994
22035
|
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__ */
|
|
22036
|
+
/* @__PURE__ */ jsx136(WriteInReact, {}),
|
|
22037
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22038
|
+
/* @__PURE__ */ jsx136(IfYouKnowReact, {}),
|
|
22039
|
+
/* @__PURE__ */ jsx136(ParameterizeAndEdit, {}),
|
|
22040
|
+
/* @__PURE__ */ jsx136(RealMP4Videos, {}),
|
|
22041
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22042
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22043
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22044
|
+
/* @__PURE__ */ jsx136(VideoAppsShowcase_default, {}),
|
|
22045
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22046
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22047
|
+
/* @__PURE__ */ jsx136(Demo, {}),
|
|
22048
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22049
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22050
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22051
|
+
/* @__PURE__ */ jsx136(SectionTitle, {
|
|
22011
22052
|
children: "Pricing"
|
|
22012
22053
|
}),
|
|
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__ */
|
|
22054
|
+
/* @__PURE__ */ jsx136(Pricing, {}),
|
|
22055
|
+
/* @__PURE__ */ jsx136(TrustedByBanner_default, {}),
|
|
22056
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22057
|
+
/* @__PURE__ */ jsx136(EvaluateRemotion_default, {}),
|
|
22058
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22059
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22060
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22061
|
+
/* @__PURE__ */ jsx136(CommunityStats_default, {}),
|
|
22062
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22063
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22064
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22065
|
+
/* @__PURE__ */ jsx136(EditorStarterSection_default, {}),
|
|
22066
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22067
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22068
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22069
|
+
/* @__PURE__ */ jsx136(SectionTitle, {
|
|
22029
22070
|
children: "Even more power to developers"
|
|
22030
22071
|
}),
|
|
22031
|
-
/* @__PURE__ */
|
|
22072
|
+
/* @__PURE__ */ jsx136("div", {
|
|
22032
22073
|
className: "fontbrand text-center mb-10 -mt-4",
|
|
22033
22074
|
children: "Innovative video products that you might enjoy."
|
|
22034
22075
|
}),
|
|
22035
|
-
/* @__PURE__ */
|
|
22036
|
-
/* @__PURE__ */
|
|
22037
|
-
/* @__PURE__ */
|
|
22038
|
-
/* @__PURE__ */
|
|
22039
|
-
/* @__PURE__ */
|
|
22040
|
-
/* @__PURE__ */
|
|
22041
|
-
/* @__PURE__ */
|
|
22042
|
-
/* @__PURE__ */
|
|
22076
|
+
/* @__PURE__ */ jsx136(MoreVideoPowerSection, {}),
|
|
22077
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22078
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22079
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22080
|
+
/* @__PURE__ */ jsx136(NewsletterButton, {}),
|
|
22081
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22082
|
+
/* @__PURE__ */ jsx136("br", {}),
|
|
22083
|
+
/* @__PURE__ */ jsx136("br", {})
|
|
22043
22084
|
]
|
|
22044
22085
|
})
|
|
22045
22086
|
]
|