@reactpy/client 0.3.2 → 1.0.1

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/dist/client.d.ts +29 -0
  2. package/dist/client.d.ts.map +1 -0
  3. package/dist/client.js +60 -0
  4. package/dist/client.js.map +1 -0
  5. package/dist/components.d.ts +3 -4
  6. package/dist/components.d.ts.map +1 -1
  7. package/dist/components.js +38 -37
  8. package/dist/components.js.map +1 -1
  9. package/dist/index.d.ts +7 -3
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +7 -3
  12. package/dist/index.js.map +1 -1
  13. package/dist/logger.d.ts +1 -0
  14. package/dist/logger.d.ts.map +1 -1
  15. package/dist/logger.js +1 -0
  16. package/dist/logger.js.map +1 -1
  17. package/dist/mount.d.ts +2 -2
  18. package/dist/mount.d.ts.map +1 -1
  19. package/dist/mount.js +29 -4
  20. package/dist/mount.js.map +1 -1
  21. package/dist/types.d.ts +126 -0
  22. package/dist/types.d.ts.map +1 -0
  23. package/dist/types.js +1 -0
  24. package/dist/types.js.map +1 -0
  25. package/dist/vdom.d.ts +8 -0
  26. package/dist/vdom.d.ts.map +1 -0
  27. package/dist/vdom.js +174 -0
  28. package/dist/vdom.js.map +1 -0
  29. package/dist/websocket.d.ts +6 -0
  30. package/dist/websocket.d.ts.map +1 -0
  31. package/dist/websocket.js +57 -0
  32. package/dist/websocket.js.map +1 -0
  33. package/package.json +23 -22
  34. package/src/client.ts +83 -0
  35. package/src/components.tsx +40 -46
  36. package/src/index.ts +7 -3
  37. package/src/logger.ts +1 -0
  38. package/src/mount.tsx +37 -5
  39. package/src/types.ts +152 -0
  40. package/src/vdom.tsx +256 -0
  41. package/src/websocket.ts +75 -0
  42. package/tsconfig.json +3 -3
  43. package/tsconfig.tsbuildinfo +1 -0
  44. package/dist/messages.d.ts +0 -15
  45. package/dist/messages.d.ts.map +0 -1
  46. package/dist/messages.js +0 -2
  47. package/dist/messages.js.map +0 -1
  48. package/dist/reactpy-client.d.ts +0 -94
  49. package/dist/reactpy-client.d.ts.map +0 -1
  50. package/dist/reactpy-client.js +0 -128
  51. package/dist/reactpy-client.js.map +0 -1
  52. package/dist/reactpy-vdom.d.ts +0 -54
  53. package/dist/reactpy-vdom.d.ts.map +0 -1
  54. package/dist/reactpy-vdom.js +0 -141
  55. package/dist/reactpy-vdom.js.map +0 -1
  56. package/src/messages.ts +0 -17
  57. package/src/reactpy-client.ts +0 -264
  58. package/src/reactpy-vdom.tsx +0 -261
