egaki 0.11.0 → 0.13.0

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.
Files changed (39) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/dist/cli/cli.d.ts.map +1 -1
  3. package/dist/cli/cli.js +171 -2
  4. package/dist/cli/clone-generate.d.ts +1 -0
  5. package/dist/cli/clone-generate.d.ts.map +1 -1
  6. package/dist/cli/clone-generate.js +1 -1
  7. package/dist/cli/generate.d.ts +4 -2
  8. package/dist/cli/generate.d.ts.map +1 -1
  9. package/dist/cli/generate.js +14 -6
  10. package/dist/cli/model-catalog.d.ts.map +1 -1
  11. package/dist/cli/model-catalog.js +158 -5
  12. package/dist/cli/upscale-generate.d.ts +97 -0
  13. package/dist/cli/upscale-generate.d.ts.map +1 -0
  14. package/dist/cli/upscale-generate.js +300 -0
  15. package/dist/cli/upscale-generate.test.d.ts +2 -0
  16. package/dist/cli/upscale-generate.test.d.ts.map +1 -0
  17. package/dist/cli/upscale-generate.test.js +92 -0
  18. package/dist/cli/voice-change-generate.d.ts +39 -0
  19. package/dist/cli/voice-change-generate.d.ts.map +1 -0
  20. package/dist/cli/voice-change-generate.js +123 -0
  21. package/dist/vite/angled-screen-shader.d.ts +4 -39
  22. package/dist/vite/angled-screen-shader.d.ts.map +1 -1
  23. package/dist/vite/angled-screen-shader.js +36 -440
  24. package/dist/vite/angled-screen.d.ts.map +1 -1
  25. package/dist/vite/angled-screen.js +9 -7
  26. package/dist/vite/shader-renderer.d.ts +0 -4
  27. package/dist/vite/shader-renderer.d.ts.map +1 -1
  28. package/dist/vite/shader-renderer.js +2 -66
  29. package/package.json +11 -6
  30. package/src/cli/cli.ts +231 -2
  31. package/src/cli/clone-generate.ts +1 -1
  32. package/src/cli/generate.ts +24 -11
  33. package/src/cli/model-catalog.ts +167 -5
  34. package/src/cli/upscale-generate.test.ts +96 -0
  35. package/src/cli/upscale-generate.ts +395 -0
  36. package/src/cli/voice-change-generate.ts +187 -0
  37. package/src/vite/angled-screen-shader.tsx +45 -498
  38. package/src/vite/angled-screen.tsx +9 -7
  39. package/src/vite/shader-renderer.tsx +7 -78
