murow 0.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 (103) hide show
  1. package/README.md +61 -0
  2. package/dist/core/binary-codec/binary-codec.d.ts +159 -0
  3. package/dist/core/binary-codec/binary-codec.js +336 -0
  4. package/dist/core/binary-codec/index.d.ts +1 -0
  5. package/dist/core/binary-codec/index.js +1 -0
  6. package/dist/core/events/event-system.d.ts +71 -0
  7. package/dist/core/events/event-system.js +88 -0
  8. package/dist/core/events/index.d.ts +1 -0
  9. package/dist/core/events/index.js +1 -0
  10. package/dist/core/fixed-ticker/fixed-ticker.d.ts +105 -0
  11. package/dist/core/fixed-ticker/fixed-ticker.js +91 -0
  12. package/dist/core/fixed-ticker/index.d.ts +1 -0
  13. package/dist/core/fixed-ticker/index.js +1 -0
  14. package/dist/core/generate-id/generate-id.d.ts +21 -0
  15. package/dist/core/generate-id/generate-id.js +25 -0
  16. package/dist/core/generate-id/index.d.ts +1 -0
  17. package/dist/core/generate-id/index.js +1 -0
  18. package/dist/core/index.d.ts +8 -0
  19. package/dist/core/index.js +8 -0
  20. package/dist/core/lerp/index.d.ts +1 -0
  21. package/dist/core/lerp/index.js +1 -0
  22. package/dist/core/lerp/lerp.d.ts +40 -0
  23. package/dist/core/lerp/lerp.js +42 -0
  24. package/dist/core/navmesh/index.d.ts +1 -0
  25. package/dist/core/navmesh/index.js +1 -0
  26. package/dist/core/navmesh/navmesh.d.ts +116 -0
  27. package/dist/core/navmesh/navmesh.js +666 -0
  28. package/dist/core/pooled-codec/index.d.ts +1 -0
  29. package/dist/core/pooled-codec/index.js +1 -0
  30. package/dist/core/pooled-codec/pooled-codec.d.ts +140 -0
  31. package/dist/core/pooled-codec/pooled-codec.js +213 -0
  32. package/dist/core/prediction/index.d.ts +1 -0
  33. package/dist/core/prediction/index.js +1 -0
  34. package/dist/core/prediction/prediction.d.ts +64 -0
  35. package/dist/core/prediction/prediction.js +90 -0
  36. package/dist/core.esm.js +1 -0
  37. package/dist/core.js +1 -0
  38. package/dist/index.d.ts +16 -0
  39. package/dist/index.js +18 -0
  40. package/dist/protocol/index.d.ts +43 -0
  41. package/dist/protocol/index.js +43 -0
  42. package/dist/protocol/intent/index.d.ts +39 -0
  43. package/dist/protocol/intent/index.js +38 -0
  44. package/dist/protocol/intent/intent-registry.d.ts +54 -0
  45. package/dist/protocol/intent/intent-registry.js +73 -0
  46. package/dist/protocol/intent/intent.d.ts +12 -0
  47. package/dist/protocol/intent/intent.js +1 -0
  48. package/dist/protocol/snapshot/index.d.ts +44 -0
  49. package/dist/protocol/snapshot/index.js +43 -0
  50. package/dist/protocol/snapshot/snapshot-codec.d.ts +48 -0
  51. package/dist/protocol/snapshot/snapshot-codec.js +56 -0
  52. package/dist/protocol/snapshot/snapshot-registry.d.ts +100 -0
  53. package/dist/protocol/snapshot/snapshot-registry.js +136 -0
  54. package/dist/protocol/snapshot/snapshot.d.ts +19 -0
  55. package/dist/protocol/snapshot/snapshot.js +30 -0
  56. package/package.json +54 -0
  57. package/src/core/binary-codec/README.md +60 -0
  58. package/src/core/binary-codec/binary-codec.test.ts +300 -0
  59. package/src/core/binary-codec/binary-codec.ts +430 -0
  60. package/src/core/binary-codec/index.ts +1 -0
  61. package/src/core/events/README.md +47 -0
  62. package/src/core/events/event-system.test.ts +243 -0
  63. package/src/core/events/event-system.ts +140 -0
  64. package/src/core/events/index.ts +1 -0
  65. package/src/core/fixed-ticker/README.md +77 -0
  66. package/src/core/fixed-ticker/fixed-ticker.test.ts +151 -0
  67. package/src/core/fixed-ticker/fixed-ticker.ts +158 -0
  68. package/src/core/fixed-ticker/index.ts +1 -0
  69. package/src/core/generate-id/README.md +18 -0
  70. package/src/core/generate-id/generate-id.test.ts +79 -0
  71. package/src/core/generate-id/generate-id.ts +37 -0
  72. package/src/core/generate-id/index.ts +1 -0
  73. package/src/core/index.ts +8 -0
  74. package/src/core/lerp/README.md +79 -0
  75. package/src/core/lerp/index.ts +1 -0
  76. package/src/core/lerp/lerp.test.ts +90 -0
  77. package/src/core/lerp/lerp.ts +42 -0
  78. package/src/core/navmesh/README.md +124 -0
  79. package/src/core/navmesh/index.ts +1 -0
  80. package/src/core/navmesh/navmesh.test.ts +344 -0
  81. package/src/core/navmesh/navmesh.ts +850 -0
  82. package/src/core/pooled-codec/README.md +70 -0
  83. package/src/core/pooled-codec/index.ts +1 -0
  84. package/src/core/pooled-codec/pooled-codec.test.ts +349 -0
  85. package/src/core/pooled-codec/pooled-codec.ts +239 -0
  86. package/src/core/prediction/README.md +64 -0
  87. package/src/core/prediction/index.ts +1 -0
  88. package/src/core/prediction/prediction.test.ts +422 -0
  89. package/src/core/prediction/prediction.ts +101 -0
  90. package/src/index.ts +20 -0
  91. package/src/protocol/README.md +310 -0
  92. package/src/protocol/index.ts +44 -0
  93. package/src/protocol/intent/index.ts +40 -0
  94. package/src/protocol/intent/intent-registry.test.ts +237 -0
  95. package/src/protocol/intent/intent-registry.ts +88 -0
  96. package/src/protocol/intent/intent.ts +12 -0
  97. package/src/protocol/snapshot/index.ts +45 -0
  98. package/src/protocol/snapshot/snapshot-codec.test.ts +138 -0
  99. package/src/protocol/snapshot/snapshot-codec.ts +71 -0
  100. package/src/protocol/snapshot/snapshot-registry.test.ts +302 -0
  101. package/src/protocol/snapshot/snapshot-registry.ts +162 -0
  102. package/src/protocol/snapshot/snapshot.test.ts +76 -0
  103. package/src/protocol/snapshot/snapshot.ts +41 -0