package/src/types.ts ADDED
@@ -0,0 +1,152 @@
1
+ import type { ComponentType } from "preact";
2
+
3
+ // #### CONNECTION TYPES ####
4
+
5
+ export type ReconnectOptions = {
6
+ interval: number;
7
+ maxInterval: number;
8
+ maxRetries: number;
9
+ backoffMultiplier: number;
10
+ };
11
+
12
+ export type CreateReconnectingWebSocketProps = {
13
+ url: URL;
14
+ readyPromise: Promise<void>;
15
+ onMessage: (message: MessageEvent<any>) => void;
16
+ onOpen?: () => void;
17
+ onClose?: () => void;
18
+ interval: number;
19
+ maxInterval: number;
20
+ maxRetries: number;
21
+ backoffMultiplier: number;
22
+ };
23
+
24
+ export type ReactPyUrls = {
25
+ componentUrl: URL;
26
+ jsModulesPath: string;
27
+ };
28
+
29
+ export type GenericReactPyClientProps = {
30
+ urls: ReactPyUrls;
31
+ reconnectOptions: ReconnectOptions;
32
+ mountElement: HTMLElement;
33
+ };
34
+
35
+ export type MountProps = {
36
+ mountElement: HTMLElement;
37
+ pathPrefix: string;
38
+ componentPath?: string;
39
+ reconnectInterval?: number;
40
+ reconnectMaxInterval?: number;
41
+ reconnectMaxRetries?: number;
42
+ reconnectBackoffMultiplier?: number;
43
+ };
44
+
45
+ // #### COMPONENT TYPES ####
46
+
47
+ export type ReactPyComponent = ComponentType<{ model: ReactPyVdom }>;
48
+
49
+ export type ReactPyVdom = {
50
+ tagName: string;
51
+ key?: string;
52
+ attributes?: { [key: string]: string };
53
+ children?: (ReactPyVdom | string)[];
54
+ error?: string;
55
+ eventHandlers?: { [key: string]: ReactPyVdomEventHandler };
56
+ inlineJavaScript?: { [key: string]: string };
57
+ importSource?: ReactPyVdomImportSource;
58
+ };
59
+
60
+ export type ReactPyVdomEventHandler = {
61
+ target: string;
62
+ preventDefault?: boolean;
63
+ stopPropagation?: boolean;
64
+ };
65
+
66
+ export type ReactPyVdomImportSource = {
67
+ source: string;
68
+ sourceType?: "URL" | "NAME";
69
+ fallback?: string | ReactPyVdom;
70
+ unmountBeforeUpdate?: boolean;
71
+ };
72
+
73
+ export type ReactPyModule = {
74
+ bind: (
75
+ node: HTMLElement,
76
+ context: ReactPyModuleBindingContext,
77
+ ) => ReactPyModuleBinding;
78
+ } & { [key: string]: any };
79
+
80
+ export type ReactPyModuleBindingContext = {
81
+ sendMessage: ReactPyClientInterface["sendMessage"];
82
+ onMessage: ReactPyClientInterface["onMessage"];
83
+ };
84
+
85
+ export type ReactPyModuleBinding = {
86
+ create: (
87
+ type: any,
88
+ props?: any,
89
+ children?: (any | string | ReactPyVdom)[],
90
+ ) => any;
91
+ render: (element: any) => void;
92
+ unmount: () => void;
93
+ };
94
+
95
+ export type BindImportSource = (
96
+ node: HTMLElement,
97
+ ) => ImportSourceBinding | null;
98
+
99
+ export type ImportSourceBinding = {
100
+ render: (model: ReactPyVdom) => void;
101
+ unmount: () => void;
102
+ };
103
+
104
+ // #### MESSAGE TYPES ####
105
+
106
+ export type LayoutUpdateMessage = {
107
+ type: "layout-update";
108
+ path: string;
109
+ model: ReactPyVdom;
110
+ };
111
+
112
+ export type LayoutEventMessage = {
113
+ type: "layout-event";
114
+ target: string;
115
+ data: any;
116
+ };
117
+
118
+ export type IncomingMessage = LayoutUpdateMessage;
119
+ export type OutgoingMessage = LayoutEventMessage;
120
+ export type Message = IncomingMessage | OutgoingMessage;
121
+
122
+ // #### INTERFACES ####
123
+
124
+ /**
125
+ * A client for communicating with a ReactPy server.
126
+ */
127
+ export interface ReactPyClientInterface {
128
+ /**
129
+ * Register a handler for a message type.
130
+ *
131
+ * The first time this is called, the client will be considered ready.
132
+ *
133
+ * @param type The type of message to handle.
134
+ * @param handler The handler to call when a message of the given type is received.
135
+ * @returns A function to unregister the handler.
136
+ */
137
+ onMessage(type: string, handler: (message: any) => void): () => void;
138
+
139
+ /**
140
+ * Send a message to the server.
141
+ *
142
+ * @param message The message to send. Messages must have a `type` property.
143
+ */
144
+ sendMessage(message: any): void;
145
+
146
+ /**
147
+ * Load a module from the server.
148
+ * @param moduleName The name of the module to load.
149
+ * @returns A promise that resolves to the module.
150
+ */
151
+ loadModule(moduleName: string): Promise<ReactPyModule>;
152
+ }
package/src/vdom.tsx ADDED
@@ -0,0 +1,256 @@
1
+ import type { ReactPyClientInterface } from "./types";
2
+ import eventToObject from "event-to-object";
3
+ import type {
4
+ ReactPyVdom,
5
+ ReactPyVdomImportSource,
6
+ ReactPyVdomEventHandler,
7
+ ReactPyModule,
8
+ BindImportSource,
9
+ ReactPyModuleBinding,
10
+ } from "./types";
11
+ import log from "./logger";
12
+
13
+ export async function loadImportSource(
14
+ vdomImportSource: ReactPyVdomImportSource,
15
+ client: ReactPyClientInterface,
16
+ ): Promise<BindImportSource> {
17
+ let module: ReactPyModule;
18
+ if (vdomImportSource.sourceType === "URL") {
19
+ module = await import(vdomImportSource.source);
20
+ } else {
21
+ module = await client.loadModule(vdomImportSource.source);
22
+ }
23
+ if (typeof module.bind !== "function") {
24
+ throw new Error(
25
+ `${vdomImportSource.source} did not export a function 'bind'`,
26
+ );
27
+ }
28
+
29
+ return (node: HTMLElement) => {
30
+ const binding = module.bind(node, {
31
+ sendMessage: client.sendMessage,
32
+ onMessage: client.onMessage,
33
+ });
34
+ if (
35
+ !(
36
+ typeof binding.create === "function" &&
37
+ typeof binding.render === "function" &&
38
+ typeof binding.unmount === "function"
39
+ )
40
+ ) {
41
+ log.error(`${vdomImportSource.source} returned an impropper binding`);
42
+ return null;
43
+ }
44
+
45
+ return {
46
+ render: (model) =>
47
+ binding.render(
48
+ createImportSourceElement({
49
+ client,
50
+ module,
51
+ binding,
52
+ model,
53
+ currentImportSource: vdomImportSource,
54
+ }),
55
+ ),
56
+ unmount: binding.unmount,
57
+ };
58
+ };
59
+ }
60
+
61
+ function createImportSourceElement(props: {
62
+ client: ReactPyClientInterface;
63
+ module: ReactPyModule;
64
+ binding: ReactPyModuleBinding;
65
+ model: ReactPyVdom;
66
+ currentImportSource: ReactPyVdomImportSource;
67
+ }): any {
68
+ let type: any;
69
+ if (props.model.importSource) {
70
+ if (
71
+ !isImportSourceEqual(props.currentImportSource, props.model.importSource)
72
+ ) {
73
+ log.error(
74
+ "Parent element import source " +
75
+ stringifyImportSource(props.currentImportSource) +
76
+ " does not match child's import source " +
77
+ stringifyImportSource(props.model.importSource),
78
+ );
79
+ return null;
80
+ } else {
81
+ type = getComponentFromModule(
82
+ props.module,
83
+ props.model.tagName,
84
+ props.model.importSource,
85
+ );
86
+ if (!type) {
87
+ // Error message logged within getComponentFromModule
88
+ return null;
89
+ }
90
+ }
91
+ } else {
92
+ type = props.model.tagName;
93
+ }
94
+ return props.binding.create(
95
+ type,
96
+ createAttributes(props.model, props.client),
97
+ createChildren(props.model, (child) =>
98
+ createImportSourceElement({
99
+ ...props,
100
+ model: child,
101
+ }),
102
+ ),
103
+ );
104
+ }
105
+
106
+ function getComponentFromModule(
107
+ module: ReactPyModule,
108
+ componentName: string,
109
+ importSource: ReactPyVdomImportSource,
110
+ ): any {
111
+ /* Gets the component with the provided name from the provided module.
112
+
113
+ Built specifically to work on inifinitely deep nested components.
114
+ For example, component "My.Nested.Component" is accessed from
115
+ ModuleA like so: ModuleA["My"]["Nested"]["Component"].
116
+ */
117
+ const componentParts: string[] = componentName.split(".");
118
+ let Component: any = null;
119
+ for (let i = 0; i < componentParts.length; i++) {
120
+ const iterAttr = componentParts[i];
121
+ Component = i == 0 ? module[iterAttr] : Component[iterAttr];
122
+ if (!Component) {
123
+ if (i == 0) {
124
+ log.error(
125
+ "Module from source " +
126
+ stringifyImportSource(importSource) +
127
+ ` does not export ${iterAttr}`,
128
+ );
129
+ } else {
130
+ console.error(
131
+ `Component ${componentParts.slice(0, i).join(".")} from source ` +
132
+ stringifyImportSource(importSource) +
133
+ ` does not have subcomponent ${iterAttr}`,
134
+ );
135
+ }
136
+ break;
137
+ }
138
+ }
139
+ return Component;
140
+ }
141
+
142
+ function isImportSourceEqual(
143
+ source1: ReactPyVdomImportSource,
144
+ source2: ReactPyVdomImportSource,
145
+ ) {
146
+ return (
147
+ source1.source === source2.source &&
148
+ source1.sourceType === source2.sourceType
149
+ );
150
+ }
151
+
152
+ function stringifyImportSource(importSource: ReactPyVdomImportSource) {
153
+ return JSON.stringify({
154
+ source: importSource.source,
155
+ sourceType: importSource.sourceType,
156
+ });
157
+ }
158
+
159
+ export function createChildren<Child>(
160
+ model: ReactPyVdom,
161
+ createChild: (child: ReactPyVdom) => Child,
162
+ ): (Child | string)[] {
163
+ if (!model.children) {
164
+ return [];
165
+ } else {
166
+ return model.children.map((child) => {
167
+ switch (typeof child) {
168
+ case "object":
169
+ return createChild(child);
170
+ case "string":
171
+ return child;
172
+ }
173
+ });
174
+ }
175
+ }
176
+
177
+ export function createAttributes(
178
+ model: ReactPyVdom,
179
+ client: ReactPyClientInterface,
180
+ ): { [key: string]: any } {
181
+ return Object.fromEntries(
182
+ Object.entries({
183
+ // Normal HTML attributes
184
+ ...model.attributes,
185
+ // Construct event handlers
186
+ ...Object.fromEntries(
187
+ Object.entries(model.eventHandlers || {}).map(([name, handler]) =>
188
+ createEventHandler(client, name, handler),
189
+ ),
190
+ ),
191
+ ...Object.fromEntries(
192
+ Object.entries(model.inlineJavaScript || {}).map(
193
+ ([name, inlineJavaScript]) =>
194
+ createInlineJavaScript(name, inlineJavaScript),
195
+ ),
196
+ ),
197
+ }),
198
+ );
199
+ }
200
+
201
+ function createEventHandler(
202
+ client: ReactPyClientInterface,
203
+ name: string,
204
+ { target, preventDefault, stopPropagation }: ReactPyVdomEventHandler,
205
+ ): [string, () => void] {
206
+ const eventHandler = function (...args: any[]) {
207
+ const data = Array.from(args).map((value) => {
208
+ const event = value as Event;
209
+ if (preventDefault) {
210
+ event.preventDefault();
211
+ }
212
+ if (stopPropagation) {
213
+ event.stopPropagation();
214
+ }
215
+
216
+ // Convert JavaScript objects to plain JSON, if needed
217
+ if (typeof event === "object") {
218
+ return eventToObject(event);
219
+ } else {
220
+ return event;
221
+ }
222
+ });
223
+ client.sendMessage({ type: "layout-event", data, target });
224
+ };
225
+ eventHandler.isHandler = true;
226
+ return [name, eventHandler];
227
+ }
228
+
229
+ function createInlineJavaScript(
230
+ name: string,
231
+ inlineJavaScript: string,
232
+ ): [string, () => void] {
233
+ /* Function that will execute the string-like InlineJavaScript
234
+ via eval in the most appropriate way */
235
+ const wrappedExecutable = function (...args: any[]) {
236
+ function handleExecution(...args: any[]) {
237
+ const evalResult = eval(inlineJavaScript);
238
+ if (typeof evalResult == "function") {
239
+ return evalResult(...args);
240
+ }
241
+ }
242
+ if (args.length > 0 && args[0] instanceof Event) {
243
+ /* If being triggered by an event, set the event's current
244
+ target to "this". This ensures that inline
245
+ javascript statements such as the following work:
246
+ html.button({"onclick": 'this.value = "Clicked!"'}, "Click Me")*/
247
+ return handleExecution.call(args[0].currentTarget, ...args);
248
+ } else {
249
+ /* If not being triggered by an event, do not set "this" and
250
+ just call normally */
251
+ return handleExecution(...args);
252
+ }
253
+ };
254
+ wrappedExecutable.isHandler = false;
255
+ return [name, wrappedExecutable];
256
+ }
@@ -0,0 +1,75 @@
1
+ import type { CreateReconnectingWebSocketProps } from "./types";
2
+ import log from "./logger";
3
+
4
+ export function createReconnectingWebSocket(
5
+ props: CreateReconnectingWebSocketProps,
6
+ ) {
7
+ const { interval, maxInterval, maxRetries, backoffMultiplier } = props;
8
+ let retries = 0;
9
+ let currentInterval = interval;
10
+ let everConnected = false;
11
+ const closed = false;
12
+ const socket: { current?: WebSocket } = {};
13
+
14
+ const connect = () => {
15
+ if (closed) {
16
+ return;
17
+ }
18
+ socket.current = new WebSocket(props.url);
19
+ socket.current.onopen = () => {
20
+ everConnected = true;
21
+ log.info("Connected!");
22
+ currentInterval = interval;
23
+ retries = 0;
24
+ if (props.onOpen) {
25
+ props.onOpen();
26
+ }
27
+ };
28
+ socket.current.onmessage = (event) => {
29
+ if (props.onMessage) {
30
+ props.onMessage(event);
31
+ }
32
+ };
33
+ socket.current.onclose = () => {
34
+ if (props.onClose) {
35
+ props.onClose();
36
+ }
37
+ if (!everConnected) {
38
+ log.info("Failed to connect!");
39
+ return;
40
+ }
41
+ log.info("Disconnected!");
42
+ if (retries >= maxRetries) {
43
+ log.info("Connection max retries exhausted!");
44
+ return;
45
+ }
46
+ log.info(
47
+ `Reconnecting in ${(currentInterval / 1000).toPrecision(4)} seconds...`,
48
+ );
49
+ setTimeout(connect, currentInterval);
50
+ currentInterval = nextInterval(
51
+ currentInterval,
52
+ backoffMultiplier,
53
+ maxInterval,
54
+ );
55
+ retries++;
56
+ };
57
+ };
58
+
59
+ props.readyPromise.then(() => log.info("Starting client...")).then(connect);
60
+
61
+ return socket;
62
+ }
63
+
64
+ export function nextInterval(
65
+ currentInterval: number,
66
+ backoffMultiplier: number,
67
+ maxInterval: number,
68
+ ): number {
69
+ return Math.min(
70
+ // increase interval by backoff multiplier
71
+ currentInterval * backoffMultiplier,
72
+ // don't exceed max interval
73
+ maxInterval,
74
+ );
75
+ }
package/tsconfig.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
- "extends": "../../../tsconfig.package.json",
3
2
  "compilerOptions": {
3
+ "composite": true,
4
4
  "outDir": "dist",
5
- "rootDir": "src",
6
- "composite": true
5
+ "rootDir": "src"
7
6
  },
