@remotion/promo-pages 4.0.393 → 4.0.395

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/templates.js CHANGED
@@ -755,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
755
755
  });
756
756
  }, useIsPlayer = () => {
757
757
  return useContext(IsPlayerContext);
758
- }, VERSION = "4.0.393", checkMultipleRemotionVersions = () => {
758
+ }, VERSION = "4.0.395", checkMultipleRemotionVersions = () => {
759
759
  if (typeof globalThis === "undefined") {
760
760
  return;
761
761
  }
@@ -2929,11 +2929,15 @@ Check that all your Remotion packages are on the same version. If your dependenc
2929
2929
  });
2930
2930
  }, getCrossOriginValue = ({
2931
2931
  crossOrigin,
2932
- requestsVideoFrame
2932
+ requestsVideoFrame,
2933
+ isClientSideRendering
2933
2934
  }) => {
2934
2935
  if (crossOrigin !== undefined && crossOrigin !== null) {
2935
2936
  return crossOrigin;
2936
2937
  }
2938
+ if (isClientSideRendering) {
2939
+ return "anonymous";
2940
+ }
2937
2941
  if (requestsVideoFrame) {
2938
2942
  return "anonymous";
2939
2943
  }
@@ -3638,8 +3642,17 @@ Check that all your Remotion packages are on the same version. If your dependenc
3638
3642
  const [blocks, setBlocks] = useState13([]);
3639
3643
  const [onBufferingCallbacks, setOnBufferingCallbacks] = useState13([]);
3640
3644
  const [onResumeCallbacks, setOnResumeCallbacks] = useState13([]);
3645
+ const env = useRemotionEnvironment();
3646
+ const rendering = env.isRendering;
3641
3647
  const buffering = useRef9(false);
3642
3648
  const addBlock = useCallback8((block) => {
3649
+ if (rendering) {
3650
+ return {
3651
+ unblock: () => {
3652
+ return;
3653
+ }
3654
+ };
3655
+ }
3643
3656
  setBlocks((b) => [...b, block]);
3644
3657
  return {
3645
3658
  unblock: () => {
@@ -3652,7 +3665,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
3652
3665
  });
3653
3666
  }
3654
3667
  };
3655
- }, []);
3668
+ }, [rendering]);
3656
3669
  const listenForBuffering = useCallback8((callback) => {
3657
3670
  setOnBufferingCallbacks((c) => [...c, callback]);
3658
3671
  return {
@@ -3670,6 +3683,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
3670
3683
  };
3671
3684
  }, []);
