@swf2es/web 0.0.0-stage → 0.1.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 (58) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +43 -2
  3. package/dist/air-files.d.ts +40 -0
  4. package/dist/air-files.d.ts.map +1 -0
  5. package/dist/air-files.js +304 -0
  6. package/dist/air-files.js.map +1 -0
  7. package/dist/air-items.d.ts +28 -0
  8. package/dist/air-items.d.ts.map +1 -0
  9. package/dist/air-items.js +186 -0
  10. package/dist/air-items.js.map +1 -0
  11. package/dist/air.d.ts +81 -0
  12. package/dist/air.d.ts.map +1 -0
  13. package/dist/air.js +409 -0
  14. package/dist/air.js.map +1 -0
  15. package/dist/config.d.ts +123 -0
  16. package/dist/config.d.ts.map +1 -0
  17. package/dist/config.js +127 -0
  18. package/dist/config.js.map +1 -0
  19. package/dist/element.d.ts +80 -0
  20. package/dist/element.d.ts.map +1 -0
  21. package/dist/element.js +725 -0
  22. package/dist/element.js.map +1 -0
  23. package/dist/external.d.ts +49 -0
  24. package/dist/external.d.ts.map +1 -0
  25. package/dist/external.js +268 -0
  26. package/dist/external.js.map +1 -0
  27. package/dist/index.d.ts +9 -0
  28. package/dist/index.d.ts.map +1 -0
  29. package/dist/index.js +18 -0
  30. package/dist/index.js.map +1 -0
  31. package/dist/layout.d.ts +47 -0
  32. package/dist/layout.d.ts.map +1 -0
  33. package/dist/layout.js +75 -0
  34. package/dist/layout.js.map +1 -0
  35. package/dist/playback.d.ts +107 -0
  36. package/dist/playback.d.ts.map +1 -0
  37. package/dist/playback.js +308 -0
  38. package/dist/playback.js.map +1 -0
  39. package/dist/replace.d.ts +22 -0
  40. package/dist/replace.d.ts.map +1 -0
  41. package/dist/replace.js +141 -0
  42. package/dist/replace.js.map +1 -0
  43. package/dist/stage3d.d.ts +25 -0
  44. package/dist/stage3d.d.ts.map +1 -0
  45. package/dist/stage3d.js +90 -0
  46. package/dist/stage3d.js.map +1 -0
  47. package/package.json +38 -3
  48. package/src/air-files.ts +371 -0
  49. package/src/air-items.ts +217 -0
  50. package/src/air.ts +497 -0
  51. package/src/config.ts +244 -0
  52. package/src/element.ts +902 -0
  53. package/src/external.ts +338 -0
  54. package/src/index.ts +33 -0
  55. package/src/layout.ts +127 -0
  56. package/src/playback.ts +388 -0
  57. package/src/replace.ts +166 -0
  58. package/src/stage3d.ts +112 -0