7
+ "extends": "../../../tsconfig.json",
8
8
  "include": ["src"],
9
9
  "references": [
10
10
  {
@@ -0,0 +1 @@
1
+ {"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/typescript/lib/lib.es2024.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../node_modules/typescript/lib/lib.es2024.object.d.ts","../../../node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2024.string.d.ts","../../../node_modules/typescript/lib/lib.esnext.array.d.ts","../../../node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../node_modules/typescript/lib/lib.esnext.promise.d.ts","../../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../../node_modules/typescript/lib/lib.esnext.float16.d.ts","../../../node_modules/typescript/lib/lib.esnext.error.d.ts","../../../node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/preact/src/jsx.d.ts","../../../node_modules/preact/src/dom.d.ts","../../../node_modules/preact/src/index.d.ts","../../../node_modules/preact/jsx-runtime/src/index.d.ts","./src/logger.ts","./src/types.ts","./src/websocket.ts","./src/client.ts","../../../node_modules/@types/json-pointer/index.d.ts","../../../node_modules/preact/hooks/src/index.d.ts","../../../node_modules/preact/compat/src/suspense.d.ts","../../../node_modules/preact/compat/src/suspense-list.d.ts","../../../node_modules/preact/compat/src/index.d.ts","../../event-to-object/dist/index.d.ts","./src/vdom.tsx","./src/components.tsx","./src/mount.tsx","./src/index.ts","../../../node_modules/@types/estree/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/undici-types/utility.d.ts","../../../node_modules/undici-types/header.d.ts","../../../node_modules/undici-types/readable.d.ts","../../../node_modules/undici-types/fetch.d.ts","../../../node_modules/undici-types/formdata.d.ts","../../../node_modules/undici-types/connector.d.ts","../../../node_modules/undici-types/client.d.ts","../../../node_modules/undici-types/errors.d.ts","../../../node_modules/undici-types/dispatcher.d.ts","../../../node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/undici-types/global-origin.d.ts","../../../node_modules/undici-types/pool-stats.d.ts","../../../node_modules/undici-types/pool.d.ts","../../../node_modules/undici-types/handlers.d.ts","../../../node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/undici-types/h2c-client.d.ts","../../../node_modules/undici-types/agent.d.ts","../../../node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/undici-types/mock-call-history.d.ts","../../../node_modules/undici-types/mock-agent.d.ts","../../../node_modules/undici-types/mock-client.d.ts","../../../node_modules/undici-types/mock-pool.d.ts","../../../node_modules/undici-types/mock-errors.d.ts","../../../node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/undici-types/retry-handler.d.ts","../../../node_modules/undici-types/retry-agent.d.ts","../../../node_modules/undici-types/api.d.ts","../../../node_modules/undici-types/cache-interceptor.d.ts","../../../node_modules/undici-types/interceptors.d.ts","../../../node_modules/undici-types/util.d.ts","../../../node_modules/undici-types/cookies.d.ts","../../../node_modules/undici-types/patch.d.ts","../../../node_modules/undici-types/websocket.d.ts","../../../node_modules/undici-types/eventsource.d.ts","../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/undici-types/content-type.d.ts","../../../node_modules/undici-types/cache.d.ts","../../../node_modules/undici-types/index.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/sea.d.ts","../../../node_modules/@types/node/sqlite.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/index.d.ts"],"fileIdsList":[[105,149],[105,146,149],[105,148,149],[149],[105,149,154,184],[105,149,150,155,161,162,169,181,192],[105,149,150,151,161,169],[105,149,152,193],[105,149,153,154,162,170],[105,149,154,181,189],[105,149,155,157,161,169],[105,148,149,156],[105,149,157,158],[105,149,159,161],[105,148,149,161],[105,149,161,162,163,181,192],[105,149,161,162,163,176,181,184],[105,144,149],[105,144,149,157,161,164,169,181,192],[105,149,161,162,164,165,169,181,189,192],[105,149,164,166,181,189,192],[103,104,105,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198],[105,149,161,167],[105,149,168,192],[105,149,157,161,169,181],[105,149,170],[105,149,171],[105,148,149,172],[105,146,147,148,149,150,151,152,153,154,155,156,157,158,159,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198],[105,149,174],[105,149,175],[105,149,161,176,177],[105,149,176,178,193,195],[105,149,161,181,182,184],[105,149,183,184],[105,149,181,182],[105,149,184],[105,149,185],[105,146,149,181],[105,149,161,187,188],[105,149,187,188],[105,149,154,169,181,189],[105,149,190],[105,149,169,191],[105,149,164,175,192],[105,149,154,193],[105,149,181,194],[105,149,168,195],[105,149,196],[105,149,161,163,172,181,184,192,194,195,197],[105,149,181,198],[83,85,92,93,94,105,149],[85,105,149],[83,85,105,149],[83,84,105,149],[105,114,118,149,192],[105,114,149,181,192],[105,149,181],[105,109,149],[105,111,114,149,192],[105,149,169,189],[105,149,199],[105,109,149,199],[105,111,114,149,169,192],[105,106,107,108,110,113,149,161,181,192],[105,114,122,149],[105,107,112,149],[105,114,138,139,149],[105,107,110,114,149,184,192,199],[105,114,149],[105,106,149],[105,109,110,111,112,113,114,115,116,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,139,140,141,142,143,149],[105,114,131,134,149,157],[105,114,122,123,124,149],[105,112,114,123,125,149],[105,113,149],[105,107,109,114,149],[105,114,118,123,125,149],[105,118,149],[105,112,114,117,149,192],[105,107,111,114,122,149],[105,114,131,149],[105,109,114,138,149,184,197,199],[86,87,88,89,105,149],[85,86,88,91,92,95,97,105,149],[85,86,88,89,90,95,97,98,99,105,149],[86,105,149],[85,86,88,90,98,105,149],[85,86,105,149],[86,87,88,96,105,149],[86,87,88,105,149]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"2ab096661c711e4a81cc464fa1e6feb929a54f5340b46b0a07ac6bbf857471f0","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22adec94ef7047a6c9d1af3cb96be87a335908bf9ef386ae9fd50eeb37f44c47","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"73f78680d4c08509933daf80947902f6ff41b6230f94dd002ae372620adb0f60","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5239f5c01bcfa9cd32f37c496cf19c61d69d37e48be9de612b541aac915805b","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5f8d1a3387e2ec1edc52954d28d55c1940f69f08b76f0eeca14221ab006f1ac","impliedFormat":1},{"version":"6d6fdf666d57a588fedd91b94936f549ed83b8d5b0f9afa3bbcd67beba9f008a","impliedFormat":1},{"version":"3ce73a1f2596b816292b2a672fc11d164122b00f378c4d99119d1c2dea46e0a5","impliedFormat":1},{"version":"000776b76210c3b5afe490fbc24891a6b60a2b4fa64b0b36e214bdc05395a0c4","impliedFormat":1},{"version":"217475eb2b9ad0680f183b358bb5a89f1f760c9d20ce21114d58597e8ea567ef","signature":"bcb9d666a902c79a6da508049a74c63461ff597f0c9783f95c075fd085ebfc5e"},{"version":"b74b984f2a97ba4658cd36b89194c32ff7ab32a9705e32f3ef9e66801b237d78","signature":"68816742018ff5a9946776758f49a7b94bef5158162d329efdd5155c4a7f0100"},{"version":"a9e2315457baeb00f16d263f02ec639bd70f0c14fbf2a62d1ec0ed4f41017766","signature":"5374de405620cf967d4d1b6e3e2a45b652020c3ea5e5a75d3ae0b8a333c468b1"},{"version":"325c8cb2ecbf27a070b0e554abdc725cd7b18f8628fed99fbb01f52b062f4347","signature":"ca85ccc02a80cac5e666f485aa0fc95d072e3696cf829bac2e235b155414327b"},{"version":"5814430b62f683c8ac8f4110fbfa265ed388d0d0de449c782e6a2d658a6f1e94","impliedFormat":1},{"version":"7687e1c892178a4674e162427319e47fb881ac1ae5fa4c50dcc3423870dba636","impliedFormat":1},{"version":"f75efd5983e3da39521471473ba226e3b3240b402f9c8fbc0221a965839d19a6","impliedFormat":1},{"version":"8d44d1057bca7ac91f5ba3f10fc9b4263dc8bdfa29856836f6635df62fc1e77f","impliedFormat":1},{"version":"6c62f35e624969900c14648c689f119f27069600da16022b4a5de40b35ef5379","impliedFormat":1},"e4768229abf8714c1bee3d8929c29a80d3b1fc3d8296e24c4f1abd42fb7438b3",{"version":"08325d1f8bc6d4e96bc30095ff4dbba93e5ca6a8f82339d66bd8569749cafbf7","signature":"1a508b61026b6931fa3b639372552db2e1783e5e19803bfdc4c84a6887120acf"},{"version":"f17a7b02bf44ee1a4fd3ce1e00f77e3e6c4e18f11c4031e89e689f6ae1e977ae","signature":"bba766c0c50272fe07c8b5c7412e527f49c82af3e2abf8f65065a90e21360983"},{"version":"dbd294c1e991b1e05212bb15e2fd29c1b9e6e20327806eb02135d97767642e12","signature":"6fc61f752f69bdf0a5ef963f7d9c3af30289e0542666415d58c6ddc1b69bd9e7"},"fc5bcb949421fb713bf029fd2a96c4aa6d885a49bbdccf41d18e108d719453f7",{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0671b50bb99cc7ad46e9c68fa0e7f15ba4bc898b59c31a17ea4611fab5095da","affectsGlobalScope":true,"impliedFormat":1},{"version":"d802f0e6b5188646d307f070d83512e8eb94651858de8a82d1e47f60fb6da4e2","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"23cd712e2ce083d68afe69224587438e5914b457b8acf87073c22494d706a3d0","impliedFormat":1},{"version":"487b694c3de27ddf4ad107d4007ad304d29effccf9800c8ae23c2093638d906a","impliedFormat":1},{"version":"e525f9e67f5ddba7b5548430211cae2479070b70ef1fd93550c96c10529457bd","impliedFormat":1},{"version":"ccf4552357ce3c159ef75f0f0114e80401702228f1898bdc9402214c9499e8c0","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"17fe9131bec653b07b0a1a8b99a830216e3e43fe0ea2605be318dc31777c8bbf","impliedFormat":1},{"version":"3c8e93af4d6ce21eb4c8d005ad6dc02e7b5e6781f429d52a35290210f495a674","impliedFormat":1},{"version":"2c9875466123715464539bfd69bcaccb8ff6f3e217809428e0d7bd6323416d01","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"2472ef4c28971272a897fdb85d4155df022e1f5d9a474a526b8fc2ef598af94e","impliedFormat":1},{"version":"6c8e442ba33b07892169a14f7757321e49ab0f1032d676d321a1fdab8a67d40c","impliedFormat":1},{"version":"b41767d372275c154c7ea6c9d5449d9a741b8ce080f640155cc88ba1763e35b3","impliedFormat":1},{"version":"1cd673d367293fc5cb31cd7bf03d598eb368e4f31f39cf2b908abbaf120ab85a","impliedFormat":1},{"version":"19851a6596401ca52d42117108d35e87230fc21593df5c4d3da7108526b6111c","impliedFormat":1},{"version":"3825bf209f1662dfd039010a27747b73d0ef379f79970b1d05601ec8e8a4249f","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"40bfc70953be2617dc71979c14e9e99c5e65c940a4f1c9759ddb90b0f8ff6b1a","impliedFormat":1},{"version":"da52342062e70c77213e45107921100ba9f9b3a30dd019444cf349e5fb3470c4","impliedFormat":1},{"version":"e9ace91946385d29192766bf783b8460c7dbcbfc63284aa3c9cae6de5155c8bc","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"561c60d8bfe0fec2c08827d09ff039eca0c1f9b50ef231025e5a549655ed0298","impliedFormat":1},{"version":"1e30c045732e7db8f7a82cf90b516ebe693d2f499ce2250a977ec0d12e44a529","impliedFormat":1},{"version":"84b736594d8760f43400202859cda55607663090a43445a078963031d47e25e7","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"54c3e2371e3d016469ad959697fd257e5621e16296fa67082c2575d0bf8eced0","impliedFormat":1},{"version":"beb8233b2c220cfa0feea31fbe9218d89fa02faa81ef744be8dce5acb89bb1fd","impliedFormat":1},{"version":"78b29846349d4dfdd88bd6650cc5d2baaa67f2e89dc8a80c8e26ef7995386583","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"e38d4fdf79e1eadd92ed7844c331dbaa40f29f21541cfee4e1acff4db09cda33","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"7c10a32ae6f3962672e6869ee2c794e8055d8225ef35c91c0228e354b4e5d2d3","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"99f569b42ea7e7c5fe404b2848c0893f3e1a56e0547c1cd0f74d5dbb9a9de27e","impliedFormat":1},{"version":"f4b4faedc57701ae727d78ba4a83e466a6e3bdcbe40efbf913b17e860642897c","affectsGlobalScope":true,"impliedFormat":1},{"version":"2424a70c49eed193731493c5fcaac6f0ddcc5a31326b9a93e5c31b501f42949d","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"72c1f5e0a28e473026074817561d1bc9647909cf253c8d56c41d1df8d95b85f7","impliedFormat":1},{"version":"59c893bb05d8d6da5c6b85b6670f459a66f93215246a92b6345e78796b86a9a7","affectsGlobalScope":true,"impliedFormat":1},{"version":"938f94db8400d0b479626b9006245a833d50ce8337f391085fad4af540279567","impliedFormat":1},{"version":"c4e8e8031808b158cfb5ac5c4b38d4a26659aec4b57b6a7e2ba0a141439c208c","impliedFormat":1},{"version":"2c91d8366ff2506296191c26fd97cc1990bab3ee22576275d28b654a21261a44","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"12fb9c13f24845000d7bd9660d11587e27ef967cbd64bd9df19ae3e6aa9b52d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"289e9894a4668c61b5ffed09e196c1f0c2f87ca81efcaebdf6357cfb198dac14","impliedFormat":1},{"version":"25a1105595236f09f5bce42398be9f9ededc8d538c258579ab662d509aa3b98e","impliedFormat":1},{"version":"9de8df30f620738193bd68ee503dc76e5f47fc426fe971cfbd89c109fd90b32e","impliedFormat":1},{"version":"e009777bef4b023a999b2e5b9a136ff2cde37dc3f77c744a02840f05b18be8ff","impliedFormat":1},{"version":"ad1cc0ed328f3f708771272021be61ab146b32ecf2b78f3224959ff1e2cd2a5c","impliedFormat":1},{"version":"71450bbc2d82821d24ca05699a533e72758964e9852062c53b30f31c36978ab8","affectsGlobalScope":true,"impliedFormat":1},{"version":"62f572306e0b173cc5dfc4c583471151f16ef3779cf27ab96922c92ec82a3bc8","affectsGlobalScope":true,"impliedFormat":1},{"version":"737c453548d197cd68e723e73d564d39f930c8183db4a9fa8f8f16f9c7ebd2cf","impliedFormat":1},{"version":"e64c11d651e1cba17954e0a6e1d7a3dcb5b3aa289ec0763177bf2ed05492c439","impliedFormat":1},{"version":"ecfb45485e692f3eb3d0aef6e460adeabf670cef2d07e361b2be20cecfd0046b","impliedFormat":1},{"version":"161f09445a8b4ba07f62ae54b27054e4234e7957062e34c6362300726dabd315","impliedFormat":1},{"version":"77fced47f495f4ff29bb49c52c605c5e73cd9b47d50080133783032769a9d8a6","impliedFormat":1},{"version":"e6057f9e7b0c64d4527afeeada89f313f96a53291705f069a9193c18880578cb","impliedFormat":1},{"version":"3cdbad1bb6929fd0220715d7da689c0b69df42c8239036ff75afe4f2232222ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"0f5cda0282e1d18198e2887387eb2f026372ebc4e11c4e4516fef8a19ee4d514","impliedFormat":1},{"version":"e99b0e71f07128fc32583e88ccd509a1aaa9524c290efb2f48c22f9bf8ba83b1","impliedFormat":1},{"version":"76957a6d92b94b9e2852cf527fea32ad2dc0ef50f67fe2b14bd027c9ceef2d86","impliedFormat":1},{"version":"237581f5ec4620a17e791d3bb79bad3af01e27a274dbee875ac9b0721a4fe97d","affectsGlobalScope":true,"impliedFormat":1},{"version":"a8a99a5e6ed33c4a951b67cc1fd5b64fd6ad719f5747845c165ca12f6c21ba16","affectsGlobalScope":true,"impliedFormat":1},{"version":"a58a15da4c5ba3df60c910a043281256fa52d36a0fcdef9b9100c646282e88dd","impliedFormat":1},{"version":"b36beffbf8acdc3ebc58c8bb4b75574b31a2169869c70fc03f82895b93950a12","impliedFormat":1},{"version":"de263f0089aefbfd73c89562fb7254a7468b1f33b61839aafc3f035d60766cb4","impliedFormat":1},{"version":"70b57b5529051497e9f6482b76d91c0dcbb103d9ead8a0549f5bab8f65e5d031","impliedFormat":1},{"version":"e6d81b1f7ab11dc1b1ad7ad29fcfad6904419b36baf55ed5e80df48d56ac3aff","impliedFormat":1},{"version":"1013eb2e2547ad8c100aca52ef9df8c3f209edee32bb387121bb3227f7c00088","impliedFormat":1},{"version":"b6b8e3736383a1d27e2592c484a940eeb37ec4808ba9e74dd57679b2453b5865","impliedFormat":1},{"version":"d6f36b683c59ac0d68a1d5ee906e578e2f5e9a285bca80ff95ce61cdc9ddcdeb","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093","impliedFormat":1},{"version":"27e4532aaaa1665d0dd19023321e4dc12a35a741d6b8e1ca3517fcc2544e0efe","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea713aa14a670b1ea0fbaaca4fd204e645f71ca7653a834a8ec07ee889c45de6","impliedFormat":1},{"version":"cd9c0ecbe36a3be0775bfc16ae30b95af2a4a1f10e7949ceab284c98750bcebd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2918b7c516051c30186a1055ebcdb3580522be7190f8a2fff4100ea714c7c366","affectsGlobalScope":true,"impliedFormat":1},{"version":"ae86f30d5d10e4f75ce8dcb6e1bd3a12ecec3d071a21e8f462c5c85c678efb41","impliedFormat":1},{"version":"982efeb2573605d4e6d5df4dc7e40846bda8b9e678e058fc99522ab6165c479e","impliedFormat":1},{"version":"e03460fe72b259f6d25ad029f085e4bedc3f90477da4401d8fbc1efa9793230e","impliedFormat":1},{"version":"4286a3a6619514fca656089aee160bb6f2e77f4dd53dc5a96b26a0b4fc778055","impliedFormat":1},{"version":"d67fc92a91171632fc74f413ce42ff1aa7fbcc5a85b127101f7ec446d2039a1f","affectsGlobalScope":true,"impliedFormat":1},{"version":"d40e4631100dbc067268bce96b07d7aff7f28a541b1bfb7ef791c64a696b3d33","affectsGlobalScope":true,"impliedFormat":1},{"version":"64bc5859f99559a3587c031ec6862c671f6fdd54e61d43d8ffd02a9422092677","impliedFormat":1},{"version":"42180b657831d1b8fead051698618b31da623fb71ff37f002cb9d932cfa775f1","impliedFormat":1},{"version":"4f98d6fb4fe7cbeaa04635c6eaa119d966285d4d39f0eb55b2654187b0b27446","impliedFormat":1},{"version":"e4c653466d0497d87fa9ffd00e59a95f33bc1c1722c3f5c84dab2e950c18da70","affectsGlobalScope":true,"impliedFormat":1},{"version":"e6dcc3b933e864e91d4bea94274ad69854d5d2a1311a4b0e20408a57af19e95d","impliedFormat":1},{"version":"a51f786b9f3c297668f8f322a6c58f85d84948ef69ade32069d5d63ec917221c","impliedFormat":1}],"root":[[87,90],[97,100]],"options":{"allowJs":true,"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"jsx":4,"jsxImportSource":"preact","module":200,"noEmitOnError":true,"noUnusedLocals":true,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":99,"verbatimModuleSyntax":true},"referencedMap":[[101,1],[91,1],[102,1],[146,2],[147,2],[148,3],[105,4],[149,5],[150,6],[151,7],[103,1],[152,8],[153,9],[154,10],[155,11],[156,12],[157,13],[158,13],[160,1],[159,14],[161,15],[162,16],[163,17],[145,18],[104,1],[164,19],[165,20],[166,21],[199,22],[167,23],[168,24],[169,25],[170,26],[171,27],[172,28],[173,29],[174,30],[175,31],[176,32],[177,32],[178,33],[179,1],[180,1],[181,34],[183,35],[182,36],[184,37],[185,38],[186,39],[187,40],[188,41],[189,42],[190,43],[191,44],[192,45],[193,46],[194,47],[195,48],[196,49],[197,50],[198,51],[95,52],[94,53],[93,53],[92,53],[86,54],[84,53],[85,55],[83,53],[81,1],[82,1],[13,1],[14,1],[16,1],[15,1],[2,1],[17,1],[18,1],[19,1],[20,1],[21,1],[22,1],[23,1],[24,1],[3,1],[25,1],[26,1],[4,1],[27,1],[31,1],[28,1],[29,1],[30,1],[32,1],[33,1],[34,1],[5,1],[35,1],[36,1],[37,1],[38,1],[6,1],[42,1],[39,1],[40,1],[41,1],[43,1],[7,1],[44,1],[49,1],[50,1],[45,1],[46,1],[47,1],[48,1],[8,1],[54,1],[51,1],[52,1],[53,1],[55,1],[9,1],[56,1],[57,1],[58,1],[60,1],[59,1],[61,1],[62,1],[10,1],[63,1],[64,1],[65,1],[11,1],[66,1],[67,1],[68,1],[69,1],[70,1],[1,1],[71,1],[72,1],[12,1],[76,1],[74,1],[79,1],[78,1],[73,1],[77,1],[75,1],[80,1],[122,56],[133,57],[120,56],[134,58],[143,59],[112,60],[111,61],[142,62],[137,63],[141,64],[114,65],[130,66],[113,67],[140,68],[109,69],[110,63],[115,70],[116,1],[121,60],[119,70],[107,71],[144,72],[135,73],[125,74],[124,70],[126,75],[128,76],[123,77],[127,78],[138,62],[117,79],[118,80],[129,81],[108,58],[132,82],[131,70],[136,1],[106,1],[139,83],[90,84],[98,85],[100,86],[87,87],[99,88],[88,89],[97,90],[89,91],[96,1]],"latestChangedDtsFile":"./dist/index.d.ts","version":"5.9.3"}
@@ -1,15 +0,0 @@
1
- import { ReactPyVdom } from "./reactpy-vdom";
2
- export type LayoutUpdateMessage = {
3
- type: "layout-update";
4
- path: string;
5
- model: ReactPyVdom;
6
- };
7
- export type LayoutEventMessage = {
8
- type: "layout-event";
9
- target: string;
10
- data: any;
11
- };
12
- export type IncomingMessage = LayoutUpdateMessage;
13
- export type OutgoingMessage = LayoutEventMessage;
14
- export type Message = IncomingMessage | OutgoingMessage;
15
- //# sourceMappingURL=messages.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../src/messages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,eAAe,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,WAAW,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,cAAc,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,GAAG,CAAC;CACX,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,mBAAmB,CAAC;AAClD,MAAM,MAAM,eAAe,GAAG,kBAAkB,CAAC;AACjD,MAAM,MAAM,OAAO,GAAG,eAAe,GAAG,eAAe,CAAC"}
package/dist/messages.js DELETED
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=messages.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"messages.js","sourceRoot":"","sources":["../src/messages.ts"],"names":[],"mappings":""}