3672
3685
  useEffect7(() => {
3686
+ if (rendering) {
3687
+ return;
3688
+ }
3673
3689
  if (blocks.length > 0) {
3674
3690
  onBufferingCallbacks.forEach((c) => c());
3675
3691
  playbackLogging({
@@ -3682,6 +3698,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
3682
3698
  }, [blocks]);
3683
3699
  if (typeof window !== "undefined") {
3684
3700
  useLayoutEffect6(() => {
3701
+ if (rendering) {
3702
+ return;
3703
+ }
3685
3704
  if (blocks.length === 0) {
3686
3705
  onResumeCallbacks.forEach((c) => c());
3687
3706
  playbackLogging({
@@ -4465,7 +4484,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
4465
4484
  warnAboutTooHighVolume(userPreferredVolume);
4466
4485
  const crossOriginValue = getCrossOriginValue({
4467
4486
  crossOrigin,
4468
- requestsVideoFrame: false
4487
+ requestsVideoFrame: false,
4488
+ isClientSideRendering: false
4469
4489
  });
4470
4490
  const propsToPass = useMemo21(() => {
4471
4491
  return {
@@ -5202,9 +5222,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
5202
5222
  delayRender2
5203
5223
  ]);
5204
5224
  }
5225
+ const { isClientSideRendering } = useRemotionEnvironment();
5205
5226
  const crossOriginValue = getCrossOriginValue({
5206
5227
  crossOrigin,
5207
- requestsVideoFrame: false
5228
+ requestsVideoFrame: false,
5229
+ isClientSideRendering
5208
5230
  });
5209
5231
  return /* @__PURE__ */ jsx25("img", {
5210
5232
  ...props2,
@@ -5929,7 +5951,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
5929
5951
  }, [isSequenceHidden, style]);
5930
5952
  const crossOriginValue = getCrossOriginValue({
5931
5953
  crossOrigin,
5932
- requestsVideoFrame: Boolean(onVideoFrame)
5954
+ requestsVideoFrame: Boolean(onVideoFrame),
5955
+ isClientSideRendering: false
5933
5956
  });
5934
5957
  return /* @__PURE__ */ jsx30("video", {
5935
5958
  ref: videoRef,
@@ -18327,6 +18350,27 @@ var FEATURED_TEMPLATES = [
18327
18350
  allowEnableTailwind: false,
18328
18351
  contributedBy: null
18329
18352
  },
18353
+ {
18354
+ homePageLabel: "Prompt to Motion Graphics",
18355
+ shortName: "Prompt to Motion Graphics (Next.js)",
18356
+ org: "remotion-dev",
18357
+ repoName: "template-prompt-to-motion-graphics",
18358
+ description: "AI-powered code generation for Remotion",
18359
+ longerDescription: 'A SaaS template for "Prompt to Motion Graphics" products. Generates Remotion code, streams it to the frontend, and compiles and previews it in the browser.',
18360
+ promoBanner: {
18361
+ width: 1002,
18362
+ height: 720,
18363
+ src: "/img/prompt-to-motion-graphics.png"
18364
+ },
18365
+ cliId: "prompt-to-motion-graphics",
18366
+ type: "image",
18367
+ defaultBranch: "main",
18368
+ featuredOnHomePage: null,
18369
+ previewURL: null,
18370
+ templateInMonorepo: "template-prompt-to-motion-graphics",
18371
+ allowEnableTailwind: false,
18372
+ contributedBy: "ASchwad"
18373
+ },
18330
18374
  {
18331
18375
  homePageLabel: "JavaScript",
18332
18376
  shortName: "Hello World (JavaScript)",
@@ -18685,30 +18729,74 @@ var Blank = (props) => {
18685
18729
  });
18686
18730
  };
18687
18731
 
18688
- // src/components/icons/code-hike.tsx
18732
+ // src/components/icons/brain.tsx
18689
18733
  import { jsx as jsx40, jsxs as jsxs6 } from "react/jsx-runtime";
18690
- var CodeHike = (props) => {
18734
+ var BrainIcon = (props) => {
18691
18735
  return /* @__PURE__ */ jsxs6("svg", {
18736
+ xmlns: "http://www.w3.org/2000/svg",
18737
+ viewBox: "0 0 24 24",
18738
+ fill: "none",
18739
+ stroke: "currentColor",
18740
+ strokeWidth: "2",
18741
+ strokeLinecap: "round",
18742
+ strokeLinejoin: "round",
18743
+ ...props,
18744
+ children: [
18745
+ /* @__PURE__ */ jsx40("path", {
18746
+ d: "M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z"
18747
+ }),
18748
+ /* @__PURE__ */ jsx40("path", {
18749
+ d: "M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z"
18750
+ }),
18751
+ /* @__PURE__ */ jsx40("path", {
18752
+ d: "M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4"
18753
+ }),
18754
+ /* @__PURE__ */ jsx40("path", {
18755
+ d: "M17.599 6.5a3 3 0 0 0 .399-1.375"
18756
+ }),
18757
+ /* @__PURE__ */ jsx40("path", {
18758
+ d: "M6.003 5.125A3 3 0 0 0 6.401 6.5"
18759
+ }),
18760
+ /* @__PURE__ */ jsx40("path", {
18761
+ d: "M3.477 10.896a4 4 0 0 1 .585-.396"
18762
+ }),
18763
+ /* @__PURE__ */ jsx40("path", {
18764
+ d: "M19.938 10.5a4 4 0 0 1 .585.396"
18765
+ }),
18766
+ /* @__PURE__ */ jsx40("path", {
18767
+ d: "M6 18a4 4 0 0 1-1.967-.516"
18768
+ }),
18769
+ /* @__PURE__ */ jsx40("path", {
18770
+ d: "M19.967 17.484A4 4 0 0 1 18 18"
18771
+ })
18772
+ ]
18773
+ });
18774
+ };
18775
+
18776
+ // src/components/icons/code-hike.tsx
18777
+ import { jsx as jsx41, jsxs as jsxs8 } from "react/jsx-runtime";
18778
+ var CodeHike = (props) => {
18779
+ return /* @__PURE__ */ jsxs8("svg", {
18692
18780
  ...props,
18693
18781
  viewBox: "-100 -100 200 200",
18694
18782
  fill: "currentColor",
18695
18783
  children: [
18696
- /* @__PURE__ */ jsx40("path", {
18784
+ /* @__PURE__ */ jsx41("path", {
18697
18785
  d: "M 70 60 L 42 -27 L 72 -27 L 100 60 Z"
18698
18786
  }),
18699
- /* @__PURE__ */ jsx40("path", {
18787
+ /* @__PURE__ */ jsx41("path", {
18700
18788
  d: "M 20.419540229885058 40.05357142857142 L 42 -27 L 72 -27 L 50.41954022988506 40.05357142857142 Z"
18701
18789
  }),
18702
- /* @__PURE__ */ jsx40("path", {
18790
+ /* @__PURE__ */ jsx41("path", {
18703
18791
  d: "M 20.419540229885058 40.05357142857142 L -15 -70 L 15 -70 L 50.41954022988506 40.05357142857142 Z"
18704
18792
  }),
18705
- /* @__PURE__ */ jsx40("path", {
18793
+ /* @__PURE__ */ jsx41("path", {
18706
18794
  d: "M -50.41954022988506 40.05357142857142 L -15 -70 L 15 -70 L -20.419540229885058 40.05357142857142 Z"
18707
18795
  }),
18708
- /* @__PURE__ */ jsx40("path", {
18796
+ /* @__PURE__ */ jsx41("path", {
18709
18797
  d: "M -50.41954022988506 40.05357142857142 L -72 -27 L -42 -27 L -20.419540229885058 40.05357142857142 Z"
18710
18798
  }),
18711
- /* @__PURE__ */ jsx40("path", {
18799
+ /* @__PURE__ */ jsx41("path", {
18712
18800
  d: "M -100 60 L -72 -27 L -42 -27 L -70 60 Z"
18713
18801
  })
18714
18802
  ]
@@ -18716,13 +18804,13 @@ var CodeHike = (props) => {
18716
18804
  };
18717
18805
 
18718
18806
  // src/components/icons/cubes.tsx
18719
- import { jsx as jsx41 } from "react/jsx-runtime";
18807
+ import { jsx as jsx44 } from "react/jsx-runtime";
18720
18808
  var Cubes = (props) => {
18721
- return /* @__PURE__ */ jsx41("svg", {
18809
+ return /* @__PURE__ */ jsx44("svg", {
18722
18810
  xmlns: "http://www.w3.org/2000/svg",
18723
18811
  viewBox: "0 0 512 512",
18724
18812
  ...props,
18725
- children: /* @__PURE__ */ jsx41("path", {
18813
+ children: /* @__PURE__ */ jsx44("path", {
18726
18814
  fill: "currentColor",
18727
18815
  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"
18728
18816
  })
@@ -18730,13 +18818,13 @@ var Cubes = (props) => {
18730
18818
  };
18731
18819
 
18732
18820
  // src/components/icons/js.tsx
18733
- import { jsx as jsx44 } from "react/jsx-runtime";
18821
+ import { jsx as jsx46 } from "react/jsx-runtime";
18734
18822
  var JSIcon = (props) => {
18735
- return /* @__PURE__ */ jsx44("svg", {
18823
+ return /* @__PURE__ */ jsx46("svg", {
18736
18824
  className: "svg-inline--fa fa-js-square fa-w-14",
18737
18825
  viewBox: "0 0 448 512",
18738
18826
  ...props,
18739
- children: /* @__PURE__ */ jsx44("path", {
18827
+ children: /* @__PURE__ */ jsx46("path", {
18740
18828
  fill: "currentColor",
18741
18829
  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"
18742
18830
  })
@@ -18744,13 +18832,13 @@ var JSIcon = (props) => {
18744
18832
  };
18745
18833
 
18746
18834
  // src/components/icons/music.tsx
18747
- import { jsx as jsx46 } from "react/jsx-runtime";
18835
+ import { jsx as jsx47 } from "react/jsx-runtime";
18748
18836
  var MusicIcon = (props) => {
18749
- return /* @__PURE__ */ jsx46("svg", {
18837
+ return /* @__PURE__ */ jsx47("svg", {
18750
18838
  ...props,
18751
18839
  xmlns: "http://www.w3.org/2000/svg",
18752
18840
  viewBox: "0 0 512 512",
18753
- children: /* @__PURE__ */ jsx46("path", {
18841
+ children: /* @__PURE__ */ jsx47("path", {
18754
18842
  fill: "currentColor",
18755
18843
  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"
18756
18844
  })
@@ -18758,15 +18846,15 @@ var MusicIcon = (props) => {
18758
18846
  };
18759
18847
 
18760
18848
  // src/components/icons/next.tsx
18761
- import { jsx as jsx47, jsxs as jsxs8 } from "react/jsx-runtime";
18849
+ import { jsx as jsx48, jsxs as jsxs9 } from "react/jsx-runtime";
18762
18850
  var NextIcon = ({ style }) => {
18763
- return /* @__PURE__ */ jsxs8("svg", {
18851
+ return /* @__PURE__ */ jsxs9("svg", {
18764
18852
  fill: "none",
18765
18853
  viewBox: "0 0 180 180",
18766
18854
  style,
18767
18855
  xmlns: "http://www.w3.org/2000/svg",
18768
18856
  children: [
18769
- /* @__PURE__ */ jsx47("mask", {
18857
+ /* @__PURE__ */ jsx48("mask", {
18770
18858
  height: "180",
18771
18859
  id: "mask0_292_250",
18772
18860
  maskUnits: "userSpaceOnUse",
@@ -18774,27 +18862,27 @@ var NextIcon = ({ style }) => {
18774
18862
  width: "180",
18775
18863
  x: "0",
18776
18864
  y: "0",
18777
- children: /* @__PURE__ */ jsx47("circle", {
18865
+ children: /* @__PURE__ */ jsx48("circle", {
18778
18866
  cx: "90",
18779
18867
  cy: "90",
18780
18868
  fill: "currentcolor",
18781
18869
  r: "90"
18782
18870
  })
18783
18871
  }),
18784
- /* @__PURE__ */ jsxs8("g", {
18872
+ /* @__PURE__ */ jsxs9("g", {
18785
18873
  mask: "url(#mask0_292_250)",
18786
18874
  children: [
18787
- /* @__PURE__ */ jsx47("circle", {
18875
+ /* @__PURE__ */ jsx48("circle", {
18788
18876
  cx: "90",
18789
18877
  cy: "90",
18790
18878
  fill: "currentcolor",
18791
18879
  r: "90"
18792
18880
  }),
18793
- /* @__PURE__ */ jsx47("path", {
18881
+ /* @__PURE__ */ jsx48("path", {
18794
18882
  d: "M149.508 157.52L69.142 54H54V125.97H66.1136V69.3836L139.999 164.845C143.333 162.614 146.509 160.165 149.508 157.52Z",
18795
18883
  fill: "url(#paint0_linear_292_250)"
18796
18884
  }),
18797
- /* @__PURE__ */ jsx47("rect", {
18885
+ /* @__PURE__ */ jsx48("rect", {
18798
18886
  fill: "url(#paint1_linear_292_250)",
18799
18887
  height: "72",
18800
18888
  width: "12",
@@ -18803,9 +18891,9 @@ var NextIcon = ({ style }) => {
18803
18891
  })
18804
18892
  ]
18805
18893
  }),
18806
- /* @__PURE__ */ jsxs8("defs", {
18894
+ /* @__PURE__ */ jsxs9("defs", {
18807
18895
  children: [
18808
- /* @__PURE__ */ jsxs8("linearGradient", {
18896
+ /* @__PURE__ */ jsxs9("linearGradient", {
18809
18897
  gradientUnits: "userSpaceOnUse",
18810
18898
  id: "paint0_linear_292_250",
18811
18899
  x1: "109",
@@ -18813,17 +18901,17 @@ var NextIcon = ({ style }) => {
18813
18901
  y1: "116.5",
18814
18902
  y2: "160.5",
18815
18903
  children: [
18816
- /* @__PURE__ */ jsx47("stop", {
18904
+ /* @__PURE__ */ jsx48("stop", {
18817
18905
  stopColor: "var(--background)"
18818
18906
  }),
18819
- /* @__PURE__ */ jsx47("stop", {
18907
+ /* @__PURE__ */ jsx48("stop", {
18820
18908
  offset: "1",
18821
18909
  stopColor: "var(--background)",
18822
18910
  stopOpacity: "0"
18823
18911
  })
18824
18912
  ]
18825
18913
  }),
18826
- /* @__PURE__ */ jsxs8("linearGradient", {
18914
+ /* @__PURE__ */ jsxs9("linearGradient", {
18827
18915
  gradientUnits: "userSpaceOnUse",
18828
18916
  id: "paint1_linear_292_250",
18829
18917
  x1: "121",
@@ -18831,10 +18919,10 @@ var NextIcon = ({ style }) => {
18831
18919
  y1: "54",
18832
18920
  y2: "106.875",
18833
18921
  children: [
18834
- /* @__PURE__ */ jsx47("stop", {
18922
+ /* @__PURE__ */ jsx48("stop", {
18835
18923
  stopColor: "var(--background)"
18836
18924
  }),
18837
- /* @__PURE__ */ jsx47("stop", {
18925
+ /* @__PURE__ */ jsx48("stop", {
18838
18926
  offset: "1",
18839
18927
  stopColor: "var(--background)",
18840
18928
  stopOpacity: "0"
@@ -18848,19 +18936,19 @@ var NextIcon = ({ style }) => {
18848
18936
  };
18849
18937
 
18850
18938
  // src/components/icons/overlay.tsx
18851
- import { jsx as jsx48, jsxs as jsxs9 } from "react/jsx-runtime";
18939
+ import { jsx as jsx49, jsxs as jsxs10 } from "react/jsx-runtime";
18852
18940
  var OverlayIcon = (props) => {
18853
- return /* @__PURE__ */ jsxs9("svg", {
18941
+ return /* @__PURE__ */ jsxs10("svg", {
18854
18942
  viewBox: "0 0 576 512",
18855
18943
  fill: "none",
18856
18944
  xmlns: "http://www.w3.org/2000/svg",
18857
18945
  ...props,
18858
18946
  children: [
18859
- /* @__PURE__ */ jsx48("path", {
18947
+ /* @__PURE__ */ jsx49("path", {
18860
18948
  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",
18861
18949
  fill: "currentcolor"
18862
18950
  }),
18863
- /* @__PURE__ */ jsx48("path", {
18951
+ /* @__PURE__ */ jsx49("path", {
18864
18952
  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",
18865
18953
  stroke: "currentcolor",
18866
18954
  transform: "translate(32, -25)",
@@ -18871,13 +18959,13 @@ var OverlayIcon = (props) => {
18871
18959
  };
18872
18960
 
18873
18961
  // src/components/icons/prompt-to-video.tsx
18874
- import { jsx as jsx49 } from "react/jsx-runtime";
18962
+ import { jsx as jsx50 } from "react/jsx-runtime";
18875
18963
  var PromptToVideoIcon = (props) => {
18876
- return /* @__PURE__ */ jsx49("svg", {
18964
+ return /* @__PURE__ */ jsx50("svg", {
18877
18965
  xmlns: "http://www.w3.org/2000/svg",
18878
18966
  viewBox: "0 0 512 512",
18879
18967
  ...props,
18880
- children: /* @__PURE__ */ jsx49("path", {
18968
+ children: /* @__PURE__ */ jsx50("path", {
18881
18969
  d: "M278.5 15.6C275 6.2 266 0 256 0s-19 6.2-22.5 15.6L174.2 174.2 15.6 233.5C6.2 237 0 246 0 256s6.2 19 15.6 22.5l158.6 59.4 59.4 158.6C237 505.8 246 512 256 512s19-6.2 22.5-15.6l59.4-158.6 158.6-59.4C505.8 275 512 266 512 256s-6.2-19-15.6-22.5L337.8 174.2 278.5 15.6z",
18882
18970
  fill: "currentColor"
18883
18971
  })
@@ -18885,23 +18973,23 @@ var PromptToVideoIcon = (props) => {
18885
18973
  };
18886
18974
 
18887
18975
  // src/components/icons/recorder.tsx
18888
- import { jsx as jsx50, jsxs as jsxs10 } from "react/jsx-runtime";
18976
+ import { jsx as jsx51, jsxs as jsxs11 } from "react/jsx-runtime";
18889
18977
  var Recorder = (props) => {
18890
- return /* @__PURE__ */ jsxs10("svg", {
18978
+ return /* @__PURE__ */ jsxs11("svg", {
18891
18979
  viewBox: "0 0 700 700",
18892
18980
  ...props,
18893
18981
  children: [
18894
- /* @__PURE__ */ jsx50("path", {
18982
+ /* @__PURE__ */ jsx51("path", {
18895
18983
  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",
18896
18984
  fill: "#F43B00",
18897
18985
  fillOpacity: "0.15"
18898
18986
  }),
18899
- /* @__PURE__ */ jsx50("path", {
18987
+ /* @__PURE__ */ jsx51("path", {
18900
18988
  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",
18901
18989
  fill: "#F43B00",
18902
18990
  fillOpacity: "0.3"
18903
18991
  }),
18904
- /* @__PURE__ */ jsx50("path", {
18992
+ /* @__PURE__ */ jsx51("path", {
18905
18993
  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",
18906
18994
  fill: "#F43B00"
18907
18995
  })
@@ -18910,9 +18998,9 @@ var Recorder = (props) => {
18910
18998
  };
18911
18999
 
18912
19000
  // src/components/icons/remix.tsx
18913
- import { jsx as jsx51, jsxs as jsxs11 } from "react/jsx-runtime";
19001
+ import { jsx as jsx54, jsxs as jsxs12 } from "react/jsx-runtime";
18914
19002
  var ReactRouterIcon = (props) => {
18915
- return /* @__PURE__ */ jsx51("svg", {
19003
+ return /* @__PURE__ */ jsx54("svg", {
18916
19004
  xmlns: "http://www.w3.org/2000/svg",
18917
19005
  width: "800px",
18918
19006
  height: "800px",
@@ -18920,13 +19008,13 @@ var ReactRouterIcon = (props) => {
18920
19008
  version: "1.1",
18921
19009
  preserveAspectRatio: "xMidYMid",
18922
19010
  ...props,
18923
- children: /* @__PURE__ */ jsxs11("g", {
19011
+ children: /* @__PURE__ */ jsxs12("g", {
18924
19012
  children: [
18925
- /* @__PURE__ */ jsx51("path", {
19013
+ /* @__PURE__ */ jsx54("path", {
18926
19014
  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",
18927
19015
  fill: "currentcolor"
18928
19016
  }),
18929
- /* @__PURE__ */ jsx51("path", {
19017
+ /* @__PURE__ */ jsx54("path", {
18930
19018
  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",
18931
19019
  fill: "currentcolor"
18932
19020
  })
@@ -18936,9 +19024,9 @@ var ReactRouterIcon = (props) => {
18936
19024
  };
18937
19025
 
18938
19026
  // src/components/icons/render-server.tsx
18939
- import { jsx as jsx54, jsxs as jsxs12 } from "react/jsx-runtime";
19027
+ import { jsx as jsx56, jsxs as jsxs13 } from "react/jsx-runtime";
18940
19028
  var RenderServerIcon = (props) => {
18941
- return /* @__PURE__ */ jsxs12("svg", {
19029
+ return /* @__PURE__ */ jsxs13("svg", {
18942
19030
  ...props,
18943
19031
  xmlns: "http://www.w3.org/2000/svg",
18944
19032
  viewBox: "0 0 24 24",
@@ -18948,14 +19036,14 @@ var RenderServerIcon = (props) => {
18948
19036
  strokeLinecap: "round",
18949
19037
  strokeLinejoin: "round",
18950
19038
  children: [
18951
- /* @__PURE__ */ jsx54("rect", {
19039
+ /* @__PURE__ */ jsx56("rect", {
18952
19040
  width: "18",
18953
19041
  height: "18",
18954
19042
  x: "3",
18955
19043
  y: "3",
18956
19044
  rx: "2"
18957
19045
  }),
18958
- /* @__PURE__ */ jsx54("path", {
19046
+ /* @__PURE__ */ jsx56("path", {
18959
19047
  d: "m10 8 4 4-4 4"
18960
19048
  })
18961
19049
  ]
@@ -18963,13 +19051,13 @@ var RenderServerIcon = (props) => {
18963
19051
  };
18964
19052
 
18965
19053
  // src/components/icons/skia.tsx
18966
- import { jsx as jsx56 } from "react/jsx-runtime";
19054
+ import { jsx as jsx57 } from "react/jsx-runtime";
18967
19055
  var SkiaIcon = (props) => {
18968
- return /* @__PURE__ */ jsx56("svg", {
19056
+ return /* @__PURE__ */ jsx57("svg", {
18969
19057
  ...props,
18970
19058
  xmlns: "http://www.w3.org/2000/svg",
18971
19059
  viewBox: "0 0 576 512",
18972
- children: /* @__PURE__ */ jsx56("path", {
19060
+ children: /* @__PURE__ */ jsx57("path", {
18973
19061
  fill: "currentColor",
18974
19062
  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"
18975
19063
  })
@@ -18977,13 +19065,13 @@ var SkiaIcon = (props) => {
18977
19065
  };
18978
19066
 
18979
19067
  // src/components/icons/stargazer.tsx
18980
- import { jsx as jsx57 } from "react/jsx-runtime";
19068
+ import { jsx as jsx58 } from "react/jsx-runtime";
18981
19069
  var Stargazer = (props) => {
18982
- return /* @__PURE__ */ jsx57("svg", {
19070
+ return /* @__PURE__ */ jsx58("svg", {
18983
19071
  height: "1em",
18984
19072
  viewBox: "0 0 512 512",
18985
19073
  ...props,
18986
- children: /* @__PURE__ */ jsx57("path", {
19074
+ children: /* @__PURE__ */ jsx58("path", {
18987
19075
  fill: "currentcolor",
18988
19076
  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"
18989
19077
  })
@@ -18991,13 +19079,13 @@ var Stargazer = (props) => {
18991
19079
  };
18992
19080
 
18993
19081
  // src/components/icons/still.tsx
18994
- import { jsx as jsx58 } from "react/jsx-runtime";
19082
+ import { jsx as jsx59 } from "react/jsx-runtime";
18995
19083
  var StillIcon = (props) => {
18996
- return /* @__PURE__ */ jsx58("svg", {
19084
+ return /* @__PURE__ */ jsx59("svg", {
18997
19085
  xmlns: "http://www.w3.org/2000/svg",
18998
19086
  viewBox: "0 0 512 512",
18999
19087
  ...props,
19000
- children: /* @__PURE__ */ jsx58("path", {
19088
+ children: /* @__PURE__ */ jsx59("path", {
19001
19089
  fill: "currentColor",
19002
19090
  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"
19003
19091
  })
@@ -19005,12 +19093,12 @@ var StillIcon = (props) => {
19005
19093
  };
19006
19094
 
19007
19095
  // src/components/icons/tiktok.tsx
19008
- import { jsx as jsx59 } from "react/jsx-runtime";
19096
+ import { jsx as jsx60 } from "react/jsx-runtime";
19009
19097
  var TikTok = (props) => {
19010
- return /* @__PURE__ */ jsx59("svg", {
19098
+ return /* @__PURE__ */ jsx60("svg", {
19011
19099
  ...props,
19012
19100
  viewBox: "0 0 448 512",
19013
- children: /* @__PURE__ */ jsx59("path", {
19101
+ children: /* @__PURE__ */ jsx60("path", {
19014
19102
  fill: "currentcolor",
19015
19103
  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"
19016
19104
  })
@@ -19018,14 +19106,14 @@ var TikTok = (props) => {
19018
19106
  };
19019
19107
 
19020
19108
  // src/components/icons/ts.tsx
19021
- import { jsx as jsx60 } from "react/jsx-runtime";
19109
+ import { jsx as jsx61 } from "react/jsx-runtime";
19022
19110
  var TypeScriptIcon = (props) => {
19023
- return /* @__PURE__ */ jsx60("svg", {
19111
+ return /* @__PURE__ */ jsx61("svg", {
19024
19112
  fill: "#000000",
19025
19113
  xmlns: "http://www.w3.org/2000/svg",
19026
19114
  viewBox: "0 0 24 24",
19027
19115
  ...props,
19028
- children: /* @__PURE__ */ jsx60("path", {
19116
+ children: /* @__PURE__ */ jsx61("path", {
19029
19117
  fill: "currentColor",
19030
19118
  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"
19031
19119
  })
@@ -19033,13 +19121,13 @@ var TypeScriptIcon = (props) => {
19033
19121
  };
19034
19122
 
19035
19123
  // src/components/icons/tts.tsx
19036
- import { jsx as jsx61 } from "react/jsx-runtime";
19124
+ import { jsx as jsx64 } from "react/jsx-runtime";
19037
19125
  var TTSIcon = (props) => {
19038
- return /* @__PURE__ */ jsx61("svg", {
19126
+ return /* @__PURE__ */ jsx64("svg", {
19039
19127
  xmlns: "http://www.w3.org/2000/svg",
19040
19128
  viewBox: "0 0 512 512",
19041
19129
  ...props,
19042
- children: /* @__PURE__ */ jsx61("path", {
19130
+ children: /* @__PURE__ */ jsx64("path", {
19043
19131
  fill: "currentColor",
19044
19132
  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"
19045
19133
  })
@@ -19047,13 +19135,13 @@ var TTSIcon = (props) => {
19047
19135
  };
19048
19136
 
19049
19137
  // src/components/icons/waveform.tsx
19050
- import { jsx as jsx64 } from "react/jsx-runtime";
19138
+ import { jsx as jsx66 } from "react/jsx-runtime";
19051
19139
  var Waveform = (props) => {
19052
- return /* @__PURE__ */ jsx64("svg", {
19140
+ return /* @__PURE__ */ jsx66("svg", {
19053
19141
  xmlns: "http://www.w3.org/2000/svg",
19054
19142
  viewBox: "0 0 640 512",
19055
19143
  ...props,
19056
- children: /* @__PURE__ */ jsx64("path", {
19144
+ children: /* @__PURE__ */ jsx66("path", {
19057
19145
  fill: "currentColor",
19058
19146
  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"
19059
19147
  })
@@ -19061,17 +19149,17 @@ var Waveform = (props) => {
19061
19149
  };
19062
19150
 
19063
19151
  // src/components/homepage/IconForTemplate.tsx
19064
- import { jsx as jsx66 } from "react/jsx-runtime";
19152
+ import { jsx as jsx67 } from "react/jsx-runtime";
19065
19153
  var IconForTemplate = ({ template, scale = 1 }) => {
19066
19154
  if (template.cliId === "hello-world") {
19067
- return /* @__PURE__ */ jsx66(TypeScriptIcon, {
19155
+ return /* @__PURE__ */ jsx67(TypeScriptIcon, {
19068
19156
  style: {
19069
19157
  height: scale * 48
19070
19158
  }
19071
19159
  });
19072
19160
  }
19073
19161
  if (template.cliId === "blank") {
19074
- return /* @__PURE__ */ jsx66(Blank, {
19162
+ return /* @__PURE__ */ jsx67(Blank, {
19075
19163
  style: {
19076
19164
  height: scale * 36,
19077
19165
  overflow: "visible"
@@ -19079,105 +19167,110 @@ var IconForTemplate = ({ template, scale = 1 }) => {
19079
19167
  });
19080
19168
  }
19081
19169
  if (template.cliId === "javascript") {
19082
- return /* @__PURE__ */ jsx66(JSIcon, {
19170
+ return /* @__PURE__ */ jsx67(JSIcon, {
19083
19171
  style: {
19084
19172
  height: scale * 40
19085
19173
  }
19086
19174
  });
19087
19175
  }
19088
19176
  if (template.cliId === "three") {
19089
- return /* @__PURE__ */ jsx66(Cubes, {
19177
+ return /* @__PURE__ */ jsx67(Cubes, {
19090
19178
  style: {
19091
19179
  height: scale * 36
19092
19180
  }
19093
19181
  });
19094
19182
  }
19095
19183
  if (template.cliId === "still") {
19096
- return /* @__PURE__ */ jsx66(StillIcon, {
19184
+ return /* @__PURE__ */ jsx67(StillIcon, {
19097
19185
  style: {
19098
19186
  height: scale * 36
19099
19187
  }
19100
19188
  });
19101
19189
  }
19102
19190
  if (template.cliId === "audiogram") {
19103
- return /* @__PURE__ */ jsx66(Waveform, {
19191
+ return /* @__PURE__ */ jsx67(Waveform, {
19104
19192
  style: {
19105
19193
  height: scale * 36
19106
19194
  }
19107
19195
  });
19108
19196
  }
19109
19197
  if (template.cliId === "tts") {
19110
- return /* @__PURE__ */ jsx66(TTSIcon, {
19198
+ return /* @__PURE__ */ jsx67(TTSIcon, {
19111
19199
  style: {
19112
19200
  height: scale * 36
19113
19201
  }
19114
19202
  });
19115
19203
  }
19116
19204
  if (template.cliId === "google-tts") {
19117
- return /* @__PURE__ */ jsx66(TTSIcon, {
19205
+ return /* @__PURE__ */ jsx67(TTSIcon, {
19118
19206
  style: {
19119
19207
  height: scale * 36
19120
19208
  }
19121
19209
  });
19122
19210
  }
19123
19211
  if (template.cliId === "skia") {
19124
- return /* @__PURE__ */ jsx66(SkiaIcon, {
19212
+ return /* @__PURE__ */ jsx67(SkiaIcon, {
19125
19213
  style: {
19126
19214
  height: scale * 32
19127
19215
  }
19128
19216
  });
19129
19217
  }
19130
19218
  if (template.cliId === "music-visualization") {
19131
- return /* @__PURE__ */ jsx66(MusicIcon, {
19219
+ return /* @__PURE__ */ jsx67(MusicIcon, {
19132
19220
  style: {
19133
19221
  height: scale * 32
19134
19222
  }
19135
19223
  });
19136
19224
  }
19137
19225
  if (template.cliId === "react-router") {
19138
- return /* @__PURE__ */ jsx66(ReactRouterIcon, {
19226
+ return /* @__PURE__ */ jsx67(ReactRouterIcon, {
19139
19227
  style: {
19140
19228
  height: scale * 32
19141
19229
  }
19142
19230
  });
19143
19231
  }
19144
19232
  if (template.cliId === "overlay") {
19145
- return /* @__PURE__ */ jsx66(OverlayIcon, {
19233
+ return /* @__PURE__ */ jsx67(OverlayIcon, {
19146
19234
  style: { height: scale * 42 }
19147
19235
  });
19148
19236
  }
19149
19237
  if (template.cliId === "render-server") {
19150
- return /* @__PURE__ */ jsx66(RenderServerIcon, {
19238
+ return /* @__PURE__ */ jsx67(RenderServerIcon, {
19151
19239
  style: { height: scale * 36 }
19152
19240
  });
19153
19241
  }
19154
19242
  if (template.cliId === "recorder") {
19155
- return /* @__PURE__ */ jsx66(Recorder, {
19243
+ return /* @__PURE__ */ jsx67(Recorder, {
19156
19244
  style: { height: scale * 36 }
19157
19245
  });
19158
19246
  }
19159
19247
  if (template.cliId === "next" || template.cliId === "next-tailwind" || template.cliId === "next-pages-dir") {
19160
- return /* @__PURE__ */ jsx66(NextIcon, {
19248
+ return /* @__PURE__ */ jsx67(NextIcon, {
19161
19249
  style: { height: scale * 36 }
19162
19250
  });
19163
19251
  }
19164
19252
  if (template.cliId === "stargazer") {
19165
- return /* @__PURE__ */ jsx66(Stargazer, {
19253
+ return /* @__PURE__ */ jsx67(Stargazer, {
19166
19254
  style: { height: scale * 36 }
19167
19255
  });
19168
19256
  }
19169
19257
  if (template.cliId === "tiktok") {
19170
- return /* @__PURE__ */ jsx66(TikTok, {
19258
+ return /* @__PURE__ */ jsx67(TikTok, {
19171
19259
  style: { height: scale * 36 }
19172
19260
  });
19173
19261
  }
19174
19262
  if (template.cliId === "code-hike") {
19175
- return /* @__PURE__ */ jsx66(CodeHike, {
19263
+ return /* @__PURE__ */ jsx67(CodeHike, {
19176
19264
  style: { height: scale * 36 }
19177
19265
  });
19178
19266
  }
19179
19267
  if (template.cliId === "prompt-to-video") {
19180
- return /* @__PURE__ */ jsx66(PromptToVideoIcon, {
19268
+ return /* @__PURE__ */ jsx67(PromptToVideoIcon, {
19269
+ style: { height: scale * 36 }
19270
+ });
19271
+ }
19272
+ if (template.cliId === "prompt-to-motion-graphics") {
19273
+ return /* @__PURE__ */ jsx67(BrainIcon, {
19181
19274
  style: { height: scale * 36 }
19182
19275
  });
19183
19276
  }
@@ -19185,15 +19278,15 @@ var IconForTemplate = ({ template, scale = 1 }) => {
19185
19278
  };
19186
19279
 
19187
19280
  // src/components/icons/editor.tsx
19188
- import { jsx as jsx67, jsxs as jsxs13 } from "react/jsx-runtime";
19281
+ import { jsx as jsx68, jsxs as jsxs14 } from "react/jsx-runtime";
19189
19282
  var EditorIcon = (props) => {
19190
- return /* @__PURE__ */ jsxs13("svg", {
19283
+ return /* @__PURE__ */ jsxs14("svg", {
19191
19284
  viewBox: "0 0 251 251",
19192
19285
  fill: "none",
19193
19286
  xmlns: "http://www.w3.org/2000/svg",
19194
19287
  ...props,
19195
19288
  children: [
19196
- /* @__PURE__ */ jsx67("rect", {
19289
+ /* @__PURE__ */ jsx68("rect", {
19197
19290
  x: "4",
19198
19291
  y: "4",
19199
19292
  width: "52",
@@ -19202,7 +19295,7 @@ var EditorIcon = (props) => {
19202
19295
  stroke: "currentColor",
19203
19296
  strokeWidth: "16"
19204
19297
  }),
19205
- /* @__PURE__ */ jsx67("rect", {
19298
+ /* @__PURE__ */ jsx68("rect", {
19206
19299
  x: "195",
19207
19300
  y: "4",
19208
19301
  width: "52",
@@ -19211,7 +19304,7 @@ var EditorIcon = (props) => {
19211
19304
  stroke: "currentColor",
19212
19305
  strokeWidth: "16"
19213
19306
  }),
19214
- /* @__PURE__ */ jsx67("rect", {
19307
+ /* @__PURE__ */ jsx68("rect", {
19215
19308
  x: "4",
19216
19309
  y: "195",
19217
19310
  width: "52",
@@ -19220,7 +19313,7 @@ var EditorIcon = (props) => {
19220
19313
  stroke: "currentColor",
19221
19314
  strokeWidth: "16"
19222
19315
  }),
19223
- /* @__PURE__ */ jsx67("rect", {
19316
+ /* @__PURE__ */ jsx68("rect", {
19224
19317
  x: "195",
19225
19318
  y: "195",
19226
19319
  width: "52",
@@ -19229,22 +19322,22 @@ var EditorIcon = (props) => {
19229
19322
  stroke: "currentColor",
19230
19323
  strokeWidth: "16"
19231
19324
  }),
19232
- /* @__PURE__ */ jsx67("path", {
19325
+ /* @__PURE__ */ jsx68("path", {
19233
19326
  d: "M55 222H196",
19234
19327
  stroke: "currentColor",
19235
19328
  strokeWidth: "16"
19236
19329
  }),
19237
- /* @__PURE__ */ jsx67("path", {
19330
+ /* @__PURE__ */ jsx68("path", {
19238
19331
  d: "M30 60L30 191",
19239
19332
  stroke: "currentColor",
19240
19333
  strokeWidth: "16"
19241
19334
  }),
19242
- /* @__PURE__ */ jsx67("path", {
19335
+ /* @__PURE__ */ jsx68("path", {
19243
19336
  d: "M221 60V191",
19244
19337
  stroke: "currentColor",
19245
19338
  strokeWidth: "16"
19246
19339
  }),
19247
- /* @__PURE__ */ jsx67("path", {
19340
+ /* @__PURE__ */ jsx68("path", {
19248
19341
  d: "M55 30H196",
19249
19342
  stroke: "currentColor",
19250
19343
  strokeWidth: "16"
@@ -19254,22 +19347,22 @@ var EditorIcon = (props) => {
19254
19347
  };
19255
19348
 
19256
19349
  // src/components/icons/timeline.tsx
19257
- import { jsx as jsx68, jsxs as jsxs14 } from "react/jsx-runtime";
19350
+ import { jsx as jsx69, jsxs as jsxs15 } from "react/jsx-runtime";
19258
19351
  var TimelineIcon = (props) => {
19259
- return /* @__PURE__ */ jsxs14("svg", {
19352
+ return /* @__PURE__ */ jsxs15("svg", {
19260
19353
  ...props,
19261
19354
  viewBox: "0 0 56 69",
19262
19355
  fill: "none",
19263
19356
  xmlns: "http://www.w3.org/2000/svg",
19264
19357
  children: [
19265
- /* @__PURE__ */ jsx68("path", {
19358
+ /* @__PURE__ */ jsx69("path", {
19266
19359
  d: "M51.4313 38.0917L31.4998 52.4424C30.2419 53.3481 28.5581 53.3925 27.2543 52.5543L4.73299 38.0763C3.65291 37.382 3 36.1861 3 34.9021V6.77359C3 4.68949 4.68949 3 6.77358 3H49.2264C51.3105 3 53 4.68949 53 6.77358V35.0293C53 36.243 52.4163 37.3826 51.4313 38.0917Z",
19267
19360
  stroke: "currentcolor",
19268
19361
  strokeWidth: "5",
19269
19362
  strokeLinecap: "round",
19270
19363
  strokeLinejoin: "round"
19271
19364
  }),
19272
- /* @__PURE__ */ jsx68("path", {
19365
+ /* @__PURE__ */ jsx69("path", {
19273
19366
  d: "M29 55L29 66",
19274
19367
  stroke: "currentcolor",
19275
19368
  strokeWidth: "5",
@@ -19280,26 +19373,26 @@ var TimelineIcon = (props) => {
19280
19373
  };
19281
19374
 
19282
19375
  // src/components/templates.tsx
19283
- import { jsx as jsx69, jsxs as jsxs15, Fragment as Fragment6 } from "react/jsx-runtime";
19376
+ import { jsx as jsx70, jsxs as jsxs16, Fragment as Fragment6 } from "react/jsx-runtime";
19284
19377
  var Item2 = ({ children, label: label2, description }) => {
19285
- return /* @__PURE__ */ jsxs15("div", {
19378
+ return /* @__PURE__ */ jsxs16("div", {
19286
19379
  className: "h-full w-full flex-1",
19287
19380
  children: [
19288
- /* @__PURE__ */ jsxs15("div", {
19381
+ /* @__PURE__ */ jsxs16("div", {
19289
19382
  className: "flex flex-row items-center",
19290
19383
  children: [
19291
- /* @__PURE__ */ jsx69("div", {
19384
+ /* @__PURE__ */ jsx70("div", {
19292
19385
  className: "flex mr-2.5 h-[30px] w-[30px] justify-center items-center",
19293
19386
  children
19294
19387
  }),
19295
- /* @__PURE__ */ jsx69("div", {
19388
+ /* @__PURE__ */ jsx70("div", {
19296
19389
  className: "font-bold",
19297
19390
  children: label2
19298
19391
  })
19299
19392
  ]
19300
19393
  }),
19301
- /* @__PURE__ */ jsx69("div", {
19302
- children: /* @__PURE__ */ jsx69("p", {
19394
+ /* @__PURE__ */ jsx70("div", {
19395
+ children: /* @__PURE__ */ jsx70("p", {
19303
19396
  dangerouslySetInnerHTML: {
19304
19397
  __html: description
19305
19398
  },
@@ -19310,39 +19403,39 @@ var Item2 = ({ children, label: label2, description }) => {
19310
19403
  });
19311
19404
  };
19312
19405
  var Templates = () => {
19313
- return /* @__PURE__ */ jsxs15(Fragment6, {
19406
+ return /* @__PURE__ */ jsxs16(Fragment6, {
19314
19407
  children: [
19315
- /* @__PURE__ */ jsxs15("div", {
19408
+ /* @__PURE__ */ jsxs16("div", {
19316
19409
  className: "max-w-[1000px] mx-auto px-5 bg-[var(--background)]",
19317
19410
  children: [
19318
- /* @__PURE__ */ jsxs15("h1", {
19411
+ /* @__PURE__ */ jsxs16("h1", {
19319
19412
  className: "text-4xl md:text-7xl lg:text-8xl font-black leading-none mt-[75px] text-center mb-10",
19320
19413
  children: [
19321
19414
  "Find the right",
19322
- /* @__PURE__ */ jsx69("br", {}),
19415
+ /* @__PURE__ */ jsx70("br", {}),
19323
19416
  "template"
19324
19417
  ]
19325
19418
  }),
19326
- /* @__PURE__ */ jsx69("p", {
19419
+ /* @__PURE__ */ jsx70("p", {
19327
19420
  className: "text-center mb-[50px] font-brand",
19328
19421
  children: "Jumpstart your project with a template that fits your usecase."
19329
19422
  }),
19330
- /* @__PURE__ */ jsx69("h3", {
19423
+ /* @__PURE__ */ jsx70("h3", {
19331
19424
  children: "Free templates"
19332
19425
  }),
19333
- /* @__PURE__ */ jsx69("div", {
19426
+ /* @__PURE__ */ jsx70("div", {
19334
19427
  className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-[15px]",
19335
19428
  children: CreateVideoInternals.FEATURED_TEMPLATES.map((template) => {
19336
- return /* @__PURE__ */ jsx69("a", {
19429
+ return /* @__PURE__ */ jsx70("a", {
19337
19430
  href: `/templates/${template.cliId}`,
19338
19431
  className: "no-underline",
19339
- children: /* @__PURE__ */ jsx69(Button, {
19432
+ children: /* @__PURE__ */ jsx70(Button, {
19340
19433
  depth: 0.5,
19341
- className: "items-start justify-start text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full",
19342
- children: /* @__PURE__ */ jsx69(Item2, {
19434
+ className: "items-start justify-start text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full items-start",
19435
+ children: /* @__PURE__ */ jsx70(Item2, {
19343
19436
  label: template.homePageLabel,
19344
19437
  description: template.description,
19345
- children: /* @__PURE__ */ jsx69(IconForTemplate, {
19438
+ children: /* @__PURE__ */ jsx70(IconForTemplate, {
19346
19439
  scale: 0.7,
19347
19440
  template
19348
19441
  })
@@ -19351,24 +19444,24 @@ var Templates = () => {
19351
19444
  }, template.cliId);
19352
19445
  })
19353
19446
  }),
19354
- /* @__PURE__ */ jsx69("br", {}),
19355
- /* @__PURE__ */ jsx69("br", {}),
19356
- /* @__PURE__ */ jsx69("h3", {
19447
+ /* @__PURE__ */ jsx70("br", {}),
19448
+ /* @__PURE__ */ jsx70("br", {}),
19449
+ /* @__PURE__ */ jsx70("h3", {
19357
19450
  children: "Paid templates"
19358
19451
  }),
19359
- /* @__PURE__ */ jsxs15("div", {
19452
+ /* @__PURE__ */ jsxs16("div", {
19360
19453
  className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-[15px]",
19361
19454
  children: [
19362
- /* @__PURE__ */ jsx69("a", {
19455
+ /* @__PURE__ */ jsx70("a", {
19363
19456
  className: "no-underline",
19364
19457
  href: `https://www.remotion.pro/editor-starter`,
19365
- children: /* @__PURE__ */ jsx69(Button, {
19458
+ children: /* @__PURE__ */ jsx70(Button, {
19366
19459
  depth: 0.5,
19367
- className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full",
19368
- children: /* @__PURE__ */ jsx69(Item2, {
19460
+ className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full items-start",
19461
+ children: /* @__PURE__ */ jsx70(Item2, {
19369
19462
  label: "Editor Starter",
19370
19463
  description: "A boilerplate for starting your own video editor",
19371
- children: /* @__PURE__ */ jsx69(EditorIcon, {
19464
+ children: /* @__PURE__ */ jsx70(EditorIcon, {
19372
19465
  style: {
19373
19466
  height: 0.7 * 32,
19374
19467
  overflow: "visible"
@@ -19377,19 +19470,19 @@ var Templates = () => {
19377
19470
  })
19378
19471
  })
19379
19472
  }, "editor-starter"),
19380
- /* @__PURE__ */ jsx69("a", {
19473
+ /* @__PURE__ */ jsx70("a", {
19381
19474
  className: "no-underline",
19382
19475
  href: `https://www.remotion.pro/mapbox-globe`,
19383
- children: /* @__PURE__ */ jsx69(Button, {
19476
+ children: /* @__PURE__ */ jsx70(Button, {
19384
19477
  depth: 0.5,
19385
- className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full",
19386
- children: /* @__PURE__ */ jsx69(Item2, {
19478
+ className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full items-start",
19479
+ children: /* @__PURE__ */ jsx70(Item2, {
19387
19480
  label: "Mapbox Globe",
19388
19481
  description: "A rotateable and zoomeable 3D Globe",
19389
- children: /* @__PURE__ */ jsx69("svg", {
19482
+ children: /* @__PURE__ */ jsx70("svg", {
19390
19483
  style: { height: 0.7 * 36, overflow: "visible" },
19391
19484
  viewBox: "0 0 512 512",
19392
- children: /* @__PURE__ */ jsx69("path", {
19485
+ children: /* @__PURE__ */ jsx70("path", {
19393
19486
  fill: "currentcolor",
19394
19487
  d: "M256 464c7.4 0 27-7.2 47.6-48.4c8.8-17.7 16.4-39.2 22-63.6H186.4c5.6 24.4 13.2 45.9 22 63.6C229 456.8 248.6 464 256 464zM178.5 304h155c1.6-15.3 2.5-31.4 2.5-48s-.9-32.7-2.5-48h-155c-1.6 15.3-2.5 31.4-2.5 48s.9 32.7 2.5 48zm7.9-144H325.6c-5.6-24.4-13.2-45.9-22-63.6C283 55.2 263.4 48 256 48s-27 7.2-47.6 48.4c-8.8 17.7-16.4 39.2-22 63.6zm195.3 48c1.5 15.5 2.2 31.6 2.2 48s-.8 32.5-2.2 48h76.7c3.6-15.4 5.6-31.5 5.6-48s-1.9-32.6-5.6-48H381.8zm58.8-48c-21.4-41.1-56.1-74.1-98.4-93.4c14.1 25.6 25.3 57.5 32.6 93.4h65.9zm-303.3 0c7.3-35.9 18.5-67.7 32.6-93.4c-42.3 19.3-77 52.3-98.4 93.4h65.9zM53.6 208c-3.6 15.4-5.6 31.5-5.6 48s1.9 32.6 5.6 48h76.7c-1.5-15.5-2.2-31.6-2.2-48s.8-32.5 2.2-48H53.6zM342.1 445.4c42.3-19.3 77-52.3 98.4-93.4H374.7c-7.3 35.9-18.5 67.7-32.6 93.4zm-172.2 0c-14.1-25.6-25.3-57.5-32.6-93.4H71.4c21.4 41.1 56.1 74.1 98.4 93.4zM256 512A256 256 0 1 1 256 0a256 256 0 1 1 0 512z"
19395
19488
  })
@@ -19397,16 +19490,16 @@ var Templates = () => {
19397
19490
  })
19398
19491
  })
19399
19492
  }, "mapbox-globe"),
19400
- /* @__PURE__ */ jsx69("a", {
19493
+ /* @__PURE__ */ jsx70("a", {
19401
19494
  className: "no-underline",
19402
19495
  href: `https://www.remotion.pro/watercolor-map`,
19403
- children: /* @__PURE__ */ jsx69(Button, {
19496
+ children: /* @__PURE__ */ jsx70(Button, {
19404
19497
  depth: 0.5,
19405
- className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full",
19406
- children: /* @__PURE__ */ jsx69(Item2, {
19498
+ className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full items-start",
19499
+ children: /* @__PURE__ */ jsx70(Item2, {
19407
19500
  label: "Watercolor Map",
19408
19501
  description: "A beautiful 2D map for travel videos",
19409
- children: /* @__PURE__ */ jsx69(SkiaIcon, {
19502
+ children: /* @__PURE__ */ jsx70(SkiaIcon, {
19410
19503
  style: {
19411
19504
  height: 0.7 * 32,
19412
19505
  overflow: "visible"
@@ -19415,16 +19508,16 @@ var Templates = () => {
19415
19508
  })
19416
19509
  })
19417
19510
  }, "watercolor-map"),
19418
- /* @__PURE__ */ jsx69("a", {
19511
+ /* @__PURE__ */ jsx70("a", {
19419
19512
  className: "no-underline",
19420
19513
  href: `https://www.remotion.pro/timeline`,
19421
- children: /* @__PURE__ */ jsx69(Button, {
19514
+ children: /* @__PURE__ */ jsx70(Button, {
19422
19515
  depth: 0.5,
19423
- className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full",
19424
- children: /* @__PURE__ */ jsx69(Item2, {
19516
+ className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full items-start",
19517
+ children: /* @__PURE__ */ jsx70(Item2, {
19425
19518
  label: "<Timeline />",
19426
19519
  description: "A copy pasteable component for timeline-based editing",
19427
- children: /* @__PURE__ */ jsx69(TimelineIcon, {
19520
+ children: /* @__PURE__ */ jsx70(TimelineIcon, {
19428
19521
  style: {
19429
19522
  height: 0.7 * 32
19430
19523
  }
@@ -19434,14 +19527,14 @@ var Templates = () => {
19434
19527
  }, "timeline")
19435
19528
  ]
19436
19529
  }),
19437
- /* @__PURE__ */ jsx69("br", {}),
19438
- /* @__PURE__ */ jsxs15("p", {
19530
+ /* @__PURE__ */ jsx70("br", {}),
19531
+ /* @__PURE__ */ jsxs16("p", {
19439
19532
  className: "text-center text-gray-500 font-brand text-sm",
19440
19533
  children: [
19441
19534
  "Couldn't",
19442
19535
  " find what you need? Find more in the list of",
19443
19536
  " ",
19444
- /* @__PURE__ */ jsx69("a", {
19537
+ /* @__PURE__ */ jsx70("a", {
19445
19538
  href: "/docs/resources",
19446
19539
  children: "Resources"
19447
19540
  }),
@@ -19450,7 +19543,7 @@ var Templates = () => {
19450
19543
  })
19451
19544
  ]
19452
19545
  }),
19453
- /* @__PURE__ */ jsx69("br", {})
19546
+ /* @__PURE__ */ jsx70("br", {})
19454
19547
  ]
19455
19548
  });
19456
19549
  };