@@ -0,0 +1,430 @@
1
+ /**
2
+ * A binary field descriptor.
3
+ * Defines how a single value is serialized/deserialized
4
+ * at a fixed byte size.
5
+ */
6
+ export type Field<T> = {
7
+ /** Size of the field in bytes */
8
+ size: number;
9
+
10
+ /**
11
+ * Writes a value into a DataView at the given offset.
12
+ * @param dv DataView to write into
13
+ * @param o Byte offset
14
+ * @param v Value to write
15
+ */
16
+ write(dv: DataView, o: number, v: T): void;
17
+
18
+ /**
19
+ * Reads a value from a DataView at the given offset.
20
+ * @param dv DataView to read from
21
+ * @param o Byte offset
22
+ */
23
+ read(dv: DataView, o: number): T;
24
+
25
+ /**
26
+ * Returns the nil value
27
+ */
28
+ toNil(): T;
29
+ };
30
+
31
+ /**
32
+ * A schema mapping object keys to binary fields.
33
+ * The order of iteration defines the binary layout.
34
+ *
35
+ * IMPORTANT:
36
+ * Property order is respected as insertion order.
37
+ * Do not rely on computed or dynamic keys.
38
+ */
39
+ export type Schema<T> = {
40
+ [K in keyof T]: Field<T[K]>;
41
+ };
42
+
43
+ /**
44
+ * Internal symbol used to cache computed schema byte size.
45
+ */
46
+ const SCHEMA_SIZE = Symbol("schemaSize");
47
+
48
+ /**
49
+ * Computes and caches the total byte size of a schema.
50
+ * @param schema Binary schema definition
51
+ */
52
+ function getSchemaSize<T extends object>(schema: Schema<T>): number {
53
+ const cached = (schema as any)[SCHEMA_SIZE];
54
+ if (cached !== undefined) return cached;
55
+
56
+ let size = 0;
57
+ for (const k of Object.keys(schema) as (keyof T)[]) {
58
+ size += schema[k].size;
59
+ }
60
+
61
+ (schema as any)[SCHEMA_SIZE] = size;
62
+ return size;
63
+ }
64
+
65
+ /**
66
+ * Base codec implementation.
67
+ * Handles schema-driven encoding/decoding.
68
+ */
69
+ export class BaseBinaryCodec {
70
+ /**
71
+ * Encodes an object into a binary buffer using the given schema.
72
+ *
73
+ * Allocates a right-sized buffer per call.
74
+ * Safe for concurrent and re-entrant usage.
75
+ *
76
+ * @param schema Binary schema definition
77
+ * @param data Object to encode
78
+ * @returns A Uint8Array containing the encoded bytes
79
+ */
80
+ protected static encodeInto<T extends object>(
81
+ schema: Schema<T>,
82
+ data: T
83
+ ): Uint8Array {
84
+ const size = getSchemaSize(schema);
85
+ const buffer = new ArrayBuffer(size);
86
+ const view = new DataView(buffer);
87
+
88
+ let o = 0;
89
+ for (const k of Object.keys(schema) as (keyof T)[]) {
90
+ const f = schema[k];
91
+ f.write(view, o, data[k]);
92
+ o += f.size;
93
+ }
94
+
95
+ return new Uint8Array(buffer);
96
+ }
97
+
98
+ /**
99
+ * Decodes a binary buffer into a target object using the given schema.
100
+ *
101
+ * Validates buffer size before reading.
102
+ * Does not mutate shared state.
103
+ *
104
+ * @param schema Binary schema definition
105
+ * @param buf Buffer containing encoded data
106
+ * @param target Target object to mutate
107
+ * @returns The mutated target object
108
+ */
109
+ static decodeInto<T extends object>(
110
+ schema: Schema<T>,
111
+ buf: Uint8Array,
112
+ target: T
113
+ ): T {
114
+ const expectedSize = getSchemaSize(schema);
115
+
116
+ if (buf.byteLength < expectedSize) {
117
+ throw new RangeError(
118
+ `Buffer too small: expected ${expectedSize} bytes, got ${buf.byteLength}`
119
+ );
120
+ }
121
+
122
+ const view = new DataView(
123
+ buf.buffer,
124
+ buf.byteOffset,
125
+ buf.byteLength
126
+ );
127
+
128
+ let o = 0;
129
+ for (const k of Object.keys(schema) as (keyof T)[]) {
130
+ const f = schema[k];
131
+ target[k] = f.read(view, o);
132
+ o += f.size;
133
+ }
134
+
135
+ return target;
136
+ }
137
+ }
138
+
139
+ /**
140
+ * Built-in binary primitive field definitions for multiplayer games.
141
+ */
142
+ export class BinaryPrimitives {
143
+ /** Unsigned 8-bit integer */
144
+ static readonly u8: Field<number> = {
145
+ size: 1,
146
+ write: (dv, o, v) => dv.setUint8(o, v),
147
+ read: (dv, o) => dv.getUint8(o),
148
+ toNil: () => 0,
149
+ };
150
+
151
+ /** Unsigned 16-bit integer (big-endian) */
152
+ static readonly u16: Field<number> = {
153
+ size: 2,
154
+ write: (dv, o, v) => dv.setUint16(o, v, false),
155
+ read: (dv, o) => dv.getUint16(o, false),
156
+ toNil: () => 0,
157
+ };
158
+
159
+ /** Unsigned 32-bit integer (big-endian) */
160
+ static readonly u32: Field<number> = {
161
+ size: 4,
162
+ write: (dv, o, v) => dv.setUint32(o, v, false),
163
+ read: (dv, o) => dv.getUint32(o, false),
164
+ toNil: () => 0,
165
+ };
166
+
167
+ /** Signed 8-bit integer */
168
+ static readonly i8: Field<number> = {
169
+ size: 1,
170
+ write: (dv, o, v) => dv.setInt8(o, v),
171
+ read: (dv, o) => dv.getInt8(o),
172
+ toNil: () => 0,
173
+ };
174
+
175
+ /** Signed 16-bit integer (big-endian) */
176
+ static readonly i16: Field<number> = {
177
+ size: 2,
178
+ write: (dv, o, v) => dv.setInt16(o, v, false),
179
+ read: (dv, o) => dv.getInt16(o, false),
180
+ toNil: () => 0,
181
+ };
182
+
183
+ /** Signed 32-bit integer (big-endian) */
184
+ static readonly i32: Field<number> = {
185
+ size: 4,
186
+ write: (dv, o, v) => dv.setInt32(o, v, false),
187
+ read: (dv, o) => dv.getInt32(o, false),
188
+ toNil: () => 0,
189
+ };
190
+
191
+ /** 32-bit floating point number (IEEE 754, big-endian) */
192
+ static readonly f32: Field<number> = {
193
+ size: 4,
194
+ write: (dv, o, v) => dv.setFloat32(o, v, false),
195
+ read: (dv, o) => dv.getFloat32(o, false),
196
+ toNil: () => 0,
197
+ };
198
+
199
+ /** 64-bit floating point number (double, big-endian) */
200
+ static readonly f64: Field<number> = {
201
+ size: 8,
202
+ write: (dv, o, v) => dv.setFloat64(o, v, false),
203
+ read: (dv, o) => dv.getFloat64(o, false),
204
+ toNil: () => 0,
205
+ };
206
+
207
+ /** Boolean stored as 1 byte (0 = false, 1 = true) */
208
+ static readonly bool: Field<boolean> = {
209
+ size: 1,
210
+ write: (dv, o, v) => dv.setUint8(o, v ? 1 : 0),
211
+ read: (dv, o) => dv.getUint8(o) !== 0,
212
+ toNil: () => false,
213
+ };
214
+
215
+ /**
216
+ * String field with UTF-8 encoding and 2-byte length prefix.
217
+ * @param maxLength Maximum number of bytes allowed
218
+ */
219
+ static string(maxLength: number): Field<string> {
220
+ return {
221
+ size: maxLength + 2,
222
+ write(dv, o, v) {
223
+ const encoder = new TextEncoder();
224
+ const bytes = encoder.encode(v);
225
+ if (bytes.length > maxLength)
226
+ throw new RangeError(`String too long, max ${maxLength} bytes`);
227
+ dv.setUint16(o, bytes.length, false);
228
+ for (let i = 0; i < bytes.length; i++) dv.setUint8(o + 2 + i, bytes[i]);
229
+ for (let i = bytes.length; i < maxLength; i++) dv.setUint8(o + 2 + i, 0);
230
+ },
231
+ read(dv, o) {
232
+ const length = dv.getUint16(o, false);
233
+ const bytes = new Uint8Array(length);
234
+ for (let i = 0; i < length; i++) bytes[i] = dv.getUint8(o + 2 + i);
235
+ return new TextDecoder().decode(bytes);
236
+ },
237
+ toNil: () => "",
238
+ };
239
+ }
240
+
241
+ /** 2D vector of f32 (x, y) */
242
+ static readonly vec2: Field<{ x: number; y: number }> = {
243
+ size: 8,
244
+ write(dv, o, v) {
245
+ dv.setFloat32(o, v.x, false);
246
+ dv.setFloat32(o + 4, v.y, false);
247
+ },
248
+ read(dv, o) {
249
+ return { x: dv.getFloat32(o, false), y: dv.getFloat32(o + 4, false) };
250
+ },
251
+ toNil: () => ({ x: 0, y: 0 }),
252
+ };
253
+
254
+ /** 3D vector of f32 (x, y, z) */
255
+ static readonly vec3: Field<{ x: number; y: number; z: number }> = {
256
+ size: 12,
257
+ write(dv, o, v) {
258
+ dv.setFloat32(o, v.x, false);
259
+ dv.setFloat32(o + 4, v.y, false);
260
+ dv.setFloat32(o + 8, v.z, false);
261
+ },
262
+ read(dv, o) {
263
+ return {
264
+ x: dv.getFloat32(o, false),
265
+ y: dv.getFloat32(o + 4, false),
266
+ z: dv.getFloat32(o + 8, false),
267
+ };
268
+ },
269
+ toNil: () => ({ x: 0, y: 0, z: 0 }),
270
+ };
271
+
272
+ /** RGBA color packed as 4 u8 bytes */
273
+ static readonly color: Field<{ r: number; g: number; b: number; a: number }> = {
274
+ size: 4,
275
+ write(dv, o, v) {
276
+ dv.setUint8(o, v.r);
277
+ dv.setUint8(o + 1, v.g);
278
+ dv.setUint8(o + 2, v.b);
279
+ dv.setUint8(o + 3, v.a);
280
+ },
281
+ read(dv, o) {
282
+ return {
283
+ r: dv.getUint8(o),
284
+ g: dv.getUint8(o + 1),
285
+ b: dv.getUint8(o + 2),
286
+ a: dv.getUint8(o + 3),
287
+ };
288
+ },
289
+ toNil: () => ({ r: 0, g: 0, b: 0, a: 0 }),
290
+ };
291
+
292
+ /** 32-bit floating point number (IEEE 754, little-endian) */
293
+ static readonly f32_le: Field<number> = {
294
+ size: 4,
295
+ write: (dv, o, v) => dv.setFloat32(o, v, true),
296
+ read: (dv, o) => dv.getFloat32(o, true),
297
+ toNil: () => 0,
298
+ };
299
+
300
+ /** 64-bit floating point number (double, little-endian) */
301
+ static readonly f64_le: Field<number> = {
302
+ size: 8,
303
+ write: (dv, o, v) => dv.setFloat64(o, v, true),
304
+ read: (dv, o) => dv.getFloat64(o, true),
305
+ toNil: () => 0,
306
+ };
307
+
308
+ /** Unsigned 16-bit integer (little-endian) */
309
+ static readonly u16_le: Field<number> = {
310
+ size: 2,
311
+ write: (dv, o, v) => dv.setUint16(o, v, true),
312
+ read: (dv, o) => dv.getUint16(o, true),
313
+ toNil: () => 0,
314
+ };
315
+
316
+ /** Unsigned 32-bit integer (little-endian) */
317
+ static readonly u32_le: Field<number> = {
318
+ size: 4,
319
+ write: (dv, o, v) => dv.setUint32(o, v, true),
320
+ read: (dv, o) => dv.getUint32(o, true),
321
+ toNil: () => 0,
322
+ };
323
+
324
+ /** Signed 16-bit integer (little-endian) */
325
+ static readonly i16_le: Field<number> = {
326
+ size: 2,
327
+ write: (dv, o, v) => dv.setInt16(o, v, true),
328
+ read: (dv, o) => dv.getInt16(o, true),
329
+ toNil: () => 0,
330
+ };
331
+
332
+ /** Signed 32-bit integer (little-endian) */
333
+ static readonly i32_le: Field<number> = {
334
+ size: 4,
335
+ write: (dv, o, v) => dv.setInt32(o, v, true),
336
+ read: (dv, o) => dv.getInt32(o, true),
337
+ toNil: () => 0,
338
+ };
339
+
340
+ /**
341
+ * 2D vector of f32 stored as a tuple [x, y] (little-endian).
342
+ * Useful for compact math data or shader-friendly layouts.
343
+ */
344
+ static readonly vec2_le: Field<[number, number]> = {
345
+ size: 8,
346
+ write: (dv, o, v) => {
347
+ dv.setFloat32(o, v[0], true);
348
+ dv.setFloat32(o + 4, v[1], true);
349
+ },
350
+ read: (dv, o) => [
351
+ dv.getFloat32(o, true),
352
+ dv.getFloat32(o + 4, true),
353
+ ],
354
+ toNil: () => [0, 0],
355
+ };
356
+
357
+ /**
358
+ * 3D vector of f32 stored as a tuple [x, y, z] (little-endian).
359
+ * Commonly used for positions, velocities, or directions.
360
+ */
361
+ static readonly vec3_le: Field<[number, number, number]> = {
362
+ size: 12,
363
+ write: (dv, o, v) => {
364
+ dv.setFloat32(o, v[0], true);
365
+ dv.setFloat32(o + 4, v[1], true);
366
+ dv.setFloat32(o + 8, v[2], true);
367
+ },
368
+ read: (dv, o) => [
369
+ dv.getFloat32(o, true),
370
+ dv.getFloat32(o + 4, true),
371
+ dv.getFloat32(o + 8, true),
372
+ ],
373
+ toNil: () => [0, 0, 0],
374
+ };
375
+
376
+ /**
377
+ * 4D vector of f32 stored as a tuple [x, y, z, w] (little-endian).
378
+ * Useful for quaternions, colors in shaders, or homogeneous coordinates.
379
+ */
380
+ static readonly vec4_le: Field<[number, number, number, number]> = {
381
+ size: 16,
382
+ write: (dv, o, v) => {
383
+ dv.setFloat32(o, v[0], true);
384
+ dv.setFloat32(o + 4, v[1], true);
385
+ dv.setFloat32(o + 8, v[2], true);
386
+ dv.setFloat32(o + 12, v[3], true);
387
+ },
388
+ read: (dv, o) => [
389
+ dv.getFloat32(o, true),
390
+ dv.getFloat32(o + 4, true),
391
+ dv.getFloat32(o + 8, true),
392
+ dv.getFloat32(o + 12, true),
393
+ ],
394
+ toNil: () => [0, 0, 0, 0],
395
+ };
396
+ }
397
+
398
+ /**
399
+ * Public codec API.
400
+ * Re-exports primitives and exposes encode/decode helpers.
401
+ */
402
+ export class BinaryCodec extends BaseBinaryCodec {
403
+ /** Unsigned 8-bit integer field */
404
+ static readonly u8 = BinaryPrimitives.u8;
405
+ /** Unsigned 16-bit integer field */
406
+ static readonly u16 = BinaryPrimitives.u16;
407
+ /** 32-bit floating point field */
408
+ static readonly f32 = BinaryPrimitives.f32;
409
+
410
+ /**
411
+ * Encodes an object into a binary buffer.
412
+ */
413
+ static encode<T extends object>(
414
+ schema: Schema<T>,
415
+ data: T
416
+ ): Uint8Array {
417
+ return this.encodeInto(schema, data);
418
+ }
419
+
420
+ /**
421
+ * Decodes a binary buffer into an existing object.
422
+ */
423
+ static decode<T extends object>(
424
+ schema: Schema<T>,
425
+ buf: Uint8Array,
426
+ target: T
427
+ ): T {
428
+ return this.decodeInto(schema, buf, target);
429
+ }
430
+ }
@@ -0,0 +1 @@
1
+ export * from './binary-codec';
@@ -0,0 +1,47 @@
1
+ # EventSystem
2
+
3
+ `EventSystem` is a callback-based event handling system designed to simplify event-driven programming.
4
+ It allows you to register, emit, and manage events with flexible callback support, making it easy to build modular and decoupled applications.
5
+
6
+ ## Features
7
+
8
+ - Register Callbacks: Attach functions to specific events using `on`.
9
+ - One-Time Listeners: Use `once` to register callbacks that run only once.
10
+ - Emit Events: Trigger events with optional data using `emit`.
11
+ - Remove Callbacks: Detach specific callbacks with `off`.
12
+ - Clear Events: Remove all callbacks globally or for specific events with `clear`.
13
+
14
+ ## Why use this?
15
+
16
+ Callbacks are often way faster than events, on both the browser and node, but they are also harder to manage. This system allows you to use callbacks in a more event-like way, and it is TypeScript-friendly, offering strong type safety for event names and payloads when using EventTuple definitions.
17
+
18
+ ### Source
19
+
20
+ Benchmarks:
21
+
22
+ - https://jsbench.me/qmkkfcfpcw/2
23
+ - https://hackernoon.com/nodejs-48x-faster-if-you-go-back-to-callbacks
24
+
25
+ ## Usage
26
+
27
+ ```ts
28
+ import { EventSystem } from "...";
29
+
30
+ interface FooProps {
31
+ foo: string;
32
+ }
33
+
34
+ interface BarProps {
35
+ bar: number;
36
+ }
37
+
38
+ const events = new EventSystem<[["foo", FooProps], ["bar", BarProps]]>({
39
+ events: ["foo", "bar"],
40
+ });
41
+
42
+ events.on("bar", ({ bar }) => {
43
+ console.log("bar event listened", bar);
44
+ });
45
+
46
+ events.emit("bar", { bar: 42 });
47
+ ```