@@ -0,0 +1,92 @@
1
+ import { describe, expect, test } from 'vitest';
2
+ import { blendTiles, chooseGrid, gptUpscaleSize, planTiles } from './upscale-generate.js';
3
+ describe('gptUpscaleSize', () => {
4
+ test('picks a size inside every GPT Image limit, close to the requested scale', () => {
5
+ const cases = [
6
+ { width: 992, height: 570 },
7
+ { width: 992, height: 570, scale: 2 },
8
+ { width: 1024, height: 1024 },
9
+ { width: 1080, height: 1920 },
10
+ { width: 3000, height: 1000 },
11
+ { width: 400, height: 300, scale: 1.5 },
12
+ { width: 600, height: 200, scale: 2 },
13
+ { width: 4000, height: 3000, scale: 2 },
14
+ { width: 3100, height: 1000 },
15
+ { width: 800, height: 600, scale: 0.5 },
16
+ ];
17
+ const results = cases.map((input) => {
18
+ const label = `${input.width}x${input.height} x${input.scale ?? 'max'}`;
19
+ const size = gptUpscaleSize(input);
20
+ if (size instanceof Error)
21
+ return `${label}: ${size.message}`;
22
+ const pixels = size.width * size.height;
23
+ const valid = size.width % 16 === 0 &&
24
+ size.height % 16 === 0 &&
25
+ Math.max(size.width, size.height) <= 3840 &&
26
+ pixels >= 655_360 &&
27
+ pixels <= 8_294_400 &&
28
+ Math.max(size.width / size.height, size.height / size.width) <= 3;
29
+ const ratioDrift = Math.abs(size.width / size.height / (input.width / input.height) - 1);
30
+ return `${label} -> ${size.width}x${size.height} (${(pixels / 1e6).toFixed(2)} MP, ratio drift ${(ratioDrift * 100).toFixed(2)}%${valid ? '' : ', INVALID'})`;
31
+ });
32
+ expect('\n' + results.join('\n')).toMatchInlineSnapshot(`
33
+ "
34
+ 992x570 xmax -> 3792x2176 (8.25 MP, ratio drift 0.13%)
35
+ 992x570 x2 -> 1984x1136 (2.25 MP, ratio drift 0.35%)
36
+ 1024x1024 xmax -> 2880x2880 (8.29 MP, ratio drift 0.00%)
37
+ 1080x1920 xmax -> 2160x3840 (8.29 MP, ratio drift 0.00%)
38
+ 3000x1000 xmax -> 3840x1280 (4.92 MP, ratio drift 0.00%)
39
+ 400x300 x1.5 -> 944x704 (0.66 MP, ratio drift 0.57%)
40
+ 600x200 x2 -> 1424x480 (0.68 MP, ratio drift 1.11%)
41
+ 4000x3000 x2: GPT Image cannot upscale a 4000x3000 image: its output is limited to 3840px per edge and 8.3 MP.
42
+ 3100x1000 xmax: GPT Image supports aspect ratios up to 3:1. The input is 3100x1000.
43
+ 800x600 x0.5: Scale must be greater than 1, got 0.5."
44
+ `);
45
+ });
46
+ test('ChatGPT login tiles the image until ~1.6 MP per tile reaches the target', () => {
47
+ const cases = [
48
+ { width: 992, height: 570, targetWidth: 3792 },
49
+ { width: 992, height: 570, targetWidth: 1984 },
50
+ { width: 1024, height: 1024, targetWidth: 2880 },
51
+ { width: 300, height: 200, targetWidth: 3456 },
52
+ ];
53
+ const lines = cases.map((c) => {
54
+ const grid = chooseGrid({ ...c, pixelsPerCall: 1536 * 1024 });
55
+ const tiles = planTiles({ width: c.width, height: c.height, grid });
56
+ const last = tiles[tiles.length - 1];
57
+ const covers = last.x + last.width === c.width && last.y + last.height === c.height;
58
+ return `${c.width}x${c.height} -> ${c.targetWidth}w: grid ${grid}, tile ${tiles[0].width}x${tiles[0].height}, covers ${covers}`;
59
+ });
60
+ expect('\n' + lines.join('\n')).toMatchInlineSnapshot(`
61
+ "
62
+ 992x570 -> 3792w: grid 3, tile 382x219, covers true
63
+ 992x570 -> 1984w: grid 2, tile 551x317, covers true
64
+ 1024x1024 -> 2880w: grid 3, tile 394x394, covers true
65
+ 300x200 -> 3456w: grid 1, tile 300x200, covers true"
66
+ `);
67
+ });
68
+ test('blendTiles maps each tile to the reference colors and keeps overlaps seamless', () => {
69
+ const width = 8;
70
+ const height = 4;
71
+ const reference = new Uint8Array(width * height * 3).map((_, i) => 100 + (i % 3) * 20);
72
+ // two overlapping tiles with a different global color cast each
73
+ const tile = (x, cast) => ({
74
+ x,
75
+ y: 0,
76
+ width: 5,
77
+ height,
78
+ pixels: new Uint8Array(5 * height * 3).map((_, i) => 100 + (i % 3) * 20 + cast + (i % 7)),
79
+ });
80
+ const out = blendTiles({ width, height, reference, tiles: [tile(0, 40), tile(3, -30)] });
81
+ const maxDiff = Math.max(...out.map((v, i) => Math.abs(v - reference[i])));
82
+ expect(maxDiff).toBeLessThanOrEqual(4);
83
+ // near-white areas push matched values past 255; they must clamp, not wrap to dark pixels
84
+ const bright = blendTiles({
85
+ width: 4,
86
+ height: 1,
87
+ reference: new Uint8Array([250, 250, 250, 255, 255, 255, 240, 240, 240, 255, 255, 255]),
88
+ tiles: [{ x: 0, y: 0, width: 4, height: 1, pixels: new Uint8Array([10, 10, 10, 200, 200, 200, 0, 0, 0, 255, 255, 255]) }],
89
+ });
90
+ expect(Math.min(...bright)).toBeGreaterThan(200);
91
+ });
92
+ });
@@ -0,0 +1,39 @@
1
+ export interface VoiceChangeOptions {
2
+ /** Raw audio bytes of the recording to re-speak. */
3
+ audio: Uint8Array;
4
+ /** Target voice ID from the provider's voice library (or a cloned voice). */
5
+ voice: string;
6
+ provider: VoiceChangeProvider;
7
+ /** Provider model ID. Defaults to the provider's default model. */
8
+ model?: string;
9
+ /** Original filename for MIME type inference. */
10
+ filename?: string;
11
+ /** ElevenLabs: remove background noise from the input before conversion. */
12
+ removeBackgroundNoise?: boolean;
13
+ }
14
+ export interface VoiceChangeResult {
15
+ audio: Uint8Array;
16
+ mediaType: string;
17
+ provider: VoiceChangeProvider;
18
+ model?: string;
19
+ }
20
+ declare function changeVoiceElevenLabs(opts: VoiceChangeOptions): Promise<Error | VoiceChangeResult>;
21
+ declare function changeVoiceCartesia(opts: VoiceChangeOptions): Promise<Error | VoiceChangeResult>;
22
+ export declare const VOICE_CHANGE_PROVIDERS: {
23
+ elevenlabs: {
24
+ models: string[];
25
+ defaultModel: string;
26
+ supportsRemoveBackgroundNoise: true;
27
+ change: typeof changeVoiceElevenLabs;
28
+ };
29
+ cartesia: {
30
+ models: never[];
31
+ supportsRemoveBackgroundNoise: false;
32
+ change: typeof changeVoiceCartesia;
33
+ };
34
+ };
35
+ export type VoiceChangeProvider = keyof typeof VOICE_CHANGE_PROVIDERS;
36
+ export declare const VOICE_CHANGE_PROVIDER_IDS: [VoiceChangeProvider, ...VoiceChangeProvider[]];
37
+ export declare function changeVoiceUncached(opts: VoiceChangeOptions): Promise<Error | VoiceChangeResult>;
38
+ export {};
39
+ //# sourceMappingURL=voice-change-generate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"voice-change-generate.d.ts","sourceRoot":"","sources":["../../src/cli/voice-change-generate.ts"],"names":[],"mappings":"AAkBA,MAAM,WAAW,kBAAkB;IACjC,oDAAoD;IACpD,KAAK,EAAE,UAAU,CAAA;IACjB,6EAA6E;IAC7E,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,mBAAmB,CAAA;IAC7B,mEAAmE;IACnE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,4EAA4E;IAC5E,qBAAqB,CAAC,EAAE,OAAO,CAAA;CAChC;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,UAAU,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,mBAAmB,CAAA;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAwCD,iBAAe,qBAAqB,CAClC,IAAI,EAAE,kBAAkB,GACvB,OAAO,CAAC,KAAK,GAAG,iBAAiB,CAAC,CAwBpC;AAID,iBAAe,mBAAmB,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,KAAK,GAAG,iBAAiB,CAAC,CA4B/F;AAID,eAAO,MAAM,sBAAsB;;;;;;;;;;;;CAYM,CAAA;AAEzC,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,sBAAsB,CAAA;AAErE,eAAO,MAAM,yBAAyB,EAA0C,CAC9E,mBAAmB,EACnB,GAAG,mBAAmB,EAAE,CACzB,CAAA;AAID,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,kBAAkB,GACvB,OAAO,CAAC,KAAK,GAAG,iBAAiB,CAAC,CAsBpC"}
@@ -0,0 +1,123 @@
1
+ // Voice change (speech-to-speech): re-speak a recording with another voice,
2
+ // keeping its timing, emotion and delivery. Plain multipart HTTP calls, no SDK.
3
+ // Returns Error | Result (errore style) instead of throwing.
4
+ //
5
+ // Each provider is one entry in VOICE_CHANGE_PROVIDERS. To add a provider,
6
+ // add an entry with its models and a change() function.
7
+ //
8
+ // ElevenLabs: POST https://api.elevenlabs.io/v1/voice-changer/{voice_id}
9
+ // Docs: https://elevenlabs.io/docs/api-reference/speech-to-speech/convert
10
+ //
11
+ // Cartesia: POST https://api.cartesia.ai/voice-changer/bytes
12
+ // Docs: https://docs.cartesia.ai/api-reference/voice-changer/bytes
13
+ import { injectCredentialsToEnv } from './credentials.js';
14
+ import { mimeTypeFromFilename } from './clone-generate.js';
15
+ import { ValidationError } from './models.js';
16
+ // ─── shared helpers ─────────────────────────────────────────────────────────
17
+ function audioFile(opts) {
18
+ const mime = mimeTypeFromFilename(opts.filename);
19
+ const ext = opts.filename?.split('.').pop() ?? 'mp3';
20
+ return new File([Buffer.from(opts.audio)], `input.${ext}`, { type: mime });
21
+ }
22
+ async function readAudioResponse(label, response) {
23
+ if (response instanceof Error)
24
+ return response;
25
+ if (!response.ok) {
26
+ const errorText = await response.text().catch(() => '');
27
+ return new Error(`${label} voice change API error ${response.status}: ${errorText || response.statusText}`);
28
+ }
29
+ const bytes = await response.arrayBuffer().catch((cause) => new Error(`${label} voice change response could not be read`, { cause }));
30
+ if (bytes instanceof Error)
31
+ return bytes;
32
+ if (bytes.byteLength === 0)
33
+ return new Error(`${label} voice change API returned empty audio`);
34
+ return {
35
+ audio: new Uint8Array(bytes),
36
+ mediaType: response.headers.get('content-type')?.split(';')[0] ?? 'audio/mpeg',
37
+ };
38
+ }
39
+ // ─── ElevenLabs ─────────────────────────────────────────────────────────────
40
+ async function changeVoiceElevenLabs(opts) {
41
+ const apiKey = process.env['ELEVENLABS_API_KEY'];
42
+ if (!apiKey) {
43
+ return new Error('ELEVENLABS_API_KEY not found. Run: egaki login --provider elevenlabs\n' +
44
+ 'Get your key at https://elevenlabs.io/app/settings/api-keys');
45
+ }
46
+ const formData = new FormData();
47
+ formData.append('audio', audioFile(opts));
48
+ if (opts.model)
49
+ formData.append('model_id', opts.model);
50
+ if (opts.removeBackgroundNoise)
51
+ formData.append('remove_background_noise', 'true');
52
+ const url = `https://api.elevenlabs.io/v1/voice-changer/${encodeURIComponent(opts.voice)}?output_format=mp3_44100_128`;
53
+ const response = await fetch(url, {
54
+ method: 'POST',
55
+ headers: { 'xi-api-key': apiKey },
56
+ body: formData,
57
+ }).catch((cause) => new Error('ElevenLabs voice change request failed', { cause }));
58
+ const result = await readAudioResponse('ElevenLabs', response);
59
+ if (result instanceof Error)
60
+ return result;
61
+ return { ...result, provider: 'elevenlabs', model: opts.model };
62
+ }
63
+ // ─── Cartesia ───────────────────────────────────────────────────────────────
64
+ async function changeVoiceCartesia(opts) {
65
+ const apiKey = process.env['CARTESIA_API_KEY'];
66
+ if (!apiKey) {
67
+ return new Error('CARTESIA_API_KEY not found. Run: egaki login --provider cartesia\n' +
68
+ 'Get your key at https://play.cartesia.ai/keys');
69
+ }
70
+ const formData = new FormData();
71
+ formData.append('clip', audioFile(opts));
72
+ formData.append('voice[id]', opts.voice);
73
+ formData.append('output_format[container]', 'mp3');
74
+ formData.append('output_format[sample_rate]', '44100');
75
+ formData.append('output_format[bit_rate]', '128000');
76
+ const response = await fetch('https://api.cartesia.ai/voice-changer/bytes', {
77
+ method: 'POST',
78
+ headers: {
79
+ 'Cartesia-Version': '2026-03-01',
80
+ 'Authorization': `Bearer ${apiKey}`,
81
+ },
82
+ body: formData,
83
+ }).catch((cause) => new Error('Cartesia voice change request failed', { cause }));
84
+ const result = await readAudioResponse('Cartesia', response);
85
+ if (result instanceof Error)
86
+ return result;
87
+ return { ...result, provider: 'cartesia' };
88
+ }
89
+ // ─── provider registry ──────────────────────────────────────────────────────
90
+ export const VOICE_CHANGE_PROVIDERS = {
91
+ elevenlabs: {
92
+ models: ['eleven_multilingual_sts_v2', 'eleven_english_sts_v2'],
93
+ defaultModel: 'eleven_multilingual_sts_v2',
94
+ supportsRemoveBackgroundNoise: true,
95
+ change: changeVoiceElevenLabs,
96
+ },
97
+ cartesia: {
98
+ models: [],
99
+ supportsRemoveBackgroundNoise: false,
100
+ change: changeVoiceCartesia,
101
+ },
102
+ };
103
+ export const VOICE_CHANGE_PROVIDER_IDS = Object.keys(VOICE_CHANGE_PROVIDERS);
104
+ // ─── main entry point ───────────────────────────────────────────────────────
105
+ export async function changeVoiceUncached(opts) {
106
+ injectCredentialsToEnv();
107
+ const entry = VOICE_CHANGE_PROVIDERS[opts.provider];
108
+ if (opts.audio.length === 0) {
109
+ return new ValidationError('No audio data provided. Pass an audio file or use --stdin.');
110
+ }
111
+ if (!opts.voice || opts.voice.trim().length === 0) {
112
+ return new ValidationError('Target voice is required. Use --voice <voice-id>.');
113
+ }
114
+ if (opts.model && !entry.models.includes(opts.model)) {
115
+ return new ValidationError(entry.models.length === 0
116
+ ? `${opts.provider} voice change has no model option. Remove -m.`
117
+ : `Unknown ${opts.provider} voice change model "${opts.model}". Supported: ${entry.models.join(', ')}`);
118
+ }
119
+ if (opts.removeBackgroundNoise && !entry.supportsRemoveBackgroundNoise) {
120
+ return new ValidationError(`--remove-background-noise is not supported by ${opts.provider}.`);
121
+ }
122
+ return entry.change({ ...opts, voice: opts.voice.trim(), model: opts.model ?? entry.defaultModel });
123
+ }
@@ -1,48 +1,13 @@
1
1
  import { type CSSProperties, type ReactNode } from 'react';