package/dist/config.js ADDED
@@ -0,0 +1,127 @@
1
+ // What every player on a page shares, set once: where the compiler and
2
+ // the libraries come from, how sockets reach their servers, whether
3
+ // compiled code is cached. Each is fetched once a page, on first use.
4
+ import { createCodegen } from "@swf2es/codegen";
5
+ import { airLibrary, builtinLibrary, playerglobalLibrary, } from "@swf2es/player";
6
+ import { indexedDbModuleCache } from "@swf2es/player-hosts/indexeddb";
7
+ import { webSocketSocketHost } from "@swf2es/player-hosts/websocket";
8
+ let config = {};
9
+ let codegenModule = null;
10
+ let libraryBytes = null;
11
+ let moduleCache = null;
12
+ /**
13
+ * Set the page's configuration, once, before the first player loads: what
14
+ * is fetched is fetched once with the configuration of then. A second call
15
+ * merges into the first, for a page whose parts each set their own; what
16
+ * was already fetched stays.
17
+ */
18
+ export function configure(options) {
19
+ config = { ...config, ...options };
20
+ }
21
+ /** The configuration in force. */
22
+ export function configuration() {
23
+ return config;
24
+ }
25
+ /**
26
+ * A compiler for one player. The page fetches and compiles codegen.wasm
27
+ * once and every player instantiates that module: a Codegen holds one
28
+ * player's domains, which a second player's reset would take over.
29
+ */
30
+ export async function codegenForPlayer() {
31
+ return createCodegen(await compiledCodegen());
32
+ }
33
+ /** codegen.wasm compiled, once a page. */
34
+ async function compiledCodegen() {
35
+ codegenModule ??= (async () => {
36
+ const url = config.codegen ?? import.meta.resolve("@swf2es/codegen/codegen.wasm");
37
+ const response = await fetch(url);
38
+ if (!response.ok) {
39
+ throw new Error(`swf2es: codegen.wasm: ${response.status} from ${url}`);
40
+ }
41
+ return WebAssembly.compileStreaming(response);
42
+ })();
43
+ // A failed fetch is not kept: the next player tries again.
44
+ return codegenModule.catch((error) => {
45
+ codegenModule = null;
46
+ throw error;
47
+ });
48
+ }
49
+ /**
50
+ * The Web Workers of one player, whose release (as the player goes) lets
51
+ * the page's workers started ahead go once no player uses them. `ahead`
52
+ * starts some ahead, for a SWF that may start a worker and wait for it at
53
+ * once, as Crossbridge's do; others start one when the SWF asks.
54
+ */
55
+ export async function workerHostForPlayer(ahead) {
56
+ // Loaded only where a SWF has workers: a page's import map that names no
57
+ // @swf2es/player-hosts/workers still loads the element.
58
+ const { webWorkerHost } = await import("@swf2es/player-hosts/workers");
59
+ return webWorkerHost({
60
+ codegen: await compiledCodegen(),
61
+ url: config.workerUrl,
62
+ spares: ahead ? undefined : 0,
63
+ });
64
+ }
65
+ /** The libraries a player loads: builtin and playerglobal, and AIR's after them for an AIR application (`air`). */
66
+ export async function playerLibraries(air) {
67
+ const abcs = await libraries();
68
+ return air ? [...abcs, airLibrary] : abcs;
69
+ }
70
+ /**
71
+ * builtin.abc and playerglobal: the shipped ones, or those configured,
72
+ * fetched once a page; every player reads the same bytes.
73
+ */
74
+ export function libraries() {
75
+ const urls = config.libraries ?? {};
76
+ libraryBytes ??= Promise.all([
77
+ [urls.builtin, builtinLibrary],
78
+ [urls.playerglobal, playerglobalLibrary],
79
+ ].map(async ([url, shipped]) => {
80
+ if (url === undefined) {
81
+ return shipped;
82
+ }
83
+ const response = await fetch(url);
84
+ // A missing one would reach codegen as an empty ABC, refused as if the SWF's.
85
+ if (!response.ok) {
86
+ throw new Error(`swf2es: ${response.status} for the library at ${url}`);
87
+ }
88
+ return new Uint8Array(await response.arrayBuffer());
89
+ })).catch((error) => {
90
+ libraryBytes = null;
91
+ throw error;
92
+ });
93
+ return libraryBytes;
94
+ }
95
+ /** flash.net.Socket's host: the embedder's, through the configured relays, or none. */
96
+ export function socketHost() {
97
+ if (config.sockets) {
98
+ return config.sockets;
99
+ }
100
+ const proxy = config.socketProxy;
101
+ if (!proxy) {
102
+ return undefined;
103
+ }
104
+ const urlFor = typeof proxy === "function"
105
+ ? proxy
106
+ : (host, port) => proxy.find((p) => p.host === host && p.port === port)?.proxyUrl ?? null;
107
+ const relay = webSocketSocketHost((host, port) => urlFor(host, port) ?? "");
108
+ return {
109
+ connect(host, port, events) {
110
+ if (urlFor(host, port) === null) {
111
+ // Refused, as Flash reports a connection no server took.
112
+ queueMicrotask(() => events.error("Error #2031: Socket Error."));
113
+ return { send() { }, close() { } };
114
+ }
115
+ return relay.connect(host, port, events);
116
+ },
117
+ };
118
+ }
119
+ /** What Scripting is given for `cache`: one IndexedDB module cache, shared by every player on the page. */
120
+ export function moduleCacheOptions() {
121
+ if (!config.cache || typeof indexedDB === "undefined") {
122
+ return {};
123
+ }
124
+ moduleCache ??= indexedDbModuleCache();
125
+ return { moduleCache };
126
+ }
127
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,oEAAoE;AACpE,sEAAsE;AACtE,OAAO,EAAgB,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAEL,UAAU,EACV,cAAc,EAOd,mBAAmB,GAEpB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAsFrE,IAAI,MAAM,GAAkB,EAAE,CAAC;AAC/B,IAAI,aAAa,GAAuC,IAAI,CAAC;AAC7D,IAAI,YAAY,GAAiC,IAAI,CAAC;AACtD,IAAI,WAAW,GAAuB,IAAI,CAAC;AAE3C;;;;;GAKG;AACH,MAAM,UAAU,SAAS,CAAC,OAAsB;IAC9C,MAAM,GAAG,EAAE,GAAG,MAAM,EAAE,GAAG,OAAO,EAAE,CAAC;AACrC,CAAC;AAED,kCAAkC;AAClC,MAAM,UAAU,aAA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p } from "./air.js";
4
+ export declare const TAG = "swf2es-player";
5
+ /** What `load` takes: a URL, relative to the page, or the SWF's bytes. */
6
+ export type SwfSource = string | URL | ArrayBuffer | Uint8Array;
7
+ /** In node, which has no DOM, the module still loads, for its other exports. */
8
+ declare const ElementBase: typeof HTMLElement;
9
+ /** A colour as Flash's bgcolor gives it, "#RRGGBB" or "RRGGBB"; null for none or another form. */
10
+ export declare function parseColor(value: string | null): number | null;
11
+ /** FlashVars, "name=value&...", URL-encoded, as Flash read them. */
12
+ export declare function parseFlashVars(value: string | null): Record<string, string>;
13
+ /**
14
+ * Whether a SWF from `swfUrl` may script its page, by allowScriptAccess as
15
+ * Flash read it: "always", "never", or by default "sameDomain", the SWF's
16
+ * origin the page's.
17
+ */
18
+ export declare function scriptAccess(value: string | null, swfUrl: string, pageUrl: string): boolean;
19
+ /**
20
+ * Whether a SWF's ActionScript names WorkerDomain, in its ABCs' strings:
21
+ * one that does may start a worker and wait for it in the same script,
22
+ * which only a Web Worker started ahead can answer.
23
+ */
24
+ export declare function namesWorkers(swf: Swf): boolean;
25
+ export declare class Swf2esPlayerElement extends ElementBase {
26
+ #private;
27
+ static readonly observedAttributes: string[];
28
+ constructor();
29
+ /** Resolves once the SWF loading, or the next one asked for, plays; rejects if it fails. */
30
+ get ready(): Promise<void>;
31
+ /** The player playing, for a host that needs more than the element gives; null before a load and after destroy. */
32
+ get player(): Player | null;
33
+ /**
34
+ * The WebGL context the player draws with, for a host that measures it (the demo site counts its
35
+ * draw calls); null before a load and after destroy. A lost context comes back as the same
36
+ * object, its extensions anew.
37
+ */
38
+ get gl(): WebGL2RenderingContext | null;
39
+ get src(): string;
40
+ set src(value: string);
41
+ connectedCallback(): void;
42
+ disconnectedCallback(): void;
43
+ attributeChangedCallback(name: string, old: string | null, value: string | null): void;
44
+ /**
45
+ * Play `source` in place of what plays now: a URL, relative to the page,
46
+ * or the SWF's bytes. Resolves once it plays, and rejects with what kept
47
+ * it from playing, as `ready` does; a load asked for before it played
48
+ * settles it in its place.
49
+ */
50
+ load(source: SwfSource): Promise<void>;
51
+ /**
52
+ * Play `app`, an AIR application (`openAirApp`), in place of what plays
53
+ * now, as adl runs it: its descriptor's content SWF under AIR's API and
54
+ * its application sandbox, `args` its launch's arguments, this element
55
+ * its window. What it writes outside its directory is kept in IndexedDB
56
+ * by its id for the next time it plays, unless `keepFiles` is false.
57
+ * Resolves and rejects as `load` does. Its NativeApplication's exit stops
58
+ * it, and the element dispatches `airexit` with the code.
59
+ */
60
+ loadAir(app: AirApp, options?: {
61
+ arguments?: readonly string[];
62
+ keepFiles?: boolean;
63
+ }): Promise<void>;
64
+ /**
65
+ * Stop the SWF and let go of everything it holds: its frames, sounds and
66
+ * audio device, its open sockets and fetches, the renderer and its GL
67
+ * context, the pointer, the keys, and its callbacks on the element. The
68
+ * element stays, and may load another.
69
+ */
70
+ destroy(): void;
71
+ }
72
+ /**
73
+ * Define the element as `name`, once; what a page or extension calls
74
+ * before using it, if index.js has not. Whether it is defined: not where
75
+ * there is no registry, as in node or an extension's isolated world,
76
+ * whose `customElements` is null.
77
+ */
78
+ export declare function defineElement(name?: string): boolean;
79
+ export {};
80
+ //# sourceMappingURL=element.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"element.d.ts","sourceRoot":"","sources":["../src/element.ts"],"names":[],"mappings":"AAGA,OAAO,EAA+B,KAAK,GAAG,EAAQ,MAAM,gBAAgB,CAAC;AAC7E,OAAO,EAOL,MAAM,EAGP,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAmB,MAAM,EAAyC,MAAM,UAAU,CAAC;AAgB1F,eAAO,MAAM,GAAG,kBAAkB,CAAC;AAEnC,0EAA0E;AAC1E,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,GAAG,GAAG,WAAW,GAAG,UAAU,CAAC;AAEhE,gFAAgF;AAChF,QAAA,MAAM,WAAW,EAA2C,OAAO,WAAW,CAAC;AA6F/E,kGAAkG;AAClG,wBAAgB,UAAU,CAAC,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