@cueframe/kernel 0.2.18 → 0.2.20
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/_members/composition/fonts/bundledFaces.d.ts +49 -0
- package/dist/_members/composition/scene/schema.d.ts +5 -3
- package/dist/_members/mcp/generated/sceneContract.d.ts +189 -0
- package/dist/animate/preparation-facts.js +2 -2
- package/dist/animate.js +4 -4
- package/dist/authoring/build-tools.js +6 -6
- package/dist/authoring/context.js +5 -5
- package/dist/authoring/scene.js +2 -2
- package/dist/authoring/tools.js +5 -5
- package/dist/authoring.js +11 -11
- package/dist/{chunk-26MBA3WH.js → chunk-5TMLB4WM.js} +2 -2
- package/dist/{chunk-KBLQKH3T.js → chunk-6A6AYPWO.js} +1 -1
- package/dist/{chunk-7NQRYZCT.js → chunk-6VTNIYSR.js} +1 -1
- package/dist/{chunk-BAC7DKQZ.js → chunk-AVTEPAWI.js} +32 -0
- package/dist/{chunk-IQ7DKM5C.js → chunk-AYZPTH7L.js} +1 -1
- package/dist/{chunk-C5MPFJCD.js → chunk-BWLYZQ7I.js} +1 -1
- package/dist/{chunk-HGBHJL7X.js → chunk-CMC6MLR3.js} +1 -1
- package/dist/{chunk-HCZ53SOM.js → chunk-DFAESPHN.js} +1 -1
- package/dist/{chunk-7S73F5E6.js → chunk-EGNTUGAM.js} +2 -2
- package/dist/{chunk-IAZYJB3I.js → chunk-EGR6QWLX.js} +1 -1
- package/dist/{chunk-EZUDUMH3.js → chunk-ELE2VHXO.js} +2 -2
- package/dist/{chunk-KYOVOZQC.js → chunk-HLW3P5ZP.js} +4 -4
- package/dist/{chunk-3BCGHUJS.js → chunk-HPWJQNBU.js} +1 -1
- package/dist/{chunk-2R35PKNK.js → chunk-IHMKU4PM.js} +2 -2
- package/dist/{chunk-KKV5U5EA.js → chunk-IRVRWQWD.js} +107 -16
- package/dist/{chunk-77TLECRC.js → chunk-OAVJUZIC.js} +1 -1
- package/dist/{chunk-TDJNQVTL.js → chunk-OSV6UUP3.js} +1 -1
- package/dist/{chunk-3V75A6UH.js → chunk-OTZDVUAM.js} +1 -1
- package/dist/{chunk-CIWOJ5XJ.js → chunk-P5POI4O2.js} +274 -5
- package/dist/{chunk-D3GMN4WL.js → chunk-PSMIDGQA.js} +3 -3
- package/dist/{chunk-TECEMBCI.js → chunk-STTZC7NN.js} +1 -2
- package/dist/{chunk-CG2E43AN.js → chunk-TWI22U3C.js} +4 -4
- package/dist/{chunk-MAD6MSXA.js → chunk-W5W3FDDI.js} +1 -1
- package/dist/{chunk-ZYGUHMX6.js → chunk-XUU5PK6J.js} +3 -3
- package/dist/component-runtime/browserOptions.js +2 -2
- package/dist/component-runtime/render.js +4 -4
- package/dist/component-runtime.js +5 -5
- package/dist/compose.js +12 -12
- package/dist/composition/fonts.js +5 -3
- package/dist/composition/graphics-plan.js +3 -3
- package/dist/composition/ops.js +4 -4
- package/dist/composition/projection.js +3 -3
- package/dist/composition/scene/schema.json +19 -2
- package/dist/composition/scene.js +1 -1
- package/dist/composition/validators.js +3 -3
- package/dist/composition-ops.js +6 -6
- package/dist/composition.js +5 -5
- package/dist/{context-JEIN7PNN.js → context-43UC63RY.js} +5 -5
- package/dist/core/render.js +3 -3
- package/dist/core.js +3 -3
- package/dist/mcp/adapter.js +3 -3
- package/dist/mcp/core.js +1 -1
- package/dist/mcp/curation.js +1 -1
- package/dist/mcp/server.js +4 -4
- package/dist/mcp.js +4 -4
- package/dist/primitives/captions.js +1 -1
- package/dist/primitives/effects.js +6 -6
- package/dist/primitives/layouts.js +5 -5
- package/dist/primitives/scenes.js +5 -5
- package/dist/primitives/ui-blocks.js +2 -2
- package/dist/primitives.js +12 -12
- package/dist/render-harness.js +7 -7
- package/package.json +12 -12
- package/dist/{chunk-A76GTLSA.js → chunk-VLJOIUHL.js} +3 -3
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
} from "./chunk-7AZLFN26.js";
|
|
8
8
|
import {
|
|
9
9
|
selectAllOverlays
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CMC6MLR3.js";
|
|
11
11
|
import {
|
|
12
12
|
ComposePlan
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EGNTUGAM.js";
|
|
14
14
|
import {
|
|
15
15
|
OverlayClipSource
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AYZPTH7L.js";
|
|
17
17
|
|
|
18
18
|
// ../authoring/src/tools/toolSets.ts
|
|
19
19
|
var COMPOSE_PLANNER_TOOLS = [
|
|
@@ -63,7 +63,7 @@ var COMPOSE_ROLE_TOOLS = Object.freeze({
|
|
|
63
63
|
schema: z.object({}),
|
|
64
64
|
metadata: { label: "Get Context" },
|
|
65
65
|
handler: async (_args, capabilities) => {
|
|
66
|
-
const { buildDirectorContext } = await import("./context-
|
|
66
|
+
const { buildDirectorContext } = await import("./context-43UC63RY.js");
|
|
67
67
|
return buildDirectorContext(capabilities);
|
|
68
68
|
}
|
|
69
69
|
},
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-W2245F6G.js";
|
|
25
25
|
import {
|
|
26
26
|
FlexLayout
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XUU5PK6J.js";
|
|
28
28
|
|
|
29
29
|
// ../execution/primitives/src/layouts/chat-to-preview-layout/index.tsx
|
|
30
30
|
import { Easing, interpolate, useCurrentFrame, useVideoConfig } from "remotion";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
assertSceneShotParamsAdmitted,
|
|
4
4
|
materializeComponentSource,
|
|
5
5
|
renderComponentAlpha
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PSMIDGQA.js";
|
|
7
7
|
import {
|
|
8
8
|
componentArtifactId,
|
|
9
9
|
componentBundleId,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-WXHD6OUT.js";
|
|
17
17
|
import {
|
|
18
18
|
resolvedComponentRenderer
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BWLYZQ7I.js";
|
|
20
20
|
import {
|
|
21
21
|
ComponentBakeJobV2,
|
|
22
22
|
ComponentBakeRequestV2,
|
|
@@ -319,20 +319,6 @@ var SceneKeyframesV2 = z.array(SceneKeyframeV2).min(1).max(SCENE_MAX_KEYFRAMES_P
|
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
});
|
|
322
|
-
var SceneChannelTargetV2 = z.discriminatedUnion(
|
|
323
|
-
"kind",
|
|
324
|
-
[
|
|
325
|
-
z.object({ kind: z.literal("camera") }).strict(),
|
|
326
|
-
z.object({ kind: z.literal("layer"), layerId: SceneLayerId }).strict(),
|
|
327
|
-
z.object({ kind: z.literal("environment") }).strict(),
|
|
328
|
-
z.object({ kind: z.literal("focus") }).strict()
|
|
329
|
-
]
|
|
330
|
-
);
|
|
331
|
-
var SceneChannelV2 = z.object({
|
|
332
|
-
target: SceneChannelTargetV2,
|
|
333
|
-
property: z.string().min(1).max(64),
|
|
334
|
-
keyframes: SceneKeyframesV2
|
|
335
|
-
}).strict();
|
|
336
322
|
var SCENE_CAMERA_PROPERTIES = [
|
|
337
323
|
"positionX",
|
|
338
324
|
"positionY",
|
|
@@ -369,6 +355,27 @@ var SCENE_CHANNEL_PROPERTIES = [
|
|
|
369
355
|
...SCENE_FOCUS_PROPERTIES
|
|
370
356
|
])
|
|
371
357
|
];
|
|
358
|
+
var SceneChannelTargetV2 = z.discriminatedUnion(
|
|
359
|
+
"kind",
|
|
360
|
+
[
|
|
361
|
+
z.object({ kind: z.literal("camera") }).strict(),
|
|
362
|
+
z.object({ kind: z.literal("layer"), layerId: SceneLayerId }).strict(),
|
|
363
|
+
z.object({ kind: z.literal("environment") }).strict(),
|
|
364
|
+
z.object({ kind: z.literal("focus") }).strict()
|
|
365
|
+
]
|
|
366
|
+
);
|
|
367
|
+
var SceneChannelV2 = z.object({
|
|
368
|
+
target: SceneChannelTargetV2,
|
|
369
|
+
// The FLAT union of every animatable channel, so the published JSON Schema
|
|
370
|
+
// enumerates them instead of saying `string` — an author could not discover
|
|
371
|
+
// `positionZ` without being refused first (CUE-21). Narrowing to the
|
|
372
|
+
// channels legal for THIS target stays in the superRefine below, which
|
|
373
|
+
// knows the referenced layer's kind and the environment/focus preset and
|
|
374
|
+
// names the legal set in its message. Nothing that used to validate stops
|
|
375
|
+
// validating: this enum is the union of every set that refinement admits.
|
|
376
|
+
property: z.enum(SCENE_CHANNEL_PROPERTIES),
|
|
377
|
+
keyframes: SceneKeyframesV2
|
|
378
|
+
}).strict();
|
|
372
379
|
var SceneFocusV2 = z.object({
|
|
373
380
|
distance: z.number().positive(),
|
|
374
381
|
range: z.number().positive(),
|
|
@@ -1842,6 +1849,83 @@ var spec = parseSceneShotSpecV2({
|
|
|
1842
1849
|
}
|
|
1843
1850
|
]
|
|
1844
1851
|
});
|
|
1852
|
+
var tunnel = parseSceneShotSpecV2({
|
|
1853
|
+
version: 2,
|
|
1854
|
+
referenceSize: { width: 1920, height: 1080 },
|
|
1855
|
+
environment: { kind: "photographic-studio-v1" },
|
|
1856
|
+
backdrop: { kind: "solid", color: "$brand:colors.background" },
|
|
1857
|
+
layers: [
|
|
1858
|
+
{
|
|
1859
|
+
kind: "page",
|
|
1860
|
+
id: "near",
|
|
1861
|
+
transform: { ...t, position: [-320, 0, 600] },
|
|
1862
|
+
width: 720,
|
|
1863
|
+
height: 900,
|
|
1864
|
+
surfaces: { content: { source: "image", assetSlot: "near" } }
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
kind: "page",
|
|
1868
|
+
id: "mid",
|
|
1869
|
+
transform: { ...t, position: [280, 0, -200] },
|
|
1870
|
+
width: 720,
|
|
1871
|
+
height: 900,
|
|
1872
|
+
surfaces: { content: { source: "image", assetSlot: "mid" } }
|
|
1873
|
+
},
|
|
1874
|
+
{
|
|
1875
|
+
kind: "page",
|
|
1876
|
+
id: "far",
|
|
1877
|
+
transform: { ...t, position: [-160, 0, -1200] },
|
|
1878
|
+
width: 720,
|
|
1879
|
+
height: 900,
|
|
1880
|
+
surfaces: { content: { source: "image", assetSlot: "far" } }
|
|
1881
|
+
}
|
|
1882
|
+
],
|
|
1883
|
+
animation: [
|
|
1884
|
+
// Camera flies FORWARD through the stack…
|
|
1885
|
+
{
|
|
1886
|
+
target: { kind: "camera" },
|
|
1887
|
+
property: "positionZ",
|
|
1888
|
+
keyframes: [
|
|
1889
|
+
{ at: 0, value: 1800 },
|
|
1890
|
+
{ at: 1, value: -900, easing: { kind: "bezier", x1: 0.4, y1: 0, x2: 0.2, y2: 1 } }
|
|
1891
|
+
]
|
|
1892
|
+
},
|
|
1893
|
+
// …while drifting laterally, so the planes separate by parallax.
|
|
1894
|
+
{
|
|
1895
|
+
target: { kind: "camera" },
|
|
1896
|
+
property: "positionX",
|
|
1897
|
+
keyframes: [
|
|
1898
|
+
{ at: 0, value: -240 },
|
|
1899
|
+
{ at: 1, value: 240, easing: { kind: "linear" } }
|
|
1900
|
+
]
|
|
1901
|
+
},
|
|
1902
|
+
// Three depth bands travelling at different rates — the same channel per layer.
|
|
1903
|
+
{
|
|
1904
|
+
target: { kind: "layer", layerId: "near" },
|
|
1905
|
+
property: "positionZ",
|
|
1906
|
+
keyframes: [
|
|
1907
|
+
{ at: 0, value: 600 },
|
|
1908
|
+
{ at: 1, value: 1500, easing: { kind: "linear" } }
|
|
1909
|
+
]
|
|
1910
|
+
},
|
|
1911
|
+
{
|
|
1912
|
+
target: { kind: "layer", layerId: "mid" },
|
|
1913
|
+
property: "positionZ",
|
|
1914
|
+
keyframes: [
|
|
1915
|
+
{ at: 0, value: -200 },
|
|
1916
|
+
{ at: 1, value: 260, easing: { kind: "linear" } }
|
|
1917
|
+
]
|
|
1918
|
+
},
|
|
1919
|
+
{
|
|
1920
|
+
target: { kind: "layer", layerId: "far" },
|
|
1921
|
+
property: "positionZ",
|
|
1922
|
+
keyframes: [
|
|
1923
|
+
{ at: 0, value: -1200 },
|
|
1924
|
+
{ at: 1, value: -1020, easing: { kind: "linear" } }
|
|
1925
|
+
]
|
|
1926
|
+
}
|
|
1927
|
+
]
|
|
1928
|
+
});
|
|
1845
1929
|
var SCENE_SHOT_EXAMPLES = [
|
|
1846
1930
|
{
|
|
1847
1931
|
id: "world-objects",
|
|
@@ -1849,6 +1933,13 @@ var SCENE_SHOT_EXAMPLES = [
|
|
|
1849
1933
|
summary: "Nested satin card and fitted page.",
|
|
1850
1934
|
slots: sceneShotImageSlots(spec),
|
|
1851
1935
|
spec
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
id: "camera-tunnel",
|
|
1939
|
+
title: "Camera travel through depth bands",
|
|
1940
|
+
summary: "Camera positionZ forward travel plus lateral positionX, over three image planes each animating positionZ at its own rate.",
|
|
1941
|
+
slots: sceneShotImageSlots(tunnel),
|
|
1942
|
+
spec: tunnel
|
|
1852
1943
|
}
|
|
1853
1944
|
];
|
|
1854
1945
|
var sceneShotExample = (id) => SCENE_SHOT_EXAMPLES.find((example) => example.id === id) ?? null;
|
|
@@ -3326,8 +3417,6 @@ export {
|
|
|
3326
3417
|
SceneObjectV2,
|
|
3327
3418
|
SceneEasingV2,
|
|
3328
3419
|
SceneKeyframeV2,
|
|
3329
|
-
SceneChannelTargetV2,
|
|
3330
|
-
SceneChannelV2,
|
|
3331
3420
|
SCENE_CAMERA_PROPERTIES,
|
|
3332
3421
|
SCENE_WORLD_OBJECT_PROPERTIES,
|
|
3333
3422
|
SCENE_LAPTOP_PROPERTIES,
|
|
@@ -3335,6 +3424,8 @@ export {
|
|
|
3335
3424
|
SCENE_ENVIRONMENT_PROPERTIES,
|
|
3336
3425
|
SCENE_FOCUS_PROPERTIES,
|
|
3337
3426
|
SCENE_CHANNEL_PROPERTIES,
|
|
3427
|
+
SceneChannelTargetV2,
|
|
3428
|
+
SceneChannelV2,
|
|
3338
3429
|
SceneFocusV2,
|
|
3339
3430
|
ScenePostV2,
|
|
3340
3431
|
SceneRigV2,
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
querySchemaShape,
|
|
3
3
|
serializeQuery,
|
|
4
4
|
waitForJob
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OTZDVUAM.js";
|
|
6
6
|
import {
|
|
7
7
|
CURATED_TOOLS
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DFAESPHN.js";
|
|
9
9
|
import {
|
|
10
10
|
GENERATED_OPERATIONS,
|
|
11
11
|
apiErrorFrom,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
sniffImageMediaType,
|
|
23
23
|
text,
|
|
24
24
|
withMedia
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-STTZC7NN.js";
|
|
26
26
|
|
|
27
27
|
// ../mcp/src/prompts.ts
|
|
28
28
|
var skillListCache = null;
|
|
@@ -590,8 +590,25 @@ var SCENE_SHOT_SCHEMA = deepFreeze({
|
|
|
590
590
|
},
|
|
591
591
|
"property": {
|
|
592
592
|
"type": "string",
|
|
593
|
-
"
|
|
594
|
-
|
|
593
|
+
"enum": [
|
|
594
|
+
"positionX",
|
|
595
|
+
"positionY",
|
|
596
|
+
"positionZ",
|
|
597
|
+
"rotationX",
|
|
598
|
+
"rotationY",
|
|
599
|
+
"rotationZ",
|
|
600
|
+
"fov",
|
|
601
|
+
"scale",
|
|
602
|
+
"opacity",
|
|
603
|
+
"openAngle",
|
|
604
|
+
"x",
|
|
605
|
+
"y",
|
|
606
|
+
"rotation",
|
|
607
|
+
"intensity",
|
|
608
|
+
"distance",
|
|
609
|
+
"range",
|
|
610
|
+
"maxBlur"
|
|
611
|
+
]
|
|
595
612
|
},
|
|
596
613
|
"keyframes": {
|
|
597
614
|
"minItems": 1,
|
|
@@ -2943,6 +2960,17 @@ var SCENE_SHOT_EXAMPLE_SHOTS = deepFreeze([
|
|
|
2943
2960
|
"slots": [
|
|
2944
2961
|
"page"
|
|
2945
2962
|
]
|
|
2963
|
+
},
|
|
2964
|
+
{
|
|
2965
|
+
"clipId": "shot-camera-tunnel",
|
|
2966
|
+
"exampleId": "camera-tunnel",
|
|
2967
|
+
"title": "Camera travel through depth bands",
|
|
2968
|
+
"summary": "Camera positionZ forward travel plus lateral positionX, over three image planes each animating positionZ at its own rate.",
|
|
2969
|
+
"slots": [
|
|
2970
|
+
"near",
|
|
2971
|
+
"mid",
|
|
2972
|
+
"far"
|
|
2973
|
+
]
|
|
2946
2974
|
}
|
|
2947
2975
|
]);
|
|
2948
2976
|
var SCENE_SHOT_WORLD_OBJECT_BODY = deepFreeze({
|
|
@@ -3110,6 +3138,247 @@ var SCENE_SHOT_WORLD_OBJECT_BODY = deepFreeze({
|
|
|
3110
3138
|
"assets": {
|
|
3111
3139
|
"page": "<updatedLandingPageScreenshotMediaId>"
|
|
3112
3140
|
}
|
|
3141
|
+
},
|
|
3142
|
+
{
|
|
3143
|
+
"type": "scene.add",
|
|
3144
|
+
"clipId": "shot-camera-tunnel",
|
|
3145
|
+
"newTrack": true,
|
|
3146
|
+
"startTime": 0,
|
|
3147
|
+
"duration": 5,
|
|
3148
|
+
"scene": {
|
|
3149
|
+
"version": 2,
|
|
3150
|
+
"referenceSize": {
|
|
3151
|
+
"width": 1920,
|
|
3152
|
+
"height": 1080
|
|
3153
|
+
},
|
|
3154
|
+
"environment": {
|
|
3155
|
+
"kind": "photographic-studio-v1"
|
|
3156
|
+
},
|
|
3157
|
+
"backdrop": {
|
|
3158
|
+
"kind": "solid",
|
|
3159
|
+
"color": "$brand:colors.background"
|
|
3160
|
+
},
|
|
3161
|
+
"layers": [
|
|
3162
|
+
{
|
|
3163
|
+
"kind": "page",
|
|
3164
|
+
"id": "near",
|
|
3165
|
+
"transform": {
|
|
3166
|
+
"position": [
|
|
3167
|
+
-320,
|
|
3168
|
+
0,
|
|
3169
|
+
600
|
|
3170
|
+
],
|
|
3171
|
+
"rotation": [
|
|
3172
|
+
0,
|
|
3173
|
+
0,
|
|
3174
|
+
0
|
|
3175
|
+
],
|
|
3176
|
+
"scale": 1
|
|
3177
|
+
},
|
|
3178
|
+
"opacity": 1,
|
|
3179
|
+
"width": 720,
|
|
3180
|
+
"height": 900,
|
|
3181
|
+
"fit": "contain",
|
|
3182
|
+
"transparency": "straight",
|
|
3183
|
+
"depthWrite": true,
|
|
3184
|
+
"backface": "hidden",
|
|
3185
|
+
"surfaces": {
|
|
3186
|
+
"content": {
|
|
3187
|
+
"source": "image",
|
|
3188
|
+
"assetSlot": "near"
|
|
3189
|
+
}
|
|
3190
|
+
}
|
|
3191
|
+
},
|
|
3192
|
+
{
|
|
3193
|
+
"kind": "page",
|
|
3194
|
+
"id": "mid",
|
|
3195
|
+
"transform": {
|
|
3196
|
+
"position": [
|
|
3197
|
+
280,
|
|
3198
|
+
0,
|
|
3199
|
+
-200
|
|
3200
|
+
],
|
|
3201
|
+
"rotation": [
|
|
3202
|
+
0,
|
|
3203
|
+
0,
|
|
3204
|
+
0
|
|
3205
|
+
],
|
|
3206
|
+
"scale": 1
|
|
3207
|
+
},
|
|
3208
|
+
"opacity": 1,
|
|
3209
|
+
"width": 720,
|
|
3210
|
+
"height": 900,
|
|
3211
|
+
"fit": "contain",
|
|
3212
|
+
"transparency": "straight",
|
|
3213
|
+
"depthWrite": true,
|
|
3214
|
+
"backface": "hidden",
|
|
3215
|
+
"surfaces": {
|
|
3216
|
+
"content": {
|
|
3217
|
+
"source": "image",
|
|
3218
|
+
"assetSlot": "mid"
|
|
3219
|
+
}
|
|
3220
|
+
}
|
|
3221
|
+
},
|
|
3222
|
+
{
|
|
3223
|
+
"kind": "page",
|
|
3224
|
+
"id": "far",
|
|
3225
|
+
"transform": {
|
|
3226
|
+
"position": [
|
|
3227
|
+
-160,
|
|
3228
|
+
0,
|
|
3229
|
+
-1200
|
|
3230
|
+
],
|
|
3231
|
+
"rotation": [
|
|
3232
|
+
0,
|
|
3233
|
+
0,
|
|
3234
|
+
0
|
|
3235
|
+
],
|
|
3236
|
+
"scale": 1
|
|
3237
|
+
},
|
|
3238
|
+
"opacity": 1,
|
|
3239
|
+
"width": 720,
|
|
3240
|
+
"height": 900,
|
|
3241
|
+
"fit": "contain",
|
|
3242
|
+
"transparency": "straight",
|
|
3243
|
+
"depthWrite": true,
|
|
3244
|
+
"backface": "hidden",
|
|
3245
|
+
"surfaces": {
|
|
3246
|
+
"content": {
|
|
3247
|
+
"source": "image",
|
|
3248
|
+
"assetSlot": "far"
|
|
3249
|
+
}
|
|
3250
|
+
}
|
|
3251
|
+
}
|
|
3252
|
+
],
|
|
3253
|
+
"animation": [
|
|
3254
|
+
{
|
|
3255
|
+
"target": {
|
|
3256
|
+
"kind": "camera"
|
|
3257
|
+
},
|
|
3258
|
+
"property": "positionZ",
|
|
3259
|
+
"keyframes": [
|
|
3260
|
+
{
|
|
3261
|
+
"at": 0,
|
|
3262
|
+
"value": 1800
|
|
3263
|
+
},
|
|
3264
|
+
{
|
|
3265
|
+
"at": 1,
|
|
3266
|
+
"value": -900,
|
|
3267
|
+
"easing": {
|
|
3268
|
+
"kind": "bezier",
|
|
3269
|
+
"x1": 0.4,
|
|
3270
|
+
"y1": 0,
|
|
3271
|
+
"x2": 0.2,
|
|
3272
|
+
"y2": 1
|
|
3273
|
+
}
|
|
3274
|
+
}
|
|
3275
|
+
]
|
|
3276
|
+
},
|
|
3277
|
+
{
|
|
3278
|
+
"target": {
|
|
3279
|
+
"kind": "camera"
|
|
3280
|
+
},
|
|
3281
|
+
"property": "positionX",
|
|
3282
|
+
"keyframes": [
|
|
3283
|
+
{
|
|
3284
|
+
"at": 0,
|
|
3285
|
+
"value": -240
|
|
3286
|
+
},
|
|
3287
|
+
{
|
|
3288
|
+
"at": 1,
|
|
3289
|
+
"value": 240,
|
|
3290
|
+
"easing": {
|
|
3291
|
+
"kind": "linear"
|
|
3292
|
+
}
|
|
3293
|
+
}
|
|
3294
|
+
]
|
|
3295
|
+
},
|
|
3296
|
+
{
|
|
3297
|
+
"target": {
|
|
3298
|
+
"kind": "layer",
|
|
3299
|
+
"layerId": "near"
|
|
3300
|
+
},
|
|
3301
|
+
"property": "positionZ",
|
|
3302
|
+
"keyframes": [
|
|
3303
|
+
{
|
|
3304
|
+
"at": 0,
|
|
3305
|
+
"value": 600
|
|
3306
|
+
},
|
|
3307
|
+
{
|
|
3308
|
+
"at": 1,
|
|
3309
|
+
"value": 1500,
|
|
3310
|
+
"easing": {
|
|
3311
|
+
"kind": "linear"
|
|
3312
|
+
}
|
|
3313
|
+
}
|
|
3314
|
+
]
|
|
3315
|
+
},
|
|
3316
|
+
{
|
|
3317
|
+
"target": {
|
|
3318
|
+
"kind": "layer",
|
|
3319
|
+
"layerId": "mid"
|
|
3320
|
+
},
|
|
3321
|
+
"property": "positionZ",
|
|
3322
|
+
"keyframes": [
|
|
3323
|
+
{
|
|
3324
|
+
"at": 0,
|
|
3325
|
+
"value": -200
|
|
3326
|
+
},
|
|
3327
|
+
{
|
|
3328
|
+
"at": 1,
|
|
3329
|
+
"value": 260,
|
|
3330
|
+
"easing": {
|
|
3331
|
+
"kind": "linear"
|
|
3332
|
+
}
|
|
3333
|
+
}
|
|
3334
|
+
]
|
|
3335
|
+
},
|
|
3336
|
+
{
|
|
3337
|
+
"target": {
|
|
3338
|
+
"kind": "layer",
|
|
3339
|
+
"layerId": "far"
|
|
3340
|
+
},
|
|
3341
|
+
"property": "positionZ",
|
|
3342
|
+
"keyframes": [
|
|
3343
|
+
{
|
|
3344
|
+
"at": 0,
|
|
3345
|
+
"value": -1200
|
|
3346
|
+
},
|
|
3347
|
+
{
|
|
3348
|
+
"at": 1,
|
|
3349
|
+
"value": -1020,
|
|
3350
|
+
"easing": {
|
|
3351
|
+
"kind": "linear"
|
|
3352
|
+
}
|
|
3353
|
+
}
|
|
3354
|
+
]
|
|
3355
|
+
}
|
|
3356
|
+
],
|
|
3357
|
+
"post": {
|
|
3358
|
+
"grain": 0,
|
|
3359
|
+
"vignette": 0,
|
|
3360
|
+
"focus": null
|
|
3361
|
+
},
|
|
3362
|
+
"constraints": [],
|
|
3363
|
+
"camera": {
|
|
3364
|
+
"position": [
|
|
3365
|
+
0,
|
|
3366
|
+
0,
|
|
3367
|
+
1483.6378065054962
|
|
3368
|
+
],
|
|
3369
|
+
"rotation": [
|
|
3370
|
+
0,
|
|
3371
|
+
0,
|
|
3372
|
+
0
|
|
3373
|
+
],
|
|
3374
|
+
"fov": 0.6981317007977318
|
|
3375
|
+
}
|
|
3376
|
+
},
|
|
3377
|
+
"assets": {
|
|
3378
|
+
"near": "<nearPlaneScreenshotMediaId>",
|
|
3379
|
+
"mid": "<midPlaneScreenshotMediaId>",
|
|
3380
|
+
"far": "<farPlaneScreenshotMediaId>"
|
|
3381
|
+
}
|
|
3113
3382
|
}
|
|
3114
3383
|
]
|
|
3115
3384
|
});
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
componentBrowserBackend,
|
|
16
16
|
componentBrowserOptions,
|
|
17
17
|
readGpuAttestation
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-BWLYZQ7I.js";
|
|
19
19
|
import {
|
|
20
20
|
ComponentCapturePageRasterAttestationV1,
|
|
21
21
|
ComponentGraphicsApiV2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
} from "./chunk-ZVG446DJ.js";
|
|
29
29
|
import {
|
|
30
30
|
parseSceneShotSpecV2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-IRVRWQWD.js";
|
|
32
32
|
import {
|
|
33
33
|
BUNDLED_FONT_FACES
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-AVTEPAWI.js";
|
|
35
35
|
|
|
36
36
|
// ../execution/component-runtime/src/sceneAdmission.ts
|
|
37
37
|
import { ZodError } from "zod";
|
|
@@ -5622,7 +5622,6 @@ var sceneShotSpecV2BackdropFourStopsMax = 8;
|
|
|
5622
5622
|
var sceneShotSpecV2BackdropDefault = { "kind": "transparent" };
|
|
5623
5623
|
var sceneShotSpecV2AnimationItemTargetTwoLayerIdMax = 64;
|
|
5624
5624
|
var sceneShotSpecV2AnimationItemTargetTwoLayerIdRegExp = new RegExp("^[A-Za-z0-9][A-Za-z0-9_-]*$");
|
|
5625
|
-
var sceneShotSpecV2AnimationItemPropertyMax = 64;
|
|
5626
5625
|
var sceneShotSpecV2AnimationItemKeyframesItemAtMin = 0;
|
|
5627
5626
|
var sceneShotSpecV2AnimationItemKeyframesItemAtMax = 1;
|
|
5628
5627
|
var sceneShotSpecV2AnimationItemKeyframesItemEasingThreeX1Min = 0;
|
|
@@ -5716,7 +5715,7 @@ var SceneShotSpecV2 = zod64.strictObject({
|
|
|
5716
5715
|
}), zod64.strictObject({
|
|
5717
5716
|
"kind": zod64.literal("focus")
|
|
5718
5717
|
})]),
|
|
5719
|
-
"property": zod64.
|
|
5718
|
+
"property": zod64.enum(["positionX", "positionY", "positionZ", "rotationX", "rotationY", "rotationZ", "fov", "scale", "opacity", "openAngle", "x", "y", "rotation", "intensity", "distance", "range", "maxBlur"]),
|
|
5720
5719
|
"keyframes": zod64.array(zod64.strictObject({
|
|
5721
5720
|
"at": zod64.number().min(sceneShotSpecV2AnimationItemKeyframesItemAtMin).max(sceneShotSpecV2AnimationItemKeyframesItemAtMax),
|
|
5722
5721
|
"value": zod64.number(),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
FitText
|
|
3
|
-
} from "./chunk-XHGZ2E77.js";
|
|
4
1
|
import {
|
|
5
2
|
EASING_BY_INTENT
|
|
6
3
|
} from "./chunk-MFHXCHRI.js";
|
|
4
|
+
import {
|
|
5
|
+
FitText
|
|
6
|
+
} from "./chunk-XHGZ2E77.js";
|
|
7
7
|
import {
|
|
8
8
|
ACCENT,
|
|
9
9
|
ACCENT_STRONG,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
perspectiveFor,
|
|
27
27
|
resolveCamera,
|
|
28
28
|
useStage
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-XUU5PK6J.js";
|
|
30
30
|
|
|
31
31
|
// ../execution/primitives/src/effects/blur/index.tsx
|
|
32
32
|
import React2 from "react";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
slabTriangleCount,
|
|
20
20
|
takeSceneEnvironment,
|
|
21
21
|
useSceneActualResourceRegistrarV1
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-OAVJUZIC.js";
|
|
23
23
|
import {
|
|
24
24
|
PHOTOGRAPHIC_STUDIO_RIG_ID,
|
|
25
25
|
SCENE_SLAB_CONTENT_OFFSET,
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
sceneTextureBytes,
|
|
32
32
|
sceneVideoMidpointAddressV1,
|
|
33
33
|
selectSceneBakeScale
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-IRVRWQWD.js";
|
|
35
35
|
import {
|
|
36
36
|
resolveCaptionFaces
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-AVTEPAWI.js";
|
|
38
38
|
|
|
39
39
|
// ../execution/animate/src/easing/smooth.ts
|
|
40
40
|
var sigmoid = (x) => 1 / (1 + Math.exp(-x));
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
componentBrowserOptions,
|
|
5
5
|
resolvedComponentRenderer,
|
|
6
6
|
webglBackend
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-BWLYZQ7I.js";
|
|
8
8
|
import "../chunk-ZVG446DJ.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-IRVRWQWD.js";
|
|
10
10
|
import "../chunk-2L7PYYJK.js";
|
|
11
11
|
import "../chunk-2ESYSVXG.js";
|
|
12
12
|
export {
|
|
@@ -26,16 +26,16 @@ import {
|
|
|
26
26
|
stagedBrowserLocator,
|
|
27
27
|
verifyLocalStagedBrowser,
|
|
28
28
|
vp9AlphaFfmpegOverride
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-PSMIDGQA.js";
|
|
30
30
|
import "../chunk-WB2VFDQZ.js";
|
|
31
31
|
import "../chunk-EXY4JJPH.js";
|
|
32
32
|
import "../chunk-DAARYRNT.js";
|
|
33
33
|
import "../chunk-5NGYBI5Z.js";
|
|
34
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-BWLYZQ7I.js";
|
|
35
35
|
import "../chunk-ZVG446DJ.js";
|
|
36
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-IRVRWQWD.js";
|
|
37
37
|
import "../chunk-2L7PYYJK.js";
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-AVTEPAWI.js";
|
|
39
39
|
import "../chunk-2ESYSVXG.js";
|
|
40
40
|
export {
|
|
41
41
|
COMPONENT_BROWSER_CLEANUP_TIMEOUT_MS,
|