2
- export interface AngledScreenProps {
2
+ import { type AngledScreenParams } from '@egaki/angled-screen/src';
3
+ /** Shader params (perspective, rotateX/Y/Z, bokeh, fog...) are documented on
4
+ * `AngledScreenParams` in @egaki/angled-screen. */
5
+ export interface AngledScreenProps extends Partial<AngledScreenParams> {
3
6
  children: ReactNode;
4
- /** CSS perspective distance in px. Smaller = more dramatic. Default 1200. */
5
- perspective?: number;
6
- /** X-axis rotation in degrees (tilts top/bottom). Default 8. */
7
- rotateX?: number;
8
- /** Y-axis rotation in degrees (angles left/right). Default -12. */
9
- rotateY?: number;
10
- /** Z-axis rotation in degrees. Default 0. */
11
- rotateZ?: number;
12
- /** Shift the plane horizontally in px. Positive = right. Default 0. */
13
- translateX?: number;
14
- /** Push the plane forward/back in px. Positive = closer/larger. Default 0. */
15
- translateZ?: number;
16
- /** Enable depth-based bokeh blur. Default true. */
17
- bokeh?: boolean;
18
- /** Aperture — bigger values for shallower depth of field. Blur grows
19
- * linearly with distance from the focus plane, scaled by this.
20
- * Same semantics as Three's BokehPass. Default 0.5 (plugin value). */
21
- aperture?: number;
22
- /** Max blur in screen-UV units (fraction of frame size), the saturation
23
- * cap of the blur. Same as Three's `maxblur`. Default 0.12 (plugin value). */
24
- maxBlur?: number;
25
- /** Focus distance as a fraction of `perspective`. Default 0 = auto: focus
26
- * tracks the nearest visible point of the plane, so the near side stays
27
- * sharp and blur ramps progressively toward the far edge only. */
28
- focus?: number;
29
- /** Fog toward backgroundColor at the far depth (0-1). Default 0.35. */
30
- fog?: number;
31
- /** Film grain intensity. Default 0.02. */
32
- grainIntensity?: number;
33
- /** Chromatic aberration strength. RGB channels separate along the radial
34
- * axis from frame center, scaled up by local blur so fringing reads
35
- * strongest in the bokeh (like real lens CA on the reference photos).
36
- * 0 = off. Default 0.45. */
37
- chromaticAberration?: number;
38
- /** Background color behind the tilted screen. Default '#000000'. */
39
- backgroundColor?: string;
40
7
  /** Width of the inner content wrapper. Default '80%'. */
41
8
  width?: string | number;
42
9
  /** Height of the inner content wrapper. Default 'auto'. */
43
10
  height?: string | number;
44
- /** Render normalized depth as grayscale for debugging the DOF ramp. */
45
- debug?: boolean;
46
11
  /** Optional inline style on the outer container. */
47
12
  style?: CSSProperties;
48
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"angled-screen-shader.d.ts","sourceRoot":"","sources":["../../src/vite/angled-screen-shader.tsx"],"names":[],"mappings":"AA4EA,OAAO,EAAwC,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAKhG,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,SAAS,CAAA;IAGnB,6EAA6E;IAC7E,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,gEAAgE;IAChE,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,mEAAmE;IACnE,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,6CAA6C;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,uEAAuE;IACvE,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,MAAM,CAAA;IAGnB,mDAAmD;IACnD,KAAK,CAAC,EAAE,OAAO,CAAA;IACf;;2EAEuE;IACvE,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;mFAC+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;uEAEmE;IACnE,KAAK,CAAC,EAAE,MAAM,CAAA;IAGd,uEAAuE;IACvE,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,0CAA0C;IAC1C,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;;iCAG6B;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAE5B,oEAAoE;IACpE,eAAe,CAAC,EAAE,MAAM,CAAA;IAGxB,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,2DAA2D;IAC3D,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAExB,uEAAuE;IACvE,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf,oDAAoD;IACpD,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB;AAwPD,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,+BA8WpD"}
1
+ {"version":3,"file":"angled-screen-shader.d.ts","sourceRoot":"","sources":["../../src/vite/angled-screen-shader.tsx"],"names":[],"mappings":"AAoDA,OAAO,EAAwC,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAEhG,OAAO,EAGL,KAAK,kBAAkB,EAExB,MAAM,0BAA0B,CAAA;AAGjC;oDACoD;AACpD,MAAM,WAAW,iBAAkB,SAAQ,OAAO,CAAC,kBAAkB,CAAC;IACpE,QAAQ,EAAE,SAAS,CAAA;IACnB,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,2DAA2D;IAC3D,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,oDAAoD;IACpD,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB;AAMD,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,+BA6NpD"}